Oil transportation batch time sequence calculation method and device, electronic equipment and storage medium

Calculate the model to calculate the timing of the oil inlet batch, calculate and visualized oil pipelines in the oil pipeline, solve the problem of decline in oil quality caused by pipeline transportation in the pipeline transportation, and achieve precise control and economy of the quality of oil products. Improvement of benefits.

CN119357257APending Publication Date: 2025-01-24RICHFIT INFORMATION TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310907541.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-21
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

During the pipeline transportation of oil products, the interface between adjacent batches of oil products will produce oil mixing, resulting in a decrease in the quality of oil products and increasing safety and economic risks. The existing technology lacks effective solutions.

Method used

By obtaining the basic information of the oil pipeline, the time order of the oil pipeline is constructed to calculate the model, calculate the timing information of different batches of oil products, and conduct visual processing to accurately track and optimize the hybrid receiving scheme.

Benefits of technology

It achieves accurate tracking of different batches of oil products in oil pipelines, effectively controls the amount of mixed oil, ensures oil quality, and improves economic benefits. It is suitable for a variety of pipelines and has the advantages of fast calculation speed, strong adaptability, and good stability. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119357257A_ABST
    Figure CN119357257A_ABST
Patent Text Reader

Abstract

The invention provides an oil transportation batch time sequence calculation method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining the basic information of an oil transportation pipeline, building an oil transportation batch time sequence calculation model based on the basic information of the oil transportation pipeline, and calculating at least one batch of oil through the oil transportation batch time sequence calculation model, obtaining batch time sequence information of each batch of oil products in the at least one batch of oil products, and displaying the batch time sequence information of each batch of oil products in the at least one batch of oil products. According to the method and the device, the oil transportation batch time sequence information of different oil products can be calculated, and the oil transportation batch time sequence information is subjected to visualization processing and is convenient to check.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for calculating the timing of an oil delivery batch. Background Art

[0002] Pipeline transportation is one of the main modes of oil transportation. It usually adopts the sequential transportation of multiple oil products, also known as batch transportation. During the batch transportation process, oil mixing will occur between the interfaces of two adjacent batches of oil products, which will cause the quality of some oil products to deteriorate, increase the risk of oil quality and safety, and cause economic losses.

[0003] Studying the batch timing information of oil pipelines can improve the control ability of pipeline oil transportation quality and provide certain guarantees for the safe, economical and environmentally friendly operation of oil pipelines. Accurately tracking the batch timing of oil pipelines can effectively control the amount of mixed oil, ensure the quality of transported oil products, and improve economic benefits. There is a lack of corresponding solutions in the existing technology. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a method, device, electronic device and storage medium for calculating the oil transportation batch timing, which can calculate the oil transportation batch timing information of different oil products and visualize the oil transportation batch timing information for easy viewing.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a method for calculating a time sequence of an oil delivery batch, comprising the following steps:

[0007] Obtaining basic information of the oil pipeline, and building an oil batch timing calculation model based on the basic information of the oil pipeline;

[0008] Calculating at least one batch of oil products by using the oil delivery batch timing calculation model to obtain batch timing information of each batch of oil products in the at least one batch of oil products, wherein the batch timing information includes mileage information and time information;

[0009] The batch timing information of each batch of the at least one batch of the oil product is displayed.

[0010] In a possible implementation manner, the basic information of the oil pipeline includes starting mileage, incoming line volume, branch transmission volume, injection volume and unit pipe capacity, the mileage information includes batch mileage, and the batch timing calculation model is used to calculate at least one batch of oil products to obtain batch timing information of each batch of oil products in the at least one batch of oil products, including:

[0011] The incoming line mileage is calculated and obtained by the incoming line volume, the distributed volume, the injected volume and the unit pipe capacity, wherein the incoming line volume represents the amount of oil of the current batch of oil products entering the oil pipeline, the distributed volume represents the amount of oil of the current batch of oil products entering other oil pipelines, and the injected volume represents the amount of oil of the current batch of oil products entering from other oil pipelines;

[0012] The sum of the progress mileage and the starting mileage is taken as the batch mileage.

[0013] In a possible implementation manner, the basic information of the oil pipeline further includes the current time, the terminal mileage between stations, and the instantaneous flow rate; the time information includes the time of arrival at the next station; and the batch time sequence information of each batch of oil products in the at least one batch of oil products is obtained by calculating at least one batch of oil products through the oil transportation batch time sequence calculation model, including:

[0014] The difference between the terminal mileage between the stations and the batch mileage is taken as the oil transportation mileage;

[0015] Calculate and obtain the oil delivery time through the oil delivery mileage, the unit pipe capacity and the instantaneous flow rate;

[0016] The sum of the current time and the oil delivery time is used as the arrival time at the next station.

[0017] In a possible implementation manner, the basic information of the oil pipeline includes a current batch position, a given stop position, a unit pipe capacity, and an instantaneous flow rate; the time information includes a batch arrival time, and the batch arrival time represents the time of arriving at the given stop position; and the batch timing calculation model is used to calculate at least one batch of oil products to obtain the batch timing information of each batch of oil products in the at least one batch of oil products, including:

[0018] Determine the mileage to be transported by using the stop transport position and the current batch position;

[0019] Determine the amount of oil to be transported by using the mileage to be transported and the unit pipe capacity;

[0020] The batch arrival time is determined by the oil volume to be transported and the instantaneous flow rate.

