A Remote Management Method and System for Patient Medication Feedback Information
By sending combined feedback information during the feedback cycle, the problems of low transmission efficiency and large cache overhead in the prior art are solved, and efficient remote management of patient medication feedback information is achieved.
Patent Information
- Application Number
- CN202210124241.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-10
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2042-02-10
AI Technical Summary
In the remote management of patient medication feedback information, the prior art has problems such as low transmission efficiency and large server cache overhead, especially when high-frequency data transmission is transmitted, the terminal consumes a lot of power and is seriously wasted uplink resources.
A new feedback mechanism is adopted. After receiving the data packets within the feedback cycle, the terminal sends combined feedback information, including bit fields indicating the number of data packets and the reception status. The server decides whether to resend or delete the cached data packets based on the feedback information, and optimizes the feedback cycle length and time synchronization.
It improves transmission efficiency, reduces server cache overhead, reduces terminal power consumption and optimizes resource utilization, and achieves efficient data transmission.
Smart Images

Figure CN114446489B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent medical technology, and particularly to a method and system for remotely managing patient medication feedback information. Background Art
[0002] Intelligent medical care combines new sensors, Internet of Things, communication and other technologies with modern medical concepts to build a regional medical information platform centered on electronic health records, integrates the business processes between hospitals, optimizes regional medical resources, realizes online appointment and two-way referral across medical institutions, shortens the patient's medical treatment process, reduces relevant procedures, and makes the rational allocation of medical resources, truly achieving patient-centered intelligent medical care.
[0003] With the popularization of intelligent medical technology, in recent years, many pharmaceutical companies have started to develop remote medication information management systems. For example, the prior art CN112786140A discloses a chronic disease management method, device and electronic device based on medication data. The chronic disease management method based on medication data includes: obtaining the medical plan corresponding to the patient's most recent visit and the medication data within a preset time period, where the medication data at least includes medication feedback information; determining the medication adverse reaction data of the patient according to the medication data and the medical plan; and determining the medical plan suggestion information of the patient according to the medication adverse reaction data. Summary of the Invention
[0004] The present invention provides a method for remotely managing patient medication feedback information, including:
[0005] The server sends initial configuration information to the terminal, where the initial configuration information indicates the feedback time start point and the feedback cycle length to the terminal;
[0006] After the feedback time start point, the server sends one or more data packets to the terminal, where the data packet includes a request for the patient's medication feedback information;
[0007] The terminal determines a plurality of feedback cycles based on the feedback time start point and the feedback cycle length, and receives one or more data packets sent by the server in each of the plurality of feedback cycles;
[0008] If a data packet sent by the server is received in feedback cycle A, the terminal sends combined feedback information A to the server, where the combined feedback information A includes feedback field a1 and feedback field b1, where feedback field a1 indicates to the server that the terminal has received a data packet, and feedback field b1 indicates to the server whether the terminal has correctly received a data packet;
[0009] If multiple data packets sent by the server are received during feedback period A, the terminal sends combined feedback information B to the server. The combined feedback information B includes feedback field a2 and feedback field b2. The feedback field a2 indicates to the server the number of data packets received by the terminal during feedback period A, and the feedback field b2 indicates to the server in sequence whether the terminal correctly received each of the multiple data packets;
[0010] After receiving a request for patient medication feedback information, the terminal sends corresponding patient medication feedback information to the server based on the request for patient medication feedback information.
[0011] In a preferred embodiment, if data packet A and data packet B sent by the server are sequentially received during feedback period A, the terminal sends combined feedback information B to the server. The combined feedback information B includes feedback field a2 and feedback field b2. The feedback field a2 indicates to the server that the terminal received two data packets during feedback period A, and the feedback field b2 sequentially includes bit a and bit b. Bit a indicates to the server whether the terminal correctly received data packet A, and bit b indicates to the server whether the terminal correctly received data packet B.
[0012] In a preferred embodiment, if data packet A, data packet B, and data packet C sent by the server are sequentially received during feedback period A, the terminal sends combined feedback information B to the server. The combined feedback information B includes feedback field a2 and feedback field b2. The feedback field a2 indicates to the server that the terminal received three data packets during feedback period A, and the feedback field b2 sequentially includes bit a, bit b, and bit c. Bit a indicates to the server whether the terminal correctly received data packet A, bit b indicates to the server whether the terminal correctly received data packet B, and bit c indicates to the server whether the terminal correctly received data packet C.
[0013] In a preferred embodiment, if N data packets sent by the server are sequentially received during feedback period A, the terminal sends combined feedback information B to the server. The combined feedback information B includes feedback field a2 and feedback field b2. The feedback field a2 indicates to the server that the terminal received N data packets during feedback period A, and the feedback field b2 sequentially includes N bits. The x-th bit among the N bits indicates to the server whether the x-th data packet among the N data packets received by the terminal was correctly received.
[0014] In a preferred embodiment, after receiving the combined feedback information B, the server determines the number of data packets received by the terminal during feedback period A based on the feedback field a2;
[0015] If the server sends two data packets to the terminal during feedback cycle A, and the server determines based on feedback field a2 that the terminal has received two data packets during feedback cycle A, the server then continues to sequentially read bit a and bit b in feedback field b2;
[0016] If bit a of feedback field b2 indicates that the terminal has not correctly received data packet A, the server re - sends data packet A to the terminal;
[0017] If bit a of feedback field b2 indicates that the terminal has correctly received data packet A, the server deletes data packet A cached at the server;
[0018] If bit b of feedback field b2 indicates that the terminal has not correctly received data packet B, the server re - sends data packet B to the terminal;
[0019] If bit b of feedback field b2 indicates that the terminal has correctly received data packet B, the server deletes data packet B cached at the server;
[0020] If the server sends more than two data packets to the terminal during feedback cycle A, and the server determines based on feedback field a2 that the terminal has received two data packets during feedback cycle A, the server re - sends all the data packets sent during feedback cycle A to the terminal.
[0021] In a preferred embodiment, after receiving combined feedback information B, the server determines the number of data packets received by the terminal during feedback cycle A based on feedback field a2;
[0022] If the server sends three data packets to the terminal during feedback cycle A, and the server determines based on feedback field a2 that the terminal has received three data packets during feedback cycle A, the server then continues to sequentially read bit a, bit b, and bit c in feedback field b2;
[0023] If bit a of feedback field b2 indicates that the terminal has not correctly received data packet A, the server re - sends data packet A to the terminal;
[0024] If bit a of feedback field b2 indicates that the terminal has correctly received data packet A, the server deletes data packet A cached at the server;
[0025] If bit b of feedback field b2 indicates that the terminal has not correctly received data packet B, the server re - sends data packet B to the terminal;
[0026] If bit b of feedback field b2 indicates that the terminal has correctly received data packet B, the server deletes data packet B cached at the server;
[0027] If the bit c of the feedback field b2 indicates that the terminal did not correctly receive the data packet C, the server retransmits the data packet C to the terminal;
[0028] If the bit c of the feedback field b2 indicates that the terminal correctly received the data packet C, the server deletes the data packet C cached at the server;
[0029] If the server sends more than three data packets to the terminal during the feedback period A, and the server determines based on the feedback field a2 that the terminal received three data packets during the feedback period A, the server retransmits all the data packets sent during the feedback period A to the terminal.
[0030] In a preferred embodiment, after receiving the combined feedback information B, the server determines the number of data packets received by the terminal during the feedback period A based on the feedback field a2;
[0031] If the server sends N data packets to the terminal during the feedback period A, and the server determines based on the feedback field a2 that the terminal received N data packets during the feedback period A, the server continues to sequentially read N bits in the feedback field b2;
[0032] If the bit x of the feedback field b2 indicates that the terminal did not correctly receive the Xth data packet among the N data packets, the server retransmits the Xth data packet among the N data packets to the terminal;
[0033] If the bit x of the feedback field b2 indicates that the terminal correctly received the Xth data packet among the N data packets, the server deletes the Xth data packet among the N data packets cached at the server;
[0034] If the server sends more than N data packets to the terminal during the feedback period A, and the server determines based on the feedback field a2 that the terminal received N data packets during the feedback period A, the server retransmits all the data packets sent during the feedback period A to the terminal.
[0035] In a preferred embodiment, the server sends updated initial configuration information to the terminal, wherein the updated initial configuration information indicates to the terminal a new feedback time start point, an initial feedback period length, and a feedback period increment step size;
[0036] The server sends one or more data packets to the terminal after the new feedback time start point, wherein the data packets include a request for patient medication feedback information;
[0037] The terminal determines the first feedback period after receiving the updated initial configuration information based on the new feedback time start point and the initial feedback period length, and receives one or more data packets sent by the server during the first feedback period;
[0038] If a data packet sent by the server is received in the first feedback cycle, the terminal sends combined feedback information C to the server, where the combined feedback information C includes a feedback field a3 and a feedback field b3. The feedback field a3 indicates to the server that the terminal has received a data packet, and the feedback field b3 indicates to the server whether the terminal has correctly received a data packet.
[0039] If multiple data packets sent by the server are received in the first feedback cycle, the terminal sends combined feedback information D to the server, where the combined feedback information D includes a feedback field a4 and a feedback field b4. The feedback field a4 indicates to the server the number of data packets received by the terminal during the first feedback cycle, and the feedback field b4 sequentially indicates to the server whether the terminal has correctly received each of the multiple data packets.
[0040] After receiving a request for patient medication feedback information, the terminal sends corresponding patient medication feedback information to the server based on the request for patient medication feedback information.
[0041] In a preferred embodiment, if all the data packets sent by the server are correctly received in the first feedback cycle, the terminal updates the length of the second feedback cycle to the sum of the initial feedback cycle length and the feedback cycle increment step size.
[0042] If the server determines based on the combined feedback information C or the combined feedback information D that the terminal has correctly received all the data packets sent by the server in the first feedback cycle, the server updates the length of the second feedback cycle to the sum of the initial feedback cycle length and the feedback cycle increment step size.
[0043] The terminal receives one or more data packets sent by the server in the second feedback cycle.
[0044] If a data packet sent by the server is received in the second feedback cycle, the terminal sends combined feedback information E to the server, where the combined feedback information E includes a feedback field a5 and a feedback field b5. The feedback field a5 indicates to the server that the terminal has received a data packet, and the feedback field b5 indicates to the server whether the terminal has correctly received a data packet.
[0045] If multiple data packets sent by the server are received in the second feedback cycle, the terminal sends combined feedback information F to the server, where the combined feedback information F includes a feedback field a6 and a feedback field b6. The feedback field a6 indicates to the server the number of data packets received by the terminal during the second feedback cycle, and the feedback field b6 indicates to the server whether the terminal has correctly received each of the multiple data packets.
[0046] After receiving a request for patient medication feedback information, the terminal sends the corresponding patient medication feedback information to the server based on the request for patient medication feedback information.
[0047] The present invention provides a remote management system for patient medication feedback information, which can execute the method as described above.
[0048] Compared with the prior art, the present invention has the following advantages: The present invention provides a remote transmission method for patient medication feedback information. Compared with the prior art, the present invention can achieve a higher transmission efficiency and reduce the cache overhead on the server side, achieving a balance between transmission efficiency and node load. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a flowchart of a method according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0050] The following will describe in detail the specific embodiments of the present invention with reference to the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific embodiments.
[0051] At present, the local area (LAN) information management system based on wireless communication used in hospitals generally has two assumptions of information reception feedback mode. One is that every time the server sends a data packet to the terminal, the terminal verifies the reception of the data packet. If the data packet is successfully received and decoded, the terminal sends a confirmation feedback to the server. After receiving the confirmation feedback, the server can determine that the aforementioned data packet sent to the terminal is correctly received by the terminal. If it is determined that the terminal correctly receives the data packet, the server can delete the data packet from the buffer area to process the next data. The advantage of this feedback mode is that the feedback accuracy is high, and the server can know whether each data packet is correctly received by the terminal. However, the disadvantages of this mode are also quite prominent. In the current hospital environment, the frequency of data transmission from the server to the terminal is constantly increasing. In a period of time, the server may transmit dozens of data packets to the terminal, and the amount of data in each data packet is very small. For example, in the use case of medication information feedback, the server may frequently send commands to the terminal to request medication feedback information, and each command only needs to carry the number of the requested patient (that is, the amount of data is very small). In this case, if the terminal sends feedback information for each data packet, the power consumption of the terminal will increase, and a large amount of uplink resources will be used to transmit feedback information, while these uplink resources could have been used to transmit data rather than transmission overhead. Another feedback mode is that the server stipulates to the terminal that each time the terminal receives a predetermined amount of data, the terminal shall send a feedback message for multiple data uniformly. For example, the server fixed terminal receives every 5 data packets sent by the server, and the terminal attempts to decode these 5 data packets. If all 5 data packets are decoded correctly, the terminal sends confirmation feedback to the server. After receiving the confirmation feedback, the server can determine that all the 5 data packets sent to the terminal are correctly received by the terminal; if one or more of the 5 data packets are not decoded correctly, the terminal sends negative feedback to the server. After receiving the negative feedback, the server can determine that at least one of the 5 data packets sent to the terminal is not correctly received, and then the server retransmits all 5 data packets to the terminal. The advantages of this method are that it saves transmission resources in the uplink direction, reduces terminal power consumption, and is simple and easy to implement; however, the disadvantages of this method are that the server blindly retransmits all data packets, resulting in a waste of transmission resources, and in some extreme cases where the channel quality is poor, the data packets that are not correctly transmitted on the server side will not be cleared from the cache for a long time, which will easily cause the server cache space to be full and make it impossible to transmit new data packets.
[0052] The above information is provided as background information only to assist in understanding the present application. No determination has been made, and no assertion has been made, as to whether any of the above may be applicable as prior art with respect to the present invention.
[0053] Figure 1 It is a flowchart of a method according to an embodiment of the present invention. As shown in the figure, the method of the present invention includes the following steps:
[0054] Step 11: The server sends initial configuration information to the terminal, where the initial configuration information indicates a feedback time starting point and a feedback cycle length to the terminal; the system of the present invention is a synchronous system, that is, the server is time-synchronized with the terminal; in one embodiment, taking the currently widely used orthogonal frequency division multiplexing system as an example, the feedback time starting point can be a certain OFDM symbol, and the feedback time length can be 20, 30, or even 40 OFDM symbols; in another embodiment, if the system does not adopt the orthogonal frequency division multiplexing coding method, the feedback time starting point can be the starting point of a certain frame, the starting point of a certain sub-frame, the starting point of a certain half-frame, etc., and the feedback cycle length can be one frame, one half-frame, two frames, etc.;
[0055] Step 12: The server sends one or more data packets to the terminal after the feedback time starting point, where the data packet includes a request for patient medication feedback information; those skilled in the art should understand that the number of data packets sent to the terminal in one feedback cycle is determined by the application scenario and the user. If the current data traffic is small, the server may not even send any data packets to the terminal in one feedback cycle; if the current data traffic is large, the server may send multiple data packets to the terminal in one feedback cycle;
[0056] Step 13: The terminal determines multiple feedback cycles based on the feedback time starting point and the feedback cycle length, and receives one or more data packets sent by the server in each of the multiple feedback cycles; in one embodiment, the feedback time starting point can be the OFDM symbol numbered 1, and the feedback time length can be 20 OFDM symbols. Then the first feedback cycle is the time period composed of the OFDM symbols numbered 1-20, the second feedback cycle is the time period composed of the OFDM symbols numbered 21-40, and so on;
[0057] Step 14: If a data packet sent by the server is received in feedback cycle A, the terminal sends combined feedback information A to the server, where the combined feedback information A includes feedback field a1 and feedback field b1. Among them, feedback field a1 indicates to the server that the terminal has received a data packet, and feedback field b1 indicates to the server whether the terminal has correctly received a data packet;
[0058] Step 15: If multiple data packets sent by the server are received during feedback cycle A, the terminal sends combined feedback information B to the server. The combined feedback information B includes feedback field a2 and feedback field b2. The feedback field a2 indicates to the server the number of data packets received by the terminal during feedback cycle A, and the feedback field b2 sequentially indicates to the server whether the terminal correctly received each of the multiple data packets.
[0059] Step 16: After receiving a request for patient medication feedback information, the terminal sends corresponding patient medication feedback information to the server based on the request for patient medication feedback information.
[0060] In a preferred embodiment, if data packet A and data packet B sent by the server are sequentially received during feedback cycle A (where data packet A is earlier in time and data packet B is later in time), the terminal sends combined feedback information B to the server. The combined feedback information B includes feedback field a2 and feedback field b2. The feedback field a2 indicates to the server that the terminal received two data packets during feedback cycle A, and the feedback field b2 sequentially includes bit a and bit b. Bit a indicates to the server whether the terminal correctly received data packet A, and bit b indicates to the server whether the terminal correctly received data packet B. In one embodiment, after receiving feedback field a2, if the server determines that the terminal received 2 data packets during feedback cycle A, the server can expect that two bits will be included in feedback field b2 of the combined feedback information B. In the case where the length of the combined feedback information B is variable, this design helps the server correctly decode and read the two fields in the combined feedback information B. In this case, the feedback field b2 of the combined feedback information B can include "00", "01", "10", or "11". The first bit of the feedback field b2 corresponds to whether data packet A was correctly received because data packet A was the earlier sent (or received) data packet, and the second bit of the feedback field b2 corresponds to whether data packet B was correctly received. In one embodiment, if "0" represents correct reception, then "00" represents that data packet A was correctly received and data packet B was correctly received, "01" represents that data packet A was correctly received and data packet B was not correctly received, and so on. Those skilled in the art should understand that in this embodiment, the server is configured to be able to send only two data packets in one feedback cycle, and the purpose of this design will be described in detail in the following embodiments.
[0061] In a preferred embodiment, if the terminal sequentially receives data packet A, data packet B, and data packet C sent by the server during feedback cycle A, the terminal sends combined feedback information B to the server, where the combined feedback information B includes feedback field a2 and feedback field b2. The feedback field a2 indicates to the server that the terminal has received three data packets during feedback cycle A, and the feedback field b2 sequentially includes bit a, bit b, and bit c. Bit a indicates to the server whether the terminal has correctly received data packet A, bit b indicates to the server whether the terminal has correctly received data packet B, and bit c indicates to the server whether the terminal has correctly received data packet C. Those skilled in the art should understand that in this embodiment, the server is configured to be able to send only 3 data packets in one feedback cycle, and the purpose of this design will be described in detail in the following embodiments. In one embodiment, after receiving the feedback field a2, if the server determines that the terminal has received 3 data packets during feedback cycle A, the server can expect that 3 bits will be included in the feedback field b2 of the combined feedback information B. In the case where the length of the combined feedback information B is variable, this design helps the server correctly decode and read the two fields in the combined feedback information B. In this case, the feedback field b2 of the combined feedback information B can establish the following correspondence table (√ indicates correct reception, × indicates incorrect reception):
[0062]
[0063]
[0064] Compared with the first feedback mechanism in the existing concept, the aforementioned feedback mechanism has the advantage of lower feedback overhead. For example, in one of the aforementioned feedback mechanisms, the terminal is required to provide feedback for each data packet. In this case, each feedback message needs to include a CRC check code and a header (the header information needs to indicate the ID of the terminal and the ID of the data packet). Subsequently, the entire message needs to undergo coding operations such as channel coding and spreading, which are conventional wireless transmission coding operations. However, the actual information in the entire feedback message is only 1 bit (which is used to indicate whether the data packet has been correctly received), resulting in a large amount of redundancy. In the feedback mechanism of this application, the actual information in the feedback message can be, for example, 2 bits, 3 bits, or even more bits. For more feedback information, the redundancy also includes a CRC check code and a header (the header information needs to indicate the ID of the terminal). Subsequently, the entire message needs to undergo coding operations such as channel coding and spreading, which are conventional wireless transmission coding operations. This reduces the proportion of redundancy in the message. In the case of a large number of terminals and a large amount of data transmission, the savings in transmission redundancy are quite significant. For example, if the actual information in the feedback message is 2 bits, the actual amount of information is effectively doubled. However, as is well known, the length of the entire message after verification and coding cannot be doubled. That is, the present invention transmits more information with less redundancy. In addition, the aforementioned first feedback mechanism needs to carry a data packet ID in each message, while this application can carry only one feedback cycle ID for two data packets, which is equivalent to saving the redundancy of information transmission. In summary, this application can achieve efficient data transmission. Similarly, for an embodiment where three data packets are transmitted in one feedback cycle, this application can also achieve a high transmission efficiency. In the embodiment where three data packets are transmitted in each feedback cycle, the overall transmission efficiency of this application is even slightly higher than that of the embodiment where two data packets are transmitted in each feedback cycle.
[0065] In a preferred embodiment, if N data packets sent by the server are successively received in feedback cycle A, the terminal sends combined feedback information B to the server. The combined feedback information B includes a feedback field a2 and a feedback field b2. The feedback field a2 indicates to the server that the terminal has received N data packets during feedback cycle A, and the feedback field b2 successively includes N bits. The x-th bit among the N bits indicates to the server whether the x-th data packet among the N data packets of the terminal has been correctly received. Those skilled in the art should understand that in this embodiment, the server is configured to be able to send any number of data packets in one feedback cycle. Continuously increasing the number of data packets in one feedback cycle can of course continue to slightly reduce the redundancy of data transmission. However, an increase in the number of data packets means that the length of the feedback field b2 continues to increase, and the length of the entire combined feedback information B continues to increase. This will result in a decrease in the probability that the server correctly receives and decodes the combined feedback information B, and the overall system gain will be impaired. In addition, sending more data packets in one feedback cycle (such as 10, 20, or even more) requires the feedback cycle length to be extended proportionally. For example, when the size of each data packet is the same, the feedback cycle for transmitting 30 data packets must be longer than the feedback cycle for transmitting 10 data packets. A too-long feedback cycle will cause the server not to know the status of the data packets currently received by the terminal, and the server will blindly send too many data packets. For example, the server sends 20 data packets to the terminal, but the 4th - 20th data packets all have decoding errors. If the feedback cycle is short, the server can promptly know that the data packets have successive decoding errors and react. In this case, perhaps the server will not blindly send the 10th - 20th data packets. However, in an embodiment with a very long feedback cycle, the server does not know the reception situation of the data packets, so the server blindly sends all the 4th - 20th data packets to the terminal, resulting in successive long-time decoding errors at the terminal and greatly reducing the transmission efficiency. Of course, in the case of particularly good channel quality, sending more data packets in one feedback cycle will achieve higher efficiency. However, under general channel conditions, it is preferably to send 2 or 3 data packets in one feedback cycle, and configure the feedback cycle length based on the requirement of sending 2 or 3 data packets in one feedback cycle.
[0066] In a preferred embodiment, after receiving the combined feedback information B, the server determines the number of data packets received by the terminal during the feedback period A based on the feedback field a2; if the server sends two data packets to the terminal during the feedback period A, and the server determines based on the feedback field a2 that the terminal has received two data packets during the feedback period A, the server continues to sequentially read bit a and bit b in the feedback field b2; if bit a of the feedback field b2 indicates that the terminal has not correctly received data packet A, the server retransmits data packet A to the terminal; if bit a of the feedback field b2 indicates that the terminal has correctly received data packet A, the server deletes the data packet A cached at the server; if bit b of the feedback field b2 indicates that the terminal has not correctly received data packet B, the server retransmits data packet B to the terminal; if bit b of the feedback field b2 indicates that the terminal has correctly received data packet B, the server deletes the data packet B cached at the server; if the server sends more than two data packets to the terminal during the feedback period A, and the server determines based on the feedback field a2 that the terminal has received two data packets during the feedback period A, the server retransmits all the data packets sent during the feedback period A to the terminal. Compared with the second existing envisioned feedback mode, the method of the present application has higher feedback accuracy, the server can know whether each data packet has been correctly received, preventing blind retransmission of all data packets, and at the same time the server can more timely delete the data packets that have been correctly received in the cache.
[0067] In a preferred embodiment, after receiving the combined feedback information B, the server determines the number of data packets received by the terminal during the feedback period A based on the feedback field a2;
[0068] If the server sends three data packets to the terminal during the feedback period A, and the server determines based on the feedback field a2 that the terminal has received three data packets during the feedback period A, the server continues to sequentially read bit a, bit b, and bit c in the feedback field b2;
[0069] If bit a of the feedback field b2 indicates that the terminal has not correctly received data packet A, the server retransmits data packet A to the terminal;
[0070] If bit a of the feedback field b2 indicates that the terminal has correctly received data packet A, the server deletes the data packet A cached at the server;
[0071] If bit b of the feedback field b2 indicates that the terminal has not correctly received data packet B, the server retransmits data packet B to the terminal;
[0072] If bit b of the feedback field b2 indicates that the terminal has correctly received data packet B, the server deletes the data packet B cached at the server;
[0073] If the bit c of the feedback field b2 indicates that the terminal has not correctly received the data packet C, the server retransmits the data packet C to the terminal;
[0074] If the bit c of the feedback field b2 indicates that the terminal has correctly received the data packet C, the server deletes the data packet C cached at the server;
[0075] If the server sends more than three data packets to the terminal during the feedback period A, and the server determines based on the feedback field a2 that the terminal has received three data packets during the feedback period A, the server retransmits all the data packets sent during the feedback period A. In an extreme example, if the channel condition is extremely poor, then on the terminal side, the received power of the data packet may be less than the threshold value, and the signal of the data packet is submerged in the noise, which results in the loss of the data packet (instead of decoding failure). At this time, there will be a problem that the number of data packets sent by the server is different from the number of data packets received by the terminal. However, in a local area network environment, the probability of this situation occurring is extremely small, or the probability of this situation can be reduced by deploying a signal amplifier.
[0076] In a preferred embodiment, after receiving the combined feedback information B, the server determines the number of data packets received by the terminal during the feedback period A based on the feedback field a2;
[0077] If the server sends N data packets to the terminal during the feedback period A, and the server determines based on the feedback field a2 that the terminal has received N data packets during the feedback period A, the server continues to sequentially read N bits in the feedback field b2;
[0078] If the bit x of the feedback field b2 indicates that the terminal has not correctly received the Xth data packet among the N data packets, the server retransmits the Xth data packet among the N data packets to the terminal;
[0079] If the bit x of the feedback field b2 indicates that the terminal has correctly received the Xth data packet among the N data packets, the server deletes the Xth data packet among the N data packets cached at the server;
[0080] If the server sends more than N data packets to the terminal during the feedback period A, and the server determines based on the feedback field a2 that the terminal has received N data packets during the feedback period A, the server retransmits all the data packets sent during the feedback period A.
[0081] In a preferred embodiment, the server sends updated initial configuration information to the terminal. The updated initial configuration information indicates to the terminal a new feedback time start point, an initial feedback cycle length, and a feedback cycle increment step size. Those skilled in the art should understand that if the terminal receives the updated initial configuration information after receiving the initial configuration information, the terminal deletes the configuration based on the initial configuration information and reconfigures the terminal based on the updated initial configuration information. In one embodiment, the feedback time start point may be the OFDM symbol numbered 1, the feedback time length may be 10 OFDM symbols, and the feedback cycle increment step size may be 2 OFDM symbols. Then the first feedback cycle is the time period composed of the OFDM symbols numbered 1 - 10, and the terminal cannot determine the length of the second feedback cycle at this time.
[0082] After the new feedback time start point, the server sends one or more data packets to the terminal, where the data packet includes a request for patient medication feedback information.
[0083] The terminal determines the first feedback cycle after receiving the updated initial configuration information based on the new feedback time start point and the initial feedback cycle length, and receives one or more data packets sent by the server during the first feedback cycle.
[0084] If the terminal receives one data packet sent by the server during the first feedback cycle, the terminal sends combined feedback information C to the server, where the combined feedback information C includes feedback field a3 and feedback field b3. The feedback field a3 indicates to the server that the terminal has received one data packet, and the feedback field b3 indicates to the server whether the terminal has correctly received one data packet.
[0085] If the terminal receives multiple data packets sent by the server during the first feedback cycle, the terminal sends combined feedback information D to the server, where the combined feedback information D includes feedback field a4 and feedback field b4. The feedback field a4 indicates the number of data packets received by the terminal during the first feedback cycle, and the feedback field b4 sequentially indicates whether the terminal has correctly received each of the multiple data packets.
[0086] After receiving the request for patient medication feedback information, the terminal sends the corresponding patient medication feedback information to the server based on the request for patient medication feedback information.
[0087] In a preferred embodiment, if all the data packets sent by the server are correctly received in the first feedback period, the terminal updates the length of the second feedback period to the sum of the initial feedback period length and the feedback period increment step; in an embodiment, if not all the data packets sent by the server are correctly received in the first feedback period, the terminal determines that the length of the second feedback period remains the initial feedback period length; those skilled in the art should understand that the first feedback period and the second feedback period are two feedback periods that are temporally adjacent to each other; in an embodiment, if all the data packets sent by the server are correctly received in the first feedback period, the terminal determines that the length of the second feedback period is 12 OFDM symbols (10 + 2), and if all the data packets sent by the server are correctly received in the second feedback period, the terminal determines that the length of the third feedback period is 14 OFDM symbols (10 + 2 + 2); in an embodiment, if in the first three feedback periods, the terminal correctly receives all the data packets and has thus extended the feedback period length to 16 OFDM symbols, and if in the fourth feedback period, the terminal does not correctly receive all the data packets, the terminal can shorten the feedback period to the initial feedback period length (i.e., 10 OFDM symbols); the same rule is applied on the server side, so without any other signaling assistance, the server and the terminal can synchronously extend the feedback period length. As mentioned above, when the channel condition is good enough, continuously extending the feedback period length has the effect of improving data transmission efficiency.
[0088] If the server determines, based on the combined feedback information C or the combined feedback information D, that the terminal has correctly received all the data packets sent by the server in the first feedback cycle, the server updates the length of the second feedback cycle to the sum of the initial feedback cycle length and the feedback cycle increment step; in an extreme case, the server may have sent 3 data packets to the terminal, but the terminal only received two data packets and correctly decoded two data packets. At this time, the terminal does not know that it should not actually extend the feedback cycle and wrongly extends the feedback cycle. While on the server side, it is clear that the terminal has not correctly received all the data packets but wrongly extended the feedback cycle. Then the server can also extend the feedback cycle so that the server and the terminal can maintain time synchronization; and this step may cause the system to wrongly extend the feedback cycle under poor channel quality conditions, resulting in the transmission efficiency decline as mentioned above. However, this step allows the system to still maintain system timing synchronization in extreme cases and prevent more serious errors. The problem of the decline in transmission efficiency can be solved by subsequent operations to shorten the feedback cycle. In addition, even if there is a problem of time asynchronization (that is, the server uses a short feedback cycle and the terminal uses a long feedback cycle), this error can be solved through higher-layer operations. For example, at the application layer, if the data packets are wrongly assembled into the final application-layer data due to time asynchronization, then the application layer can request the server to retransmit the entire application-layer data. In short, the problems generated in this extreme case can be solved by well-known methods;
[0089] The terminal receives one or more data packets sent by the server in the second feedback cycle;
[0090] If the terminal receives one data packet sent by the server in the second feedback cycle, the terminal sends the combined feedback information E to the server, where the combined feedback information E includes the feedback field a5 and the feedback field b5. The feedback field a5 indicates to the server that the terminal has received one data packet, and the feedback field b5 indicates to the server whether the terminal has correctly received one data packet;
[0091] If the terminal receives multiple data packets sent by the server in the second feedback cycle, the terminal sends the combined feedback information F to the server, where the combined feedback information F includes the feedback field a6 and the feedback field b6. The feedback field a6 indicates to the server the number of data packets received by the terminal during the second feedback cycle, and the feedback field b6 indicates to the server whether the terminal has correctly received each of the multiple data packets;
[0092] After receiving the request for the patient medication feedback information, the terminal sends the corresponding patient medication feedback information to the server based on the request for the patient medication feedback information.
[0093] It should be understood that in various embodiments of the present invention, the written sequence order of the above processes does not mean the sequence order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0094] It should be understood that the above specific embodiments of the present invention are only used for exemplary illustration or explanation of the principles of the present invention, and do not constitute a limitation to the present invention. Therefore, any modifications, equivalent replacements, improvements, etc. made without departing from the spirit and scope of the present invention shall be included within the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all variations and modifications that fall within the scope and boundaries of the appended claims, or equivalent forms of such scope and boundaries.
Claims
1. A remote management method for patient medication feedback information, characterized in that, The method includes: The server sends initial configuration information to the terminal, where the initial configuration information indicates a feedback time start point and a feedback cycle length to the terminal; After the feedback time start point, the server sends one or more data packets to the terminal, where the data packet includes a request for patient medication feedback information; The terminal determines multiple feedback cycles based on the feedback time start point and the feedback cycle length, and receives one or more data packets sent by the server in each of the multiple feedback cycles; If the terminal receives one data packet sent by the server in feedback cycle A, the terminal sends combined feedback information A to the server, where the combined feedback information A includes feedback field a1 and feedback field b1, where the feedback field a1 indicates to the server that the terminal has received one data packet, and the feedback field b1 indicates to the server whether the terminal has correctly received the one data packet; If the terminal receives multiple data packets sent by the server in feedback cycle A, the terminal sends combined feedback information B to the server, where the combined feedback information B includes feedback field a2 and feedback field b2, where the feedback field a2 indicates the number of data packets received by the terminal during feedback cycle A to the server, and the feedback field b2 sequentially indicates to the server whether the terminal has correctly received each of the multiple data packets; After receiving the combined feedback information A or B, the server determines the number of data packets received by the terminal during feedback cycle A based on the feedback field a1 or a2; If the server sends data packet A, data packet B, and data packet C to the terminal during feedback cycle A, and the server determines based on the feedback field a2 that the terminal has received three data packets during feedback cycle A, the server continues to sequentially read bit a, bit b, and bit c in the feedback field b2; If bit a or b or c of the feedback field b2 indicates that the terminal has not correctly received the data packet corresponding to a certain bit, the server re-sends the data packet to the terminal; If bit a or b or c of the feedback field b2 indicates that the terminal has correctly received the data packet corresponding to a certain bit, the server deletes the data packet cached at the server; The server sends updated initial configuration information to the terminal, where the updated initial configuration information indicates a new feedback time start point, an initial feedback cycle length, and a feedback cycle increment step size to the terminal; After the new feedback time start point, the server sends one or more data packets to the terminal, where the data packet includes a request for patient medication feedback information; The terminal determines the first feedback cycle after receiving the updated initial configuration information based on the new feedback time start point and the initial feedback cycle length, and receives one or more data packets sent by the server in the first feedback cycle; If one or more data packets sent by the server are received in the first feedback cycle, the terminal sends combined feedback information to the server, and the combined feedback information includes a feedback field indicating the number of received data packets and a feedback field indicating whether each data packet is correctly received; If the server determines based on the combined feedback information that the terminal correctly receives all the data packets sent by the server in the first feedback cycle, the server updates the length of the second feedback cycle to the sum of the initial feedback cycle length and the feedback cycle increment step; The terminal receives one or more data packets sent by the server in the second feedback cycle; If one or more data packets sent by the server are received in the second feedback cycle, the terminal sends combined feedback information to the server, and the combined feedback information includes a feedback field indicating the number of received data packets and a feedback field indicating whether each data packet is correctly received; After receiving the request for the patient medication feedback information, the terminal sends the corresponding patient medication feedback information to the server based on the request for the patient medication feedback information.
2. A remote management system for patient medication feedback information, characterized in that, The system includes a server and a terminal, and the system is capable of performing the method described in claim 1.
Citation Information
Patent Citations
Chronic disease management method and device based on medication data and electronic equipment
CN112786140A
Data state feedback packet and application thereof
CN102820957A
Medicine recommending method and apparatus
CN108062970A