Multi-mode configuration method and device for portable field device, equipment and medium
By using NFC tap-to-tap and full voice interaction, the problem of cumbersome operation of portable sampling devices in complex working conditions has been solved, enabling efficient and accurate single-unit and multi-unit configurations, and improving on-site operation efficiency and data reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN AMAE INSTR
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-28
AI Technical Summary
Existing portable sampling devices are cumbersome to operate under complex conditions, have low interaction efficiency, are prone to parameter inconsistencies, and are difficult to achieve high efficiency and reliability in multi-machine collaborative configuration.
It adopts near field communication (NFC) 'tap-to-copy' parameter copying and a fully voice-configurable interactive mode. By switching between physical or voice commands, it can quickly transmit configuration parameters and navigate menus, and supports consistent parameter deployment for single and multi-machine setups.
In environments without network access or in complex conditions, it achieves efficient and accurate single-machine and multi-machine configuration, improving on-site operation efficiency and data reliability, and avoiding duplicate input and human error.
Smart Images

Figure CN121939999A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of NFC near-field communication technology, and in particular to multimodal configuration methods, apparatuses, devices and media for portable field devices. Background Technology
[0002] In multi-device collaborative data collection operations (such as synchronous monitoring of regional ambient air quality and emergency control of sudden pollution events), users typically need to repeatedly input the same sampling data (such as sampling flow rate, duration, working mode, start time, etc.) on multiple portable sampling devices. Existing devices generally rely on physical buttons and small displays for item-by-item settings, which is cumbersome, inefficient, and prone to parameter inconsistencies due to human error, affecting the comparability and reliability of the sampling data.
[0003] Especially in complex working conditions such as in the field, at night, or when wearing protective equipment, traditional human-machine interaction methods are not only difficult to operate, but also significantly prolong deployment time. In addition, when there are a large number of devices, configuring them one by one severely restricts on-site operation efficiency and makes it difficult to meet the needs of rapid response and standardized operation.
[0004] While some devices support configuration via Bluetooth or Wi-Fi connection to a mobile app, these methods typically still require manual parameter input for each device and rely on a stable communication environment. Their reliability is insufficient in scenarios without network access, with electromagnetic interference, or with densely packed devices. More importantly, existing solutions fail to leverage ease of on-site operation to implement efficient human-machine interaction mechanisms. This means that even with repetitive configuration tasks (such as setting the same parameters in multi-device collaborative sampling), users still need to perform repetitive tasks, making it difficult to achieve convenient operations such as "one-time setup, quick reuse" or "direct voice control."
[0005] Therefore, there is an urgent need for a portable sampling device interaction solution that is designed for on-site operation scenarios and focuses on improving the ease of configuration for both single and multi-unit devices.
[0006] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0007] The main objective of this application is to provide a multimodal configuration method, apparatus, device, and medium for portable field devices, aiming to solve the technical problem of how to achieve ease of configuration for both single and multiple devices.
[0008] To achieve the above objectives, this application proposes a multimodal configuration method for a portable field device, wherein the portable field device is a sampler, and the multimodal configuration method for the portable field device includes: When the current mode of the sampler is in card reader mode, in response to a preset trigger command, the card reader mode is switched to point-to-point card mode. The trigger command includes physical operation commands or voice commands. In the point-to-point card mode, when an external device is detected to be approaching and a near-field communication interaction is completed, the configuration parameters in the sampler are transmitted to the external device based on a preset tap-to-tap mechanism; and / or In response to the voice command, the voice configuration mode is activated, and the target menu item or sampling parameter item is identified according to the voice command to perform menu navigation or parameter configuration of the sampler.
[0009] In one embodiment, the step of switching the card reader mode to peer-to-peer card mode in response to a preset trigger command includes: If the preset trigger command is the physical operation command, then the preset operation action on the target button on the sampler is detected, and the card reader mode is switched to point-to-point card mode based on the preset operation action. If the preset trigger command is the voice command, then the voice command is received and parsed. When the recognition result matches the preset mode switching command, a corresponding mode switching signal is generated to switch the card reader mode to the point-to-point card mode.
[0010] In one embodiment, the step of receiving and parsing voice commands, and generating a corresponding mode switching signal when the recognition result matches a preset mode switching command, to switch the card reader mode to the peer-to-peer card mode includes: The system monitors ambient audio using a microphone array and detects whether the ambient audio includes a preset wake word. If the preset wake-up word is detected, the system enters the instruction receiving state; Receive voice commands from users, parse the voice commands, and determine whether the voice commands match preset NFC mode switching commands; If a match is found, a mode switching signal is generated to switch the card reader mode to the peer-to-peer card mode.
[0011] In one embodiment, the step of parsing the voice command and determining whether the voice command matches a preset NFC mode switching command includes: The voice commands are recognized and semantically parsed based on a pre-trained multilingual speech recognition model; The parsing results are matched with the NFC mode switching command set of the current language environment.
[0012] In one embodiment, after the step of the sampler being in reader mode, the method further includes: When a physical NFC configuration card is detected to be close and near-field communication is completed, configuration parameters are read from the physical NFC configuration card and loaded into the current user interface of the sampler.
[0013] In one embodiment, the step of transmitting the configuration parameters in the sampler to the external device based on a preset touch-to-touch mechanism when an external device is detected to be near and completes near-field communication interaction includes: In response to a tap-to-tap operation with the external device, the device identifier and Bluetooth connection information of the external device are obtained via near-field communication; Based on the Bluetooth connection information, a Bluetooth pairing request is initiated to the external device; After the Bluetooth connection is established, the sampler's configuration information is transmitted to the external device via Bluetooth.
[0014] In one embodiment, after the step of transmitting the configuration parameters in the sampler to the external device, the method further includes: The actual sampled flow rate was monitored using a miniature orifice flow meter; The target flow rate in the configuration parameters is compared with the actual sampled flow rate to obtain the flow rate deviation. Based on the flow deviation, the sampling pump output power of the sampler is adjusted so that the actual sampled flow rate is maintained within the preset error range of the target flow rate.
[0015] Furthermore, to achieve the above objectives, this application also proposes a multimodal configuration device for a portable field device, the multimodal configuration device for the portable field device comprising: The switching module is used to switch the current mode of the sampler to the point-to-point card mode in response to a preset trigger command when the current mode of the sampler is the card reader mode. The trigger command includes a physical operation command or a voice command. The transmission module is used to transmit the configuration parameters in the sampler to the external device based on a preset touch-to-touch mechanism when an external device is detected to be close and a near-field communication interaction is completed in the point-to-point card mode. The voice configuration module is used to respond to the voice command, activate the voice configuration mode, and identify the target menu item or sampling parameter item according to the voice command to perform menu navigation or parameter configuration of the sampler.
[0016] In addition, to achieve the above objectives, this application also proposes a portable field device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the multimodal configuration method for the portable field device as described above.
[0017] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the multimodal configuration method for portable field devices as described above.
[0018] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the multimodal configuration method for portable field devices as described above.
[0019] This application proposes a multimodal configuration method, apparatus, device, and medium for portable field devices. The method includes: when the sampler's current mode is a card reader mode, switching the card reader mode to a point-to-point card mode in response to a preset trigger command, wherein the trigger command includes a physical operation command or a voice command; in the point-to-point card mode, when an external device is detected to be close and completes near-field communication interaction, transmitting the configuration parameters in the sampler to the external device based on a preset tap-to-tap mechanism; or, in response to the voice command, activating a voice configuration mode, and identifying a target menu item or sampling parameter item according to the voice command to perform menu navigation or parameter configuration of the sampler. This solution integrates two modes: near-field communication "tap-to-copy" parameter copying and fully voice-configurable interaction, significantly improving the ease of on-site configuration in both single-device and multi-device scenarios. On the one hand, users can directly open any menu and set sampling parameters via voice, without relying on physical buttons or screen operations, effectively handling complex working conditions such as outdoor environments, wearing gloves, and strong light. On the other hand, it supports quickly synchronizing configured parameters to other devices via NFC tap-to-copy, achieving consistent deployment of parameters across multiple devices and avoiding duplicate input and human error. Therefore, even under conditions of no network and low interaction, it can still efficiently, accurately, and intuitively complete single-device configuration and multi-device collaborative configuration. Attached Figure Description
[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a flowchart illustrating an embodiment of the multimodal configuration method for portable field devices in this application. Figure 2 This is a flowchart illustrating Embodiment 2 of the multimodal configuration method for portable field devices in this application. Figure 3 This is a flowchart illustrating Embodiment 3 of the multimodal configuration method for portable field devices in this application. Figure 4 This is a schematic diagram of the module structure of the multimodal configuration device for portable field devices according to an embodiment of this application; Figure 5 This is a schematic diagram of the hardware operating environment involved in the multimodal configuration method of portable field devices in this application embodiment.
[0023] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0024] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0025] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0026] The main solution of this application embodiment is as follows: when the sampler's current mode is in card reader mode, in response to a preset trigger command, the card reader mode is switched to point-to-point card mode, the trigger command including physical operation command or voice command; in point-to-point card mode, when an external device is detected to be close and complete near-field communication interaction, the configuration parameters in the sampler are transmitted to the external device based on a preset tap-to-tap mechanism; or in response to the voice command, the voice configuration mode is activated, and the target menu item or sampling parameter item is identified according to the voice command to perform menu navigation or parameter configuration of the sampler.
[0027] In this embodiment, for ease of description, the following description uses a portable field device as the execution subject.
[0028] Because existing portable sampling devices generally rely on physical buttons and small displays for parameter configuration, they are difficult to operate and inefficient in complex conditions such as in the field, at night, in strong light, or when wearing protective gloves. They are also prone to setting errors due to human error. Although some devices support configuration via mobile apps, they are usually limited to single-machine operation and lack effective support for rapid synchronization of multiple machines. Furthermore, they do not have robust interaction methods designed for field constraints such as no network or strong interference, making it difficult to balance the convenience of single-machine configuration with the consistency of multi-machine deployment.
[0029] To address the aforementioned issues, this application provides a multimodal configuration method for portable field devices. By integrating two lightweight and robust interaction modes—voice-based full menu control and NFC tap-to-copy parameter copying—it allows users to directly set any parameters and navigate menus using natural voice commands without requiring screen operation or an external network. Furthermore, it enables one-click synchronization of configured parameters to multiple devices, significantly improving the ease of field configuration, accuracy, and operational efficiency in both single-device and multi-device scenarios.
[0030] It should be noted that the executing entity of this embodiment can be any computing device with data processing capabilities, near-field communication functions, and a program running environment, including but not limited to portable field samplers, smartphones, tablets, personal computers, industrial handheld terminals, or dedicated electronic devices integrating corresponding functional modules. The following uses a portable field sampler as an example to specifically describe this embodiment and the subsequent embodiments.
[0031] Based on this, embodiments of this application provide a multimodal configuration method for portable field devices, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the multimodal configuration method for portable field devices according to this application.
[0032] In this embodiment, the multimodal configuration method for the portable field device includes steps S10 to S20: Step S10: When the current mode of the sampler is in card reader mode, in response to a preset trigger command, the card reader mode is switched to point-to-point card mode. The trigger command includes physical operation command or voice command. It should be noted that the aforementioned reader mode refers to the sampler's near-field communication (NFC) module operating in a state of actively reading external passive NFC tags, in which the sampler initiates communication as a reader. The peer-to-peer card mode refers to the NFC module operating in peer-to-peer (P2P) communication or card emulation mode, enabling bidirectional data exchange with other devices that support the NFC P2P protocol (such as another sampler or IoT box).
[0033] Understandably, in occupational health field operations, multiple samplers need to quickly synchronize the same configuration parameters. However, the traditional method relies on manual input or wired connection, which is cumbersome and prone to errors. Therefore, by executing step S10, the sampler can be dynamically switched to point-to-point card mode with simple user triggering, avoiding complex menu navigation and manual configuration processes. This achieves a highly efficient parameter sharing mechanism of "one-touch transmission", significantly improving the efficiency of multi-machine collaborative deployment and operational reliability.
[0034] In one feasible embodiment, step S10 may include steps S11-S12: Step S11: If the preset trigger command is the physical operation command, then the preset operation action of the target button on the sampler is detected, and the card reader mode is switched to point-to-point card mode based on the preset operation action. In this embodiment, the target button is a dedicated function key (e.g., a button labeled with an NFC or Smart icon) located on the front or side of the sampler housing, and is electrically connected to the GPIO interface of the main control unit. The preset operation action is a double-press operation distinct from regular word pressing, such as two consecutive rapid clicks (double-click), a long press for more than a preset duration (e.g., 1.5 seconds), or a combination of double-click followed by a long press. The main control unit determines whether the preset trigger condition is matched by detecting the time interval or number of button signals.
[0035] Once a match is found, a mode switching command is sent to the near-field communication module, switching it from the default card reader mode to the point-to-point card mode, thus laying the foundation for subsequent "tap-to-tap" parameter transmission.
[0036] By following the steps above, accidental switching of NFC mode due to accidental touch of ordinary function keys is avoided, thus improving the reliability of operation. At the same time, through a non-intrusive physical interaction method, users can still efficiently trigger the configuration sharing function even when wearing gloves or in strong light, significantly enhancing on-site applicability.
[0037] Step S12: If the preset trigger command is the voice command, then the voice command is received and parsed. When the recognition result matches the preset mode switching command, a corresponding mode switching signal is generated to switch the card reader mode to the point-to-point card mode.
[0038] Understandably, in occupational health work environments, users often wear protective gloves or hold sampling tubes with both hands, making it difficult to free up both hands to operate physical buttons. At the same time, traditional menu-based configuration processes are cumbersome and prone to parameter errors due to accidental touches. Therefore, by executing step S12, a low-power voice interaction mechanism is implemented, avoiding reliance on physical buttons and complex human-machine interface operations. This achieves hands-free, fast, and secure NFC mode switching, significantly improving the ease of operation and task execution efficiency in single-person work scenarios.
[0039] In another feasible embodiment, step S12 may further include steps S121 to S124: Step S121: Listen to ambient audio through a microphone array and detect whether the ambient audio includes a preset wake word; In this embodiment, the preset wake-up word is a user-customizable voice keyword (such as "Xiao Cai" or "HiSampler"), which can be configured separately in different language environments to adapt to multi-language usage scenarios such as Mandarin, Cantonese, and English.
[0040] Step S122: If the preset wake-up word is detected, then enter the instruction receiving state; In this embodiment, when the system detects a preset wake-up word, it enters the command receiving state. During the process of entering the state, the system uses a flashing status indicator or a short prompt tone to inform the user that it is ready to receive commands, thus preventing the user from being woken up repeatedly due to lack of response.
[0041] Step S123: Receive a voice command from the user, parse the voice command, and determine whether the voice command matches a preset NFC mode switching command. The NFC mode switching command can be a semantically equivalent natural language instruction such as "tap to set up", "enable NFC pairing", or "switch to card mode".
[0042] Furthermore, step S123 may also include steps A1~A2: Step A1: Recognize and semantically parse the voice command based on a pre-trained multilingual speech recognition model; In this step, the multilingual speech recognition model is an edge speech recognition engine that is pre-trained and stored in the sampler's non-volatile memory. It contains multiple language sub-models, which correspond to the acoustic and language models of commonly used languages such as Mandarin, Cantonese, English, and Spanish.
[0043] The system dynamically loads a matching language sub-model based on the current device's region settings or the user's manual selection. Subsequently, the model extracts acoustic features from the speech signal acquired by the microphone array and processed by noise reduction, and outputs the corresponding text sequence through a decoder. Furthermore, by combining a preset command syntax template or a lightweight intent classifier, the system performs semantic parsing on the text sequence to generate a structured instruction intent representation.
[0044] Step A2: Match the parsing result with the NFC mode switching command set of the current language environment.
[0045] In this step, the NFC mode switching command set is a set of legal instruction templates pre-stored in a local configuration file, corresponding to the currently loaded language sub-model. For example, in a Mandarin environment, this command set may include expressions such as "tap to set up," "enable NFC pairing," and "switch to card mode"; in a Cantonese environment, it may include "transmit parameters using NFC" and "enable pairing mode"; and in an English environment, it may include "enable tap-to-share" and "switch to card mode." The matching process uses a combination of keyword triggering and semantic similarity determination.
[0046] If the parsing result contains core keywords from the command set (such as "NFC", "pairing", "card mode"), and the cosine similarity between the overall semantic vector and the preset intent exceeds the threshold, then the match is considered successful.
[0047] By following the steps above, we can ensure robustness to natural language variants and avoid false triggering, thus ensuring the safety and accuracy of mode switching operations.
[0048] Step S124: If a match is found, a mode switching signal is generated to switch the card reader mode to the point-to-point card mode.
[0049] In this embodiment, the mode switching signal is generated by the sampler's main control unit and sent to the Near Field Communication (NFC) controller chip via the I²C or SPI bus. Upon receiving this signal, the NFC controller immediately stops carrier transmission and tag polling operations in the current reader mode and reconfigures its internal registers, switching its operating mode from reader mode to peer-to-peer card mode. This enables it to act as an active communicator or virtual smart card for bidirectional data interaction with other devices supporting the NFC P2P protocol (such as another sampler or IoT box). After a successful mode switch, the sampler's host interface displays an NFC icon and a pop-up window indicating the switch to "card mode" appears, disappearing automatically after 2 seconds.
[0050] In addition, after the switch is completed, the NFC listening thread is started to continuously detect whether an external device enters the communication field (usually ≤4 cm), in order to prepare for the "transmission of configuration parameters based on the tap-to-connect mechanism" in the subsequent step S20 and ensure a seamless connection of the interaction process.
[0051] Through the above steps, the sampler can safely and efficiently switch near-field communication modes safely and efficiently, solely through natural language commands issued by the user, without physical contact or menu operations. This voice-triggered mechanism deeply integrates low-power wake-word detection, multilingual semantic understanding, and local command matching capabilities. It supports multiple languages and dialects, including Mandarin, Cantonese, and English, and allows users to customize wake-words and NFC switching commands, significantly improving the device's usability and robustness in complex environments (such as wearing protective gloves, holding the tube with both hands, and strong noise backgrounds). Furthermore, since the entire voice recognition and mode switching process is completed on the device itself, without relying on a network connection, it ensures real-time operation while meeting the data security and offline operation requirements of industrial scenarios.
[0052] Step S20: In the point-to-point card mode, when an external device is detected to be close and a near-field communication interaction is completed, the configuration parameters in the sampler are transmitted to the external device based on a preset touch-to-touch mechanism.
[0053] It should be noted that the intelligent terminal that supports near-field communication and has data reception or collaborative processing capabilities can be, for example, another portable sampler, an IoT box, an industrial handheld terminal, or a mobile configuration terminal. The near-field communication interaction refers to the process by which the NFC modules of two devices automatically establish a point-to-point connection according to the ISO / IEC 18092 standard and complete a structured data exchange after the two devices are physically close (usually ≤4 cm). The preset tap-to-tap mechanism refers to a lightweight interaction protocol that automatically pushes configuration parameters simply by touching the device, without requiring user confirmation of pairing, password input, or opening of a specific application.
[0054] Understandably, in occupational health multi-point synchronous sampling tasks, dozens of samplers often need to be deployed on-site and their parameters (such as flow rate, duration, delay start time, etc.) need to be completely consistent. Traditional methods rely on manual setup of each sampler or pairing via USB / Bluetooth, which is not only time-consuming and labor-intensive, but also prone to invalid sampling data or compliance risks due to input errors. Therefore, by executing step S20, the "tap-to-tap" automatic transmission mechanism in NFC point-to-point mode is used to avoid cumbersome manual configuration processes and human error, thereby achieving one-click batch synchronization of parameters, highly consistent deployment, and on-site collaboration with zero learning cost, significantly improving operational efficiency, data reliability, and regulatory compliance.
[0055] In one feasible implementation, step S20 may include steps S21 to S23: Step S21: In response to the tap-to-tap operation with the external device, obtain the device identifier and Bluetooth connection information of the external device through near field communication; In this embodiment, when a user physically brings the sampler and an external device (such as an IoT box or another sampler) close to the effective communication range of NFC, the NFC modules of both parties automatically establish a point-to-point connection based on the ISO / IEC 18092 standard. The sampler, as the initiating communicator, sends a data request frame to the external device; the external device responds and sends back its pre-stored structured device information packet, which includes at least a unique device identifier and Bluetooth connection parameters (including Bluetooth device name, Bluetooth address, pairing key type, and service UUID). This process requires no user authorization or screen confirmation, achieving a zero-interaction data handshake with a simple "touch and exchange."
[0056] Step S22: Based on the Bluetooth connection information, initiate a Bluetooth pairing request to the external device; In this embodiment, after parsing the acquired Bluetooth connection information, the sampler's main control unit temporarily switches its built-in Bluetooth module from the default slave role to the master role, and actively initiates an encrypted pairing request using the Bluetooth address and service UUID. If the external device is an IoT box, it is in Bluetooth master listening mode by default and can immediately accept the request; if it is another sampler, it must have been pre-configured to "pairable" mode. The entire pairing process uses AES-128 encryption to ensure the security of configuration parameter transmission.
[0057] Step S23: After the Bluetooth connection is established, the configuration information of the sampler is transmitted to the external device via Bluetooth.
[0058] In this embodiment, the configuration information includes, but is not limited to, parameters such as target sampling traffic, sampling duration, delayed start time, calibration factor, operator ID, and task number. These parameters are encapsulated in a JOSN or custom binary protocol format and reliably transmitted via dedicated write-in signatures in an established Bluetooth channel.
[0059] After receiving the configuration information, the external device returns an ACK confirmation frame. If no confirmation is received, the sampler will retransmit within a preset time to ensure transmission integrity. After transmission is complete, the sampler can automatically resume its Bluetooth slave role to save power.
[0060] Through the above steps, after completing the NFC "tap-to-connect" interaction, the sampler can automatically establish a secure and stable Bluetooth communication channel and efficiently transmit complete configuration parameters to the external device. This mechanism cleverly combines the convenient triggering capability of near-field communication with the advantages of high bandwidth and high reliability of Bluetooth communication: NFC is used to quickly exchange device identity and connection credentials, avoiding the cumbersome search, confirmation, and PIN code input process in traditional Bluetooth pairing; Bluetooth undertakes the reliable transmission of subsequent structured configuration data, overcoming the limitations of NFC's small data volume and susceptibility to interference in a single transmission.
[0061] Step S30: In response to the voice command, activate the voice configuration mode, and identify the target menu item or sampling parameter item according to the voice command to perform menu navigation or parameter configuration of the sampler.
[0062] It should be noted that the sampling parameters include, but are not limited to, core operating parameters related to the sampling task, such as sampling flow rate, sampling duration, start time, working mode, sampling volume, delay time, and alarm threshold.
[0063] In this embodiment, when a user issues a voice command (e.g., "Open timer settings" or "Set the flow rate to 1 liter per minute"), the language is first converted into text by a locally deployed language recognition module. Then, a pre-trained semantic understanding model identifies the menu path or parameter intent corresponding to the text and maps it to the configuration logic unit within the sampler. If the command involves a specific value, it is parsed based on the user's historical operating habits or default step size; if the command points to a menu item, the user is redirected to the corresponding interface and navigation continues via voice. The entire process requires no touchscreen or physical buttons, achieving a fully voice-based configuration experience and significantly improving ease of operation and safety in situations such as wearing gloves, limited visibility, or using both hands.
[0064] Using the methods described above, when the sampler is currently in reader mode, it switches to point-to-point card mode in response to a preset trigger command. The trigger command may include a physical operation command or a voice command. In point-to-point card mode, when an external device is detected approaching and a near-field communication interaction is completed, the configuration parameters in the sampler are transmitted to the external device based on a preset "tap-to-click" mechanism. This solution integrates near-field communication "tap-to-click" parameter copying and fully voice-configurable interaction modes, significantly improving the ease of on-site configuration in both single-device and multi-device scenarios.
[0065] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in Embodiment 1 above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 After step S10, "when the current mode of the sampler is in reader mode", step S01 is also included: Step S01: When the physical NFC configuration card is detected to be close and near-field communication is completed, the configuration parameters are read from the physical NFC configuration card and loaded into the current user interface of the sampler.
[0066] Compared to the first embodiment, this embodiment also proposes a rapid deployment scheme based on static physical configuration cards, which is suitable for scenarios without network, without collaborative devices, or requiring standardized operations (such as regulatory spot checks, third-party calibration, etc.).
[0067] In this embodiment, the sampler's near-field communication module is in reader mode by default, continuously monitoring the NFC field for the presence of passive NFC tags (i.e., physical NFC configuration cards) conforming to the ISO / IEC 14443 Type A / B standard. When the user brings the physical configuration card close to the sampler's NFC sensing area, the sampler automatically initiates a read request and parses the structured configuration data packet stored in the card. This data packet contains at least key parameters such as sampling mode, target flow rate, sampling duration, and delayed start time.
[0068] If the reading is successful, the sampler main control unit loads the acquired configuration parameters into the current running context and pops up a prompt window on the display screen. The content includes: "Reading successful", the identified sampling mode (such as individual sampling, area monitoring), and detailed configuration information (e.g., flow rate = 1.0 L / min, duration = 8 h). The prompt window will disappear automatically after being displayed for 1 second to avoid interfering with the user's subsequent operations.
[0069] If the reading fails (e.g., card is not authorized, data verification error or communication interruption), a "Reading failed" prompt window will pop up on the screen, which will disappear automatically after 1 second, allowing the user to re-insert the card and try again. The system does not limit the number of times the card can be read repeatedly.
[0070] Furthermore, to balance security and power consumption control, the card reader mode supports both manual and automatic exit mechanisms: Manual exit can be triggered by voice commands (such as "exit card reader mode") or by performing a preset operation (such as double-clicking) on the Smart function key on the sampler; Automatic exit will start a timer after entering card reader mode. If no valid card tapping action is detected within 1 minute, the card reader mode will be automatically exited and the device will return to standby or the previous working state.
[0071] By using the above-described embodiments and methods, a physical NFC configuration card with pre-written standard parameters can be used to achieve zero-configuration sampling startup that is "ready to use with just one tap". This is especially suitable for batch device initialization, compliance auditing, or non-technical operation scenarios, significantly reducing the threshold for use and improving operational consistency.
[0072] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in Embodiment 1 above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 After step S30, the multimodal configuration method for the portable field device further includes steps S301 to S303: Step 301: Monitor the actual sampled flow rate using a miniature orifice flow meter; Step 302: Compare the target flow rate in the configuration parameters with the actual sampled flow rate to obtain the flow rate deviation; Step 303: Based on the flow deviation, adjust the sampling pump output power of the sampler so that the actual sampled flow rate is maintained within the preset error range of the target flow rate.
[0073] Compared to the first embodiment, this embodiment also proposes a dynamic flow calibration mechanism based on closed-loop feedback during the sampling process, which can correct flow drift caused by changes in ambient temperature, back pressure or pump aging in real time during the sampling task execution, thereby ensuring that the sampling accuracy throughout the process meets occupational health standards.
[0074] It should be noted that the aforementioned miniature orifice flowmeter refers to an external digital flow sensing module integrated into the sampling gas path. It operates based on the orifice pressure difference principle: when gas flows through a throttling element with a fixed orifice diameter, a pressure difference is generated upstream and downstream, which is proportional to the square of the flow rate. The miniature flowmeter incorporates a high-precision MEMS pressure sensor and a temperature compensation unit, enabling real-time acquisition of the pressure difference signal and conversion into the volumetric flow rate under standard conditions via an embedded algorithm. This flowmeter communicates with the sampler's main control unit via I²C, UART, or Bluetooth Low Energy interfaces, supporting plug-and-play functionality. Its small overall size facilitates rapid on-site installation within the sampler tube.
[0075] In this embodiment, after the sampling task is initiated according to the configuration parameters received in step S30 or step S20, the data acquisition function of the miniature orifice flowmeter is activated to acquire the actual sampled flow rate value at a preset frequency (e.g., once per second). The main control unit compares this value with the target flow rate (e.g., 1.0 L / min) specified in the configuration parameters in real time and calculates the relative deviation (e.g., deviation = |(actual flow rate)|). If the deviation exceeds the preset tolerance (e.g., ±5%), a proportional-integral (PI) control algorithm is executed to dynamically adjust the driving voltage or PWM duty cycle of the sampling pump, increasing or decreasing the pump output power until the actual flow rate returns to the allowable error range.
[0076] In addition, the flow data, deviation records, and adjustment logs during the calibration process can be uploaded synchronously to the IoT box or cloud platform via Bluetooth or Wi-Fi, allowing remote monitoring personnel to view the sampling quality in real time and generate graphical flow curves for post-audit or compliance verification.
[0077] By using the methods described above, an external micro orifice flow meter is used to monitor the actual sampled flow rate in real time. Combined with a closed-loop feedback control algorithm, the output of the sampling pump is dynamically adjusted, which effectively overcomes the flow drift problem caused by factors such as changes in ambient temperature, pipeline blockage, increased filter membrane load, or pump performance degradation, and ensures the stability of the flow rate throughout the entire cycle from the start to the end of sampling.
[0078] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the multimodal configuration method of the portable field device of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0079] This application also provides a multimodal configuration device for portable field devices; please refer to... Figure 4 The multimodal configuration device for the portable field device includes: The switching module 10 is used to switch the current mode of the sampler to the point-to-point card mode in response to a preset trigger command when the current mode of the sampler is the card reader mode. The trigger command includes a physical operation command or a voice command. The transmission module 20 is used to transmit the configuration parameters in the sampler to the external device based on a preset touch-to-touch mechanism when the external device is detected to be close and a near-field communication interaction is completed in the point-to-point card mode. The voice configuration module 30 is used to respond to the voice command, activate the voice configuration mode, and identify the target menu item or sampling parameter item according to the voice command to perform menu navigation or parameter configuration of the sampler.
[0080] The multimodal configuration device for portable field devices provided in this application, employing the multimodal configuration method for portable field devices in the above embodiments, can solve the technical problem of how to achieve ease of configuration for both single and multiple devices. Compared with the prior art, the beneficial effects of the multimodal configuration device for portable field devices provided in this application are the same as those of the multimodal configuration method for portable field devices provided in the above embodiments, and other technical features in the multimodal configuration device for portable field devices are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0081] This application provides a portable field device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the multimodal configuration method of the portable field device in the first embodiment described above.
[0082] The following is for reference. Figure 5 The diagram illustrates a structural schematic suitable for implementing portable field devices in the embodiments of this application. Portable field devices in the embodiments of this application may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The portable field device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.
[0083] like Figure 5As shown, the portable field device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the multimodal configuration device operation of the portable field device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows portable field devices to communicate wirelessly or wiredly with other devices to exchange data. While the figures show portable field devices with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0084] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0085] The portable field device provided in this application, employing the multimodal configuration method of the portable field device in the above embodiments, can solve the technical problem of how to achieve ease of single-machine and multi-machine configuration. Compared with the prior art, the beneficial effects of the portable field device provided in this application are the same as the beneficial effects of the multimodal configuration method of the portable field device provided in the above embodiments, and other technical features in this portable field device are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.
[0086] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0087] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0088] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the multimodal configuration method of the portable field device in the above embodiments.
[0089] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0090] The aforementioned computer-readable storage medium may be included in the multimodal configuration device of the portable field device; or it may exist independently and not assembled into the portable field device.
[0091] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by the multimodal configuration device of the portable field device, the portable field device: when the sampler's current mode is in card reader mode, in response to a preset trigger command, switches the card reader mode to point-to-point card mode, the trigger command including physical operation commands or voice commands; in point-to-point card mode, when an external device is detected to be close and completes near-field communication interaction, the sampler transmits the configuration parameters in the sampler to the external device based on a preset touch-to-touch mechanism.
[0092] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0093] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0094] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0095] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the multimodal configuration method of the portable field device described above, thereby solving the technical problem of how to achieve ease of single-machine and multi-machine configuration. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the multimodal configuration method of the portable field device provided in the above embodiments, and will not be repeated here.
[0096] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the multimodal configuration method for portable field devices as described above.
[0097] The computer program product provided in this application solves the technical problem of how to achieve ease of configuration for both single-machine and multi-machine setups. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the multimodal configuration method for portable field devices provided in the above embodiments, and will not be repeated here.
[0098] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A multimodal configuration method for a portable field device, characterized in that, The portable field device is a sampler, and the multimodal configuration method of the portable field device includes: When the current mode of the sampler is in card reader mode, in response to a preset trigger command, the card reader mode is switched to point-to-point card mode. The trigger command includes physical operation commands or voice commands. In the point-to-point card mode, when an external device is detected approaching and a near-field communication interaction is completed, the configuration parameters in the sampler are transmitted to the external device based on a preset tap-to-tap mechanism; and / or In response to the voice command, the voice configuration mode is activated, and the target menu item or sampling parameter item is identified according to the voice command to perform menu navigation or parameter configuration of the sampler.
2. The multimodal configuration method for portable field devices as described in claim 1, characterized in that, The step of switching the card reader mode to peer-to-peer card mode in response to a preset trigger command includes: If the preset trigger command is the physical operation command, then the preset operation action on the target button on the sampler is detected, and the card reader mode is switched to point-to-point card mode based on the preset operation action. If the preset trigger command is the voice command, then the voice command is received and parsed. When the recognition result matches the preset mode switching command, a corresponding mode switching signal is generated to switch the card reader mode to the point-to-point card mode.
3. The multimodal configuration method for portable field devices as described in claim 2, characterized in that, The step of receiving and parsing voice commands, and generating a corresponding mode switching signal when the recognition result matches a preset mode switching command, to switch the card reader mode to the peer-to-peer card mode includes: The system monitors ambient audio using a microphone array and detects whether the ambient audio includes a preset wake word. If the preset wake-up word is detected, the system enters the instruction receiving state; Receive voice commands from users, parse the voice commands, and determine whether the voice commands match preset NFC mode switching commands; If a match is found, a mode switching signal is generated to switch the card reader mode to the peer-to-peer card mode.
4. The multimodal configuration method for portable field devices as described in claim 3, characterized in that, The steps of parsing the voice command and determining whether the voice command matches a preset NFC mode switching command include: The voice commands are recognized and semantically parsed based on a pre-trained multilingual speech recognition model; The parsing results are matched with the NFC mode switching command set of the current language environment.
5. The multimodal configuration method for portable field devices as described in claim 1, characterized in that, Following the step of the sampler being in reader mode, the method further includes: When a physical NFC configuration card is detected to be close and near-field communication is completed, configuration parameters are read from the physical NFC configuration card and loaded into the current user interface of the sampler.
6. The multimodal configuration method for portable field devices as described in claim 1, characterized in that, The step of transmitting the configuration parameters in the sampler to the external device based on a preset touch-to-touch mechanism when an external device is detected approaching and a near-field communication interaction is completed includes: In response to a tap-to-tap operation with the external device, the device identifier and Bluetooth connection information of the external device are obtained via near-field communication; Based on the Bluetooth connection information, a Bluetooth pairing request is initiated to the external device; After the Bluetooth connection is established, the sampler's configuration information is transmitted to the external device via Bluetooth.
7. The multimodal configuration method for portable field devices as described in claim 1, characterized in that, After the step of transmitting the configuration parameters in the sampler to the external device, the method further includes: The actual sampled flow rate was monitored using a miniature orifice flow meter; The target flow rate in the configuration parameters is compared with the actual sampled flow rate to obtain the flow rate deviation. Based on the flow deviation, the sampling pump output power of the sampler is adjusted so that the actual sampled flow rate is maintained within the preset error range of the target flow rate.
8. A multimodal configuration device for a portable field device, characterized in that, The multimodal configuration device for the portable field device includes: The switching module is used to switch the current mode of the sampler to the point-to-point card mode in response to a preset trigger command when the current mode of the sampler is the card reader mode. The trigger command includes a physical operation command or a voice command. The transmission module is used to transmit the configuration parameters in the sampler to the external device based on a preset touch-to-touch mechanism when an external device is detected to be close and a near-field communication interaction is completed in the point-to-point card mode. The voice configuration module is used to respond to the voice command, activate the voice configuration mode, and identify the target menu item or sampling parameter item according to the voice command to perform menu navigation or parameter configuration of the sampler.
9. A portable field device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the multimodal configuration method for a portable field device as claimed in any one of claims 1 to 7.
10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the multimodal configuration method for a portable field device as described in any one of claims 1 to 7.