Atmospheric pressure detection method, device, equipment, storage medium and product
Through T-BOX output and processing pressure information, the target pressure value is calculated and the preset value in the storage device is updated, which solves the problem of pressure sensor failure error caused by altitude changes in mountain vehicles, and improves the accuracy of the vehicle's handling during failure.
Patent Information
- Application Number
- CN202411183692.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-08-27
AI Technical Summary
Due to the large altitude difference in vehicles driving in mountainous areas, there may be errors in the atmospheric pressure value before the failure, resulting in the wrong replacement value when the pressure sensor fails, which cannot be effectively handled.
The T-BOX output pressure obtains information to the external terminal, receives and processes the feedback pressure information, calculates the target pressure value, and updates the preset pressure value in the storage device in real time.
When the pressure sensor fails, the target pressure value is obtained through T-BOX and updated in real time to the storage device to avoid using incorrect replacement values and improve the accuracy of vehicle processing.
Smart Images

Figure CN119437528A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of pressure detection technology, and in particular to an atmospheric pressure detection method, device, equipment, storage medium and product. Background Art
[0002] The existing atmospheric pressure detection method is to determine whether the sensor is faulty by checking the duration of the AD value of the atmospheric pressure sensor, and use the value before the fault as the replacement value after the fault. For vehicles traveling in mountainous areas, the altitude may be quite different, 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 the replacement value, so the vehicle cannot be handled well.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide an atmospheric pressure detection method, device, equipment, storage medium and product, aiming to solve the technical problem that for vehicles traveling in mountainous areas, the altitude may vary greatly and the atmospheric pressure value before the failure may have errors.
[0005] To achieve the above object, the present invention provides an atmospheric pressure detection method, the atmospheric pressure detection method comprising:
[0006] When it is detected 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;
[0007] 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;
[0008] The preset pressure value in the storage device is updated according to the target pressure value.
[0009] In one embodiment, the external terminal includes an antenna, the target pressure value includes 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 includes:
[0010] receiving, by the T-BOX, an antenna receiving signal including the pressure information transmitted by the antenna;
[0011] Controlling the T-BOX to analyze and feed back the pressure information in the signal received by the antenna;
[0012] When the pressure information fed back by the T-BOX is received, the GPS pressure value is obtained by calculation according to the pressure information.
[0013] In one embodiment, the external terminal is a mobile device, the target pressure value also includes a pressure value of the mobile device, and when receiving 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] receiving, by the T-BOX, a mobile device receiving signal including the pressure information transmitted by the mobile device;
[0015] Controlling the T-BOX to analyze and feed back the pressure information in the signal received by the mobile device;
[0016] When receiving the pressure information fed back by the T-BOX, the pressure value of the mobile device is calculated according to the pressure information, wherein the use priority of the GPS pressure value is higher than the pressure value of the mobile device.
[0017] In one embodiment, when the mobile device receives the pressure acquisition information, before the step of the mobile device feeding back the collected pressure information to the T-BOX according to the pressure acquisition information, the step includes:
[0018] Detecting whether the T-BOX and the mobile device are in a communication connection state;
[0019] If yes, control the T-BOX to receive the pressure information fed back by the mobile device.
[0020] In one embodiment, before the step of outputting the pressure acquisition information to the external terminal through the T-BOX when it is detected that the pressure value collected by the pressure sensor is not within the first preset pressure value range, the step includes:
[0021] When it is detected that the pressure value collected by the pressure sensor is within the first preset pressure value range, the preset pressure value in the storage device is updated according to the pressure value, wherein the use priority of the pressure value is higher than the GPS pressure value and the mobile device pressure value.
[0022] In one embodiment, after the step of updating the preset pressure value in the storage device according to the target pressure value, the following steps are included:
[0023] When it is detected that the pressure sensor and the T-BOX are in a failed state, the pressure value updated in the storage device is directly called.
[0024] In addition, to achieve the above-mentioned purpose, the present invention also proposes an atmospheric pressure detection device, the atmospheric pressure detection device comprising:
[0025] A detection module, configured to output pressure acquisition information to an external terminal through the T-BOX when it is detected that the pressure value collected by the pressure sensor is not within a first preset pressure value range;
[0026] A calculation module, configured to obtain 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;
[0027] The control module is used to update the preset pressure value in the storage device according to the target pressure value.
[0028] In addition, to achieve the above-mentioned purpose, the present invention also proposes an atmospheric pressure detection device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein 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-mentioned purpose, the present invention also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the atmospheric pressure detection method described above are implemented.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the atmospheric pressure detection method described above are implemented.
[0031] One or more technical solutions proposed in the present invention have at least the following technical effects:
[0032] When the present invention 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 based on the pressure acquisition information processed by the T-BOX is received, 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. Since the present invention obtains the target pressure value after T-BOX processing when the pressure sensor fails, and updates the target pressure value to the storage device in real time, compared with the prior art, the present invention can obtain the target pressure value through the T-BOX when the pressure sensor fails. If both the pressure sensor and the T-BOX fail, the stored target pressure value is used as the replacement value. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0035] Figure 1 A schematic diagram of a flow chart of a first embodiment of an atmospheric pressure detection method according to the present invention;
[0036] Figure 2 A schematic diagram of a flow chart of a second embodiment of the atmospheric pressure detection method of the present invention;
[0037] Figure 3 A schematic diagram of a flow chart of a third embodiment of the atmospheric pressure detection method of the present invention;
[0038] Figure 4 This is a schematic diagram of the module structure of the atmospheric pressure detection device according to an embodiment of the present invention;
[0039] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the atmospheric pressure detection method in an embodiment of the present invention.
[0040] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction 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 invention and are not used to limit the present invention.
[0042] In order to better understand the technical solution of the present invention, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0043] The main solution of the embodiment of the present invention is: when it is detected 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 processed by the T-BOX according to the pressure acquisition information is received, 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.
[0044] In this embodiment, for the convenience of description, the following description is made by taking the identification of the ECU chip as the execution subject.
[0045] Since the atmospheric pressure detection method of the prior art determines whether the sensor is faulty by checking the duration of the AD value of the atmospheric pressure sensor, and uses the value before the fault as the replacement value after the fault, for vehicles traveling in mountainous areas, the altitude may vary greatly, 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 erroneous value may be used as the replacement value, so the vehicle cannot be handled well.
[0046] The present invention provides a solution. When it is detected 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 based on the pressure acquisition information processed by the T-BOX is received, 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. Compared with the prior art, the present invention can obtain the target pressure value through the T-BOX when the pressure sensor fails. If both the pressure sensor and the T-BOX fail, the stored target pressure value is used as the replacement value.
[0047] It should be noted that the execution subject of this 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, etc. The following takes the ECU chip as an example to illustrate this embodiment and the following embodiments.
[0048] Based on this, the embodiment of the present invention provides a method for detecting atmospheric pressure. Figure 1 , Figure 1 A schematic diagram of a flow chart of a first embodiment of an atmospheric pressure detection method according to the present invention.
[0049] In this embodiment, the atmospheric pressure detection method includes steps S10 to S30:
[0050] Step S10: when it is detected 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.
[0051] It should be noted that the above-mentioned pressure sensor may be an atmospheric pressure sensor;
[0052] It should be noted that the first preset pressure value range may be a reasonable atmospheric pressure range;
[0053] It should be noted that the above-mentioned T-BOX may be a vehicle-mounted intelligent terminal device;
[0054] It should be noted that the above pressure acquisition information may be wireless communication information;
[0055] It should be noted that the above-mentioned external terminal may be an antenna or a mobile device such as a mobile phone.
[0056] It is understandable that, in the present invention, the first preset pressure value ranges from 50pb to 110pb;
[0057] It is understandable that the above-mentioned T-BOX is used to realize functions such as remote control of the vehicle, vehicle condition monitoring, and fault diagnosis.
[0058] It is understandable that, in the present invention, the external terminal includes an antenna and the external terminal is a mobile device with a 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 to 110pb, it is confirmed that the pressure sensor has failed. 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 above-mentioned pressure information may be wireless communication information;
[0062] It should be noted that the above target pressure value may be an atmospheric pressure value that meets the vehicle braking conditions.
[0063] It is understandable that, in the present invention, the above-mentioned pressure information includes altitude information, temperature information, etc.;
[0064] It is understandable that, in the present invention, the above target pressure value is an atmospheric pressure value that conforms to 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 the external pressure information and feeds the pressure information back to the T-BOX. After receiving the pressure information, the T-BOX processes the pressure information to obtain the target pressure value.
[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 above-mentioned storage device may be a non-volatile random access memory;
[0068] It should be noted that the above-mentioned preset pressure value may be the original pressure value in the above-mentioned storage device.
[0069] It is understandable that the above storage device can still retain data in the event of a power outage.
[0070] In a specific implementation, after the target pressure value is obtained, the preset pressure value in the storage device is updated in real time.
[0071] Based on the first embodiment of the present invention, in the second embodiment of the present invention, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 2 , Figure 2 A schematic flow chart of the second embodiment of the atmospheric pressure detection method of the present invention.
[0072] In this embodiment, the step S20 includes steps S201 to S203:
[0073] Step S201: receiving, through the T-BOX, an antenna receiving signal including the pressure information and transmitted by the antenna.
[0074] It should be noted that the above antenna may be a device for the vehicle to receive external information;
[0075] It should be noted that the signal received by the antenna may 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 actual pressure information of the vehicle driving area, the antenna receiving signal is transmitted to the T-BOX.
[0078] Step S202: Control the T-BOX to analyze and feed back the pressure information in the signal received by the antenna.
[0079] In a specific implementation, after receiving the pressure information, the T-BOX performs analysis based on 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, calculating the GPS pressure value according to the pressure information.
[0081] It should be noted that the above GPS pressure value may be an atmospheric pressure value.
[0082] It is understandable that the above GPS pressure value is obtained through the pressure information collected by the above antenna.
[0083] In a specific implementation, when the pressure information parsed by the T-BOX is received, the GPS pressure value is obtained by calculation based on the pressure information.
[0084] Based on the second embodiment of the present invention, in the third embodiment of the present invention, the same or similar contents as those in the second embodiment can be referred to the above introduction, and will not be described in detail later. Figure 3 , Figure 3 A schematic diagram of a flow chart of a third embodiment of the atmospheric pressure detection method of the present invention.
[0085] In this embodiment, the step S20 further includes steps S204 to S206:
[0086] Step S204: receiving, through the T-BOX, a mobile device receiving signal including the pressure information and transmitted by the mobile device.
[0087] It should be noted that the above-mentioned mobile device may be a mobile phone;
[0088] It should be noted that the signal received by the above-mentioned mobile device may be a wireless communication signal.
[0089] It is understandable 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 actual pressure information of the vehicle driving area, the mobile device receives a signal and transmits it to the T-BOX.
[0091] Step S205: Control the T-BOX to analyze and feed back the pressure information in the signal received by the mobile device.
[0092] In a specific implementation, after receiving the pressure information, the T-BOX performs analysis based on the pressure information and feeds back the analyzed pressure information to the ECU chip.
[0093] Step S206, when receiving the pressure information fed back by the T-BOX, calculating the pressure value of the mobile device according to the pressure information, wherein the use priority of the GPS pressure value is higher than the pressure value of the mobile device.
[0094] It should be noted that the pressure value of the above-mentioned mobile equipment may be an atmospheric pressure value.
[0095] It is understandable that the pressure value of the mobile device is obtained through the pressure information collected by the mobile device.
[0096] In a specific implementation, when the pressure information parsed by the T-BOX is received, the pressure value of the mobile device is calculated based on the pressure information, wherein the GPS pressure value has a higher priority than the mobile device pressure value, because when the antenna is not failed, the ECU chip will give priority to the GPS pressure value, and the mobile device pressure value will only be used when the antenna fails.
[0097] In a feasible implementation manner, before step S204, steps S2041' to S2042' may be further included:
[0098] Step S2041', detecting whether the T-BOX and the mobile device are in a communication connection state.
[0099] It should be noted that the above communication connection state may be a state in which the above T-BOX and the above mobile device transmit information to each other.
[0100] It is understandable that the above communication connection status determines whether the above T-BOX and the above mobile device can smoothly transmit signals to each other.
[0101] In a specific implementation, it is detected whether the T-BOX and the mobile device are in a communication connection state, and the detection result determines whether the ECU chip adopts the target pressure value collected by other modules.
[0102] Step S2042': if yes, control the T-BOX to receive the pressure information fed back by the mobile device.
[0103] In a specific implementation, if it is detected that the T-BOX is in a communication connection state with the mobile device, the T-BOX is controlled to receive the pressure information fed back by the mobile device; if it is detected that the T-BOX is not in a communication connection state with the mobile device, that is, the mobile device is in an invalid state, the target pressure value in other modules will be used.
[0104] In a feasible implementation manner, step S10 may further include step S11':
[0105] Step S11', when it is detected that the pressure value collected by the pressure sensor is within the first preset pressure value range, the preset pressure value in the storage device is updated according to the pressure value, wherein the use priority of the pressure value is greater than the GPS pressure value and 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 to 110pb, that is, the pressure sensor has not failed, and the area environment in which the vehicle is traveling has not caused the pressure sensor to fail. Therefore, the pressure value collected by the pressure sensor can be directly updated to the preset pressure value in the storage device, wherein the use priority of the pressure value is greater than the GPS pressure value and the mobile device pressure value.
[0107] In a feasible implementation manner, step S30 may further include step S31':
[0108] Step S31 ′: when it is detected that the pressure sensor and the T-BOX are in a failed state, directly call the updated pressure value in the storage device.
[0109] It is understandable that when the pressure sensor fails but the antenna and the mobile device are not failed, the pressure value collected by the antenna is preferentially used; when the pressure sensor and the antenna fail but the mobile device is not failed, the pressure value collected by the mobile device is preferentially used.
[0110] In a specific implementation, when it is detected that the pressure sensor and the T-BOX are both in a failed 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 to understand the present invention and do not constitute a limitation on the atmospheric pressure detection method of the present invention. More simple transformations based on this technical concept are all within the protection scope of the present invention.
[0112] The present invention also provides an atmospheric pressure detection device, please refer to Figure 4 , Figure 4 This is a schematic diagram of the module structure of an atmospheric pressure detection device according to an embodiment of the present invention, wherein the atmospheric pressure detection device comprises:
[0113] The detection module 10 is used to output pressure acquisition information to an external terminal through the T-BOX when it is detected that the pressure value collected by the pressure sensor is not within a first preset pressure value range;
[0114] A calculation module 20, configured to obtain 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;
[0115] The control module 30 is used 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 invention adopts the atmospheric pressure detection method in the above embodiment, which can solve the technical problem of atmospheric pressure detection. Compared with the prior art, the beneficial effects of the atmospheric pressure detection device provided by the present invention are the same as the beneficial effects of the atmospheric pressure detection method provided by the above embodiment, and other technical features in 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 invention provides an atmospheric pressure detection device, which includes: at least one processor; and a memory communicatively connected to 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 so that the at least one processor can execute the atmospheric pressure detection method in the above-mentioned embodiment one.
[0118] Reference below Figure 5 , which shows a schematic diagram of the structure of an atmospheric pressure detection device suitable for implementing an embodiment of the present invention. The atmospheric pressure detection device in the embodiment of the present invention may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The atmospheric pressure detection device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0119] like Figure 5As shown, the atmospheric pressure detection device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the atmospheric pressure detection device are also stored. The processing device 1001, ROM1002, and RAM1004 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 touchpad, 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: Liquid Crystal Display), a speaker, a vibrator, etc.; a 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 wirelessly or wired with other devices to exchange data. Although the atmospheric pressure detection device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.
[0120] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through 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 method of the embodiment disclosed in the present invention are executed.
[0121] The atmospheric pressure detection device provided by the present invention adopts the atmospheric pressure detection method in the above embodiment, which can solve the technical problem of atmospheric pressure detection. Compared with the prior art, the beneficial effects of the atmospheric pressure detection device provided by the present invention are the same as the beneficial effects of the atmospheric pressure detection method provided by the above embodiment, and other technical features in the atmospheric pressure detection device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0122] It should be understood that the various parts disclosed in the present invention can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0123] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0124] The present invention provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the atmospheric pressure detection method in the above-mentioned embodiment.
[0125] The computer-readable storage medium provided by the present invention may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more 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 this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0126] The computer-readable storage medium may be included in the atmospheric pressure detection device; or may exist independently without being assembled into the atmospheric pressure detection device.
[0127] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned 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 within the first preset pressure value range, outputs pressure acquisition information to the external terminal through the T-BOX; when receiving the pressure information fed back by the external terminal processed by the T-BOX according to the pressure acquisition information, obtains the target pressure value according to the pressure information; and updates the preset pressure value in the storage device according to the target pressure value.
[0128] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may 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 may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0129] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0130] The modules involved in the embodiments of the present invention may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.
[0131] The readable storage medium provided by the present invention is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) 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 invention are the same as the beneficial effects of the atmospheric pressure detection method provided by the above-mentioned embodiment, and will not be repeated here.
[0132] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the atmospheric pressure detection method as described above are implemented.
[0133] The computer program product provided by the present invention 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 invention are the same as the beneficial effects of the atmospheric pressure detection method provided by the above embodiment, which will not be described in detail here.
[0134] The above descriptions are only some embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings under the technical concept of the present invention, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A method for detecting atmospheric pressure, characterized in that: The atmospheric pressure detection method comprises: When it is detected 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 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; The preset pressure value in the storage device is updated according to the target pressure value.
2. The atmospheric pressure detection method according to claim 1, characterized in that: The external terminal includes an antenna, the target pressure value includes 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 includes: receiving, by the T-BOX, an antenna receiving signal including the pressure information transmitted by the antenna; Controlling the T-BOX to analyze and feed back the pressure information in the signal received by the antenna; When the pressure information fed back by the T-BOX is received, the GPS pressure value is obtained by calculation according to the pressure information.
3. The atmospheric pressure detection method according to claim 2, characterized in that: The external terminal is a mobile device, the target pressure value also includes a pressure value of the mobile device, 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 includes: receiving, by the T-BOX, a mobile device receiving signal including the pressure information transmitted by the mobile device; Controlling the T-BOX to analyze and feed back the pressure information in the signal received by the mobile device; When receiving the pressure information fed back by the T-BOX, the pressure value of the mobile device is calculated according to the pressure information, wherein the use priority of the GPS pressure value is higher than the pressure value of the mobile device.
4. The atmospheric pressure detection method according to claim 3, characterized in that: Before the step of receiving, through the T-BOX, a mobile device receiving signal including the pressure information transmitted by the mobile device, the step includes: Detecting whether the T-BOX and the mobile device are in a communication connection state; If yes, control the T-BOX to receive the pressure information fed back by the mobile device.
5. The atmospheric pressure detection method according to any one of claims 2 to 4, characterized in that: Before the step of outputting pressure acquisition information to an external terminal through the T-BOX when it is detected that the pressure value collected by the pressure sensor is not within the first preset pressure value range, the method includes: When it is detected that the pressure value collected by the pressure sensor is within the first preset pressure value range, the preset pressure value in the storage device is updated according to the pressure value, wherein the use priority of the pressure value is higher than the GPS pressure value and the mobile device pressure value.
6. The atmospheric pressure detection method according to claim 5, characterized in that: After the step of updating the preset pressure value in the storage device according to the target pressure value, the method further comprises: When it is detected that the pressure sensor and the T-BOX are in a failed state, the pressure value updated in the storage device is directly called.
7. An atmospheric pressure detection device, characterized in that: The device comprises: A detection module, configured to output pressure acquisition information to an external terminal through the T-BOX when it is detected that the pressure value collected by the pressure sensor is not within a first preset pressure value range; A calculation module, configured to obtain 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; The control module is used to update the preset pressure value in the storage device according to the target pressure value.
8. An atmospheric pressure detection device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the atmospheric pressure detection method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the atmospheric pressure detection method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the atmospheric pressure detection method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Redundant system for atmospheric pressure sensor
CN110171410A
Environmental pressure detection system and method for vacuum boosting system of electric vehicle
CN113635883A
Driving environment atmospheric pressure monitoring method, device and equipment and storage medium
CN115163301A
Atmospheric pressure sensor failure judgment method and device, vehicle and storage medium
CN115523042A
Fault diagnostic controller for pressure sensor
CN1163345A