CN111623243B - Method, device and system for confirming network topological relation of regional oil pipe network - Google Patents

Method, device and system for confirming network topological relation of regional oil pipe network Download PDF

Info

Publication number
CN111623243B
CN111623243B CN201910145830.6A CN201910145830A CN111623243B CN 111623243 B CN111623243 B CN 111623243B CN 201910145830 A CN201910145830 A CN 201910145830A CN 111623243 B CN111623243 B CN 111623243B
Authority
CN
China
Prior art keywords
oil
pipe network
oil pipe
flow metering
flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910145830.6A
Other languages
Chinese (zh)
Other versions
CN111623243A (en
Inventor
侯铁信
侯飞
汪毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen dianant Data Technology Co.,Ltd.
Original Assignee
Shenzhen Dianant Data Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dianant Data Technology Co ltd filed Critical Shenzhen Dianant Data Technology Co ltd
Priority to CN201910145830.6A priority Critical patent/CN111623243B/en
Publication of CN111623243A publication Critical patent/CN111623243A/en
Application granted granted Critical
Publication of CN111623243B publication Critical patent/CN111623243B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D1/00Pipe-line systems
    • F17D1/08Pipe-line systems for liquids or viscous products
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D3/00Arrangements for supervising or controlling working operations
    • F17D3/01Arrangements for supervising or controlling working operations for controlling, signalling, or supervising the conveyance of a product
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D3/00Arrangements for supervising or controlling working operations
    • F17D3/18Arrangements for supervising or controlling working operations for measuring the quantity of conveyed product

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of network topological relations of oil pipe networks, and provides a method, a device and a system for confirming a network topological relation of a regional oil pipe network. The method comprises the steps of determining one or more areas where the attribution errors of the network topological relation of the oil pipe network can potentially occur; acquiring oil flow data corresponding to each flow metering device contained in the one or more regions; and confirming one or more flow metering devices in the one or more areas and in the state of the attribution error of the network topology relation of the oil pipe network according to the oil flow data. The invention provides a method for determining one or more areas which can potentially have the attribution error of the network topology relation of the oil pipe network, and determining the probability of one or more flow metering devices in the one or more areas in the state of the attribution error of the network topology relation of the oil pipe network according to oil flow data, thereby greatly saving the labor cost of workers for field investigation and improving the investigation efficiency.

Description

Method, device and system for confirming network topological relation of regional oil pipe network
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of oil pipe network topological relation of an oil supply system, in particular to a method, a device and a system for confirming the topological relation of a regional oil pipe network.
[ background of the invention ]
The network topology relation of the wrong regional oil pipe network and the energy conservation relation between the supply oil and the supply oil are destroyed. The network topological relation of the regional oil pipe network is disordered, so that a lot of adverse effects are brought to production and technical management work of industries such as petroleum, gasoline, kerosene and the like, and the industries such as petroleum, gasoline, kerosene and the like need to carry out technology for combing the network topological relation of the regional oil pipe network, so that a real network topological relation of the regional oil pipe network is found out.
In reality, the traditional manual investigation method is generally adopted for solving the problem of the network topology of the oil pipe network. Specifically, the oil supply company uses a large amount of manpower to check the connection relationship of the oil ducts one by one, so as to obtain a real area oil pipe network topological relationship. Because the oil channel is disordered in reality, the manual work is not easy to find clearly.
In recent years, a great deal of research has been conducted on a new technology for combing the network topology of the regional oil pipe network by various oil supply companies, enterprises and teams for various technical development and research, but a practical method excluding manual operation has not been obtained yet.
In view of the above, overcoming the drawbacks of the prior art is an urgent problem in the art.
[ summary of the invention ]
The technical problem to be solved by the invention is that no method for effectively confirming whether the network topological relation of the regional oil pipe network is correct exists in the prior art, and the existing confirmation mode is that an oil supply company uses a large amount of manpower to obtain a real oil pipe network topological relation of an oil supply system. Because the oil channel is disordered in reality, the manual work is not easy to find clearly, and the efficiency is low.
The technical problem to be further solved by the present invention is that in the prior art, a manual individual oil duct inspection mode is adopted, and for the malicious oil duct change situation after the inspection is completed, it is difficult to quickly find the problem point, and at least, the oil pipe network topology relationship in the problem area needs to be re-inspected again, which causes great resource waste.
In a first aspect, the present invention provides a method for confirming a network topology relationship of a regional oil pipe network, including:
determining one or more areas where the attribution errors of the network topological relation of the oil pipe network can potentially occur;
acquiring oil flow data corresponding to each flow metering device contained in the one or more regions;
and according to the oil flow data, confirming one or more flow metering devices in the one or more areas, wherein the one or more flow metering devices are in the state of attribution error of the oil pipe network topological relation.
In a second aspect, the present invention further provides a system for confirming a topological relation of a local oil pipe network, including a database server, an oil pipe network topological relation calculation server, and one or more intelligent terminals, specifically:
the database server is used for storing initial affiliation relations of the flow metering devices contained in each area and each area, storing oil flow data reported by each flow metering device and providing a data access interface for the oil pipe network topological relation calculation server;
the oil pipe network topological relation calculation server is used for executing the following process contents:
determining one or more areas where the attribution errors of the network topological relation of the oil pipe network can potentially occur; acquiring oil flow data corresponding to each flow metering device contained in the one or more regions; calculating one or more flow metering devices in the one or more regions, wherein the probability of the occurrence of the attribution error of the network topology relation of the oil pipe network exceeds a preset threshold value;
and the one or more intelligent terminals are accessed to the oil pipe network topological relation calculation server and used for determining actual topological attribution according to the equipment identification information of the one or more flow metering devices and feeding back the actual topological attribution to the oil pipe network topological relation calculation server.
In a third aspect, the present invention further provides a device for confirming a network topological relation of a local oil pipe network, which is used to implement the method for confirming a network topological relation of a local oil pipe network in the first aspect, and the device includes:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being programmed to perform the method for determining a topological relation of a regional oil pipe network according to the first aspect.
In a fourth aspect, the present invention further provides a non-volatile computer storage medium, where the computer storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, and are configured to perform the method for confirming a topology relationship of a regional oil pipe network according to the first aspect.
The invention provides a method for determining one or more areas which are potentially subjected to the attribution error of the network topology relation of the oil pipe network, and determining the probability of one or more flow metering devices in the state of the attribution error of the network topology relation of the oil pipe network in the one or more areas through oil flow data, thereby providing more effective investigation basis for workers who need to investigate on the spot. The embodiment of the invention has the advantage that the advantage is particularly outstanding for scenes with larger application scale.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flow chart of a method for confirming a network topology relationship of a regional oil pipe network according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating the distribution effect of the general table and the sub-table of the flow metering device in a region according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating the distribution effect of the general table and the sub-table of the flow metering device in a region according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a similarity calculation method according to an embodiment of the present invention;
FIG. 5 is a flow chart of another similarity calculation method according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of a similarity calculation method according to an embodiment of the present invention;
fig. 7 is a schematic flow chart of a method for confirming a network topology relationship of an area oil pipe network with on-site verification feedback according to an embodiment of the present invention;
FIG. 8 is a histogram of oil flow data obtained from a flow meter device based on a predetermined time period according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a system for confirming a network topology relationship of a local oil pipe network according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a device for confirming a topological relation of a local oil pipe network according to an embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the embodiments of the present invention, the symbol "/" indicates the meaning of having both functions, and the symbol "a and/or B" indicates that the combination between the preceding and following objects connected by the symbol includes three cases of "a", "B", "a and B".
In the invention, the topological relation of the regional oil pipe network refers to the connection and attribution relation between an oil flow meter general table (which is a lower concept of the flow meter general table) and an oil flow sub table (which is a lower concept of the flow meter sub table) in a similar oil supply system; the connection and attribution relationship between the oil flow meter general meter in the oil supply system and each oil flow meter sub-meter in the gas station can be realized; the method can also be used for the connection and the attribution relationship between the oil flow meter general table and the oil flow meter branch tables of each province, each city and each county in the oil supply system, and the like. In each subsequent embodiment of the present invention, more scenes of the total oil flow meter in the oil supply system and the branch oil flow meter in the gas station are developed and explained, however, on the basis of the technical description of this scene, a person skilled in the art can use the corresponding technical means in the similar scenes of the above examples without creative work, and further description is omitted in the following.
Under different application scenes, the oil pipe network comprises a plurality of oil pipes, and other types of oil such as petroleum, gasoline or kerosene and the like are conveyed through the oil pipes so as to meet corresponding requirements.
Theoretically, in a specific application scenario, one oil supply system includes one or more oil storage tanks, an oil flow meter master table and oil passages, wherein the oil flow meter master table is used for measuring total flow of the oil supply system, and the oil passages are correspondingly connected with the oil flow meter sub-tables. And combining each oil flow meter master table with the corresponding oil flow meter sub-table to form a corresponding oil pipe network topological relation. The oil mass data meets the energy conservation relation that the input oil mass of an oil supply system (an oil flow meter general table) is equal to the sum of all output oil flow (an oil flow meter sub table). The oil quantity conservation relation can be established only under the correct and real oil pipe network topology relation of the oil supply system. In an actual scene, leakage and errors of the flow metering device exist certainly, so the oil conservation relation is a relative relation and is not an absolute strict equivalent relation in a data sense. A necessary and sufficient condition for the oil pipe network topology relationship of the oil supply system (the subordinate concept of the regional oil pipe network topology relationship described in the present invention) to be correct is: a unique set of oil flow data can be found, and at each time point, the relative oil quantity conservation relation of the oil supply system (which will be referred to as the energy conservation relation of the oil supply system in the subsequent content of the invention) can be satisfied.
In reality, there may be data in the oil flow data of the oil supply system that do not belong to the oil supply system, and the oil flow data that originally belong to the oil supply system may not be seen in the oil supply system. In this case, a group of data cannot be found so that the energy conservation relation of the oil supply system is established, and the oil flow data of the oil supply system cannot be used for calculating the oil pipe network topological relation of the oil supply system. This is also the reason why the oil flow data in the oil supply system is not used in the prior art to calculate the oil pipe network topology of the oil supply system.
The method expands the range of using the oil flow data to select the oil flow data for calculation, and particularly takes the oil flow data of one or more adjacent areas where the oil pipe network topology relation errors can potentially occur as the data for calculating the oil pipe network topology relation according to the scheme of the invention. For example: the oil flow rate data of other oil supply systems belonging to the same oil storage tank as the present oil supply system, the oil flow rate data of other oil supply systems belonging to the same county as the present oil supply system, the oil flow rate data of other oil supply systems of the same oil supply company as the present oil supply system, and the like.
The method for selecting the oil flow data is matched with the oil pipe network topological relation calculation of other oil supply systems, so that the oil flow data (which will be referred to as "foreign user" in the specific embodiment of the invention) which do not belong to the oil supply system can be returned to the oil supply system where the oil flow data should be processed, and the oil flow data (which will be referred to as "escape user" in the specific embodiment of the invention) which is counted to other oil supply systems by mistake can be restored to the oil supply system. Therefore, the real oil supply system oil pipe network topological relation of the oil supply system (and the adjacent oil supply system) can be obtained.
In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other. The implementation of the present invention will now be described by way of embodiments in a stepwise fashion.
Example 1:
embodiment 1 of the present invention provides a method for confirming a network topology relationship of a regional oil pipe network, where a region described in the embodiment of the present invention belongs to a concept that is broader than an oil supply system, and as long as the region relates to a mapping relationship between a summary table (short for a summary table of a flow metering device) and a sub table (short for a sub table of a flow metering device), the region may be divided into a region concept, so that it is proposed that the region concept is more biased to solve the technical problem that the embodiment of the present invention extends to a layout scene of the summary table and the sub table in the prior art, and for a problem that record information after the layout (the record information here refers to a mapping relationship between a logical summary table and a sub table recorded on a server side) does not correspond to an actual layout oil passage, for example: the logical relationship between the summary tables and the sub tables recorded by the server side can occur in the adjacent oil supply system, the adjacent oil storage tank, the adjacent county and city, the pipeline link provided with a plurality of summary tables and the like, and the logical relationship is inconsistent with the connection mode between the oil tables in the actual scene. The oil supply system belongs to the most typical aspect of corresponding problems in the prior art, and the oil supply system relates to complex problems of oil consumption, charging, errors of a flow metering device, oil stealing, oil leakage and the like, and belongs to the application scene which needs to be solved most urgently at present, and the most basic requirement is to clearly sort out the attribution of the network topology relation of an oil pipe network in the oil supply system, which is also the technical problem which is solved pertinently relatively. As shown in fig. 1, the method of the embodiment of the present invention includes:
in step 201, one or more areas where a tubing network topology relationship attribution error is potentially generated are determined.
The determination method here may be simply divided by the information recorded in the database server, for example: the database server records the mapping relationship (described as the network topology relationship of the oil pipe network in the embodiment of the invention) between the general table of each oil supply system and the branch table of each gas station. Namely, one or more regions which are potentially subjected to the oil pipe network topology relationship attribution error can be calibrated according to the parcel characteristics of the divided geographic positions.
In addition to the above simple potential area calibration according to the partitioned geographical location, in the implementation process of the embodiment of the present invention, it may be preferable to establish a mapping relationship between the oil meter (including the total table and/or the sub table) and each installation device (such as the oil storage tank) in combination with a specific installation environment to assist in the determination, specifically, the relevant operator may report corresponding setting information of a plurality of total tables set in the same oil storage tank to the database server, and accordingly, the plurality of total tables in the same oil storage tank may become one of the objects of one or more areas where the potential tubing network topology relationship attribution error may occur. Taking fig. 2 as an example, if the two flow metering device general tables in the area 1 and the area 2 are set in the same oil tank, it may be considered that the area 1 and the area 2 are the one or more areas where the oil pipe network topology relationship attribution error potentially occurs. Specifically, since the flow meter summary table M0 and the flow meter summary table N0 are disposed in the same oil tank, the partial tables in the area may have inconsistency between the actual oil gallery connection and the topology of the oil pipe network recorded by the database server as shown in fig. 2, for example: the oil passage of the flow metering device sub-table M1 is connected to the flow metering device general table N0, and the oil passage of the flow metering device sub-table N1 is connected to the flow metering device general table M0, at this time, the oil pipe network topology recorded by the database server is shown in fig. 2, and the actual oil passage connection is shown in fig. 3.
In the preferred implementation manner, by further combining the relevant information of the installation environment (the mapping relationship between the established flow table and each installation device), it is more effective and accurate to perform one or more region division potentially causing the attribution error of the oil pipe network topology relation, compared with the above-mentioned one or more region division which is purely based on the data of the mapping relationship between the general table and the sub-table which are divided according to the geographic location and recorded in the database server. On the other hand, the optimization mode can amplify the analyzed environment in a certain sense, and the effectiveness of identifying the attribution error of the oil pipe network topology relation finally through calculation is improved. For example: for the reason of subsequent construction, a summary table is newly added in an existing oil storage tank, and if corresponding operations are recorded in a database only by the corresponding relation between the summary table and the sub-tables, possible judgment that an attribution error of the oil pipe network topology relation may actually occur is lost. Because the classification is based only on the geographical location of the segment classified or divided by the oil type, actual environmental considerations between the two within the same reservoir may be missed.
On the other hand, in practical situations, for the mapping relationship between the total table of the oil supply system and the partial tables of the oil flow meters of each gas station recorded in the database server, besides the possible mapping relationship error between the partial tables of the oil flow meters and the total table in individual gas stations, a position error between the directly registered total tables may also occur, and in this case, the analysis range of one or more areas where the attribution error of the network topology of the oil pipe network may potentially occur may be widened more effectively through the preferred implementation manner. Still taking fig. 2 as an example, in which the flow rate measurement device total table M0 and the flow rate measurement device total table N0 are provided in the same tank, an error may occur in the position between the flow rate measurement device total table MO and the flow rate measurement device N0 registered in the database. This situation is also considered in the validation process of step 203 subsequent to the embodiment of the present invention.
In step 202, oil flow data corresponding to each flow rate measurement device included in the one or more regions is acquired.
The source end for acquiring the oil flow data is described as a database server in the embodiment of the present invention, and the database server is generally expressed as a data management platform of an oil supply company in an actual environment, that is, a main body having the capability of collecting and storing the oil flow data for a total flow metering device list and a branch flow metering device list in an area range. The implementation manner of the corresponding main body is not limited to a server in a stand-alone form, and may also be a cloud platform, or the management is completed by a third-party database management platform, which is not particularly limited herein.
In the specific calculation method of the subsequent development of the embodiment of the invention, the use of the oil flow data relates to oil flow data in a continuous time sense, oil flow data in different time periods, oil flow data in a special scene, and the like. Even if the usage of some oil flow data is not directly provided by the existing data management platform of the similar oil supply company, the corresponding method proposed by the embodiment of the present invention may be required to process the corresponding oil flow data, and how to process the corresponding oil flow data will be specifically described in the following description of the embodiment of the present invention.
In step 203, according to the oil flow data, one or more flow metering devices in the one or more regions, which are in the oil pipe network topology relationship attribution error state, are confirmed.
The embodiment of the invention provides a method for determining one or more areas which are potentially subjected to oil pipe network topology relationship attribution errors, and determining the probability (including the foreign user and/or the escape user) of one or more flow metering devices in the one or more areas in the state of the oil pipe network topology relationship attribution errors through oil flow data, so that a more effective investigation basis is provided for field investigation workers. The embodiment of the invention has the advantage that the advantage is particularly outstanding for scenes with larger application scale.
Wherein, according to the type of oil (petroleum, gasoline or kerosene, etc.) transported in the oil pipe network, the corresponding oil flow data is petroleum flow data, gasoline flow data or kerosene flow data. There will also be differences in the respective flow metering devices, depending on the type of oil being transported in the oil pipe network.
In one or more calculation manners proposed in the embodiments of the present invention, the attribution error state of the oil pipe network topology relationship of the flow metering device is described with probability, which mainly considers that in practice, an application scenario related to the method proposed in the present invention usually includes hundreds or even thousands of flow metering devices (taking a large gas station as an example, a fuel peg of about a thousand households can be reached, and usually each fuel peg is equipped with a flow metering device sub-table), whereas for a region and a province and a city, the number of the related flow metering devices is larger, and a specific calculation environment is more complex, especially some involve long-distance transmission, and the possibility of shunting exists in the transmission process and is shunted under the condition of being registered by a non-regular database server; in addition, errors in the flow metering device itself and leakage in the transmission oil passage can also complicate the computing environment. Therefore, an environment given to calculation in a real scene is a non-ideal environment, and a corresponding result naturally cannot reach a calculation result with 100% accuracy, so that the embodiment of the invention provides a method for describing the possibility of attribution errors of the network topological relation of the oil pipe network of each flow metering device sub-table and the flow metering device general table by using probability. The probability may be calculated by the oil pipe network topology relation calculation server and seen by a high-level manager, and for a worker in field investigation, the probability may be obtained only by obtaining an assignment task required to verify the attribution of the oil pipe network topology relation of the one or more flow metering devices. That is to say, by the method in the embodiment of the present invention, the display manner of the one or more flow metering devices in the home error state of the network topology relationship of the oil pipe network may be various, and is not particularly limited in the embodiment of the present invention.
Through the above analysis, in the step 203 of determining one or more areas, one or more flow metering devices in the oil pipe network topology relationship attribution error state exist in a specific expression that: and calculating one or more flow metering devices in the one or more regions, wherein the probability of the attribution error of the topological relation of the oil pipe network exceeds a preset threshold value. The preset threshold may be set by an operator, for example: a first dimension: according to the method, one or more flow metering devices in the state of the attribution error of the network topology relation of the oil pipe network calculated by the field investigation staff according to the embodiment of the invention are investigated, and after the investigation result is fed back to obtain the corresponding calculation accuracy, the dynamic setting is carried out (generally, the lower the accuracy is, the higher the corresponding preset threshold value can be set). In addition to this, a second dimension can be considered: after each round of on-site investigation by a worker, dynamically setting the number of the one or more flow metering devices in the attribution error state of the oil pipe network topological relation according to the updated oil pipe network topological relation (usually, if the number obtained by recalculation is large, the corresponding preset threshold value can be correspondingly set to be lower). Preferably, the two dimensions are considered together, and a third dimension is further added: the number of flow metering devices which are allowed to be checked every time a worker goes out for field investigation; the preset threshold determined by the three dimensions can be used for completing the investigation of the flow metering device with the error probability in the shortest time to the maximum extent.
In the embodiment of the invention, at least the following three specific modes are provided for calculating the correlation between the oil flow data of the flow metering device general table in each area and the oil flow data of one or more flow metering devices which are established with the attribution of the oil pipe network topological relation in each area in the current record.
Mode one, as shown in fig. 4:
in step 301, the one or more regions are exhausted, and each flow rate measurement device can form a combination between the total flow rate measurement device table in each region and the partial flow rate measurement device table included in the corresponding region.
Although described as exhaustive, the actual operation may be more varied and complicated than that described in step 301, for example: for the regional flow metering device general table and the flow metering device sub table in the corresponding region, which have historically verified the topological relation of the oil pipe network, the regional flow metering device general table and the flow metering device sub table in the corresponding region can be used as known quantities and exist in each combination in a fixed form, that is, the verified topological relation of the oil pipe network (considered to be correct) is not added into the exhaustion process in the step 301, so that the calculation process in the first mode is simplified.
However, in the specific operation process, it is preferable that, in the initial several rounds of calculation, the historically verified oil pipe network topology relationship may be used as a correct known quantity, and after several rounds of demonstration, if there is still a large similarity deviation, it is necessary to add the historically verified oil pipe network topology relationship to the exhaustive object in step 301 of the embodiment of the present invention as the object to be verified on the basis of the flow metering device of the oil pipe network topology relationship verified by the method provided by the embodiment of the present invention.
In step 302, the total amount of oil Z is measured according to the flow rate measuring deviceiAnd the sum F of the partial oil quantities of the flow metering devices contained in the corresponding zones in the corresponding combinationiCalculating ZiAnd FiThe difference between the two and/or the variance of the difference between the two.
Where i indicates the ith combination. And for the total oil quantity ZiIn other words, it may use oil flow data for a specified durationAs a corresponding ZiThe parameter value can also be selected as the corresponding Z according to the oil flow data in a certain time periodiThe parameter value can also adopt the combination of oil flow data in different time intervals as the corresponding ZiThe parameter values. The method is not particularly limited, and the preferred method for selecting the parameter values will be described in detail in the data analysis section of the embodiment of the present invention.
In step 303, the calculated Z for each combination is comparediAnd FiAnd obtaining the probability that each combination is correct in attribution of the oil pipe network topological relation by the difference of the two and/or the variance of the difference of the two.
Wherein, step 302 and step 303 describe a round of ZiAnd FiThe two are compared, and in a specific operation, the number of comparison can be multiple groups, and for the multiple groups of comparison process, the corresponding oil flow data also needs to be configured with multiple groups. The simple conclusion is that, generally, the more times of comparison, the more occupied computing resources of the topology data computing server, the longer the corresponding computing time, but the accuracy of the corresponding computing result may also be improved to some extent, and finally how to choose or consider the actual computing environment and the actual number of the workers in the field investigation is to adjust, which is not described herein again.
In step 304, according to the actually obtained attribution relationship of the oil pipe network topology relationship and the obtained probability that each combination is correct attribution of the oil pipe network topology relationship, one or more flow metering devices with the probability of the occurrence of the attribution error of the oil pipe network topology relationship exceeding a preset threshold value are calibrated.
In the embodiment of the invention, the probability that the topological relation of the oil pipe network is correctly attributed is only description on data representation and is also a name on visual representation; in the academic world, more can be described as simple pearson correlation coefficient, and the expression of the simple pearson correlation coefficient is as follows:
Figure BDA0001979966140000101
wherein, cov (Z)i,Fi) Is the above-mentioned ZiAnd FiThe covariance between the two is such that,
Figure BDA0001979966140000102
is ZiStandard deviation of (1), ρFIs FiStandard deviation of (2), expression
Figure BDA0001979966140000103
Is the product of the standard deviations of the two. Pearson's simple correlation coefficient
Figure BDA0001979966140000104
Is always between-1.0 and 1.0, variables close to 0 are said to be uncorrelated, and variables close to 1 or-1 are said to have strong correlation, also described as probabilities in the embodiments of the present invention. For convenience of comparison, generally in a preferred implementation of an embodiment of the invention, the pearson simple correlation coefficient may be given
Figure BDA0001979966140000105
The absolute values are taken or squared before comparison.
In a specific operation process, the one or more flow metering devices, of which the attribution error probability of the network topology relation of the oil pipe network is calibrated to exceed the preset threshold value, can directly transmit the relevant information of the flow metering device to be verified to the intelligent terminal of the worker for field investigation through the intelligent terminal provided for the worker for field investigation in the subsequent system embodiment of the invention, and the worker for field investigation completes the investigation on site.
Mode two, as shown in fig. 5:
in step 401, the one or more regions are exhausted, and each flow rate measurement device can form a combination between the total flow rate measurement device table in each region and the sub-flow rate measurement device table contained in the corresponding region.
Although described as exhaustive, the actual operation may be more varied and complicated than that described in step 401, for example: for the regional flow metering device general table and the flow metering device sub table in the corresponding region which have historically verified the topological relation of the oil pipe network, the regional flow metering device general table and the flow metering device sub table in the corresponding region can be used as known quantities and exist in each combination in a fixed form, namely, the verified topological relation (considered to be correct) of the oil pipe network is not added into the exhaustion process in the step 401, so that the calculation process of the whole mode two is simplified.
However, in a strict consideration during a specific operation process, it is preferable that, in the initial several rounds of calculation processes, the historically verified oil pipe network topology relationship may be used as a correct known quantity, and if a large similarity deviation still exists after several rounds of demonstration, the historically verified oil pipe network topology relationship needs to be added as an object to be verified to the exhaustive object in step 401 in the embodiment of the present invention on the basis of the flow metering device of the oil pipe network topology relationship verified by the method provided in the embodiment of the present invention.
In step 402, an array (Z) is formed based on the total amount of oil Z from the flow metersk1,Zk2,…,Zkj) And an array (F) of the sum F of the partial oil quantities of the flow-rate measuring devices contained in the corresponding zones of the corresponding combinationk1,Fk2,…,Fkj) And calculating the similarity of the two.
Wherein k is a data group serial number of the corresponding calculation similarity, j is a data number included in each group of data, and the data is specifically oil flow data reported by the flow metering device. In the embodiment of the present invention, in addition to the foregoing manner, for calculating the similarity, a complex correlation coefficient, a partial correlation coefficient and/or a pearson simple correlation coefficient (similar to the pearson simple correlation coefficient described in step 304, and also similar to the spearman-level sperman correlation coefficient and the kendall correlation coefficient, which are not described herein) known in the art may be used to implement the similarity, and thus, no further description is provided herein.
To determine the variable F (F)k1,Fk2,…,Fkj) With other plural variables (Z)k1,Zk2,…,Zkj) The correlation coefficient between the two can be considered to construct a correlation (Z)k1,Zk2,…,Zkj) By calculating the linear combination of F (F) andk1,Fk2,…,Fkj) Simple correlation coefficient between the variables F and (Z)k1,Zk2,…,Zkj) A complex correlation coefficient R between.
Figure BDA0001979966140000111
Figure BDA0001979966140000112
In step 403, calibrating one or more flow metering devices for which the probability of the occurrence of the attribution error of the oil pipe network topological relation exceeds a preset threshold according to the actually obtained attribution relation of the oil pipe network topological relation and the obtained probability that each combination is the correct attribution of the oil pipe network topological relation.
In a specific operation process, the one or more flow metering devices, of which the attribution error probability of the network topology relation of the oil pipe network is calibrated to exceed the preset threshold value, can directly transmit the relevant information of the flow metering device to be verified to the intelligent terminal of the worker for field investigation through the intelligent terminal provided for the worker for field investigation in the subsequent system embodiment of the invention, and the worker for field investigation completes the investigation on site. Compared with the first mode, the second mode has higher precision and belongs to a specific development form of a preferred implementation mode in the first mode.
Mode three, as shown in fig. 6:
in step 501, when removing or adding the oil flow meter sub-table to be determined, calculating the ZiAnd FiThe difference of the two and/or the variance of the two.
The removing of the oil flow meter sub-meter to be determined and the adding of the oil flow meter sub-meter to be determined actually correspond to the concepts of 'foreign households' and 'escape households' introduced by the invention. Therefore, in the first and second three-phase comparison manners, the original means for solving the correct probability of the oil pipe network topology relationship of the specific flow metering device through the similarity of various combinations is converted into the means for introducing the concepts of 'foreign users' and 'escape users' into the calculation process, the correct probability of the oil pipe network topology relationship of each flow metering device is calculated on the basis of one initial combination, and the error type of the correct probability is also judged.
In step 502, all the oil flow tables to be determined or their combinations are exhaustively calculated, and F is added or withdrawniWhen is brought to ZiAnd FiAnd the difference value of the two and/or the variance of the two changes towards minimization, so that the probability that the oil flow table to be judged or the combination of the oil flow table and the oil flow table is correct for attribution of the oil pipe network topology relation is judged.
In comparison, the third method can obtain the calculation result more effectively than the first method and the second method, but the third method is more suitable for a scenario in which the oil pipe network topology relations of the remaining flow metering devices need to be confirmed after the oil pipe network topology relations of a part of the flow metering devices have been historically confirmed. At this time, the number of effective flow metering devices (i.e., flow metering devices with correct network topology relationship of the oil pipe network) included in the initial combination is larger, so that the accuracy of the final calculation result is better ensured.
It should be emphasized that, in the method for calculating various correlation coefficients (including the calculation method in step 304) provided in the embodiment of the present invention, the provided specific calculation formulas (for example, the above formula for calculating the complex correlation coefficient R) are all one or more of the correlation coefficient calculation methods applicable to the embodiment of the present invention, and those skilled in the art can apply other similarity calculation methods to the embodiment of the present invention without creative efforts based on the technical ideas disclosed in the embodiment of the present invention, and all of them fall within the protection scope of the embodiment of the present invention.
In the first, second and third modes, the topology relationship of the oil pipe network of the historically verified flow metering device is introduced, and the topology relationship can be used as known correct information in the initial calculation processes. Corresponding operations can greatly improve or improve the calculation efficiency, however, some preferable technical means exist based on the local oil pipe network topological relation confirmation mode provided by the embodiment of the invention, and the exhaustive combination quantity in the mode one, the mode two and the mode three can be further simplified. The specific description is as follows:
the oil pipe network topological relation calculation server can complete the verification of each flow metering device and the attributive region according to the oil duct maintenance record on the data management platform side and the original attributive region information of each flow metering device; and/or the presence of a gas in the gas,
the oil pipe network topological relation calculation server can complete the verification of each flow metering device and the attributive region according to the abnormal value of the flow metering data fed back by the flow metering device exceeding the preset threshold and the original attributive region information of each flow metering device;
and taking the verification result as a known fixed attribute in the exhaustive combination, and performing the operation related to the exhaustive combination on the flow metering device which is not verified. Wherein the known fixed attribute is taken as an invariant, is excluded from an exhaustive range as an inherent attribute, and is directly added to the combination as the content included in the combination.
The scheme provides a preferable technical means, which can combine historical oil duct maintenance and metering data abnormity, and each flow metering device which can finish the attribution verification of the network topology relationship of the oil pipe network in advance is used as a fixed attribute by using an exclusion method and the like, and is excluded from the exhaustion range of the step 301 or the step 401, so that the calculated amount is further reduced, and the calculation efficiency of the method for confirming the network topology relationship of the regional oil pipe network provided by the embodiment of the invention is improved.
The oil duct maintenance can be for oil duct maintenance of a gas station, oil duct maintenance of a certain county or oil duct maintenance of other areas, and the corresponding oil duct maintenance can bring a short oil vacuum period, so that the verification of the network topological relation of the oil pipe network in a specific area is possible. For example, because of oil gallery maintenance, a measure for stopping oil supply is taken for oil consumption in a gas station, however, in reality, a certain flow metering device of the gas station is still working, it can be determined through the above analysis that attribution of the oil pipe network topology relationship between the flow metering device and the flow metering device general table of the area corresponding to the gas station is definitely wrong verification information, and when the verification information is used to be exhaustive in step 301 or step 401, the possibility of combining the flow metering device sub table with the flow metering device general table of the oil supply system can be reduced. The abnormal data may be abnormal oil usage caused by an emergency, such as oil break in a block caused by construction, oil break in a block caused by natural disaster, and the like, and the effect of the abnormal data for the embodiment of the present invention is similar to that of the oil passage maintenance, but the abnormal data is lower in reliability.
In the embodiment of the invention, for the operation mode of assigning the working personnel for field investigation to carry out field investigation, the investigation result can be fed back to the oil pipe network topological relation calculation server, so that a feedback type iterative calculation is realized. Therefore, in connection with the embodiment of the present invention, there is also a preferred embodiment, as shown in fig. 7, the method further includes:
in step 601, a verification result that whether the attribution of the oil pipe network topology relation to the one or more flow metering devices is correct or not, which is returned by the field investigation worker, is obtained.
The flow metering device in the oil pipe network topological relation is calculated by the embodiment of the invention, and the probability result is the attribution error of the oil pipe network topological relation aiming at each flow metering device in the oil pipe network topological relation, and is not an absolute result in a strict sense. Further, the information related to the flow rate metering devices carried in the task of verification by the workers in actual field investigation is actually triggered, and the flow rate metering devices are screened according to the preset threshold determined in step 304 or step 403, so that the corresponding oil pipe network topology relationship may be attributed to be correct or incorrect after the verification by the workers in field investigation.
In step 602, iterating the verification result to the process of calculating the attribution of the topological relation of the oil pipe network, and obtaining one or more flow metering devices of which the updated attribution error probability of the topological relation of the oil pipe network exceeds a preset threshold.
The above-mentioned first, second and third ways are combined for explanation, the verification result involved in step 602 is iterated to the oil pipe network topology relationship attribution calculation process, specifically, the verification result returned in step 601 is used as a new fixed attribute, and step 301 to step 304 and/or step 401 to step 403 are re-executed. As can be seen from the above description, the first mode, the second mode and the third mode may be alternatively used in the embodiment of the present invention, or the two modes may be used in parallel in the embodiment of the present invention, and are not described herein again.
With reference to the embodiment of the present invention, there is also a preferred implementation scheme, wherein before step 201 is executed, the method processes in step 201 to step 203 are usually executed until the difference between the oil amount of the total table of the flow metering devices in a certain area and the total oil amount of the partial tables of the flow metering devices exceeds a second preset threshold, otherwise, it is determined that the oil pipe network topology relationship of the corresponding area is normal, and the method processes in step 201 to step 203 are not required. Therefore, in this preferred implementation, generally before determining one or more regions where a tubing network topology relationship attribution error is potentially likely to occur, the method further comprises:
respectively calculating the relationship between the oil flow data of the flow metering device general table of each oil supply system and the oil flow data sum of the flow metering device sub tables in the oil supply system, and confirming one or more target areas with the attribution error of the oil pipe network topological relationship;
the determining one or more areas where the oil pipe network topology relation attribution error is potentially generated is specifically realized as follows: and determining one or more regions which are potentially subjected to oil pipe network topology relation attribution errors with the one or more target regions according to the one or more target regions.
Example 2:
in the above embodiment 1, as for the correlation between the oil flow data of the total table of the flow metering devices in each area and the oil flow data of one or more flow metering devices in the current record, to which the topological relation of the oil pipe network established in each area belongs, a plurality of combinations are formed mainly based on all the flow metering device sub-tables included in the area by an exhaustive method, and then one or more flow metering devices with a wrong attribution relation are determined according to different calculation methods.
When the magnitude of the flow metering device is huge, the corresponding combination number is huge, and the efficiency of calculation processing is extremely low. In order to improve efficiency, the present embodiment proposes an improved scheme based on embodiment 1 for an actual application scenario.
In an actual application scenario, there may be a scenario (such as the network topology relationship shown in fig. 2) in which adjacent gas stations (the lower concept of the area in this embodiment) share the same storage tank, and in order to ensure that the network topology relationship of the oil pipe network of each gas station is correct, network topology verification needs to be performed.
For different time periods, the amount of fuel output by a certain or some of the fuel pegs in a fuel station will be zero, for example, the amount of fuel output by a certain or some of the fuel pegs in an area (fuel station) will be zero at early morning time, which is a high probability event.
Based on the foregoing characteristics, in the method for confirming a topological relation of a regional oil pipe network of this embodiment, oil flow data of each flow metering device in a region is obtained based on a preset time period, and for the same preset time period, the flow metering devices whose oil flow data in each region is not zero are divided into a primary judgment set, and one or more flow metering devices with an incorrect attribution relation are determined with each primary judgment set as one calculation unit.
The preset time period may be a plurality of time periods, and the preset time period may be divided by one day (24 hours), for example, the preset time period may be one or more time periods from 00:00am to 05:00am, 05:00am to 20:00pm, or 20:00pm to 00:00 am. Based on the travel habits of people, in the time corresponding to 00:00am-06:00am, the quantity of oil output corresponding to a certain refueling pile or certain refueling piles in the gas station is possibly zero, in the time corresponding to 05:00am-20:00pm, people are possibly working, and in the time corresponding to 05:00am-20:00pm, the quantity of oil output corresponding to a certain refueling pile or certain refueling piles in the gas station is possibly zero. In other embodiments, other dividing manners may be adopted to obtain the preset time period.
And after the initial judgment set is determined, taking the initial judgment set as a calculation unit, and calculating one or more flow metering devices, which are positioned in the initial judgment set and have the attribution error probability of the oil pipe network topology relation exceeding a preset threshold value, according to the oil flow data.
Specifically, the correlation between the oil flow data of the total table of the flow metering devices in the initial judgment set corresponding to each region and the oil flow data of one or more sub-tables of the flow metering devices, to which the oil pipe network topology relationship is established, in the current record can be calculated; and determining one or more flow metering devices with the probability of the occurrence of the attribution error of the network topology relation of the oil pipe network exceeding a preset threshold according to the correlation.
Similar to embodiment 1, at least three specific ways are provided for calculating the correlation between the oil flow data of the total table of the flow metering devices in the initial judgment set corresponding to each region and the oil flow data of one or more sub-tables of the flow metering devices, to which the topological relation of the oil pipe network is established, in the current record.
The first method is as follows:
in this embodiment, the number of the initial determination sets is one or more, and depends on the number of the preset time periods. First, in the initial judgment set, each flow rate measurement device can constitute a combination of a total flow rate measurement device table in each area and a partial flow rate measurement device table included in a corresponding area. Then, according to the streamOil flow Z of total gauge of metering deviceiAnd the sum F of the flow rates of the sub-metering oil of the flow metering devices contained in the corresponding areas in the corresponding combinationsiCalculating ZiAnd FiThe difference of the two and/or the variance of the difference of the two; where i indicates the ith combination. Further, the calculated Z of each combination is comparediAnd FiAnd obtaining the probability that each combination is correct in attribution of the oil pipe network topological relation by the difference of the two and/or the variance of the difference of the two. And finally, calibrating one or more flow metering devices with the probability of the occurrence of the attribution error of the oil pipe network topological relation exceeding a preset threshold according to the actually acquired attribution relation of the oil pipe network topological relation and the probability of the correct attribution of the oil pipe network topological relation of each obtained combination.
When the initial judgment set is multiple, the first mode is adopted in sequence, the initial judgment set is used as a calculation unit, and one or more flow metering devices with the probability of the occurrence of the attribution error of the network topology relation of the oil pipe network exceeding a preset threshold value are calibrated.
The first embodiment is basically the same as the first embodiment in example 1, and is different from the first embodiment only in an exhaustive list, where the first embodiment in the first embodiment is a sub-list of all flow metering devices in an area, and the first embodiment in the second embodiment.
For a specific implementation process of the first mode of this embodiment and a corresponding calculation method, reference is made to the first mode of embodiment 1, and details are not described here.
The second method comprises the following steps:
in this embodiment, the number of the initial determination sets is one or more, and depends on the number of the preset time periods. First, in the initial judgment set, each flow rate measurement device can constitute a combination of a total flow rate measurement device table in each area and a partial flow rate measurement device table included in a corresponding area. Then, an array (Z) is formed according to the total surface oil flow Z of the flow metering devicek1,Zk2,…,Zkj) And the flow metering devices contained in the corresponding zones of the corresponding combinationAnd F (F)k1,Fk2,…,Fkj) Calculating the similarity of the two; wherein k is the serial number of the corresponding data group for calculating the similarity, and j is the number of data included in each group of data. And finally, calibrating one or more flow metering devices with the probability of the occurrence of the attribution error of the oil pipe network topological relation exceeding a preset threshold according to the actually acquired attribution relation of the oil pipe network topological relation and the probability of the correct attribution of the oil pipe network topological relation of each obtained combination.
And when the initial judgment set is multiple, sequentially adopting a second mode, and taking the initial judgment set as a calculation unit to calibrate one or more flow metering devices with the probability of the occurrence of the attribution error of the network topology relation of the oil pipe network exceeding a preset threshold value.
The second mode of this embodiment is substantially the same as the second mode of embodiment 1, and is different from the second mode of embodiment 1 only in an exhaustive list, where the second mode of embodiment 1 is an exhaustive list of all the flow rate metering devices in the area, and the second mode of embodiment is an exhaustive list of all the flow rate metering devices in the initial judgment set, so that the order of magnitude can be greatly reduced, and the processing efficiency can be improved.
For a specific implementation process of the second mode of this embodiment and a corresponding calculation method, refer to the second mode of embodiment 1, and are not described herein again.
The third method comprises the following steps:
in an actual application scenario, effective sub-meters of the flow metering devices (that is, flow metering devices with correct topological relations of the oil pipe network) can be determined through the initial judgment set, but some sub-meters of the flow metering devices may not be in the initial judgment set (for convenience of description, such sub-meters of the flow metering devices are sub-meters of flow metering devices to be determined), and it is necessary to calculate and determine whether the attribution relations of the sub-meters of the flow metering devices to be determined are correct.
In order to improve the efficiency of data processing, on the basis that the topological relation of the oil pipe network of a part of flow metering devices has been historically confirmed, the correct probability of the topological relation of the oil pipe network of each flow metering device to be judged can be calculated to determine whether the attribution relation is correct or not.
The specific implementation mode is as follows: in the first embodiment, when a partial table of the flow rate measuring device to be determined is removed or added, the Z is calculatediAnd FiThe difference between the two and/or the variance of the two, calculating all the flow metering device sub-tables to be judged exhaustively or the combination of the two, and adding or withdrawing FiWhen is brought to ZiAnd FiAnd the difference value of the two and/or the variance of the two changes towards minimization, so that the probability that the partial table of the flow metering device to be judged or the combination of the partial table of the flow metering device to be judged belongs to the right topological relation of the oil pipe network is judged.
The principle and implementation process of the third embodiment of the present invention are substantially the same as those of the third embodiment of embodiment 1, and reference may be specifically made to the third embodiment of embodiment 1, and details are not described here.
In comparison, the third mode can obtain the calculation result more effectively than the first mode and the third mode, and the third mode is more suitable for a scene that the oil pipe network topology relations of the remaining flow metering devices need to be confirmed after the oil pipe network topology relations of a part of the flow metering devices have been historically confirmed.
Different from embodiment 1, this embodiment divides the time period of gathering oil flow according to people's trip custom, then carries out preliminary grouping with flow metering device according to the actual use condition, has reduced the magnitude of data processing greatly, improves the efficiency of handling.
For clearly explaining the implementation process of the embodiment, the method for confirming the network topology relationship of the local oil pipe network in the embodiment is explained by taking a preset time period of 00:00am to 05:00am as an example.
The assumption that the oil pipe network topological relation of a certain area, which is obtained from the database server side and recorded, includes: a flow rate measurement device master table P0, and a flow rate measurement device branch table Pn (n is a positive integer) belonging to the flow rate measurement device master table P0. According to the method of the foregoing embodiment, it is determined that the area is an area where a tubing network topology relationship attribution error is potentially generated.
In order to confirm one or more flow metering devices in the area in the state of the attribution error of the network topology relationship of the oil pipe network, in the embodiment, the oil flow data of the flow metering device general table P0 and the flow metering device sub table P1-Pn in the time period corresponding to 00:00am-05:00am are obtained, then the flow metering devices with the oil flow data not being zero in the time period corresponding to 00:00am-05:00am are screened out, and all the flow metering devices with the oil flow data not being zero are divided into the same initial judgment set.
For convenience of description, n is assumed to be 10, but in practical application scenarios, n is generally much larger than 10, for example, n is in the order of hundreds or even thousands for large gas stations.
As shown in fig. 8, in the time period corresponding to 00:00am to 05:00am, the oil flow data corresponding to the flow rate measurement device general table P0, the flow rate measurement device sub table P1, the flow rate measurement device sub table P4, the flow rate measurement device sub table P7, and the flow rate measurement device sub table P10 is not zero, and the oil flow data corresponding to the other flow rate measurement device sub tables is zero. Then the flow metering device general table P0, the flow metering device sub table P1, the flow metering device sub table P4, the flow metering device sub table P7 and the flow metering device sub table P10 are divided into a primary judgment set, and whether the oil pipe network topology relationship between the flow metering device sub table and the flow metering device general table is correct or not is determined by adopting the first mode of the embodiment or the second mode of the embodiment. In an optional embodiment, in order to determine whether the attribution relationship between the other to-be-determined flow metering device sub-tables (P2, P3, P5, P6, P8, P9) and the flow metering device general table P0 is correct or not, the oil flow of each flow metering device sub-table in a whole day of a certain day may be collected again, and whether the oil pipe network topology relationship between the to-be-determined flow metering device and the flow metering device general table is correct or not may be determined based on the third mode of this embodiment, so as to calibrate one or more flow metering devices in which the attribution error probability of the oil pipe network topology relationship exceeds the preset threshold.
The method comprises the following steps that in some application scenes, an oil inlet of an oil storage tank corresponding to each gas station is provided with a flow metering device general table for measuring the quantity of oil input into the oil storage tank by an upstream oil conveying system; and the oil outlet of the oil storage tank corresponding to each gas station is provided with another flow metering device general table, and the flow metering device general table is connected with the flow metering device sub table corresponding to each oil filling pile and is used for measuring the total oil quantity output by each oil filling pile. For such a situation, at the gas stations in the same district or county, the flow meter summary table at the oil inlet side of the oil storage tank corresponding to each gas station is a flow meter sub-table relative to the upstream oil transportation system, and in order to determine the network topology relationship of the oil pipe network, network topology verification needs to be performed.
In a certain time period, when the oil storage amount in the oil storage tank is smaller than a preset threshold value, an oiling instruction is triggered, an upstream oil conveying system outputs oil to the oil storage tank, and the oil amount of a sub-meter of a flow metering device is not zero; when the oil storage amount in the oil storage tank is larger than a preset threshold value, an oiling instruction does not need to be triggered, the upstream oil conveying system does not output oil to the oil storage tank, and the oil amount of the sub-meter of the flow metering device is zero.
Therefore, based on the same design concept, the initial judgment set can be obtained by adopting the mode of obtaining the oil flow data of the flow metering device in different time intervals, and then the topological relation of the oil pipe network is confirmed based on the initial judgment set, so that the data processing amount is reduced, and the processing efficiency is improved.
Example 3:
on the basis of the method for confirming the network topological relation of the regional oil pipe network provided by the embodiment 1 of the invention, the embodiment of the invention also provides a system for confirming the network topological relation of the regional oil pipe network, which can be used for completing the corresponding method in the embodiment 1, so that the corresponding technical content expanded and described in the embodiment of the invention can be also suitable for realizing the method in the embodiment 1.
As shown in fig. 9, the system includes a database server, an oil pipe network topological relation computing server, and one or more intelligent terminals, and in the embodiment of the present invention, in consideration of the possibility of the scale of the data volume of a specific application scenario, the oil pipe network topological relation computing server may adopt a single host form or a cloud platform implementation form, which is not limited herein. The system specifically comprises:
the database server is used for storing initial affiliation relations of the flow metering devices contained in each area and each area, storing oil flow data reported by each flow metering device and providing a data access interface for the oil pipe network topological relation calculation server;
the oil pipe network topological relation calculation server is used for executing the following process contents:
determining one or more areas where the attribution errors of the network topological relation of the oil pipe network can potentially occur; acquiring oil flow data corresponding to each flow metering device contained in the one or more regions; calculating one or more flow metering devices in the one or more regions, wherein the probability of the occurrence of the attribution error of the network topology relation of the oil pipe network exceeds a preset threshold value;
and the one or more intelligent terminals are accessed to the oil pipe network topological relation calculation server and used for determining actual topological attribution according to the equipment identification information of the one or more flow metering devices and feeding back the actual topological attribution to the oil pipe network topological relation calculation server.
In the embodiment of the invention, the intelligent terminal can be a professional detection device and is attached with the data interaction capacity of an oil pipe network topological relation calculation server; or, the intelligent terminal is a general intelligent mobile phone, and the determination of the corresponding topology attribution may be completed by a professional detection device, and a worker who examines in the field transmits the verification result data to the oil pipe network topology relation calculation server through the intelligent terminal, and the specific implementation form is not limited to the above two, and the derived similar verification mode and feedback mode both belong to the protection scope of the embodiment of the present invention.
The embodiment of the invention provides a method for determining one or more areas which are potentially subjected to the attribution error of the network topology relation of the oil pipe network, and determining the probability of one or more flow metering devices in the state of the attribution error of the network topology relation of the oil pipe network in the one or more areas through oil flow data, thereby providing more effective investigation basis for workers who need to investigate on the spot. The embodiment of the invention has the advantage that the advantage is particularly outstanding for scenes with larger application scale.
In the embodiment of the invention, the flow metering device specifically corresponds to the refueling piles in each refueling station under one oil supply system; or the flow metering device specifically corresponds to each county and city under one oil supply system; or the flow metering device specifically corresponds to each company under one oil supply system; or the flow metering device specifically corresponds to each plant under one oil supply system.
Because the network topological relation chaos degree of the oil pipe network of the oil supply system is different, the oil flow data of different oil supply systems are also greatly different. Different and applicable mathematical models can be constructed for different oil flow data of the oil supply system, and different algorithms are selected, so that the network topological relation of the oil pipe network of the oil supply system can be calculated more efficiently. And the corresponding model and algorithm are stored in the oil pipe network topological relation calculation server in advance. Several exemplary models are described in detail below:
model 1, summary table and branch table and residual (and residual variance) minimization model (the model 1 corresponds to the first mode in embodiment 1)
Model: min { residual } ═ summary table-sublist sum (1)
min{σResidual error}=σSummary table-branch table and (2)
physically, the mechanism by which model 1 holds is:
by using the formula (1), fixing the oil supply system general table, and combining the one-to-one exhaustive tables, the combination of the oil supply system general table and the oil supply system tables which can enable the residual error to be the minimum value is calculated, and the combination can form a real oil supply system oil pipe network topological relation which is an approximate probability event.
By using the formula (2), fixing the oil supply system general table, and combining the one-by-one exhaustive list and the oil supply system list, the combination of the oil supply system general table and the oil supply system list which can enable the variance value of the residual error to be the minimum is calculated, and the combination can form a real oil supply system oil pipe network topological relation which is an approximate probability event.
When the oil flow meter error is ignored, if all the partial tables in the "partial table" in the equation (1) are the oil flow meter partial tables in the oil supply system, and the residual error in the equation (1) is equal to 0, when the oil flow meter error is considered, the residual error is equal to the sum of the oil flow meter errors and is a very small oil quantity, and the event forming the partial table with the minimum residual error is just the event of all the oil flow meter in the oil supply system, which is a high-probability event. Even so, the criterion of minimum residual error is only used as a necessary condition of correct oil supply system oil pipe network topology relation, but is not a sufficient condition. On the contrary, when the partial meter and the middle meter have the external oil flow meter of the oil supply system, the residual error tends to become larger.
The significance of equation (2) is that, even when the error factor of the oil flow meter is taken into consideration, in theory, when the partial sum is just the total oil flow meter in the oil supply system, the variance of the residual is 0 (the residual is 0, which is a sufficient condition for "the oil supply system oil pipe network topology is correct"). In practice, the variance of the residual is not 0, but a value very close to 0. When the partial table sum has an algorithm: the exhaustive user sub-tables form the sub-tables, and the sub-tables of the formulas (1) and (2) and the real oil pipe network topological relation under the general table are met. On the contrary, when the partial meter and the middle have the external oil flow meter of the oil supply system, the residual variance value tends to become larger.
In view of the fact that the equations (1) and (2) can be used for distinguishing the oil flow meters inside the oil supply system and the oil flow meters outside the oil supply system, the oil flow meters and the oil flow meters are combined to be one of a set of mathematical models for calculating the topological relation of the oil pipe network of the oil supply system.
Model 2, model for calculating correlation coefficient between partial table and general table (the model 2 corresponds to the second mode in example 1)
Figure BDA0001979966140000211
Wherein, w0iIs the data read i time from the summary table of the oil supply system, wkiThe data is read for the ith time of the kth block of the oil supply system, the model 2 needs to read the oil flow data of the oil supply system for multiple times, and the reading times are counted as m times.
The mechanism by which model 2 holds is:
by using formula (3), the general table w of the oil supply system is fixed0iIn the selectable (the potential suspicion party of the oil flow meter in the oil supply system is the oil flow meter branch meter of the local oil supply system and the oil flow meter branch meter of the adjacent oil supply system) oil flow data set (the maximum number of users can reach N), the branch meter and the structure are selected
Figure BDA0001979966140000212
(where N is 1,2, … … N) to obtain a different value of N
Figure BDA0001979966140000213
A total combination of the tables and amounts, each selected from
Figure BDA0001979966140000214
One-to-one exhaustive calculation of w0iAnd
Figure BDA0001979966140000215
the correlation coefficient between the two is calculated to find the one with the maximum correlation coefficient (the correlation coefficient is close to 1) in the total combination
Figure BDA0001979966140000216
Dividing and measuring of
Figure BDA0001979966140000217
The branch table and the oil supply system summary table together form a real oil supply system oil pipe network topological relation, which is a large probability event. The model 2 can be used as a mathematical model for the oil supply system oil pipe network topological relation carding calculation.
Neglecting the influence of oil flow meter errorAnd w in the formula (3) in the case of oil leakage0iAnd
Figure BDA0001979966140000221
should be equal to the integer 1, taking into account the error of the oil flow meter, w in equation (3)0iAnd
Figure BDA0001979966140000222
the correlation coefficient between should be equal to a positive constant very close to 1.
Even so, because the influence of the error of the oil flow meter is unpredictable, the oil supply system oil pipe network topological relation calculated by taking the formula (3) as a criterion is only an approximate probability event and cannot be used as the oil supply system oil pipe network topological relation determined by 100%.
In view of the fact that the oil flow meters in the oil supply system can be discriminated by using the formula (3), the invention uses the oil flow meters and the oil flow meters in the oil supply system as one of a set of mathematical models for independently calculating the network topological relation of the oil pipe network of the oil supply system.
Model 3, model for calculating the derivation relationship between the correlation coefficients of the partial table and the general table (the model 3 corresponds to the first mode or the second mode of improvement by using the oil passage maintenance record or the abnormal value of data in the embodiment 1, and corresponds to the process from the step 501 to the step 502)
Figure BDA0001979966140000223
Wherein, w0iIs the data read i time from the summary table of the oil supply system, wkiIs the data read for the ith time of the kth block sub-table of the oil supply system,
Figure BDA0001979966140000224
are already determinable as a table of contents in the oil supply system,
Figure BDA0001979966140000225
the model 3 given by the formula (4) needs to read the oil flow number of the oil supply system for a plurality of times, wherein the oil flow number is to be determined as the oil amount in the internal chart of the oil supply systemThe number of readings was counted as m.
The mechanism by which model 3 holds is:
by using formula (4), the general table w of the oil supply system is fixed0iAnd
Figure BDA0001979966140000226
remove but
Figure BDA0001979966140000227
In the selectable (potential suspicion person of oil flow meter in oil supply system is the oil flow meter branch meter of the local oil supply system and the oil flow meter branch meter of the adjacent oil supply system) oil flow data set (the maximum number of users can reach N), selecting a branch meter and constructing
Figure BDA0001979966140000228
(where N is 1,2, … … N) to obtain a different value of N
Figure BDA0001979966140000229
(n-n1) combinations of tables and amounts, each of which is selected from the (n-n1) combinations
Figure BDA00019799661400002210
One-to-one exhaustive calculation
Figure BDA00019799661400002211
And
Figure BDA00019799661400002212
the correlation coefficient between the (n-n1) combinations is found by calculation to be the one having the largest correlation coefficient (correlation coefficient close to 1)
Figure BDA00019799661400002213
To separate tables and amounts, this "
Figure BDA00019799661400002214
Separate and compare with the above
Figure BDA00019799661400002215
The quantities together can form a real oil supply system oil pipe network topological relation, which is a high-probability event. Model 3 can be used as one of mathematical models for oil supply system oil pipe network topological relation carding calculation.
Neglecting the influence of the oil flow meter error and the oil leakage error, the method in the formula (4)
Figure BDA00019799661400002216
Figure BDA00019799661400002217
And
Figure BDA00019799661400002218
should be equal to the integer 1, taking into account the error of the oil flow meter
Figure BDA00019799661400002219
And
Figure BDA00019799661400002220
the correlation coefficient between should be equal to a positive constant very close to 1.
Even if the influence of the error of the oil flow meter is unpredictable, the oil supply system oil pipe network topological relation calculated by taking the formula (4) as a criterion is only an approximate probability event and cannot be used as 100% determined oil supply system oil pipe network topological relation.
Since the formula (4) can be used for discriminating the oil flow meters in the oil supply system, the oil flow meters and the oil flow meters are used together as one of a set of mathematical models for independently calculating the network topological relation of the oil pipe network of the oil supply system.
The above-described incompletely deterministic nature of the computational results of the present invention applies to each mathematical model. Alternatively, there is no mathematical model that is capable of indifferently calculating the true oil pipe network topology of the oil supply system.
The calculation aims to obtain the oil supply system oil pipe network topological relation of the maximum probability (probability value), and different oil supply system oil flow data are different for the same mathematical model, so that different calculation methods are required to be selected.
For example, with respect to model 2, it is determined whether some of the oil flow meters belong to the inside of the oil supply system or the outside of the oil supply system by comparing and calculating the magnitudes of the correlation coefficients of the partial tables and the total table. In selecting the type of correlation coefficient, a complex correlation coefficient, a partial correlation coefficient, a pearson simple correlation coefficient, or the like may be selected.
Similarly, for the model 3, a complex correlation coefficient, a partial correlation coefficient, a pearson simple correlation coefficient, and the like may also be selected.
Various regression algorithms, various machine learning algorithms to train mathematical models, etc. may be used for model 1.
The technical solution formed by obtaining other similar implementable models based on the disclosed models by those skilled in the art without creative work will also fall within the protection scope of the present invention.
Which algorithm needs to be selected can also be self-learned in the calculation process through a computer. The embodiment of the invention can use the algorithm of the integration method in machine learning to respectively select different algorithms for the different mathematical models and the oil flow data to respectively calculate the real and correct calculation result of the oil pipe network topology relation of the oil supply system. Different models and algorithms are then given different weights to arrive at a comprehensive calculation conclusion. The method can be specifically completed in the oil pipe network topology relation calculation server in the embodiment.
Example 4:
fig. 10 is a schematic structural diagram of a device for confirming a topological relation of a local oil pipe network according to an embodiment of the present invention. The device for confirming the network topology relationship of the regional oil pipe network in the embodiment comprises one or more processors 21 and a memory 22. In fig. 10, one processor 21 is taken as an example.
The processor 21 and the memory 22 may be connected by a bus or other means, and fig. 10 illustrates the connection by a bus as an example.
The memory 22 is used as a non-volatile computer-readable storage medium, and can be used to store a non-volatile software program and a non-volatile computer-executable program, such as the method for confirming the network topology relationship of the regional oil pipe network in embodiment 1. Processor 21 executes the method for determining the topology of the regional oil pipe network by executing non-volatile software programs and instructions stored in memory 22.
The memory 22 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 22 may optionally include memory located remotely from the processor 21, and these remote memories may be connected to the processor 21 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The program instructions/modules are stored in the memory 22, and when executed by the one or more processors 21, perform the method for confirming the topology relationship of the local oil pipe network in the embodiment 1, for example, perform the steps shown in fig. 1, fig. 4, fig. 5 and fig. 7 described above.
It should be noted that, for the information interaction, execution process and other contents between the modules and units in the apparatus and system, the specific contents may refer to the description in the embodiment of the method of the present invention because the same concept is used as the embodiment of the processing method of the present invention, and are not described herein again.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the embodiments may be implemented by associated hardware as instructed by a program, which may be stored on a computer-readable storage medium, which may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The calculation of the current round can be completed, and the rest of the cross-households can be calculated and checked for resolution in the second round if necessary.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (17)

