Serial port information configuration method, monitor and plug-in box

By establishing a communication connection between the monitor and the plug-in box and dynamically configuring the serial port information of the plug-in box, the problem of developing a new plug-in box for each external device in the existing technology is solved, and the high reusability of the plug-in box is achieved and cost savings.

CN113284602BActive Publication Date: 2025-02-11EDAN INSTR
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010102961.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-19
Publication Date
2025-02-11
Estimated Expiration
2040-02-19

AI Technical Summary

Technical Problem

Existing plug-in monitors require the development of new plug-in boxes for each external device, resulting in increased R&D costs and user acquisition costs, and complex maintenance.

Method used

By establishing a communication connection between the monitor and the plug-in box, the serial port information of the plug-in box is dynamically configured so that it can adapt to the serial port configuration of different physiological information collection devices.

Benefits of technology

The dynamic configuration of the serial port information of the plug-in box is realized, which improves the reusability of the plug-in box, reduces R&D and user costs, and simplifies the maintenance process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113284602B_ABST
    Figure CN113284602B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for configuring serial port information, which includes: establishing a communication connection with a plug-in box; determining target serial port configuration information of a target physiological information acquisition device according to a user's input operation; providing the target serial port configuration information to the plug-in box through the communication connection, so that the plug-in box configures the serial port information according to the target serial port information contained in the target serial port configuration information. Through the above manner, the present invention can realize dynamic configuration of the serial port information of the plug-in box and improve the reusability of the plug-in box.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of medical equipment, in particular to a serial port information configuration method, a monitor and a plug-in box. Background Art

[0002] Plug-in monitors are suitable for medical units to monitor patients' ECG (electrocardiogram), heart rate, respiration, blood pressure, blood oxygen saturation, pulse, body temperature and other items during monitoring.

[0003] The working principle of existing plug-in monitors is to develop different plug-in boxes for external devices of different manufacturers and models, and the plug-in boxes are fixed with the serial port information required for the communication of the external device, so that the plug-in boxes transmit the physiological parameters packaged by the external device to the main control system of the monitor through the communication method of the serial port information. That is, the plug-in monitor needs to connect to an external device. When the external device communicates with the host, the problem that the plug-in box needs to solve is to distinguish different external devices and complete the serial port information data forwarding.

[0004] The above method requires the development of a new plug-in box for each external device. Although many things are the same inside the newly developed plug-in box, a new mold needs to be opened and a new label needs to be put on the appearance to prevent confusion with other external device boxes. A new external device label and serial port information of the new external device need to be burned inside, and almost all other things do not need to be changed. For manufacturers, the R&D cost and cycle are increased; for users, the purchase cost and maintenance cost are also increased. Different external devices require the purchase of different plug-in boxes. The plug-in box mainly plays the role of forwarding data, and the maintenance cost of maintaining multiple plug-in boxes is also increased. Summary of the invention

[0005] In view of this, the main technical problem solved by the present invention is to provide a serial port information configuration method, a monitor and a plug-in box, which can realize dynamic configuration of the serial port information of the plug-in box and improve the reusability of the plug-in box.

[0006] To solve the above technical problems, a technical solution adopted by the present invention is: to provide a method for configuring serial port information, the configuration method comprising: establishing a communication connection with a plug-in box, wherein the plug-in box is used to connect to a target physiological information acquisition device; determining target serial port configuration information of the target physiological information acquisition device according to an input operation of a user; and providing the target serial port configuration information to the plug-in box through the communication connection, so that the plug-in box configures the serial port information according to the target serial port information contained in the target serial port configuration information.

[0007] To solve the above technical problems, another technical solution adopted by the present invention is: to provide a monitor, the monitor includes a coupled first processor and a first communication circuit, the first communication circuit is used to establish a communication connection with a plug-in box, the first processor is used to determine the target serial port configuration information of the target physiological information acquisition device according to the user's input operation and provide it to the plug-in box, so that the plug-in box configures the serial port information according to the target serial port information contained in the target serial port configuration information; wherein, the plug-in box is used to connect the target physiological information acquisition device.

[0008] To solve the above technical problems, another technical solution adopted by the present invention is: to provide a method for configuring serial port information, the configuration method comprising: establishing a communication connection with a monitor; receiving target serial port configuration information, the target serial port configuration information being determined by the monitor according to the user's input operation; and configuring the serial port information according to the target serial port information contained in the target serial port configuration information.

[0009] In order to solve the above-mentioned technical problems, another technical solution adopted by the present invention is: providing a plug-in box, the plug-in box includes a coupled second processor and a second communication circuit, the second communication circuit is used to establish a communication connection with a monitor and a target physiological information acquisition device respectively, and the second communication circuit is also used to receive the target serial port configuration information determined by the monitor according to the user's input operation and provide it to the second processor, so that the second processor configures the serial port information according to the target serial port information contained in the target serial port configuration information.

