Data transmission method, breathing equipment and terminal equipment
By using NFC technology between the respiratory device and the terminal device, the compatible application is automatically launched for data transmission and parameter adjustment, which solves the problems of complex operation, unclear display and cumbersome updates of existing respiratory devices, and improves the user experience and device convenience.
Patent Information
- Application Number
- CN202410658808.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2025-12-02
AI Technical Summary
Existing respiratory equipment displays incomplete or unclear data, is inconvenient to adjust parameters, has insufficient storage space, is cumbersome to update, is difficult for the elderly to operate, has complicated Bluetooth pairing, provides a poor user experience, cannot provide real-time doctor guidance, and is cumbersome to adjust device parameters.
NFC technology is used to establish a connection between the respiratory device and the terminal device, automatically launch the matching application, perform data transmission and parameter adjustment, simplify Bluetooth pairing, and enable real-time data display and system updates.
It simplifies the operation process of respiratory equipment, improves the user experience, enables real-time data display and equipment parameter adjustment, supports remote doctor guidance, and reduces the complexity of system updates.
Smart Images

Figure CN121056850A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of medical device technology, and more specifically, to a data transmission method, a respiratory device, and a terminal device. Background Technology
[0002] With the development of medical equipment technology, more and more medical devices have become necessities for some families, such as respiratory equipment.
[0003] Currently, most respiratory devices have incomplete or unclear display data on their screens, making it inconvenient to adjust treatment parameters. Furthermore, the devices lack sufficient storage space, and system updates often require the use of SD cards, making upgrades rather inconvenient.
[0004] Using respiratory equipment requires a series of complex operations. For the elderly, who cannot operate it independently, they need the assistance of others, resulting in a poor user experience.
[0005] In addition, when users use breathing equipment at home, they are not familiar with the settings and expected responses of the equipment. They need to use it for a period of time before seeking guidance from a doctor. They cannot get real-time assistance and guidance from the doctor, which affects the user experience and may even affect the treatment effect.
[0006] Existing respiratory therapy devices can communicate with mobile applications (APPs) via Bluetooth. However, when respiratory therapy devices communicate with mobile phones via Bluetooth modules, the Bluetooth switch needs to be turned on, and Bluetooth devices need to find and pair with each other and enter a password before the two devices can verify each other and establish a trusted connection, i.e., pairing is successful. The operation is relatively cumbersome and complicated. Patients face a challenge in learning to use it, or medical staff are usually too busy, and complicated operations will waste their valuable treatment time. Summary of the Invention
[0007] One objective of this invention is to provide a new technical solution for a data transmission method.
[0008] According to a first aspect of the present invention, a data transmission method is provided, implemented by a respiratory device, comprising:
[0009] In response to sensing that the terminal device has entered the NFC sensing range of the respiratory device, an NFC connection is established with the terminal device;
[0010] Based on the NFC connection, the application information corresponding to the respiratory device is sent to the terminal device to launch the target application; wherein, the target application is an application adapted to the respiratory device, and the application information is used to trigger the terminal device to launch the target application;
[0011] Data is transferred to the target application that has been successfully launched.
[0012] Optionally, the target application is a local application;
[0013] If the target application is not installed on the terminal device, the application information is also used to trigger the terminal device to launch the target application after it is installed locally; or,
[0014] If the target application installed on the terminal device is not the latest version, the application information is also used to trigger the terminal device to upgrade the target application to the latest version and then launch the target application.
[0015] Optionally, the data transfer with the successfully launched target application includes:
[0016] Receive and execute control commands sent by the target application.
[0017] Optionally, the control command includes device parameter information and / or device update information, and receiving and executing the control command sent by the target application through the terminal device includes:
[0018] Receive the device parameter information sent by the target application, and adjust the device according to the device parameter information; and / or,
[0019] Receive the device update information sent by the target application, and complete the update according to the device update information.
[0020] Optionally, the data transfer with the successfully launched target application includes:
[0021] The user data determined by the breathing device is sent to the target application for data processing; wherein, the data processing includes: updating the page display information of the target application based on the obtained user data, and / or sending the obtained user data to other terminal devices or the cloud.
[0022] Optionally, the method further includes:
[0023] Based on the NFC connection, the Bluetooth information of the respiratory device is sent to the terminal device to establish a Bluetooth connection between the respiratory device and the terminal device; wherein...
[0024] The data transmission with the successfully launched target application includes:
[0025] Data is transmitted with the target application that has been successfully launched via the established Bluetooth connection.
[0026] Optionally, the breathing device is provided with a charging coil, the position of which corresponds to the placement position of the breathing device for NFC connection, and the method further includes:
[0027] In response to sensing that the terminal device is placed in the placement position, the terminal device is charged through the charging coil.
[0028] Optionally, the charging coil includes the NFC coil of the breathing device.
[0029] According to a second aspect of the present invention, a data transmission method is provided, implemented by a terminal device, comprising:
[0030] Based on the NFC connection established with the respiratory device, the system receives application information corresponding to the respiratory device sent by the respiratory device.
[0031] Based on the application information, launch the target application that is compatible with the respiratory device;
[0032] Based on the successful launch of the target application, data is transmitted with the respiratory device.
[0033] Optionally, launching a target application compatible with the respiratory device based on the application information includes:
[0034] If the target application is not installed on the terminal device, the target application is installed locally based on the application information and then launched; or...
[0035] Based on the application information, it is detected whether the target application installed on the terminal device is the latest version. If it is determined that the target application is not the latest version, the target application is upgraded to the latest version and then the target application is launched.
[0036] Optionally, the method further includes:
[0037] While maintaining the NFC connection with the breathing device, the display screen of the terminal device is kept lit, and the application page of the target application is displayed on the display screen.
[0038] Optionally, while maintaining the NFC connection with the breathing device, controlling the display screen of the terminal device to remain lit includes:
[0039] While maintaining the NFC connection with the breathing device and with the current time within a set time range, the display screen is kept lit.
[0040] Optionally, the data transmission with the respiratory device based on the successfully launched target application includes:
[0041] The control commands generated by the target application are sent to the breathing device so that the breathing device executes the control commands.
[0042] Optionally, the control command includes device parameter information and / or device update information, and sending the control command generated by the target application to the respiratory device to cause the respiratory device to execute the control command includes:
[0043] The device parameter information generated by the target application is sent to the respiratory device for device parameter adjustment; and / or,
[0044] The device update information obtained by the target application is sent to the respiratory device to update the device software.
[0045] Optionally, the data transmission with the respiratory device based on the successfully launched target application includes:
[0046] Receive user data sent by the breathing device, update the page display information of the target application based on the user data, and / or send the user data to other terminal devices or the cloud.
[0047] Optionally, the method further includes:
[0048] Receive Bluetooth information sent by the breathing device based on the NFC connection;
[0049] Based on the Bluetooth information, a Bluetooth connection is established with the respiratory device; wherein...
[0050] Based on the successfully launched target application, data transmission is performed with the respiratory device, including:
[0051] Based on the successfully launched target application, data is transmitted with the respiratory device via an established Bluetooth connection.
[0052] Optionally, the breathing device is provided with a charging coil, the position of which corresponds to the placement position of the breathing device for NFC connection, and the method further includes:
[0053] In response to sensing a setting signal emitted by the charging coil, the terminal device performs a wireless charging operation; wherein the setting signal is a signal indicating that the breathing device is a wireless charging source, and the setting signal is emitted by the breathing device sensing that the terminal device is placed in the placement position.
[0054] According to a third aspect of the present invention, a breathing device is provided, comprising a memory and a processor, the memory storing a computer program for controlling the processor to operate in order to perform the data transmission method according to any one of the first aspects of the present invention.
[0055] According to a fourth aspect of the present invention, a terminal device is provided, including a memory and a processor, the memory storing a computer program for controlling the processor to operate in order to perform the data transmission method according to any of the second aspects of the present invention.
[0056] The data transmission method provided in this invention involves the following steps: When a user's handheld terminal device approaches the NFC (Near Field Communication) sensing area of a respiratory device, the respiratory device establishes an NFC connection with the terminal device. Based on this NFC connection, the respiratory device sends application information corresponding to the respiratory device to the terminal device. Upon receiving the application information, the terminal device automatically launches a target application compatible with the respiratory device. This allows the successfully launched target application to transmit data, enabling the terminal device to function as both a display and operating terminal for the respiratory device. Therefore, according to the method of this invention, a user can easily use their handheld terminal device as both a display and operating terminal for the respiratory device simply by bringing it close to the NFC sensing area. This eliminates the need for a series of complex operations, such as unlocking the phone, enabling Bluetooth to scan for nearby Bluetooth devices, establishing a Bluetooth connection with the scanned respiratory device, searching for the target application on the phone, and launching the target application for data transmission via Bluetooth. This significantly simplifies user operation. This is particularly beneficial for users of respiratory devices (typically the elderly or those with mobility issues), allowing them to complete the process independently without assistance, thus improving the ease of use of the respiratory device.
[0057] In some embodiments, the respiratory device receives control commands sent by a target application successfully launched by the terminal device via NFC. These control commands include device parameter information and / or device update information. After receiving the device parameter information or device update information, the respiratory device can adjust its own parameters according to the device parameter information or complete the system update according to the device update information. This achieves the technical effects of conveniently adjusting the respiratory device parameters through the terminal device and facilitating device system upgrades without the need for an SD card.
[0058] In some embodiments, the respiratory device sends user data to a target application, enabling the target application to process and display the data on the app. This allows the target application to display user data in real time, facilitating users' viewing of respiratory data and monitoring their breathing status. Simultaneously, the target application can also save the user's treatment data and parameters under the corresponding user account. This allows users to access their own treatment data by logging into the corresponding user account on the target application when using different respiratory devices, and then transmit their treatment data to the respiratory device, ensuring the continuity of treatment and facilitating multiple users to use the same ventilator.
[0059] In some embodiments, the target application may also send the obtained user data to other terminal devices or the cloud, enabling professionals to observe and remotely guide the user's condition in real time through other terminal devices or the cloud, solving the problem of not being able to communicate with doctors in real time when using respiratory devices at home, and improving the user experience.
[0060] In some embodiments, based on the NFC connection between the respiratory device and the terminal device, the respiratory device sends its Bluetooth information to the terminal device, enabling the terminal device and the respiratory device to automatically establish a Bluetooth connection. This eliminates the need for manual Bluetooth pairing by the user, simplifying the user experience. The respiratory device can then transmit data with the target application through the established Bluetooth connection, which improves the transmission rate compared to NFC connections and allows for data transmission over longer distances.
[0061] In some embodiments, the breathing device is provided with a charging coil, the position of which corresponds to the placement position of the breathing device for NFC connection. When the terminal device is placed in the placement position, the breathing device can use the charging coil to charge the terminal device and replenish its power.
[0062] The features and advantages of the embodiments of this specification will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0063] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments of this specification and, together with their description, serve to explain the principles of these embodiments.
[0064] Figure 1 This is a flowchart of a data transmission method according to an embodiment of the present invention.
[0065] Figure 2 A further schematic flowchart of a data transmission method according to an embodiment of the present invention is shown.
[0066] Figure 3A further schematic flowchart of a data transmission method according to an embodiment of the present invention is shown.
[0067] Figure 4 A further schematic flowchart of a data transmission method according to an embodiment of the present invention is shown.
[0068] Figure 5 A further schematic flowchart of a data transmission method according to an embodiment of the present invention is shown.
[0069] Figure 6 This is a schematic diagram of the hardware structure of a breathing device according to an embodiment of the present invention.
[0070] Figure 7 This is a schematic diagram of the hardware structure of a terminal device according to an embodiment of the present invention. Detailed Implementation
[0071] Various exemplary embodiments of this specification will now be described in detail with reference to the accompanying drawings.
[0072] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the embodiments of this specification or their application or use.
[0073] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0074] <Method Implementation>
[0075] In one embodiment of the present invention, a data transmission method is provided. This data transmission method is implemented by a respiratory device and is used for data transmission between the respiratory device and a terminal device. Figure 1 As shown, the data transmission method of this embodiment may include the following steps S110 to S130.
[0076] Step S110: In response to sensing that the terminal device has entered the NFC sensing range of the breathing device, an NFC connection is established with the terminal device.
[0077] When the NFC sensing area of the terminal device enters the NFC sensing range of the respiratory device, or when the NFC sensing area of the terminal device is placed against the NFC sensing area of the respiratory device, the NFC chip of the terminal device and the NFC chip of the respiratory device recognize each other and establish a connection.
[0078] Specifically, the respiratory device is equipped with an NFC chip, which may be built into the respiratory device or externally located on it. The terminal device is also equipped with an NFC chip. When the area of the terminal device with its NFC chip is close to the area of the respiratory device with its NFC chip—that is, when the NFC sensing area of the terminal device is against the NFC sensing area of the respiratory device—the NFC chips of the terminal device and the respiratory device recognize each other and establish a connection.
[0079] In one embodiment, the display interface of the respiratory device and / or the display interface of the terminal device can display the connection result with NFC connectivity. It should be noted that if the respiratory device has no display device, the connection result with NFC connectivity can be displayed only on the display interface of the terminal device.
[0080] Step S120: Based on the NFC connection, the application information corresponding to the respiratory device is sent to the terminal device to launch the target application; wherein, the target application is an application adapted to the respiratory device, and the application information is used to trigger the terminal device to launch the target application.
[0081] The NFC chip in the respiratory device stores application information corresponding to the respiratory device. After the respiratory device establishes an NFC connection with the terminal device, the respiratory device sends the application information corresponding to the respiratory device to the terminal device.
[0082] The target application that is compatible with the respiratory device can be a local application installed on the terminal device, a web application, or a lightweight application such as a mini-program; there are no restrictions here.
[0083] The application information corresponding to the respiratory device includes the application name, application identifier, and latest version information. Upon receiving this application information, the terminal device automatically launches the target application compatible with the respiratory device and displays the application interface. This application interface may include functions such as real-time data display, user report output, respiratory device parameter adjustment, device firmware upgrades, and data upload.
[0084] Step S130: Data transfer is performed with the successfully launched target application.
[0085] Once the target application is launched, the respiratory device, connected via NFC, can upload device parameters or user data to the application, and also receive commands or data from the application. Users can process and output the data uploaded by the respiratory device or interact with the device by clicking or operating different functional modules within the application.
[0086] The data transmission method provided in this embodiment of the invention enables communication between a terminal device and a respiratory device via NFC, allowing data transmission between the two devices. This makes the terminal device serve as both a display terminal and an operating terminal for the respiratory device, facilitating operation and simplifying the hardware configuration of the respiratory device, thus reducing its cost.
[0087] In one embodiment, when the target application is a local application, if the target application is not installed on the terminal device, the application information is also used to trigger the terminal device to install the target application locally and then launch the target application; or, if the target application installed on the terminal device is not the latest version, the application information is also used to trigger the terminal device to upgrade the target application to the latest version and then launch the target application.
[0088] After receiving the application information, the terminal device checks whether the corresponding target application is installed locally based on the application name or application identifier. If the detection result indicates that the target application is not installed locally, the terminal device automatically triggers the installation of the target application locally. After the terminal device completes the installation of the target application, it automatically launches the target application.
[0089] Upon receiving the application information, if the target application is already installed on the terminal device, it checks whether the locally installed target application is the latest version based on the application's latest version information. If the detection result indicates that the locally installed target application is not the latest version, the terminal device automatically triggers the installation of the latest version of the target application. After the terminal device completes the installation of the latest version of the target application, it automatically launches the latest version of the target application.
[0090] In one embodiment, step S130 includes: receiving and executing control commands sent by the target application.
[0091] The breathing device receives and executes control commands sent by the target application via NFC.
[0092] In one embodiment, the control command includes device parameter information. The respiratory device receives the device parameter information sent by the target application and adjusts the device according to the device parameter information, thereby setting the device parameters.
[0093] Different users require different treatment parameters when using respiratory equipment, which need to be adjusted based on the user's health condition. Sometimes, adjustments to the equipment parameters also need to be made in real time based on changes in the user's breathing status. Equipment parameter information can include respiratory equipment system parameters and output parameters such as output flow rate, output pressure, and output gas temperature and humidity. When a user uses the respiratory equipment, after establishing a connection between the respiratory equipment and the terminal device, the corresponding output parameters can be determined on the target application according to different user settings. The target application then sends the set parameters to the respiratory equipment, which adjusts the corresponding parameters based on the received data to meet the treatment needs of different users. This allows for convenient adjustment of equipment parameters through the terminal device, improving the user experience.
[0094] In one embodiment, the device parameter information can be device parameters set by the user or medical staff on the interface of the target application. For example, it can be set by the user based on historical usage parameters, or it can be determined by the medical staff in real time based on the user's current respiratory status.
[0095] In one embodiment, the device parameter information may be device parameters obtained by the target application from other terminal devices or the cloud. Other terminal devices may be other terminal devices used by the user, terminal devices used by the doctor, or server-side devices. For example, the respiratory device can transmit device parameter information to the target application, which can then upload the obtained device parameter information to a server or cloud for storage. When the user uses the respiratory device again, the target application can obtain the corresponding device parameters from the server or cloud and send them to the respiratory device. Alternatively, medical personnel can upload the corresponding user's parameter settings through the server or cloud. When the user uses the respiratory device, the target application can obtain the data set by the medical personnel from the server or cloud and send it to the respiratory device.
[0096] In one embodiment, the control command includes device update information. The respiratory device receives the device update information sent by the target application and completes the system update based on the device update information, thereby achieving real-time device updates.
[0097] In one embodiment, device update information can be information obtained by the target application from a server or the cloud. Respiratory device manufacturers typically maintain and update their devices' systems continuously to provide the latest technical support and keep the devices up-to-date, and usually upload new device update information to a server or the cloud. Therefore, by communicating with the server or cloud via the target application, system update packages for the respiratory device can be downloaded and received at any time. Then, when the respiratory device and the terminal device are connected, the device update information is transmitted to the respiratory device to complete the system update, allowing the user to use the latest version of the respiratory device system for treatment. Obtaining system update data through the target application avoids the cumbersome and untimely updates associated with traditional SD card storage, and also eliminates the need for the respiratory device to have large storage space for system update data, making device updates more timely and convenient.
[0098] In one embodiment, step S130 includes: sending the user data determined by the respiratory device to the target application for data processing, wherein the data processing includes: updating the page display information of the target application based on the obtained user data, and / or sending the obtained user data to other terminal devices or the cloud.
[0099] User data identified by the breathing device is transmitted to the terminal device via NFC.
[0100] In one embodiment, user data may include user breathing data and user treatment data, wherein user breathing data may include respiratory data such as user respiratory rate and tidal volume, and user treatment data may include treatment parameters such as treatment pressure and treatment time.
[0101] In one embodiment, other terminal devices may be other terminal devices used by the user, terminal devices specifically for use by doctors, or server-side devices.
[0102] On the one hand, by transmitting user data to the target application, which then updates the page display information based on the acquired user data, real-time display of user respiratory data is achieved. This allows for monitoring the latest respiratory status and enables parameter settings, data processing, waveform display, and more. Simultaneously, the target application can save user respiratory and treatment data, with different user data stored under their respective user accounts within the application. This ensures treatment continuity when users use different respiratory devices, improves user experience, and facilitates multiple users using the same ventilator. On the other hand, sending user data to other terminal devices or the cloud allows access to the user's data on both platforms. This not only enables users to use the corresponding data to link with their respiratory devices when using different devices but also allows professionals to easily access user data for remote guidance. This solves the problems of data loss due to terminal device changes and the inability to communicate with doctors in real time when using respiratory devices at home.
[0103] In the above embodiments, the terminal device and the respiratory device use NFC for communication. This requires the NFC sensing area of the terminal device to always be within the NFC sensing range of the respiratory device. Once the terminal device is removed, communication between the respiratory device and the terminal device will be interrupted, making operation inconvenient. In addition, the transmission rate of NFC technology is also relatively low.
[0104] Therefore, in one embodiment, the method further includes: sending Bluetooth information of the respiratory device to a terminal device based on an NFC connection to establish a Bluetooth connection between the respiratory device and the terminal device. The respiratory device can then transmit data with a successfully launched target application through the established Bluetooth connection.
[0105] The NFC chip in the respiratory device stores the device's Bluetooth information. After the respiratory device establishes an NFC connection with the terminal device, it sends its Bluetooth information to the terminal device. Upon receiving the Bluetooth information, the terminal device can automatically verify the device and establish a Bluetooth connection between the terminal device and the respiratory device.
[0106] NFC's short-range interaction greatly simplifies the entire authentication and identification process, making device-to-device communication more direct, secure, and clear. Subsequent data exchange can be conducted via NFC or Bluetooth.
[0107] Through the established Bluetooth connection, the respiratory device can transmit data with the target application. On one hand, this enables automatic and rapid establishment of a Bluetooth connection between the terminal device and the respiratory device, eliminating the need for manual Bluetooth connection operations in the terminal device's control panel. On the other hand, the established Bluetooth connection complements NFC communication, enabling faster and longer-range data transmission between the terminal device and the respiratory device.
[0108] In one embodiment, the breathing device receives and executes control commands sent by a target application via an established Bluetooth connection.
[0109] In one embodiment, the control command includes device parameter information. The respiratory device receives the device parameter information sent by the target application and adjusts the device according to the device parameter information, thereby setting the device parameters. The content and specific determination method of the device parameter information can be referred to the description in the above embodiments, and will not be elaborated further here.
[0110] In one embodiment, the control command includes device update information. The respiratory device receives the device update information sent by the target application through an established Bluetooth connection and completes the system update based on the device update information, thus achieving real-time device updates. The specific method for determining the device update information can be referred to the description in the above embodiments, and will not be elaborated further here.
[0111] In one embodiment, user data identified by the respiratory device is sent to a target application for data processing via an established Bluetooth connection. This data processing includes updating the target application's page display information based on the obtained user data, and / or sending the obtained user data to other terminal devices or the cloud. The content of the user data can be referred to the description in the above embodiments, and will not be elaborated further here.
[0112] In one embodiment, the respiratory device may further include a WIFI module, and the method further includes: based on NFC connection, the respiratory device receives WIFI authentication information sent by the terminal device, and automatically performs WIFI authentication to establish a WIFI network connection for the respiratory device.
[0113] Respiratory devices typically have a Wi-Fi module for network connectivity. After establishing an NFC connection between the respiratory device and a terminal device, the terminal device can send its established Wi-Fi authentication information to the respiratory device. Upon receiving the Wi-Fi authentication information, the respiratory device can automatically verify and establish a Wi-Fi connection. This allows for convenient automatic Wi-Fi authentication for respiratory devices, avoiding cumbersome operations on the device itself.
[0114] In one embodiment, the respiratory device receives and executes control commands sent by a target application via an established Wi-Fi network connection.
[0115] In one embodiment, the control command includes device parameter information. The respiratory device receives the device parameter information sent by the target application and adjusts the device according to the device parameter information, thereby setting the device parameters. The content and specific determination method of the device parameter information can be referred to the description in the above embodiments, and will not be elaborated further here.
[0116] In one embodiment, the control command includes device update information. The respiratory device receives device update information sent by the target application through an established Wi-Fi network connection and completes a system update based on the device update information, thus achieving real-time device updates. The specific method for determining the device update information can be referred to the description in the above embodiments, and will not be elaborated further here.
[0117] In one embodiment, user data identified by the respiratory device is sent to a target application for data processing via an established Wi-Fi network connection. This data processing includes updating the target application's page display information based on the obtained user data, and / or sending the obtained user data to other terminal devices or the cloud. The content of the user data can be referred to the description in the above embodiments, and will not be elaborated further here.
[0118] In one embodiment, the breathing device is provided with a charging coil. The location of the charging coil corresponds to a placement position of the breathing device for NFC connection. The method further includes charging the terminal device in response to sensing that the terminal device is placed in the placement position.
[0119] In one embodiment, the charging coil is an NFC charging coil, meaning it can be used for both NFC communication and wireless charging without increasing the hardware cost of the respiratory device. The terminal device is attached to the NFC sensing area of the respiratory device, allowing the NFC coil to both communicate and charge the terminal device.
[0120] When the charging coil is an NFC charging coil, the terminal device can be automatically charged when placed against the NFC sensing area of the respiratory device. Alternatively, the NFC charging coil can charge the terminal device by turning on the charging control switch on the respiratory device. Or, the charging operation can be initiated through the target application, allowing the NFC charging coil to charge the terminal device. This eliminates the inconvenience of the respiratory device being unable to replenish the terminal device's power after connection.
[0121] In one embodiment, the charging coil is a wireless charging coil. This coil is used solely as a wireless charging coil and is positioned at the NFC connection point of the respiratory device. When the terminal device is placed against the NFC sensing area of the respiratory device, it can be positioned at a given location on the device, at which point the wireless charging coil can charge the terminal device.
[0122] When the charging coil is a wireless charging coil, the terminal device can be automatically charged by placing it on the NFC sensing area of the respiratory device. Alternatively, the wireless charging coil can charge the terminal device by turning on the charging control switch on the respiratory device or by initiating the charging operation through the target application, eliminating the inconvenience of the respiratory device being unable to replenish the terminal device's power after being connected to it.
[0123] In one embodiment of the present invention, a data transmission method is provided. This data transmission method is implemented by a terminal device and is used for data transmission between a respiratory device and the terminal device. The terminal device can be any of a mobile phone, tablet computer, or laptop computer.
[0124] according to Figure 2 As shown, the data transmission method of this embodiment may include the following steps S210 to S230.
[0125] Step S210: Based on the NFC connection established with the respiratory device, receive the application information corresponding to the respiratory device sent by the respiratory device.
[0126] When the NFC sensing area of the terminal device enters the NFC sensing range of the respiratory device, or when the NFC sensing area of the terminal device is placed against the NFC sensing area of the respiratory device, the NFC chip of the terminal device and the NFC chip of the respiratory device recognize each other and establish a connection.
[0127] Specifically, the respiratory device is equipped with an NFC chip, which may be built into the respiratory device or externally located on it. The terminal device is also equipped with an NFC chip. When the area of the terminal device with its NFC chip is close to the area of the respiratory device with its NFC chip—that is, when the NFC sensing area of the terminal device is against the NFC sensing area of the respiratory device—the NFC chips of the terminal device and the respiratory device recognize each other and establish a connection.
[0128] In one embodiment, the display interface of the respiratory device and / or the display interface of the terminal device can display the connection result with NFC connectivity. It should be noted that if the respiratory device has no display device, the connection result with NFC connectivity can be displayed only on the display interface of the terminal device.
[0129] The NFC chip in the respiratory device stores application information corresponding to the respiratory device. After the respiratory device establishes an NFC connection with the terminal device, the respiratory device sends the application information corresponding to the respiratory device to the terminal device.
[0130] Step S220: Based on the application information, launch the target application that is compatible with the respiratory device.
[0131] The target application that is compatible with the respiratory device can be a local application installed on the terminal device, a web application, or a lightweight application such as a mini-program; there are no restrictions here.
[0132] The application information corresponding to the respiratory device includes the application name, application identifier, and latest version information. Upon receiving this application information, the terminal device automatically launches the target application compatible with the respiratory device and displays the application interface. This application interface may include functions such as real-time data display, user report output, respiratory device parameter adjustment, device firmware upgrades, and data upload.
[0133] Step S230: Based on the successful launch of the target application, data is transmitted with the respiratory device.
[0134] Once the target application is launched, the respiratory device, connected via NFC, can upload device parameters or user data to the application, and also receive commands or data from the application. Users can process and output the data uploaded by the respiratory device or interact with the device by clicking or operating different functional modules within the application.
[0135] The data transmission method provided in this embodiment of the invention enables communication between a terminal device and a respiratory device via NFC, allowing data transmission between the two devices. In this way, the terminal device serves as both a display terminal and an operation terminal for the respiratory device, facilitating operation and use, and enabling the operation of the respiratory device.
[0136] In one embodiment, step S220 specifically includes: if the target application is not installed on the terminal device, installing the target application locally according to the application information and then launching the target application; or, according to the application information, detecting whether the target application installed on the terminal device is the latest version, and if it is determined that the target application is not the latest version, upgrading the target application to the latest version and then launching the target application.
[0137] After receiving the application information, the terminal device checks whether the corresponding target application is installed locally based on the application name or application identifier. If the detection result indicates that the target application is not installed locally, the terminal device automatically triggers the installation of the target application locally. After the terminal device completes the installation of the target application, it automatically launches the target application.
[0138] Upon receiving the application information, if the target application is already installed on the terminal device, it checks whether the locally installed target application is the latest version based on the application's latest version information. If the detection result indicates that the locally installed target application is not the latest version, the terminal device automatically triggers the installation of the latest version of the target application. After the terminal device completes the installation of the latest version of the target application, it automatically launches the latest version of the target application.
[0139] In one embodiment, while maintaining an NFC connection with the respiratory device, the control terminal device's display screen remains on, showing the application page of the target application. In this case, the terminal device functions as the respiratory device's display screen, and the constantly lit display allows the user to operate it at any time.
[0140] In one embodiment, controlling the display screen of the terminal device to remain lit while maintaining an NFC connection with the respiratory device includes: controlling the display screen to remain lit while maintaining an NFC connection with the respiratory device and the current time is within a set time range.
[0141] The time range can be set according to user needs. The time range can be a period of time during the day or a period of time at night.
[0142] In one embodiment, step S230 includes: sending control commands generated by the target application to the respiratory device to cause the respiratory device to execute the control commands.
[0143] The terminal device sends control commands generated by the target application to the respiratory device via NFC.
[0144] In one embodiment, the control command includes device parameter information. The respiratory device receives the device parameter information sent by the target application and adjusts the device according to the device parameter information, thereby setting the device parameters. The content and specific determination method of the device parameter information can be referred to the description in the above embodiments, and will not be elaborated further here.
[0145] In one embodiment, the control command includes device update information. The terminal device sends the device update information obtained by the target application to the respiratory device, enabling the respiratory device to complete a system update based on the device update information, thus achieving real-time device updates. The specific method for determining the device update information can be referred to the description in the above embodiments, and will not be elaborated further here.
[0146] In one embodiment, step S230 includes: receiving user data sent by the respiratory device, updating the page display information of the target application based on the user data, and / or sending the user data to other terminal devices or the cloud.
[0147] The breathing device transmits user data to the terminal device via NFC.
[0148] In the above embodiments, the terminal device and the respiratory device use NFC for communication. This requires the NFC sensing area of the terminal device to always be within the NFC sensing range of the respiratory device. Once the terminal device is removed, communication between the respiratory device and the terminal device will be interrupted, making operation inconvenient. In addition, the transmission rate of NFC technology is also relatively low.
[0149] Therefore, in one embodiment, the method further includes: receiving Bluetooth information sent by the respiratory device based on an NFC connection; and establishing a Bluetooth connection with the respiratory device based on the Bluetooth information. Data is then transmitted with the respiratory device via the established Bluetooth connection based on the successfully launched target application.
[0150] The NFC chip in the respiratory device stores the device's Bluetooth information. After the respiratory device establishes an NFC connection with the terminal device, it sends its Bluetooth information to the terminal device. Upon receiving the Bluetooth information, the terminal device can automatically verify the device and establish a Bluetooth connection between the terminal device and the respiratory device.
[0151] NFC's short-range interaction greatly simplifies the entire authentication and identification process, making device-to-device communication more direct, secure, and clear. Subsequent data exchange can be conducted via NFC or Bluetooth.
[0152] Through the established Bluetooth connection, the terminal device can transmit data with the respiratory equipment. This achieves automatic and rapid connection establishment between the terminal device and the respiratory equipment, eliminating the need for manual Bluetooth connection operations on the terminal device's control panel. Furthermore, the established Bluetooth connection complements NFC communication, enabling faster and longer-range data transmission between the terminal device and the respiratory equipment.
[0153] In one embodiment, through an established Bluetooth connection, the terminal device sends control commands generated by the target application to the respiratory device, so that the respiratory device executes the control commands.
[0154] In one embodiment, the control command includes device parameter information. The terminal device sends the device parameter information generated by the target application to the respiratory device, so that the respiratory device adjusts itself according to the device parameter information, thereby setting the device parameters. The content and specific determination method of the device parameter information can be referred to the description in the above embodiments, and will not be elaborated further here.
[0155] In one embodiment, the control command includes device update information. The terminal device sends the device update information obtained by the target application to the respiratory device, enabling the respiratory device to complete a system update based on the device update information, thus achieving real-time device updates. The specific method for determining the device update information can be referred to the description in the above embodiments, and will not be elaborated further here.
[0156] In one embodiment, through an established Bluetooth connection, the terminal device receives user data sent by the respiratory device, updates the page display information of the target application based on the user data, and / or sends the user data to other terminal devices or the cloud. The content of the user data can be referred to the description in the above embodiments, and will not be elaborated further here.
[0157] In one embodiment, the respiratory device may further include a WIFI module, and the method further includes: based on NFC connection, the terminal device sends WIFI authentication information to the respiratory device and automatically performs WIFI authentication to establish a WIFI network connection with the respiratory device.
[0158] Respiratory devices typically have a Wi-Fi module for network connectivity. After establishing an NFC connection between the respiratory device and a terminal device, the terminal device can send its established Wi-Fi authentication information to the respiratory device. Upon receiving the Wi-Fi authentication information, the respiratory device can automatically verify and establish a Wi-Fi connection. This allows for convenient automatic Wi-Fi authentication for respiratory devices, avoiding cumbersome operations on the device itself.
[0159] In one embodiment, the respiratory device receives and executes control commands sent by a target application via an established Wi-Fi network connection.
[0160] In one embodiment, the control command includes device parameter information. The respiratory device receives the device parameter information sent by the target application and adjusts the device according to the device parameter information, thereby setting the device parameters. The content and specific determination method of the device parameter information can be referred to the description in the above embodiments, and will not be elaborated further here.
[0161] In one embodiment, the control command includes device update information. The respiratory device receives device update information sent by the target application through an established Wi-Fi network connection and completes a system update based on the device update information, thus achieving real-time device updates. The specific method for determining the device update information can be referred to the description in the above embodiments, and will not be elaborated further here.
[0162] In one embodiment, through an established Wi-Fi network connection, the terminal device receives user data sent by the respiratory device, updates the page display information of the target application based on the user data, and / or the target application sends the user data to other terminal devices or the cloud. The content included in the user data can be referred to the description in the above embodiments, and will not be elaborated further here.
[0163] In one embodiment, the respirator is provided with a charging coil. The location of the charging coil corresponds to a placement position of the respirator for NFC connection. The method further includes: in response to sensing a setting signal emitted by the charging coil, the terminal device performs a wireless charging operation; wherein the setting signal is a signal indicating that the respirator is a wireless charging source, and the setting signal is emitted by the respirator upon sensing that the terminal device is placed in the placement position.
[0164] In one embodiment, the charging coil is an NFC charging coil, meaning it can be used for both NFC communication and wireless charging without increasing the hardware cost of the respiratory device. The terminal device is attached to the NFC sensing area of the respiratory device, and the NFC charging coil can charge the terminal device simultaneously while enabling communication.
[0165] When the charging coil is an NFC charging coil, the terminal device can be automatically charged when placed against the NFC sensing area of the respiratory device. Alternatively, the NFC charging coil can charge the terminal device by turning on the charging control switch on the respiratory device or by initiating the charging operation through the target application, eliminating the inconvenience of the respiratory device being unable to replenish the terminal device's power after being connected to it.
[0166] In one embodiment, the charging coil is a wireless charging coil. This coil is used solely as a wireless charging coil and is positioned at the NFC connection point of the respiratory device. When the terminal device is placed against the NFC sensing area of the respiratory device, it can be positioned at a given location on the device, at which point the wireless charging coil can charge the terminal device.
[0167] When the charging coil is a wireless charging coil, the terminal device can be automatically charged by placing it on the NFC sensing area of the respiratory device. Alternatively, the wireless charging coil can charge the terminal device by turning on the charging control switch on the respiratory device or by initiating the charging operation through the target application, eliminating the inconvenience of the respiratory device being unable to replenish the terminal device's power after being connected to it.
[0168] Figure 3 This is another schematic flowchart illustrating a data transmission method according to an embodiment of the present invention. See also... Figure 3 The method includes steps S301 to S307.
[0169] In step S301, in response to the terminal device entering the NFC sensing range of the respiratory device, the respiratory device establishes an NFC connection with the terminal device.
[0170] In step S302, based on the NFC connection, the respiratory device sends the application information corresponding to the respiratory device to the terminal device.
[0171] In step S303, the terminal device automatically launches the target application that is compatible with the respiratory device based on the application information.
[0172] In step S304, the terminal device sends the control command generated by the target application to the breathing device based on the NFC connection.
[0173] In step S305, the breathing device receives and executes the control command sent by the target application.
[0174] In step S306, the breathing device sends the identified user data to the target application based on the NFC connection.
[0175] In step S307, the terminal device receives user data sent by the respiratory device, updates the page display information of the target application based on the user data, and / or sends the user data to other terminal devices or the cloud.
[0176] Figure 4 This is another schematic flowchart illustrating a data transmission method according to an embodiment of the present invention. See also... Figure 4 The method includes steps S401 to S407.
[0177] In step S401, in response to the terminal device entering the NFC sensing range of the respiratory device, the respiratory device establishes an NFC connection with the terminal device.
[0178] Step S402: Based on the NFC connection, send the application information and Bluetooth information corresponding to the breathing device to the terminal device.
[0179] In step S403, the terminal device establishes a Bluetooth connection with the respiratory device based on the Bluetooth information, and automatically launches the target application adapted to the respiratory device based on the application information.
[0180] In step S404, the terminal device sends the control commands generated by the target application to the respiratory device via Bluetooth connection.
[0181] In step S405, the breathing device receives and executes control commands sent by the target application based on the Bluetooth connection.
[0182] In step S406, the breathing device sends the determined user data to the target application via Bluetooth connection.
[0183] In step S407, the terminal device receives user data sent by the respiratory device, updates the page display information of the target application based on the user data, and / or sends the user data to other terminal devices or the cloud.
[0184] Figure 5 This is another schematic flowchart illustrating a data transmission method according to an embodiment of the present invention. The NFC coil is a charging coil. See also... Figure 5 The method includes steps S501 to S507.
[0185] In step S501, in response to the terminal device entering the NFC sensing range of the respiratory device, the respiratory device establishes an NFC connection with the terminal device and charges the terminal device.
[0186] Step S502: Based on the NFC connection, send the application information and Bluetooth information corresponding to the breathing device to the terminal device.
[0187] In step S503, the terminal device establishes a Bluetooth connection with the respiratory device based on the Bluetooth information, and automatically launches the target application adapted to the respiratory device based on the application information.
[0188] In step S504, the terminal device sends the control commands generated by the target application to the respiratory device via Bluetooth connection.
[0189] In step S505, the breathing device receives and executes control commands sent by the target application based on the Bluetooth connection.
[0190] In step S506, the breathing device sends the determined user data to the target application via Bluetooth connection.
[0191] In step S507, the terminal device receives user data sent by the respiratory device, updates the page display information of the target application based on the user data, and / or sends the user data to other terminal devices or the cloud.
[0192] <Device Embodiment>
[0193] One embodiment of the present invention provides a breathing device, such as Figure 6 As shown. The respiratory device 600 includes a memory 620 and a processor 610. The memory 620 stores a computer program that controls the processor 610 to operate and execute the data transmission method in any of the above embodiments.
[0194] One embodiment of the present invention provides a terminal device, such as... Figure 7 As shown. The terminal device 700 includes a memory 720 and a processor 710. The memory 720 stores a computer program that controls the processor 710 to operate and execute the data transmission method in any of the above embodiments.
[0195] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. For the apparatus embodiments, relevant parts can be referred to the descriptions in the method embodiments.
[0196] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0197] Embodiments of this specification may be systems, methods, and / or computer program products. A computer program product may include a computer-readable storage medium having computer instructions stored thereon for causing a processor to implement various aspects of the embodiments of this specification.
[0198] Computer-readable storage media can be tangible devices capable of holding and storing computer instructions for use by computer instruction execution devices. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing computer instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0199] The computer instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper cables, fiber optic cables, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives computer instructions from the network and forwards them to computer-readable storage media within the respective computing / processing device.
[0200] 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 specification. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of computer instructions, which contains one or more executable computer instructions for implementing a specified logical function. 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 consecutive 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, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It will be known to those skilled in the art that implementation in hardware, implementation in software, and implementation using a combination of software and hardware are equivalent.
[0201] Various embodiments of this specification have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A data transmission method, characterized in that, Implemented by a breathing device, including: In response to sensing that the terminal device has entered the NFC sensing range of the respiratory device, an NFC connection is established with the terminal device; Based on the NFC connection, the application information corresponding to the respiratory device is sent to the terminal device to launch the target application; wherein, the target application is an application adapted to the respiratory device, and the application information is used to trigger the terminal device to launch the target application; Data is transferred to the target application that has been successfully launched.
2. The method according to claim 1, characterized in that, The target application is a local application; If the target application is not installed on the terminal device, the application information is also used to trigger the terminal device to launch the target application after it is installed locally; or, If the target application installed on the terminal device is not the latest version, the application information is also used to trigger the terminal device to upgrade the target application to the latest version and then launch the target application.
3. The method according to claim 1, characterized in that, The data transmission with the successfully launched target application includes: Receive and execute control commands sent by the target application.
4. The method according to claim 3, characterized in that, The control commands include device parameter information and / or device update information. Receiving and executing the control commands sent by the target application through the terminal device includes: Receive the device parameter information sent by the target application, and adjust the device according to the device parameter information; and / or, Receive the device update information sent by the target application, and complete the update according to the device update information.
5. The method according to claim 1, characterized in that, The data transmission with the successfully launched target application includes: The user data determined by the breathing device is sent to the target application for data processing; wherein, the data processing includes: updating the page display information of the target application based on the obtained user data, and / or sending the obtained user data to other terminal devices or the cloud.
6. The method according to claim 1, characterized in that, The method further includes: Based on the NFC connection, the Bluetooth information of the respiratory device is sent to the terminal device to establish a Bluetooth connection between the respiratory device and the terminal device; wherein... The data transmission with the successfully launched target application includes: Data is transmitted with the target application that has been successfully launched via the established Bluetooth connection.
7. The method according to claim 1, characterized in that, The breathing device is equipped with a charging coil, the position of which corresponds to the placement position of the breathing device for NFC connection. The method further includes: In response to sensing that the terminal device is placed in the placement position, the terminal device is charged through the charging coil.
8. The method according to claim 7, characterized in that, The charging coil includes the NFC coil of the breathing device.
9. A data transmission method, characterized in that, Implemented by the terminal device, including: Based on the NFC connection established with the respiratory device, the system receives application information corresponding to the respiratory device sent by the respiratory device. Based on the application information, launch the target application that is compatible with the respiratory device; Based on the successful launch of the target application, data is transmitted with the respiratory device.
10. The method according to claim 9, characterized in that, The step of launching a target application compatible with the respiratory device based on the application information includes: If the target application is not installed on the terminal device, the target application is installed locally based on the application information and then launched; or... Based on the application information, it is detected whether the target application installed on the terminal device is the latest version. If it is determined that the target application is not the latest version, the target application is upgraded to the latest version and then the target application is launched.
11. The method according to claim 9, characterized in that, The method further includes: While maintaining the NFC connection with the breathing device, the display screen of the terminal device is kept lit, and the application page of the target application is displayed on the display screen.
12. The method according to claim 11, characterized in that, While maintaining the NFC connection with the breathing device, controlling the display screen of the terminal device to remain lit includes: While maintaining the NFC connection with the breathing device and with the current time within a set time range, the display screen is kept lit.
13. The method according to claim 9, characterized in that, The data transmission between the target application, which has been successfully launched, and the respiratory device includes: The control commands generated by the target application are sent to the breathing device so that the breathing device executes the control commands.
14. The method according to claim 13, characterized in that, The control command includes device parameter information and / or device update information. Sending the control command generated by the target application to the respiratory device to cause the respiratory device to execute the control command includes: The device parameter information generated by the target application is sent to the respiratory device for device parameter adjustment; and / or, The device update information obtained by the target application is sent to the respiratory device to update the device software.
15. The method according to claim 9, characterized in that, The data transmission between the target application, which has been successfully launched, and the respiratory device includes: Receive user data sent by the breathing device, update the page display information of the target application based on the user data, and / or send the user data to other terminal devices or the cloud.
16. The method according to claim 9, characterized in that, The method further includes: Receive Bluetooth information sent by the breathing device based on the NFC connection; Based on the Bluetooth information, a Bluetooth connection is established with the respiratory device; wherein... Based on the successfully launched target application, data transmission is performed with the respiratory device, including: Based on the successfully launched target application, data is transmitted with the respiratory device via an established Bluetooth connection.
17. The method according to claim 9, characterized in that, The breathing device is equipped with a charging coil, the position of which corresponds to the placement position of the breathing device for NFC connection. The method further includes: In response to sensing a setting signal emitted by the charging coil, the terminal device performs a wireless charging operation; wherein the setting signal is a signal indicating that the breathing device is a wireless charging source, and the setting signal is emitted by the breathing device sensing that the terminal device is placed in the placement position.
18. A breathing device, characterized in that, include: A memory and a processor, the memory storing computer instructions that, when executed by the processor, implement the data transmission method according to any one of claims 1-8.
19. A terminal device, characterized in that, include: A memory and a processor, the memory storing computer instructions that, when executed by the processor, implement the data transmission method according to any one of claims 9-17.