1. A method for confirming a network topological relation of a regional oil pipe network is characterized by comprising the following steps:
determining one or more areas where the attribution errors of the network topological relation of the oil pipe network can potentially occur;
acquiring oil flow data corresponding to each flow metering device contained in the one or more regions;
according to the oil flow data, confirming one or more flow metering devices in the one or more areas, wherein the one or more flow metering devices are in an attribution error state of the oil pipe network topological relation;
the process of confirming one or more flow metering devices in the one or more areas, which are in the attribution error state of the network topology relation of the oil pipe network, comprises the following steps: exhaustively exhausting the one or more areas, wherein each flow metering device can form a combination between a total flow metering device table in each area and a flow metering device sub-table contained in the corresponding area;
according to the flow metering device total meter oil quantity ZiAnd the sum F of the partial oil quantities of the flow metering devices contained in the corresponding zones in the corresponding combinationiCalculating ZiAnd FiThe difference of the two and/or the variance of the difference of the two; wherein i indicates the ith combination;
comparing calculated Z of each combinationiAnd FiThe difference value of the two and/or the variance of the difference value of the two are/is used for obtaining the probability that each combination is correct in attribution of the oil pipe network topological relation;
calibrating one or more flow metering devices with the probability of the occurrence of the attribution error of the oil pipe network topological relation exceeding a preset threshold according to the actually obtained attribution relation of the oil pipe network topological relation and the obtained probability that each combination is the correct attribution of the oil pipe network topological relation;
the method comprises the following steps of completing verification of each flow metering device and an attributive region according to an oil duct overhaul record on the side of a data management platform and the original attributive region information of each flow metering device; taking the verification result as a known fixed attribute in exhaustive combination, and performing exhaustive combination related operation on the flow metering device which is not verified; wherein the known fixed attribute is taken as an invariant, is excluded from an exhaustive range as an inherent attribute, and is directly added to the combination as the content included in the combination.
2. The method for confirming the topological relation of the local oil pipe network according to claim 1, wherein the confirming of the one or more flow metering devices in the one or more zones in the home error state of the topological relation of the local oil pipe network specifically comprises:
and calculating one or more flow metering devices in the one or more regions, wherein the probability of the attribution error of the topological relation of the oil pipe network exceeds a preset threshold value.
3. The method for confirming the topological relation of the regional oil pipe network according to claim 2, wherein the method further comprises the following steps:
and the actual attribution condition of the network topology relation of the oil pipe network is verified by the field investigation staff according to the equipment identification information of the one or more flow metering devices.
4. The method for confirming the topological relation of the local oil pipe network according to claim 3, wherein after the field work personnel verify the attribution of the topological relation of the actual oil pipe network according to the equipment identification information of the one or more flow metering devices, the method further comprises the following steps:
obtaining a verification result whether the attribution of the oil pipe network topology relation of the one or more flow metering devices is correct or not, which is returned by the field investigation staff;
and iterating the verification result to the oil pipe network topological relation attribution calculation process to obtain one or more flow metering devices of which the updated oil pipe network topological relation attribution error probability exceeds a preset threshold value.
5. The method for confirming the topological relation of the regional oil pipe network according to claim 2, wherein the calculating of the one or more flow metering devices in the one or more regions where the probability of the occurrence of the home error of the topological relation of the oil pipe network exceeds the preset threshold specifically comprises:
calculating the correlation between the oil flow data of the flow metering device general table in each area and the oil flow data of one or more flow metering devices which are established with the attribution of the oil pipe network topological relation in each area in the current record;
and determining one or more flow metering devices with the probability of the occurrence of the attribution error of the network topology relation of the oil pipe network exceeding a preset threshold according to the correlation.
6. The method for confirming the topological relation of the regional oil pipe network according to claim 1, wherein the calculating of the correlation between the oil flow data of the flow metering device general table in each region and the oil flow data of one or more flow metering devices in the current record to which the topological relation of the regional oil pipe network is established specifically comprises:
calculating Z when removing or adding the partial table of the oil flow meter to be determinediAnd FiA difference between the two and/or a variance of the two;
exhaustively calculating all oil flow meters to be judged or combinations thereof, and adding or withdrawing FiWhen is brought to ZiAnd FiAnd the difference value of the two and/or the variance of the two changes towards minimization, so that the probability that the oil flow table to be judged or the combination of the oil flow table and the oil flow table is correct for attribution of the oil pipe network topology relation is judged.
7. The method for confirming the topological relation of the regional oil pipe network according to claim 5, wherein the calculating of the correlation between the oil flow data of the flow metering device general table in each region and the oil flow data of one or more flow metering devices in the current record to which the topological relation of the regional oil pipe network is established specifically comprises:
exhaustively exhausting the one or more areas, wherein each flow metering device can form a combination between a total flow metering device table in each area and a flow metering device sub-table contained in the corresponding area;
array (Z) according to the quantity of oil Z of the flow meterk1,Zk2,…,Zkj) And an array (F) of the sum F of the partial oil quantities of the flow-rate measuring devices contained in the corresponding zones of the corresponding combinationk1,Fk2,…,Fkj) Calculating the similarity of the two; wherein k is the serial number of the corresponding data group for calculating the similarity, and j is the number of data contained in each group of data;
and according to the actually obtained attribution relationship of the oil pipe network topological relation and the obtained probability that each combination is the correct attribution of the oil pipe network topological relation.
8. The method for confirming a topological relation of a regional oil pipe network according to any one of claims 1 to 7, wherein before exhausting the one or more regions, each flow metering device can form a combination between a flow metering device total table in each region and a flow metering device sub table contained in the corresponding region, the method further comprises:
according to the oil duct maintenance record on the data management platform side and/or the flow metering device feedback metering data abnormal value exceeding the preset threshold value and the original attributive area information of each flow metering device, completing the verification of each flow metering device and the attributive area;
and taking the verification result as a known fixed attribute in the exhaustive combination, and performing the operation related to the exhaustive combination on the flow metering device which is not verified.
9. The method for confirming the network topological relation of the regional oil pipe network according to any one of claims 1 to 7, wherein the oil pipe network is used for conveying oil, gasoline or kerosene, and the oil flow data is petroleum flow data, gasoline flow data or kerosene flow data.
10. The method for confirming the topological relation of the local oil pipe network according to claim 1, wherein before determining one or more areas where the attribution error of the topological relation of the oil pipe network can potentially occur, the method further comprises:
respectively calculating the relationship between the oil flow data of the flow metering device general table of each oil supply system and the oil flow data sum of the flow metering device sub tables in the oil supply system, and confirming one or more target areas with the attribution error of the oil pipe network topological relationship;
the determining one or more areas where the oil pipe network topology relation attribution error is potentially generated is specifically realized as follows: and determining one or more regions which are potentially subjected to oil pipe network topology relation attribution errors with the one or more target regions according to the one or more target regions.
11. The method for confirming the topological relation of the regional oil pipe network according to claim 1, wherein the acquiring the oil flow data corresponding to each flow metering device included in the one or more regions comprises:
acquiring oil flow data corresponding to flow metering devices contained in each area according to a preset time period;
and dividing the flow metering devices with the oil flow data not being zero into the same initial judgment set aiming at the same preset time period.
12. The method for confirming the topological relation of the regional oil pipe network according to claim 11, wherein each region comprises at least one initial judgment set;
the one or more flow metering devices which are in the oil pipe network topology relation attribution error state in the one or more areas according to the oil flow data comprise:
and calculating one or more flow metering devices in the initial judgment set in the state of the attribution error of the network topology relation of the oil pipe network according to the oil flow data.
13. The method for confirming the topological relation of the oil pipe network according to claim 12, wherein the calculating of the one or more flow metering devices in the initial judgment set, for which the home error probability of the topological relation of the oil pipe network exceeds a preset threshold value, comprises:
calculating the correlation between the oil flow data of the flow metering device general table and the oil flow data of one or more flow metering device sub tables which are in the current record and belong to the established oil pipe network topological relation in the initial judgment set corresponding to each region;
and determining one or more flow metering devices with the probability of the occurrence of the attribution error of the network topology relation of the oil pipe network exceeding a preset threshold according to the correlation.
14. The method for confirming the topological relation of the oil pipe network according to claim 13, wherein the calculating of the correlation between the oil flow data of the total table of the flow metering devices and the oil flow data of the one or more sub-tables of the flow metering devices in the current record to which the topological relation of the oil pipe network is established in the initial judgment set corresponding to each region comprises:
exhaustively exhausting the combination between the total flow metering device list in each area and the branch flow metering device list contained in the corresponding area, which is formed by each flow metering device in the initial judgment set;
according to the flow metering device total meter oil quantity ZiAnd the sum F of the partial oil quantities of the flow metering devices contained in the corresponding zones in the corresponding combinationiCalculating ZiAnd FiThe difference of the two and/or the variance of the difference of the two; wherein i indicates the ith combination;
comparing calculated Z of each combinationiAnd FiThe difference value of the two and/or the variance of the difference value of the two are obtained to obtain each combinationAnd attributing correct probability for the network topological relation of the oil pipe network.
15. The method for confirming the topological relation of the oil pipe network according to claim 14, wherein each area at least comprises a primary judgment set;
in the calculation of the initial judgment set corresponding to each region, the correlation between the oil flow data of the total table of the flow metering devices and the oil flow data of one or more sub-tables of the flow metering devices, to which the oil pipe network topological relation is established, in the current record comprises the following steps:
exhaustively exhausting the combination between the total flow metering device list in each area and the branch flow metering device list contained in the corresponding area, which is formed by each flow metering device in the initial judgment set;
array (Z) according to the quantity of oil Z of the flow meterk1,Zk2,…,Zkj) And an array (F) of the sum F of the partial oil quantities of the flow-rate measuring devices contained in the corresponding zones of the corresponding combinationk1,Fk2,…,Fkj) Calculating the similarity of the two; wherein k is the serial number of the corresponding data group for calculating the similarity, and j is the number of data included in each group of data.
16. A system for confirming a network topological relation of a regional oil pipe network is characterized by comprising a database server, an oil pipe network topological relation calculation server and one or more intelligent terminals, and specifically comprises the following steps:
the database server is used for storing initial affiliation relations of the flow metering devices contained in each area and each area, storing oil flow data reported by each flow metering device and providing a data access interface for the oil pipe network topological relation calculation server;
the oil pipe network topological relation calculation server is used for executing the following process contents:
determining one or more areas where the attribution errors of the network topological relation of the oil pipe network can potentially occur; acquiring oil flow data corresponding to each flow metering device contained in the one or more regions; calculating one or more flow metering devices in the one or more regions, wherein the probability of the occurrence of the attribution error of the network topology relation of the oil pipe network exceeds a preset threshold value;
the one or more intelligent terminals are accessed to the oil pipe network topological relation calculation server and used for determining actual topological attribution according to the equipment identification information of the one or more flow metering devices and feeding back the actual topological attribution to the oil pipe network topological relation calculation server;
calculating one or more flow metering devices in the one or more areas, wherein the flow metering device process that the probability of the occurrence of the home error of the topological relation of the oil pipe network exceeds a preset threshold value comprises the following steps: exhaustively exhausting the one or more areas, wherein each flow metering device can form a combination between a total flow metering device table in each area and a flow metering device sub-table contained in the corresponding area;
according to the flow metering device total meter oil quantity ZiAnd the sum F of the partial oil quantities of the flow metering devices contained in the corresponding zones in the corresponding combinationiCalculating ZiAnd FiThe difference of the two and/or the variance of the difference of the two; wherein i indicates the ith combination;
comparing calculated Z of each combinationiAnd FiThe difference value of the two and/or the variance of the difference value of the two are/is used for obtaining the probability that each combination is correct in attribution of the oil pipe network topological relation;
calibrating one or more flow metering devices with the probability of the occurrence of the attribution error of the oil pipe network topological relation exceeding a preset threshold according to the actually obtained attribution relation of the oil pipe network topological relation and the obtained probability that each combination is the correct attribution of the oil pipe network topological relation;
the method comprises the following steps of completing verification of each flow metering device and an attributive region according to an oil duct overhaul record on the side of a data management platform and the original attributive region information of each flow metering device; taking the verification result as a known fixed attribute in exhaustive combination, and performing exhaustive combination related operation on the flow metering device which is not verified; wherein the known fixed attribute is taken as an invariant, is excluded from an exhaustive range as an inherent attribute, and is directly added to the combination as the content included in the combination.
17. An area tubing network topology relation confirming device, characterized in that the device comprises:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor and programmed to perform the method for regional oil well network topology relationship validation of any of claims 1-15.
CN201910145830.6A 2019-02-27 2019-02-27 Method, device and system for confirming network topological relation of regional oil pipe network Active CN111623243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910145830.6A CN111623243B (en) 2019-02-27 2019-02-27 Method, device and system for confirming network topological relation of regional oil pipe network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910145830.6A CN111623243B (en) 2019-02-27 2019-02-27 Method, device and system for confirming network topological relation of regional oil pipe network

