Inflation Duration Determination Method, Device, Equipment, Storage Medium and Inflation Pump
By obtaining and calculating the air pressure information of the target device in the inflation pump, displaying the remaining inflation time, the problem that the user cannot determine the inflation completion time is solved, and a more efficient inflation process is achieved.
Patent Information
- Application Number
- CN202211493358.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2042-11-25
AI Technical Summary
The existing inflatable pump does not have the function of showing the remaining inflation time, and the user cannot determine the time required for inflation to complete, resulting in the user having to stay next to the inflatable pump, resulting in wasting time.
By obtaining the original air pressure and current air pressure of the target device, as well as the preset air pressure in the inflatable device, the remaining inflation time is calculated and displayed to the user.
This enables users to understand the remaining inflation time, so that other activities can be performed while inflating, avoiding wasting time due to waiting for inflation.
Smart Images

Figure CN116104746B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of determining inflation duration, and specifically relates to a method, device, equipment, storage medium and air pump for determining inflation duration. Background Art
[0002] An air pump, also known as an air inflater or a gas pump, compresses the air in the cylinder into the inflation target through the operation of a motor, and is widely used in inflatable products such as tires, balls, and inflatable boats. In an era that emphasizes efficiency and time cost, time display is a very important function for the application of a product. However, the existing air pumps do not have the function of displaying the remaining inflation duration. Users cannot determine exactly how much time is left to complete inflation and can only wait beside the air pump, which makes it impossible for users to make good use of this period of time. Summary of the Invention
[0003] In view of the above technical problems, the present invention provides a method, device, equipment, storage medium and air pump for determining inflation duration. The present application obtains the original air pressure of the target device before starting inflation and the current air pressure of the target device during inflation; obtains the preset inflation air pressure in the inflation device; wherein, the inflation air pressure is the target air pressure of the target device; determines the remaining inflation duration of the inflation device for the target device according to the inflation air pressure, the current air pressure and the original air pressure, and displays the remaining inflation duration to the user. The present application realizes the determination of the remaining inflation time through the original air pressure, the current air pressure and the inflation air pressure, and displays the determined remaining inflation duration to the user so that the user can know the remaining inflation duration. Furthermore, the user can use the inflation time to do other things, avoiding the problem of time waste caused by the user having to wait beside the air pump during inflation.
[0004] To solve the above technical problems, the technical solution adopted by the present invention includes five aspects.
[0005] In a first aspect, a method for determining inflation duration is provided, including: obtaining the original air pressure of the target device before starting inflation and the current air pressure of the target device during inflation; obtaining the preset inflation air pressure in the inflation device; wherein, the inflation air pressure is the target air pressure of the target device; determining the remaining inflation duration of the inflation device for the target device according to the inflation air pressure, the current air pressure and the original air pressure, and displaying the remaining inflation duration to the user.
[0006] In some embodiments, the method further includes: when the current air pressure is equal to the inflation air pressure, determining that the remaining inflation duration is zero.
[0007] In some embodiments, the method further includes: obtaining a current air pressure change rate of the target device; and adjusting the remaining inflation duration according to the current air pressure change rate.
[0008] In some embodiments, the adjusting the remaining inflation duration according to the current air pressure change rate includes: determining an acquisition time interval for the current air pressure according to the current air pressure change rate; and adjusting the remaining inflation duration according to the acquisition time interval.
[0009] In some embodiments, the determining an acquisition time interval for the current air pressure according to the current air pressure change rate includes: obtaining a preset threshold; comparing the current air pressure change rate with the preset threshold; and when the current air pressure change rate is less than or equal to the preset threshold, re-determining the acquisition time interval.
[0010] In some embodiments, the remaining inflation duration of the inflation device for the target device is determined by the following formula based on the inflation air pressure, the current air pressure, and the original air pressure: ; where T is the remaining inflation duration; k is the acquisition time interval of the current air pressure; is the inflation air pressure; is the current air pressure; is the original air pressure; where is greater than 0.
[0011] In a second aspect, the present application provides an inflation duration determination device, including: a first acquisition module, configured to acquire an original air pressure of the target device before starting inflation and a current air pressure of the target device during inflation; a second acquisition module, configured to acquire an inflation air pressure preset in the inflation device; and a first determination module, configured to determine a remaining inflation duration of the inflation device for the target device according to the inflation air pressure, the current air pressure, and the original air pressure.
[0012] In a third aspect, there is provided an electronic device, including a storage and a processor, where the storage stores a computer program, and the processor implements the steps of an inflation duration determination method when executing the computer program.
[0013] In a fourth aspect, there is provided a storage medium storing a computer program that can be executed by one or more processors, and the computer program can be used to implement the steps of any of the inflation duration determination methods in the first aspect.
[0014] Fifth aspect, the present application provides an air pump, including an air pump main body and the electronic device as described in the third aspect; the electronic device is connected to the air pump main body; the air pump main body includes: a barometric pressure sensor, an air pump, and a display module; the barometric pressure sensor is electrically connected to the electronic device and is used to obtain the original air pressure and the current air pressure of the target device; the air pump is used to inflate the target device; the display module is electrically connected to the electronic device and is used to display the remaining inflation duration to the user.
[0015] Advantages of the present invention: The present application obtains the original air pressure of the target device before starting inflation and the current air pressure of the target device during inflation; obtains the preset inflation air pressure in the inflation device; wherein, the inflation air pressure is the target air pressure of the target device; determines the remaining inflation duration of the inflation device for the target device according to the inflation air pressure, the current air pressure, and the original air pressure, and displays the remaining inflation duration to the user. The present application realizes the determination of the remaining inflation time through the original air pressure, the current air pressure, and the inflation air pressure, and displaying the determined remaining inflation duration to the user enables the user to know the remaining inflation duration, so that the user can use the inflation time to do other things, avoiding the problem of time waste caused by the user having to stay beside the air pump during inflation. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The scope of the present disclosure can be better understood by reading the following detailed description of the exemplary embodiments in conjunction with the accompanying drawings. The accompanying drawings included are:
[0017] Figure 1 It is the overall flowchart of a method for determining inflation duration provided by an embodiment of the present application;
[0018] Figure 2 It is the structural block diagram of a device for determining inflation duration provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0019] In order to make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limitations of the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.
[0020] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0021] If similar descriptions such as "first", "second", "third" appear in the application documents, the following description shall be added. In the following description, the terms "first", "second", "third" only distinguish similar objects and do not represent a specific order for the objects. Understandably, "first", "second", "third" can be interchanged in a specific order or sequence when permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0022] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0023] Embodiment 1:
[0024] An air pump, also known as an air compressor or a gas pump, compresses the air in the air cylinder into the inflation target through the operation of a motor and is widely used in inflatable products such as tires, balls, and rubber boats. Now is an era that emphasizes efficiency and time cost, and time display is a very important function for the application of a product. However, the existing air pumps do not have the function of displaying the remaining inflation duration, and users cannot determine exactly how much time is left to complete the inflation and can only wait beside the air pump, making it impossible for users to make good use of this period of time.
[0025] Regarding the problems existing in the prior art, as Figure 1 shown, this application provides a method for determining the inflation duration. The method is applied to an electronic device, and the electronic device can be a server, a mobile terminal, a computer, a cloud platform, etc. The functions realized by the device data processing provided in the embodiments of this application can be implemented by the processor of the electronic device calling program code. Among them, the program code can be stored in a computer storage medium. The method for determining the inflation duration includes:
[0026] Step S1: Obtain the original air pressure of the target device before starting inflation and the current air pressure of the target device during inflation.
[0027] The principle of inflation is to use the pressure difference between the inflation device and the target device to inflate the target device. The greater the pressure difference, the greater the inflation rate of the target device, that is, the greater the change rate of the current air pressure of the target device. Therefore, as the air pressure in the target device increases, the change rate of the current air pressure will decrease, and the relationship between the two changes is approximately linear. Here, we can regard the change rate of the current air pressure as the speed and the pressure difference between the target device and the inflation device as the distance. Since the relationship between the change rate of the current air pressure and the current air pressure of the target device is approximately linear, we can regard the inflation process as a uniformly decelerated motion with a certain initial velocity.
[0028] Therefore, when inflating the target device, it is first necessary to obtain the original air pressure of the device, and then obtain the current air pressure of the target device during inflation according to the acquisition time interval of the current air pressure.
[0029] Step S2: Obtain the preset inflation air pressure in the inflation device.
[0030] To ensure that the target device will not be overinflated during inflation, during actual inflation, the inflation air pressure of the inflation device needs to be set to the target air pressure of the target device.
[0031] Since after inflation is completed, the current air pressure of the target device is equal to the inflation air pressure of the inflation device, there is no pressure difference at this time, so the current air pressure change rate at this time is 0. Therefore, we can refer to the calculation formula of distance - speed - time to determine the remaining inflation duration. Among them, distance . In the formula, is the inflation air pressure, is the original air pressure of the target device at the start of inflation. Also, because in the uniformly variable motion model , where. is the initial air pressure change rate, is the current air pressure change rate at time t. When t = T, that is, when the inflation of the target device is completed, = 0. So at this time . After connecting the two formulas, we can get . Among them, the inflation air pressure is known, the original air pressure can be directly measured, and the unknowns are and T. In this application, to obtain T, it is necessary to determine .
[0032] Therefore, in this application, the initial air pressure change rate is determined by obtaining the current air pressure of the target device and the acquisition time interval of the current air pressure. The acquisition time interval can be preset as . That is, obtain the current air pressure after duration from the start of inflation. According to the difference between the current air pressure and the original air pressure and the acquisition time interval , the initial air pressure change rate can be determined. So . In the formula is the current air pressure of the target device, and k is the acquisition time interval of the current air pressure.
[0033] Step S3: Determine the remaining inflation duration of the inflation device for the target device according to the inflation air pressure, the current air pressure, and the original air pressure, and display the remaining inflation duration to the user.
[0034] Therefore, in some embodiments, step S3, "determine the remaining inflation duration of the inflation device for the target device according to the inflation pressure, the current pressure, and the original pressure", is performed by the following formula:
[0035] Substitute into After that, we can obtain .
[0036] In the formula, T is the remaining inflation duration; k is the acquisition time interval of the current pressure; is the inflation pressure; is the current pressure; is the original pressure; where is greater than 0.
[0037] Therefore, in the present application, the remaining inflation duration can be directly determined by the inflation pressure, the current pressure, and the original pressure, and then the remaining inflation duration is displayed to the user, so that the user can know the remaining inflation duration. Furthermore, the user can use the inflation time to do other things, avoiding the problem of time waste caused by the user having to stay beside the air pump during inflation.
[0038] Of course, in the above formula, when the current pressure is equal to the inflation pressure, the formula is meaningless. Therefore, in some embodiments, the inflation duration determination method further includes:
[0039] Step S4: When the current pressure is equal to the inflation pressure, determine that the remaining inflation duration is zero.
[0040] However, during the inflation process, as the current pressure of the target device gradually increases, the pressure difference gradually decreases, resulting in an increasingly small initial pressure change rate and an increasingly large final error. Therefore, in the present application, the remaining inflation duration needs to be adjusted and updated.
[0041] In some embodiments, the inflation duration determination method further includes:
[0042] Step S6: Obtain the current pressure change rate of the target device.
[0043] The current pressure change rate represents the pressure change efficiency of the target device during inflation as the current pressure changes. The current pressure change efficiency needs to be determined according to the latest current pressure and the previous current pressure.
[0044] Step S7: Adjust the remaining inflation duration according to the current pressure change rate.
[0045] In some embodiments, step S7, "adjust the remaining inflation duration according to the current pressure change rate", includes:
[0046] Step S71: Determine the acquisition time interval of the current air pressure according to the current air pressure change rate.
[0047] Step S72: Adjust the remaining inflation duration according to the acquisition time interval.
[0048] The acquisition time interval is the time interval between two acquisitions of the current air pressure. Because as inflation progresses, the air pressure in the target device will become higher and higher, and at this time, the air pressure change efficiency of the target device will gradually decrease. Therefore, if the current air pressure is acquired at a fixed acquisition time interval, it may occur that there is no change in the current air pressure in the later stage of inflation, but the target air pressure has still not been reached. So in this application, it is necessary to re-determine the acquisition time interval of the current air pressure according to the current air pressure change rate. Then, the remaining inflation duration displayed is adjusted according to the acquisition time interval, so that the remaining inflation duration can be more accurate.
[0049] In some embodiments, step S71, "Determine the acquisition time interval of the current air pressure according to the current air pressure change rate", includes:
[0050] Step S711: Obtain a preset threshold.
[0051] Step S712: Compare the current air pressure change rate with the preset threshold.
[0052] Step S713: When the current air pressure change rate is less than or equal to the preset threshold, re-determine the acquisition time interval.
[0053] In this application, a preset threshold is set. When the current air pressure change rate is less than or equal to the preset threshold, the error of the updated remaining inflation duration will be relatively large. Therefore, in order to reduce the error, in this application, when the current air pressure change rate is less than or equal to the first threshold, it is necessary to re-determine the acquisition time interval.
[0054] In use, first set the inflation pressure of the inflation device to the target pressure of the target device, and then connect the inflation device to the target device. Obtain the current pressure of the target device at this time as the original pressure. After starting inflation, set the acquisition time interval to t1. After a time t1 has elapsed, obtain the current pressure of the target device again. At this time, the remaining inflation duration can be determined based on the acquisition time interval, the current pressure, the original pressure, and the inflation pressure. To update the remaining inflation duration, after each acquisition of the current pressure, this current pressure is used as the original pressure for the next determination of the remaining inflation duration. Then, based on the current pressure and the previously acquired current pressure (i.e., the current original pressure now) and the time interval between these two current pressures (i.e., the acquisition interval), the current pressure change rate is determined. Then, the current pressure change rate is compared with a preset threshold, and based on the comparison result, it is determined whether to re-determine the acquisition time interval. In this application, a correspondence table between the current pressure change rate and the acquisition time interval under different target pressures can be preset, and a preset threshold under different acquisition time intervals is also set.
[0055] Therefore, in this application, through the above steps, it is achieved that the user can know the remaining inflation duration. Furthermore, the user can use the inflation time to do other things, avoiding the problem of time waste caused by the user having to stay beside the air pump during inflation. Moreover, it also solves the common situation in the prior art where the target device cannot be inflated to the target pressure.
[0056] Embodiment 2:
[0057] Based on the foregoing embodiments, an embodiment of this application provides an inflation duration determination device. Each module included in this device, as well as each unit included in each module, can be implemented by a processor in a computer device; of course, it can also be implemented by specific logic circuits; during implementation, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital signal processor (DSP, Digital Signal Processing), or a field programmable gate array (FPGA), etc.
[0058] As Figure 2 shown, an inflation duration determination device includes: a first acquisition module 1, a second acquisition module 3, and a first determination module 3.
[0059] The first acquisition module 1 is configured to acquire the original air pressure of the target device before starting inflation and the current air pressure of the target device during the inflation process. The second acquisition module 3 is configured to acquire the preset inflation air pressure in the inflation device. The first determination module 3 is configured to determine the remaining inflation duration of the inflation device for the target device according to the inflation air pressure, the current air pressure, and the original air pressure.
[0060] In some embodiments, the inflation duration determination device further includes: a second determination module.
[0061] The second determination module is configured to determine that the remaining inflation duration is zero when the current air pressure is equal to the inflation air pressure.
[0062] In some embodiments, the inflation duration determination device further includes: a third acquisition module and a first execution module.
[0063] The third acquisition module is configured to acquire the current air pressure change rate of the target device. The first execution module is configured to adjust the remaining inflation duration according to the current air pressure change rate.
[0064] In some embodiments, the first execution module includes: a third determination module and a second execution module.
[0065] The third determination module is configured to determine the acquisition time interval for the current air pressure according to the current air pressure change rate. The second execution module is configured to adjust the remaining inflation duration according to the acquisition time interval.
[0066] In some embodiments, the third determination module includes: a fourth acquisition module, a third execution module, and a fourth execution module.
[0067] The fourth acquisition module is configured to acquire a preset threshold. The third execution module is configured to compare the current air pressure change rate with the preset threshold. The fourth execution module is configured to re-determine the acquisition time interval when the current air pressure change rate is less than or equal to the preset threshold.
[0068] In some embodiments, the first determination module 3 executes "determining the remaining inflation duration of the inflation device for the target device according to the inflation air pressure, the current air pressure, and the original air pressure" through the following formula:
[0069]
[0070] In the formula, T is the remaining inflation duration; k is the acquisition time interval of the current air pressure; is the inflation air pressure; is the current air pressure; is the current air pressure; where is greater than 0.
[0071] Each module in the above-mentioned inflation duration determination device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above modules can be embedded in the processor of the device in hardware form or be independent of it, or can be stored in the memory of the processing device in software form, so that the processor can call and execute the operations corresponding to each of the above modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, only a logical function division, and there may be other division methods in actual implementation.
[0072] Embodiment 3:
[0073] A third aspect provides an electronic device, including a storage and a processor. The storage stores a computer program, and when the processor executes the computer program, the steps of an inflation duration determination method are implemented.
[0074] Embodiment 4:
[0075] A fourth aspect provides a storage medium. The computer program stored in the storage medium can be executed by one or more processors, and the computer program can be used to implement the steps of any one of the inflation duration determination methods in the first aspect.
[0076] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to the memory, storage, database, or other media used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0077] Embodiment 5:
[0078] In a fifth aspect, an air pump is further proposed in the present application, including an air pump main body and the electronic device described in the third aspect. The electronic device is connected to the air pump main body.
[0079] The air pump main body includes: a barometric pressure sensor, an air pump, and a display module.
[0080] The barometric pressure sensor is electrically connected to the electronic device and is used to obtain the original barometric pressure and the current barometric pressure of the target device. The air pump is used to inflate the target device. The display module is electrically connected to the electronic device and is used to display the remaining inflation duration to the user.
[0081] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures, or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the "in one embodiment" or "in an embodiment" that appears throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the sequence numbers of the above processes do not mean the order of execution is prior or posterior, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The sequence numbers of the embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0082] It should be noted that in this article, the term "comprising", "including" or any other variation thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.
[0083] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed with each other can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0084] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0085] In addition, each functional unit in the embodiments of the present application may be all integrated in a processing unit, or each unit may be separately used as a unit alone, or two or more units may be integrated in one unit; the above integrated units may be implemented in the form of hardware, or in the form of hardware plus software functional units.
[0086] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments; and the foregoing storage medium includes: removable storage devices, read-only memories (ROMs), magnetic disks, or optical discs and other various media that can store program codes.
[0087] Alternatively, if the above integrated units of the present application are implemented in the form of software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application essentially or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a controller to execute all or part of the methods described in the embodiments of the present application. And the foregoing storage medium includes: removable storage devices, ROMs, magnetic disks, or optical discs and other various media that can store program codes.
[0088] The above is only the implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, and all of them should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for determining inflation duration, characterized in that, Including: Obtain the original air pressure of the target device before starting inflation and the current air pressure of the target device during inflation; Obtain the preset inflation air pressure in the inflation device; Wherein, the inflation air pressure is the target air pressure of the target device; Determine the remaining inflation duration of the inflation device for the target device according to the inflation air pressure, the current air pressure and the original air pressure, and display the remaining inflation duration to the user; The method further includes: Obtain the current air pressure change rate of the target device; Adjust the remaining inflation duration according to the current air pressure change rate; The adjusting the remaining inflation duration according to the current air pressure change rate includes: Determine the acquisition time interval of the current air pressure according to the current air pressure change rate; Adjust the remaining inflation duration according to the acquisition time interval; The determining the acquisition time interval of the current air pressure according to the current air pressure change rate includes: Obtain a preset threshold; Compare the current air pressure change rate with the preset threshold; When the current air pressure change rate is less than or equal to the preset threshold, re-determine the acquisition time interval.
2. The method for determining inflation duration according to claim 1, characterized in that, The method further includes: When the current air pressure is equal to the inflation air pressure, determine that the remaining inflation duration is zero.
3. The method for determining inflation duration according to claim 1, characterized in that, Execute the determining the remaining inflation duration of the inflation device for the target device according to the inflation air pressure, the current air pressure and the original air pressure through the following formula: Wherein, T is the remaining inflation duration; k is the acquisition time interval of the current air pressure; is the inflation air pressure; is the current air pressure; is the original air pressure; wherein is greater than 0.
4. An apparatus for determining inflation duration, characterized in that, Including: A first acquisition module, configured to obtain the original air pressure of the target device before starting inflation and the current air pressure of the target device during inflation; A second acquisition module, configured to obtain the preset inflation air pressure in the inflation device; A first determination module, configured to determine the remaining inflation duration of the inflation device for the target device according to the inflation air pressure, the current air pressure and the original air pressure; The inflation duration determination device further includes: a third acquisition module and a first execution module; The third acquisition module is configured to obtain the current air pressure change rate of the target device; The first execution module is configured to adjust the remaining inflation duration according to the current air pressure change rate; The first execution module includes: a third determination module and a second execution module; The third determination module is configured to determine the acquisition time interval of the current air pressure according to the current air pressure change rate; The second execution module is configured to adjust the remaining inflation duration according to the acquisition time interval; The third determination module includes: a fourth acquisition module, a third execution module and a fourth execution module; The fourth acquisition module is configured to obtain a preset threshold; The third execution module is configured to compare the current air pressure change rate with the preset threshold; The fourth execution module is configured to re-determine the acquisition time interval when the current air pressure change rate is less than or equal to the preset threshold.
5. An electronic device, characterized in that,Including: A memory and a processor, where a computer program is stored on the memory, and when the computer program is executed by the processor, it executes an inflation duration determination method according to any one of claims 1 to 3.
6. A storage medium, characterized in that, The computer program stored in the storage medium can be executed by one or more processors, and the computer program can be used to implement the steps of an inflation duration determination method as described in any one of claims 1 to 3.
7. An air pump, characterized in that, It includes an air pump main body and an electronic device as described in claim 5; the electronic device is connected to the air pump main body; The air pump main body includes: a barometric pressure sensor, an air pump, and a display module; The barometric pressure sensor is electrically connected to the electronic device and is used to obtain the original air pressure and the current air pressure of the target device; The air pump is used to inflate the target device; The display module is electrically connected to the electronic device and is used to display the remaining inflation duration to the user.
Citation Information
Patent Citations
Electronic pressure gauge and method for calculating remaining time of inflation
CN108469328A