Atmospheric pressure detection method, device, equipment, storage medium and product
By using the T-BOX to output pressure information to an external terminal, the pressure value in the storage device is calculated and updated. This solves the error problem in atmospheric pressure detection for vehicles traveling in mountainous areas, ensures accurate replacement values when the pressure sensor fails, and improves detection accuracy.
Patent Information
- Application Number
- CN202411183692.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-12-19
- Estimated Expiration
- 2044-08-27
AI Technical Summary
Existing atmospheric pressure detection methods are ineffective in mountainous areas where large altitude variations lead to significant errors in atmospheric pressure values before a malfunction. Incorrect replacement values may be used before initial power-on, making it impossible to effectively address the vehicle's issues.
The T-BOX outputs pressure information to an external terminal, receives pressure information from the external terminal, calculates the target pressure value, and updates the preset pressure value in the storage device to ensure that an accurate replacement value is used when the pressure sensor fails.
When the pressure sensor fails, the target pressure value is obtained through T-BOX and the storage device is updated, providing an accurate replacement value, reducing errors, and improving the detection accuracy of the vehicle when driving in mountainous areas.
Smart Images

Figure CN119437528B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of pressure detection, and in particular to an atmospheric pressure detection method, device, equipment, storage medium and product. BACKGROUND
[0002] The existing atmospheric pressure detection method is to check the AD value duration of the atmospheric pressure sensor to determine whether the sensor is faulty, and to use the value before the fault as a replacement value after the fault. For vehicles driving in mountainous areas, the altitude difference may be large, and the atmospheric pressure value before the fault may have errors. At the same time, if the vehicle has a fault before the first power-on, an incorrect value may be used as a replacement value, so the vehicle cannot be well handled.
[0003] The above content is only used to assist in understanding the technical solutions of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY
[0004] The main purpose of the present application is to provide an atmospheric pressure detection method, device, equipment, storage medium and product, which aims to solve the technical problem that for vehicles driving in mountainous areas, the altitude difference may be large, and the atmospheric pressure value before the fault may have errors.
[0005] To achieve the above purpose, the present application provides an atmospheric pressure detection method, which comprises:
[0006] When it is detected that the pressure value collected by the pressure sensor is not in the first preset pressure value range, the T-BOX outputs pressure acquisition information to an external terminal;
[0007] When receiving the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX, a target pressure value is obtained according to the pressure information;
[0008] The preset pressure value in the storage device is updated according to the target pressure value.
[0009] In an embodiment, the external terminal comprises an antenna, the target pressure value comprises a GPS pressure value, and the step of obtaining a target pressure value according to the pressure information when receiving the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX comprises:
[0010] The T-BOX receives the antenna receiving signal comprising the pressure information transmitted by the antenna;
[0011] The T-BOX analyzes and feeds back the pressure information in the antenna receiving signal;
[0012] When receiving the pressure information fed back by the T-BOX, the GPS pressure value is calculated according to the pressure information.
[0013] In an embodiment, the external terminal is a mobile device, and the target pressure value further includes a mobile device pressure value. When receiving the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX, the step of obtaining the target pressure value according to the pressure information further includes:
[0014] The T-BOX receives a mobile device receiving signal transmitted by the mobile device and including the pressure information.
[0015] The T-BOX analyzes and feeds back the pressure information in the mobile device receiving signal.
[0016] When receiving the pressure information fed back by the T-BOX, the mobile device pressure value is calculated according to the pressure information, and the use priority of the GPS pressure value is higher than that of the mobile device pressure value.
[0017] In an embodiment, before the step of feeding back the pressure information collected by the mobile device to the T-BOX according to the pressure acquisition information when the mobile device receives the pressure acquisition information, the method further includes:
[0018] Detecting whether the T-BOX and the mobile device are in a communication connection state.
[0019] If yes, the T-BOX receives the pressure information fed back by the mobile device.
[0020] In an embodiment, before the step of outputting the pressure acquisition information to the external terminal by the T-BOX when it is detected that the pressure value collected by the pressure sensor is not in the first preset pressure value range, the method further includes:
[0021] When it is detected that the pressure value collected by the pressure sensor is in the first preset pressure value range, the preset pressure value in the storage device is updated according to the pressure value, and the use priority of the pressure value is higher than that of the GPS pressure value and the mobile device pressure value.
[0022] In an embodiment, after the step of updating the preset pressure value in the storage device according to the target pressure value, the method further includes:
[0023] When it is detected that the pressure sensor and the T-BOX are in a failure state, the updated pressure value in the storage device is directly called.
[0024] In addition, to achieve the above object, the present application further provides an atmospheric pressure detection device, which comprises:
[0025] a detection module, configured to output pressure acquisition information to an external terminal through a T-BOX when detecting that the pressure value collected by the pressure sensor is not within the first preset pressure value range;
[0026] a calculation module, configured to obtain a target pressure value according to pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX when receiving the pressure information;
[0027] a control module, configured to update the preset pressure value in the storage device according to the target pressure value.
[0028] In addition, to achieve the above object, the present application further provides an atmospheric pressure detection device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the atmospheric pressure detection method as described above.
[0029] In addition, to achieve the above object, the present application further provides a storage medium, which is a computer readable storage medium, and the storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the atmospheric pressure detection method as described above.
[0030] In addition, to achieve the above object, the present application further provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the steps of the atmospheric pressure detection method as described above.
[0031] The one or more technical solutions of the present application have at least the following technical effects:
[0032] When the present application detects that the pressure value collected by the pressure sensor is not within the first preset pressure value range, the pressure acquisition information is output to the external terminal through the T-BOX. When the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX is received, the target pressure value is obtained according to the pressure information. The preset pressure value in the storage device is updated according to the target pressure value. Compared with the prior art, when the pressure sensor fails, the target pressure value can be obtained through the T-BOX, and if both the pressure sensor and the T-BOX fail, the stored target pressure value is used as a replacement value. BRIEF DESCRIPTION OF DRAWINGS
[0033] The accompanying drawings, which are incorporated into and form a part of the specification, illustrate preferred embodiments of the present application and, together with the description, serve to explain the principles of the application.
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, for those skilled in the art, based on the drawings, other drawings can be obtained without creative labor.
[0035] Figure 1 The flowchart provided for the first embodiment of the atmospheric pressure detection method of the present application;
[0036] Figure 2 The flowchart provided for the second embodiment of the atmospheric pressure detection method of the present application;
[0037] Figure 3 The flowchart provided for the third embodiment of the atmospheric pressure detection method of the present application;
[0038] Figure 4 The module structure diagram of the atmospheric pressure detection device of the embodiment of the present application;
[0039] Figure 5 The device structure diagram of the hardware running environment involved in the atmospheric pressure detection method in the embodiment of the present application.
[0040] The purpose implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings combined with the embodiments. DETAILED DESCRIPTION
[0041] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application, and are not used to limit the present application.
[0042] In order to better understand the technical solutions of the present application, the following will be described in detail combined with the drawings in the specification and specific embodiments.
[0043] The main solution of the embodiment of the present application is: when it is detected that the pressure value collected by the pressure sensor is not in the first preset pressure value range, the pressure acquisition information is output to the external terminal through the T-BOX; when the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX is received, the target pressure value is obtained according to the pressure information; the preset pressure value in the storage device is updated according to the target pressure value.
[0044] In this embodiment, for the convenience of description, the following describes the ECU chip as the execution subject.
[0045] Since the atmospheric pressure detection method of the prior art is to judge whether the sensor is faulty by checking the AD value duration of the atmospheric pressure sensor, and to use the value before the fault as a replacement value after the fault, for a vehicle driving in a mountainous area, the altitude difference can be large, and the atmospheric pressure value before the fault can have an error. At the same time, if the vehicle has a fault before the first power-on, an incorrect value can be used as a replacement value, so the vehicle cannot be well handled.
[0046] The present application provides a solution, when detecting that the pressure value collected by the pressure sensor is not in the first preset pressure value range, outputting the pressure acquisition information to the external terminal through the T-BOX; when receiving the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX, obtaining a target pressure value according to the pressure information; updating the preset pressure value in the storage device according to the target pressure value. Compared with the prior art, when the pressure sensor fails, the target pressure value can be obtained through the T-BOX, and if both the pressure sensor and the T-BOX fail, the stored target pressure value is used as a replacement value.
[0047] It should be noted that the execution subject of the embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions. The following takes an ECU chip as an example to describe the embodiment and the following embodiments.
[0048] Based on this, the embodiment of the present application provides an atmospheric pressure detection method, which refers to Figure 1 , Figure 1 The flowchart provided by the first embodiment of the atmospheric pressure detection method of the present application.
[0049] In the embodiment, the atmospheric pressure detection method comprises steps S10-S30:
[0050] Step S10, when detecting that the pressure value collected by the pressure sensor is not in the first preset pressure value range, outputting the pressure acquisition information to the external terminal through the T-BOX.
[0051] It should be noted that the above-mentioned pressure sensor can be an atmospheric pressure sensor;
[0052] It should be noted that the above-mentioned first preset pressure value range can be a reasonable atmospheric pressure range;
[0053] It should be noted that the above-mentioned T-BOX can be a vehicle-mounted intelligent terminal device;
[0054] It should be noted that the above-mentioned pressure acquisition information can be wireless communication information;
[0055] It should be noted that the external terminal can be an antenna, or a mobile device such as a mobile phone.
[0056] It can be understood that in the present application, the first preset pressure value range is 50pb-110pb.
[0057] It can be understood that the T-BOX is used to realize functions such as remote control of the vehicle, vehicle condition monitoring, fault diagnosis, etc.
[0058] It can be understood that in the present application, the external terminal includes an antenna and the external terminal is a mobile device with wireless communication function.
[0059] In a specific implementation, when it is detected that the pressure value collected by the pressure sensor is not within the range of 50pb-110pb, it is confirmed that the pressure sensor is invalid, and at this time the T-BOX is controlled to output the pressure acquisition information to the external terminal, that is, the pressure value information is acquired by other means.
[0060] Step S20, when receiving the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX, obtaining a target pressure value according to the pressure information.
[0061] It should be noted that the pressure information can be wireless communication information.
[0062] It should be noted that the target pressure value can be an atmospheric pressure value that meets the vehicle braking condition.
[0063] It can be understood that in the present application, the pressure information includes altitude information, temperature information, etc.
[0064] It can be understood that in the present application, the target pressure value is an atmospheric pressure value that meets the actual driving condition of the vehicle.
[0065] In a specific implementation, after the external terminal receives the pressure acquisition information, it starts to collect external pressure information and feeds back the pressure information to the T-BOX, and the T-BOX processes the pressure information to obtain the target pressure value after receiving the pressure information.
[0066] Step S30, updating the preset pressure value in the storage device according to the target pressure value.
[0067] It should be noted that the storage device can be a non-volatile random access memory.
[0068] It should be noted that the preset pressure value can be the original pressure value in the storage device.
[0069] It can be understood that the storage device can retain data in the case of power failure.
[0070] In a specific implementation, after the target pressure value is acquired, the preset pressure value in the storage device is updated in real time.
[0071] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as the first embodiment can be referred to the above description, and will not be described in detail. On this basis, please refer to Figure 2 , Figure 2 The flowchart provided by the second embodiment of the atmospheric pressure detection method of the present application.
[0072] In the embodiment, the step S20 includes steps S201-S203.
[0073] Step S201, receiving the antenna receiving signal including the pressure information transmitted by the antenna through the T-BOX.
[0074] It should be noted that the antenna can be a device for receiving external information of the vehicle.
[0075] It should be noted that the antenna receiving signal can be a wireless communication signal.
[0076] It can be understood that the antenna receiving signal is a communication signal generated when the antenna receives the pressure information.
[0077] In a specific implementation, when the antenna collects the actual pressure information of the vehicle driving area, the antenna receiving signal is transmitted to the T-BOX.
[0078] Step S202, controlling the T-BOX to analyze and feedback the pressure information in the antenna receiving signal.
[0079] In a specific implementation, after the T-BOX receives the pressure information, the T-BOX analyzes the pressure information according to the pressure information, and feeds back the analyzed pressure information to the ECU chip.
[0080] Step S203, when receiving the pressure information fed back by the T-BOX, the GPS pressure value is calculated according to the pressure information.
[0081] It should be noted that the GPS pressure value can be an atmospheric pressure value.
[0082] It can be understood that the GPS pressure value is obtained by the pressure information collected by the antenna.
[0083] In a specific implementation, when the T-BOX receives the pressure information, the GPS pressure value is calculated according to the pressure information.
[0084] Based on the second embodiment of the present application, the same or similar contents of the third embodiment of the present application as the second embodiment can be referred to the above description, and will not be repeated hereinafter. On this basis, please refer to Figure 3 , Figure 3 The flowchart provided by the third embodiment of the atmospheric pressure detection method of the present application.
[0085] In the embodiment, the step S20 further includes steps S204-S206.
[0086] In step S204, the T-BOX receives the mobile device receiving signal including the pressure information transmitted by the mobile device.
[0087] It should be noted that the mobile device can be a mobile phone.
[0088] It should be noted that the mobile device receiving signal can be a wireless communication signal.
[0089] It should be noted that the mobile device receiving signal is a communication signal generated when the mobile device receives the pressure information.
[0090] In a specific implementation, when the mobile device collects the actual pressure information of the vehicle driving area, the mobile device receiving signal is transmitted to the T-BOX.
[0091] In step S205, the T-BOX analyzes and feeds back the pressure information in the mobile device receiving signal.
[0092] In a specific implementation, after the T-BOX receives the pressure information, the T-BOX analyzes the pressure information according to the pressure information, and feeds back the analyzed pressure information to the ECU chip.
[0093] In step S206, when the T-BOX receives the pressure information, the T-BOX analyzes the pressure information according to the pressure information, and feeds back the analyzed pressure information to the ECU chip.
[0094] It should be noted that the mobile device pressure value can be an atmospheric pressure value.
[0095] It should be noted that the mobile device pressure value is obtained by the pressure information collected by the mobile device.
[0096] In a specific implementation, when the T-BOX receives the pressure information, the ECU chip calculates the mobile device pressure value according to the pressure information. The use priority of the GPS pressure value is higher than that of the mobile device pressure value. When the antenna is not disabled, the ECU chip adopts the GPS pressure value first. When the antenna is disabled, the ECU chip adopts the mobile device pressure value.
[0097] In an implementation, the step S204 can further include steps S2041' and S2042':
[0098] In the step S2041', it is detected whether the T-BOX and the mobile device are in a communication connection state.
[0099] It should be noted that the communication connection state can be a state in which the T-BOX and the mobile device transmit information to each other.
[0100] It can be understood that the communication connection state determines whether the T-BOX and the mobile device can successfully transmit signals to each other.
[0101] In a specific implementation, whether the T-BOX and the mobile device are in the communication connection state is detected, and a detection result determines whether the ECU chip adopts the target pressure value collected by other modules.
[0102] In the step S2042', if yes, the T-BOX receives the pressure information fed back by the mobile device.
[0103] In a specific implementation, if it is detected that the T-BOX and the mobile device are in the communication connection state, the T-BOX receives the pressure information fed back by the mobile device. If it is detected that the T-BOX and the mobile device are not in the communication connection state, that is, the mobile device is in a disabled state, the target pressure value in other modules is adopted.
[0104] In an implementation, the step S10 can further include a step S11':
[0105] In the step S11', when it is detected that the pressure value collected by the pressure sensor is in the first preset pressure value range, the preset pressure value in the storage device is updated according to the pressure value. The use priority of the pressure value is higher than that of the GPS pressure value and that of the mobile device pressure value.
[0106] In a specific implementation, when it is detected that the pressure value collected by the pressure sensor is in the range of 50pb-110pb, that is, the pressure sensor has not failed, and the area environment in which the vehicle travels has not caused the pressure sensor to fail, the pressure value collected by the pressure sensor can be directly used to update the preset pressure value in the storage device, wherein the use priority of the pressure value is higher than that of the GPS pressure value and the mobile device pressure value.
[0107] In a possible implementation, after step S30, step S31' can be further included:
[0108] In step S31', when it is detected that the pressure sensor and the T-BOX are in a failure state, the updated pressure value in the storage device is directly called.
[0109] It can be understood that when the pressure sensor fails but the antenna and the mobile device do not fail, the pressure value collected by the antenna is preferentially used, and when the pressure sensor and the antenna fail but the mobile device does not fail, the pressure value collected by the mobile device is used.
[0110] In a specific implementation, when it is detected that the pressure sensor and the T-BOX are in a failure state, the updated pressure value in the storage device is directly called, wherein the updated pressure value is continuously collected by the pressure sensor and the T-BOX during the driving of the vehicle.
[0111] It should be noted that the above examples are only used for understanding the present application and do not constitute a limitation on the atmospheric pressure detection method of the present application, and more forms of simple transformation based on this technical concept are within the protection scope of the present application.
[0112] The present application also provides an atmospheric pressure detection device, please refer to Figure 4 , Figure 4 Fig. 1 is a schematic diagram of a module structure of an atmospheric pressure detection device according to an embodiment of the present application, and the atmospheric pressure detection device comprises:
[0113] The detection module 10 is configured to, when it is detected that the pressure value collected by the pressure sensor is not in the first preset pressure value range, output pressure acquisition information to an external terminal through the T-BOX.
[0114] The calculation module 20 is configured to, when receiving the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX, obtain a target pressure value according to the pressure information.
[0115] The control module 30 is configured to update the preset pressure value in the storage device according to the target pressure value.
[0116] The atmospheric pressure detection device provided by the present application can solve the technical problem of atmospheric pressure detection by using the atmospheric pressure detection method in the above embodiment. Compared with the prior art, the atmospheric pressure detection device provided by the present application has the same beneficial effects as the atmospheric pressure detection method provided by the above embodiment, and other technical features of the atmospheric pressure detection device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0117] The present application provides an atmospheric pressure detection device, comprising: at least one processor; and a memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the atmospheric pressure detection method in the above embodiment one.
[0118] Reference will now be made to the drawings, in which Figure 5 which shows a structural schematic diagram of an atmospheric pressure detection device suitable for implementing the embodiments of the present application. The atmospheric pressure detection device in the embodiments of the present application can include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistant), PADs (Portable Application Description), PMPs (Portable Media Player), vehicle terminals (such as vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. Figure 5 The atmospheric pressure detection device shown is only an example and should not bring any limitation to the function and use range of the embodiments of the present application.
[0119] As Figure 5As shown, the atmospheric pressure detection device can include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. In the RAM 1004, various programs and data required for operation of the atmospheric pressure detection device are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; the storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the atmospheric pressure detection device to communicate with other devices wirelessly or by wire to exchange data. Although the atmospheric pressure detection device having various systems is shown in the figure, it should be understood that all the shown systems are not required to be implemented or possessed. More or less systems can be alternatively implemented or possessed.
[0120] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to the embodiments disclosed herein. For example, the embodiments disclosed herein include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the methods of the embodiments disclosed herein are performed.
[0121] The atmospheric pressure detection device provided by the present application adopts the atmospheric pressure detection method in the above embodiments, and can solve the technical problem of atmospheric pressure detection. Compared with the prior art, the atmospheric pressure detection device provided by the present application has the same beneficial effects as the atmospheric pressure detection method provided by the above embodiments, and other technical features in the atmospheric pressure detection device are the same as the features disclosed in the above embodiments, which will not be repeated here.
[0122] It should be understood that various aspects disclosed herein can be implemented in hardware, software, firmware, or a combination thereof. In the description above various specific details are mentioned that can be implemented in any one or more embodiments or examples.
[0123] The above description is only specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which 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.
[0124] The present application provides a computer readable storage medium having stored thereon computer readable program instructions (i.e., a computer program) for performing the atmospheric pressure detection method in the above-described embodiments.
[0125] The computer readable storage medium provided by the present application may, for example, be a U disk, but is not limited to an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination thereof. More specific examples of the computer readable storage medium can include, but are not limited to, an electric connection with one or more conductive wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer readable storage medium can be transmitted by any suitable medium, including but not limited to an electric wire, an optical cable, an RF (Radio Frequency), etc., or any suitable combination thereof.
[0126] The above computer readable storage medium can be contained in the atmospheric pressure detection device; or can exist separately without being assembled into the atmospheric pressure detection device.
[0127] The computer readable storage medium described above carries one or more programs, when the one or more programs are executed by the atmospheric pressure detection device, the atmospheric pressure detection device: when it is detected that the pressure value collected by the pressure sensor is not in the first preset pressure value range, the pressure acquisition information is output to the external terminal through the T-BOX; when receiving the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX, the target pressure value is obtained according to the pressure information; and the preset pressure value in the storage device is updated according to the target pressure value.
[0128] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0129] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may
[0130] The modules described in the embodiments of the present application can be implemented in the form of software or in the form of hardware. In some cases, the name of the module does not constitute a limitation on the module itself.
[0131] The computer readable storage medium provided by the present application is a computer readable storage medium storing computer readable program instructions (i.e. computer program) for executing the above-mentioned atmospheric pressure detection method, and can solve the technical problem of atmospheric pressure detection. Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the present application are the same as those of the atmospheric pressure detection method provided by the above-mentioned embodiments, and will not be repeated here.
[0132] The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the atmospheric pressure detection method as described above.
[0133] The computer program product provided by the present application can solve the technical problem of atmospheric pressure detection. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as those of the atmospheric pressure detection method provided by the above-mentioned embodiments, and will not be repeated here.
[0134] The above-mentioned is only part of the embodiments of the present application, and does not limit the patent scope of the present application. Any equivalent structural transformation, direct / indirect application in other related technical fields based on the technical concept of the present application, and the contents of the specification and drawings are included in the patent protection scope of the present application.
Claims
1. An atmospheric pressure detecting method characterized by comprising: The atmospheric pressure detection method comprises: When detecting that the pressure value collected by the pressure sensor is not in the first preset pressure value range, outputting pressure acquisition information to an external terminal through a T-BOX; When receiving pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX, obtaining a target pressure value according to the pressure information; Updating the preset pressure value in the storage device according to the target pressure value; The external terminal comprises an antenna, the target pressure value comprises a GPS pressure value, and when receiving the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX, the step of obtaining the target pressure value according to the pressure information comprises: Receiving an antenna receiving signal comprising the pressure information transmitted by the antenna through the T-BOX; Controlling the T-BOX to analyze and feed back the pressure information in the antenna receiving signal; When receiving the pressure information fed back by the T-BOX, calculating the GPS pressure value according to the pressure information; The external terminal is a mobile device, the target pressure value further comprises a mobile device pressure value, and when receiving the pressure information fed back by the external terminal according to the pressure acquisition information processed by the T-BOX, the step of obtaining the target pressure value according to the pressure information further comprises: Receiving a mobile device receiving signal comprising the pressure information transmitted by the mobile device through the T-BOX; Controlling the T-BOX to analyze and feed back the pressure information in the mobile device receiving signal; When receiving the pressure information fed back by the T-BOX, calculating the mobile device pressure value according to the pressure information, wherein the use priority of the GPS pressure value is higher than that of the mobile device pressure value.
2. The atmospheric pressure detecting method according to claim 1, wherein Before the step of receiving the mobile device receiving signal comprising the pressure information transmitted by the mobile device through the T-BOX, the method comprises: Detecting whether the T-BOX and the mobile device are in a communication connection state; If yes, controlling the T-BOX to receive the pressure information fed back by the mobile device.
3. The atmospheric pressure detecting method according to claim 1, wherein Before the step of outputting the pressure acquisition information to the external terminal through the T-BOX when detecting that the pressure value collected by the pressure sensor is not in the first preset pressure value range, the method comprises: When detecting that the pressure value collected by the pressure sensor is in the first preset pressure value range, updating the preset pressure value in the storage device according to the pressure value, wherein the use priority of the pressure value is higher than that of the GPS pressure value and the mobile device pressure value.
4. The atmospheric pressure detecting method according to claim 3, wherein After the step of updating the preset pressure value in the storage device according to the target pressure value, the method comprises: When detecting that the pressure sensor and the T-BOX are in a failure state, directly calling the updated pressure value in the storage device.
5. An atmospheric pressure detecting apparatus based on the atmospheric pressure detecting method according to any one of claims 1 to 4, characterized by The device comprises: The detection module is configured to output pressure acquisition information to an external terminal via a T-BOX when it is detected that the pressure value collected by the pressure sensor is not within a first preset pressure value range. The calculation module is configured to obtain a target pressure value based on the pressure information when it receives the pressure information fed back by the external terminal based on the pressure acquisition information processed by the T-BOX. The control module is configured to update the preset pressure value in the storage device based on the target pressure value. The calculation module is further configured to receive an antenna receiving signal including the pressure information transmitted by the antenna via the T-BOX, control the T-BOX to analyze and feed back the pressure information in the antenna receiving signal, and calculate the GPS pressure value based on the pressure information when the pressure information fed back by the T-BOX is received. The calculation module is further configured to receive a mobile device receiving signal including the pressure information transmitted by the mobile device via the T-BOX, control the T-BOX to analyze and feed back the pressure information in the mobile device receiving signal, and calculate the mobile device pressure value based on the pressure information when the pressure information fed back by the T-BOX is received, wherein the GPS pressure value has a higher priority than the mobile device pressure value.
6. An atmospheric pressure detecting apparatus characterized by comprising: The device comprises a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the atmospheric pressure detection method according to any one of claims 1 to 4.
7. A storage medium, characterized by The storage medium is a computer readable storage medium, and the storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the atmospheric pressure detection method according to any one of claims 1 to 4.
8. A computer program product, characterised in that, The computer program product comprises a computer program, and the computer program is executed by the processor to implement the steps of the atmospheric pressure detection method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Redundant system for atmospheric pressure sensor
CN110171410A