Self-service physical examination machine anti-cheating system, method and storage medium based on data analysis

By filtering and encoding the text of the physical examination results of the self-service physical examination machine, encrypted numbers are generated for hospital review, the risk of users tampering with the physical examination results is solved and the security of the transmission of physical examination results is improved.

CN118781712BActive Publication Date: 2025-04-04GUANGZHOU FANGTU TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410764921.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2025-04-04
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

When the self-service physical examination machine transmits the physical examination results to the hospital for review, there is a risk that the user tampers with the physical examination results. How to improve the safety of the physical examination results during the transmission process?

Method used

By obtaining the text in the physical examination report, filtering and Unicode encoding conversion, generating reference numbers, and encrypting the reference numbers based on the preset correction values, generating encrypted numbers and sending them to the hospital for review.

Benefits of technology

Through personalized correction values, each user generates unique encrypted data, which increases the difficulty of cracking man-in-the-middle attacks and improves the security of physical examination results transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118781712B_ABST
    Figure CN118781712B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of intelligent devices, and specifically discloses a self-service physical examination machine anti-cheating system, method and storage medium based on data analysis, wherein the method comprises the following steps: S1: obtaining a physical examination report; S2: obtaining text in the physical examination report, filtering it, using the text in the filtered text as conversion text, obtaining the Unicode code point of the conversion text, determining the encoding form, and converting the Unicode code point into a decimal number under the determined encoding form, recorded as a conversion value; S3: sorting the conversion text in the order in which it appears in the physical examination report, and starting from the first conversion text in the sorting, sequentially connecting the corresponding conversion values ​​to generate a reference number, and encrypting the reference number according to the correction value to obtain an encrypted number, and sending it to the hospital for review. The present invention can improve the security of the physical examination results sent to the hospital for review.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent devices, and in particular to an anti-cheating system, method and storage medium for a self-service physical examination machine based on data analysis. Background Art

[0002] Traditional driver physical examination refers to a series of health checks that drivers need to undergo when applying for or renewing their driver's license to ensure that their physical condition meets the requirements for driving safety. Since the physical examination involves multiple items and steps, and the physical examination center has a large flow of people, the whole process may be time-consuming and inefficient, especially during peak hours, the waiting time may be long. In contrast, self-service physical examination machines can improve physical examination efficiency to a certain extent, reduce waiting time, and have good application prospects.

[0003] Man-in-the-Middle Attack (MITM) is a form of network attack in which the attacker secretly intercepts and may tamper with the data transmitted between the communicating parties. The attacker usually performs this operation without the knowledge of the communicating parties to obtain sensitive information or inject malicious data. In order to improve the accuracy of the physical examination results, the physical examination results of the self-service physical examination machine need to be sent to the hospital for review. During this process, there is a possibility that the user may tamper with the physical examination results. Therefore, how to improve the security of the physical examination results during transmission has become an urgent problem to be solved. Summary of the invention

[0004] The purpose of the present invention is to provide an anti-cheating method for a self-service physical examination machine based on data analysis to solve the above technical problems.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] The anti-cheating method of the self-service physical examination machine based on data analysis includes the following steps:

[0007] S1: Obtain a physical examination report, wherein the physical examination report includes physical examination items and corresponding physical examination results, wherein the physical examination results include qualified and unqualified;

[0008] S2: Obtain the text in the physical examination report, filter it, use the text in the filtered text as conversion text, obtain the Unicode code point of the conversion text, determine the encoding form, and convert the Unicode code point into a decimal number in the determined encoding form, which is recorded as the conversion value;

[0009] S3: Sort the conversion texts in the order in which they appear in the physical examination report, and starting from the first conversion text in the sorting, connect the corresponding conversion values ​​in sequence to generate a reference number, and encrypt the reference number according to a preset correction value to obtain an encrypted number, and send it to the hospital for review.