[0010] The beneficial effects of the present invention are as follows: Different from the prior art, the present invention provides a method for configuring serial port information, a monitor and a plug-in box. In the configuration method, the target serial port configuration information of the target physiological information acquisition device determined according to the user's input operation is provided to the plug-in box through a communication connection, so that the plug-in box configures the serial port information according to the target serial port information contained in the target serial port configuration information. In other words, the plug-in box can dynamically configure the serial port information of the physiological information acquisition device to which it is connected. When it is necessary to replace a different physiological information acquisition device, the target serial port configuration information is provided to the plug-in box through the monitor for reconfiguration, so that the plug-in box can realize dynamic configuration of the serial port information, and improve the reusability of the plug-in box. That is, it is not necessary to burn the corresponding serial port configuration information in the plug-in box every time a physiological information acquisition device is replaced, so that the dynamic configuration of the serial port information of the plug-in box can be realized, the reusability of the plug-in box is improved, the cost of the manufacturer is saved, the cost of the user is saved, and the operation is convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present invention, and together with the specification are used to explain the principles of the present invention. In addition, these drawings and text descriptions are not intended to limit the scope of the present invention in any way, but to illustrate the concept of the present invention for those skilled in the art by reference to specific embodiments.

[0012] Figure 1 It is a flowchart of a first embodiment of a method for configuring serial port information of the present invention;

[0013] Figure 2 is a flow chart of a second embodiment of a method for configuring serial port information of the present invention;

[0014] Figure 3 It is a structural schematic diagram of an embodiment of a monitor of the present invention;

[0015] Figure 4 It is a schematic diagram of an embodiment of a query interaction process of serial port information of a plug-in box of the present invention;

[0016] Figure 5 It is a schematic diagram of an embodiment of a configuration process of serial port information of a plug-in box of the present invention;

[0017] Figure 6 is a flow chart of a third embodiment of a method for configuring serial port information of the present invention;

[0018] Figure 7 It is a schematic structural diagram of an embodiment of a plug-in box of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in combination with the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0020] The working principle of the existing plug-in monitor is to develop different plug-in boxes for different manufacturers and different models of external devices. The plug-in box is fixed with the serial port information required for the communication of the external device, so that the plug-in box transmits the physiological parameters packaged by the external device to the main control system of the monitor through the communication method of the serial port information. The above method requires the development of a new plug-in box for each external device connected. Although many things inside the newly developed plug-in box are the same, a new mold needs to be opened and a new mark is added on the appearance to prevent confusion with other external device boxes. A new external device mark and the serial port information of the new external device need to be burned inside the plug-in box, and almost all other things do not need to be changed. For manufacturers, the R&D cost and cycle are increased; for users, the purchase cost and maintenance cost are also increased. Different external devices need to purchase different plug-in boxes. The plug-in box mainly plays the role of forwarding data, and the maintenance cost of maintaining multiple plug-in boxes is also increased.

[0021] In view of this, an embodiment of the present invention provides a method for configuring serial port information to solve the above technical problem.

[0022] See also Figure 1 , Figure 1 It is a flow chart of the first embodiment of the method for configuring serial port information of the present invention. It should be noted that the method for configuring serial port information described in this embodiment is not limited to the following steps:

[0023] S101: Establishing a communication connection with the plug-in box;

[0024] In this embodiment, since the monitor and its matching plug-in box have the same communication protocol, when the plug-in box is plugged into the monitor, a communication connection can be established between the monitor and the plug-in box. It should be noted that when the monitor and the plug-in box configure the serial port configuration information, the plug-in box can be in a connected state with the physiological information acquisition device; of course, it can also be not in a connected state with the physiological information acquisition device, that is, the plug-in box is not connected to the physiological information acquisition device at this time.

[0025] S102: Determine target serial port configuration information of a target physiological information acquisition device according to an input operation of a user;

[0026] In this embodiment, the user inputs the target serial port configuration information of the target physiological information acquisition device in the monitor, so that the monitor determines the target serial port configuration information of the target physiological information acquisition device according to the user's input operation. The specific method in which the user inputs the target serial port configuration information of the target physiological information acquisition device in the monitor will be described in detail below. Among them, the target serial port configuration information includes the serial port configuration information of the physiological information acquisition device to be configured, so that the serial port configuration information of the plug-in box facing the physiological information acquisition device is configured to be consistent with the serial port configuration information of the corresponding physiological information acquisition device, thereby establishing a data transmission channel between the plug-in box and the corresponding physiological information acquisition device.

[0027] S103: providing the target serial port configuration information to the plug-in box through a communication connection, so that the plug-in box configures the serial port information according to the target serial port information included in the target serial port configuration information;

[0028] In this embodiment, the monitor sends the acquired target serial port configuration information to the plug-in box, so that the plug-in box configures the serial port information according to the target serial port information included in the target serial port configuration information, thereby completing the dynamic configuration of the serial port information of the plug-in box.

