Two-dimensional code application method for personnel health management systemTechnical Field
The invention belongs to the technical field of two-dimension codes, and particularly relates to a two-dimension code application method of a personnel health management system.
Background
The two-dimensional Code is also called as a two-dimensional Bar Code, and a common two-dimensional Code is a QR Code, which is an ultra-popular coding mode on mobile equipment in recent years, and can store more information and represent more data types than the traditional Bar Code Bar Code. The two-dimensional bar code/two-dimensional code is a pattern which is distributed on a plane (in two-dimensional direction) according to a certain rule by using a certain specific geometric figure, is alternate in black and white and records data symbol information; the concept of '0' and '1' bit stream which forms the internal logic base of computer is skillfully utilized in coding, a plurality of geometric shapes corresponding to binary system are used for representing literal numerical information, and the information is automatically read by an image input device or an optoelectronic scanning device so as to realize the automatic processing of the information: it has some commonality of barcode technology: each code system has its specific character set; each character occupies a certain width; has certain checking function and the like. Meanwhile, the method also has the function of automatically identifying information of different rows and processing the graph rotation change points.
When serious national epidemic diseases occur, the reverse tracking of the infected people is the most effective method for finding out potential infected people, however, as the current society develops and the tracking of the personnel activity track is more and more difficult by means of inquiry, the check points are additionally arranged in various communities, supermarkets and intersections, meanwhile, the two-dimension code also saves the trouble of the prior paper record, but when the prior two-dimension code is applied to the public health management aspect, the defect that the two-dimension code can not be opened by scanning all APPs with two-dimension code scanning function in the mobile phone exists, the two-dimension code can be effectively scanned only by using limited APPs, meanwhile, the existing two-dimensional code scanning can be carried out only on the premise of network support, and when the mobile phone signals are poor or the wireless data is in failure, the scanning cannot be carried out, and the sufficient special condition solving capability is lacked. Therefore, a two-dimensional code application method related to the personnel health management system is provided.
Disclosure of Invention
The invention aims to: in order to solve the problems that the existing health two-dimensional code cannot be scanned and read by all APPs and the scanning of the two-dimensional code must be carried out under the network support, a two-dimensional code application method related to a personnel health management system is provided.
The technical scheme adopted by the invention is as follows:
a two-dimension code application method for a personnel health management system comprises the following procedures:
s1: generating a general two-dimension code; the general two-dimensional code does not limit the scannable APP and the APP linked by the skip two-dimensional code;
s2: scanning the two-dimensional code; scanning and reading by using an APP with a two-dimensional code scanning function on the mobile terminal;
s3: activating a corresponding APP program according to the two-dimension code information; after the two-dimensional code is scanned, the scanned APP directly reads the information of the two-dimensional code, and automatically skips according to the link in the two-dimensional code to activate an APP program;
s4: scanning and reading records by APP records; after activating the APP program, automatically logging in by using account information and recording a two-dimensional code scanning trace once and scanned two-dimensional code information in an account record according to account personal information preset by a user;
s5: and feeding back a scanning result by the APP, displaying the scanning result on the scanning page, and feeding back and displaying the scanning result according to the personal information of the user after the scanning is finished.
Wherein, when the APP that activates is not the same with the scanning APP in S5, the scanning result feedback of activating the APP is sent to the scanning APP end, shows at the scanning APP end.
The generation of the universal two-dimensional code specifically comprises the following steps:
s10, acquiring the two-dimension code from the original website; the original website is the initial release port of the two-dimensional code;
s11, adding an APP mark in the two-dimensional code; the APP in the added APP identification can be in data communication with the original two-dimensional code issuing port and can generate data exchange, the APP of the added APP identification is added by the APP which opens the original two-dimensional code for the first time, and when a plurality of APPs can open the original two-dimensional code, the APP addition of the APP identification is acquiescent to the APP addition which is opened for the first time;
s12, generating a universal two-dimensional code containing the APP identification, and integrating the APP identification into the original two-dimensional code to form a new universal two-dimensional code for direct scanning.
The APP identification is not overlapped with the two-dimensional code, the two-dimensional code formed after the two-dimensional code of the APP identification is not overlapped with the original two-dimensional code, and the inner layer and the outer layer are adopted for distinguishing.
Wherein, after S4: s01, whether wireless data is started at the current mobile terminal is checked, whether current wireless data is started is obtained by a function starting module for reading the mobile terminal through a two-dimensional code scanning APP, when the current wireless data is judged not to be started, two-dimensional code scanning records are stored locally, whether the wireless data can be checked regularly, and when the current wireless data is judged to be usable, the stored two-dimensional code scanning records are sent to a two-dimensional code issuing terminal.
Wherein, after S01: s02, when the wireless data is judged to be opened, whether the signal intensity of the wireless data meets the communication requirement is detected, the scanning record is uploaded and sent when the requirement is met, the scanning record is stored to the local when the communication requirement is judged not to be met, then the signal intensity is detected at regular time, and the scanning record is sent when the intensity is met.
And when the wireless data is not started within half an hour and the signal intensity is still low within half an hour, a short message is adopted to inform a user that the record is not uploaded.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. in the invention, through identifying the APP capable of performing data intercommunication with the health management center and checking the two-dimensional code for human health, the corresponding APP does not need to be opened for scanning when the two-dimensional code is scanned, and the APP with the two-dimensional code scanning function on the mobile terminal can be used for scanning and reading the two-dimensional code and performing health check, so that the problem that the existing two-dimensional code scanning is limited by the APP is solved, and the use is more convenient.
2. In the invention, when the wireless data of the mobile terminal is failed to be opened or the signal is poor, the record of scanning the two-dimensional code is stored locally, and the two-dimensional code is uploaded and sent when the wireless data or the signal is properly opened, so that the scanning of the two-dimensional code does not need the opening support of the wireless data any more, thereby being capable of coping with various conditions.
Drawings
FIG. 1 is a flowchart illustrating a first application of the present invention;
fig. 2 is a flowchart of generating a two-dimensional code according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In a first embodiment, referring to fig. 1 to 2, a two-dimensional code application method for a personnel health management system includes the following steps:
s1: generating a general two-dimension code; the universal two-dimensional code does not limit the scannable APP and the APP linked by the skippable two-dimensional code, and is different from the existing limited two-dimensional code, for example, the skipping of the two-dimensional code link between the Paibao APP and the WeChat APP cannot be realized;
s2: scanning the two-dimensional code; the scanning of the two-dimension code uses the scanning function of each APP two-dimension code on the existing mobile terminal, the scanning APP is not limited by the generation party of the two-dimension code, and all APPs with the two-dimension code scanning function can be directly scanned;
s3: activating a corresponding APP program according to the two-dimension code information; after the two-dimensional code is scanned, the scanned APP directly reads the information of the two-dimensional code and automatically skips according to the link in the two-dimensional code, so that the APP program is activated and needs to be linked up by means of APKs of all programs on the mobile terminal;
s4: scanning and reading records by APP records; after activating the APP program, automatically logging in by using account information and recording a two-dimensional code scanning trace once and scanned two-dimensional code information in an account record according to account personal information preset by a user;
s5: the APP feeds back the scanning result, the scanning result is displayed on the scanning page, the scanning result is fed back and displayed according to the personal information of the user after the scanning is finished, when the activated APP and the scanning APP are not the same, the scanning result of the activated APP is fed back and sent to the scanning APP end, and the scanning APP end is displayed.
The generation of the universal two-dimensional code specifically comprises the following steps:
s10, acquiring the two-dimension code from the original website; the original website, namely an initial issuing port of the two-dimensional code, is also a final receiving end of scanning records after APP scanning, and can be an APP, an internet website end or a third-party address acquired through an APK;
s11, adding an APP mark in the two-dimensional code; the APP in the added APP identification can perform data communication with an original two-dimensional code issuing port and generate the APP for exchanging data, the APP of the added APP identification is added by the APP which opens the original two-dimensional code for the first time, and when a plurality of APPs can open the original two-dimensional code, the APP of the added APP identification defaults to the APP addition which is opened for the first time and provides user selection right at the same time;
s12, generating a universal two-dimensional code containing the APP identification, and integrating the APP identification into the original two-dimensional code to form a new universal two-dimensional code for direct scanning.
When the mobile terminal health check method is used specifically, a public health management center generates a corresponding two-dimensional code according to geographical position information of a health check point, then a corresponding APP identification is integrated into the two-dimensional code according to an APP which can be accessed to the health management center to generate a new two-dimensional code, the two-dimensional code is pasted to the corresponding health check point, when health check is carried out, the public uses any APP with a two-dimensional code scanning function on the mobile terminal to scan the two-dimensional code at the position of the check point, after the APP scans the two-dimensional code, automatic jump two-dimensional code link attempt is firstly carried out, the APP identification in the two-dimensional code is obtained after the attempt fails, the APP corresponding to the APP identification on the mobile terminal is started by the scanning APP through the APK chain, the scanned two-dimensional code information is sent to the APP, after the APP is activated, the APP automatically jumps to the link of the two-dimensional code according to the two-dimensional code information, and then the account information saved in advance by a user is logged in the health management center, health management center record user logs in and the two-dimensional code that the sign got into is linked, confirm this two-dimensional code position, thereby confirm personnel have carried out the inspection through this checkpoint, health management center confirms local inspection condition result according to this user's inspection condition in the past, and with the result transmission to this APP on, this APP sends the inspection result to and shows on scanning APP's the scanning page again, the scanning of two-dimensional code no longer receives the APP restriction whether can directly carry out data communication with health management center, use any APP that has two-dimensional code scanning function all to scan, and obtain the inspection result, the use has been made things convenient for greatly.
In a second embodiment, please refer to fig. 3, the existing two-dimensional code scanning and recording of the two-dimensional code scanning after APP activation both require the mobile terminal to maintain data communication with the internet, and scanning and recording cannot be performed when the wireless data signal is not good, so that the embodiments further add, on the basis of the first embodiment: after S4, add: s01, checking whether the current mobile terminal starts wireless data, using a function starting module of a two-dimensional code scanning APP reading mobile terminal to obtain whether the current wireless data is started, when the wireless data is judged not to be started, storing the two-dimensional code scanning record locally, checking whether the wireless data is available at regular time, when the wireless data is judged to be available, sending the stored two-dimensional code scanning record to a two-dimensional code issuing terminal, S02, when the wireless data is judged to be started, detecting whether the signal intensity of the wireless data meets the communication requirement, uploading the scanning record when the requirement is met, when the communication requirement is not met, storing the scanning record locally, then detecting the signal intensity at regular time, sending the scanning record when the intensity meets the requirement, in order to ensure the timeliness of the detection record, the wireless data opening detection and the signal intensity detection, when the single maximum time limit is half hour, repeatedly performing the opening detection and the signal intensity detection within half hour, still be in after half an hour when wireless data closes and signal strength is not enough, send the platform SMS to user's mobile terminal by the APP that skips the two-dimensional code and link, remind the user to open wireless data or remove to the good position of signal.
When the two-dimensional code scans, the mandatory wireless data communication requirement is not needed, the two-dimensional code scanning can be carried out without the influence of wireless data opening and signal strength, so that the flexibility in application is improved, the application condition is wider, and the use requirements under various special conditions are met.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.