Publications (2)

Publication Number Publication Date
CN111623243A CN111623243A (en) 2020-09-04
CN111623243B true CN111623243B (en) 2022-03-25

Family

ID=72257818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910145830.6A Active CN111623243B (en) 2019-02-27 2019-02-27 Method, device and system for confirming network topological relation of regional oil pipe network

Country Status (1)

Country Link
CN (1) CN111623243B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113901619B (en) * 2021-09-28 2024-04-19 天津大学 Partial correlation analysis-based network topology identification method for power distribution network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0821599A (en) * 1994-07-11 1996-01-23 Hitachi Ltd Pipe network analysis, network minimum cost flow analysis and pipe network control system
CN103438359A (en) * 2013-08-06 2013-12-11 毛振刚 Oil pipeline leakage detection and positioning system
CN103939749A (en) * 2014-04-28 2014-07-23 东北大学 Oil pipeline network leakage intelligent self-adaptation monitoring system and method based on big data
CN108006441A (en) * 2017-12-21 2018-05-08 廊坊市蓝德采油技术开发有限公司 A kind of oil field gathering and transportation oil-piping leakage monitoring system
CN109339769A (en) * 2018-11-26 2019-02-15 中海石油(中国)有限公司 A kind of integrated form down-hole oil tube leakage ground detection system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0821599A (en) * 1994-07-11 1996-01-23 Hitachi Ltd Pipe network analysis, network minimum cost flow analysis and pipe network control system
CN103438359A (en) * 2013-08-06 2013-12-11 毛振刚 Oil pipeline leakage detection and positioning system
CN103939749A (en) * 2014-04-28 2014-07-23 东北大学 Oil pipeline network leakage intelligent self-adaptation monitoring system and method based on big data
CN108006441A (en) * 2017-12-21 2018-05-08 廊坊市蓝德采油技术开发有限公司 A kind of oil field gathering and transportation oil-piping leakage monitoring system
CN109339769A (en) * 2018-11-26 2019-02-15 中海石油(中国)有限公司 A kind of integrated form down-hole oil tube leakage ground detection system