[0029] As can be seen from the above, in this configuration method, the target serial port configuration information of the target physiological information acquisition device determined according to the user's input operation is provided to the plug-in box through a communication connection, so that the plug-in box configures the port information according to the target serial port information contained in the target serial port configuration information. In other words, the plug-in box can dynamically configure the serial port information of the physiological information acquisition device to which it is connected. When it is necessary to replace a different physiological information acquisition device, the target serial port configuration information is provided to the plug-in box through the monitor for reconfiguration, so that the plug-in box can realize dynamic configuration of the serial port information, thereby improving the reusability of the plug-in box. That is, it is not necessary to burn the corresponding serial port configuration information in the plug-in box every time a physiological information acquisition device is replaced, so that the dynamic configuration of the serial port information of the plug-in box can be realized, the reusability of the plug-in box is improved, the cost of the manufacturer is saved, the cost of the user is saved, and the operation is convenient.

[0030] See also Figure 2 , Figure 2 It is a flow chart of the second embodiment of the method for configuring serial port information of the present invention. It should be noted that the method for configuring serial port information described in this embodiment is not limited to the following steps:

[0031] S201: Establishing a communication connection with the plug-in box;

[0032] In this embodiment, the monitor establishes a communication connection with the plug-in box, wherein the plug-in box is used to connect to the target physiological information acquisition device, and during the serial port information configuration process of this embodiment, the plug-in box can be connected to the target physiological information acquisition device or not. Since the monitor and the plug-in box have the same communication protocol, after the plug-in box is plugged into the monitor, the monitor and the plug-in box can establish a communication connection.

[0033] S202: Acquire the current serial port information of the plug-in box through a first serial port information query instruction;

[0034] In this embodiment, when the plug-in box is plugged into the monitor and the two establish a communication connection, the monitor needs to query to obtain the configuration of the current serial port configuration information of the plug-in box. Specifically, the monitor obtains the configuration of the current serial port information of the plug-in box through the first serial port information query instruction, that is, obtains the current serial port information of the plug-in box.

[0035] S203: Determine whether the current serial port information of the plug-in box is consistent with the target serial port information;

[0036] In this embodiment, if yes, it means that the current serial port information of the plug-in box meets the requirements and no reconfiguration is required, and then the process ends; if no, it means that the current serial port configuration of the plug-in box does not meet the requirements and needs to be reconfigured, that is, step S204 is executed.

[0037] The plug-in box of this embodiment has a power-off saving function. The plug-in box can save its current serial port configuration information when the power is off to avoid the current serial port configuration information being erased after the plug-in box is turned off, so that the original serial port configuration information can be retained when the plug-in box is turned on again for the monitor to obtain.

[0038] In this embodiment, when the current serial port information of the plug-in box is consistent with the target serial port information, it means that the serial port configuration information saved by the plug-in box when the power is off meets the serial port information requirements of the data transmission between the target physiological information acquisition device and the plug-in box, that is, the current serial port configuration information of the plug-in box meets the use, and there is no need to reconfigure the serial port information in the plug-in box. In this way, when the plug-in box is always used with the same physiological information acquisition device, it is not necessary to reconfigure the serial port information of the plug-in box every time it is used, so as to facilitate the user. When the plug-in box needs to replace the physiological information acquisition device it is equipped with, the serial port information of the plug-in box can be reconfigured. Specifically, the original serial port configuration information of the plug-in box is erased, and the serial port configuration information of the replaced physiological information acquisition device is saved again when the power is off.

[0039] However, when the current serial port information of the plug-in box is inconsistent with the target serial port information, it may be that the current serial port information of the plug-in box is a null value; or the current serial port information of the plug-in box is not a null value, but is inconsistent with the target serial port information.

[0040] It should be noted that the serial port information in this embodiment includes not only the rate, but also the stop bit, data bit and check bit. Among them, the rate is used to indicate the speed of data transmission; the stop bit is used to mark the end of a character transmission; the check bit is used to determine whether the received data bit is wrong. In this embodiment, the plug-in box can not only dynamically configure the rate, but also dynamically configure the stop bit, data bit and check bit, so that the serial port information of the plug-in box meets the serial port communication requirements between it and the target physiological information acquisition device.

[0041] S204: Determine target serial port configuration information of the target physiological information acquisition device according to the user's input operation;

[0042] In this embodiment, the user inputs the target serial port configuration information of the target physiological information acquisition device in the monitor, so that the monitor determines the target serial port configuration information of the target physiological information acquisition device according to the user's input operation. When the current serial port configuration information of the plug-in box is inconsistent with the target serial port configuration information, the monitor needs to determine the target serial port configuration information of the target physiological information acquisition device according to the user's input operation, so as to reconfigure the serial port information of the plug-in box.

[0043] The following describes a specific method for a user to input target serial port configuration information of a target physiological information acquisition device in a monitor.

[0044] In one embodiment, the step of establishing a communication connection with the plug-in box may include pre-storing target serial port configuration information of a plurality of physiological information acquisition devices, each of which is used to configure the serial port information of the corresponding plug-in box. The user determines the target serial port configuration information of the target physiological information acquisition device from the pre-stored target serial port configuration information of the plurality of physiological information acquisition devices, that is, according to the user's input operation, the target serial port configuration information of the target physiological information acquisition device is determined from the pre-stored target serial port configuration information of the plurality of physiological information acquisition devices, so that the plug-in box configures the serial port information according to the target serial port information contained in the target serial port configuration information.