[0010] As a further solution of the present invention: in the step S1, when there is no unqualified physical examination result in the physical examination report, the subsequent steps are not executed.

[0011] As a further solution of the present invention: in the step S2, the process of filtering the text specifically includes:

[0012] Special characters in the text are removed by regular expressions, and the special characters include punctuation marks, English letters and numbers.

[0013] As a further solution of the present invention: in the step S3, the process of obtaining the correction value specifically includes:

[0014] Obtain all physical examination items, sort them according to preset rules, obtain the physical examination results corresponding to each physical examination item, and assign a value of 1 when the physical examination result is qualified, and assign a value of 0 when the physical examination result is unqualified;

[0015] The correction value K is calculated by the formula:

[0016]

[0017] Among them, Ci represents the value corresponding to the physical examination item at the i-th position in the sorting.

[0018] As a further solution of the present invention: the process of sorting all physical examination items according to preset rules specifically includes:

[0019] Set a monitoring period, obtain the time spent on the physical examination items within the monitoring period, and calculate the average time Where S ab represents the time spent on the bth physical examination item when the self-service physical examination machine is used for the ath time during the monitoring period, m represents the total number of times the self-service physical examination machine is used during the monitoring period, μ a Indicates the preset time correction coefficient, and μ1<μ2<…<…<μ m and rank the physical examination items according to the mean time, wherein the greater the mean time, the lower the ranking, and the mean ranking is obtained;

[0020] The time the current user spends on each physical examination item is obtained as the actual time, and the actual time is sorted by size. The larger the actual time, the lower the ranking, and the actual ranking is obtained;

[0021] Calculate the ranking value D sor =λ*D+β*D′, D represents the position of the physical examination item in the mean ranking, D′ represents the position of the physical examination item in the actual ranking, λ and β are preset correction coefficients and λ<β;

[0022] The physical examination items are sorted in the order of the sorting values. The larger the sorting value is, the lower the corresponding physical examination item is ranked.

[0023] As a further solution of the present invention: the process of obtaining the encrypted number specifically includes:

[0024] Step 1: Obtain the reference number, and divide the number on each digit of the reference number by the correction value to obtain the undetermined number;

[0025] Step 2: Calculate the number of cycles Starting from the highest digit in the undetermined number, group the K′ digits into groups in sequence;

[0026] Among them, when a certain group F is determined, the number of remaining digits is less than K′, and the remaining digits are regarded as a group;

[0027] Step 3: sort all the groups according to their order in the reference number, and start from the first place in the sorting, and sequentially obtain the jump number n of the g-th group, where the jump number n satisfies the constraint: g+n*K′≤E, where E represents the total number of groups and n is an integer not less than 0;

[0028] Obtain n of all constraints, determine the maximum number of jumps nmax, and swap the gth group with the g+nmax*K′th group, wherein when nmax=0 exists, the group is not swapped;

[0029] Repeat the above steps to transpose all groups. After all groups are transposed, they are no longer grouped and the encrypted number is obtained.

[0030] When there is a decimal, the decimal is taken as a whole and used in subsequent steps.

[0031] As a further solution of the present invention: each group is transposed only once.

[0032] As a further solution of the present invention: the step S3 further includes a decryption process:

[0033] Starting from the highest digit in the encrypted number, K′ digits are grouped in sequence, and the digits are restored and transposed according to the maximum jump number. After the restoration and transposition, the grouping is no longer maintained, and the undetermined number is obtained;

[0034] The number on each digit of the pending number is multiplied by the correction value to obtain a reference number, the reference number is restored to a Unicode code point, and then restored to a conversion text.

[0035] The anti-cheating system of self-service physical examination machines based on data analysis includes:

[0036] Collection module: obtains a physical examination report, wherein the physical examination report includes physical examination items and corresponding physical examination results, and the physical examination results include qualified and unqualified;

