Self-service oil extraction method and device for oil depot
By realizing data transmission between systems in the self-service oil extraction system of the oil depot, the problems of low efficiency and high cost caused by manual input in the existing technology are solved, and the efficiency and safety of oil extraction in the oil depot are improved.
Patent Information
- Application Number
- CN202410823350.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-25
AI Technical Summary
In the oil extraction process of existing oil depots, due to the lack of interface interconnection between systems, data cannot be transferred and needs to be entered manually, resulting in low efficiency, high cost and potential safety hazards.
In the self-service oil extraction system of the oil depot, based on the user's selected operation, the oil extraction request is sent to the information system, the oil extraction data is received and processed, the crane position data is determined, and the oil delivery data is sent to the information system to generate outbound data, realizing inter-system Data transmission reduces manual entry.
It improves the efficiency of oil extraction in the oil depot, reduces costs, reduces manual errors, and enhances safety.
Smart Images

Figure CN118545666A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of finished oil depot management, and in particular to a self-service oil extraction method and device in an oil depot. Background Art
[0002] Oil extraction from a tank depot is a process involving the cooperation of multiple systems. Due to the constraints of tank depot network security and the influence of external factors, there is usually no connectivity between multiple systems. This process involves many devices, and each device has its own software system. There is no interface between the software systems of various devices to interconnect, and there is no standard interface for software systems of the same device from different manufacturers, which results in the inability of the tank depot business data to flow between the various system modules.
[0003] Therefore, the existing oil depot oil extraction process requires staff to manually enter data to complete the data flow between different systems, such as verifying customer identity information, arranging oil extraction crane positions according to the status of the crane positions, printing outbound documents, and other operations.
[0004] However, manual operation is not only cumbersome and has certain safety risks, but also easily causes drivers and customers to wait too long, which in turn reduces the efficiency of oil extraction from the oil depot and increases the cost. Summary of the invention
[0005] In order to solve the above-mentioned problems of low efficiency and high cost of oil extraction in oil depots caused by manual data entry, the present application embodiment provides a self-service oil extraction method and device in an oil depot, and its technical solution is as follows: In a first aspect, an embodiment of the present application provides a self-service oil extraction method in an oil depot, comprising: Sending an oil extraction request to the information system based on the user's selection operation, and receiving oil extraction data corresponding to the oil extraction request sent by the information system; Determine the corresponding crane position data based on the storage position data in the oil lifting data, and perform the oil delivery operation; The detected oil delivery data is sent to the information system, so that the information system generates corresponding warehouse delivery data according to the oil delivery data.
[0006] In an optional solution of the first aspect, before sending the oil extraction request to the information system based on the user's selection operation, the method further includes: When the document is identified as being in a preset area, the identity information on the document is obtained; Send the identity information to the information system so that the information system can verify the identity information; According to the verification processing result received from the information system, the corresponding prompt content is output to the user.
[0007] In another optional solution of the first aspect, the storage location data includes a storage number, a type of oil corresponding to each storage number, and an oil extraction amount corresponding to each storage number; Based on the storage position data in the oil extraction data, the corresponding crane position data is determined, including: Determine the target oil island according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction volume corresponding to each warehouse number; The crane positions on the target oil island are grouped according to the type of oil to obtain at least one crane position group corresponding to the type of oil; wherein each target oil island includes at least one crane position, and each crane position group includes at least one crane position; According to the oil lifting amount corresponding to each warehouse number, the target crane position corresponding to each warehouse number is determined in each crane position group, and the target crane position corresponding to each warehouse number is used as the crane position data.
[0008] In another optional solution of the first aspect, determining the target oil island according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number includes: The matching value of each oil island is calculated according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number; When it is detected that the difference between any two matching values is greater than a preset first threshold, the oil island with the largest matching value is taken as the target oil island.
[0009] In another optional solution of the first aspect, the matching value of each oil island is calculated according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number, including: According to the warehouse number, the type of oil corresponding to each warehouse number and the amount of oil extracted corresponding to each warehouse number, the type of oil extracted and the total amount of oil extracted are determined; Calculate the first matching value of each oil island according to the oil extraction type and the oil type of each oil island; Calculate the second matching value of each oil island according to the total amount of oil extraction and the total amount of oil products in each oil island; Based on the first matching value and the second matching value, a matching value of each oil island is calculated.
[0010] In yet another optional solution of the first aspect, after calculating the matching value of each oil island, the method further includes: When it is detected that the difference between any two matching values is less than or equal to a preset first threshold, the utilization rate of each oil island is calculated; The oil island with the lowest utilization rate is selected as the target oil island.
[0011] In yet another optional solution of the first aspect, calculating the utilization rate of each oil island comprises: Calculate the first estimated time corresponding to each warehouse number according to the oil lifting amount corresponding to each warehouse number and the oil delivery flow rate detected in real time; Compare and process all the first estimated time consumptions, and use the maximum value of all the first estimated time consumptions as the second estimated time consumption of the oil pickup truck corresponding to the storage location data; Accumulate the corresponding second estimated time according to the number of oil pickup trucks on each oil island to obtain the corresponding target estimated time; The utilization rate of each oil island is calculated according to the target estimated time consumption corresponding to each oil island and a preset second threshold.
[0012] In the second aspect, the embodiment of the present application provides a self-service oil extraction device for an oil depot A first processing module, configured to send an oil extraction request to the information system based on a user's selection operation, and receive oil extraction data corresponding to the oil extraction request sent by the information system; The second processing module is used to determine the corresponding crane position data based on the storage position data in the oil lifting data, and perform the oil delivery operation; The third processing module is used to send the detected oil delivery data to the information system, so that the information system generates corresponding warehouse delivery data according to the oil delivery data.
[0013] In a third aspect, the embodiment of the present application further provides a self-service oil extraction device for an oil depot, including a processor and a memory; The processor is connected to the memory; A memory for storing executable program codes; The processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the self-service oil extraction method of the oil depot provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect.
[0014] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the self-service oil extraction method at the oil depot provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect can be implemented.
[0015] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least: In the process of self-service oil extraction at the oil depot, the loading system can send an oil extraction request to the information system based on the user's selection operation, and receive the oil extraction data corresponding to the oil extraction request sent by the information system; determine the corresponding crane position data based on the position data in the oil extraction data, and perform the oil delivery operation; send the detected oil delivery data to the information system, so that the information system can generate the corresponding outbound data based on the oil delivery data. The loading system writes the data into the internal intermediate table so that the information system can read it, thereby sending the oil extraction request and oil delivery data to the information system, and receiving the oil extraction data sent by the information system by reading the data written into the intermediate table by the information system, thereby realizing data transmission between the two, completing the efficient self-service oil extraction process at the oil depot, reducing the errors in the data transmission process caused by manual data entry, and solving the problems of low efficiency and high cost of oil extraction at the oil depot caused by manual data entry. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 An overall flow chart of a self-service oil extraction method for an oil depot provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of a self-service oil extraction device for an oil depot provided in an embodiment of the present application; Figure 3 A schematic structural diagram of another self-service oil extraction device for an oil depot provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0019] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.
[0020] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.
[0021] See also Figure 1 , Figure 1 An overall flow chart of a self-service oil extraction method for an oil depot provided in an embodiment of the present application is shown.
[0022] like Figure 1 As shown, the oil depot self-service oil extraction method may at least include the following steps: Step 101: Send an oil extraction request to an information system based on a user's selection operation, and receive oil extraction data corresponding to the oil extraction request sent by the information system.
[0023] In the embodiment of the present application, the self-service oil picking method at the oil depot can be but is not limited to being applied to a loading system with an intermediate table, wherein the intermediate table refers to a table in the database that can provide read and write functions, which is mainly responsible for data transmission between the loading system and the information system in the present application; the loading system refers to a system that controls the loading of goods (oil products) from storage devices (such as oil tanks) to transportation vehicles (such as tank trucks), and is mainly used on terminals that can perform human-computer interaction.
[0024] During the self-service oil extraction process at the oil depot, the loading system writes data into the internal intermediate table so that the information system can read it, thereby sending oil extraction requests and oil delivery data to the information system, and reading the data written into the intermediate table by the information system to receive the oil extraction data sent by the information system, thereby realizing data transmission between the two, completing a highly efficient self-service oil extraction process at the oil depot, reducing errors in the data transmission process caused by manual data entry, and solving the problems of low efficiency and high cost of oil extraction at the oil depot caused by manual data entry.
[0025] It should be noted that the information system is a comprehensive system running on a cloud server, consisting of a series of software applications, databases, middleware and related configuration files. It is mainly used to manage and control the daily operation, inventory, safety, logistics, finance and other aspects of the oil depot. It can be used, but not limited to, to record and track the inventory quantity of oil products, including detailed data such as warehousing, outbound and transfer; maintain the physical properties of oil products, such as oil product type, batch, quality index, storage location and other information; track the entry and exit, loading and unloading of tank trucks and other logistics activities, including vehicle scheduling, oil extraction plan formulation, loading process monitoring, etc.; connect to the automated loading system to ensure that the loading data is reflected in the inventory in real time and accurately; process business processes such as oil extraction application and outbound document approval. In addition, the communication method between the information system and the intermediate table can be, but is not limited to: by setting up a VPN tunnel to establish a secure, point-to-point connection between the cloud server and the local network, and then the cloud server can directly access the local database through VPN like a machine in the local area network, without exposing the database to the public network.
[0026] It is worth noting that in the process of self-service refueling, the entity that initiates the refueling request can also be the information system. For example, the driver operates on the self-service terminal associated with the information system to enable the information system to initiate the refueling request.
[0027] Specifically, when a user's selection operation is detected, a corresponding oil pick-up request may be sent to the information system according to the operation, wherein the selection operation may be, but is not limited to, selecting an oil pick-up order (including at least the customer unit name, oil pick-up order number, vehicle information, oil type and corresponding oil pick-up quantity) by clicking on the touch screen, and the oil pick-up request may be, but is not limited to, including vehicle information, driver information, oil type and corresponding oil pick-up quantity, etc. Since a driver may be responsible for the transportation of multiple oil pick-up orders at the same time, the driver needs to select the corresponding oil pick-up order according to his or her work schedule for the day.
[0028] Furthermore, when the information system receives a fuel pick-up request corresponding to a fuel pick-up order, it can query and obtain the corresponding fuel pick-up data from its own stored database through the key field information in the fuel pick-up request, wherein the fuel pick-up data may include but is not limited to the customer unit name, driver information, warehouse data (including how many warehouses the fuel pick-up vehicle has, what type of fuel and how much fuel is loaded in each warehouse, etc.) and fuel pick-up date, etc.
[0029] For example, when the information system contains the following three pieces of oil pick-up data: (1) Driver X is responsible for transporting Company A's No. 92 oil (Warehouse 1) and No. 95 oil (Warehouse 3); (2) Driver Y is responsible for transporting Company A's No. 95 oil (Warehouse 1) and No. 98 oil (Warehouse 2); (3) Driver X is responsible for transporting Company B's No. 92 oil (Warehouse 2). When the oil pick-up request contains the key fields: Company A, Driver X, and No. 95 oil, it can be determined that the oil pick-up data corresponding to the oil pick-up request is item (1).
[0030] It is worth noting that the above process of determining the corresponding oil pick-up data based on the oil pick-up request is only an example. In the actual operation process, it is not limited to 3 oil pick-up data or 3 key fields. It can be but not limited to the method of filtering the oil pick-up data stored in the information system layer by layer through key fields, such as first filtering by company name, and then filtering by driver ID number, and then filtering according to information such as oil type or oil pick-up date, until the corresponding 1 oil pick-up data is filtered out.
[0031] As an option of the embodiment of the present application, before sending the oil extraction request to the information system based on the user's selection operation, the method further includes: When the document is identified as being in a preset area, the identity information on the document is obtained; Send the identity information to the information system so that the information system can verify the identity information; According to the verification processing result received from the information system, the corresponding prompt content is output to the user.
[0032] Specifically, before detecting the user's selection operation, it is possible to first identify whether an ID card is placed in the preset area (i.e., the ID card recognition area), wherein the recognition method may be, but is not limited to, optical character recognition technology (OCR) and machine vision technology, and then the identity information on the document (name, gender, age, ID card number, ID photo, etc.) can be obtained. It should be noted that the operation of placing the document in the preset area is completed by the driver.
[0033] Next, the obtained driver's identity information can be uploaded to the cloud-based information system so that the information system can verify the identity information to confirm whether the driver has a fuel pickup task on that day, whether he is a member of the client's staff, etc. The verification method can be but is not limited to the following three: through online verification with the citizen identity information database of the public security agency or other government departments, to compare whether the ID number, name, gender, date of birth and other information match; sending a verification code to the user's reserved phone number, or sending the verification code to the user by email, postal letter, etc., requiring the user to reply or enter the verification code to confirm the accuracy of the identity information; using the services of a third-party authentication platform, such as the real-name authentication services provided by Alipay and WeChat, to verify the identity by connecting to the official database.
[0034] After the information system completes the verification of the driver's identity, it will receive the verification result sent by the information system, and then output corresponding enhanced content to the user (ie, the driver) based on the verification result, such as informing the driver in the form of a pop-up window "Verification passed" or "Verification failed, please re-insert your ID card" and other content.
[0035] Step 102: Determine corresponding crane position data based on the storage position data in the oil lifting data, and perform oil delivery operations.
[0036] Specifically, after receiving the oil lifting data, the corresponding crane position data can be calculated based on the storage position data in the oil lifting data (see above), where the crane position in the storage logistics of the petroleum, chemical and other industries specifically refers to a special location for loading and unloading oil products or other bulk materials. It is usually equipped with a crane pipe (a retractable and rotatable loading and unloading pipeline) and other supporting equipment, such as flow meters, valves, electrostatic grounding devices, fire-fighting facilities, etc., which are used to connect transportation tools such as tank trucks, train tank cars or ships with the storage tanks of the oil depot to achieve safe and efficient loading and unloading of oil products.
[0037] It is understandable that the crane position data may include but is not limited to the crane position number, the crane position geographical location, the oil island number to which the crane position belongs, the type of oil supplied by the crane position, and the amount of oil stored in the crane position, etc. The method of calculating the corresponding crane position data based on the warehouse position data may be but is not limited to the following two methods: determining the optimal crane position through an optimization algorithm (such as a path planning algorithm, a priority sorting algorithm, etc.), and the factors that need to be considered in the algorithm may be but are not limited to the type of oil corresponding to the warehouse number in the warehouse position data, the amount of oil picked up corresponding to the warehouse number, the arrival order of the tanker, the oil product liquidity requirements, the loading and unloading efficiency, and the safety distance, etc.; using a real-time monitoring system to observe the use status and queuing status of each crane position, and arranging the oil picking positions of different warehouse positions of the tanker according to the information of the crane positions that are currently idle or about to be idle and the warehouse position data.
[0038] Furthermore, after determining the crane position data corresponding to the warehouse position data, the oil delivery operation can be performed on the tank truck according to the crane position data. For example, when a tank truck has two warehouses, No. 1 and No. 2, the determined crane position data includes adding 500L of No. 92 oil from warehouse 1 to crane position A and adding 600L of No. 95 oil from warehouse 2 to crane position B, then crane positions A and B will sequentially deliver 500L of No. 92 oil and 600L of No. 95 oil to the tank truck, wherein the oil delivery operation at the crane positions can be but is not limited to sequentially delivering oil to multiple warehouses for multiple crane positions and simultaneously delivering oil to multiple warehouses for multiple crane positions, etc.
[0039] As another option of the embodiment of the present application, the storage location data includes a storage number, an oil type corresponding to each storage number, and an oil extraction amount corresponding to each storage number; Based on the storage position data in the oil extraction data, the corresponding crane position data is determined, including: Determine the target oil island according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction volume corresponding to each warehouse number; The crane positions on the target oil island are grouped according to the type of oil to obtain at least one crane position group corresponding to the type of oil; wherein each target oil island includes at least one crane position, and each crane position group includes at least one crane position; According to the oil lifting amount corresponding to each warehouse number, the target crane position corresponding to each warehouse number is determined in each crane position group, and the target crane position corresponding to each warehouse number is used as the crane position data.
[0040] Specifically, the storage location data may include the storage number, the type of oil corresponding to each storage number, and the amount of oil picked up corresponding to each storage number, for example, storage No. 1 picks up 300L of No. 95 oil.
[0041] It should be noted that the oil island refers to a concentrated area of refueling equipment located on the refueling lane, usually including several refueling machines and refueling guns (i.e. crane positions), where vehicles can refuel at the same time. Each refueling gun represents a crane position and can provide refueling services for one vehicle.
[0042] After receiving the oil lifting data, in the process of determining the corresponding crane position data according to the warehouse position data in the oil lifting data, all oil islands can be screened according to the warehouse number, the oil type corresponding to each warehouse number and the oil lifting amount corresponding to each warehouse number. The screening method can be but is not limited to: first compare the oil type on the oil island and the oil type corresponding to each warehouse number. When the former range can cover the latter (that is, the number of types is greater than or equal to), the oil island is the oil island that can be retained after the first screening. Then, the same method can be used to compare the oil storage capacity on the oil island and the oil lifting amount corresponding to each warehouse number, and the oil islands whose former range covers the latter (that is, the oil storage capacity of a certain oil product is greater than or equal to the oil lifting amount) are screened out, and the distances between the oil islands screened out for the second time and the entrance are sorted, and the oil islands with the closest distance are selected as the target oil islands.
[0043] After determining the target oil island, the crane positions on the target oil island can be grouped according to the type of oil corresponding to each warehouse number, and then at least one group of crane positions corresponding to the type of oil can be obtained. For example, when warehouse No. 1 of a tanker truck needs to pick up No. 92 oil and warehouse No. 2 needs to pick up No. 95 oil, the crane positions on the oil island can be divided into two or three groups: one group is the crane position group that can provide No. 92 oil; one group is the crane position group that can provide No. 95 oil; and one group is the crane position group that neither provides No. 92 oil nor No. 95 oil (if this group exists, such as a crane position that provides No. 98 oil, the grouping result is three groups, otherwise it is two groups).
[0044] It is worth noting that each target oil island includes at least one crane position (usually more than two), and each group of crane positions includes at least one crane position.
[0045] Then, according to the oil lifting amount corresponding to each warehouse number, the crane position corresponding to the warehouse number that can perform oil lifting operation can be found in each crane position group, that is, the target crane position. For example, when the No. 1 warehouse of a tank truck needs to lift 400L of No. 92 oil, and the crane position group corresponding to the No. 1 warehouse includes the A crane position storing 300L of No. 92 oil and the B crane position storing 500L of No. 92 oil, since 300L<400L<500L, the A crane position cannot provide enough oil to the No. 1 warehouse, but the B crane position can, therefore, the target crane position corresponding to the No. 1 warehouse is the B crane position.
[0046] Afterwards, the target crane positions corresponding to each warehouse number can be gathered together as crane position data, such as crane position A corresponding to warehouse No. 1, crane position B corresponding to warehouse No. 2, and crane position C corresponding to warehouse No. 3, etc.
[0047] As another option of the embodiment of the present application, the target oil island is determined according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number, including: The matching value of each oil island is calculated according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number; When it is detected that the difference between any two matching values is greater than a preset first threshold, the oil island with the largest matching value is taken as the target oil island.
[0048] Specifically, in the process of determining the target oil island according to the storage location data, the matching value of each oil island can be calculated according to the storage number, the oil type corresponding to each storage number, and the oil extraction amount corresponding to each storage number, wherein the calculation method can be but is not limited to the following three steps: 1. Set a corresponding initial matching value for each oil island, which can be but is not limited to 0.
[0049] 2. Compare the oil type corresponding to each warehouse number (hereinafter referred to as the first oil type) with the oil type on each oil island (hereinafter referred to as the second oil type), and update the matching value of each oil island according to the comparison result, wherein the updating method may be but is not limited to: when the second oil type includes the first oil type (i.e., a subset relationship), add 1 to the matching value of the oil island; when the two have the same oil type and different oil type (i.e., a cross relationship), do not change the matching value of the oil island; when the oil types of the two are completely different (i.e., a mutually exclusive relationship), subtract 1 from the matching value of the oil island.
[0050] 3. The oil extraction quantity of each oil product in the first oil category is statistically calculated based on the oil extraction quantity corresponding to each warehouse number, and compared with the oil storage quantity of the corresponding oil product in the second oil category, and then the matching value of each oil island can be updated according to the comparison result, wherein the updating method can be but is not limited to: when the oil extraction quantity of each oil product in the first oil category is less than or equal to the oil storage quantity of the corresponding oil product in the second oil category, the matching value of the oil island is added by 1, otherwise, the matching value of the oil island is not changed.
[0051] It can be understood that when the No. 1 tank of a tank truck needs to pick up 300L of No. 92 oil, the No. 2 tank needs to pick up 600L of No. 92 oil, and the No. 3 tank needs to pick up 500L of No. 95 oil, if there is oil island A that can provide 1000L of No. 92 oil and 500L of No. 95 oil, oil island B can provide 700L of No. 92 oil and 600L of No. 95 oil, and oil island C can provide 800L of No. 95 oil, then according to the above matching value update method, it can be obtained that after step 1, the initial matching values of oil islands A, B and C are set to 0; after step 2, since both oil islands A and B can provide 92 No. 92 oil and No. 95 oil, while oil island C cannot provide No. 92 oil, so the matching values of oil island A and oil island B are both increased by 1, and the matching value of oil island C does not change, so the matching values of oil island A and oil island B are 1, and the matching value of oil island C is 0; after step 3, since oil island A can provide sufficient No. 92 oil and No. 95 oil, oil islands B and oil island C can only provide sufficient No. 95 oil but cannot provide sufficient No. 92 oil, the matching value of oil island A is increased by 1, and the matching values of oil island B and oil island C do not change, so the final matching value of oil island A is 2, the final matching value of oil island B is 1, and the final matching value of oil island C is 0.
[0052] In addition, since multiple crane positions can deliver oil to storage locations at the same time, the matching value update method can also incorporate crane position factors. For example, when the storage capacity of a certain oil product on two oil islands is the same, the oil island with more crane positions will have a greater increase in its matching value.
[0053] Next, after calculating the matching value of each oil island, the difference between any two matching values can be calculated and the calculation result can be detected. When it is detected that the difference between any two matching values is greater than the preset first threshold, it means that the difference between each oil island is more obvious, and the optimal oil island selection is more prominent. The oil island with the largest matching value can be directly selected as the target oil island without considering the possibility of selecting other oil islands. The preset first threshold can be but is not limited to an integer 1.
[0054] As another option of the embodiment of the present application, the matching value of each oil island is calculated according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number, including: According to the warehouse number, the type of oil corresponding to each warehouse number and the amount of oil extracted corresponding to each warehouse number, the type of oil extracted and the total amount of oil extracted are determined; Calculate the first matching value of each oil island according to the oil extraction type and the oil type of each oil island; Calculate the second matching value of each oil island according to the total amount of oil extraction and the total amount of oil products in each oil island; Based on the first matching value and the second matching value, a matching value of each oil island is calculated.
[0055] Specifically, in the process of calculating the matching value of each oil island, the oil type and the total amount of oil picked up can be counted according to the warehouse number, the oil type corresponding to each warehouse number, and the oil picking up amount corresponding to each warehouse number. For example, when the No. 1 warehouse of a tanker needs to pick up 200L of No. 92 oil, the No. 2 warehouse needs to pick up 400L of No. 92 oil, and the No. 3 warehouse needs to pick up 500L of No. 95 oil, the oil types picked up are No. 92 oil and No. 95 oil, and the total amount of oil picked up is 600L of No. 92 oil and 500L of No. 95 oil. It is worth noting that the total amount of oil picked up here corresponds to the oil type picked up.
[0056] Next, the number of extracted oil types and the number of oil types on each oil island can be compared, and the first matching value of each oil island can be calculated based on the comparison result. The calculation method can be but is not limited to: when the former is less than the latter, the first matching value of the oil island is recorded as 3; when the former is equal to the latter, the first matching value of the oil island is recorded as 2; when the former is greater than the latter, the first matching value of the oil island is recorded as 1.
[0057] After calculating the first matching value, the total amount of each required oil product extracted can be compared with the total amount of the corresponding oil product on each oil island, and the second matching value of each oil island can be calculated based on the comparison result. The calculation method can be but is not limited to: when the former is less than the latter, the second matching value of the oil island is recorded as 3; when the former is equal to the latter, the second matching value of the oil island is recorded as 2; when the former is greater than the latter, the second matching value of the oil island is recorded as 1.
[0058] Thereafter, the matching value of each oil island may be calculated according to the calculated first matching value and the second matching value. The calculation method may be, but is not limited to, taking the average of the first matching value and the second matching value as the matching value of each oil island.
[0059] As another option of the embodiment of the present application, after calculating the matching value of each oil island, the method further includes: When it is detected that the difference between any two matching values is less than or equal to a preset first threshold, the utilization rate of each oil island is calculated; The oil island with the lowest utilization rate is selected as the target oil island.
[0060] Specifically, after calculating the matching value of each oil island, the difference between any two matching values can be calculated and the calculation result can be detected. When it is detected that the difference between any two matching values is less than or equal to the preset first threshold, it means that the difference between the two oil islands is small, and there may be multiple optimal oil island options. Therefore, each oil island can be further compared through the parameter of oil island utilization, and the target oil island can be determined based on the comparison results.
[0061] It can be understood that when it is detected that the difference between any two matching values is less than or equal to the preset first threshold, the utilization rate of each oil island can be calculated first, wherein the utilization rate of the oil island refers to the degree to which the oil island is actually used within a certain period of time. The calculation method can be but is not limited to: by counting the number of oil-picking vehicles, the amount of oil picked up, and the time of oil picking up every day or a certain period of time.
[0062] Next, after calculating the utilization rate of each oil island, the oil island with the lowest utilization rate (i.e., the highest idleness) can be selected as the target oil island, which is conducive to more reasonable arrangement of the oil extraction process, reducing the driver's waiting time and improving the efficiency of oil extraction.
[0063] As another option of the embodiment of the present application, calculating the utilization rate of each oil island includes: Calculate the first estimated time corresponding to each warehouse number according to the oil lifting amount corresponding to each warehouse number and the oil delivery flow rate detected in real time; Compare and process all the first estimated time consumptions, and use the maximum value of all the first estimated time consumptions as the second estimated time consumption of the oil pickup truck corresponding to the storage location data; Accumulate the corresponding second estimated time according to the number of oil pickup trucks on each oil island to obtain the corresponding target estimated time; The utilization rate of each oil island is calculated according to the target estimated time consumption corresponding to each oil island and a preset second threshold.
[0064] Specifically, in the process of calculating the utilization rate of each oil island, the oil lifting amount corresponding to each warehouse number (i.e., the oil lifting amount of each warehouse position of a certain oil tanker) can be divided by the oil delivery flow rate of the oil pipe on the crane position detected in real time (i.e., the number of liters of oil delivered per second) to obtain the oil lifting time required for each warehouse position (i.e., the time consumption of each crane position), and use it as the first estimated time consumption corresponding to each warehouse number. Since different crane positions can refuel at the same time, the time consumption of each crane position on an oil island does not need to be superimposed and calculated, and only the longest time consumption needs to be calculated. Therefore, the first estimated time consumption can be compared and processed and the maximum value thereof can be selected as the second estimated time consumption, wherein the second estimated time consumption is the estimated time consumption of an oil lifting vehicle (i.e., the above-mentioned certain oil tanker), which corresponds to the aforementioned warehouse position data.
[0065] Next, the second estimated time consumption of all the oil picking trucks on the oil island can be accumulated to calculate the total time consumption of the oil island (i.e., the target estimated time consumption), and then the ratio between the target estimated time consumption of each oil island and the preset second threshold value can be calculated, and the ratio is used as the utilization rate of each oil island, wherein the preset second threshold value can be but is not limited to 90 minutes.
[0066] Step 103: Send the detected oil delivery data to the information system, so that the information system generates corresponding warehouse delivery data according to the oil delivery data.
[0067] Specifically, after the oil delivery operation is completed, the detected oil delivery data (such as oil delivery time, oil delivery volume, remaining oil volume at the crane position, etc.) can be sent to the information system, so that the information system can update the inventory data of the oil depot according to the oil delivery data, and generate outbound data corresponding to the oil delivery operation, so as to analyze the sales trend of the oil depot, monitor the transportation status of oil products, and replenish stocks in time to prevent shortages or backlogs, etc.
[0068] See also Figure 2 , Figure 2 A structural schematic diagram of a self-service oil extraction device for an oil depot provided in an embodiment of the present application is shown.
[0069] like Figure 2 As shown, the oil depot self-service oil extraction device may include at least a first processing module 201, a second processing module 202 and a third processing module 203, wherein: A first processing module, configured to send an oil extraction request to the information system based on a user's selection operation, and receive oil extraction data corresponding to the oil extraction request sent by the information system; The second processing module is used to determine the corresponding crane position data based on the storage position data in the oil lifting data, and perform the oil delivery operation; The third processing module is used to send the detected oil delivery data to the information system, so that the information system generates corresponding warehouse delivery data according to the oil delivery data.
[0070] In some possible embodiments, before sending the oil extraction request to the information system based on the user's selection operation, the method further includes: The first processing module 201 is specifically used for: When the document is identified as being in a preset area, the identity information on the document is obtained; Send the identity information to the information system so that the information system can verify the identity information; According to the verification processing result received from the information system, the corresponding prompt content is output to the user.
[0071] In some possible embodiments, the storage location data includes a storage number, a type of oil corresponding to each storage number, and an oil extraction amount corresponding to each storage number; Based on the storage position data in the oil extraction data, the corresponding crane position data is determined, including: The second processing module 202 is specifically used for: Determine the target oil island according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction volume corresponding to each warehouse number; The crane positions on the target oil island are grouped according to the type of oil to obtain at least one crane position group corresponding to the type of oil; wherein each target oil island includes at least one crane position, and each crane position group includes at least one crane position; According to the oil lifting amount corresponding to each warehouse number, the target crane position corresponding to each warehouse number is determined in each crane position group, and the target crane position corresponding to each warehouse number is used as the crane position data.
[0072] In some possible embodiments, determining the target oil island according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number includes: The second processing module 202 is specifically used for: The matching value of each oil island is calculated according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number; When it is detected that the difference between any two matching values is greater than a preset first threshold, the oil island with the largest matching value is taken as the target oil island.
[0073] In some possible embodiments, the matching value of each oil island is calculated according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number, including: The second processing module 202 is specifically used for: According to the warehouse number, the type of oil corresponding to each warehouse number and the amount of oil extracted corresponding to each warehouse number, the type of oil extracted and the total amount of oil extracted are determined; Calculate the first matching value of each oil island according to the oil extraction type and the oil type of each oil island; Calculate the second matching value of each oil island according to the total amount of oil extraction and the total amount of oil products in each oil island; Based on the first matching value and the second matching value, a matching value of each oil island is calculated.
[0074] In some possible embodiments, after calculating the matching value of each oil island, the method further includes: The second processing module 202 is specifically used for: When it is detected that the difference between any two matching values is less than or equal to a preset first threshold, the utilization rate of each oil island is calculated; The oil island with the lowest utilization rate is selected as the target oil island.
[0075] In some possible embodiments, calculating the utilization rate of each oil island includes: The second processing module 202 is specifically used for: Calculate the first estimated time corresponding to each warehouse number according to the oil lifting amount corresponding to each warehouse number and the oil delivery flow rate detected in real time; Compare and process all the first estimated time consumptions, and use the maximum value of all the first estimated time consumptions as the second estimated time consumption of the oil pickup truck corresponding to the storage location data; Accumulate the corresponding second estimated time according to the number of oil pickup trucks on each oil island to obtain the corresponding target estimated time; The utilization rate of each oil island is calculated according to the target estimated time consumption corresponding to each oil island and a preset second threshold.
[0076] See also Figure 3 , Figure 3 A structural schematic diagram of another oil depot self-service oil extraction device provided in an embodiment of the present application is shown.
[0077] like Figure 3 As shown, the oil depot self-service oil extraction device 300 may include at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 and at least one communication bus 302 .
[0078] The communication bus 302 may be used to realize the connection and communication among the above-mentioned components.
[0079] The user interface 303 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.
[0080] The network interface 304 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.
[0081] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect the various parts of the entire oil depot self-service oil extraction device 300, and executes various functions and processes data of the oil depot self-service oil extraction device 300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 301 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.
[0082] The memory 305 may include a RAM or a ROM. Optionally, the memory 305 includes a non-transitory computer-readable medium. The memory 305 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally be at least one storage device located away from the aforementioned processor 301. As Figure 3 As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a continuous indexing application for completing missing video files.
[0083] Specifically, the processor 301 may be used to call the oil depot self-service oil extraction application stored in the memory 305, and specifically perform the following operations: Sending an oil extraction request to the information system based on the user's selection operation, and receiving oil extraction data corresponding to the oil extraction request sent by the information system; Determine the corresponding crane position data based on the storage position data in the oil lifting data, and perform the oil delivery operation; The detected oil delivery data is sent to the information system, so that the information system generates corresponding warehouse delivery data according to the oil delivery data.
[0084] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0085] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0086] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0087] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0088] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0089] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0090] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0091] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0092] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A self-service oil extraction method in an oil depot, characterized in that: include: Sending an oil extraction request to an information system based on a user's selection operation, and receiving oil extraction data corresponding to the oil extraction request sent by the information system; Determine corresponding crane position data based on the storage position data in the oil lifting data, and perform oil delivery operation; The detected oil delivery data is sent to the information system, so that the information system generates corresponding warehouse delivery data according to the oil delivery data.
2. The method according to claim 1, characterized in that Before sending the oil extraction request to the information system based on the user's selection operation, the method further includes: When the document is identified as being in a preset area, obtaining identity information on the document; Sending the identity information to an information system so that the information system can verify the identity information; According to the verification processing result received from the information system, corresponding prompt content is output to the user.
3. The method according to claim 1, characterized in that The storage location data includes a storage number, a type of oil corresponding to each storage number, and an oil extraction amount corresponding to each storage number; The determining of corresponding crane position data based on the storage position data in the oil extraction data comprises: Determine the target oil island according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number; The crane positions on the target oil island are grouped according to the oil type to obtain at least one crane position group corresponding to the oil type; wherein each target oil island includes at least one crane position, and each crane position group includes at least one crane position; According to the oil lifting amount corresponding to each of the warehouse numbers, a target crane position corresponding to each of the warehouse numbers is determined in each group of crane positions, and the target crane position corresponding to each of the warehouse numbers is used as crane position data.
4. The method according to claim 3, characterized in that The step of determining the target oil island according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number includes: Calculate the matching value of each oil island according to the warehouse number, the type of oil corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number; When it is detected that the difference between any two matching values is greater than a preset first threshold, the oil island with the largest matching value is taken as the target oil island.
5. The method according to claim 4, characterized in that The step of calculating the matching value of each oil island according to the warehouse number, the oil type corresponding to each warehouse number, and the oil extraction amount corresponding to each warehouse number includes: Determine the type of oil extracted and the total amount of oil extracted according to the warehouse number, the type of oil corresponding to each warehouse number, and the amount of oil extracted corresponding to each warehouse number; Calculating a first matching value of each of the oil islands according to the oil extraction type and the oil type of each of the oil islands; Calculating a second matching value for each of the oil islands according to the total amount of oil extraction and the total amount of oil products in each of the oil islands; Based on the first matching value and the second matching value, a matching value of each of the oil islands is calculated.
6. The method according to claim 4, characterized in that After calculating the matching value of each oil island, the method further includes: When it is detected that the difference between any two matching values is less than or equal to the preset first threshold, calculating the utilization rate of each oil island; The oil island with the lowest utilization rate is taken as the target oil island.
7. The method according to claim 6, characterized in that The calculating the utilization rate of each oil island comprises: Calculate the first estimated time corresponding to each of the warehouse numbers according to the oil extraction amount corresponding to each of the warehouse numbers and the oil delivery flow rate detected in real time; Comparing all the first estimated time consumptions, and taking the maximum value of all the first estimated time consumptions as the second estimated time consumption of the oil pickup truck corresponding to the storage location data; Accumulating the corresponding second estimated time according to the number of the oil pickup trucks on each oil island to obtain a corresponding target estimated time; The utilization rate of each oil island is calculated according to the target estimated time consumption corresponding to each oil island and a preset second threshold.
8. A self-service oil extraction device for an oil depot, characterized in that: include: A first processing module, configured to send an oil extraction request to an information system based on a user's selection operation, and receive oil extraction data corresponding to the oil extraction request sent by the information system; A second processing module is used to determine corresponding crane position data based on the storage position data in the oil extraction data, and perform oil delivery operations; The third processing module is used to send the detected oil delivery data to the information system, so that the information system generates corresponding warehouse delivery data according to the oil delivery data.
9. A self-service oil extraction device for an oil depot, characterized in that: including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and system for processing retail oil receipt data
CN102799118A
Oil tank unloading error prevention control method and oil tank unloading error prevention control system
CN111115537A
Safety monitoring method and system for bottom oil loading port of oil tank truck
CN112794274A
Product oil quality problem tracing method and system, electronic equipment and storage medium
CN116362769A
Preventing unauthorized delivery of liquid product ot a liquid product storage tank
US20060157149A1