[0045] It is difficult for users to identify serial port information, but users know the manufacturer and model of the physiological information acquisition device they are currently using. Therefore, the monitor will pre-store the target serial port configuration information of the physiological information acquisition device and the corresponding manufacturer and model of the physiological information acquisition device. That is, the target serial port configuration information of the physiological information acquisition device is associated with the corresponding manufacturer and model, so that the user can select the manufacturer and model of the physiological information acquisition device (i.e., the target physiological information acquisition device) currently matched with the plug-in box, so that the monitor can determine the target serial port configuration information of the target physiological information acquisition device.

[0046] Furthermore, the monitor can provide an interface for the user, and the user only needs to select or enter the manufacturer, model and other information of the target physiological information acquisition device on the interface displayed on the monitor. The monitor can then determine the target serial port configuration information of the target physiological information acquisition device from the target serial port configuration information of the physiological information acquisition device pre-stored therein, without the user having to directly face the serial port information, thereby facilitating the user to determine the serial port information of the target physiological information acquisition device.

[0047] In an alternative embodiment, the user can directly input the target serial port configuration information in the monitor, that is, the monitor obtains the target serial port configuration information of the target physiological information acquisition device directly input by the user, so that the plug-in box can configure the serial port information according to the target serial port information contained in the target serial port configuration information. In the above manner, when the target serial port configuration information of the target physiological information acquisition device currently matched with the plug-in box is not in the target serial port configuration information pre-stored in the monitor, this embodiment allows the user to directly input the target serial port information in the monitor, so as to also complete the configuration of the serial port information of the plug-in box. It should be noted that, since the serial port information of this embodiment includes rate, stop bit, data bit and check bit. Therefore, the monitor can set multiple options for rate, stop bit, data bit and check bit respectively and display them on the monitor, so that the user can select and set the rate, stop bit, data bit and check bit respectively, so as to provide the user with the combination of the serial port information that needs to be input, thereby facilitating the user to input the target serial port configuration information, and avoiding the situation that the user changes the serial port information of the physiological information acquisition device to one that is not pre-stored in the monitor and causes it to be unusable.

[0048] S205: providing the target serial port configuration information to the plug-in box through a communication connection, so that the plug-in box configures the serial port information according to the target serial port information included in the target serial port configuration information;

[0049] In this embodiment, the monitor provides the target serial port configuration information to the plug-in box through the established communication connection, so that the plug-in box configures the serial port information according to the target serial port information contained in the target serial port configuration information. When the current serial port information of the plug-in box is consistent with the target serial port information, the target physiological information acquisition device can establish communication with the plug-in box, and then the plug-in box can perform data transmission with the target physiological information acquisition device to transmit the physiological information collected by the target physiological information acquisition device to the monitor.

[0050] S206: Obtain the current serial port information of the plug-in box through a second serial port information query instruction;

[0051] In this embodiment, since the plug-in box will not send back the corresponding configuration result after the plug-in box is configured, it is necessary to send a second serial port information query instruction immediately to obtain the current serial port information of the plug-in box, that is, the configuration result, and then perform further verification and judgment.

[0052] S207: Determine whether the current device type information of the plug-in box is consistent with the target device type information;

[0053] In this embodiment, when the result of step S207 is consistent, it means that the device type information of the configured plug-in box has been configured, and then it is necessary to further confirm whether the current serial port information of the plug-in box is consistent with the target serial port information, so step S208 needs to be executed. If not, step S210 is executed.

[0054] Specifically, each target serial port configuration information is used to configure the device type information and serial port information of the physiological information acquisition device equipped with the plug-in box, that is, to configure the device type information and serial port information of the physiological information acquisition device equipped with the plug-in box to the target device type information and target serial port information in the target serial port configuration information; and to perform the verification described in the above embodiment on the current serial port configuration information of the plug-in box obtained by the monitor (that is, to determine whether the device type information and serial port information in the current serial port configuration information of the plug-in box are consistent with the target device type information and target serial port information in the target serial port configuration information).

[0055] Furthermore, the current serial port configuration information of the plug-in box includes the device type information and serial port information of the physiological information acquisition device currently connected to the plug-in box. Among them, the serial port information corresponding to different physiological information acquisition devices is usually unique. The target serial port configuration information includes the target device type information and target serial port information required to be configured by the target physiological information acquisition device to be connected to the plug-in box.

[0056] The device type information determines that the physiological information collected by the physiological information collection device connected to the plug-in box will be transmitted to the corresponding processing module of the monitor. For example, when the physiological information collection device connected to the plug-in box is a ventilator, the physiological information collected by the physiological information collection device will be transmitted to the module of the monitor that processes the ventilator data.