[0037] Conversion module: obtains the text in the physical examination report, filters it, uses the text in the filtered text as conversion text, obtains the Unicode code point of the conversion text, determines the encoding form, and converts the Unicode code point into a decimal number under the determined encoding form, which is recorded as the conversion value;

[0038] Encryption module: sort the conversion texts in the order in which they appear in the physical examination report, and starting from the first conversion text in the sorting, connect the corresponding conversion values ​​in sequence to generate a reference number, and encrypt the reference number according to the preset correction value to obtain an encrypted number, and send it to the hospital for review.

[0039] A storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the self-service physical examination machine anti-cheating method based on data analysis.

[0040] Beneficial effects of the present invention: In the present invention, a physical examination report is first obtained, which is the basis for subsequent processing; then the text in the physical examination report is extracted and processed to obtain converted text, and the converted text is converted into a converted value; it is worth noting that Unicode encoding is a computer encoding standard, which assigns a unique number (called a code point) to each character and provides a unified encoding method for different character sets, so that various languages ​​and symbols can be consistently represented and processed in a computer system. Taking "qualified" as an example, the code point of "matched" is U+5408 and the code point of "grid" is U+683C; when the encoding form is UTF-8, the UTF-8 encoding of "matched" is E59088, which is converted to decimal 229, 144, 136; the UTF-8 encoding of "grid" is E6 A0 BC, which is converted to decimal 230, 160, 188;

[0041] Next, the converted values ​​are connected in sequence to obtain a reference number, such as the reference number corresponding to "qualified" is "229144136230160188", and then the reference number is encrypted according to the correction value; it is worth noting that the correction value is determined according to the individual's physical examination results and the time spent in the physical examination process, so the correction value corresponding to each user is different, so even if the physical examination results are exactly the same, the final encrypted number will be different, which makes it impossible for an attacker to infer the original text by comparing the encrypted number. Even if a man-in-the-middle attack occurs, this personalized correction value greatly increases the difficulty of cracking and improves the security of the data. The present invention can improve the security of the physical examination results sent to the hospital for review. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The present invention will be further described below in conjunction with the accompanying drawings.

[0043] Figure 1 It is a structural schematic diagram of the anti-cheating method of the self-service physical examination machine based on data analysis of the present invention. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] See also Figure 1 As shown, the present invention is a self-service physical examination machine anti-cheating method based on data analysis, comprising the following steps:

[0046] S1: Obtain a physical examination report, wherein the physical examination report includes physical examination items and corresponding physical examination results, wherein the physical examination results include qualified and unqualified;

[0047] S2: Obtain the text in the physical examination report, filter it, use the text in the filtered text as conversion text, obtain the Unicode code point of the conversion text, determine the encoding form, and convert the Unicode code point into a decimal number in the determined encoding form, which is recorded as the conversion value;

[0048] S3: Sort the conversion texts in the order in which they appear in the physical examination report, and starting from the first conversion text in the sorting, connect the corresponding conversion values ​​in sequence to generate a reference number, and encrypt the reference number according to a preset correction value to obtain an encrypted number, and send it to the hospital for review.

[0049] It should be noted that, first, the physical examination report is obtained, which is the basis for subsequent processing; then, the text in the physical examination report is extracted and processed to obtain the converted text, and the converted text is transformed into converted numerical values; it is worth noting that Unicode encoding is a computer encoding standard that assigns a unique number (called a code point) to each character and provides a unified encoding method for different character sets, enabling various languages and symbols to be uniformly represented and processed in a computer system. Taking "qualified" as an example, the code point of "合" is U+5408, and the code point of "格" is U+683C; when the encoding form is UTF-8, the UTF-8 encoding of "合" is E59088, which is converted to decimal as 229, 144, 136; the UTF-8 encoding of "格" is E6 A0 BC, which is converted to decimal as 230, 160, 188.