Also Published As

Publication number Publication date
CN111623243A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
CN111999692B (en) Multi-table error calibration method and device
Ferrandez-Gamot et al. Leak localization in water distribution networks using pressure residuals and classifiers
CN112115602B (en) Coal mill pipeline blocking state determining method and device, storage medium and computing equipment
CN106206346A (en) Measurement Sampling Method with Sampling Rate Determination Mechanism
CN113407651B (en) Progress information feedback and deviation real-time display method
CN102077197A (en) Rapid data-based data adequacy procedure for pipepline integrity assessment
CN108898311A (en) A kind of data quality checking method towards intelligent distribution network repairing dispatching platform
CN111950627A (en) Multi-source information fusion method and application thereof
Wu et al. Data-driven and model-based framework for smart water grid anomaly detection and localization
CN111313399B (en) Method, device and system for confirming topological relation of regional power utilization network
CN111623243B (en) Method, device and system for confirming network topological relation of regional oil pipe network
CN111999691A (en) Error calibration method and error calibration device for metering sensor device
CN114528674A (en) Natural gas long-distance pipeline network flow calculating and voting method and system
CN111914424B (en) Design wind speed value taking method and system based on short-term wind measurement data
CN117708735A (en) Measurement data fitting method, medium and system based on multipoint checking
CN116467551B (en) Water supply pipe network leakage positioning method and system based on correlation coefficient
CN106709059B (en) Terminal online rate index monitoring method and device based on metering automation system
CN111623237B (en) Method, device and system for confirming topological relation of regional gas utilization network
Shiddiqi et al. Sensor placement strategy for locating leaks using lean graphs
CN111226254A (en) Reliability of network maps
CN111626460B (en) Regional water network topology relationship confirmation method, device and system
CN112581306B (en) Exhaustive-based regional network topological relation confirmation method, device and system
Christodoulou et al. Urban water distribution networks: assessing systems vulnerabilities, failures, and risks
CN115204627A (en) Storage tank breather valve online intelligent detection system and method based on big data
CN115170017A (en) Waybill processing method and device and storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210715

Address after: 570000 1508, Hisense Huating, No.8, Jinxing Road, Longhua District, Haikou City, Hainan Province

Applicant after: Hainan Guoshi Data Technology Co.,Ltd.

Address before: 430023 room 05, 5 / F, building 3, space science and technology headquarters, No.38, Tangxun Hubei Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Applicant before: Wuhan National Survey Data Technology Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210802

Address after: 518000 b1005, mingshige building, 4068 Jiefang Road, laowei community, Guiyuan street, Luohu District, Shenzhen, Guangdong

Applicant after: Shenzhen dianant Data Technology Co.,Ltd.

Address before: 570000 1508, Hisense Huating, No.8, Jinxing Road, Longhua District, Haikou City, Hainan Province

Applicant before: Hainan Guoshi Data Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant