NFC-based health condition and travel condition passing inspection method
Through NFC technology and data exchange, health codes and itinerary cards can be quickly verified and risk areas constructed, which solves the problem of low efficiency in checking itinerary cards and health codes in the existing system, and improves the accuracy and efficiency of epidemic prevention and control.
Patent Information
- Application Number
- CN202410665276.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-09-06
AI Technical Summary
The existing epidemic prevention and control management system is cumbersome to operate when checking itinerary cards and health codes, and cannot be read and verified quickly and uniformly, which reduces the efficiency of the inspection process.
Adopt NFC-based health and itinerary pass inspection methods, quickly read and verify health code and itinerary card information through data exchange between NFC terminal equipment and the receiving end, and use infection speed, time and itinerary data to construct risk areas and determine risks objects and generate risk information.
It achieves fast and accurate reading and verification of health status and travel status, improves the efficiency and accuracy of prevention and control, reduces the need for manual input, and reduces the complexity of the inspection process.
Smart Images

Figure CN118612702A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent prevention and control technology, and in particular to a method for checking health and travel conditions based on NFC. Background Art
[0002] In special places such as special wards in hospitals, access inspection methods are required, and people entering need to be checked to determine whether they are allowed to enter. The purpose of this prevention and control management system is mainly to improve the efficiency and accuracy of prevention and control, reduce the risk of transmission from people entering to patients, and ensure the health and safety of other people; through personnel screening, isolation observation, medical testing and treatment, comprehensive control and rapid disposal are achieved. This helps prevent the spread and deterioration of the disease and reduce the harm to public health.
[0003] The patent application number is "202210380673.9" and the publication date is 2022.11.01. It discloses a WeChat applet-based epidemic prevention and control management system, including a personnel registration entrance QR code, a personal mobile terminal, a personnel information identifier, a temperature measurement system, a gateway, a cloud server and a background management system. The personal mobile terminal scans the personnel registration entrance QR code to enter the WeChat applet to complete the personal information registration and generate electronic pass information. The personnel information identifier recognizes the electronic pass information and transmits it to the gateway and uploads it to the cloud server. The temperature measurement system alarms and reminds people with abnormal temperature and uploads the abnormal information to the cloud server through the gateway. The cloud server processes the information and displays it to the background management system for background information query analysis and data management. The document has high temperature measurement efficiency, can avoid cross infection caused by people entering and leaving, personnel registration saves time and effort, the temperature measurement and data management information level is high, and the tracking and tracing of people entering and leaving is strong.
[0004] However, the existing epidemic prevention and control management system separately identifies and checks the travel card and health code when checking the two codes, which is cumbersome to operate and cannot quickly and uniformly read and verify the health code and travel card. It also requires manual input of relevant information, which greatly reduces the efficiency of the inspection process. Summary of the invention
[0005] The purpose of the present invention is to provide a health status and travel status inspection method based on NFC, which can quickly read and verify the health status and travel status without manual input of relevant information, greatly reducing the efficiency of the inspection process, and can more accurately judge the risk area and improve the accuracy of prevention and control.
[0006] In order to achieve the above object, the present invention adopts the following technology: a pass inspection method based on the health status and travel status of NFC, comprising the following steps: S1. When the NFC terminal device is close to the receiving end, an HTTPS request is initiated through the wx.navigateToapi interface to obtain the health code and itinerary card of the NFC terminal device and mark them as data information.
[0007] S2. Process the data information into binary and send it to the receiving end through the transceive interface to verify whether the health code in the data information is an abnormal code. If it is judged to be an abnormal code, an alarm prompt is issued.
[0008] S3. When the receiving end determines that the code is abnormal, the following steps are also performed: Determine whether there is an infectious disease in the current environment. If so, obtain the risk object associated with it based on the travel data covered by the travel card corresponding to the abnormal code. The method for determining the risk object is as follows: S31 obtains the travel coordinates and the travel path corresponding to the travel information.
[0009] The infection distance threshold GM is constructed by the time difference Tn between the infection speed V, the time T at the location of the infection source, and the time Tm corresponding to the location of the infection source at the travel coordinate.
[0010] Construct the travel risk area in the plane coordinate system based on the travel coordinates in the travel information and the infection distance threshold GM , will repeat the trip risk area Eliminate and construct a set of itinerary risk areas .
[0011] S32 Gather in risk area The NFC terminal device associated with it is obtained, and the coordinate point (X c , Y c ), then obtain the travel coordinates and travel path of the associated NFC terminal device after separation from the infection source, and construct a travel risk area set through the above S31 Travel risk area collection Risk area collection with itinerary The union forms the itinerary risk area set G Jfc .
[0012] S33 Set the trip risk area set G Jfc The person corresponding to the NFC terminal device in the device is marked as a risk object.
[0013] S4. Generate risk information on the NFC terminal device of the risk object.
[0014] The above method uses the NFC terminal device to exchange data with the receiving end, processes the data through the NFC terminal device, and uses the receiving end to judge the health code. Therefore, the health status and travel status can be quickly read and verified without manual input of relevant information, which greatly reduces the efficiency of the inspection process. In addition, using the risk area determination method of the present invention, the risk area is determined not only by the infection speed and time, but also by the associated personnel who come into contact with it. Finally, the risk areas of the two are intersected to form the final risk area set. Therefore, the determination of the risk area is more accurate, thereby improving the efficiency and accuracy of prevention and control.
[0015] Furthermore, the method for verifying whether the health code in the data information is an abnormal code in S2 is: S21 verifies whether the name in the health code is consistent with the ID number. If they are consistent, proceed to the next step. If they are inconsistent, it is judged as an abnormal code.
[0016] S22 verifies by comparing the travel coordinates and travel path of the health code of the infection source with the travel coordinates and travel path of the risk area. If they are in the same travel coordinates and travel path, it is judged as an abnormal code, otherwise it is judged as a normal code.
[0017] This method can improve the accuracy of health code judgment.
[0018] Furthermore, the health code includes the user's health status, vaccination records and test results.
[0019] Furthermore, in S1, the distance between the NFC terminal device and the receiving end is 5-10 cm, so that data transmission can be guaranteed and direct contact between the NFC terminal device and the receiving end can be avoided.
[0020] Furthermore, the travel coordinates refer to the location where the source of infection stays at a certain location for more than 2 minutes.
[0021] Furthermore, the method for constructing the health code and travel card of the NFC terminal device is that the user constructs it in the software through the ID card number.
[0022] Furthermore, the health code includes identity data, where the identity data is not limited to age, name, ID number and address, as well as the travel data corresponding to the travel card.
[0023] Furthermore, the method for constructing the infection distance threshold GM is: V×(T n ) = GM.
[0024] Furthermore, the set of travel risk areas G Jfc Includes itinerary risk area collection and trip risk area collection 's construction.
[0025] The trip risk area set The construction method is: Combine the infection distance threshold GM in multiple directions with the travel coordinates, and combine the infection distance threshold GM in multiple directions with the travel path, thereby clarifying the predicted coordinates (Xt, Yt) constructed in multiple directions; In the plane coordinate system, the outermost prediction coordinate (X t , Y t ) to build a travel risk area, and the travel risk area must include all predicted coordinates (X t , Y t ),in: The travel risk area is generated with the help of the travel coordinates and travel paths at different times. There are multiple travel risk areas at different times. The repeated travel risk areas are removed in advance, and a travel risk area set is constructed. .
[0026] Risk area collection Constructing a risk area set .
[0027] Then group the risk areas of the trip together Risk area collection with itinerary The union forms the itinerary risk area set G Jfc .
[0028] This method uses the outermost predicted coordinates (X t , Y t ) to construct risk areas, the risk areas will be constructed with high accuracy and will not affect areas with non-infectious risks. Risk areas will be determined through multiple dimensions, making them more accurate.
[0029] Furthermore, by marking the corresponding identity information of the identified health code and itinerary card information as the pre-inspection object, the NFC terminal device of the pre-inspection object is obtained and the pre-inspection terminal set is constructed. Yj Y , based on the pre-checked terminal set Yj Y , and the set of travel risk areas G Jfc The corresponding NFC terminal equipment is compared to the pre-checked terminal set Yj Y Eliminate and identify risk objects, and output risk information to the NFC terminal device corresponding to the risk object. This can timely and accurately identify risk areas, making it easier to prevent and control. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of the overall process structure provided according to an embodiment of the present invention is shown.
[0031] Figure 2 A schematic diagram of the structure of obtaining health code and travel card data of a mini program provided according to an embodiment of the present invention is shown.
[0032] Figure 3 A flowchart of the overall functional structure of a mini-program provided according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0033] The technical contents in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0034] Example 1.
[0035] like Figure 1-Figure 3 As shown, the present invention provides a method for checking the health status and travel status of NFC, comprising the following steps: S1. When the NFC terminal device is close to the receiving end, an HTTPS request is initiated through the wx.navigateToapi interface to obtain the health code and itinerary card of the NFC terminal device and mark them as data information. The health code includes the user's health status, vaccination record and test results. The distance between the NFC terminal device and the receiving end is 5-10cm, preferably 10cm. In the present invention, the method for constructing the health code and itinerary card of the NFC terminal device is: the user constructs it in the software through the ID card number, which is a prior art and will not be repeated again.
[0036] S2, process the data information into binary and send it to the receiving end through the transceive interface data, To verify whether the health code in the data information is an abnormal code. If it is determined to be an abnormal code, an alarm will be issued.
[0037] Specifically, when a device with NFC function (NFC terminal device) is close to the receiving end, the NFC terminal device establishes a connection with the receiving end through electromagnetic induction. The receiving end reads data from the NFC terminal device and verifies whether it is an abnormal code. When the verification is an abnormal code, the receiving end issues an alarm to prompt the user that the user cannot pass, otherwise he can pass normally.
[0038] In this embodiment, the user's personal information should be encrypted and stored to protect the user's privacy when registering and logging in to the mini program through a mobile phone number or other means. This is the most common way of identity identification. The user enters a username and password when registering, and needs to enter the correct username and password to log in later. The mini program will encrypt the password entered by the user to ensure security during transmission and storage. When registering or logging in, the mini program can send a text message containing a verification code to the mobile phone number filled in by the user when registering. The user needs to enter the verification code to complete the registration or login process. This method can effectively prevent malicious registration and login attempts.
[0039] Verify the health code and travel card, and display the verification results to the user.
[0040] The verification of the health code and itinerary card includes the following steps: A1. WeChat mini program retrieves health code and itinerary card data using wx.requext, which is the interface for the mini program client to interact with the server.
[0041] A2. Initiate an HTTPS request through the health code and itinerary card URL interface set in wx.requext.
[0042] A3. Use .wxml and .wxss codes written in JS to process and package related data.
[0043] A4. Return data to the applet.
[0044] A5. The data is processed through the .transceive() interface and sent to the receiving end.
[0045] A6 Verify whether the name in the health code is consistent with the ID number. If they are consistent, proceed to the next step. If they are inconsistent, it will be judged as an abnormal code.
[0046] A7 verifies by comparing the travel coordinates and travel path of the health code of the infection source with the travel coordinates and travel path of the risk area. If they are on the same travel coordinates and travel path, it is judged as an abnormal code, otherwise it is judged as a normal code.
[0047] Users obtain their health code on NFC terminal devices, such as mobile phone applications. The health code will be generated based on factors such as the user's health status, vaccination record and nucleic acid test results. When the user brings the NFC terminal device close to the receiving end (NFC tag or other device that can identify NFC terminal devices), the health code information will be automatically uploaded for verification, which will be used to store, verify and update the user's travel card information.
[0048] Among them, the itinerary card usually contains information such as the user's itinerary trajectory, visited places and stay time.
[0049] like Figure 3 As shown, the functions of the entire mini program are: a. technical implementation, b. development using WeChat official development tools.
[0050] Working principle: The card reader inside the receiving end is used to identify and parse data in NDEF format, so as to extract the health code and travel card information from the NFC tag of the NFC terminal device. When the NFC terminal device is close to the NFC tag, it will establish a connection with the NFC tag through electromagnetic induction. The card reader reads the data from the NFC tag and transmits it to the connected terminal device for feedback to verify whether it is an abnormal code. When it is verified as an abnormal code, the receiving end will issue an alarm, and when it is verified as a normal code, it will display normal passing.
[0051] Using NFC technology, users only need to bring their mobile phones close to the card reader to quickly read and verify the health code and itinerary card, without manually scanning the QR code or entering relevant information, which greatly improves the efficiency of the inspection process. During the epidemic prevention and control period, reducing human contact is an important measure to reduce the risk of cross-infection. The NFC-based inspection applet can reduce direct contact between users and devices, thereby reducing the risk of virus transmission.
[0052] When the S3 receiving end determines that it is an abnormal code, the following steps are also executed, and the abnormal code predetermines the identity data contained in its corresponding health code, where the identity data is not limited to age, name, ID number, address, etc., and the corresponding travel data on the travel card.
[0053] It should be noted that when this system is applied to infectious diseases, the risk objects associated with it can be obtained based on the travel data. The method for determining the risk objects is: S31 Obtaining the travel coordinates and travel path corresponding to the travel information; wherein the travel coordinates refer to the location point where the infection source stays at a certain location for more than 2 minutes, and the path is formed by the positioning system based on the path passed by the NFC terminal device, specifically: Through the infection speed V, the time T at the location of the infection source and the time T corresponding to the location of the infection source at the travel coordinate m The time difference T n Construct the infection distance threshold GM, that is, GM=V×(T n) For example: the source of infection passed through coordinate points A, B and C in succession and finally arrived at point D. The time at point A was 7:00 on the same day, the time at point B was 10:00 on the same day, the time at point C was 16:00 on the same day, and the time at point D was 19:00 on the same day. The infection speed V is set to 2m / s, then the infection distance threshold GM at point A is 2×(19:00-7:00)=86400m, the infection distance threshold GM at point B is 2×(19:00-10:00)=64800m, and the infection distance threshold GM at point C is 2×(19:00-16:00)=21600m.
[0054] Based on the travel coordinates in the travel information and the infection distance threshold GM, the travel risk area is constructed in the plane coordinate system, the repeated travel risk areas are eliminated, and the travel risk area set is constructed. .
[0055] Specifically, the travel coordinates are combined with the infection distance threshold GM in multiple directions, and the travel path is combined with the infection distance threshold GM in multiple directions, thereby clarifying the predicted coordinates (X t , Y t ); In the plane coordinate system, the outermost prediction coordinate (X t , Y t ) to build a travel risk area, and the travel risk area must include all predicted coordinates (X t , Y t ),in: The travel risk area is generated with the help of the travel coordinates and travel paths at different times. There are multiple travel risk areas at different times. The repeated travel risk areas are removed in advance, and a travel risk area set is constructed. ; S32 Gather in risk area The NFC terminal device associated with it is obtained, and the coordinate point (X c , Y c ), then obtain the travel coordinates and travel path of the associated NFC terminal device after separation from the infection source, and construct a travel risk area set through the above S31 , itinerary risk area set Set with itinerary risk area The union forms the itinerary risk area set G Jfc .
[0056] S33 Set the trip risk area set G Jfc The person corresponding to the NFC terminal device in the device is marked as a risk object.
[0057] S4. Generate risk information on the NFC terminal device of the risk object. Specifically, mark the corresponding identity information of the identified health code and itinerary card information as the pre-inspection object, obtain the NFC terminal device of the pre-inspection object and build a pre-inspection terminal set Yj Y , based on the pre-checked terminal set Yj Y , and the set of travel risk areas G Jfc The corresponding NFC terminal equipment is compared to the pre-checked terminal set Yj Y Eliminate and determine risk objects, and output risk information to the NFC terminal device corresponding to the risk object.
[0058] The present invention utilizes the risk area determination method of the present invention to determine the risk area not only by the transmission speed and time, but also by the associated personnel in contact therewith, and finally the risk areas of the two are intersected to form a final risk area set. Therefore, the determination of the risk area is more accurate, thereby improving the efficiency and accuracy of prevention and control.
Claims
1. A method for checking health and travel conditions based on NFC, characterized in that: The steps include: S1. When the NFC terminal device is close to the receiving end, an HTTPS request is initiated through the wx.navigateToapi interface to obtain the health code and itinerary card of the NFC terminal device and mark them as data information; S2. Process the data information into binary and send it to the receiving end through the transceive interface to verify whether the health code in the data information is an abnormal code. If it is judged to be an abnormal code, an alarm prompt is issued; S3. When the receiving end determines that the code is abnormal, the following steps are also performed: Determine whether there is an infectious disease in the current environment. If so, obtain the risk object associated with it based on the travel data covered by the travel card corresponding to the abnormal code. The method for determining the risk object is as follows: S31 obtains the travel coordinates and the travel path corresponding to the travel information; Through the infection speed V, the time T at the location of the infection source and the time T corresponding to the location of the infection source at the travel coordinate m The time difference T n Construct the infection distance threshold GM; Based on the travel coordinates in the travel information and the infection distance threshold GM, the travel risk area is constructed in the plane coordinate system, the repeated travel risk areas are eliminated, and the travel risk area set is constructed. ; S32 Gather in risk area The NFC terminal device associated with it is obtained, and the coordinate point (X c , Y c ), then obtain the travel coordinates and travel path of the associated NFC terminal device after separation from the infection source, and construct a travel risk area set through the above S31 , itinerary risk area set and Travel risk area collection The union forms the itinerary risk area set G jfc; S33 Set the trip risk area set G Jfc The person corresponding to the NFC terminal device in the system is marked as a risk object; S4. Generate risk information on the NFC terminal device of the risk object.
2. The NFC-based health and travel status check method according to claim 1, characterized in that: The method for verifying whether the health code in the data information in S2 is an abnormal code is: S21 Verify whether the name in the health code is consistent with the ID number. If they are consistent, proceed to the next step. If they are inconsistent, it is judged as an abnormal code; S22 verifies by comparing the travel coordinates and travel path of the health code of the infection source with the travel coordinates and travel path of the risk area. If they are in the same travel coordinates and travel path, it is judged as an abnormal code, otherwise it is judged as a normal code.
3. The NFC-based health and travel status check method according to claim 2, characterized in that: The health code includes the user's health status, vaccination records and test results.
4. The NFC-based health and travel status check method according to claim 1, characterized in that: In S1, the distance between the NFC terminal device and the receiving end is 5-10 cm.
5. The NFC-based health and travel status check method according to claim 1, characterized in that: Travel coordinates refer to the location where the source of infection stays at a certain location for more than 2 minutes.
6. The NFC-based health and travel status check method according to claim 1, characterized in that: The method for constructing the health code and itinerary card of the NFC terminal device is that the user constructs it in the software through the ID card number.
7. The NFC-based health and travel status check method according to claim 1, characterized in that: The health code includes identity data, which includes but is not limited to age, name, ID number and address, as well as the travel data corresponding to the travel card.
8. The NFC-based health and travel status check method according to claim 1, characterized in that: The construction method of the infection distance threshold GM is: V×(T n ) = GM.
9. The NFC-based health and travel status check method according to claim 1 or 8, characterized in that: The set of itinerary risk areas Gjfc includes the set of itinerary risk areas and trip risk area collection The construction of The trip risk area set The construction method is: Combine the infection distance threshold GM in multiple directions with the travel coordinates, and combine the infection distance threshold GM in multiple directions with the travel path, thereby clarifying the predicted coordinates (X t , Y t ); In the plane coordinate system, the outermost prediction coordinate (X t , Y t ) to build a travel risk area, and the travel risk area must include all predicted coordinates (X t , Y t ),in: The travel risk area is generated with the help of the travel coordinates and travel paths at different times. There are multiple travel risk areas at different times. The repeated travel risk areas are removed in advance, and a travel risk area set is constructed. ; Risk area collection Constructing a risk area set ; Then group the risk areas of the trip together and Travel risk area collection The union forms the itinerary risk area set G Jfc .
10. The NFC-based health and travel status check method according to claim 1, characterized in that: By marking the corresponding identity information of the identified health code and itinerary card information as the pre-inspection object, the NFC terminal device of the pre-inspection object is obtained and the pre-inspection terminal set is constructed. Yj Y , based on the pre-checked terminal set Yjfc, Set with itinerary risk area G JZ The corresponding NFC terminal equipment is compared to the pre-checked terminal set Yj Y Eliminate and determine risk objects, and output risk information to the NFC terminal device corresponding to the risk object.