[0050] Next, the converted numerical values are connected in sequence to obtain a reference number. For example, the reference number corresponding to "qualified" is "229144136230160188". Then, the reference number is encrypted according to the correction value; it is worth noting that the correction value is determined based on the individual's physical examination results and the time spent during the physical examination process. Therefore, the correction value corresponding to each user is different. Thus, even for exactly the same physical examination results, the finally obtained encrypted numbers will be different, which makes it impossible for attackers to infer the original text by comparing the encrypted numbers. Even in the case of a man-in-the-middle attack, this personalized correction value greatly increases the cracking difficulty and enhances the data security.

[0051] In another preferred embodiment of the present invention, in step S1, when there is no unqualified physical examination result in the physical examination report, the subsequent steps are not executed.

[0052] It is worth noting that if all the physical examination items in the physical examination report are qualified, then there is no need for encryption and further processing because there is no sensitive information to be protected. In this case, skipping the subsequent steps can save computing resources and time and improve the processing efficiency.

[0053] In another preferred embodiment of the present invention, in step S2, the process of filtering the text specifically includes:

[0054] Removing special characters in the text through regular expressions, where the special characters include punctuation marks, English, and numbers.

[0055] It is understandable that the text in the physical examination report may contain multiple types of characters, such as punctuation, English, numbers, etc. These characters may introduce inconsistencies in different encoding and processing processes. By removing these special characters, we can ensure that the remaining text is consistent in the encoding and encryption process, avoiding potential problems in data processing. At the same time, the core content of the physical examination report is usually the physical examination items and results, and punctuation, English and numbers are often not key information. Removing these characters can allow the system to focus on processing and protecting the actual important physical examination information, improving processing efficiency.

[0056] In another preferred implementation of the present invention, in step S3, the process of obtaining the correction value specifically includes:

[0057] Obtain all physical examination items, sort them according to preset rules, obtain the physical examination results corresponding to each physical examination item, and assign a value of 1 when the physical examination result is qualified, and assign a value of 0 when the physical examination result is unqualified;

[0058] The correction value K is calculated by the formula:

[0059]

[0060] Among them, Ci represents the value corresponding to the physical examination item at the i-th position in the sorting.

[0061] In another preferred implementation of the present invention, the process of sorting all physical examination items according to preset rules specifically includes:

[0062] Set a monitoring period, obtain the time spent on the physical examination items within the monitoring period, and calculate the average time Where S ab represents the time spent on the bth physical examination item when the self-service physical examination machine is used for the ath time during the monitoring period, m represents the total number of times the self-service physical examination machine is used during the monitoring period, μ a Indicates the preset time correction coefficient, and μ1<μ2<…<…<μ m and rank the physical examination items according to the mean time, wherein the greater the mean time, the lower the ranking, and the mean ranking is obtained;

[0063] The time the current user spends on each physical examination item is obtained as the actual time, and the actual time is sorted by size. The larger the actual time, the lower the ranking, and the actual ranking is obtained;

[0064] Calculate the ranking value D sor=λ*D+β*D′, D represents the position of the physical examination item in the mean ranking, D′ represents the position of the physical examination item in the actual ranking, λ and β are preset correction coefficients and λ<β;

[0065] The physical examination items are sorted in the order of the sorting values. The larger the sorting value is, the lower the corresponding physical examination item is ranked.

[0066] It should be noted that each person's physical examination results are different, and the final correction values ​​will also be different. Even if the physical examination results are exactly the same, the time spent on each physical examination item will lead to a different order of the physical examination items, which will ultimately lead to different correction values, thereby achieving the purpose of generating unique encrypted data for each user and improving data security.

[0067] In another preferred implementation of the present invention, the process of obtaining the encrypted number specifically includes:

[0068] Step 1: Obtain the reference number, and divide the number on each digit of the reference number by the correction value to obtain the undetermined number;

[0069] Step 2: Calculate the number of cycles Starting from the highest digit in the undetermined number, group the K′ digits into groups in sequence;