[0021] In a possible implementation, the basic information of the oil pipeline includes a given time, a unit pipe capacity, and an instantaneous flow rate, the mileage information includes a first interface position, and the batch timing information of each batch of oil products in the at least one batch of oil products is obtained by calculating at least one batch of oil products through the oil transportation batch timing calculation model, including:

[0022] Determine the mileage per unit time by using the instantaneous flow rate and the unit pipe capacity;

[0023] The first interface position is determined by the unit time mileage and the given time.

[0024] In a possible implementation manner, the basic information of the oil pipeline includes a first flow value, a second flow value, a third flow value, a fourth flow value, a first density value, a second density value, mileage, and unit pipe capacity. The first flow value represents the cumulative value of the mass flow meter after the oil tail passes the first station at the first moment, the second flow value represents the cumulative value of the mass flow meter after the oil tail passes the first station at the second moment, and the second moment is greater than the first moment. The third flow value represents the cumulative value of the mass flow meter after the oil tail passes the second station at the third moment, and the fourth flow value represents the cumulative value of the mass flow meter after the oil tail passes the second station at the fourth moment, and the fourth moment is greater than the third moment. The first density represents the density value of the oil tail passing the first station, and the second density represents the density value of the oil tail passing the second station. The mileage information includes the second interface position. The batch timing information of each batch of oil products in the at least one batch of oil products is obtained by calculating at least one batch of oil products through the oil transportation batch timing calculation model, including:

[0025] Determine a transit flow value according to the first flow value, the second flow value, the third flow value, the fourth flow value, the first density value, and the second density value;

[0026] The second interface position is determined based on the passing station flow value, the unit pipe capacity and the mileage traveled.

[0027] In a possible implementation, the method further includes:

[0028] Acquire actual batch timing information of each batch of oil products in the at least one batch of oil products after the batch of oil products actually arrives at the station;

[0029] The batch timing information is verified based on the actual batch timing information.

[0030] In a possible implementation manner, displaying the batch time sequence information of each batch of oil products in the at least one batch of oil products includes:

[0031] Displaying the position of each batch of oil products in the at least one batch of oil products in the oil pipeline through a curve graph, wherein the curve graph includes a curve, the curve represents the oil pipeline, adjacent batches of oil products are marked as line segments of different colors in the curve, the horizontal axis of the curve graph represents the mileage information, and the vertical axis represents the elevation information;

[0032] In response to a viewing operation on any one of the at least one batch of oil products, the time information of the selected batch of oil products is displayed.

[0033] In a possible implementation, in response to a viewing operation on any batch of oil products among the at least one batch of oil products, displaying the time information of the selected batch of oil products includes:

[0034] In response to a selection operation for any batch of oil products among the at least one batch of oil products, the line segments corresponding to other batches of oil products are grayed out, and the line segment corresponding to the selected batch of oil products begins to flow backwards, and while flowing, a time is displayed on the human-computer interaction interface, and the time is associated with the flow mileage;

[0035] Alternatively, in response to a selection operation for any batch of oil products among the at least one batch of oil products, determining the selected batch of oil products as the target oil products; in response to a selection operation for a target point on the curve corresponding to the oil pipeline, displaying the time required for the target oil products to reach the target point in the human-computer interaction interface;

[0036] Alternatively, in response to a viewing operation on any batch of oil products among the at least one batch of oil products, detailed information of the selected batch of oil products is displayed in the human-computer interaction interface, wherein the detailed information includes the mileage information and the time information.

[0037] In a second aspect, an embodiment of the present application further provides a device for calculating a time sequence of an oil delivery batch, the device comprising:

[0038] A modeling module, used to obtain basic information of the oil pipeline and build an oil batch time series calculation model based on the basic information of the oil pipeline;

[0039] A calculation module, used to calculate at least one batch of oil products by using the oil delivery batch timing calculation model to obtain batch timing information of each batch of oil products in the at least one batch of oil products, wherein the batch timing information includes mileage information and time information;

[0040] The display module is used to display the batch timing information of each batch of oil products in the at least one batch of oil products.

[0041] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to execute the oil transfer batch timing calculation method described in any one of the first aspects.

[0042] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the oil transfer batch timing calculation method described in any one of the first aspects is executed.

[0043] The embodiments of the present application have the following beneficial effects:

[0044] By acquiring the basic information of the oil pipeline, and building an oil batch timing calculation model based on the basic information of the oil pipeline, and then calculating at least one batch of oil products through the oil batch timing calculation model, the batch timing information of each batch of oil products in at least one batch of oil products is obtained, and finally the batch timing information of each batch of oil products in at least one batch of oil products is displayed. In this way, different batches of oil products in the oil pipeline can be accurately tracked, the mixed oil receiving plan can be optimized in combination with the on-site situation, and the mixed oil cutting software can be used to provide guidance for the mixed oil cutting, which can effectively control the amount of mixed oil, ensure the quality of the transported oil products, and improve economic benefits. It is suitable for a variety of pipelines such as crude oil pipelines and finished oil pipelines, and has the advantages of fast calculation speed, strong adaptability, good stability, etc., and has strong practical application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 is a flowchart of steps S101-S103 provided in an embodiment of the present application;

[0047] Figure 2 It is a flowchart of steps S201-S202 provided in an embodiment of the present application;