[0057] Therefore, in this embodiment, before determining whether the current serial port information of the plug-in box is consistent with the target serial port information, it is first determined whether the device type information in the current serial port configuration information of the plug-in box is consistent with the target device type information. If they are consistent, it is necessary to further determine whether the current serial port information of the plug-in box is consistent with the target serial port information, that is, to execute step S208 to determine whether the current serial port configuration of the plug-in box meets the requirements for use; if they are inconsistent, it means that the current serial port configuration of the plug-in box is bound to be unsatisfactory for use, and there is no need to determine whether the current serial port information of the plug-in box is consistent with the target serial port information, and the plug-in box needs to be reconfigured, so step S210 can be directly executed, which can simplify the configuration process of the serial port information of this embodiment and reduce the workload of the monitor. When the judgment result of step S207 is inconsistent, it means that the configuration of the serial port information of the plug-in box in step S205 fails, and the serial port configuration information of the plug-in box needs to be reconfigured. The monitor of this embodiment will automatically resend the target serial port configuration information to the plug-in box to reconfigure the serial port information of the plug-in box, and then further verify whether the reconfigured plug-in box has completed the configuration through the second serial port information query instruction. If the number of times of reconfiguring the serial port information of the plug-in box reaches a threshold, reconfiguring the serial port information of the plug-in box is stopped. Therefore, step S210 needs to be performed first.

[0058] S208: Determine whether the current serial port information of the plug-in box is consistent with the target serial port information;

[0059] In this embodiment, if yes, step S209 is executed and then the process ends; if no, step S210 is executed.

[0060] When the result of step S208 is consistent, it means that the monitor of this embodiment has configured the serial port information of the plug-in box so that the serial port information of the plug-in box currently corresponding to the target physiological information acquisition device meets the requirement of transmitting data with the target physiological information acquisition device.

[0061] When the result of step S208 is inconsistent, it means that the configuration of the serial port information of the plug-in box in step S205 has failed, and the serial port information of the plug-in box needs to be reconfigured. Then, the second serial port information query instruction is used to further verify whether the reconfigured plug-in box has completed the configuration. Until the number of times the serial port information of the plug-in box is reconfigured reaches a threshold, the reconfiguration of the serial port information of the plug-in box is stopped, and therefore step S210 also needs to be executed.

[0062] S209: completing the configuration of the serial port information of the plug-in box;

[0063] In this embodiment, if the current serial port information of the plug-in box is consistent with the target serial port information, the configuration of the serial port information of the plug-in box is completed, and normal data transmission can be performed between the target physiological information acquisition device, the plug-in box and the monitor. Furthermore, after the plug-in box completes the configuration of the serial port information, the current serial port configuration information of the plug-in box can be directly output to the user so that the user can know it. Specifically, the monitor displays the serial port configuration information configured by the plug-in box on an interface, so that the user can intuitively know the configuration status of the serial port information of the plug-in box, which is convenient for the user to view and improve the user experience. The process ends thereafter.

[0064] Furthermore, a binding relationship is established between the plug-in box and the device type information of the physiological information acquisition device connected to it, so that the physiological information transmitted from the plug-in box is transmitted to the module corresponding to the monitor for processing. After completing the configuration of the serial port information of the plug-in box, it can also be determined whether the device type information of the physiological information acquisition device connected to the plug-in box has changed; if so, the plug-in box is re-bound with the changed device type information.

[0065] S210: Determine whether the number of times of reconfiguring the serial port information of the plug-in box reaches a threshold;

[0066] In this embodiment, if the current serial port information of the plug-in box is inconsistent with the target serial port information, the serial port configuration information of the plug-in box needs to be reconfigured. In addition, in order to avoid endless reconfiguration of the plug-in box due to device failure, the number of times the serial port information of the plug-in box is reconfigured needs to be recorded. Specifically, when the number of times the serial port information of the plug-in box is reconfigured is less than a threshold, step S205 is continued to be executed to reconfigure the serial port information of the plug-in box. When the number of times the serial port information of the plug-in box is reconfigured reaches a threshold, step S211 is executed. The threshold can be 3 times, 5 times, or even more times, etc., which is not limited here.

[0067] S211: Stop reconfiguring the serial port information of the plug-in box;

[0068] In this embodiment, if the number of times the serial port information of the plug-in box is reconfigured reaches a threshold, it indicates that there may be a device failure, and even if reconfiguration is performed, the serial port information of the plug-in box cannot be successfully configured, so it is necessary to stop reconfiguring the serial port information of the plug-in box. Furthermore, after stopping reconfiguring the serial port information of the plug-in box, information indicating the failure can be output to the user to inform the user that the configuration of the serial port information of the plug-in box is not completed. Then the process ends.

[0069] See also Figure 3 , Figure 3 It is a structural schematic diagram of an embodiment of a monitor of the present invention.

[0070] In this embodiment, the monitor 10 includes a coupled first processor 101 and a first communication circuit 102, the first communication circuit 102 is used to establish a communication connection with the plug-in box, the first processor 101 is used to determine the target serial port configuration information of the target physiological information acquisition device according to the user's input operation, and provide the target serial port configuration information to the plug-in box, so that the plug-in box configures the serial port information according to the target serial port information contained in the target serial port configuration information.

