Log transmission method, continuous glucose monitoring device, and system
By introducing a charging management unit and a USB-to-TTL converter for signal conversion into the continuous glucose monitoring device, log information transmission without disassembly is achieved, solving the problems of complex device disassembly and damage in existing technologies and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2026-03-03
AI Technical Summary
When existing continuous glucose monitoring devices malfunction, obtaining log information through reserved log test points requires disassembly, which leads to device damage and operational complexity, increasing costs for both users and manufacturers.
By utilizing the pin connection between the charging device and the transmitter through the data transmission channel between the charging device and the transmitter, log information can be transmitted without disassembling the device. This includes opening and closing the data transmission channel between the TRX pin and the VIN pin of the charging management unit, and using a USB to TTL converter for signal conversion to achieve log information transmission.
It simplifies the log acquisition process, reduces operational complexity, avoids damage caused by device disassembly, and improves the user experience.
Smart Images

Figure CN120072244B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of equipment fault detection technology, and more specifically, to a log transmission method, a continuous blood glucose monitoring device and system. Background Technology
[0002] In existing continuous glucose monitoring (CGM) devices, the reserved log test points are not publicly visible. When a CGM device malfunctions, log information needs to be obtained through these reserved log test points. This requires disassembling the CGM device, which is not only complex but also prone to damaging the device, potentially rendering it unusable and causing inconvenience and additional costs for both users and manufacturers. Summary of the Invention
[0003] One objective of this disclosure is to provide a new technical solution for a log transmission method.
[0004] According to a first aspect of this disclosure, a log transmission method is provided for use in a continuous glucose monitoring device. The continuous glucose monitoring device includes a transmitter and a charging device. The transmitter includes a first control unit and a charging management unit. The TX pin of the first control unit is connected to the TRX pin of the charging management unit. The VIN pin of a first charging interface of the charging management unit is connected to the VBUS pin of a second charging interface of the charging device.
[0005] The method includes: the charging device receiving a first instruction sent by a terminal device, and sending the first instruction to the charging management unit;
[0006] The charging management unit opens the data transmission channel between the TRX pin and the VIN pin according to the first instruction;
[0007] The first control unit sends log information to the TRX pin of the charging management unit via the TX pin;
[0008] The charging management unit sends the log information to the charging device through the data transmission channel between the TRX pin and the VIN pin, the connected VIN pin and the VBUS pin;
[0009] The charging device sends the log information to the terminal device.
[0010] Optionally, the charging device receives a first instruction sent by the terminal device, including:
[0011] The charging device receives a first instruction sent by the terminal device via a first USB-to-TTL converter and a data cable, wherein...
[0012] One end of the first USB-to-TTL converter is connected to the terminal device, and the other end is connected to the data cable, which is also connected to the charging device.
[0013] The first USB to TTL device is used to convert the signal corresponding to the first instruction into a signal corresponding to a protocol that the charging management unit can recognize.
[0014] Optionally, the first USB to TTL device includes a second control unit and a USB to TTL unit, wherein,
[0015] One end of the data cable is connected to the second control unit, the second control unit is connected to the USB to TTL unit, and the USB to TTL unit is connected to the terminal device.
[0016] Optionally, when the data transmission channel between the TRX pin and the VIN pin is open, the connection between the first USB-to-TTL device and the data line, and the connection between the first USB-to-TTL device and the terminal device are both disconnected. One end of the second USB-to-TTL device is connected to the data line, and the other end of the second USB-to-TTL device is connected to the terminal device.
[0017] The charging device sends the log information to the terminal device, including:
[0018] The charging device sends the log information to the data line, so that the data line transmits the log information to the second USB to TTL device, and then the log information is transmitted to the terminal device through the second USB to TTL device.
[0019] Optionally, the method further includes:
[0020] The charging device receives a second instruction sent by the terminal device and sends the second instruction to the charging management unit;
[0021] The charging management unit disconnects the data transmission channel between the TRX pin and the VIN pin according to the second instruction.
[0022] Optionally, the method further includes: when the charging management unit detects that there is a charging voltage input on the VIN pin, the charging management unit disconnects the data transmission channel between the TRX pin and the VIN pin.
[0023] According to a second aspect of this disclosure, a continuous glucose monitoring device is provided, comprising: a transmitter and a charging device, wherein the transmitter includes a first control unit and a charging management unit, the TX pin of the first control unit is connected to the TRX pin of the charging management unit, and the VIN pin of a first charging interface of the charging management unit is connected to the VBUS pin of a second charging interface of the charging device, wherein...
[0024] The charging device is used to receive a first instruction sent by the terminal device and send the first instruction to the charging management unit;
[0025] The charging management unit is used to open the data transmission channel between the TRX pin and the VIN pin according to the first instruction;
[0026] The first control unit is used to send log information to the TRX pin of the charging management unit via the TX pin;
[0027] The charging management unit is also used to send the log information to the charging device through the data transmission channel between the TRX pin and the VIN pin, the connected VIN pin and the VBUS pin;
[0028] The charging device is also used to send the log information to the terminal device.
[0029] According to a third aspect of this disclosure, a continuous glucose monitoring system is provided, comprising: a continuous glucose monitoring device as provided in the second aspect, a first USB-to-TTL converter, and a data cable, wherein...
[0030] When the data transmission channel between the TRX pin and the VIN pin is not open, one end of the first USB-to-TTL device is connected to the terminal device, and the other end of the first USB-to-TTL device is connected to the data line, which is also connected to the charging device.
[0031] The terminal device is used to send a first instruction to the first USB to TTL device.
[0032] The first USB-to-TTL device is used to convert the signal corresponding to the first instruction into a signal corresponding to a protocol recognizable by the charging management unit, and send the signal corresponding to the protocol recognizable by the charging management unit to the data line.
[0033] The data line is used to send signals corresponding to the protocol that the charging management unit can recognize to the charging device.
[0034] Optionally, the system further includes a second USB-to-TTL device, wherein,
[0035] With the data transmission channel between the TRX pin and the VIN pin enabled, the connections between the first USB-to-TTL device and the data line, and between the first USB-to-TTL device and the terminal device, are both disconnected. One end of the second USB-to-TTL device is connected to the data line, and the other end of the second USB-to-TTL device is connected to the terminal device.
[0036] The charging device is used to send the log information to the data line.
[0037] The data cable is used to send the log information to the second USB to TTL device.
[0038] The second USB to TTL device is used to convert the log information to obtain the USB signal corresponding to the log information, and send the USB signal corresponding to the log information to the terminal device.
[0039] Optionally, the first USB to TTL device includes a second control unit and a USB to TTL unit, wherein,
[0040] One end of the data cable is connected to the second control unit, the second control unit is connected to the USB to TTL unit, and the USB to TTL unit is connected to the terminal device.
[0041] The log transmission method provided by this invention obtains log information by means of an external device, without the need to disassemble the continuous blood glucose monitoring device, which simplifies the log acquisition process, reduces operational complexity, avoids damage caused by device disassembly, and improves user experience.
[0042] 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
[0043] 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.
[0044] Figure 1 This is a structural block diagram of a continuous blood glucose monitoring device according to an embodiment of the present invention.
[0045] Figure 2 This is a flowchart of a log transmission method according to an embodiment of the present invention.
[0046] Figure 3 This is a structural block diagram of a first USB to TTL device according to an embodiment of the present invention.
[0047] Figure 4 This is a flowchart of a log transmission method according to an embodiment of the present invention.
[0048] Figure 5 This is a block diagram of a continuous blood glucose monitoring system according to an embodiment of the present invention.
[0049] Figure 6 This is a block diagram of a continuous blood glucose monitoring system according to an embodiment of the present invention. Detailed Implementation
[0050] Various exemplary embodiments of this specification will now be described in detail with reference to the accompanying drawings.
[0051] 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.
[0052] 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.
[0053] One embodiment of the present invention provides a log transmission method. This method is applied to a continuous glucose monitoring device. According to... Figure 1 As shown, the continuous glucose monitoring device includes a transmitter 110 and a charging device 120. The transmitter 110 includes a first control unit 111 and a charging management unit 112. The TX pin of the first control unit 111 is connected to the TRX pin of the charging management unit 112. The charging management unit 112 has a first charging interface. The charging device 120 has a second charging interface. The first charging interface includes a VIN pin and a GND pin. The second charging interface includes a VBUS pin and a GND pin. The VIN pin of the first charging interface is connected to the VBUS pin of the second charging interface.
[0054] The first control unit 111 can control the charging management unit 112. In related technologies, the first control unit 111 controls the charging management unit 112 via I... 2 The charging management unit 112 is controlled via the C interface, but the first control unit 111 cannot be controlled via I. 2 The C interface controls the charging management unit to enable the data transmission channel between the TRX pin and the VIN pin.
[0055] The continuous glucose monitoring device enables the transmitter to be charged via a charging device through the adapter connection of the first charging interface and the second charging interface.
[0056] The first charging port and the second charging port can be magnetic charging ports. The first charging port is a magnetic female charging connector, and the second charging port is a magnetic male charging connector.
[0057] according to Figure 2 As shown, the log transmission method includes the following steps S210 to S240.
[0058] In step S210, the charging device receives the first instruction sent by the terminal device and sends the first instruction to the charging management unit.
[0059] The first instruction is used to instruct the data transmission channel between the TRX pin and the VIN pin of the charging management unit to be turned on.
[0060] In some embodiments, the charging device receives a first instruction sent by the terminal device via a first USB-to-TTL adapter and a data cable. One end of the first USB-to-TTL adapter is connected to the terminal device, and the other end is connected to the data cable, which is also connected to the charging device. That is, the first instruction is issued by the terminal device and transmitted to the charging device sequentially via the first USB-to-TTL adapter and the data cable.
[0061] according to Figure 3 As shown, the first USB-to-TTL device includes a second control unit and a USB-to-TTL unit. One end of the data cable is connected to the second control unit, the second control unit is connected to the USB-to-TTL unit, and the USB-to-TTL unit is connected to the terminal device.
[0062] The first instruction received by the first USB-to-TTL device is a USB signal. The USB-to-TTL unit is used to convert the USB signal corresponding to the first instruction into a TTL signal, and the second control unit is used to convert the TTL signal into a signal corresponding to a protocol that can be recognized by the charging management unit.
[0063] The data cable includes a male Type-C connector. The male Type-C connector of the data cable connects to the female Type-C connector of the charging device. The VBUS pin of the data cable is connected to the CMD pin of the second control unit, and the GND pin of the data cable is connected to the GND of the second control unit.
[0064] In step S220, the charging management unit opens the data transmission channel between the TRX pin of the charging management unit and the VIN pin of the charging management unit according to the first instruction.
[0065] A switch is provided between the TRX pin and the VIN pin of the charging management unit. The charging management unit controls the opening or closing of the data transmission channel between the TRX pin and the VIN pin by controlling the state of this switch.
[0066] When the data transmission channel between the TRX pin and the VIN pin is enabled, the charging management unit enters TRX mode. TRX mode indicates that the charging management unit can communicate with other devices to exchange data, thus enabling the charging management unit to perform not only charging functions but also data transmission functions.
[0067] In step S230, the first control unit sends log information to the TRX pin of the charging management unit via the TX pin.
[0068] The TRX pin of the charging management unit can both send and receive data. In this embodiment, the TRX pin is used to receive log information sent by the TX pin.
[0069] Log information consists of data and information related to blood glucose monitoring recorded by the continuous glucose monitoring device during operation. This log signal includes the device's operating status, blood glucose measurement results, user operation records, and abnormal event records.
[0070] In step S240, the charging management unit sends log information to the charging device through the data transmission channel between the TRX pin and the VIN pin, and the connected VIN pin and VBUS pin.
[0071] In step S250, the charging device sends the log information to the terminal device.
[0072] In some embodiments, when the data transmission channel between the TRX pin and the VIN pin is enabled, the connection between the first USB to TTL device and the data line, and the connection between the first USB to TTL device and the terminal device are both disconnected. One end of the second USB to TTL device is connected to the data line, and the other end of the second USB to TTL device is connected to the terminal device.
[0073] It should be noted that the connection between the first USB to TTL device and the data cable, and the connection between the first USB to TTL device and the terminal device, are both disconnected, while the data cable remains connected to the charging device.
[0074] In this embodiment, step S250 specifically includes: the charging device sending log information to the data line, so that the data line transmits the log information to the second USB to TTL device, and the second USB to TTL device transmits the log information to the terminal device.
[0075] The second USB to TTL device includes a USB to TTL unit. One end of the USB to TTL unit is connected to the data cable, and the other end is connected to the terminal device.
[0076] The log information transmitted via the data line received by the USB to TTL unit is a TTL signal. The USB to TTL unit is used to convert the TTL signal corresponding to the log information into a USB signal, and then send the USB signal corresponding to the log information to the terminal device.
[0077] It should be noted that both the first USB to TTL device and the second USB to TTL device include a USB to TTL unit. This USB to TTL unit can convert USB signals to TTL signals or vice versa. The USB to TTL unit in the first USB to TTL device and the second USB to TTL device can be the same component or two separate components.
[0078] The log transmission method provided by this invention obtains log information by means of an external device, without the need to disassemble the continuous blood glucose monitoring device, which simplifies the log acquisition process, reduces operational complexity, avoids damage caused by device disassembly, and improves user experience.
[0079] In some embodiments, the method further includes: the charging device receiving a second instruction sent by the terminal device and sending the second instruction to the charging management unit; the charging management unit disconnecting the data transmission channel between the TRX pin and the VIN pin according to the second instruction. The second instruction is used to instruct the disconnection of the data transmission channel between the TRX pin and the VIN pin.
[0080] In some embodiments, the charging device receives a second instruction sent by the terminal device via a first USB-to-TTL converter and a data cable. That is, the second instruction is issued by the terminal device and transmitted sequentially to the charging device via the first USB-to-TTL converter and the data cable.
[0081] In some embodiments, the method further includes: when the charging management unit detects a charging voltage input to the VIN pin, the charging management unit disconnects the data transmission channel between the TRX pin and the VIN pin.
[0082] In this embodiment, when the Type-C female connector of the data cable is connected to an external terminal device, or when the Type-C female connector of the data cable is connected to an external charger, the charging management unit can detect that there is a charging voltage input on the VIN pin. At this time, the charging management unit automatically exits the TRX mode.
[0083] Figure 4 This is a flowchart illustrating a log transmission method according to an embodiment of the present invention. Figure 4 As shown, the method includes the following steps S401 to S412.
[0084] Step S401: The terminal device sends a first instruction to the first USB to TTL device.
[0085] In step S402, the USB to TTL unit in the first USB to TTL device converts the USB signal corresponding to the first instruction into a TTL signal, and the second control unit in the first USB to TTL device converts the TTL signal into a signal corresponding to a protocol that can be recognized by the charging management unit.
[0086] In step S403, the second control unit transmits the signal corresponding to the charging management unit's identifiable protocol to the data line.
[0087] In step S404, the data line transmits the signal corresponding to the protocol that the charging management unit can recognize, corresponding to the first instruction, to the Type-C female connector of the charging device through the Type-C male connector of the data line.
[0088] In step S405, the charging device sends the signal corresponding to the charging management unit that can recognize the protocol corresponding to the first instruction to the charging management unit.
[0089] In step S406, the charging management unit opens the data transmission channel between the TRX pin and the VIN pin of the charging management unit according to the first instruction.
[0090] In step S407, the first control unit sends log information to the TRX pin of the charging management unit via the TX pin.
[0091] In step S408, the charging management unit sends log information to the charging device through the data transmission channel between the TRX pin and the VIN pin, and the connected VIN pin and VBUS pin.
[0092] It should be noted that during the transmission of log information, the connection between the first USB to TTL device and the data cable, and the connection between the first USB to TTL device and the terminal device are both disconnected. The data cable remains connected to the charging device. One end of the second USB to TTL device is connected to the data cable, and the other end of the second USB to TTL device is connected to the terminal device.
[0093] In step S409, the charging device sends log information to the data cable.
[0094] In step S410, the data cable transmits the log information to the second USB to TTL device.
[0095] In step S411, the second USB to TTL device transmits the log information to the terminal device.
[0096] In step S412, when the charging management unit detects a charging voltage input on the VIN pin, the charging management unit disconnects the data transmission channel between the TRX pin and the VIN pin, terminating the transmission of log information.
[0097] One embodiment of the present invention also provides a continuous glucose monitoring device. According to... Figure 1 As shown, the continuous glucose monitoring device includes a transmitter 110 and a charging device 120. The transmitter 110 includes a first control unit 111 and a charging management unit 112. The TX pin of the first control unit 111 is connected to the TRX pin of the charging management unit 112. The charging management unit 112 has a first charging interface. The charging device 120 has a second charging interface. The first charging interface includes a VIN pin and a GND pin. The second charging interface includes a VBUS pin and a GND pin. The VIN pin of the first charging interface is connected to the VBUS pin of the second charging interface.
[0098] The first control unit 111 can control the charging management unit 112. In related technologies, the first control unit 111 controls the charging management unit 112 via I... 2 The charging management unit 112 is controlled via the C interface, but the first control unit 111 cannot be controlled via I. 2 The C interface controls the charging management unit to enable the data transmission channel between the TRX pin and the VIN pin. The first control unit 111 is an MCU (Microcontroller Unit).
[0099] The continuous glucose monitoring device enables the transmitter to be charged via a charging device through the adapter connection of the first charging interface and the second charging interface.
[0100] The first charging port and the second charging port can be magnetic charging ports. The first charging port is a magnetic female charging connector, and the second charging port is a magnetic male charging connector.
[0101] In this embodiment, the charging device 120 is used to receive a first instruction sent by the terminal device and send the first instruction to the charging management unit 112; the charging management unit 112 is used to open the data transmission channel between the TRX pin and the VIN pin according to the first instruction; the first control unit 111 is used to send log information to the TRX pin of the charging management unit 112 through the TX pin; the charging management unit 112 is also used to send log information to the charging device 120 through the data transmission channel between the TRX pin and the VIN pin, the connected VIN pin and VBUS pin; the charging device 120 is also used to send the log information to the terminal device.
[0102] In some embodiments, the charging device is further configured to receive a second instruction sent by the terminal device and send the second instruction to the charging management unit. The charging management unit is further configured to disconnect the data transmission channel between the TRX pin and the VIN pin according to the second instruction. The second instruction is used to instruct the disconnection of the data transmission channel between the TRX pin and the VIN pin.
[0103] In some embodiments, when the charging management unit detects a charging voltage input to the VIN pin, the charging management unit is also configured to disconnect the data transmission channel between the TRX pin and the VIN pin.
[0104] An embodiment of the present invention also provides a continuous blood glucose monitoring system. According to... Figure 5 As shown, the continuous blood glucose monitoring system includes a continuous blood glucose monitoring device as provided in any of the above embodiments, a first USB to TTL device, and a data cable.
[0105] according to Figure 5 As shown, when the data transmission channel between the TRX pin and the VIN pin is not enabled, one end of the first USB to TTL device is connected to the terminal device, and the other end of the first USB to TTL device is connected to the data line, which is also connected to the charging device.
[0106] The terminal device sends a first command to the first USB-to-TTL converter. The first USB-to-TTL converter converts the signal corresponding to the first command into a signal corresponding to a protocol recognizable by the charging management unit, and sends this signal to the data line. The data line sends the signal corresponding to the protocol recognizable by the charging management unit to the charging device. The charging device sends the signal corresponding to the protocol recognizable by the charging management unit to the charging management unit. The charging management unit opens the data transmission channel between the TRX pin and the VIN pin according to the signal corresponding to the protocol recognizable by the charging management unit.
[0107] according to Figure 3 As shown, the first USB-to-TTL device includes a second control unit and a USB-to-TTL unit. One end of a data cable is connected to the second control unit, the second control unit is connected to the USB-to-TTL unit, and the USB-to-TTL unit is connected to the terminal device. In this embodiment, the USB-to-TTL unit is used to convert the USB signal corresponding to the first command into a TTL signal, and the second control unit is used to convert the TTL signal into a signal corresponding to a protocol recognizable by the charging management unit.
[0108] In some embodiments, the continuous glucose monitoring system further includes a second USB to TTL device.
[0109] according to Figure 6As shown, with the data transmission channel between the TRX pin and the VIN pin already open, the connection between the first USB to TTL device and the data line, and the connection between the first USB to TTL device and the terminal device are both disconnected. One end of the second USB to TTL device is connected to the data line, and the other end of the second USB to TTL device is connected to the terminal device.
[0110] In this embodiment, the first control unit sends log information to the TRX pin of the charging management unit via the TX pin. The charging management unit also sends the log information to the charging device via the data transmission channel between the TRX pin and the VIN pin, and the connected VIN and VBUS pins. The charging device sends the log information to the data line. The data line sends the log information to the second USB-to-TTL device. The second USB-to-TTL device converts the log information to obtain the corresponding USB signal and sends the corresponding USB signal to the terminal device.
[0111] The second USB-to-TTL device includes a USB-to-TTL unit. One end of the USB-to-TTL unit is connected to the data cable, and the other end is connected to the terminal device. The second control unit is an MCU (Microcontroller Unit).
[0112] In some embodiments, the terminal device is equipped with an app for continuous blood glucose monitoring. The terminal device can send log information to a cloud server.
[0113] 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.
[0114] 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.
[0115] 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.
[0116] 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.
[0117] The computer instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network layer, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network layer may include copper cables, fiber optic cables, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network layer adapter card or network layer interface in each computing / processing device receives computer instructions from the network layer and forwards those instructions for storage on computer-readable storage media within the respective computing / processing device.
[0118] 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.
[0119] 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 log transfer method characterized by, The application is applied to a continuous blood glucose monitoring device, the continuous blood glucose monitoring device comprises a transmitter and a charging device, the transmitter comprises a first control unit and a charging management unit, a TX pin of the first control unit is connected with a TRX pin of the charging management unit, a VIN pin of a first charging interface of the charging management unit is connected with a VBUS pin of a second charging interface of the charging device, wherein, The method comprises that the charging device receives a first instruction sent by a terminal device and sends the first instruction to the charging management unit; The charging management unit opens a data transmission channel between the TRX pin and the VIN pin according to the first instruction; The first control unit sends log information to the TRX pin of the charging management unit through the TX pin; The charging management unit sends the log information to the charging device through the data transmission channel between the TRX pin and the VIN pin, the connected VIN pin and the VBUS pin; The charging device sends the log information to the terminal device.
2. The method of claim 1, wherein, The charging device receives a first instruction sent by a terminal device, which comprises: The charging device receives the first instruction sent by the terminal device through a first USB-to-TTL device and a data line, wherein, One end of the first USB-to-TTL device is connected with the terminal device, the other end of the first USB-to-TTL device is connected with the data line, and the data line is also connected with the charging device, The first USB-to-TTL device is used to convert a signal corresponding to the first instruction into a signal corresponding to a protocol recognizable by the charging management unit.
3. The method of claim 2, wherein, The first USB-to-TTL device comprises a second control unit and a USB-to-TTL unit, wherein, One end of the data line is connected with the second control unit, the second control unit is connected with the USB-to-TTL unit, and the USB-to-TTL unit is connected with the terminal device.
4. The method of claim 2, wherein, In the case that the data transmission channel between the TRX pin and the VIN pin has been opened, the connection between the first USB-to-TTL device and the data line and the connection between the first USB-to-TTL device and the terminal device are both in a disconnected state, one end of a second USB-to-TTL device is connected with the data line, and the other end of the second USB-to-TTL device is connected with the terminal device, wherein, The charging device sends the log information to the terminal device, which comprises: The charging device sends the log information to the data line, so that the data line transmits the log information to the second USB-to-TTL device, and then transmits the log information to the terminal device through the second USB-to-TTL device.
5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: The charging device receives a second instruction sent by the terminal device and sends the second instruction to the charging management unit; The charging management unit disconnects the data transmission channel between the TRX pin and the VIN pin according to the second instruction.
6. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: In a case that the charging management unit detects that the VIN pin inputs a charging voltage, the charging management unit disconnects a data transmission channel between the TRX pin and the VIN pin.
7. A continuous glucose monitoring device, characterized by, The system comprises: The transmitter and the charging device, the transmitter comprises a first control unit and a charging management unit, a TX pin of the first control unit is connected with a TRX pin of the charging management unit, and a VIN pin of a first charging interface of the charging management unit is connected with a VBUS pin of a second charging interface of the charging device, wherein The charging device is configured to receive a first instruction sent by a terminal device and send the first instruction to the charging management unit. The charging management unit is configured to open a data transmission channel between the TRX pin and the VIN pin according to the first instruction. The first control unit is configured to send log information to the TRX pin of the charging management unit through the TX pin. The charging management unit is further configured to send the log information to the charging device through the data transmission channel between the TRX pin and the VIN pin, the connected VIN pin, and the VBUS pin. The charging device is further configured to send the log information to the terminal device.
8. A continuous glucose monitoring system, characterized by The system comprises: The continuous blood glucose monitoring device, the first USB-to-TTL device, and the data line of claim 7, wherein In a case that the data transmission channel between the TRX pin and the VIN pin is not opened, one end of the first USB-to-TTL device is connected with the terminal device, and the other end of the first USB-to-TTL device is connected with the data line, and the data line is further connected with the charging device, wherein The terminal device is configured to send a first instruction to the first USB-to-TTL device, The first USB-to-TTL device is configured to convert a signal corresponding to the first instruction into a signal corresponding to a protocol recognizable by the charging management unit, and send the signal corresponding to the protocol recognizable by the charging management unit to the data line, The data line is configured to send the signal corresponding to the protocol recognizable by the charging management unit to the charging device.
9. The system of claim 8, wherein, The system further comprises a second USB-to-TTL device, wherein In a case that the data transmission channel between the TRX pin and the VIN pin is opened, the connection between the first USB-to-TTL device and the data line and the connection between the first USB-to-TTL device and the terminal device are both disconnected, one end of the second USB-to-TTL device is connected with the data line, and the other end of the second USB-to-TTL device is connected with the terminal device, wherein The charging device is configured to send the log information to the data line, The data line is configured to send the log information to the second USB-to-TTL device, The second USB-to-TTL device is configured to convert and process the log information to obtain a USB signal corresponding to the log information, and send the USB signal corresponding to the log information to the terminal device.
10. The system of claim 8, wherein, The first USB-to-TTL device comprises a second control unit and a USB-to-TTL unit, wherein, One end of the data line is connected with the second control unit, the second control unit is connected with the USB-to-TTL unit, and the USB-to-TTL unit is connected with the terminal device.
Citation Information
Patent Citations
Test method and system
CN120342510A
Application program upgrading method and electronic equipment
CN120492004A