[0070] Among them, when a certain group F is determined, the number of remaining digits is less than K′, and the remaining digits are regarded as a group;

[0071] Step 3: sort all the groups according to their order in the reference number, and start from the first place in the sorting, and sequentially obtain the jump number n of the g-th group, where the jump number n satisfies the constraint: g+n*K′≤E, where E represents the total number of groups and n is an integer not less than 0;

[0072] Obtain n of all constraints, determine the maximum number of jumps nmax, and swap the gth group with the g+nmax*K′th group, wherein when nmax=0 exists, the group is not swapped;

[0073] Repeat the above steps to transpose all groups. After all groups are transposed, they are no longer grouped and the encrypted number is obtained.

[0074] When there is a decimal, the decimal is taken as a whole and used in subsequent steps.

[0075] It can be understood that, taking the decimal number "229144136230160188" corresponding to "qualified" as an example, assuming that the correction value is 2, the undetermined number is [1, 1, 4.5, 0.5, 2, 2, 0.5, 1.5, 3, 1, 1.5, 0, 0.5, 3, 0, 0.5, 4, 4], if the number of cycles is 4, then the grouping is [1, 1, 4.5, 0.5] [2, 2, 0.5, 1.5] [3, 1, 1.5, 0] [0.5, 3, 0, 0.5] [4, 4], a total of five groups;

[0076] Starting from the first group, the nmax corresponding to the first group is 1, so the first group and the fifth group are transposed to obtain [4, 4][2, 2, 0.5, 1.5][3, 1, 1.5, 0][0.5, 3, 0, 0.5][1, 1, 4.5, 0.5], where nmax is the maximum value of all n that meet the constraints. Since the nmax corresponding to the second, third and fourth groups are all 0, no transposition is performed;

[0077] Get the encrypted number 4422[0.5][1.5]31[1.5]0[0.5]30[0.5]11[4.5][0.5];

[0078] It is worth noting that taking the decimal as a whole in the subsequent steps can prevent the subsequent mistaken division of a quotient into two parts, resulting in garbled text in the end;

[0079] It is understandable that the correction value corresponding to each user is different, so that the encryption number is also different, which can reduce the possibility of an attacker inferring the physical examination results and modifying them by comparing the encrypted data.

[0080] In another preferred embodiment of the present invention, each group is transposed only once.

[0081] It is worth noting that this is to avoid the possibility of repeated transposition and subsequent decoding errors caused by repeated transposition.

[0082] In another preferred implementation of the present invention, the step S3 further includes a decryption process:

[0083] Starting from the highest digit in the encrypted number, K′ digits are grouped in sequence, and the digits are restored and transposed according to the maximum jump number. After the restoration and transposition, the grouping is no longer maintained, and the undetermined number is obtained;

[0084] The number on each digit of the pending number is multiplied by the correction value to obtain a reference number, the reference number is restored to a Unicode code point, and then restored to a conversion text.

[0085] The anti-cheating system of self-service physical examination machines based on data analysis includes:

[0086] Collection module: obtains a physical examination report, wherein the physical examination report includes physical examination items and corresponding physical examination results, and the physical examination results include qualified and unqualified;

[0087] Conversion module: obtains the text in the physical examination report, filters it, uses the text in the filtered text as conversion text, obtains the Unicode code point of the conversion text, determines the encoding form, and converts the Unicode code point into a decimal number in the determined encoding form, which is recorded as the conversion value;

[0088] Encryption module: sort the conversion texts in the order in which they appear in the physical examination report, and starting from the first conversion text in the sorting, connect the corresponding conversion values ​​in sequence to generate a reference number, and encrypt the reference number according to the preset correction value to obtain an encrypted number, and send it to the hospital for review.

[0089] A storage medium, characterized in that a computer program is stored on the storage medium, and when the computer program is executed by a processor, the processor executes the steps of the self-service physical examination machine anti-cheating method based on data analysis.

