Intelligent detection system and detection method for diabetic patients traveling
Through the expansion of wearable devices and online intelligent diagnosis and consultation, combined with machine learning and artificial intelligence, the travel safety of diabetic patients is assessed, which solves the problem of difficulty in comprehensively assessing travel safety in the existing technology and achieves a comprehensive assessment of the travel safety of diabetic patients. Security assessment and efficient control.
Patent Information
- Application Number
- CN202410170069.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-06
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-02-06
AI Technical Summary
Existing solutions are difficult to comprehensively assess travel safety for diabetic patients in a short period of time, and the severity of each patient is different, making it impossible to formulate unified travel standards. A single blood glucose monitoring indicator cannot comprehensively assess travel safety.
By expanding wearable devices, combining online intelligent consultation and offline testing, a system is formed, using machine learning to evaluate various factors, including blood glucose monitoring, medication reminders and item verification, providing patient-centered travel assessment reports, using servers and detection Networking of devices for artificial intelligence modeling and data analysis.
It achieves a comprehensive assessment of the travel safety of diabetic patients, improves the real-time and interactive nature of disease control, combines artificial intelligence and physician assessment to provide double security, and improves travel safety and efficiency.
Smart Images

Figure CN117912660B
Abstract
Description
Technical Field
[0001] The present invention relates to a system and method for examining patients to determine whether they can travel safely, and in particular to diabetic patients. Background Art
[0002] Since diabetic patients need to pay attention to blood sugar, diet, rest and other factors at all times to control their condition well, this requires how to make an overall analysis in advance to predict the suitability of travel in scenarios where they need to stay away from medical treatment and provide factors to control the condition. The existing solution is to achieve the effect of reasonable control of the disease by consulting a doctor, preparing medical supplies and diet, and urging patients to have certain self-help knowledge. However, these travel requirements are difficult to complete conveniently in a short period of time, and the severity of each type of patient is different, so it is impossible to make a unified travel standard.
[0003] Monitoring blood sugar through wearable devices is a reliable solution. However, a single indicator monitoring function cannot evaluate the overall safety of travel. Therefore, how to comprehensively evaluate various factors and predict travel safety is an urgent problem to be solved. Summary of the invention
[0004] In view of the above problems, the present invention will consider the following solutions. First, consider expanding wearable devices to form a system, and realize patient-centered on-site plan making through online intelligent consultation and offline detection of the wearer, that is, there is no need to export or query one's own manual plan everywhere to obtain a complete safe travel assessment report; second, consider each factor as a parameter, conduct overall machine learning, and conduct evaluation.
[0005] Based on the above considerations, an object of the present invention is to provide an intelligent detection system for diabetic patients traveling, comprising: at least one wearable and / or handheld detection device connected to a medical institution computer, at least one server, and at least one medicine box for placing medicines, wherein the detection device comprises a housing, a camera lens, a processor, and a touch screen, the server communicates with the detection device, and uses the data sent by the detection device to perform artificial intelligence modeling, so as to analyze and process the data locally on the server or on the detection device through the processor to achieve intelligent detection, so as to further make an assessment report on safe travel, wherein the detection device monitors the patient's blood sugar in real time or periodically, and uploads it to the medical institution computer and server with the help of processor control, and issues medication reminders on time, the patient scans the code of the medicine box through the camera lens, and opens the medicine box to take the medicine, the medical institution computer determines whether the patient has stored the medicine in the medicine box as required and opened it on time to take the medicine through the scanning situation, and determines whether the camera lens can be regarded as used.
[0006] It is understandable that the medicine taking box is set to communicate with the detection device to trigger the opening of the box when scanning.
[0007] In one embodiment, the server includes a remote server and / or a proximate server.
[0008] Preferably, the short-range server includes a server set up in a community or residential area health station where the patient resides, and a local area network is formed between the servers set up in each of the health stations and the detection equipment of the patients in each community or residential area, and a main server is set up to collect statistics on the data sent from the servers set up in each of the health stations within the geographical area, and when at least one of the servers set up in the health station fails, it can assume the intelligent detection function of the server set up in the health station, or when the main server fails, at least one of the servers set up in the community or residential area health station assumes the function of the main server.
[0009] It is understandable that, through LAN interconnection, it is possible to achieve, especially when patients travel together, the safety travel assessment of the entire team, and when at least one patient is not able to meet the conditions, other "travelers" can help each other. Or when at least one patient is not able to meet the conditions, internal meetings can be held to discuss and decide whether to continue traveling together or withdraw from the team in combination with the assessment and suggestions of online medical institutions.
[0010] Therefore, preferably, patients in each community or neighborhood can start an online meeting at any time through the detection equipment, and can access the medical institution computer for online evaluation to decide whether to continue traveling together or withdraw from the team.
[0011] The detection device interacts online with the physician through the computer of the networked medical institution, makes an online physician visit report before the trip, and obtains the electronic version of the identity certificate, diabetes science materials, and hospital information documents.
[0012] For wearable detection devices, the camera lens includes a front camera and a side camera; for handheld detection devices, the camera lens includes a front camera and a rear camera, wherein the front camera is used to start a meeting or take selfies or videos, and the side camera is arranged on the side surface of the detection device away from the patient's body. When worn or handheld, the side camera and the rear camera can be respectively directed toward the subject to capture images or videos, and before making an assessment report on safe travel, the side camera and the rear camera can be analyzed by the processor of the detection device to record whether they have been used or not. If it is found that they have not been used, the assessment report cannot be made, and the information that the assessment report cannot be made will be sent to the computer of the networked medical institution to remind the doctor to use them.
[0013] Optionally, when worn, the side camera is also used to scan the code of the medicine box to open the medicine box and take the medicine.
[0014] The objects photographed include a variety of items, including insulin syringes, insulin pumps, prescriptions, hematology medical supplies, contents of first aid kits, and carbohydrate products.
[0015] The medical supplies for hematology include alcohol swabs, blood glucose meters with spare batteries, blood glucose test strips, and blood collection needles; the contents include the following packaged items: analgesics, antibiotics and fungal ointments, antidiarrheals, antiemetics, stomach antacids, cold and allergy medicines, insect repellents, other prescription drugs, sunscreens, as well as bandages, sterile gauze, tape, and first aid manuals; the carbohydrate products include at least one to three of packaged breakfast bars, candies, biscuits, sandwiches, assorted dried fruits, glucagon injection reagents, glucose gels or tablets.
[0016] Preferably, when the processor of the detection device records one of the multiple categories of items by the side camera and the rear camera, it is determined whether the verification has passed. If so, the next category of items will be recorded until all the multiple categories of items have passed the verification. Otherwise, the verification will continue within the specified time, and an alarm will be issued if it times out.
[0017] Preferably, the prescribed time is 30s-15min.
[0018] The access report includes the blood sugar history data uploaded by the testing device , Number the historical days, the patient's medication status, and the manual comprehensive score made by the physician based on the blood sugar history data and the medication status , where the score is determined based on historical blood sugar data , Normal blood sugar level, Indicates the total number of historical data; for medication status, the full score is , 20% will be deducted for forgetting to take medicine once, and the manual comprehensive score , The number of times you forget to take your medication, and When it reaches 5 times, an assessment report will be made directly that travel is not recommended.
[0019] It is easy to understand that when the number of times of forgetting to take medicine is too high, it indicates to a certain extent that the patient is more likely to habitually forget to take medicine or to be overconfident and deliberately not take medicine. Therefore, it is not recommended to travel, so as not to make it more difficult to control the disease.
[0020] Preferably, each camera can control the timing of capturing images and take real-time screenshots when recording videos through voice or gestures.
[0021] Preferably, the handheld detection device has a rotating base that can adjust the position orientation of the handheld detection device after being worn, so as to adjust the position orientation according to the patient's habitual viewing angle.
[0022] The verification method comprises the following steps:
[0023] S1 establishes a generative adversarial network (GAN), collects multiple images of multiple types of objects, and inputs the collected images of the object of the type to be tested, multiple other images of the object of the type to be tested, and images of other types of objects as pseudo-images into the network to train the judge and the generator in sequence to form a generative adversarial network corresponding to the object of the type to be tested;
[0024] Therefore, there are as many GANs as there are types of objects. In addition, the present invention uses pictures of other types of objects that are not used for prediction as pseudo-images, which greatly reduces the work of collecting training sets.
[0025] S2 When the object is photographed, the captured image or real-time screenshot of the recorded video is input into the generator corresponding to each type of trained object, and the discriminator is used to identify the true or false type of the object, so as to display the true classification result on the display screen for the patient to see;
[0026] After the patient confirms that S3 is correct (i.e., passes the verification), click the next category on the touch screen and repeat step S2 to complete all verifications.
[0027] Optionally, when the confirmation is incorrect, S2 is repeated for multiple confirmations.
[0028] Preferably, when the identification of at least one category of items always fails within a specified number of times, the patient operates on the touch screen to enter the manual verification mode and completes the manual verification according to the prompts on the touch screen, clicks on the touch screen for the next category, and repeats step S2.
[0029] The method of artificial intelligence modeling includes the following steps:
[0030] P1 established a long short-term memory network (LSTM), recruited multiple patients of different degrees as volunteers, and asked them to take medication according to the prescribed method, and obtained historical medication records and historical blood sugar records within the expected pharmacokinetic time after taking medication;
[0031] P2 inputs the zero vector into the initial end of the network, inputs the medication record (vector representation) into the input end of each corresponding time node unit of the network, compares the output end with the corresponding historical blood glucose record (vector representation), verifies the accuracy and calculates the corresponding loss function, and predicts the blood glucose value of the next time node after the last time node unit of the total historical time length, compares it with the true value, and calculates the total loss function, optimizes the network parameters, until the training is completed and the total loss function tends to be minimized;
[0032] P3 obtains the medication record for the scheduled time period before the trip, inputs it into the network, and obtains the blood sugar value at the next time node in the future , and continue to take the medicine normally to predict blood sugar levels at more time points in the future , Number future time nodes in days; get comprehensive AI scores based on multiple blood sugar values ,and , Calculate the total comprehensive score for the total number of future time nodes ,in and is the weighting coefficient, and .
[0033] It is easy to understand that the purpose of using artificial intelligence modeling is to be able to predict, based on the current blood sugar value, whether blood sugar can be controlled well if the patient takes medication on time during a trip. That is, to evaluate whether normal medication after the trip can ensure good control of the disease during the trip.
[0034] It is understandable that if the current blood sugar level is very abnormal (due to forgetting to take medicine many times or being too confident that it has not been controlled for a period of time), even if you take medicine normally in the short term, it is unlikely to guarantee good control for a period of time during the trip, that is, it cannot meet the safety standards for travel, and travel is not recommended. It needs to be controlled to a certain level before considering whether to recommend travel. The credibility of machine learning is still lower than the scoring recommendations of manual doctors, so This is also a reflection of the fact that the assessment reports we subsequently established do not rely too much on artificial intelligence in order to achieve a more scientific security assessment.
[0035] The prescribed number of times is 2-3 times, the prescribed methods include normal medication, and forgetting to take medication for at least 1-2 consecutive days at the prescribed time nodes, the total historical duration is 1 month to 3 months, the predetermined period is 1-3 weeks, and more time nodes in the future are 7-120.
[0036] The expected pharmacokinetic time is the expected time when the drug's effect reaches its peak.
[0037] The evaluation report is based on whether multiple categories of items have been fully verified and the overall comprehensive score. The total comprehensive score is obtained by sending the data to the testing device locally on the server or operating on the touch screen of the testing device. If it exceeds the preset value and the verification is fully passed, the evaluation report will give travel suggestions, otherwise no suggestions will be given.
[0038] Optionally, the operations on the touch screen of the detection device include inputting historical data into a model received or updated by the detection device from a server, obtaining a manual comprehensive score in an access report, and verification pass status of multiple categories of items.
[0039] Another object of the present invention is to provide an intelligent detection method for diabetic patients traveling based on the above detection system, comprising the following steps:
[0040] Q1 builds an intelligent detection system for diabetic patients traveling;
[0041] The Q2 detection device monitors blood sugar data in real time, uploads it to the server and sends out medication reminders at regular intervals. The server uses the data sent by the detection device to perform artificial intelligence modeling, thereby realizing intelligent detection locally on the server or on the detection device, so as to further make an evaluation report on safe travel;
[0042] Q3 The detection device interacts online with the physician through the computer of the networked medical institution, and makes an online physician visit report before the trip. Before making an assessment report on safe travel, the detection device can record whether the side camera and the rear camera have been used. If it is found that they have not been used, the assessment report cannot be made, and the information that the assessment report cannot be made is sent to the computer of the networked medical institution to remind the physician to use them to verify multiple types of items;
[0043] Q4 is based on whether multiple categories of items have been fully verified and the overall comprehensive score , so as to send the evaluation report to the detection device locally on the server, or to obtain the evaluation report by operating on the touch screen of the detection device, wherein,
[0044] It also includes a step Q5 which is performed independently of steps Q2-Q4 after Q1, that is, the patient scans the code of the medicine box through the camera lens to open the medicine box and take the medicine. Beneficial Effects
[0045] 1. Integrate medication reminders, treatment history, and indicator artificial intelligence predictions into an intelligent system, and conduct data interaction and processing analysis within the local area network, which improves the real-time, interactive, and efficient nature of disease control.
[0046] 2. Use manual scoring and intelligent scoring to provide patients with a comprehensive safety assessment of their travel, which is not biased towards artificial intelligence and embodies the dual evaluation functions of human experience and artificial intelligence.
[0047] 3. Decide whether to travel or continue with the group through an online meeting. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1Embodiment 1 of the present invention is a schematic diagram of a configuration of an intelligent detection system for diabetic patients traveling.
[0049] Figure 2 Schematic diagram of the operation of scanning a code to open a box according to Embodiment 1 of the present invention,
[0050] Figure 3 Flow chart of the multi-classification item verification method of embodiment 2 of the present invention,
[0051] Figure 4 Flow chart of the method for artificial intelligence modeling according to Embodiment 2 of the present invention,
[0052] Figure 5 The user interface of the wearable detection device shown in Example 3 of the present invention, wherein Figure 5 Figure a shows the real-time blood glucose monitoring situation, figure 5b shows the dialog box pop-up status after the service message button is pressed, figure 5c is the interface after the online interaction with the physician is completed, and figure 5d shows the dialog box pop-up status after the history and data button is clicked. DETAILED DESCRIPTION
[0053] Example 1
[0054] This embodiment will describe an intelligent detection system for diabetic patients traveling. Figure 1 As shown, for a patient in a certain community as an example (other communities and patients are similarly included in the system), it includes: a wrist-worn device connected to a computer of a medical institution, including a front camera, a side camera and a rotating base (see Figure 2 ) for position-adjustable detection equipment, a server in the computer room of the residential area of the patient, and a medicine box with a cover and a QR code for placing the medicine. It also includes a remote main server responsible for the detection of each community.
[0055] The detection device also includes a shell and a touch screen. The server communicates with the detection device and uses the data sent by the detection device to perform artificial intelligence modeling, thereby analyzing and processing the data locally on the server to achieve intelligent detection, so as to further make an evaluation report on safe travel.
[0056] The detection device monitors the patient's blood sugar in real time, and uploads it to the medical institution's computer and server with the help of processor control, and sends out medication reminders on time. Figure 2 The patient adjusts the position of the monitoring device by rotating the base so that the side camera faces the QR code, scans the code to open the cover of the medicine box, and takes the medicine.
[0057] The medical institution computer determines whether the patient has kept the medicine in the medicine box as required and opened it on time to take the medicine by scanning the code. For the following scanning situations, for any two consecutive events of scanning the code to open the medicine box, and blood sugar is well controlled during the events, it is determined that the patient has kept and taken the medicine, and the side camera is recorded as being used. Otherwise, the two times are regarded as invalid opening, that is, the side camera is regarded as not being used.
[0058] Specifically, the detection device can record whether the side camera has been used or not, and the processor of the detection device analyzes and records it. If the processor analysis finds that it has not been used, the evaluation report cannot be made, and the information that the evaluation report cannot be made is sent to the computer of the networked medical institution to remind the doctor to use it.
[0059] The detection device interacts online with the physician through the computer of the networked medical institution, makes an online physician visit report before the trip, and obtains the electronic version of the identity certificate, diabetes science materials, and hospital information documents.
[0060] The front camera is used to capture images of the photographed objects including multiple types of items, including insulin syringes, insulin pumps, prescriptions, hematology medical supplies, first aid kit contents, and carbohydrate products.
[0061] The medical supplies for hematology include alcohol swabs, blood glucose meters with spare batteries, blood glucose test strips, and blood collection needles; the contents include the following packaged items: analgesics, antibiotics and fungal ointments, antidiarrheals, antiemetics, stomach antacids, cold and allergy medicines, insect repellents, other prescription drugs, sunscreens, as well as bandages, sterile gauze, tape, and first aid manuals; the carbohydrate products include packaged breakfast bars, candies, sandwiches, glucagon injection reagents, and glucose tablets.
[0062] Every time the detection device records one of the multiple categories of items recorded by the side camera and the rear camera, it determines whether the verification has passed. If so, it continues to record the next category of items until all the multiple categories of items have passed the verification. Otherwise, it continues to verify within 1 minute, and an alarm is issued if it times out.
[0063] Example 2
[0064] This example will illustrate the method of analyzing the access report, verification method, and artificial intelligence modeling method of Example 1. The access report includes the blood sugar history data uploaded by the detection device. , Number the historical days, the patient's medication status, and the manual comprehensive score made by the physician based on the blood sugar history data and the medication status , where the score is determined based on historical blood sugar data , Normal blood sugar level, Indicates the total number of historical data; for medication status, the full score is , 20% will be deducted for forgetting to take medicine once, and the manual comprehensive score , The number of times you forget to take your medication, and When it reaches 5 times, an assessment report will be made directly that travel is not recommended.
[0065] Take one type of items to be tested as an example (other types of items can be analogized in the same way), such as Figure 3 As shown, the verification method includes the following steps:
[0066] S1 builds a generative adversarial network (GAN), adds noise to the image of the object to be tested, and inputs it into the generator. The output image is compared with other images of the object to be tested (in the form of " ”), and optionally other types of object pictures as pseudo-images (represented by “pseudo”), are input into the judge in the network, the judge is trained, and other collected images are continuously added with noise, and “ ” and “fake”, and then train the generator so that the image generated by the generator is as close to the object of the type to be tested as possible, so as to judge whether it is the real or fake of the object of the type to be tested, and form a generative adversarial network corresponding to the object of the type to be tested;
[0067] S2 When the object is photographed, the captured image is input into the generator trained under each type of object, and the corresponding trained judgement is used to identify the true or false type of the object, so as to display the classification result (true) on the display screen for the patient to view;
[0068] After the patient confirms that S3 is correct (i.e., passes the verification), click the next category on the touch screen and repeat step S2 to complete all verifications.
[0069] If the confirmation is wrong, repeat S2 to confirm within 2 times as specified.
[0070] When the identification of at least one category of items always fails within 2 times, the patient operates on the touch screen to enter the manual verification mode and completes the manual verification according to the prompts on the touch screen, clicks the next category on the touch screen, and repeats step S2.
[0071] like Figure 4 As shown, the method of artificial intelligence modeling includes the following steps:
[0072] P1 established a long short-term memory network (LSTM), recruited multiple patients of different degrees as volunteers, and asked them to take the medicine as usual, or forget to take the medicine for at least 1-2 consecutive days at the specified time point, and obtain the historical medication records and historical blood sugar records within the expected pharmacokinetic time after taking the medicine;
[0073] P2 inputs the zero vector into the initial end of the network, inputs the medication record (vector representation) into the input end of each corresponding time node unit of the network, compares the output end with the corresponding historical blood glucose record (vector representation), verifies the accuracy and calculates the corresponding loss function (L1, L2, L3, ..., Li), and predicts the blood glucose value of the next time node after the last time node unit of the total history of 1 month, compares it with the true value, and calculates the total loss function L, optimizes the network parameters, until the training is completed and the total loss function L tends to be minimized;
[0074] P3 obtains medication records from the two weeks before the trip, inputs them into the network, and obtains the blood sugar value at the next time point in the future , and continue to take the medicine normally to predict blood sugar levels at more time points in the future Number future time nodes in days; get comprehensive AI scores based on multiple blood sugar values ,and , Calculate the total comprehensive score for the total number of future time nodes .
[0075] Example 3
[0076] This embodiment will illustrate an intelligent detection method for diabetic patients traveling based on the system of embodiment 2, including the following steps:
[0077] Q1 constructs the intelligent detection system for diabetic patients traveling in Example 2;
[0078] The Q2 detection device monitors blood sugar data in real time, uploads it to the server and sends out medication reminders at regular intervals. The server uses the data sent by the detection device to perform artificial intelligence modeling, thereby realizing intelligent detection on the detection device to further make an evaluation report on safe travel;
[0079] Q3 The detection device interacts online with the physician through the computer of the networked medical institution, and makes an online physician visit report before the trip. Before making an evaluation report on safe travel, the detection device can record whether the side camera and the rear camera have been used. If it is found that they have not been used, the evaluation report cannot be made, and the information that the evaluation report cannot be made is sent to the computer of the networked medical institution to remind the physician to use them;
[0080] Q4 is based on whether multiple categories of items have been fully verified and the overall comprehensive score , so as to send the evaluation report to the detection device locally on the server, or to obtain the evaluation report by operating on the touch screen of the detection device, wherein,
[0081] It also includes a step Q5 which is performed independently of steps Q2-Q4 after Q1, that is, the patient scans the code of the medicine box through the side camera lens to open the medicine box and take the medicine.
[0082] Among them Figure 5 As shown, Figure 5 a, 5b, and 5d show the real-time blood sugar monitoring of the wearable detection device. The red vertical line indicates the increase in blood sugar, which means that the patient forgot to take the medicine three times.
[0083] like Figure 5 a. Click the service message button, which contains the model update, to implement the built artificial intelligence model sent by the server. Figure 5 cClick on Medical Visit, and a video of the doctor's conversation will appear. After the conversation ends, a pop-up window will appear. Figure 5 c dialog box, where you can click Get Visit Report to get the manual evaluation score. After that, click the Verify button to turn on the side camera to verify the item classification.
[0084] Then, if Figure 5 d Click the History and Data button to select the booking period and future time nodes. After the selection is completed, click Data Acquisition to automatically input the model to obtain the artificial intelligence score. Finally, click the Service Message button and click to obtain the evaluation report to determine whether to recommend travel.
[0085] If the total comprehensive score If it exceeds the preset value and the verification is fully passed, travel is recommended, otherwise it is not recommended.
Claims
1. An intelligent detection system for diabetic patients traveling, characterized in that: include: At least one wearable and / or handheld detection device connected to a medical institution computer, at least one server, and at least one medicine box for placing medicines, wherein the detection device comprises a housing, a camera lens, a processor, and a touch screen, wherein the server communicates with the detection device, and uses the data sent by the detection device to perform artificial intelligence modeling, thereby analyzing and processing the data locally on the server or on the detection device through the processor to realize intelligent detection, so as to further make an assessment report on safe travel, wherein the detection device monitors the patient's blood sugar in real time or regularly, and uploads it to the medical institution computer and server with the help of the processor control, and issues a reminder for taking medicines on time, wherein the patient scans the code of the medicine box through the camera lens, and opens the medicine box to take the medicine, and the medical institution computer determines whether the patient stores the medicine in the medicine box as required and opens it on time to take the medicine through the scanning situation, and determines whether the camera lens can be regarded as used; Patients in each community or neighborhood can start an online meeting at any time through the detection equipment, and can access the medical institution's computer for online evaluation to decide whether to continue traveling together or withdraw from the team; The detection device interacts online with the physician through the computer of the networked medical institution, makes an online physician visit report before the trip, and obtains electronic identity certificates, diabetes popular science materials, and hospital information documents; The access report includes the blood sugar historical data uploaded by the testing device. k , k is the historical day number, as well as the patient's medication status, and the manual comprehensive score S made by the physician based on the blood sugar historical data and the medication status r , where the score is determined based on historical blood sugar data Q normal is the normal blood sugar level, k max Indicates the total number of historical data; for medication, the full score is F, and 20% will be deducted for forgetting to take the medicine once, and the manual comprehensive score n is the number of times a person forgets to take medicine, and n∈[0,5]. When it reaches 5 times, a direct assessment report is made that does not recommend travel. The method of artificial intelligence modeling includes the following steps: P1 establishes a long short-term memory network LSTM, recruits patients of different degrees, and each degree has multiple patients as volunteers, each taking medicine in a prescribed manner, and obtains historical medication records and historical blood sugar records within the expected pharmacokinetic time after taking the medicine; P2 inputs a zero vector into the initial end of the network, inputs the medication record into each corresponding time node unit input end of the network, compares the output end with the corresponding historical blood sugar record, verifies the accuracy and calculates the corresponding loss function, and predicts the blood sugar value of the next time node after the last time node unit of the total historical time length, compares it with the true value, and calculates the total loss function, optimizes the network parameters, until the training is completed and the total loss function tends to be minimized; P3 obtains the medication record for the scheduled time period before the trip, inputs it into the network, obtains the blood sugar value Q0 at the next time node in the future, and continues to predict the blood sugar value Q at more time nodes in the future according to normal medication. j , j is the future time node number, which is numbered in days; the artificial intelligence comprehensive score S is obtained based on multiple blood sugar values ai ,and j max is the total number of time nodes in the future; Calculate the overall score Where α and β are weighting coefficients, and α+β=1, α>β; For a wearable detection device, the camera lens includes a front camera and a side camera; For the handheld detection device, the camera lens includes a front camera and a rear camera; the front camera is used to start a meeting or take selfies or videos, and the side camera is set on the side of the detection device away from the patient's body. When worn or handheld, the side camera and the rear camera can be respectively directed toward the object to be photographed to collect images or videos; when worn, the side camera is also used to scan the code to take the medicine box, so as to open the medicine box and take the medicine; the objects to be photographed include many types of items, including insulin syringes, insulin pumps, prescriptions, medical supplies for hematology, contents of first aid kits, and carbohydrate products; When the processor of the detection device records one of the multiple categories of items by the side camera and the rear camera, it is determined whether the verification is passed. If yes, the next category of items is recorded until all the multiple categories of items are verified. Otherwise, the verification is continued within a specified time, and an alarm is issued if the timeout is exceeded; If the total comprehensive score S exceeds the preset value and the verification is fully passed, travel is recommended, otherwise it is not recommended.
2. The detection system according to claim 1, characterized in that: The server includes a remote server and / or a local server; The short-range server includes a server set up at a health station in the community or residential area where the patient lives, and a local area network is formed between the servers set up at each health station and the detection equipment of the patients in each community or residential area, and a main server is set up to collect statistics on the data sent from the servers set up at each health station within the geographical area, and when at least one of the servers set up at the health station fails, it can assume the intelligent detection function of the server set up at the health station, or when the main server fails, at least one of the servers set up at the community or residential area health station assumes the function of the main server.
3. The detection system according to claim 1, characterized in that: Before making an assessment report on safe travel, the processor of the detection device can analyze and record whether the side cameras and the rear cameras have been used. If it is found that they have not been used, the assessment report cannot be made, and the information that the assessment report cannot be made will be sent to the computer of the networked medical institution to remind the doctor to use them.
4. The detection system according to claim 3, characterized in that: The medical supplies for hematology include alcohol swabs, blood glucose meters with spare batteries, blood glucose test strips, and blood collection needles; the contents include the following packaged items: analgesics, antibiotics and fungal ointments, antidiarrheals, antiemetics, stomach antacids, cold and allergy medicines, insect repellents, other prescription drugs, sunscreens, as well as bandages, sterile gauze, tape, and first aid manuals; the carbohydrate products include at least one to three of packaged breakfast bars, candies, biscuits, sandwiches, assorted dried fruits, glucagon injection reagents, glucose gels or tablets.
5. The detection system according to claim 1, characterized in that: The verification method for determining whether verification is passed when the processor of the detection device records one of the multiple types of items by the side camera and the rear camera comprises the following steps: S1 establishes a generative adversarial network (GAN), collects multiple images of multiple types of objects, and inputs the collected images of the object of the type to be tested, multiple other images of the object of the type to be tested, and images of other types of objects as pseudo-images into the network to train the judge and the generator in sequence to form a generative adversarial network corresponding to the object of the type to be tested; S2 When the object is photographed, the captured image or real-time screenshot of the recorded video is input into the generator corresponding to the trained various types of objects, and the discriminator is used to identify the true or false type of the object, so that the true classification result can be displayed on the display screen for the patient to see; S3 After the patient confirms that it is correct, he clicks on the touch screen to select the next classification and repeats step S2 to complete all verifications.
6. An intelligent detection method for diabetic patients traveling based on the detection system according to any one of claims 1 to 5, comprising the following steps: Q1 builds an intelligent detection system for diabetic patients traveling; The Q2 detection device monitors blood sugar data in real time, uploads it to the server and sends out medication reminders at regular intervals. The server uses the data sent by the detection device to perform artificial intelligence modeling, thereby realizing intelligent detection locally on the server or on the detection device, so as to further make an evaluation report on safe travel; Q3 The detection device interacts online with the physician through the computer of the networked medical institution, and makes an online physician visit report before the trip. Before making an assessment report on safe travel, the detection device can record whether the side camera and the rear camera have been used. If it is found that they have not been used, the assessment report cannot be made, and the information that the assessment report cannot be made is sent to the computer of the networked medical institution to remind the physician to use them to verify multiple types of items; Q4 sends the evaluation report to the detection device locally on the server, or obtains the evaluation report by operating on the touch screen of the detection device, according to whether the multiple categories of items have been fully verified and the total comprehensive score S, wherein: It also includes a step Q5 which is performed independently of steps Q2-Q4 after Q1, that is, the patient scans the code of the medicine box through the camera lens to open the medicine box and take the medicine.
Citation Information
Patent Citations
Intelligent diabetes assessment and prediction system and algorithm
CN106529162A
Remote monitoring system and method of medicine taking of patient
CN107315904A
Evaluation and visualization of glycemic dysfunction
CN113473911A
Remote sensing image scene classification method for multi-component GAN reconstruction
CN114764880A
Chronic disease risk assessment method and system based on multi-model algorithm
CN115602325A
