Pressure gauge with communication function and method for adapting connection with handheld terminal
By introducing a connection identification code verification and wireless communication unit into the pressure gauge, the problem of data connection between the pressure gauge and the handheld terminal is solved, enabling fast and secure pressure transmission and improving the efficiency of metering operations.
Patent Information
- Application Number
- CN202110257583.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-10
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2041-03-10
AI Technical Summary
In existing technologies, the data connection between pressure gauges and handheld terminals has the problem of difficulty in distinguishing multiple similar pressure gauges, and it cannot simultaneously guarantee the security and rapid acquisition of pressure information.
A pressure gauge with communication function was designed. Through connection identification code verification and wireless communication unit, fast and secure data connection is achieved. The pressure gauge generates connection identification code and transmits pressure through wireless communication unit. The handheld terminal obtains and verifies the connection identification code in a non-wireless manner to establish a data channel.
It enables rapid and accurate connection between pressure gauges and handheld terminals, ensuring the safety and reliable transmission of pressure information, reducing wasted time during incorrect connections, and improving the efficiency of metering operations.
Smart Images

Figure CN112763135B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of pressure measurement detection, in particular to a pressure gauge with communication function and an adaptive connection method with a handheld terminal. BACKGROUND
[0002] As an important measurement monitoring device, pressure gauges are widely used in various aspects of industrial manufacturing. In order to ensure the accuracy, stability and reliability of pressure acquisition, it is necessary to periodically or irregularly read the pressure from the pressure gauge for viewing and analysis. However, there are some problems in actual operation:
[0003] Firstly, in many scenarios, when connecting the pressure gauge wirelessly, there are multiple connectable objects. Once the wrong connection object is selected, it will be difficult to find out, for example, multiple pressure pipes with similar pressure have a pressure gauge set on each pipe. When reading and analyzing each pressure gauge, if a certain connection object is incorrectly connected as another pressure gauge, even if the pressure is read, it cannot be found (because the pressure of these different pressure gauges is similar).
[0004] Secondly, in order to ensure the safety of pressure information, it is necessary to avoid direct data connection between external devices and pressure gauges. On the contrary, in order to ensure the rapid remote reading of pressure from the pressure gauge, it is necessary to allow external devices to directly or almost directly establish data connection with the pressure gauge.
[0005] Prior art one, a wireless intelligent remote pressure gauge represents the current conventional scheme. The pressure gauge includes a shell and a glass panel. The shell is an open cavity, and the glass panel closes the opening. The cavity is provided with a detection interface, a pointer, a movement, a scale disc and a transmission mechanism. The pointer is sleeved on the movement and is connected with the movement. The transmission mechanism is connected with the detection interface. When the pressure changes, the deformation drives the movement to rotate to rotate the pointer on the scale disc. The wireless data transmission module, power supply and resistance detection module are also included. The resistance detection module is connected with the transmission mechanism to change the resistance value. The power supply is located at the bottom of the shell and provides power for the wireless data transmission module. The wireless data transmission module includes an antenna. The wireless data transmission module changes the analog signal transmitted by the resistance detection module into a digital signal and transmits it to the terminal through the antenna. The antenna is located outside the shell and is fixed with the shell. This scheme can establish data connection between the handheld device and the pressure gauge, but it also has the above two problems. When multiple similar pressure gauges need to be connected at the same time, it is difficult to distinguish. If the data connection between the wireless data transmission module and the terminal can be established directly, it is difficult to ensure the safety of pressure information.
[0006] The prior art two, substation pressure gauge meter reading method, device and terminal equipment represents another conventional scheme, that is, by giving up the communication convenience to a certain extent to solve the problem, obtain the current position information of the hand-held terminal of the transcription personnel, and determine the shortest meter reading path according to the current position information of the hand-held terminal and the pre-stored position information of each pressure gauge to be copied in the substation; the shortest meter reading path is sent to the hand-held terminal of the transcription personnel, so that the hand-held terminal displays the shortest meter reading path; the meter information of each pressure gauge to be copied sent by the hand-held terminal is obtained, and whether each pressure gauge to be copied is normal is determined; this scheme gives up the direct data connection between the pressure gauge and the hand-held device, indeed solves the above two problems, but at the same time causes new problems:
[0007] If it is necessary to continuously view the pressure information of the pressure gauge for a period of time, it is very inconvenient due to the lack of direct data connection.
[0008] In summary, the prior art scheme cannot well meet the data connection requirement of the pressure gauge and the hand-held device. SUMMARY
[0009] In order to solve the problems in the prior art, a technical scheme for quickly connecting the pressure gauge is provided.
[0010] A pressure gauge with communication function, comprising:
[0011] a gauge shell;
[0012] a pressure lead pipe, the pressure lead pipe is connected to the gauge shell, and the pressure lead pipe introduces fluid medium;
[0013] a pressure detection part, configured to detect the pressure of the fluid medium introduced by the pressure lead pipe and convert it into an electrical variable to obtain the pressure of the fluid medium;
[0014] a touch display screen, the touch display screen is arranged on the outer surface of the gauge shell, and the touch display screen displays the pressure and receives the operation instruction of the user touch input;
[0015] a wireless communication part, the wireless communication part is used for wireless data transmission and reception;
[0016] a control part, the control part is configured to receive the connection request sent by the hand-held terminal through the wireless communication part, the connection request contains a connection identification code, and the connection identification code is obtained by the hand-held terminal from the pressure gauge through a non-wired connection mode;
[0017] verify the connection identification code, after the connection identification code is verified, establish a wireless communication connection with the hand-held terminal, and transmit the pressure to the hand-held terminal through the wireless communication part.
[0018] The technical scheme of the pressure gauge with the communication function is optimized or improved, and the following scheme can be used.
[0019] Preferably, the pressure amount transmitted to the handheld terminal by the wireless communication unit comprises receiving a data transmission rule sent by the handheld terminal by the wireless communication unit, and transmitting the pressure amount according to the data transmission rule.
[0020] Further preferably, transmitting the pressure amount according to the data transmission rule comprises,
[0021] When the data transmission rule is real-time transmission, the pressure gauge transmits the pressure amount to the handheld terminal in real time through the wireless communication unit,
[0022] Or, when the data transmission rule is interval transmission, the pressure gauge transmits the pressure amount to the handheld terminal through the wireless communication unit at an interval of a set time length,
[0023] Or, when the data transmission rule is request transmission, the pressure gauge receives a transmission request sent by the handheld terminal, and transmits the pressure amount to the communication module through the wireless communication unit.
[0024] Preferably, the control unit is configured to store the pressure amount corresponding to the collection time of the pressure amount, and transmit the pressure amount and the collection time of the pressure amount to the handheld terminal through the wireless communication unit.
[0025] Preferably, the connection request contains an identity code of the handheld terminal, and the control unit is configured to store the identity code of the handheld terminal, and transmit the identity code to the handheld terminal when transmitting the pressure amount through the wireless communication unit, so that the handheld terminal performs matching verification according to the identity code, and receives the pressure amount after the verification is passed.
[0026] Preferably, the control unit is configured to receive an instruction for generating a connection identification code through the touch display screen, and generate the connection identification code as a two-dimensional code according to the instruction, so that the handheld terminal scans the two-dimensional code to obtain the connection identification code.
[0027] Preferably, the control unit is configured to receive at least one setting item sent by the handheld terminal, and a setting result corresponding to the at least one setting item; the at least one setting item and the setting result corresponding to the at least one setting item are obtained by the handheld terminal from another pressure gauge different from the pressure gauge through a non-wired connection mode; the at least one setting item comprises an acquisition unit of the pressure amount; and the at least one setting item is re-set according to the setting result of the at least one setting item.
[0028] A method for adaptively connecting a pressure gauge and a handheld terminal, comprising:
[0029] The handheld terminal acquires adaptive connection information from the pressure gauge in a first acquisition mode, and the adaptive connection information comprises a connection identification code of the pressure gauge, and the first acquisition mode is a non-wired connection.
[0030] The handheld terminal generates connection request information and sends the connection request information to the pressure gauge in a second interactive mode, the connection request information including a connection identification code, and the second interactive mode being a wireless communication different from the first acquisition mode;
[0031] In response to the connection request information of the handheld terminal, the handheld terminal and the pressure gauge establish a data channel in the second interactive mode;
[0032] The handheld terminal acquires the pressure value from the pressure gauge through the data channel.
[0033] The technical solutions of the foregoing pressure gauge and handheld terminal rapid connection method can be optimized or improved in the following ways:
[0034] Preferably, the handheld terminal is preconfigured with a pressure measurement model, the pressure measurement model including one or more measurement control parameters, and the handheld terminal acquires the pressure value through the data channel according to the measurement control parameters.
[0035] Further preferably, the adaptation connection information includes measurement characteristic information, the handheld device determines whether the pressure gauge conforms to the pressure measurement model according to the measurement characteristic information, and the handheld terminal sends the connection request information to the pressure gauge conforming to the pressure measurement model.
[0036] Further preferably, the measurement control parameters include a combination of one or more of a pressure type, a value display type, a valid bit number, or an acquisition period.
[0037] Further preferably, the pressure measurement model includes a pressure calibration model, and the handheld terminal sends the connection request information to a standard pressure gauge and / or a calibrated pressure gauge conforming to the pressure measurement model in the second interactive mode.
[0038] Further preferably, the handheld terminal simultaneously establishes data connections with two or more pressure gauges and determines a reading object of the pressure value according to the pressure measurement model, and at least one set of pressure values is acquired through the second interactive mode.
[0039] Further preferably, the handheld terminal sends an identity identification code to the pressure gauge according to the pressure measurement model, so that different pressure gauges correspond to different identity identification codes, and the handheld terminal performs matching verification on the pressure value according to the identity identification code.
[0040] Preferably, the first acquisition mode is image acquisition, the pressure gauge includes a display unit capable of presenting an image, and the handheld terminal includes a camera unit capable of reading the image.
[0041] Further preferably, the pressure gauge includes a touch display screen having a display unit and an input unit, and the pressure gauge generates a two-dimensional code containing the adaptation connection information through the touch display screen based on a touch instruction of the touch display screen.
[0042] Preferably, the first acquisition mode is NFC or RFID.
[0043] Advantages
[0044] The connection identification code is configured to the pressure gauge, and the pressure gauge verifies the connection identification code when verifying the connection request. Since the connection identification code can be quickly and unidirectionally acquired, it is almost equivalent to direct data connection for the authorized handheld device, and the verification difficulty is not increased, but at the same time, the handheld device can ensure the correctness of the connection object through the verification. Correspondingly, for the pressure gauge, the connection identification code verification can block the connection request from various unauthorized external objects, and the information security of the pressure is ensured. BRIEF DESCRIPTION OF DRAWINGS
[0045] Figure 1 The control part workflow diagram of the pressure gauge of one example of the present application.
[0046] Figure 2 The interaction flow diagram of the pressure gauge and the handheld terminal of one example of the present application.
[0047] Figure 3 The interaction flow diagram of the pressure gauge and the handheld terminal with pressure transmission rules of one example of the present application.
[0048] Figure 4 The workflow diagram of the pressure gauge to the connection request with pressure transmission rules of one example of the present application. DETAILED DESCRIPTION
[0049] The specific embodiments listed in the detailed description and other contents in the specification are intended to describe and illustrate the possible implementation manners of the present application, and unless explicitly stated, such description and illustration do not constitute a limitation on the protection scope of the application, and should be understood on the basis of the ordinary knowledge of those skilled in the art, in the largest possible range.
[0050] As described in each specific embodiment, although specific possible technical solutions are not listed one by one, based on the reference prompt in different specific embodiments, those skilled in the art should be able to obtain these implementable technical solutions on the basis of ordinary knowledge without creative labor, and these technical solutions obtained by simple combination or replacement of each specific embodiment should also belong to the disclosed content of the specific embodiment. Specific embodiment one
[0052] A pressure gauge with communication function, comprising a gauge shell, a pressure lead pipe, a pressure detection part, a touch display screen, a wireless communication part and a control part;
[0053] The pressure lead pipe is connected with the gauge shell and introduces fluid medium to the pressure detection part;
[0054] The pressure detection part is fixedly arranged in the gauge shell, and detects the pressure of the fluid medium introduced by the pressure lead pipe and converts it into an electric variable to obtain the pressure of the fluid medium;
[0055] The touch display screen is arranged on the outer surface of the gauge shell, and displays the pressure and receives the operation instruction input by the user;
[0056] The wireless communication part is fixedly arranged with the gauge shell and is used for wirelessly transmitting and receiving data;
[0057] The control part is signal-connected with the pressure detection part, the touch display screen and the wireless communication part respectively, and is configured to receive the connection request sent by the handheld terminal through the wireless communication part, the connection request comprising a connection identification code, the connection identification code being obtained by the handheld terminal from the pressure gauge through a non-wired connection mode, verify the connection identification code, and establish a wireless communication connection with the handheld terminal after the connection identification code is verified, and transmit the pressure to the handheld terminal through the wireless communication part. Figure 1
[0058] In the embodiment, the handheld terminal can obtain the connection identification code from the pressure gauge in the form of image reading, near field communication such as NFC or RFID, and the pressure gauge comprises a corresponding information sending part;
[0059] The wireless communication part can be a WIFI module, a Bluetooth module, a ZigBee module, a 4G module, a 5G module and various wireless communication modules for realizing data interaction.
[0060] The embodiment can be improved, for example, the control part receives the data sending rule sent by the handheld terminal through the wireless communication part, the control part stores the data sending rule, and sends the pressure according to the data sending rule during the wireless communication connection process until a new data sending rule is received or the wireless communication connection is disconnected;
[0061] Further improvement can be made, for example, the data sending rule comprises a pressure sending trigger point:
[0062] If the data sending rule is real-time sending, the control part stores this setting, and sends the pressure to the handheld terminal in real time through the wireless communication part before the setting is changed;
[0063] If the data sending rule is interval sending, the control unit stores the setting, and before the setting is changed, the control unit sends the pressure value to the handheld terminal at the interval setting time through the wireless communication unit;
[0064] If the data sending rule is request sending, the control unit stores the setting, and before the setting is changed, the control unit sends the pressure value to the handheld terminal through the wireless communication unit after receiving the sending request sent by the handheld terminal;
[0065] At the same time, the data sending rule executed by the pressure gauge is one.
[0066] For improvement of the specific embodiment, for example, the control unit records the acquisition time of the pressure value while acquiring the pressure value, and stores the pressure value and the acquisition time of the pressure value in correspondence, and when sending the pressure value, the control unit transmits the pressure value and the acquisition time of the pressure value to the handheld terminal through the wireless communication unit;
[0067] For further improvement, the data sending rule includes whether to acquire the acquisition time of the pressure value.
[0068] For improvement of the specific embodiment, for example, the connection request contains an identity code from the handheld terminal, and the control unit is configured to store the identity code, and transmit the identity code to the handheld terminal when transmitting the pressure value to the handheld terminal through the wireless communication unit, so that the handheld terminal performs matching verification according to the identity code, and receives the pressure value after verification.
[0069] For improvement of the specific embodiment, for example, the control unit is configured to receive an instruction for generating a connection identification code through the touch display screen, and generate the connection identification code as a two-dimensional code according to the instruction, so that the handheld terminal scans the two-dimensional code to obtain the connection identification code.
[0070] For improvement of the specific embodiment, for example, the control unit is configured to receive at least one setting item sent by the handheld terminal, and a setting result corresponding to the at least one setting item; the at least one setting item and the setting result corresponding to the at least one setting item are obtained by the handheld terminal from another pressure gauge different from the pressure gauge through a non-wired connection mode; the at least one setting item includes an acquisition unit of the pressure value; and the at least one setting item is re-set according to the setting result of the at least one setting item. Specific embodiment two
[0072] As shown in Figure 2 A method for adaptive connection of a pressure gauge and a handheld terminal, comprising:
[0073] The handheld terminal acquires adaptive connection information from the pressure gauge in a first acquisition mode, the adaptive connection information including a connection identification code of the pressure gauge, and the first acquisition mode being a non-wired connection;
[0074] The handheld terminal generates connection request information and sends the connection request information to the pressure gauge in a second interaction mode, the connection request information comprising a connection identification code, and the second interaction mode being a wireless communication different from the first acquisition mode;
[0075] The handheld terminal and the pressure gauge establish a data channel in the second interaction mode in response to the connection request information of the handheld terminal;
[0076] The handheld terminal acquires the pressure value from the pressure gauge through the data channel.
[0077] In the embodiment, the first acquisition mode can be image reading, NFC or RFID, or other near field communication.
[0078] For improvement of the embodiment, for example, the handheld terminal is preset with a pressure measurement model, the pressure measurement model comprising one or more measurement control parameters, and the handheld terminal acquires the pressure value through the data channel according to the measurement control parameters;
[0079] For further improvement, for example, the connection information comprises measurement characteristic information, the handheld terminal determines whether the pressure gauge conforms to the pressure measurement model according to the measurement characteristic information, and the handheld terminal sends the connection request information to the pressure gauge conforming to the pressure measurement model;
[0080] For further improvement, for example, the measurement control parameters comprise a combination of one or more of pressure type, value type, effective number of digits, or acquisition period;
[0081] For further improvement, for example, the pressure measurement model comprises a pressure calibration model, and the handheld terminal establishes a data channel with the calibrated pressure gauge in the second interaction mode;
[0082] For further improvement, for example, the handheld terminal simultaneously establishes data connection with two or more pressure gauges, and determines a reading object of the pressure value according to the pressure measurement model, and at least one set of pressure values is acquired through the second interaction mode.
[0083] For further improvement, for example, the handheld terminal sends an identity identification code to the pressure gauge according to the pressure measurement model, so that different pressure gauges correspond to different identity identification codes, and the handheld terminal performs matching verification on the pressure value according to the identity identification code.
[0084] For the embodiment, for example, when the first acquisition mode is image acquisition, the pressure gauge comprises a display unit capable of presenting an image, and the handheld terminal comprises a camera unit capable of reading the image;
[0085] For further improvement, for example, the pressure gauge comprises a touch display screen having a display unit and an input unit, and the pressure gauge generates a two-dimensional code containing the connection information based on a touch instruction of the touch display screen. Embodiment three
[0087] In order to realize the quick, accurate and convenient acquisition of the pressure, if the conditions permit, a mobile phone or other similar handheld device and a pressure gauge for detecting the pressure are used to establish a wireless connection, so that the pressure can be viewed and read through the mobile phone. However, the prior art has the following disadvantages:
[0088] When there are multiple communicable objects (this is particularly prominent in the field environment), taking the Bluetooth communication connection between the mobile phone and the pressure gauge as an example, there are multiple selectable objects in the selectable Bluetooth communication object list of the mobile phone, and it is necessary to carefully search and repeatedly confirm that the connection object is exactly the required pressure gauge. Moreover, there is still a high possibility of incorrect connection.
[0089] If the connection object is another device, such as a certain dry body furnace supporting Bluetooth communication, the situation is relatively good, and the problem of incorrect connection can be found immediately during work because the pressure cannot be read.
[0090] If the connection object is exactly another pressure measuring device, such as a pressure gauge for measuring another pressure, the prior art cannot find this problem at all. For example, there are two pressure activities with the same or similar pressure range in the field, and once an error occurs in the selection of the communication object, the problem cannot be found in the subsequent work, thereby interfering with the actual pressure measurement work.
[0091] In order to solve this problem, the embodiment provides a systematic solution.
[0092] A pressure gauge is provided for measuring a to-be-measured pressure.
[0093] The pressure gauge comprises a gauge head and a pressure module. A touch display screen is fixed on the front face of the gauge head. A control circuit board, a Bluetooth communication module and a battery module are fixed in the interior of the gauge head. The pressure module is fixed to the lower part of the gauge head. A pressure sensor is fixed in the interior of the pressure module. A pressure lead pipe is in communication with the bottom end of the pressure module and extends to the pressure sensor. A signal processing unit is electrically connected to the pressure sensor and is fixed in the interior of the pressure module. The control circuit board is electrically connected to the Bluetooth communication module, the signal processing unit, the touch display screen and the battery module. During work, the fluid medium enters the pressure sensor from the pressure lead pipe. The pressure sensor generates a first electric variable in response to the pressure of the fluid medium. The signal processing unit obtains the first electric variable from the pressure sensor and generates a second electric variable after amplification and conversion. The control circuit board obtains the second electric variable from the information processing unit and obtains the pressure indication information after processing.
[0094] The pressure gauge is preconfigured with functions, including uploading the pressure data (such as the pressure indication information) through the Bluetooth communication module.
[0095] The control circuit board is preset to make the touch display screen display a pressure measurement control interface. The pressure measurement control interface includes an "adaptation connection" icon. Clicking the adaptation connection icon makes the touch display screen generate an adaptation connection touch instruction. The control circuit board acquires the adaptation connection touch instruction and generates adaptation connection information containing a connection identification code after processing. The touch display screen receives the adaptation connection information and presents a two-dimensional code in the touch display screen. The two-dimensional code records the connection identification code.
[0096] The connection identification code and the pressure gauge are directly associated, and thus can be used as a connection identification basis.
[0097] When the pressure gauge receives a connection request through the Bluetooth communication module, it does not directly agree to the connection but first performs a verification process. The verification process verifies whether the connection request contains the connection identification code. When and only when the connection request contains the connection identification code displayed in the touch display screen, the connection request is agreed to, and a data connection channel is established between the Bluetooth communication module and the initiator of the connection request (for example, a mobile phone). After the data connection channel is established, the control circuit board is configured to upload the pressure (for example, pressure indication information) through the data connection channel.
[0098] If the external device is an illegal device, for example, a mobile phone without data acquisition rights, it is obviously impossible to approach the pressure gauge and obtain the connection identification code in an objective sense. At this time, even if the mobile phone without data acquisition rights can discover the pressure gauge through signal searching, the connection request sent by the mobile phone without data acquisition rights does not contain the connection identification code. At this time, when the connection request reaches the control circuit board through the Bluetooth communication module, the control circuit board will find that there is no connection identification code in the verification, and the control circuit board generates a connection rejection signal. At this time, the pressure information obtained by the pressure gauge will not be transmitted to the mobile phone without data acquisition rights, ensuring the information security of the measurement data. Further, even if the mobile phone without data acquisition rights tries to fabricate a false connection identification code, since the pressure gauge does not disclose the connection identification code rule in the entire interaction process, the connection identification code will not pass the verification of the control circuit board.
[0099] If the external device is a wrong connection legal device, for example, a mobile phone with data acquisition rights for other pressure gauges, the mobile phone will send a request signal to the pressure gauge by mistake. At this time, the connection request reaches the control circuit board through the Bluetooth communication module. The control circuit board will find that the data similar to the connection identification code contained in the connection request is inconsistent with the connection identification code of the pressure gauge in the verification. Similar to the processing of illegal devices, the connection is rejected, so that the pressure gauge will not become a wrong connection data source, ensuring the correctness of the measurement data and greatly reducing the measurement time wasted in the wrong connection process and improving the measurement operation efficiency.
[0100] The mobile phone is provided with a function of reading, observing or analyzing the pressure to be measured.
[0101] In order to facilitate the measurement operation, a special pressure measurement application (hereinafter referred to as App) can be configured in the mobile phone.
[0102] When the App is opened to enter the pressure measurement mode, the App controls the mobile phone to start the camera component, acquires the adaptive connection information in the form of a two-dimensional code from the touch display screen of the pressure gauge through the camera component, and analyzes the connection identification code of the pressure gauge.
[0103] In the embodiment, the pressure gauge is provided with a Bluetooth communication module, so the Bluetooth communication module of the mobile phone is opened, searched within the communicable range of the pressure gauge, and after confirming the object, a connection request is sent to the pressure gauge, and the connection request includes the aforementioned connection identification code of the pressure gauge.
[0104] As described in the aforementioned pressure gauge workflow in the embodiment, the pressure gauge verifies the connection request, and only when the connection identification code is consistent with the pressure gauge setting, a positive response is given, at this time, the pressure gauge and the mobile phone are connected through Bluetooth communication, and a data channel for data intercommunication is established.
[0105] After confirming the establishment of the data connection, the App pressure measurement mode is set, the mobile phone starts to acquire the pressure information from the pressure gauge through the data channel, and displays the pressure information on the display interface of the mobile phone.
[0106] When the mobile phone sends a connection request to the pressure gauge, if the connection object is a wrong object, based on the connection identification code contained in the connection request, the connection cannot be established, for example, the connection object is a pressure gauge that does not have the function of verifying and responding to the connection identification code, since the connection identification code is contained in the connection request, the pressure gauge cannot interpret the connection request (for the pressure gauge, it is equivalent to an unknown instruction format or data containing unknown content), of course, the data connection cannot be established, and for another example, the connection object can verify the connection identification code but is not the pressure gauge expected to be connected, at this time, as described in the aforementioned pressure gauge surface illegal device / illegal device, the pressure gauge will refuse the connection; therefore, in the present scheme, for the mobile phone user, when it is found that the mobile phone cannot establish a connection with the connection object, the wrong connection object can be found as soon as possible, the measurement time wasted in the wrong connection process is greatly reduced, and the measurement operation efficiency is improved.
[0107] In the embodiment, the format or rule of the connection identification code can be any feasible coding method in the prior art, it needs to be clear that generally the connection identification codes of different pressure gauges are different, and in special cases, if two pressure gauges measure the same pressure, the connection identification codes corresponding to the two pressure gauges can be the same.
[0108] In the embodiment, the transmission carrier of the adaptation connection information and the connection identification code contained therein is a two-dimensional code, which is only one possible way under the prior art, and other image carriers with identification or verification capabilities are also possible, for example, a set of numbers corresponding to the connection identification code displayed in the touch display screen. After the image is acquired by the camera assembly, the mobile phone has the identification and processing function of the numbers in the image (for example, the function is included in the App).
[0109] The technical solution of the embodiment can also be improved / alternated in the following aspects:
[0110] For the pressure gauge and the handheld device to be adapted to the connection, both include at least two wireless communication modes corresponding to each other, for example, the pressure gauge and the handheld device both include a first wireless communication mode and a second wireless communication mode.
[0111] The first wireless communication mode is near field communication, the communication establishment speed is relatively fast, and the data transmission speed is relatively small, for example, NFC or RFID. Further, the pressure gauge can only use the signal generating unit in the first wireless communication mode, and the handheld device can only use the signal receiving unit in the first wireless communication mode.
[0112] The second wireless communication mode can be near field communication, mobile communication, or a combination of several communication modes, and the communication establishment speed is relatively slow and the data transmission speed is relatively large, for example, Bluetooth, WIFI, ZigBee, and wired / wireless (industrial) local area network. The pressure gauge and the handheld device both have data interaction capability in the second wireless communication mode.
[0113] In one example, the pressure gauge includes an NFC chip, and the connection identification code of the pressure gauge can be pre-stored in the NFC chip. The corresponding handheld device includes an NFC module that can be switched to active mode.
[0114] Preferably, the control circuit board and the NFC chip are signal connected, and the new connection identification code is sent and stored in the NFC chip when the connection identification code changes. The NFC chip can be pre-set to passive mode, i.e. in response to the radio frequency signal of the control circuit board or the external handheld device, the control circuit board can write information stored in the NFC chip, and the external handheld device can read information stored in the NFC chip. In another case, the reading and writing of the NFC chip are both completed by the external device, for example, when the factory / initial installation / initial application / information change, the connection identification code is written to the NFC chip by the external NFC device, and when it is needed to be used, the connection identification code and other information stored in the NFC chip are read by the NFC module of the handheld device.
[0115] The pressure gauge and the handheld device can be in the same local area network, but a point-to-point adaptive connection channel has not yet been built between the two. The NFC module of the handheld device is switched to active mode, and the connection identification code is read from the NFC chip through the NFC module. In this process, based on the characteristics of NFC communication, the handheld device needs to be close to the pressure gauge, and the communication process will be completed quickly.
[0116] Based on the read connection identification code, the handheld device sends a connection request to all possible target objects (such as pressure gauges) in the local area network, and the connection request contains the connection identification code. After receiving the connection request, all possible target objects, except the pressure gauge whose connection identification code is read, will reject the connection, and the pressure gauge expected to be connected (the pressure gauge whose connection identification code is read) will respond to the connection request, thereby establishing an adaptive connection data channel between the pressure gauge and the handheld device.
[0117] After the data channel is established, the handheld device can read the pressure information from the pressure gauge in real time.
[0118] In this example, the transmission characteristics of the pressure information, the pressure gauge, and the handheld device and the local area network will use a stable and relatively large data transmission speed communication method, and will not use NFC or RFID technology.
[0119] In this improved scheme, the connection identification code is small in data volume, so the first wireless communication mode with relatively fast communication establishment speed and relatively small data transmission speed is used. The subsequent pressure transmission is large in data volume and high in strictness, so the second wireless communication mode with relatively slow communication establishment speed and relatively large data transmission speed is used. The separate communication mode processing of different types of data can ensure the fast adaptive connection between the pressure gauge and the handheld device, and can meet the reliability and stability of the pressure information transmission. Specific embodiment four
[0121] The foregoing specific embodiment one, specific embodiment two, and specific embodiment three can be improved, and the technical solution of the present specific embodiment is provided.
[0122] For pressure measurement, at least one pressure gauge for detecting the pressure to be measured and a handheld device are provided. Considering that the pressure information required by the handheld device always has certain requirements, for example:
[0123] The pressure type corresponding to the acquired pressure;
[0124] The indication type corresponding to the acquired pressure;
[0125] The unit of the indication in the acquired pressure;
[0126] The number of significant digits in the acquired pressure value;
[0127] The acquired pressure data includes time information;
[0128] The current pressure is acquired immediately after a data connection is established between the handheld device and the pressure gauge.
[0129] After establishing a data connection between the handheld device and the pressure gauge, the pressure is acquired at certain time intervals (e.g., 0.3s).
[0130] After establishing a data connection between the handheld device and the pressure gauge, the pressure is not acquired immediately but waits for an acquisition command, and the pressure is acquired in response to the acquisition command.
[0131] Since there are many different types of requirements in different scenarios, they will not be listed one by one here;
[0132] The above requirements may be mutually exclusive; therefore, pressure measurement between the pressure gauge and the handheld device needs to be based on specific rules.
[0133] In this specific embodiment, when the handheld device establishes a data connection with the pressure gauge, it sends a pressure transmission rule to the pressure gauge. The pressure gauge's wireless communication module receives the pressure transmission rule and transmits it to the pressure gauge's control module. The pressure gauge's control module stores the pressure transmission rule and executes the transmission of pressure according to this rule.
[0134] The pressure measurement transmission rule is to transmit information data from the handheld device to the pressure gauge, using the same communication mode as the connection request, that is, using the same data channel as the subsequent transmission of pressure measurement information.
[0135] Depending on the specific circumstances, the nodes that generate the pressure transmission rules can also be:
[0136] In one case, such as Figure 3 As shown, the handheld device sends a pressure transmission rule while sending a connection request. The connection request and the pressure transmission rule are sent together to the control unit of the pressure gauge (the control circuit board corresponding to the control unit of ...
[0137] In another scenario, the handheld device sends a stress transmission rule along with the connection request, and the stress transmission rule is part of the connection request, such as... Figure 4As shown, the connection request reaches the control unit of the pressure gauge through the wireless communication unit of the pressure gauge, the control unit of the pressure gauge processes the connection request, here, the processing process not only includes the verification of the connection identification code in the foregoing embodiment one or embodiment three, but also includes the verification of the pressure sending rule, when the connection identification code fails to pass the verification, the connection is rejected similarly as in the foregoing embodiments, when the connection identification code passes the verification and the pressure sending rule fails to pass the verification, the connection is rejected while feedback information is fed back to prompt that the pressure does not conform, when both the connection identification code and the pressure sending rule pass the verification, the data connection is established and the pressure is sent according to the sending rule; for example, the pressure sending rule instructs that the pressure type is gauge pressure, the pressure gauge supports the gauge pressure measurement mode, then the control unit of the pressure gauge stores the pressure sending rule (gauge pressure type), responds to the connection request, and makes the data channel between the pressure gauge and the handheld device, the pressure gauge sends the pressure to the handheld device through the data channel, and the pressure is gauge pressure; for another example, the pressure sending rule instructs that the pressure type is absolute pressure, the pressure gauge does not support the absolute pressure measurement, then the control unit of the pressure gauge rejects the connection request, and sends feedback information to the handheld device through the wireless communication unit, the feedback information includes that the pressure type is not supported;
[0138] In another case, the handheld device sends the pressure transmission rule immediately after the data connection is established, and the pressure gauge sends the pressure according to the transmission rule after receiving the pressure transmission rule; for example, the handheld device sends a connection request to the pressure gauge, the control unit of the pressure gauge processes the connection request, and after verification, the data connection is established between the handheld device and the pressure gauge, at the same time, the pressure gauge feeds back the verification through the data connection, allowing data intercommunication, the handheld device receives the verification through information from the pressure gauge, immediately retrieves the pressure transmission rule and sends it to the pressure gauge, the wireless communication unit of the pressure gauge receives the pressure transmission rule and forwards it to the control unit of the pressure gauge, the control unit of the pressure gauge stores the transmission rule and makes the wireless communication unit send the pressure to the handheld device according to the transmission rule; in this example, the interval between the establishment of the data connection between the handheld device and the pressure gauge and the reception of the pressure transmission rule by the control unit of the pressure gauge is extremely short, but during this process, the control unit of the pressure gauge does not actively send the pressure unless it receives another pressure transmission instruction from the handheld device; for another example, the handheld device requires input of the pressure transmission rule before sending the connection request, this input can be importing pre-set content or real-time input on site, after completing the input of the pressure transmission rule, the handheld device sends a connection request to the pressure gauge and enters the subsequent process; for another example, the handheld device requires input of the pressure transmission rule at the same time / after sending the connection request; for another example, it can be set to be automatically executed, after the handheld device receives the verification through information from the pressure gauge, if there is a corresponding pressure transmission rule, it will retrieve the corresponding pressure transmission rule, if there is no corresponding pressure transmission rule, it will search for and retrieve the default pressure transmission rule in the handheld device / related database, if there is neither a corresponding pressure transmission rule nor a default pressure transmission rule, the handheld device generates a pressure transmission rule with empty content and sends it to the pressure gauge, for the pressure transmission rule with empty content, the control unit of the pressure gauge responds by collecting and sending the pressure according to the pre-set of the pressure gauge;
[0139] In another case, the handheld device sends the pressure transmission rule according to the instruction after the data connection is established, that is, before the instruction is generated, the handheld device may have obtained the pressure information from the pressure gauge, after receiving the adjustment instruction, the handheld device generates a new pressure transmission rule and sends it to the pressure gauge, the wireless communication unit of the pressure gauge receives the new pressure transmission rule and transmits it to the control unit of the pressure gauge, the control unit of the pressure gauge stores the new transmission rule and replaces the old transmission rule, and then sends the pressure according to the new transmission rule.
[0140] According to different actual needs, the form of the pressure transmission rule can be:
[0141] In one case, the pressure gauge is pre-set, in which case the handheld device can not send the pressure sending rule to the pressure gauge, but directly acquire the pressure according to the pre-set of the pressure gauge;
[0142] In another case, it is expected to acquire the pressure at fixed time intervals (i.e. time period), and other requirements have been met by pre-setting, in which case the handheld device can send the pressure sending rule to the pressure gauge, and the sending rule includes sending the pressure at fixed time intervals (e.g. 0.1s) as a cycle;
[0143] In another case, the pressure gauge can be optionally set to include pressure mode and pressure unit, in which case the handheld device can send the pressure sending rule to the pressure gauge, and the sending rule includes the pressure mode (e.g. set to absolute pressure mode) and the pressure unit (e.g. set to kPa);
[0144] In general, the pressure sending rule can be pre-set (default), single item setting, multi-item setting combination, etc.
[0145] Based on the technical solutions described in the specific embodiments, the pressure gauge technical solutions that can support related technical solutions are given as follows.
[0146] For example, the pressure gauge includes
[0147] The touch display screen has an input unit and an output unit, and through the touch display screen, instruction information can be input, and pressure information and control menu information can be displayed on the touch display screen, and the instruction input and information display can be located at the same position of the touch display screen;
[0148] The control module encapsulates processing elements for data / information processing, storage elements for data / information storage, clock circuits for generating time signals, and configuration circuit components for power supply and signal configuration components, and the encapsulated connection sites / electrical connection connectors (interfaces) on the surface of the control module include connection sites / electrical connection connectors (interfaces) for connecting other components;
[0149] The ZigBee communication module supports multipoint wireless communication connection based on the IEEE 802.15.4 communication standard;
[0150] The atmospheric pressure module encapsulates a signal generating module for generating an electrical signal corresponding to the standard atmospheric pressure;
[0151] A pressure detection module, the pressure detection module includes a pressure leading structure and a pressure signal generating assembly in communication with the pressure leading structure, through the pressure leading structure, the fluid medium corresponding to the pressure to be measured can be introduced to the pressure signal generating assembly, the pressure signal generating assembly responds to the pressure of the fluid medium, and an electric signal corresponding to the pressure is generated; in the example, the pressure detection module is a gauge pressure detection module;
[0152] A battery module, a packaged 12V battery pack, the battery module is used to power the electrical components in the pressure gauge; a power connector assembly is used to electrically connect with an external power supply, so as to obtain the external power supply to power the electrical components in the pressure gauge, the power connector assembly and the battery module can coexist, or only one of them can exist;
[0153] The control module is electrically connected with the pressure detection module, the atmospheric pressure module, the ZigBee communication module, the touch display screen, and the battery module (or the power connector assembly).
[0154] The control module is pre-installed and includes the following functions:
[0155] After determining that the data connection is established through the ZigBee communication module and the external device (such as a handheld device), the electric signal representing the pressure is immediately obtained from the pressure detection module, the electric signal is measured and processed to obtain the pressure information, and the pressure information is output through the ZigBee communication module;
[0156] Based on the pressure acquisition instruction transmitted from the ZigBee communication module, the electric signal representing the pressure is immediately obtained from the pressure detection module, the electric signal is measured and processed to obtain the pressure information, and the pressure information is output through the ZigBee communication module;
[0157] Based on the pressure setting instruction transmitted from the ZigBee communication module, the setting time (such as 0.3s) in the instruction is stored, the control module obtains the electric signal representing the pressure from the pressure detection module, the electric signal is measured and processed to obtain the pressure information, and the pressure information is output through the ZigBee communication module every 0.3s based on the time signal generated by the clock circuit.
[0158] Further, the control module is pre-installed and includes the following functions:
[0159] In the aforementioned process of processing the pressure electric signal, the final output pressure can be an electric measurement value (the range of the electric signal is 4-20mA), specifically, the conversion of the electric signal can be performed in the pressure detection module, that is, the pressure detection module has a corresponding signal conversion unit, or it can also be performed in the control module;
[0160] In the foregoing process of processing the pressure electric signal, the final output pressure value can be a pressure indication value (pressure measurement unit). Specifically, the electric signal representing the pressure value is obtained from the pressure detection module, the electric signal is measured and processed according to the parameters of the pressure detection module. For example, the signal output by the pressure detection module is an electric measurement signal (4-20mA), and the pressure range of the pressure detection module is 0-10MPa. Therefore, the calculation formula of the pressure indication value is:
[0161] Formula 1
[0162] In formula 1, p represents the pressure indication value corresponding to the pressure value, P0 represents the minimum pressure value in the range, which is 0MPa in this example, ΔP represents the difference between the maximum pressure value and the minimum pressure value in the range, which is 10MPa in this example, i represents the measured current value, i0 represents the minimum value of the electric measurement range, which is 4mA in this example, and imax represents the maximum value of the electric measurement range, which is 16mA in this example. For further example, if the measured current value is 16mA, the corresponding pressure indication value is 7.5MPa.
[0163] Further, the control module is preconfigured to further include the following functions:
[0164] Gauge pressure output: the electric signal representing the pressure value is obtained from the pressure detection module, the electric signal is measured and processed according to the parameters of the pressure detection module to obtain the corresponding pressure indication value, and the obtained pressure indication value is output.
[0165] Absolute pressure output: the electric signal representing the pressure value is obtained from the pressure detection module, the electric signal representing the standard atmospheric pressure is obtained from the atmospheric pressure module, the two electric signals are measured, and the parameters of the pressure detection module and the atmospheric pressure module are processed respectively to calculate the sum of the pressure value corresponding to the pressure detection module and the pressure value corresponding to the atmospheric pressure module, thereby obtaining the pressure indication value, and the obtained pressure indication value is output.
[0166] Differential pressure output: the electric signal representing the pressure value is obtained from the pressure detection module, the electric signal is measured and processed according to the parameters of the pressure detection module to obtain the corresponding gauge pressure value, another gauge pressure value is obtained from the ZigBee communication module, the difference between the gauge pressure value and the other gauge pressure value is calculated to obtain the pressure indication value, and the obtained pressure indication value is output.
[0167] Further, the control module is preconfigured to further include the following functions:
[0168] Timestamp output, based on the pressure setting instruction from the ZigBee communication module, set the reference time and start recording the working time, when the control module obtains the electrical signal representing the pressure from the pressure detection module, it also records the occurrence time of obtaining the electrical signal, for example, the occurrence time of the electrical signal corresponds to the 16s after the reference time, then record the occurrence time of the electrical signal as 16s, and so on, when uploading the pressure information, the pressure (electrical measurement value or pressure value) and the corresponding occurrence time are transmitted together.
[0169] Further, the control module preset also includes the following functions:
[0170] A set of pressure storage, the control module obtains the electrical signal representing the pressure from the pressure detection module, and records the occurrence time of obtaining the electrical signal at the same time, the control module stores the pressure information and the occurrence time (i.e. timestamp) together, further, a set of stored pressure data can include multiple pressure information and corresponding timestamps;
[0171] A set of pressure output, based on the pressure setting instruction from the ZigBee communication module, the control module selects the stored pressure and transmits it to the ZigBee communication module for uploading, generally, when outputting a set of pressure information, one or more pressure information and corresponding timestamps are outputted at the same time.
[0172] Further, the control module preset also includes the following functions:
[0173] Effective digit setting in output information, that is, in the process of processing the pressure electrical signal mentioned above, the effective digits of the final output pressure can be set, specifically, the electrical signal representing the pressure is obtained from the pressure detection module, the electrical signal is measured and processed, within the maximum effective digit range, data is intercepted according to the set effective digit number, for example, the maximum effective digit number is 7 digits, then the actual set effective digit number includes four digits, five digits, six digits, etc., set the effective digit number to four digits, then the output pressure obtained after processing the electrical signal retains four effective digits, and the part outside is rounded off;
[0174] Pressure unit setting in output information, when the output pressure is pressure indication value, the optional units include Pa, kPa, MPa, PSI, Tor, etc., set the pressure unit, then when processing the final output pressure, the number part will be determined according to the pressure unit, for example, 1.600MPa, when the unit is set to kPa, the output is 1600kPa.
[0175] Further, the aforementioned control module preset functions can be selectively combined between one or several, for example, a set of four significant figures with time stamp can be set to output the pressure. Embodiment five
[0177] The aforementioned embodiment one, embodiment two, embodiment three and embodiment four can be improved by the technical solution of the present embodiment.
[0178] As described in the aforementioned embodiment four, the pressure representation example can include the following functions that need to be set: pressure type (gauge pressure / absolute pressure / differential pressure), pressure acquisition mode (immediately / periodically / instruction), output value type (electrical value / pressure value), value unit, significant figures, whether to output time stamp, whether to output a set of pressure values, etc. In this case, when multiple pressure values need to be obtained, generally, a large amount of time is spent on setting multiple parameters of different pressure gauges, and in fact, the acquisition conditions of these pressure values can be completely the same, so there is a lot of repetitive work in this setting work.
[0179] The aforementioned situation can be improved by the technical solution of the present embodiment.
[0180] For example, there are a first pressure gauge and a second pressure gauge, wherein the first pressure gauge has completed pressure value sending rule setting, and the second pressure gauge has not performed pressure value sending rule setting.
[0181] The pressure value sending rule setting of the first pressure gauge can be completed by the first pressure gauge itself or by inputting through a handheld device.
[0182] Before preparing to perform pressure value sending rule on the second pressure gauge, the measurement control parameters (i.e. pressure value acquisition related parameters, i.e. the specific content of the pressure value sending rule in the aforementioned embodiment three) are obtained:
[0183] As described in the aforementioned embodiment, first, a data connection is established between the first pressure gauge and the handheld device (this process can be omitted if it has been completed);
[0184] As described in the aforementioned embodiment, a data connection is established between the handheld device and the second pressure gauge (this process can be omitted if it has been completed);
[0185] The measurement control parameters obtained from the first pressure gauge are sent to the second pressure gauge, and the wireless communication part of the second pressure gauge receives the measurement control parameters and performs pressure value sending according to the pressure value sending rule contained therein.
[0186] When there is a third pressure gauge with the same requirement, the same applies, a data connection is established between the handheld device and the third pressure gauge (this process can be omitted if it has already been completed); the measurement control parameters obtained from the first pressure gauge are sent to the third pressure gauge, and the wireless communication unit of the third pressure gauge receives the measurement control parameters and sends the pressure according to the pressure sending rules contained therein.
[0187] The above scheme can meet the batch rapid copying of pressure sending rules, greatly reduce unnecessary repetitive work, and improve the efficiency of pressure measurement work.
[0188] Further, a special data transmission format can be set to realize the formatting, standardization and generalization of data transmission. For example, in relation to the pressure gauge described in the fourth embodiment, the pressure sending rule item table is set as shown in Table 1.
[0189]
[0190] When the handheld device obtains the measurement control parameters from the first pressure gauge, the acquisition instruction is accompanied by the pressure sending rule item table in Table 1, and is configured to enable the first pressure gauge (mainly by its control unit) to obtain each parameter item according to the format of Table 1. After completing the acquisition of the measurement control parameters, the obtained measurement control parameters are sent to the second pressure gauge, the third pressure gauge, and other pressure gauges that need to be configured together as pressure sending rules according to the format of Table 1.
[0191] Based on the technical solutions described in this embodiment, further improvements can be made as follows.
[0192] For example, the pressure sending rule item table in Table 1 is configured in different pressure gauges. Further, the control unit of the pressure gauge is configured so that the control unit is configured to:
[0193] When generating and sending the measurement control parameters, obtain each item parameter according to the format of Table 1;
[0194] When receiving and applying the measurement control parameters, identify and obtain each item parameter according to the format of Table 1.
[0195] In special cases, when a certain gauge does not have the setting function of a certain setting item, the parameter of the setting item is locked as a specific parameter. For example, the fourth pressure gauge is a table pressure gauge and does not have the switching function of table pressure / absolute pressure / differential pressure and other different pressure types. On this basis, the fourth pressure gauge stores Table 1, and the pressure type corresponding to the settable parameter is locked as table pressure.
[0196] In a special case, for example, the fifth pressure gauge only has the function of setting the unit of the value (pressure value), in this case, when receiving and applying the metrological control parameters, the fifth pressure gauge actually responds only to the setting of the unit of the value (pressure value), but at the same time, the fifth pressure gauge also stores Table 1 and works according to the above example (in actual process, when the fifth pressure gauge can bear the acquisition of corresponding pressure, it indicates that the relevant parameters of the locked setting item meet the operation requirements). Embodiment six
[0198] The foregoing embodiment one, embodiment two, embodiment three, embodiment four and embodiment five can be improved in the technical solutions of the present embodiment.
[0199] The foregoing embodiment describes verification based on the connection identification code of the pressure gauge, and the present embodiment expects to improve the verification based on the identification code of the handheld device.
[0200] For example, the pressure gauge includes a touch display screen, a control module, a WIFI communication module and a pressure detection module, and the control module is electrically connected with the touch display screen, the pressure detection module and the WIFI communication module; in the process of establishing data connection between the handheld device and the pressure gauge, not only the connection identification code of the pressure gauge is acquired from the pressure gauge according to the foregoing embodiment, but also the handheld device generates an identification code based on itself, and the connection request sent by the handheld device to the pressure gauge includes not only the connection identification code of the pressure gauge but also the identification code of the handheld device, at this time, the object of verification by the pressure gauge is the connection identification code, after the verification is passed, the pressure gauge and the handheld device establish data connection, at this time, the pressure gauge sends the pressure information to the handheld device while sending the identification code, and subsequently, the object of verification by the handheld device is the identification code:
[0201] When the identification code is consistent with the identification code recorded by the handheld device, it indicates that the pressure information is indeed requested by the handheld device;
[0202] On the contrary, if the identification code is inconsistent with the identification code recorded by the handheld device, it indicates that the pressure information may not be requested by the handheld device.
[0203] Specifically, after obtaining the identity code through the WIFI communication module, the control module stores the identity code. During the process from then until the identity code is deleted or replaced, the stored identity code indicates that the pressure gauge "knows" the object that obtains the pressure value. When sending the pressure value, the control module is configured to send the identity code along with the pressure value, so that the object that receives the pressure value can determine whether it is the corresponding receiving object of the pressure value. If the identity codes are consistent, the handheld device will receive and use the pressure value. If the identity codes are not consistent, the handheld device will refuse to receive the pressure value.
[0204] The technical solution of the present example further increases the security of pressure value information:
[0205] From the perspective of the handheld device, the handheld device can determine whether it needs the pressure value according to the identity code. When any pressure source sends pressure value information to the handheld device, the handheld device can distinguish that the pressure value is not the one it needs, and refuse to receive and use the pressure value information from unknown sources and directions, which ensures that the pressure operation will not be disturbed by other information.
[0206] From the perspective of the pressure gauge, the receiving object (such as a handheld device) of the pressure value can determine whether it is the expected receiving object of the pressure value. Further, based on the design of the present embodiment, when it is determined that it is not the receiving object, the pressure value is refused to be received. In this way, when the data sending object of the pressure gauge is redundantly or incorrectly specified, the receiving object can determine whether to refuse without actually obtaining and analyzing the pressure value information, which avoids the leakage of pressure value information and ensures the safety of the pressure operation.
[0207] Based on the present embodiment, improvements or alternatives are made, which are:
[0208] Based on the connection identification code (which can also be adaptive connection information), an instruction is generated, the control module receives the instruction and generates and outputs a first connection identification code, the first connection identification code is randomly generated, the control module records the first connection identification code, and continuously outputs the first connection identification code in subsequent similar instructions until
[0209] The connection request is received through the WIFI communication module, the connection request information contains the first connection identification code, the control module receives the first connection identification code and verifies it, after verification, the control module controls the WIFI communication module and the external device (such as a mobile phone) to establish a data interaction channel;
[0210] When the aforementioned verification of the connection request is completed, the control module is configured to immediately generate a second connection identification code, the second connection identification code is randomly generated and theoretically completely different from the first connection identification code, at this time, when the connection identification code generation instruction is received again, the control module generates and outputs the second connection identification code, when the connection request is received, if the connection identification code contained in the connection request is the first connection identification code, the request is rejected, if the connection identification code contained in the connection request is the second connection identification code, the verification is passed;
[0211] Similarly to the above process, after the second connection identification code is verified, the control module is configured to immediately generate a third connection identification code, the third connection identification code is randomly generated and theoretically completely different from the first connection identification code and the second connection identification code;
[0212] The technical advantage of the present alternative is to further improve the security of the pressure information, while ensuring that the legitimate device can normally connect (the connection identification code remains unchanged before the connection request verification is passed), so that even if the illegal device can obtain the connection identification code through other channels, it cannot access the pressure gauge;
[0213] Supplementing the present alternative, the control module can check whether the connection identification code currently exists when the connection identification code generation instruction is received, if it exists, the connection identification code generation process is skipped and the current connection identification code is directly output, if no connection identification code is found to exist currently, a connection identification code is randomly generated; further improvement can be that after a connection identification code is generated, timing starts, a time limit is set, for example 1h, if the connection identification code has not been used within the time limit, when the time limit is exceeded, the control module is configured to immediately randomly generate a new connection identification code; further improvement can be that when the pressure gauge is powered off, the recorded current connection identification code is deleted; this supplementing scheme allows the legitimate device to have a reasonable delay connection period after obtaining the connection identification code;
[0214] A partial replacement or improvement to this alternative solution could be made by configuring the control module to, after verifying the first connection identification code and obtaining the handheld device's identification code, record the first connection identification code and the identification code and associate them. Simultaneously, it controls the WIFI communication module to establish a data connection between the pressure gauge and the handheld device capable of transmitting pressure data. When this data connection is disconnected, the aforementioned associated first connection identification code and identification code are saved for a settable period, such as 1 hour. If a connection request (containing the aforementioned associated first connection identification code and identification code) is received within this time limit, the verification is successful, and the associated first connection identification code and identification code are refreshed. The retention period for the identification code is specified. Conversely, if this period is exceeded, the records for the first connection identification code and the identity identification code are deleted. In response, when a connection request (containing the aforementioned associated first connection identification code and identity identification code) is received, the request is rejected. This improvement scheme is mainly aimed at some connections that are switched repeatedly. For example, using a handheld device to repeatedly connect to multiple pressure gauges at a single point, a reasonable time limit for retaining the permissions of the verified handheld device is given. This ensures that during normal operation, the handheld device can quickly establish a connection with the pressure gauge without having to obtain the connection identification code again, ensuring the convenience of pressure measurement operations. At the same time, it prevents the permissions of the handheld device from being extended indefinitely, thereby ensuring the security of pressure measurement information.
[0215] A partial replacement or improvement to this alternative solution could be implemented by configuring the control module to not immediately generate a second connection identification code after verifying a connection request containing the first connection identification code. Instead, the first connection identification code would remain unchanged as the current connection identification code until a new connection identification code generation command is received, at which point the second connection identification code is generated. This improvement primarily addresses situations where multiple connection points may occur, i.e., where the pressure gauge needs to output pressure values to multiple handheld devices simultaneously. For example, during a pressure measurement operation, the user can first obtain the first connection identification code using a first handheld device, then obtain the first connection identification code using a second handheld device. After each handheld device has obtained the connection identification code, the connection request can be made separately without repeatedly refreshing the generation of the connection identification code across multiple handheld devices. Furthermore, after the operation is completed, the connection identification code can be refreshed again via a command, thus ensuring the security of the pressure value information.
[0216] Based on this specific embodiment, improvements or alternatives may be made, and the generation of the identification code may also be at least partially random:
[0217] In a preferred example, the identification code of the handheld device includes a fixed part and a randomly generated part, wherein the fixed part is associated with the handheld device itself. For example, different handheld devices can have different fixed parts, thereby realizing the differentiation between different handheld devices.
[0218] The randomly generated part of the identity identification code can be associated with the connection request, for example, the identity identification code (or the random part thereof) is randomly generated each time the connection request is initiated. If so, the identity identification code is saved for checking the pressure during the period when the current connection request is verified and the data connection is established. When the data connection is disconnected, the corresponding identity identification code is deleted.
[0219] The randomly generated part of the identity identification code can be associated with the connection identification code corresponding to the pressure table obtained, for example, the same identity identification code is used for the same connection identification code, and vice versa, a newly generated identity identification code (or the random part thereof) is used for different connection identification codes. If so, the connection identification code and the identity identification code are associated and saved, which can be temporary, for example, a reasonable period (24 hours) is set. If the reasonable period is exceeded, the associated saved connection identification code and identity identification code are automatically deleted. The saving can also be long-term, that is, it can be saved until it is actively deleted if the storage space allows.
[0220] The technical advantage of the improvement or alternative is that different identity identification codes are used in different metering operations, thereby enhancing the checking ability of the identity identification code. This advantage is particularly evident when the handheld device simultaneously acquires pressure from multiple pressure tables. At this time, when multiple pressure values are received, the control module is configured to determine whether the pressure value is required for the table according to the identity identification code (mainly the fixed part), and to determine the source of the pressure value according to the identity identification code (mainly the random part). Specific embodiment seven
[0222] The foregoing specific embodiment one, specific embodiment two, specific embodiment three, specific embodiment four, specific embodiment five, and specific embodiment six can be improved.
[0223] The handheld device is pre-installed with a pressure metering model. The pressure metering model is generally specifically adapted to a certain pressure metering scene. Based on different operation scenes, multiple different pressure metering models can be pre-installed in the handheld device.
[0224] Each pressure metering model includes one or more metering control parameters. The specific metering control parameter limits the acquisition of the pressure value, so that the acquired pressure value can meet the pressure metering operation requirement.
[0225] The handheld device acquires the pressure value according to the metering control parameter set in the pressure metering model.
[0226] Further, the handheld device can send all or part of the metering control parameters in the pressure metering model to the pressure gauge, so that the pressure gauge sends the pressure according to the metering control parameters.
[0227] For example, the handheld device stores a first pressure metering model for regular monitoring of a certain pressure, and the required / included metering control parameters are as shown in Table 2-1:
[0228]
[0229] In Table 2-1, "-" means no setting, i.e. the default is the original setting of the pressure gauge. During the operation process, the handheld device obtains the pressure once after establishing the data connection with the pressure gauge, and the pressure is the real-time pressure. Thereafter, taking the time point of establishing the data connection as the time reference point, the handheld device obtains the real-time pressure at the corresponding time point from the pressure gauge every 0.3s. During the process of obtaining the pressure, the handheld device reads the pressure according to the pressure indication value, i.e. identifying the unit part of the pressure as one pressure unit and the numerical part of the pressure as the value corresponding to the pressure unit.
[0230] Further, in one case, the pressure gauge supports setting the output indication type and the pressure acquisition mode. If so, the handheld device sends the metering control parameters in Table 2-1 to the pressure gauge, and the pressure gauge receives these metering control parameters and sets its operation, which specifically includes:
[0231] The control part of the pressure gauge obtains the electrical signal representing the pressure from the pressure detection part every 0.3s;
[0232] The control part of the pressure gauge processes the electrical signal representing the pressure to convert it into the pressure indication value corresponding to the pressure, and the processing process may be associated with the range information of the pressure detection part;
[0233] The control part of the pressure gauge sends the obtained pressure indication value to the handheld device through the wireless communication part thereof;
[0234] Further, in another case, the pressure gauge is fixedly set to output the pressure indication value (in kPa) and to obtain and upload the pressure every 0.1s. If so, the handheld device only controls the pressure gauge to make the handheld device obtain the current pressure once after establishing the data connection, and thereafter, the pressure gauge remains in its fixed setting operation. Meanwhile, the handheld device performs the obtaining operation according to the metering control parameters in Table 2-1. Typically, the pressure gauge uploads the pressure every 0.1s, and the handheld device only obtains and displays the pressure at the 0.3s time point and its multiples.
[0235] The technical solutions of the present embodiment can be improved as follows.
[0236] For example, the handheld device stores a second pressure measurement model, under which, if the handheld device expects to perform a measurement operation on a gauge pressure point, the measurement control parameters required / included by the handheld device are as shown in Table 2-2:
[0237]
[0238] In Table 2-2, the second pressure measurement model mainly requires that the pressure type of the pressure point to be measured is gauge pressure, and from the perspective of continuously observing the pressure performance, it also requires that the pressure information be periodically obtained;
[0239] In the operation preparation stage, the handheld device obtains the adaptive connection information of the pressure gauge corresponding to the pressure point to be measured, which includes not only the connection identification code, but also part of the information that can represent the measurement characteristics of the pressure gauge; for example, the adaptive connection information includes a set of characteristic codes that describe the pressure type and the range (e.g., gauge pressure, 1.6 MPa), and for another example, the connection identification code itself contains a description of the measurement characteristics of the pressure gauge, such as an eighteen-digit sequence after the connection identification code is converted into plaintext, the first and second digits combined represent the pressure type, and the third to sixth digits combined represent the range.
[0240] The handheld device obtains the adaptive connection information of the pressure gauge, and further, before sending the connection request, the handheld device analyzes the adaptive connection information to obtain the measurement characteristics information of the pressure gauge contained therein;
[0241] If it is identified that the pressure type of the pressure gauge is gauge pressure, it indicates that it meets the measurement control parameter requirements in Table 2-2, and the handheld device generates a connection request containing the connection identification code and sends it to the pressure gauge. During this process, if other pressure gauge measurement characteristic information, such as the range, is also identified, since it is not the required information in Table 2-2, it is not verified.
[0242] If it is identified that the pressure type of the pressure gauge is settable, it indicates that it meets the measurement control parameter requirements in Table 2-2, and the handheld device generates a connection request containing the connection identification code and sends it to the pressure gauge.
[0243] If it is identified that the pressure type of the pressure gauge is absolute pressure (not settable), it indicates that it does not meet the measurement control parameter requirements in Table 2-2, and the connection to the pressure gauge is stopped and a prompt "The pressure type of the pressure object does not meet the requirements" is displayed on the display interface of the handheld device.
[0244] The technical solutions of the present embodiment can also be improved with the following optimization technical solutions.
[0245] The handheld device stores a third pressure measurement model for pressure calibration, and the third pressure measurement model is distinguished from the first pressure measurement model and the second pressure measurement model, and the third pressure measurement model is a multi-pressure gauge-oriented pressure measurement model, and specifically, the measurement control parameters required / included are as shown in Table 2-3:
[0246]
[0247] In Table 2-3, the error ratio A represents that the allowable error of the standard pressure gauge is less than or equal to the set ratio of the allowable error of the calibrated pressure gauge, and this parameter is an optional setting, and generally, the optional options include 1 / 2, 1 / 3 and 1 / 4; and the error calculation represents whether to calculate the error value after obtaining the standard pressure and the calibrated pressure.
[0248] And the other schemes of the present embodiment are distinguished from the foregoing, and before establishing a connection with the pressure gauge, it is necessary to inform the handheld device whether the object to be connected is a standard pressure gauge or a calibrated pressure gauge (and the corresponding pressure is a standard pressure or a calibrated pressure), and generally, the third pressure measurement model does not support the connection of pressure other than the standard pressure and the calibrated pressure.
[0249] In one case, the handheld device has established a data connection with the standard pressure gauge, and at this time, the handheld device has obtained the measurement characteristic information of the standard pressure gauge in terms of pressure type, output indication type, pressure acquisition mode, indication unit (pressure indication), allowable error, etc.;
[0250] Prepare to connect with the calibrated pressure gauge, and use the handheld device to quickly obtain the adaptive connection information from the calibrated pressure gauge, the adaptive connection information includes the measurement characteristic information of the calibrated pressure gauge, the handheld device analyzes the adaptive connection information of the calibrated pressure gauge to obtain the measurement characteristic information of the calibrated pressure gauge, and compares the measurement characteristic information of the calibrated pressure gauge with the measurement characteristic information of the standard pressure gauge:
[0251] If the pressure type of the standard pressure gauge is absolute pressure and is fixed and cannot be set, the measurement characteristic information of the calibrated pressure gauge obtained contains the pressure type, and the pressure type of the calibrated pressure gauge is gauge pressure and is fixed and cannot be set, then the pressure type item verification fails;
[0252] If the pressure type of the standard pressure gauge is absolute pressure and is settable, and the pressure type of the calibrated pressure gauge obtained is gauge pressure, then the pressure type item verification passes;
[0253] If the pressure type of the standard pressure gauge is absolute pressure and is fixed and cannot be set, and the pressure type of the calibrated pressure gauge obtained is gauge pressure and is settable, then the pressure type item verification passes;
[0254] If the pressure type of the standard pressure gauge is absolute pressure and is settable, and the pressure type of the pressure gauge to be calibrated is gauge pressure and is settable, then the verification passes for the pressure type item;
[0255] If the pressure type of the standard pressure gauge is absolute pressure, and the pressure type of the pressure gauge to be calibrated is also absolute pressure, then the verification passes for the pressure type item;
[0256] If the pressure type of the pressure gauge to be calibrated is not obtained, then the verification passes for the pressure type item;
[0257] The verification situation of the indication type and the indication unit is similar to that of the pressure type, that is, if the standard pressure gauge and the pressure gauge to be calibrated are inconsistent in a specific verification item, and the inconsistency cannot be solved by setting, then the item verification is determined to fail, if the standard pressure gauge and the pressure gauge to be calibrated are consistent in the specific verification item, then the item verification is determined to pass, and the inconsistent condition cannot be determined (the item can be consistent by setting, that is, at least one of the standard pressure gauge and the pressure gauge to be calibrated is settable; the measurement characteristic information of the pressure gauge to be calibrated cannot be obtained), and the item verification is determined to pass;
[0258] If the range of the standard pressure gauge covers the range of the pressure gauge to be calibrated (including that the range of the standard pressure gauge is the same as the range of the pressure gauge to be calibrated), then the verification passes for the range item;
[0259] If the range of the standard pressure gauge can only cover part of the range of the pressure gauge to be calibrated, then the verification fails for the range item and a prompt is issued;
[0260] If the range of the standard pressure gauge cannot cover the range of the pressure gauge to be calibrated at all, then the verification fails for the range item;
[0261] If the allowable error of the standard pressure gauge is less than or equal to the set proportion A of the allowable error of the pressure gauge to be calibrated, then the verification passes for the error item;
[0262] If the allowable error of the standard pressure gauge is greater than the set proportion of the allowable error of the pressure gauge to be calibrated, and the allowable error of the standard pressure gauge is less than or equal to half of the allowable error of the pressure gauge to be calibrated, then the verification fails for the error item and a prompt is issued;
[0263] If the allowable error of the standard pressure gauge is greater than half of the allowable error of the pressure gauge to be calibrated, then the verification fails for the error item;
[0264] Similar to the foregoing other items, if the range and / or the allowable error of the pressure gauge to be calibrated cannot be obtained, then the error / range item verification is determined to pass.
[0265] If all items in Table 2-3 are judged as passed, the handheld device sends a connection request to the pressure gauge to be calibrated, the connection request containing the connection identification code of the pressure gauge to be calibrated, after the connection request is responded by the pressure gauge to be calibrated, the handheld device can perform pressure calibration work:
[0266] The pressure amount acquisition settings of the standard pressure gauge and the pressure gauge to be calibrated are unified;
[0267] One or more calibration points are selected;
[0268] When the pressure reaches the calibration point pressure value, an instruction is sent to the handheld device, and the handheld device synchronously acquires pressure amounts from the standard pressure gauge and the pressure gauge to be calibrated according to the instruction, and the pressure amounts of the two are of the same pressure type, the same output indication type, and the same indication unit;
[0269] The pressure amount acquired from the standard pressure gauge is recorded as the standard pressure amount, the pressure amount acquired from the pressure gauge to be calibrated is recorded as the calibrated pressure amount, the difference between the standard pressure amount and the calibrated pressure amount is calculated to obtain the corresponding pressure amount error;
[0270] The pressure amount error is compared with the allowable error of the pressure gauge to be calibrated, if the pressure amount error is greater than the allowable error of the pressure gauge to be calibrated, a prompt is given through the handheld device, for example, a different and eye-catching color is used to mark the standard pressure amount, the calibrated pressure amount, and the pressure amount error of the group that has a large error.
[0271] The foregoing process of automatically unifying the pressure amount acquisition settings of the standard pressure gauge and the pressure gauge to be calibrated includes:
[0272] The measurement control parameters are acquired according to Table 2-3; for the pressure type, for example, if the pressure types of the standard pressure gauge and the pressure gauge to be calibrated are the same in the previous verification process, the same parameter is recorded as the pressure type parameter, if the pressure type of the standard pressure gauge is fixed in the previous verification process, the standard pressure gauge parameter is recorded as the pressure type parameter, if the pressure type of the standard pressure gauge is settable in the previous verification process, the calibrated pressure gauge parameter is recorded as the pressure type parameter; the measurement control parameter acquisition / recording method corresponding to the output indication type and the indication unit is the same;
[0273] The acquired measurement control parameters are sent to the standard pressure gauge and the pressure gauge to be calibrated respectively;
[0274] The control part of the standard pressure gauge receives the measurement control parameters and sets them according to the measurement control parameters, so that the standard pressure gauge works according to the measurement control parameters, and feeds back the setting results to the handheld device; the control part of the pressure gauge to be calibrated receives the measurement control parameters and sets them according to the measurement control parameters, so that the pressure gauge to be calibrated works according to the measurement control parameters, and feeds back the setting results to the handheld device.
[0275] If one or more items in Table 2-3 are judged as not passing the verification, the handheld device rejects the connection request to the pressure gauge to be calibrated, and prompts on its display interface, for example, the pressure type and range item verification fails, the handheld device rejects the connection request to the pressure gauge to be calibrated, and displays on its display interface "the pressure gauge to be calibrated cannot be calibrated, reason: the pressure type and range do not match";
[0276] If only the range item in Table 2-3 is judged as not passing the verification, and meets the assumption of "range item verification fails and prompts", the standard pressure gauge range and the pressure gauge to be calibrated range are displayed on the handheld device display interface, and a selection interface is provided, for example, if the deviation is ignored, the range item is considered to pass the verification, if the deviation is not ignored (including not making any selection and waiting for the system default), the range item is considered to not pass the verification, and the handheld device directly rejects the connection request without further prompting;
[0277] If only the error item in Table 2-3 is judged as not passing the verification, and meets the assumption of "error item verification fails and prompts", the standard pressure gauge allowable error, the pressure gauge to be calibrated allowable error, and the satisfied proportion are displayed on the handheld device display interface, for example, if the error proportion is set to 1 / 4, the actual standard pressure gauge allowable error is equivalent to 0.3 of the pressure gauge to be calibrated allowable error (i.e. between 1 / 3 and 1 / 4), the satisfied proportion is 1 / 3, and a selection interface is provided, for example, if the deviation is ignored, the error item is considered to pass the verification, if the deviation is not ignored (including not making any selection and waiting for the system default), the error item is considered to not pass the verification, and the handheld device directly rejects the connection request without further prompting.
[0278] When multiple pressure gauges to be calibrated are calibrated at the same time, the same logic applies, with the slight difference that the starting node of the operation of "unifying the pressure acquisition settings of the standard pressure gauge and the pressure gauge to be calibrated" is:
[0279] In one mode, similar to a single pressure gauge to be calibrated, the handheld device performs the unified configuration of the pressure acquisition settings once for each pressure gauge to be calibrated that establishes a data connection with the handheld device, and further, the unified configuration is performed for all currently connected standard pressure gauges and pressure gauges to be calibrated;
[0280] In another mode, the unified configuration of the pressure acquisition settings is performed manually, i.e. after all standard pressure gauges and pressure gauges to be calibrated and the handheld device establish data connections, an instruction is input to the handheld device, and the handheld device performs the unified configuration of the pressure acquisition settings for all currently connected standard pressure gauges and pressure gauges to be calibrated.
[0281] In another case, the handheld device can also first establish a data connection with the pressure gauge to be calibrated, and when preparing to establish a data connection with the standard pressure gauge:
[0282] The handheld device quickly acquires the adaptive connection information from the standard pressure gauge to be connected, the adaptive connection information including the measurement characteristic information of the standard pressure gauge, the handheld device analyzes the adaptive connection information of the standard pressure gauge to obtain the measurement characteristic information of the standard pressure gauge;
[0283] Based on the third pressure measurement model measurement control parameter table in Table 2-3, the measurement characteristic information of the standard pressure gauge and the measurement characteristic information of the pressure gauge to be calibrated are used to compare each item in Table 2-3, and if all items are judged to be verified, the handheld device sends a connection request to the standard pressure gauge to be connected, the connection request including the connection identification code of the standard pressure gauge;
[0284] The connection request is responded by the standard pressure gauge, and the handheld device establishes a data connection with the standard pressure gauge and the pressure gauge to be calibrated respectively;
[0285] The standard pressure gauge and the pressure gauge to be calibrated are unified in pressure acquisition and setting;
[0286] One or more calibration points are selected;
[0287] When the pressure reaches the calibration point pressure value, an instruction is sent to the handheld device, and the handheld device simultaneously acquires the pressure from the standard pressure gauge and the pressure from the pressure gauge to be calibrated according to the instruction, and the pressure types, output value types and value units of the two pressures are the same;
[0288] The pressure acquired from the standard pressure gauge is recorded as the standard pressure, the pressure acquired from the pressure gauge to be calibrated is recorded as the calibrated pressure, and the difference between the standard pressure and the calibrated pressure is calculated to obtain the corresponding pressure error;
[0289] The pressure error is compared with the allowable error of the pressure gauge to be calibrated, and if the pressure error is greater than the allowable error of the pressure gauge to be calibrated, the handheld device is prompted, for example, a different and eye-catching color is used to mark a group of standard pressures, calibrated pressures and pressure errors that have occurred.
[0290] The two technical solutions under the third pressure measurement model correspond to two evaluation ideas under the same concept:
[0291] The first access standard pressure gauge, the subsequent operation is actually, fast and accurate screening of calibratable pressure gauge; The typical working condition of this technical solution is that the calibrated pressure gauge has multiple and certain differences, and the scene characteristics are that multiple pressure calibration operations can be performed simultaneously, and different standard pressure gauges are selected for each pressure calibration operation. For a single pressure calibration operation point, any one is selected from the group of to-be-connected calibrated pressure gauges, the adaptive connection information of the calibrated pressure gauge is obtained according to the foregoing technical solution and verified, the pressure gauge that can be calibrated is retained, and the pressure gauge that cannot be calibrated is returned, and the above process is repeated, so that the adaptation can be quickly completed without worrying about omission and mismatch;
[0292] The first access standard pressure gauge, the subsequent operation is actually, fast and accurate screening of calibratable pressure gauge; The typical working condition of this technical solution is that the calibrated pressure gauge has multiple and certain differences, and the scene characteristics are that multiple pressure calibration operations can be performed simultaneously, and different standard pressure gauges are selected for each pressure calibration operation. For a single pressure calibration operation point, any one is selected from the group of to-be-connected calibrated pressure gauges, the adaptive connection information of the calibrated pressure gauge is obtained according to the foregoing technical solution and verified, the pressure gauge that can be calibrated is retained, and the pressure gauge that cannot be calibrated is returned, and the above process is repeated, so that the adaptation can be quickly completed without worrying about omission and mismatch;
Claims
1. A pressure gauge having a communication function, characterized by comprising: The pressure gauge comprises: a watch case; a pressure lead pipe connected to the watch case, the pressure lead pipe leading a fluid medium; a pressure detection unit configured to detect the pressure of the fluid medium and convert it into an electrical variable to obtain the pressure value of the fluid medium; a touch display screen provided on an outer surface of the watch case, the touch display screen displaying the pressure value and receiving a user touch input operation instruction; a wireless communication unit for wireless data transmission and reception; a control unit configured to: receive a connection request and a pressure value transmission rule sent by a handheld terminal through the wireless communication unit, the connection request containing a connection identification code, the connection identification code being obtained by the handheld terminal from the pressure gauge through a non-wired connection mode, the non-wired connection mode being image reading or near field communication; verify the connection identification code and the pressure value transmission rule, and after the verification, establish a wireless communication connection with the handheld terminal, and based on the wireless communication connection, transmit the pressure value to the handheld terminal according to the pressure value transmission rule through the wireless communication unit, the pressure value transmission rule including real-time transmission, interval transmission or on-demand transmission, and further including the pressure type, the unit of measurement value and the number of significant digits corresponding to the obtained pressure value, and the frequency of transmitting the pressure value.
2. The pressure gauge according to claim 1, characterized in that The transmission of the pressure value according to the pressure value transmission rule comprises: when the pressure value transmission rule is real-time transmission, the pressure gauge transmits the pressure value to the handheld terminal in real time through the wireless communication unit; or, when the pressure value transmission rule is interval transmission, the pressure gauge transmits the pressure value to the handheld terminal in interval transmission through the wireless communication unit; or, when the pressure value transmission rule is on-demand transmission, the pressure gauge transmits the pressure value to the handheld terminal through the wireless communication unit after receiving a transmission request sent by the handheld terminal.
3. A pressure gauge according to claim 1 or 2, characterised in that The control unit is further configured to: store the pressure value and the collection time of the pressure value; transmit the pressure value and the collection time of the pressure value to the handheld terminal through the wireless communication unit.
4. A pressure gauge according to claim 1 or 2, characterised in that The connection request contains an identity identification code; The control unit is further configured to: store the identity identification code; transmit the identity identification code to the handheld terminal together with the pressure value through the wireless communication unit, so that the handheld terminal performs matching verification according to the identity identification code, judges whether the pressure value is required by itself, and receives the pressure value after the verification.
5. The pressure gauge according to claim 1 or 2, characterized in that The control unit is further configured to: receive an instruction for generating the connection identification code through the touch display screen, and generate the connection identification code as a two-dimensional code according to the instruction, so that the handheld terminal scans the two-dimensional code to obtain the connection identification code.
6. The pressure gauge according to claim 1 or 2, characterized in that The control unit is further configured to: receiving at least one setting item and a corresponding setting result of the at least one setting item sent by the handheld terminal, the at least one setting item and the corresponding setting result of the at least one setting item being obtained by the handheld terminal from another pressure gauge different from the pressure gauge through a non-wired connection mode, the at least one setting item including an acquisition unit of the pressure amount; reconfiguring the at least one setting item according to the setting result of the at least one setting item; locking a parameter of a setting item as a specific parameter when the setting item does not have a setting function.
7. An adaptive connection method of a pressure gauge and a handheld terminal, comprising: the handheld terminal preconfiguring a pressure measurement model, the pressure measurement model including one or more measurement control parameters; the handheld terminal obtaining adaptive connection information from the pressure gauge in a first acquisition mode, the adaptive connection information including a connection identification code and measurement characteristic information of the pressure gauge, the first acquisition mode being a non-wired connection, and the first acquisition mode being image reading or near field communication; the handheld terminal determining whether the pressure gauge conforms to the pressure measurement model according to the measurement characteristic information, and generating connection request information and sending the connection request information to the pressure gauge in a second interaction mode if the pressure gauge conforms to the pressure measurement model, the connection request information including a connection identification code, and the second interaction mode being a wireless communication different from the first acquisition mode; in response to the connection request information of the handheld terminal, the handheld terminal and the pressure gauge establish a data channel in the second interaction mode; the handheld terminal acquires pressure amounts from the pressure gauge through the data channel according to the measurement control parameters.
8. The method of adapting a connection according to claim 7, characterized in that, the measurement control parameters include a combination of one or more of pressure types, value display types, effective bit numbers, or acquisition periods.
9. The method of adapting a connection of claim 7, wherein, the pressure measurement model includes a pressure calibration model, and the handheld terminal sends the connection request information to a standard pressure gauge and / or a calibrated pressure gauge conforming to the pressure calibration model in the second interaction mode.
10. The method of adapting a connection according to claim 9, wherein, the handheld terminal simultaneously establishes data connections with two or more pressure gauges, and determines reading objects of pressure amounts according to the pressure measurement model, at least one group of pressure amounts being acquired through the second interaction mode.
11. The method of adapting a connection according to claim 10, wherein, the handheld terminal sends identity identification codes to two or more pressure gauges according to the pressure measurement model, so that different pressure gauges correspond to different identity identification codes, and the handheld terminal performs matching verification on pressure amounts according to the identity identification codes.
12. The method of adapting a connection of claim 7, wherein, the first acquisition mode is image acquisition, the pressure gauge includes a display unit capable of presenting images, and the handheld terminal includes a camera unit capable of reading images.
13. The method of adapting a connection according to claim 12, wherein, the pressure gauge includes a touch display screen having a display unit and an input unit, and generates a two-dimensional code containing the adaptive connection information through the touch display screen based on a touch instruction of the touch display screen.
14. The method of adapting a connection of claim 7, wherein, the first acquisition mode is NFC or RFID.
Citation Information
Patent Citations
Equipment patrolling and managing device based on two-dimensional code
CN102880882A
Polling system and polling method based on NFC (noise feedback coding) mobile terminal
CN103268645A
Wireless pressure detector, wireless pressure measuring system, and pressure measuring method
WO2018124679A1
Pressure transmitter based on two-dimensional bar code, and data acquisition processing system thereof
CN105758585A
Wireless pressure transmitter for mountainous areas
CN107228735A