[0090] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A self-service physical examination machine anti-cheating method based on data analysis, characterized in that: The following steps are involved: S1: Obtain a physical examination report, wherein the physical examination report includes physical examination items and corresponding physical examination results, wherein the physical examination results include qualified and unqualified; S2: Obtain the text in the physical examination report, filter it, use the text in the filtered text as conversion text, obtain the Unicode code point of the conversion text, determine the encoding form, and convert the Unicode code point into a decimal number in the determined encoding form, which is recorded as the conversion value; S3: sorting the conversion words according to the order in which they appear in the physical examination report, and starting from the first conversion word in the sorting, sequentially connecting the corresponding conversion values ​​to generate a reference number, and encrypting the reference number according to a preset correction value to obtain an encrypted number, and sending it to the hospital for review; The process of obtaining the correction value specifically includes: Obtain all physical examination items, sort them according to preset rules, obtain the physical examination results corresponding to each physical examination item, and assign a value of 1 when the physical examination result is qualified, and assign a value of 0 when the physical examination result is unqualified; The correction value K is calculated by the formula: Wherein, Ci represents the value corresponding to the physical examination item at the i-th position in the ranking; The process of sorting all physical examination items according to preset rules specifically includes: Set a monitoring period, obtain the time spent on the physical examination items within the monitoring period, and calculate the average time Where Sab represents the time spent on the bth physical examination item when the self-service physical examination machine is used for the ath time within the monitoring period, m represents the total number of times the self-service physical examination machine is used within the monitoring period, μa represents a preset time correction coefficient, and μ1<μ2<…<…<μm, and the physical examination items are sorted according to the mean time, the larger the mean time, the lower the ranking, and the mean sorting is obtained; The time the current user spends on each physical examination item is obtained as the actual time, and the actual time is sorted by size. The larger the actual time, the lower the ranking, and the actual ranking is obtained; Calculate the ranking value Dsor=λ*D+β*D', where D represents the position of the physical examination item in the mean ranking, D' represents the position of the physical examination item in the actual ranking, λ and β are preset correction coefficients and λ<β; Sorting the physical examination items in the order of the ranking values, wherein the larger the ranking value is, the lower the corresponding physical examination item is ranked; The process of obtaining the encrypted number specifically includes: Step 1: Obtain the reference number, and divide the number on each digit of the reference number by the correction value to obtain the undetermined number; Step 2: Calculate the number of cycles Starting from the highest digit in the undetermined number, group the K' digits into one group; Among them, when a certain group F is determined, the number of remaining digits is less than K', and the remaining digits are regarded as a group; Step 3: sort all the groups according to their order in the reference number, and start from the first place in the sorting, and sequentially obtain the jump number n of the g-th group, where the jump number n satisfies the constraint: g+n*K'≤E, where E represents the total number of groups and n is an integer not less than 0; Obtain n of all constraints, determine the maximum number of jumps nmax, and swap the gth group with the g+nmax*K'th group, wherein when nmax=0 exists, the group is not swapped; Repeat the above steps to transpose all groups. After all groups are transposed, they are no longer grouped and the encrypted number is obtained. Among them, when there is a decimal, the decimal is taken as a whole and involved in the subsequent steps.

2. The anti-cheating method for self-service physical examination machines based on data analysis according to claim 1 is characterized in that: In the step S1, when there is no unqualified physical examination result in the physical examination report, the subsequent steps are not executed.

3. The anti-cheating method for self-service physical examination machines based on data analysis according to claim 1 is characterized in that: In step S2, the process of filtering the text specifically includes: Special characters in the text are removed by regular expressions, and the special characters include punctuation marks, English letters and numbers.

4. The anti-cheating method for self-service physical examination machines based on data analysis according to claim 1 is characterized in that: Each group only performs one rotation.

5. The anti-cheating method for self-service physical examination machine based on data analysis according to claim 1 is characterized in that: The step S3 also includes a decryption process: Starting from the highest digit in the encrypted number, K' digits are grouped in sequence, and the digits are restored and transposed according to the maximum jump number. After the restoration and transposition, the grouping is no longer maintained, and the undetermined number is obtained; The number on each digit of the pending number is multiplied by the correction value to obtain a reference number, the reference number is restored to a Unicode code point, and then restored to a conversion text.

6. The anti-cheating system of self-service physical examination machine based on data analysis is characterized by: include: Collection module: obtains a physical examination report, wherein the physical examination report includes physical examination items and corresponding physical examination results, and the physical examination results include qualified and unqualified; Conversion module: obtains the text in the physical examination report, filters it, uses the text in the filtered text as conversion text, obtains the Unicode code point of the conversion text, determines the encoding form, and converts the Unicode code point into a decimal number in the determined encoding form, which is recorded as the conversion value; Encryption module: sort the conversion words in the order in which they appear in the physical examination report, and starting from the first conversion word in the sorting, connect the corresponding conversion values ​​in sequence to generate a reference number, and encrypt the reference number according to a preset correction value to obtain an encrypted number, and send it to the hospital for review; The process of obtaining the correction value specifically includes: Obtain all physical examination items, sort them according to preset rules, obtain the physical examination results corresponding to each physical examination item, and assign a value of 1 when the physical examination result is qualified, and assign a value of 0 when the physical examination result is unqualified; The correction value K is calculated by the formula: Wherein, Ci represents the value corresponding to the physical examination item at the i-th position in the ranking; The process of sorting all physical examination items according to preset rules specifically includes: Set a monitoring period, obtain the time spent on the physical examination items within the monitoring period, and calculate the average time Where Sab represents the time spent on the bth physical examination item when the self-service physical examination machine is used for the ath time within the monitoring period, m represents the total number of times the self-service physical examination machine is used within the monitoring period, μa represents a preset time correction coefficient, and μ1<μ2<…<…<μm, and the physical examination items are sorted according to the mean time, the larger the mean time, the lower the ranking, and the mean sorting is obtained; The time the current user spends on each physical examination item is obtained as the actual time, and the actual time is sorted by size. The larger the actual time, the lower the ranking, and the actual ranking is obtained; Calculate the ranking value Dsor=λ*D+β*D', where D represents the position of the physical examination item in the mean ranking, D' represents the position of the physical examination item in the actual ranking, λ and β are preset correction coefficients and λ<β; Sorting the physical examination items in the order of the ranking values, wherein the larger the ranking value is, the lower the corresponding physical examination item is ranked; The process of obtaining the encrypted number specifically includes: Step 1: Obtain the reference number, and divide the number on each digit of the reference number by the correction value to obtain the undetermined number; Step 2: Calculate the number of cycles Starting from the highest digit in the undetermined number, group the K' digits into one group; Among them, when a certain group F is determined, the number of remaining digits is less than K', and the remaining digits are regarded as a group; Step 3: sort all the groups according to their order in the reference number, and start from the first place in the sorting, and sequentially obtain the jump number n of the g-th group, where the jump number n satisfies the constraint: g+n*K'≤E, where E represents the total number of groups and n is an integer not less than 0; Obtain n of all constraints, determine the maximum number of jumps nmax, and swap the gth group with the g+nmax*K'th group, wherein when nmax=0 exists, the group is not swapped; Repeat the above steps to transpose all groups. After all groups are transposed, they are no longer grouped and the encrypted number is obtained. When there is a decimal, the decimal is taken as a whole and used in subsequent steps.

7. A storage medium, characterized in that: A computer program is stored on the storage medium. When the computer program is executed by the processor, the processor executes the steps of the anti-cheating method for a self-service physical examination machine based on data analysis as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Novel mathematics learning system based on network

    CN104735136A