[0048] Figure 3 It is a flowchart of steps S301-S302 provided in an embodiment of the present application;

[0049] Figure 4 This is a diagram of the oil delivery batch timing calculation interface provided in an embodiment of the present application.

[0050] Figure 5 It is a structural schematic diagram of an oil delivery batch timing calculation device provided in an embodiment of the present application;

[0051] Figure 6 It is a schematic diagram of the composition structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0052] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0053] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0054] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0055] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0056] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0058] See also Figure 1 , Figure 1is a flow chart of steps S101-S103 of the oil delivery batch timing calculation method provided in the embodiment of the present application, which will be combined with Figure 1 Steps S101-S103 are shown for explanation.

[0059] Step S101, obtaining basic information of the oil pipeline, and constructing an oil batch time series calculation model based on the basic information of the oil pipeline;

[0060] Step S102, calculating at least one batch of oil products by using the oil delivery batch time sequence calculation model to obtain batch time sequence information of each batch of oil products in the at least one batch of oil products, wherein the batch time sequence information includes mileage information and time information;

[0061] Step S103, displaying the batch timing information of each batch of oil products in the at least one batch of oil products.

[0062] The above-mentioned oil transportation batch timing calculation method obtains the basic information of the oil transportation pipeline, and constructs the oil transportation batch timing calculation model based on the basic information of the oil transportation pipeline, and then calculates at least one batch of oil products through the oil transportation batch timing calculation model to obtain the batch timing information of each batch of oil products in at least one batch of oil products, and finally displays the batch timing information of each batch of oil products in at least one batch of oil products. In this way, different batches of oil products in the oil transportation pipeline can be accurately tracked, the mixed oil receiving plan can be optimized in combination with the on-site situation, and the mixed oil cutting software can be used to provide guidance for the mixed oil cutting, which can effectively control the amount of mixed oil, ensure the quality of the transported oil products, and improve economic benefits. It is also applicable to various pipelines such as crude oil pipelines and finished oil pipelines, and has the advantages of fast calculation speed, strong adaptability, good stability, etc., and has strong practical application value.

[0063] The above exemplary steps of the embodiments of the present application are described below respectively.

[0064] In step S101, basic information of the oil pipeline is obtained, and an oil batch timing calculation model is constructed based on the basic information of the oil pipeline.

[0065] In step S102, at least one batch of oil products is calculated using the oil delivery batch timing calculation model to obtain batch timing information of each batch of oil products in the at least one batch of oil products, wherein the batch timing information includes mileage information and time information.

[0066] In some embodiments, the basic information of the oil pipeline includes starting mileage, incoming line volume, branch transmission volume, injection volume and unit pipe capacity, the mileage information includes batch mileage, and the batch timing calculation model is used to calculate at least one batch of oil products to obtain batch timing information of each batch of oil products in the at least one batch of oil products, including:

[0067] The incoming line mileage is calculated and obtained by the incoming line volume, the distributed volume, the injected volume and the unit pipe capacity, wherein the incoming line volume represents the amount of oil of the current batch of oil products entering the oil pipeline, the distributed volume represents the amount of oil of the current batch of oil products entering other oil pipelines, and the injected volume represents the amount of oil of the current batch of oil products entering from other oil pipelines;

[0068] The sum of the progress mileage and the starting mileage is taken as the batch mileage.

[0069] For example, let the batch mileage be L, the starting mileage be L1, the incoming line volume be Q1, the distribution volume be Q2, the injection volume be Q3, and the unit pipe capacity be V, m 3 / km.

[0070] Then L=L1+(Q1-Q2+Q3) / V.

[0071] Among them, Q1 = Q10-Q1;

[0072] Q2=Q20-Q2t;

[0073] Q3=Q30-Q3t.

[0074] Q10: Accumulated value of ultrasonic flowmeter at the current moment, m 3 ;

[0075] Q20: The current moment of the distribution flow meter cumulative value, m 3 ;

[0076] Q30: The current injection flow meter cumulative value, m 3 ;

[0077] Q1t: Accumulated value of ultrasonic flowmeter at the starting point of the interface passing through the station, m 3 ;

[0078] Q2t: The accumulated value of the distribution flow meter at the starting point of the interface passing through the station, m 3 ;

[0079] Q3t: The cumulative value of the injection flow meter at the starting point of the interface passing through the station, m 3 .

[0080] In some embodiments, the basic information of the oil pipeline also includes the current time, the terminal mileage between stations, and the instantaneous flow rate. The time information includes the time of arrival at the next station. The batch timing calculation model is used to calculate at least one batch of oil products to obtain the batch timing information of each batch of oil products in the at least one batch of oil products, including:

[0081] The difference between the terminal mileage between the stations and the batch mileage is taken as the oil transportation mileage;

[0082] Calculate and obtain the oil delivery time through the oil delivery mileage, the unit pipe capacity and the instantaneous flow rate;

[0083] The sum of the current time and the oil delivery time is used as the arrival time at the next station.

[0084] For example, let the time when the current batch arrives at the next station be T, then:

[0085] T=t0+(L2-L)*V / M.

[0086] Where, t0: current time, h;

[0087] L2: terminal mileage between stations, km;

[0088] V: unit pipe capacity, m 3 / km;

[0089] M: instantaneous flow rate, m 3 / h.