[0071] It should be noted that the monitor 10 described in this embodiment can implement the serial port information configuration method described in the above embodiments, which will not be described in detail here.

[0072] See also Figure 4 , Figure 4 It is a schematic diagram of an embodiment of the query interaction process of the serial port information of the plug-in box of the present invention. It should be noted that the first serial port information query instruction and the second serial port information query instruction in the above embodiment execute Figure 4 The work content presented.

[0073] In a specific embodiment, when the plug-in box 11 is inserted into the corresponding slot of the monitor, the general process of querying and interacting between the monitor and the plug-in box 11 is as follows: the first communication circuit 102 is used to establish a communication connection with the plug-in box 11, the first processor 101 and the first communication circuit 102 are coupled, and both complete communication by writing data into the serial port information or reading data from the serial port; the first processor 101 writes the first serial port information query instruction into the serial port information to obtain the current serial port information configuration of the plug-in box 11 through the first communication line 102. The first communication circuit 102 and the plug-in box 11 establish a connection through infrared communication, the first communication circuit 102 reads the first serial port information query instruction by parsing the slot information, and sends the first serial port information query instruction to the plug-in box 11 plugged in the corresponding slot, that is, Figure 4 The query configuration steps shown. When the serial port information of the queried plug-in box 11 is consistent with the target serial port information, that is, the use requirements are met, and there is no need to reconfigure the serial port information. Among them, the first serial port information query instruction does not verify the serial port information. When the serial port information of the plug-in box 11 is inconsistent with the target serial port information, it is necessary to configure the target serial port information. At this time, it is necessary to send a second serial port information query instruction to the first communication circuit 102 through the first processor 101, wherein the second serial port information query instruction includes a verification of the device type information and serial port information in the serial port configuration information. After the plug-in box 11 receives the query configuration instruction from the monitor, the plug-in box 11 feeds back the serial port configuration information of the corresponding physiological information acquisition device to the first communication circuit 102, that is Figure 4The step of replying configuration information is shown. The first communication circuit 102 transmits the reply configuration information of the plug-in box 11 received by it to the first processor 101. The first processor 101 identifies which plug-in box 11 sent the serial port configuration information by parsing the slot information, and verifies the current serial port configuration information of the plug-in box 11 by parsing the configuration information of the plug-in box 11 (i.e., judging whether the current serial port configuration information of the plug-in box 11 is consistent with the target serial port configuration information as described in the above embodiment).

[0074] See also Figure 5 , Figure 5 It is a schematic diagram of an embodiment of the configuration process of the serial port information of the plug-in box of the present invention.

[0075] The process of configuring the serial port information of the plug-in box 11 of the monitor in this embodiment is roughly as follows: when the plug-in box 11 is plugged into the monitor, the first communication circuit 102 establishes an infrared connection with the plug-in box 11. After the first processor 101 determines the target serial port configuration information of the physiological information acquisition device according to the user's input operation, it writes the target serial port configuration information of the plug-in box 11 into the serial port information. The first communication circuit 102 reads the target serial port configuration information from the serial port, and sends the target serial port configuration information to the corresponding plug-in box 11 by parsing the slot information. The target serial port information is specifically configured as follows: the corresponding target serial port configuration information is verified for configuration legitimacy; then the plug-in box 11 configures the serial port information according to the target serial port information contained in the target serial port configuration information, and initializes the serial port information of the plug-in box 11; then the device sub-identifier of the plug-in box 11 is updated; finally, the plug-in box 11 saves the newly configured target serial port configuration information when the power is turned off, that is, Figure 5 The storage configuration information is shown.

[0076] See also Figure 6 , Figure 6 1 is a flow chart of the third embodiment of the method for configuring serial port information of the present invention. It should be noted that the method for configuring serial port information described in this embodiment is not limited to the following steps:

[0077] S301: Establishing a communication connection with a monitor;

[0078] In this embodiment, since the matching plug-in box and the monitor have the same communication protocol, after the plug-in box is plugged into the monitor, a communication connection can be established between the plug-in box and the monitor. It should be noted that when the monitor and the plug-in box are configuring serial port information, the plug-in box can be in a connected state with the target physiological information acquisition device; of course, it can also be not in a connected state with the target physiological information acquisition device, that is, the plug-in box is not connected to the target physiological information acquisition device at this time.

[0079] S302: receiving target serial port configuration information, where the target serial port configuration information is determined by the monitor according to the user's input operation;

[0080] In this embodiment, the plug-in box receives the target serial port configuration information, wherein the target serial port configuration information includes the target device type information and the target serial port information of the target physiological information acquisition device, so that the plug-in box configures the serial port configuration information of the corresponding physiological information acquisition device as the target serial port configuration information of the target physiological information acquisition device, thereby establishing a data transmission channel between the plug-in box and the target physiological information acquisition device. The target serial port configuration information is determined by the monitor according to the user's input operation.

[0081] S303: configuring serial port information according to target serial port information included in the target serial port configuration information;

[0082] In this embodiment, the plug-in box configures the serial port information according to the target serial port information included in the target serial port configuration information, thereby completing the dynamic configuration of the plug-in box serial port information. Further, the plug-in box can also configure the device type information of the corresponding physiological information acquisition device as the target device type information included in the target serial port configuration information, thereby completing the dynamic configuration of the plug-in box serial port information.

[0083] It should be noted that the plug-in box of the present embodiment has a power-off saving function. The plug-in box can save its current serial port configuration information after powering off, so as to avoid the current serial port configuration information being erased after the plug-in box is turned off, so as to keep the original serial port configuration information when the plug-in box is turned on again. In this way, when the plug-in box is always used with the same physiological information acquisition device, it is not necessary to reconfigure the serial port information of the plug-in box every time it is used, so as to facilitate the use of the user. When the plug-in box needs to replace the physiological information acquisition device it is equipped with, the serial port information of the plug-in box can be reconfigured. Specifically, the original serial port configuration information of the plug-in box is erased, and the serial port configuration information of the replaced physiological information acquisition device is saved after powering off again.

[0084] See also Figure 7 , Figure 7 It is a schematic structural diagram of an embodiment of a plug-in box of the present invention.

[0085] In this example, the plug-in box 11 includes a coupled second processor 111 and a second communication circuit 112. The second communication circuit 112 is used to establish a communication connection with the monitor and the target physiological information acquisition device respectively. The second communication circuit 112 is also used to receive the target serial port configuration information determined by the monitor according to the user's input operation and provide it to the second processor 111, so that the second processor 111 configures the serial port information according to the target serial port information contained in the target serial port configuration information.

[0086] It should be noted that the plug-in box described in this embodiment can implement the serial port information configuration method described in the above embodiment, which will not be described in detail here.

[0087] In summary, the method for configuring serial port information provided by the present invention provides the target serial port configuration information of the target physiological information acquisition device determined according to the user's input operation to the plug-in box through a communication connection, so that the plug-in box configures the serial port information according to the target serial port information contained in the target serial port configuration information. In other words, the plug-in box can dynamically configure the serial port information of the physiological information acquisition device to which it is connected. When it is necessary to replace a different physiological information acquisition device, the target serial port configuration information is provided to the plug-in box through the monitor for reconfiguration, so that the plug-in box can realize dynamic configuration of the serial port information, thereby improving the reusability of the plug-in box. That is, it is not necessary to burn the corresponding serial port configuration information in the plug-in box every time a physiological information acquisition device is replaced, so that the dynamic configuration of the serial port information of the plug-in box can be realized, thereby improving the reusability of the plug-in box, saving the manufacturer's cost, saving the user's cost, and facilitating operation.

[0088] In addition, in the present invention, unless otherwise clearly specified and limited, the terms "connected", "connected", "stacked" and the like should be understood in a broad sense, for example, it can be fixedly connected, detachably connected, or integrated; it can be directly connected, or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for configuring serial port information, characterized in that: The configuration method comprises: Establishing a communication connection with a plug-in box, wherein the plug-in box is used to connect to a target physiological information collection device; Determine the target serial port configuration information of the target physiological information acquisition device according to the user's input operation; Providing the target serial port configuration information to the plug-in box through the communication connection, so that the plug-in box configures serial port information according to the target serial port information included in the target serial port configuration information; The step of providing the target serial port configuration information to the plug-in box through the communication connection so that the plug-in box configures the serial port information according to the target serial port information included in the target serial port configuration information includes: Acquire the current serial port information of the plug-in box through a second serial port information query instruction; Determine whether the current serial port information of the plug-in box is consistent with the target serial port information: If yes, then the configuration of the serial port information of the plug-in box is completed; If not, re-providing the target serial port configuration information to the plug-in box to reconfigure the serial port information of the plug-in box until the number of times of reconfiguring the serial port information of the plug-in box reaches a threshold, and then stopping reconfiguring the serial port information of the plug-in box; The target serial port configuration information also includes target device type information of the target physiological information acquisition device; The step of determining whether the current serial port information of the plug-in box is consistent with the target serial port information includes: Determine whether the current device type information of the plug-in box is consistent with the target device type information; If yes, then executing the step of determining whether the current serial port information of the plug-in box is consistent with the target serial port information; The plug-in box establishes a binding relationship with the device type information of the physiological information acquisition device connected thereto; The step of completing the configuration of the serial port information of the plug-in box includes: Determine whether the device type information of the physiological information acquisition device connected to the plug-in box has changed: If yes, re-establish the binding relationship between the plug-in box and the changed device type information.

2. The configuration method according to claim 1, characterized in that: The serial port information includes rate, stop bit, data bit and check bit.

3. The configuration method according to claim 1, characterized in that: The step of establishing a communication connection with the plug-in box includes: Acquire the current serial port information of the plug-in box through a first serial port information query instruction; Determine whether the current serial port information of the plug-in box is consistent with the target serial port information: If yes, the step of determining the target serial port configuration information of the target physiological information acquisition device according to the user's input operation and the steps thereafter are not performed; If not, the step of determining the target serial port configuration information of the target physiological information acquisition device according to the user's input operation is performed.

