Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides an intelligent guidance prompt system for monitoring physical examination of customs entry and exit personnel, which sequences corresponding registration time of different users, gives sequence numbers, calculates estimated waiting time, and sends the sequence numbers and the estimated waiting time to the corresponding users, so that the users can select an optimal queuing department, and queuing efficiency is improved.
The technical scheme for realizing the aim of the invention is that the intelligent guidance and inspection prompting system for monitoring physical examination of customs entry and exit personnel at least comprises the following steps:
(1) the registration terminal collects physical examination information and issues the user terminal, the registration terminal sends each collected physical examination information to the corresponding user terminal Yi i 1,2,3, … … and n in real time, and simultaneously sends each physical examination information to the central server in real time, the physical examination information consists of M sub-items, M is a physical examination item physical examination informationThe data structure of each sub-item comprises the name of the user, the identification number and the registration time T0Each physical examination item corresponds to a department terminal Pjj ═ 1,2,3, … …, k, department terminal PjUser terminal YiCompletes the corresponding physical examination item PjThe finishing information is sent to a central server in real time;
(2) the central server generates a real-time data list according to the received real-time physical examination information and the completion information, wherein the real-time data list is a department terminal P corresponding to each user name and each identity card numberjThe registration time Tm M is 1,2,3, … …, M, Tm is T0;
(3) The central server respectively sorts the registration time Tm corresponding to each physical examination item through the data in the real-time data list and gives a sequence number RijAnd calculating the estimated waiting time T according to the following formulaij,
In the formula (I), the compound is shown in the specification,
the average examination time of the corresponding physical examination item j;
(4) the central server sends the sequence number Rij and the estimated waiting time Tij to the corresponding user terminal Yi;
(5) terminal P of department
jAfter receiving the detection application information of the user terminal Yi, the completion information of the corresponding physical examination items Pj of the user terminal Yi is sent to the central server in real time, and the central server waits for the completion information to be received
Then updating the real-time data list, namely deleting the registration time Tm corresponding to the physical examination items j in the real-time data list, and respectively reordering the registration time Tm corresponding to each physical examination item;
(6) if the user terminal YiCounterpartItem P of examinationjSequence number R ofijAfter 10min, which is 1, the central server does not receive the completion information of the physical examination items Pj, the current time is defined as a late time Tm ', the late time Tm' replaces the registration time Tm corresponding to the physical examination items j in the real-time data list, and meanwhile, the real-time data list is updated.
The technical proposal is further improved to the technical proposal that the data is sent to the user terminal Y in the step (4)iAlso included are maps.
And the user terminal Y is included on the mapiThe path to all departments and the notes of the physical examination items.
According to the technical scheme, the intelligent guidance and inspection prompting system for monitoring physical examination of the customs entry and exit personnel, provided by the invention, registers the required departments by the users at the same time, sorts the corresponding registration time of different users, gives sequence numbers, calculates the estimated waiting time, meanwhile, the sequence number and the estimated waiting time are sent to the corresponding user, so that the user can select the optimal queuing route of the user, the defect that the traditional queuing system can only carry out number taking and queuing for a certain service is overcome, the queuing efficiency is improved, meanwhile, the notice items of the map and the physical examination items are sent along with the sequence number and the estimated waiting time, the path from the user terminal to all departments is contained on the map, the user is prompted through the map and the notes of the physical examination items, so that the repeated labor workload of the customs staff is reduced.
Detailed Description
The present invention will be described in detail with reference to examples, but the present invention is not limited to the examples.
Customs entry and exit personnel monitoring physical examination intelligent guide and examination prompt system comprises the following steps:
(1) the registration terminal collects physical examination information and provides the user terminal, the user terminal has the function of terminal equipment with complete communication capacity, the registration terminal is a number calling machine in the embodiment, the user terminal is a medical card with complete communication capacity, and the registration terminal sends each collected physical examination information to the corresponding user in real timeThe terminal Yi i is 1,2,3, … …, n, and simultaneously sends each physical examination information to the central server in real time, the physical examination information is composed of M sub-items, M is the number of the physical examination items, and the data structure of each sub-item comprises the user name, the identity card number and the registration time T0Each physical examination item corresponds to a department terminal Pjj is 1,2,3, … …, k, the department terminal in this embodiment is department computer, and the department terminal PjUser terminal YiCompletes the corresponding physical examination item PjThe finishing information is sent to a central server in real time;
such as user Y1Selecting the required physical examination items, namely an electrocardiogram P, on the number calling machine according to customs requirements1X-ray P3Blood test P4… …, and the number calling machine simultaneously inputs user Y1Name, identity card number and registration time T0(ii) a The physical examination information of each user of the number calling machine is sent to a central server in real time; user Y1The physical examination information table is shown below
Y1 |
Sheet XX
|
420……
|
12.00
|
P1 |
Y1 |
Sheet XX
|
420……
|
12.00
|
P3 |
……
|
……
|
……
|
……
|
…… |
The user registers the required departments at the same time, so that the defect that the traditional queuing system can only carry out number taking and queuing aiming at a certain service is overcome.
(2) The central server generates a real-time data list according to the received real-time physical examination information and the completion information, wherein the real-time data list is a department terminal P corresponding to each user name and each identity card numberjThe registration time Tm M is 1,2,3, … …, M, Tm is T0,The real-time data list is shown below;
Y1 |
sheet XX
|
420……
|
12.00
|
P1 |
Complete the process
|
Y1 |
Sheet XX
|
420……
|
12.00
|
P3 |
|
……
|
……
|
……
|
……
|
……
|
……
|
Y2 |
Plum XX
|
420……
|
12.05
|
P1 |
|
Y2 |
Plum XX
|
420……
|
12.05
|
P2 |
Complete the process
|
……
|
……
|
……
|
……
|
……
|
……
|
……
|
……
|
……
|
……
|
……
|
…… |
(3) The central server respectively sorts the registration time Tm corresponding to each physical examination item through the data in the real-time data list and gives a sequence number RijAnd calculating the estimated waiting time T according to the following formulaij,
In the formula (I), the compound is shown in the specification,
the average examination time of the corresponding physical examination item j;
such as item P1The following is shown in the real-time data list:
P1 |
Y3 |
11.56
|
P1 |
Y1 |
11.45
|
P1 |
Y4 |
11.48
|
P1 |
Y6 |
12.05
|
……
|
……
|
…… |
such as item P1Sequence number and estimated wait time Ti1As follows:
P1 |
Y1 |
11.45
|
1
|
0
|
P1 |
Y4 |
11.48
|
2
|
20
|
P1 |
Y3 |
11.56
|
3
|
40
|
P1 |
Y6 |
12.05
|
4
|
60
|
……
|
……
|
……
|
……
|
…… |
(4) the central server sends the sequence number Rij and the estimated waiting time Tij to a corresponding user terminal Yi, such as a user terminal Y1(ii) a In electrocardiogram P1Sequence number R of11Is 1, the waiting time T is estimated11Is 0; in electrocardiogram X-ray P3Sequence number R of13Is 4, the waiting time T is estimated13The time is 120 minutes, the user Yi judges the department to be judged according to the sequence number Rij and the estimated waiting time Tij, and goes to the department, so that the user can select the optimal queuing route, improve the queuing efficiency and send the optimal queuing route to the user terminal YiAlso includes a map and the notice of the physical examination items, the map contains the user terminal YiPaths to all departments, such as a blood drawing project, inform that fasting is needed, a vaccination project prompts related cautionary items, and a map and the cautionary items of a physical examination project prompt a user to reduce the workload of customs staff.
(5) Terminal P of department
jAfter receiving the detection application information of the user terminal Yi, the completion information of the corresponding physical examination items Pj of the user terminal Yi is sent to the central server in real time, and the central server waits for the completion information to be received
Then update the real-time data list, wait
Then the user terminal Yi is regarded as a terminal P in the department
jThe examination is finished, namely the registration time Tm corresponding to the physical examination item j is deleted from the real-time data list, and the registration time Tm corresponding to each physical examination item is respectively reordered, such as X-ray P
3Receiving user Y
3The application information of the system corresponds to the physical examination item P
3The completion information is sent to the central server in real time, as shown in the following table;
P3 |
Y3 |
complete the process |
(6) If the user terminal YiCorresponding physical examination item PjSequence number R ofijAfter 10min, which is 1, the central server does not receive the completion information of the physical examination items Pj, the current time is defined as a late time Tm ', the late time Tm' replaces the registration time Tm corresponding to the physical examination items j in the real-time data list, and meanwhile, the real-time data list is updated.