[0090] In some embodiments, the basic information of the oil pipeline includes the current batch position, the given stop position, the unit pipe capacity, and the instantaneous flow rate; the time information includes the batch arrival time, and the batch arrival time represents the time to arrive at the given stop position; the batch timing calculation model is used to calculate at least one batch of oil products to obtain the batch timing information of each batch of oil products in the at least one batch of oil products, including:

[0091] Determine the mileage to be transported by using the stop transport position and the current batch position;

[0092] Determine the amount of oil to be transported by using the mileage to be transported and the unit pipe capacity;

[0093] The batch arrival time is determined by the oil volume to be transported and the instantaneous flow rate.

[0094] Here, by specifying the stop mileage of a certain interface, the stop position and batch arrival time of each interface of the whole line can be predicted. For example, if the current batch position is known to be La and needs to stop at a given stop position Lb, then:

[0095] Mileage to be transferred Lc = La - Lb.

[0096] The amount of oil to be transported Qa=Lc*V.

[0097] Batch arrival time ta=Qa / M.

[0098] In some embodiments, the basic information of the oil pipeline includes a given time, a unit pipe capacity, and an instantaneous flow rate, the mileage information includes a first interface position, and the batch timing information of each batch of oil products in the at least one batch of oil products is obtained by calculating at least one batch of oil products through the oil transportation batch timing calculation model, including:

[0099] Determine the mileage per unit time by using the instantaneous flow rate and the unit pipe capacity;

[0100] The first interface position is determined by the unit time mileage and the given time.

[0101] Here, after specifying the pipeline operation time (given time Tb), the positions of each interface along the line can be predicted. For example, the first interface position Lm=(M / V)*Tb.

[0102] Tb: given time, h;

[0103] V: unit pipe capacity, m 3 / km;

[0104] M: instantaneous flow rate, m 3 / h.

[0105] In this way, after a given time, it is possible to know where the interface position moves after a given time.

[0106] In some embodiments, the basic information of the oil pipeline includes a first flow value, a second flow value, a third flow value, a fourth flow value, a first density value, a second density value, mileage, and unit pipe capacity. The first flow value represents the cumulative value of the mass flow meter after the oil tail passes the first station at the first moment, and the second flow value represents the cumulative value of the mass flow meter after the oil tail passes the first station at the second moment. The second moment is greater than the first moment. The third flow value represents the cumulative value of the mass flow meter after the oil tail passes the second station at the third moment. The fourth flow value represents the cumulative value of the mass flow meter after the oil tail passes the second station at the fourth moment. The fourth moment is greater than the third moment. The first density represents the density value of the oil tail passing the first station, and the second density represents the density value of the oil tail passing the second station. The mileage information includes the second interface position. The batch timing information of each batch of oil products in the at least one batch of oil products is obtained by calculating at least one batch of oil products through the oil transportation batch timing calculation model, including:

[0107] Determine a transit flow value according to the first flow value, the second flow value, the third flow value, the fourth flow value, the first density value, and the second density value;

[0108] The second interface position is determined based on the passing station flow value, the unit pipe capacity and the mileage traveled.

[0109] Here, when there is no ultrasonic flow meter, the flow value of the station can also be predicted, and then the second interface position is determined according to the flow value of the station. It should be noted that the interface position involved in the embodiment of the present application can be displayed in the form of a line segment in the human-computer interaction interface, and the length of the line segment represents the mileage length.

[0110] For example, there are two stations AB, A is the first station, and B is the second station.

[0111] The volume of oil passing through station A can be calculated as follows:

[0112] The passing station flow value Qpass = (mat-ma0) / ρa+(mbt-mb0) / ρb.

[0113] L interface = La + Q station / V.

[0114] mat: the accumulated value of the mass flow meter after the oil tail passes through station a at time t;

[0115] ma0: the accumulated value of the mass flow meter after the oil tail passes through station a at time t0;

[0116] mbt: the accumulated value of the mass flow meter after the oil tail passes through station b at time t;

[0117] mb0: the accumulated value of the mass flow meter after the oil tail passes through station b at time t0;

[0118] ρa: density value of oil tail passing station a;

[0119] ρb: density value of oil tail passing through station b;

[0120] La: Mileage of station A, i.e. mileage already passed.

[0121] In some embodiments, see Figure 2 , Figure 2 It is a flowchart of steps S201-S202 provided in an embodiment of the present application. The method also includes steps S201-S202, which will be described in combination with each step.

[0122] In step S201, actual batch timing information of each batch of the at least one batch of oil products after the batch actually arrives at the station is obtained.

[0123] In step S202, the batch timing information is verified based on the actual batch timing information.

[0124] Here, when the batch passes through a station, it is checked according to the actual arrival time, the actual passing time is recorded, the new batch mileage is calculated, the predicted arrival time is updated, and the batch interface position is updated at the same time.

[0125] In step S103, the batch time sequence information of each batch of oil products in the at least one batch of oil products is displayed.

[0126] In some embodiments, see Figure 3 , Figure 3 It is a flow chart of steps S301-S302 provided in an embodiment of the present application. The display of batch timing information of each batch of oil products in the at least one batch of oil products can be achieved through steps S301-S302, and each step will be described in combination.

[0127] In step S301, the position of each batch of oil products in the at least one batch of oil products in the oil pipeline is displayed by a curve graph, wherein the curve graph includes a curve representing the oil pipeline, adjacent batches of oil products are marked as line segments of different colors in the curve, the horizontal axis of the curve graph represents the mileage information, and the vertical axis represents the elevation information.

[0128] In step S302, in response to a viewing operation on any batch of oil products among the at least one batch of oil products, the time information of the selected batch of oil products is displayed.

[0129] Here, a curve chart can be constructed based on the acquired batch timing information, the horizontal axis of the curve chart represents the mileage, the vertical axis represents the pipeline elevation, and adjacent oil products can be marked in different colors in the curve. For example, the curve chart includes seven line segments from line segment 401 to line segment 407, and each two adjacent line segments have different colors. In this embodiment, the marked position to the previous marked position in the figure represents a line segment, for example, the line segment between the marked position of line segment 403 and the marked position of line segment 402 represents line segment 403. Representing different batches of oil products, it is convenient for users to view the distribution status of different oil products in the entire pipeline. As the oil products are transported, the line segments of different oil products will also change dynamically, and the batch timing information of each oil product will be fed back in real time.

[0130] In some embodiments, in response to a viewing operation on any batch of oil products among the at least one batch of oil products, displaying the time information of the selected batch of oil products includes:

[0131] In response to a selection operation for any batch of oil products among the at least one batch of oil products, the line segments corresponding to other batches of oil products are grayed out, and the line segment corresponding to the selected batch of oil products begins to flow backwards, and while flowing, a time is displayed on the human-computer interaction interface, and the time is associated with the flow mileage;

[0132] Alternatively, in response to a selection operation for any batch of oil products among the at least one batch of oil products, determining the selected batch of oil products as the target oil products; in response to a selection operation for a target point on the curve corresponding to the oil pipeline, displaying the time required for the target oil products to reach the target point in the human-computer interaction interface;

[0133] Alternatively, in response to a viewing operation on any batch of oil products among the at least one batch of oil products, detailed information of the selected batch of oil products is displayed in the human-computer interaction interface, wherein the detailed information includes the mileage information and the time information.

[0134] For example, see Figure 4 , Figure 4 404, 405, 406, 407) will be grayed out or blurred, and the batch of oil products represented by line segment 403 will be moved (transported) by animation. In the curve chart, a time will be displayed. The time may represent the time taken to be transported during the animation. For example, it takes 10 hours for the oil tail (end of the segment) of segment 403 to be transported to the destination. Correspondingly, the animation may complete the subsequent pipeline (segment) within 10 seconds. The time will increase by 1 hour for every 1 second. In this way, the user may more intuitively view the remaining transport time of the current batch of oil. In another embodiment, the user may also pause the animation presentation by clicking the left mouse button, so that the batch of oil stops at the corresponding position and the time required for this position may be viewed.

[0135] In another example, if an oil pipeline fails at a target point, the user selects line segment 403 by clicking the area where line segment 403 is located with the mouse, and then clicks a point in the subsequent oil pipeline to determine it as the target point. The system will automatically calculate and display the time required for line segment 403 to reach the target point and display the changed time. Afterwards, corresponding processing can be performed based on the time, for example, notifying maintenance personnel to repair the failure at the target point before the time and performing corresponding emergency processing before the fire event.

[0136] In another example, the user can also click the area where the line segment 403 is located by the mouse to open the detail page of the line segment 403, which provides detailed mileage information and the time information to facilitate the user to view comprehensively.

[0137] In summary, the embodiments of the present application have the following beneficial effects:

[0138] By acquiring the basic information of the oil pipeline, and building an oil batch timing calculation model based on the basic information of the oil pipeline, and then calculating at least one batch of oil products through the oil batch timing calculation model, the batch timing information of each batch of oil products in at least one batch of oil products is obtained, and finally the batch timing information of each batch of oil products in at least one batch of oil products is displayed. In this way, different batches of oil products in the oil pipeline can be accurately tracked, the mixed oil receiving plan can be optimized in combination with the on-site situation, and the mixed oil cutting software can be used to provide guidance for the mixed oil cutting, which can effectively control the amount of mixed oil, ensure the quality of the transported oil products, and improve economic benefits. It is suitable for a variety of pipelines such as crude oil pipelines and finished oil pipelines, and has the advantages of fast calculation speed, strong adaptability, good stability, etc., and has strong practical application value.

[0139] Based on the same inventive concept, an oil transfer batch timing calculation device corresponding to the oil transfer batch timing calculation method in the first embodiment is also provided in the embodiment of the present application. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned oil transfer batch timing calculation method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0140] like Figure 5 As shown, Figure 5 : is a schematic diagram of the structure of the oil delivery batch timing calculation device 500 provided in an embodiment of the present application. The oil delivery batch timing calculation device 500 includes:

[0141] Modeling module 501, used to obtain basic information of oil pipelines and build an oil batch time series calculation model based on the basic information of oil pipelines;

[0142] A calculation module 502 is used to calculate at least one batch of oil products by using the oil delivery batch time sequence calculation model to obtain batch time sequence information of each batch of oil products in the at least one batch of oil products, wherein the batch time sequence information includes mileage information and time information;

[0143] The display module 503 is used to display the batch timing information of each batch of oil products in the at least one batch of oil products.

[0144] Those skilled in the art should understand that Figure 5 The functions of each unit in the oil delivery batch timing calculation device 500 can be understood by referring to the related description of the above-mentioned oil delivery batch timing calculation method. Figure 5 The functions of each unit in the oil delivery batch timing calculation device 500 shown can be implemented by a program running on a processor, or can be implemented by a specific logic circuit.

[0145] In a possible implementation, the basic information of the oil pipeline includes starting mileage, incoming line volume, branch transmission volume, injection volume and unit pipe capacity, and the mileage information includes batch mileage. The calculation module 502 calculates at least one batch of oil products through the oil batch time sequence calculation model to obtain batch time sequence information of each batch of oil products in the at least one batch of oil products, including:

[0146] The incoming line mileage is calculated and obtained by the incoming line volume, the distributed volume, the injected volume and the unit pipe capacity, wherein the incoming line volume represents the amount of oil of the current batch of oil products entering the oil pipeline, the distributed volume represents the amount of oil of the current batch of oil products entering other oil pipelines, and the injected volume represents the amount of oil of the current batch of oil products entering from other oil pipelines;

[0147] The sum of the progress mileage and the starting mileage is taken as the batch mileage.

[0148] In a possible implementation, the basic information of the oil pipeline further includes the current time, the terminal mileage between stations, and the instantaneous flow rate. The time information includes the time of arrival at the next station. The calculation module 502 calculates at least one batch of oil products through the oil transportation batch time sequence calculation model to obtain the batch time sequence information of each batch of oil products in the at least one batch of oil products, including:

[0149] The difference between the terminal mileage between the stations and the batch mileage is taken as the oil transportation mileage;

[0150] Calculate and obtain the oil delivery time through the oil delivery mileage, the unit pipe capacity and the instantaneous flow rate;

[0151] The sum of the current time and the oil delivery time is used as the arrival time at the next station.

[0152] In a possible implementation manner, the basic information of the oil pipeline includes a current batch position, a given stop position, a unit pipe capacity, and an instantaneous flow rate. The time information includes a batch arrival time, and the batch arrival time represents the time to arrive at the given stop position. The calculation module 502 calculates at least one batch of oil products through the oil batch timing calculation model to obtain batch timing information of each batch of oil products in the at least one batch of oil products, including:

[0153] Determine the mileage to be transported by using the stop transport position and the current batch position;

[0154] Determine the amount of oil to be transported by using the mileage to be transported and the unit pipe capacity;

[0155] The batch arrival time is determined by the oil volume to be transported and the instantaneous flow rate.

[0156] In a possible implementation, the basic information of the oil pipeline includes a given time, a unit pipe capacity, and an instantaneous flow rate, and the mileage information includes a first interface position. The calculation module 502 calculates at least one batch of oil products through the oil transportation batch time sequence calculation model to obtain batch time sequence information of each batch of oil products in the at least one batch of oil products, including:

[0157] Determine the mileage per unit time by using the instantaneous flow rate and the unit pipe capacity;

[0158] The first interface position is determined by the unit time mileage and the given time.

[0159] In a possible implementation manner, the basic information of the oil pipeline includes a first flow value, a second flow value, a third flow value, a fourth flow value, a first density value, a second density value, mileage, and a unit pipe capacity. The first flow value represents the cumulative value of the mass flow meter after the oil tail passes the first station at the first moment, the second flow value represents the cumulative value of the mass flow meter after the oil tail passes the first station at the second moment, and the second moment is greater than the first moment. The third flow value represents the cumulative value of the mass flow meter after the oil tail passes the second station at the third moment, and the fourth flow value represents the cumulative value of the mass flow meter after the oil tail passes the second station at the fourth moment, and the fourth moment is greater than the third moment. The first density represents the density value of the oil tail passing the first station, and the second density represents the density value of the oil tail passing the second station. The mileage information includes a second interface position. The calculation module 502 calculates at least one batch of oil products through the oil transportation batch timing calculation model to obtain batch timing information of each batch of oil products in the at least one batch of oil products, including:

[0160] Determine a transit flow value according to the first flow value, the second flow value, the third flow value, the fourth flow value, the first density value, and the second density value;

[0161] The second interface position is determined based on the passing station flow value, the unit pipe capacity and the mileage traveled.

[0162] In a possible implementation, the calculation module 502 further includes:

[0163] Acquire actual batch timing information of each batch of oil products in the at least one batch of oil products after the batch of oil products actually arrives at the station;

[0164] The batch timing information is verified based on the actual batch timing information.

[0165] In a possible implementation, the display module 503 displays the batch time sequence information of each batch of oil products in the at least one batch of oil products, including:

[0166] Displaying the position of each batch of oil products in the at least one batch of oil products in the oil pipeline through a curve graph, wherein the curve graph includes a curve, the curve represents the oil pipeline, adjacent batches of oil products are marked as line segments of different colors in the curve, the horizontal axis of the curve graph represents the mileage information, and the vertical axis represents the elevation information;

[0167] In response to a viewing operation on any one of the at least one batch of oil products, the time information of the selected batch of oil products is displayed.

[0168] In a possible implementation, the display module 503 displays the time information of the selected batch of oil products in response to a viewing operation on any batch of oil products in the at least one batch of oil products, including:

[0169] In response to a selection operation for any batch of oil products among the at least one batch of oil products, the line segments corresponding to other batches of oil products are grayed out, and the line segment corresponding to the selected batch of oil products begins to flow backwards, and while flowing, a time is displayed on the human-computer interaction interface, and the time is associated with the flow mileage;