4. The configuration method according to claim 1, characterized in that: The step of establishing a communication connection with the plug-in box includes: Pre-store target serial port configuration information of several physiological information acquisition devices, each of the target serial port configuration information is used to configure the serial port information of the corresponding plug-in box; The step of determining the target serial port configuration information of the target physiological information acquisition device according to the user's input operation comprises: According to the user's input operation, the target serial port configuration information of the target physiological information acquisition device is determined from the pre-stored target serial port configuration information of the plurality of physiological information acquisition devices, so that the plug-in box configures the serial port information according to the target serial port information contained in the target serial port configuration information.

5. A monitor, characterized in that: The patient monitor includes a coupled first processor and a first communication circuit, the first communication circuit is used to establish a communication connection with the plug-in box, the first processor is used to determine the target serial port configuration information of the target physiological information acquisition device according to the user's input operation and provide it to the plug-in box, so that the plug-in box configures the serial port information according to the target serial port information included in the target serial port configuration information; Wherein, the plug-in box is used to connect to the target physiological information collection device; The first processor is used to provide the target serial port configuration information to the plug-in box through the communication connection, so that the plug-in box configures the serial port information according to the target serial port information included in the target serial port configuration information, and then includes: obtaining the current serial port information of the plug-in box through a second serial port information query instruction; judging whether the current serial port information of the plug-in box is consistent with the target serial port information: if so, completing the configuration of the serial port information of the plug-in box; if not, re-providing the target serial port configuration information to the plug-in box to reconfigure the serial port information of the plug-in box, until the number of times of reconfiguring the serial port information of the plug-in box reaches a threshold, stopping the reconfiguration of the serial port information of the plug-in box; The target serial port configuration information also includes the target device type information of the target physiological information acquisition device; the step of determining whether the current serial port information of the plug-in box is consistent with the target serial port information includes: determining whether the current device type information of the plug-in box is consistent with the target device type information; if so, executing the step of determining whether the current serial port information of the plug-in box is consistent with the target serial port information; The plug-in box establishes a binding relationship with the device type information of the physiological information acquisition device connected to it; after the step of completing the configuration of the serial port information of the plug-in box, it includes: judging whether the device type information of the physiological information acquisition device connected to the plug-in box has changed: if so, re-establishing the binding relationship between the plug-in box and the changed device type information.

6. A method for configuring serial port information, characterized in that: The configuration method comprises: Establishing communication connection with the monitor; Receiving target serial port configuration information, wherein the target serial port configuration information is determined by the monitor according to an input operation of a user; Configure serial port information according to the target serial port information included in the target serial port configuration information; After configuring the serial port information according to the target serial port information included in the target serial port configuration information, the method includes: feeding back the current serial port information according to the second serial port information query instruction; judging whether the current serial port information is consistent with the target serial port information; if so, configuring the serial port information according to the target serial port information included in the target serial port configuration information; if not, re-receiving the target serial port configuration information, and stopping reconfiguring the serial port information when the number of times of reconfiguring the serial port information reaches a threshold; The target serial port configuration information also includes the target device type information of the target physiological information acquisition device; the step of determining whether the current serial port information is consistent with the target serial port information includes: determining whether the current device type information is consistent with the target device type information; if so, executing the step of determining whether the current serial port information is consistent with the target serial port information; The plug-in box establishes a binding relationship with the device type information of the physiological information acquisition device connected to it; after completing the step of configuring the serial port information, it includes: determining whether the device type information of the physiological information acquisition device has changed: if so, re-establishing the binding relationship with the changed device type information.

7. A plug-in box, characterized in that: The plug-in box includes a coupled second processor and a second communication circuit, the second communication circuit is used to establish communication connections with the monitor and the target physiological information acquisition device respectively, and the second communication circuit is also used to receive the target serial port configuration information determined by the monitor according to the user's input operation and provide it to the second processor, so that the second processor configures the serial port information according to the target serial port information included in the target serial port configuration information; After the second processor configures the serial port information according to the target serial port information included in the target serial port configuration information, the method includes: feeding back the current serial port information according to the second serial port information query instruction; judging whether the current serial port information is consistent with the target serial port information; if so, configuring the serial port information according to the target serial port information included in the target serial port configuration information; if not, re-receiving the target serial port configuration information, and stopping reconfiguring the serial port information when the number of times of reconfiguring the serial port information reaches a threshold; The target serial port configuration information also includes the target device type information of the target physiological information acquisition device; the step of determining whether the current serial port information is consistent with the target serial port information includes: determining whether the current device type information is consistent with the target device type information; if so, executing the step of determining whether the current serial port information is consistent with the target serial port information; The plug-in box establishes a binding relationship with the device type information of the physiological information acquisition device connected to it; after completing the step of configuring the serial port information, it includes: determining whether the device type information of the physiological information acquisition device has changed: if so, re-establishing the binding relationship with the changed device type information.

Citation Information

Patent Citations

  • A dynamically configurable plug-in box and a dynamic configuration method thereof

    CN109599172A