[0170] Alternatively, in response to a selection operation for any batch of oil products among the at least one batch of oil products, determining the selected batch of oil products as the target oil products; in response to a selection operation for a target point on the curve corresponding to the oil pipeline, displaying the time required for the target oil products to reach the target point in the human-computer interaction interface;

[0171] Alternatively, in response to a viewing operation on any batch of oil products among the at least one batch of oil products, detailed information of the selected batch of oil products is displayed in the human-computer interaction interface, wherein the detailed information includes the mileage information and the time information.

[0172] The above-mentioned oil batch timing calculation device obtains the basic information of the oil pipeline, and constructs an oil batch timing calculation model based on the basic information of the oil pipeline, and then calculates at least one batch of oil products through the oil batch timing calculation model to obtain the batch timing information of each batch of oil products in at least one batch of oil products, and finally displays the batch timing information of each batch of oil products in at least one batch of oil products. In this way, different batches of oil products in the oil pipeline can be accurately tracked, the mixed oil receiving plan can be optimized in combination with the on-site situation, and the mixed oil cutting software can be used to provide guidance for the mixed oil cutting, which can effectively control the amount of mixed oil, ensure the quality of the transported oil products, and improve economic benefits. It is also applicable to various pipelines such as crude oil pipelines and finished oil pipelines, and has the advantages of fast calculation speed, strong adaptability, good stability, etc., and has strong practical application value.

[0173] like Figure 6 As shown, Figure 6The present invention provides a schematic diagram of the structure of an electronic device 600, wherein the electronic device 600 includes:

[0174] A processor 601, a storage medium 602 and a bus 603, wherein the storage medium 602 stores machine-readable instructions executable by the processor 601. When the electronic device 600 is running, the processor 601 communicates with the storage medium 602 via the bus 603, and the processor 601 executes the machine-readable instructions to execute the steps of the oil transfer batch timing calculation method described in the embodiment of the present application.

[0175] In actual application, the components in the electronic device 600 are coupled together via the bus 603. It is understood that the bus 603 is used to realize the connection and communication between these components. In addition to the data bus, the bus 603 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 6 Various buses are labeled as bus 603.

[0176] The electronic device obtains the basic information of the oil pipeline, and builds an oil batch timing calculation model based on the basic information of the oil pipeline, and then calculates at least one batch of oil products through the oil batch timing calculation model to obtain the batch timing information of each batch of oil products in at least one batch of oil products, and finally displays the batch timing information of each batch of oil products in at least one batch of oil products. In this way, different batches of oil products in the oil pipeline can be accurately tracked, the mixed oil receiving plan can be optimized in combination with the on-site situation, and the mixed oil cutting software can be used to provide guidance for the mixed oil cutting, which can effectively control the amount of mixed oil, ensure the quality of the transported oil products, and improve economic benefits. It is also applicable to various pipelines such as crude oil pipelines and finished oil pipelines, and has the advantages of fast calculation speed, strong adaptability, good stability, etc., and has strong practical application value.

[0177] The embodiment of the present application further provides a computer-readable storage medium, which stores executable instructions. When the executable instructions are executed by at least one processor 601, the oil transfer batch timing calculation method described in the embodiment of the present application is implemented.

[0178] In some embodiments, the storage medium can be a magnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface storage, an optical disk, or a compact disc read-only memory (CD ROM); it can also be various devices including one or any combination of the above memories.

[0179] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0180] As an example, executable instructions may, but do not necessarily, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (for example, files storing one or more modules, subroutines, or code portions).

[0181] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0182] The computer-readable storage medium obtains the basic information of the oil pipeline, and builds an oil batch timing calculation model based on the basic information of the oil pipeline, and then calculates at least one batch of oil products through the oil batch timing calculation model to obtain the batch timing information of each batch of oil products in at least one batch of oil products, and finally displays the batch timing information of each batch of oil products in at least one batch of oil products. In this way, different batches of oil products in the oil pipeline can be accurately tracked, the mixed oil receiving plan can be optimized in combination with the on-site situation, and the mixed oil cutting software can be used to provide guidance for the mixed oil cutting, which can effectively control the amount of mixed oil, ensure the quality of the transported oil products, and improve economic benefits. It is also applicable to various pipelines such as crude oil pipelines and finished oil pipelines, and has the advantages of fast calculation speed, strong adaptability, good stability, etc., and has strong practical application value.

[0183] In the several embodiments provided in the present application, it should be understood that the disclosed methods and electronic devices can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0184] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0185] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0186] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a platform server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0187] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for calculating the timing of an oil delivery batch, characterized in that: The following steps are involved: Obtaining basic information of the oil pipeline, and building an oil batch timing calculation model based on the basic information of the oil pipeline; Calculating at least one batch of oil products by using the oil delivery batch timing calculation model to obtain batch timing information of each batch of oil products in the at least one batch of oil products, wherein the batch timing information includes mileage information and time information; The batch timing information of each batch of the at least one batch of the oil product is displayed.

2. The method according to claim 1, characterized in that The basic information of the oil pipeline includes starting mileage, incoming line volume, branch transmission volume, injection volume and unit pipe capacity, the mileage information includes batch mileage, and the batch timing calculation model is used to calculate at least one batch of oil products to obtain batch timing information of each batch of oil products in the at least one batch of oil products, including: The incoming line mileage is calculated and obtained by the incoming line volume, the distributed volume, the injected volume and the unit pipe capacity, wherein the incoming line volume represents the amount of oil of the current batch of oil products entering the oil pipeline, the distributed volume represents the amount of oil of the current batch of oil products entering other oil pipelines, and the injected volume represents the amount of oil of the current batch of oil products entering from other oil pipelines; The sum of the progress mileage and the starting mileage is taken as the batch mileage.

3. The method according to claim 2, characterized in that The basic information of the oil pipeline also includes the current time, the terminal mileage between stations, and the instantaneous flow rate. The time information includes the time of arrival at the next station. The batch time sequence calculation model is used to calculate at least one batch of oil products to obtain the batch time sequence information of each batch of oil products in the at least one batch of oil products, including: The difference between the terminal mileage between the stations and the batch mileage is taken as the oil transportation mileage; Calculate and obtain the oil delivery time through the oil delivery mileage, the unit pipe capacity and the instantaneous flow rate; The sum of the current time and the oil delivery time is used as the arrival time at the next station.

4. The method according to claim 1, characterized in that: The basic information of the oil pipeline includes the current batch position, the given stop position, the unit pipe capacity, and the instantaneous flow rate. The time information includes the batch arrival time, and the batch arrival time represents the time to arrive at the given stop position. The batch timing calculation model is used to calculate at least one batch of oil products to obtain the batch timing information of each batch of oil products in the at least one batch of oil products, including: Determine the mileage to be transported by using the stop transport position and the current batch position; Determine the amount of oil to be transported by using the mileage to be transported and the unit pipe capacity; The batch arrival time is determined by the oil volume to be transported and the instantaneous flow rate.

5. The method according to claim 1, characterized in that: The basic information of the oil pipeline includes a given time, a unit pipe capacity, and an instantaneous flow rate; the mileage information includes a first interface position; and the batch timing information of each batch of oil products in the at least one batch of oil products is obtained by calculating at least one batch of oil products through the oil transportation batch timing calculation model, including: Determine the mileage per unit time by using the instantaneous flow rate and the unit pipe capacity; The first interface position is determined by the unit time mileage and the given time.

6. The method according to claim 1, characterized in that The basic information of the oil pipeline includes a first flow value, a second flow value, a third flow value, a fourth flow value, a first density value, a second density value, mileage, and unit pipe capacity. The first flow value represents the cumulative value of the mass flow meter after the oil tail passes the first station at the first moment, and the second flow value represents the cumulative value of the mass flow meter after the oil tail passes the first station at the second moment, and the second moment is greater than the first moment. The third flow value represents the cumulative value of the mass flow meter after the oil tail passes the second station at the third moment, and the fourth flow value represents the cumulative value of the mass flow meter after the oil tail passes the second station at the fourth moment, and the fourth moment is greater than the third moment. The first density represents the density value of the oil tail passing the first station, and the second density represents the density value of the oil tail passing the second station. The mileage information includes the second interface position. The batch timing information of each batch of oil products in the at least one batch of oil products is obtained by calculating at least one batch of oil products through the oil transportation batch timing calculation model, including: Determine a transit flow value according to the first flow value, the second flow value, the third flow value, the fourth flow value, the first density value, and the second density value; The second interface position is determined based on the passing station flow value, the unit pipe capacity and the mileage traveled.

7. The method according to claim 1, characterized in that The method further comprises: Acquire actual batch timing information of each batch of oil products in the at least one batch of oil products after the batch of oil products actually arrives at the station; The batch timing information is verified based on the actual batch timing information.

8. The method according to claim 1, characterized in that The displaying of the batch time sequence information of each batch of the at least one batch of the oil product comprises: Displaying the position of each batch of oil products in the at least one batch of oil products in the oil pipeline through a curve graph, wherein the curve graph includes a curve, the curve represents the oil pipeline, adjacent batches of oil products are marked as line segments of different colors in the curve, the horizontal axis of the curve graph represents the mileage information, and the vertical axis represents the elevation information; In response to a viewing operation on any one of the at least one batch of oil products, the time information of the selected batch of oil products is displayed.

9. The method according to claim 8, characterized in that In response to a viewing operation on any batch of the at least one batch of oil products, displaying the time information of the selected batch of oil products includes: In response to a selection operation for any batch of oil products among the at least one batch of oil products, the line segments corresponding to other batches of oil products are grayed out, and the line segment corresponding to the selected batch of oil products begins to flow backwards, and while flowing, a time is displayed on the human-computer interaction interface, and the time is associated with the flow mileage; Alternatively, in response to a selection operation for any batch of oil products among the at least one batch of oil products, determining the selected batch of oil products as the target oil products; in response to a selection operation for a target point on the curve corresponding to the oil pipeline, displaying the time required for the target oil products to reach the target point in the human-computer interaction interface; Alternatively, in response to a viewing operation on any batch of oil products among the at least one batch of oil products, detailed information of the selected batch of oil products is displayed in the human-computer interaction interface, wherein the detailed information includes the mileage information and the time information.

10. An oil delivery batch timing calculation device, characterized in that: The device comprises: A modeling module, used to obtain basic information of the oil pipeline and build an oil batch timing calculation model based on the basic information of the oil pipeline; A calculation module, used to calculate at least one batch of oil products by using the oil delivery batch timing calculation model to obtain batch timing information of each batch of oil products in the at least one batch of oil products, wherein the batch timing information includes mileage information and time information; The display module is used to display the batch timing information of each batch of oil products in the at least one batch of oil products.