A health code presentation processing method and device

By reading bank card data or decrypting health code tokens, the health code status and travel information are updated, solving the problem of health codes being unable to be displayed without a network connection. This enables health codes to be displayed offline, improving travel convenience and the reliability of health codes.

CN115098526BActive Publication Date: 2026-02-03INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210905463.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2026-02-03
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

The existing health code cannot be displayed properly when there is no network or poor network signal, which prevents people from entering public places and causes inconvenience to travel.

Method used

By reading the offline health code data from the bank card, the system obtains the current location and time information, updates the health code status and travel information, and displays the health code status offline. Alternatively, it can decrypt the health code token to synchronize data with the health code server, ensuring that the health code is usable offline.

Benefits of technology

It enables the display of health codes offline, facilitating people's travel, improving usability when network conditions are poor, preventing fraudulent activities, and enhancing the reliability of health codes and the completeness of travel records.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115098526B_ABST
    Figure CN115098526B_ABST
Patent Text Reader

Abstract

The application provides a health code presentation processing method and device, relates to the technical field of data processing, and can be applied to the financial field or other technical fields.The method comprises the following steps: offline health code area data of a bank card is read, and offline current position information and offline current time information are obtained; if it is determined that the offline health code credibility is greater than a preset credibility threshold, the offline current position information and the offline current time information are added to offline travel information to obtain updated offline travel information, and the offline health code state timestamp is updated according to the offline current time information; the updated offline health code state timestamp and the offline updated travel information are written into the bank card, and the offline health code state is displayed.The device executes the above method.The method and device provided in the embodiment of the application can present a health code in an offline state, thereby facilitating personnel travel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, specifically to a method and apparatus for displaying health codes. Background Technology

[0002] During an outbreak of infectious diseases, individuals are required to present a health code when entering crowded public places in order to control the spread of the disease. However, the current health code presentation requires an internet connection. In situations where there is no internet or the network signal is poor, the health code cannot be presented normally, preventing people from entering public places and causing inconvenience to their travel. Summary of the Invention

[0003] To address the problems in the prior art, embodiments of the present invention provide a health code display processing method and apparatus, which can at least partially solve the problems existing in the prior art.

[0004] On the one hand, the present invention proposes a method for displaying a health code, including:

[0005] Read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information of the adjacent preset number of days before the current day;

[0006] If it is determined that the credibility of the offline health code is greater than a preset credibility threshold, then the offline current location information and the offline current time information are added to the offline itinerary information to obtain updated offline itinerary information, and the offline health code status timestamp is updated according to the offline current time information;

[0007] Write the updated offline health code status timestamp and the offline updated travel information to the bank card, and display the offline health code status.

[0008] The health code display processing method further includes:

[0009] If the credibility of the health code is determined to be less than or equal to a preset credibility threshold, a prompt message indicating that the health code status cannot be displayed offline will be generated.

[0010] The method includes periodically clearing the travel information; correspondingly, the health code display processing method also includes:

[0011] If the itinerary information is determined to be empty, a prompt message will be generated indicating that the health code status cannot be displayed offline.

[0012] On the one hand, the present invention proposes a method for displaying a health code, including:

[0013] Receives first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes health code token encrypted text, first health code status timestamp, and first travel information for the number of adjacent preset days before the current day;

[0014] The encrypted health code token is decrypted to obtain the decrypted health code token, and the health code token is sent to the health code server.

[0015] The system receives second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then the current time is determined as the current status timestamp of the health code. The second health code area data includes the online status timestamp of the second health code.

[0016] The current location information and the current time information are added to the first trip information to obtain the first updated trip information, and the first updated trip information and the current status timestamp of the health code are sent to the health code server;

[0017] The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0018] The second health code area data also includes second travel information for adjacent preset days prior to the current day; correspondingly, the health code display processing method further includes:

[0019] If the comparison result between the second health code status timestamp and the first health code status timestamp is determined to be inconsistent, then the union of the first travel information and the second travel information is taken to obtain the union data, and the offline merchant transaction data of the user in the adjacent preset number of days before the current day is obtained.

[0020] Based on the offline merchant transaction data and the union data, obtain the second updated itinerary information, and send the second updated itinerary information and the current status timestamp of the health code to the health code server;

[0021] The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the second updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0022] The offline merchant transaction data includes the merchant's registered address and transaction time; correspondingly, obtaining the second updated itinerary information based on the offline merchant transaction data and the union data includes:

[0023] The merchant's registered address and transaction time are used as itinerary data, and the itinerary data is added to the union data to obtain the second updated itinerary information.

[0024] On one hand, the present invention proposes a health code display processing device, comprising:

[0025] The reading unit is used to read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information of the adjacent preset number of days before the current day;

[0026] The update unit is used to add the offline current location information and the offline current time information to the offline travel information to obtain updated offline travel information if it is determined that the credibility of the offline health code is greater than a preset credibility threshold, and update the offline health code status timestamp according to the offline current time information;

[0027] The display unit is used to write the updated offline health code status timestamp and the offline updated travel information to the bank card, and to display the offline health code status.

[0028] On one hand, the present invention proposes a health code display processing device, comprising:

[0029] The receiving module is used to receive the first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes the health code token encrypted text, the first health code status timestamp, and the first travel information of the adjacent preset number of days before the current day;

[0030] The decryption module is used to decrypt the encrypted health code token to obtain the decrypted health code token and send the health code token to the health code server.

[0031] The determination module is used to receive the second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then the current time is determined as the current status timestamp of the health code. The second health code area data includes the online status timestamp of the second health code.

[0032] An add module is used to add the current location information and the current time information to the first trip information to obtain the first updated trip information, and send the first updated trip information and the current status timestamp of the health code to the health code server;

[0033] The sending module is used to receive the health code status sent by the health code server, obtain the health code credibility, and send the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0034] In another aspect, embodiments of the present invention provide an electronic device, including: a processor, a memory, and a bus, wherein,

[0035] The processor and the memory communicate with each other via the bus;

[0036] The memory stores program instructions that can be executed by the processor, and the processor can execute the following methods by calling the program instructions:

[0037] Read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information of the adjacent preset number of days before the current day;

[0038] If it is determined that the credibility of the offline health code is greater than a preset credibility threshold, then the offline current location information and the offline current time information are added to the offline itinerary information to obtain updated offline itinerary information, and the offline health code status timestamp is updated according to the offline current time information;

[0039] Write the updated offline health code status timestamp and the offline updated travel information to the bank card, and display the offline health code status;

[0040] Alternatively, it can receive first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes health code token encrypted text, first health code status timestamp, and first travel information for the first preset number of adjacent days before the current day.

[0041] The encrypted health code token is decrypted to obtain the decrypted health code token, and the health code token is sent to the health code server.

[0042] The system receives second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then the current time is determined as the current status timestamp of the health code. The second health code area data includes the online status timestamp of the second health code.

[0043] The current location information and the current time information are added to the first trip information to obtain the first updated trip information, and the first updated trip information and the current status timestamp of the health code are sent to the health code server;

[0044] The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0045] This invention provides a non-transitory computer-readable storage medium, comprising:

[0046] The non-transitory computer-readable storage medium stores computer instructions that cause the computer to perform the following methods:

[0047] Read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information of the adjacent preset number of days before the current day;

[0048] If it is determined that the credibility of the offline health code is greater than a preset credibility threshold, then the offline current location information and the offline current time information are added to the offline itinerary information to obtain updated offline itinerary information, and the offline health code status timestamp is updated according to the offline current time information;

[0049] Write the updated offline health code status timestamp and the offline updated travel information to the bank card, and display the offline health code status;

[0050] Alternatively, it can receive first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes health code token encrypted text, first health code status timestamp, and first travel information for the first preset number of adjacent days before the current day.

[0051] The encrypted health code token is decrypted to obtain the decrypted health code token, and the health code token is sent to the health code server.

[0052] The system receives second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then the current time is determined as the current status timestamp of the health code. The second health code area data includes the online status timestamp of the second health code.

[0053] The current location information and the current time information are added to the first trip information to obtain the first updated trip information, and the first updated trip information and the current status timestamp of the health code are sent to the health code server;

[0054] The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0055] The health code display processing method and apparatus provided in this invention reads offline health code area data from a bank card and obtains offline current location information and offline current time information. The offline health code area data includes offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information for the preceding preset number of days. If the offline health code credibility is determined to be greater than a preset credibility threshold, the offline current location information and the offline current time information are added to the offline travel information to obtain updated offline travel information, and the offline health code status timestamp is updated according to the offline current time information. The updated offline health code status timestamp and the updated offline travel information are written to the bank card, and the offline health code status is displayed, enabling the display of the health code offline, thereby facilitating travel.

[0056] The health code display processing method and apparatus provided in this embodiment of the invention receive first health code area data, current location information, and current time information sent by a terminal; the first health code area data includes health code token encrypted text, first health code status timestamp, and first travel information for the number of adjacent preset days prior to the current day; the health code token encrypted text is decrypted to obtain a decrypted health code token, and the health code token is sent to a health code server; the second health code area data sent by the health code server is received, and if the comparison result of the second health code status timestamp and the first health code status timestamp is determined to be consistent, the current time is determined to be the current status of the health code. The second health code area data includes the online status timestamp of the second health code; the current location information and the current time information are added to the first itinerary information to obtain the first updated itinerary information, and the first updated itinerary information and the current status timestamp of the health code are sent to the health code server; the health code status sent by the health code server is received, the health code credibility is obtained, and the first updated itinerary information, the current status timestamp of the health code, the health code status and the health code credibility are sent to the terminal, so that the terminal can perform subsequent steps and can present the health code in an offline state, thereby facilitating people's travel. Attached Figure Description

[0057] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0058] Figure 1 This is a flowchart illustrating a health code display processing method provided in an embodiment of the present invention.

[0059] Figure 2 This is a schematic diagram of the system structure for executing the health code display processing method provided in an embodiment of the present invention.

[0060] Figure 3 This is a flowchart illustrating a health code display processing method provided in another embodiment of the present invention.

[0061] Figure 4 This is a flowchart illustrating a health code display processing method provided in another embodiment of the present invention.

[0062] Figure 5 This is a flowchart illustrating a health code display processing method provided in another embodiment of the present invention.

[0063] Figure 6 This is a flowchart illustrating a health code display processing method provided in another embodiment of the present invention.

[0064] Figure 7 This is a schematic diagram of the health code display processing device provided in an embodiment of the present invention.

[0065] Figure 8 This is a schematic diagram of the health code display processing device provided in another embodiment of the present invention.

[0066] Figure 9 This is a schematic diagram of the physical structure of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0067] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments and descriptions of the present invention are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of this application can be arbitrarily combined with each other.

[0068] Figure 1 This is a flowchart illustrating a health code display processing method according to an embodiment of the present invention, as shown below. Figure 1As shown, the health code display processing method provided in this embodiment of the invention includes:

[0069] Step S1: Read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information of the adjacent preset number of days before the current day.

[0070] Step S2: If it is determined that the credibility of the offline health code is greater than the preset credibility threshold, then the offline current location information and the offline current time information are added to the offline itinerary information to obtain updated offline itinerary information, and the offline health code status timestamp is updated according to the offline current time information.

[0071] Step S3: Write the updated offline health code status timestamp and the offline updated travel information to the bank card, and display the offline health code status.

[0072] In step S1 above, the device reads the offline health code area data of the bank card and obtains the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information for the adjacent preset number of days prior to the current day. The device can be a computer device that executes this method, such as a terminal, specifically a smart terminal. The acquisition, storage, use, and processing of data in this application's technical solution all comply with the relevant provisions of national laws and regulations.

[0073] like Figure 2 As shown, the relevant execution entities for implementing the methods of the embodiments of the present invention may include bank card 100, smart terminal 200, bank server 300 and health code server 400;

[0074] Specifically, the bank card 100 communicates with the smart terminal 200 via NFC, the smart terminal 200 communicates with the bank server 300 via the Internet, and the bank server 300 communicates with the health code server 400 via the Internet.

[0075] The bank card 100 can be a CPU card commonly used by commercial banks, featuring large storage space, fast read speed, and support for multiple uses. To achieve the invention's purpose, based on the partitionable nature of CPU card data, the data partitions of the bank card 100 can include a financial area and a health code area. The financial area is used to store encrypted data related to the bank card's financial account; the health code area is used to store health code-related data, including health code token ciphertext, health code status (e.g., green, yellow, red), travel information for the past n days (n is a preset number of days, n can be selected as 7), health code credibility (e.g., level A (greater than a preset credibility threshold, i.e., can be defined as level A), level B, level C), health code status timestamp, etc.

[0076] The smart terminal 200 can be a mobile phone, tablet computer, or other smart device, used to run a bank APP, interact with the bank card 100 and the bank server 300, and display the health code status of the bank card holder. It includes a motherboard, NFC module, GPS module, communication module, and display module; wherein:

[0077] The motherboard is used for computing, storage, and control of the terminal.

[0078] The NFC module is used to read and write data on bank card 100 via NFC technology, and can use communication protocols such as ISO14443.

[0079] The GPS module is used to obtain the GPS location information of the smart terminal 200.

[0080] The communication module is used to establish Internet-based communication with the bank server 300.

[0081] The display module is used to display the health code status.

[0082] The bank server 300 is used to respond to data requests from the smart terminal 200 and to request health code-related information from the health code server 400.

[0083] The health code server 400 is used to respond to health code data requests from the bank server 300 and to store public health code data. It is generally operated by a local institution. This method mainly includes three steps: activating the health code S100, reading the health code online S200, and reading the health code offline S300. S100 is used to enable the health code function of the bank card 100. Specific steps are as follows... Figure 3 As shown:

[0084] Step S101: Run the bank APP on the smart terminal 200 and log in to the personal real-name account;

[0085] Step S102: In the bank APP, the financial area data of the bank card 100 is read via NFC, and the encrypted data of the financial area data and the login user information are sent to the bank server 300.

[0086] In step S103, the bank server 300 decrypts the ciphertext and obtains the real name information of the bank card holder. It then compares the decrypted real name information with the login user information to confirm whether the cardholder and the login user are consistent. If they are consistent, the cardholder is allowed to proceed with the subsequent steps.

[0087] In step S104, the bank server 300 requests the health code information of the real-name user from the health code server 400, including health code token, health code status, travel information in the past n days, health code credibility, health code status timestamp, etc.

[0088] In step S105, the bank server 300 encrypts the health code token obtained in step S104 and returns the health code token ciphertext, health code status, travel information for the past n days, health code credibility, health code status timestamp, and other information to the smart terminal 200.

[0089] In step S106, the smart terminal 200 writes the data returned in step S105 into the health code area of ​​the bank card 100 via NFC.

[0090] S200 is used to obtain the health code information of the bank card holder when the network status of the smart terminal 200 is good. The specific steps are as follows: Figure 4 As shown:

[0091] Step S201: Use the smart terminal 200 to read the health code area data A (first health code area data) of the bank card 100, and obtain the terminal's GPS location information GPS_INFO (current location information) and current time information TIME_INFO (current time information), and transmit data A, GPS_INFO, and TIME_INFO to the bank server 300;

[0092] In step S202, the bank server 300 decrypts the encrypted health code token in data A and transmits the decrypted health code token to the health code server 400.

[0093] In step S203, the health code server 400 returns the corresponding user's health code data B (second health code area data) to the bank server 300 based on the health code token;

[0094] In step S204, the bank server 300 compares the timestamps of data A and data B (the second health code status timestamp and the first health code status timestamp). If the timestamps match, it is considered that the bank card 100 is synchronized with the health code information of the corresponding user stored in the health code server 400, and then step S205 is executed; if the timestamps do not match, it is considered that the bank card 100 is not synchronized with the health code information of the corresponding user stored in the health code server 400, and step S206 is executed.

[0095] Step S205: The bank server 300 generates the latest timestamp TIME_STAMP (current status timestamp of the health code), updates GPS_INFO and TIME_INFO to the RECENT_JOURNEY (first updated travel information) of the past n days in data A, and sends RECENT_JOURNEY and TIME_STAMP to the health code server 400;

[0096] Step S206, the bank server 300 calculates the union of the travel data (first travel information and second travel information) of the past n days in data A and data B;

[0097] In step S207, the bank server 300 queries the cardholder's offline merchant transaction data for the past n days, parses the registered address of the corresponding merchant, and then adds the merchant address and transaction time as itinerary data to the union data to obtain RECENT_JOURNEY (second updated itinerary information), and sends RECENT_JOURNEY and TIME_STAMP to the health code server 400.

[0098] In step S208, the health code server 400 updates the RECENT_JOURNEY and TIME_STAMP of the corresponding user, calculates the health code status HEALTH_STATUS of the corresponding user based on the updated RECENT_JOURNEY (health server updates travel information), and returns HEALTH_STATUS to the bank server 300.

[0099] In step S209, after receiving HEALTH_STATUS, the bank server 300 calculates the health code credibility HEALTH_CREDIT according to rule R1, and returns TIME_STAMP, RECENT_JOURNEY (first updated travel information or second updated travel information), HEALTH_STATUS and HEALTH_CREDIT to the smart terminal 200.

[0100] In step S210, after receiving the return message, the smart terminal 200 writes TIME_STAMP, RECENT_JOURNEY, HEALTH_STATUS, and HEALTH_CREDIT into the bank card 100 via the NFC protocol; the message may include the aforementioned TIME_STAMP, RECENT_JOURNEY, HEALTH_STATUS, and HEALTH_CREDIT.

[0101] Step S211, the smart terminal 200 displays HEALTH_STATUS data;

[0102] Rule R1 calculates health code credibility into three levels: A, B, and C, based on dimensions such as the cardholder's financial attribute score in the bank's database, the frequency of using the bank card to obtain the health code, and the data consistency between the bank card health code and the health code server 400. Specifically, the scores corresponding to the financial attribute score, the frequency of using the bank card to obtain the health code, and the data consistency can be obtained respectively. Then, the total score is calculated based on the weights corresponding to the financial attribute score, the frequency of using the bank card to obtain the health code, and the data consistency. If the total score is greater than the preset credibility threshold, the health code credibility can be defined as level A.

[0103] S300 is used to obtain the health code information of the bank card holder when the network status of the smart terminal 200 is abnormal. The specific steps are as follows: Figure 5 As shown:

[0104] Step S301: The smart terminal 200 reads the health code area data A (offline health code area data) of the bank card and obtains the terminal's GPS location information GPS_INFO (offline current location information) and current time information TIME_INFO (offline current time information);

[0105] In step S302, the smart terminal 200 determines whether the travel data for the most recent n days in data A is empty. If it is empty, it jumps to step S306; if it is not empty, it jumps to step S303.

[0106] In step S303, the smart terminal 200 determines whether the credibility of the health code in data A is A. If it is A, then proceed to step S304; otherwise, proceed to step S306.

[0107] Step S304: The smart terminal 200 updates GPS_INFO and TIME_INFO to the RECENT_JOURNEY (updated offline travel information) of the past n days in data A, generates the latest timestamp TIME_STAMP, and writes TIME_STAMP (updated offline health code status timestamp) and RECENT_JOURNEY into the bank card 100 via the NFC protocol;

[0108] Step S305, the smart terminal 200 displays HEALTH_STATUS data (offline health code status);

[0109] In step S306, the smart terminal 200 displays the message "Offline query mode is temporarily unavailable (cannot show health code status offline). Please query again when the network is good."

[0110] Step S1 corresponds to step S301 above, and the preset number of days can be set independently according to the actual situation.

[0111] In step S2 above, if the device determines that the credibility of the offline health code is greater than a preset credibility threshold, it adds the offline current location information and the offline current time information to the offline travel information to obtain updated offline travel information, and updates the offline health code status timestamp according to the offline current time information. This step S2 corresponds to steps S303 and S304 above, and the preset credibility threshold can be set independently according to the actual situation.

[0112] In step S3 above, the device writes the updated offline health code status timestamp and the offline updated travel information to the bank card, and displays the offline health code status. This step S3 corresponds to S304 and S305 above.

[0113] The health code display processing method also includes:

[0114] If the credibility of the health code is determined to be less than or equal to a preset credibility threshold, a prompt message indicating that the offline health code display status cannot be used is generated. This corresponds to S303 and S306 above.

[0115] The travel information is periodically cleared; correspondingly, the health code display processing method also includes:

[0116] If the travel information is determined to be empty, a prompt message indicating that the offline health code cannot be displayed is generated. This corresponds to S302 and S306 above.

[0117] 1. This invention is based on the characteristics of bank cards rather than smartphones, and has greater universality than existing solutions. It can effectively cover groups such as the elderly, teenagers, and children who do not have smartphones, and has high social value.

[0118] 2. This invention supports offline acquisition of health code information for groups with good credit and high usage frequency, which can effectively solve the loading problem of the current health code scheme when the network conditions are poor, and can effectively improve the efficiency of social operation;

[0119] 3. The real-time online health code acquisition solution of this invention can effectively solve the problems of screenshot fraud, screen recording fraud, and image modification fraud existing in the current health code solution, thus safeguarding the epidemic prevention work and having high social value;

[0120] 4. This invention forcibly records travel information every time a health code is obtained, which can effectively solve the problem of incomplete travel records in the current health code scheme, and is conducive to improving the screening efficiency of high-risk groups, thus having high social value;

[0121] 5. This invention can supplement the traditional health code data with financial data, making the travel data richer.

[0122] The health code display processing method provided in this embodiment of the invention reads the offline health code area data of a bank card and obtains the offline current location information and offline current time information. The offline health code area data includes offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information for the adjacent preset number of days prior to the current day. If it is determined that the offline health code credibility is greater than a preset credibility threshold, the offline current location information and the offline current time information are added to the offline travel information to obtain updated offline travel information, and the offline health code status timestamp is updated according to the offline current time information. The updated offline health code status timestamp and the updated offline travel information are written to the bank card, and the offline health code status is displayed, enabling the display of the health code offline, thereby facilitating people's travel.

[0123] Furthermore, the health code display processing method also includes:

[0124] If the credibility of the health code is determined to be less than or equal to a preset credibility threshold, a prompt message indicating that the health code cannot be displayed offline will be generated. This is similar to the explanation above and will not be repeated here.

[0125] The health code display processing method provided in this embodiment of the invention can not use offline health code display when the health code credibility is determined to be less than or equal to a preset credibility threshold, thereby further ensuring the reliability of health code display.

[0126] Furthermore, the travel information is periodically cleared; correspondingly, the health code display processing method also includes:

[0127] If the travel information is determined to be empty, a message indicating that the offline health code cannot be displayed will be generated. Please refer to the above explanation; further details are omitted.

[0128] The health code display processing method provided in this embodiment of the invention can not display the health code offline when the travel information is empty, thus further ensuring the reliability of health code display.

[0129] Figure 6 This is a flowchart illustrating a health code display processing method according to an embodiment of the present invention, as shown below. Figure 6 As shown, the health code display processing method provided in this embodiment of the invention includes:

[0130] Step R1: Receive the first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes the health code token encrypted text, the first health code status timestamp, and the first travel information of the adjacent preset number of days before the current day.

[0131] Step R2: Decrypt the encrypted health code token to obtain the decrypted health code token, and send the health code token to the health code server.

[0132] Step R3: Receive the second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then determine the current time as the current status timestamp of the health code. The second health code area data includes the online status timestamp of the second health code.

[0133] Step R4: Add the current location information and the current time information to the first trip information to obtain the first updated trip information, and send the first updated trip information and the current status timestamp of the health code to the health code server.

[0134] Step R5: Receive the health code status sent by the health code server, obtain the health code credibility, and send the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0135] In step R1 above, the device receives first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes health code token encrypted text, first health code status timestamp, and first travel information for the number of adjacent preset days prior to the current day. The device can be a computer device executing this method, such as a server, specifically a bank server. The acquisition, storage, use, and processing of data in this application's technical solution all comply with relevant national laws and regulations. This step corresponds to step S201 above.

[0136] In step R2 above, the device decrypts the encrypted health code token to obtain the decrypted health code token, and sends the health code token to the health code server. This step corresponds to step S202 above.

[0137] In step R3 above, the device receives the second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then the current time is determined as the current status timestamp of the health code. The second health code area data includes the online status timestamp of the second health code. This step corresponds to steps S203 to S205 above.

[0138] In step R4 above, the device adds the current location information and the current time information to the first trip information to obtain the first updated trip information, and sends the first updated trip information and the current status timestamp of the health code to the health code server. This step corresponds to step S205 above.

[0139] In step R5 above, the device receives the health code status sent by the health code server, obtains the health code credibility, and sends the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal. This step corresponds to steps S208 and S209 above. Subsequent steps may also include S210 and S211.

[0140] The second health code area data also includes second travel information for adjacent preset days prior to the current day; correspondingly, the health code display processing method further includes:

[0141] If the comparison result between the second health code status timestamp and the first health code status timestamp is determined to be inconsistent, then the union of the first travel information and the second travel information is taken to obtain the union data, and the offline merchant transaction data of the user in the adjacent preset number of days before the current day is obtained; the steps correspond to the above steps S204, S206 and S207.

[0142] Based on the offline merchant transaction data and the union data, obtain the second updated itinerary information, and send the second updated itinerary information and the current status timestamp of the health code to the health code server; the step corresponds to step S207 above.

[0143] The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the second updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal. This step corresponds to step S208 above.

[0144] The health code display processing method provided in this embodiment of the invention receives first health code area data, current location information, and current time information sent by a terminal; the first health code area data includes health code token encrypted text, first health code status timestamp, and first travel information for the number of adjacent preset days prior to the current day; the health code token encrypted text is decrypted to obtain a decrypted health code token, and the health code token is sent to a health code server; the method receives second health code area data sent by the health code server, and if the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then the current time is determined to be the current status of the health code. The second health code area data includes the online status timestamp of the second health code; the current location information and the current time information are added to the first travel information to obtain the first updated travel information, and the first updated travel information and the current status timestamp of the health code are sent to the health code server; the health code status sent by the health code server is received, the health code credibility is obtained, and the first updated travel information, the current status timestamp of the health code, the health code status and the health code credibility are sent to the terminal, so that the terminal can perform subsequent steps and can display the health code in an offline state, thereby facilitating people's travel.

[0145] Furthermore, the second health code area data also includes second travel information for adjacent preset days prior to the current day; correspondingly, the health code display processing method further includes:

[0146] If the comparison results of the second health code status timestamp and the first health code status timestamp are found to be inconsistent, then the union of the first travel information and the second travel information is taken to obtain the union data, and the offline merchant transaction data of the user in the adjacent preset number of days before the current day is obtained; the above description can be referred to, and will not be repeated.

[0147] Based on the offline merchant transaction data and the union data, the second updated itinerary information is obtained, and the second updated itinerary information and the current status timestamp of the health code are sent to the health code server; the above description is provided and will not be repeated here.

[0148] The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the second updated travel information, the current health code status timestamp, the health code status, and the health code credibility to the terminal. This can be referred to the above description and will not be repeated here.

[0149] The health code display processing method provided in this embodiment of the invention further ensures that the terminal can obtain relevant information, thereby enabling the display of the health code in an offline state, thus facilitating people's travel.

[0150] Furthermore, the offline merchant transaction data includes the merchant's registered address and transaction time; correspondingly, obtaining the second updated itinerary information based on the offline merchant transaction data and the union data includes:

[0151] The merchant's registered address and transaction time are used as trip data, and this trip data is added to the union data to obtain the second updated trip information. This can be referred to the above explanation and will not be repeated here.

[0152] The health code display processing method provided in this embodiment of the invention further ensures that the terminal can obtain relevant information, thereby enabling the display of the health code in an offline state, thus facilitating people's travel.

[0153] It should be noted that the health code display processing method provided in this embodiment of the invention can be used in the financial field, or in any technical field other than the financial field. This embodiment of the invention does not limit the application field of the health code display processing method.

[0154] Figure 7 This is a schematic diagram of the structure of a health code display processing device provided in an embodiment of the present invention, as shown below. Figure 7 As shown, the health code display processing device provided in this embodiment of the invention includes a reading unit 701, an updating unit 702, and a display unit 703, wherein:

[0155] The reading unit 701 is used to read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information for the adjacent preset number of days before the current day; the updating unit 702 is used to add the offline current location information and the offline current time information to the offline travel information if it is determined that the offline health code credibility is greater than a preset credibility threshold, to obtain updated offline travel information, and to update the offline health code status timestamp according to the offline current time information; the display unit 703 is used to write the updated offline health code status timestamp and the updated offline travel information to the bank card and display the offline health code status.

[0156] Specifically, the reading unit 701 in the device is used to read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information for the adjacent preset number of days before the current day; the updating unit 702 is used to add the offline current location information and the offline current time information to the offline travel information if it is determined that the offline health code credibility is greater than a preset credibility threshold, to obtain updated offline travel information, and to update the offline health code status timestamp according to the offline current time information; the display unit 703 is used to write the updated offline health code status timestamp and the updated offline travel information to the bank card and display the offline health code status.

[0157] The health code display processing device provided in this embodiment of the invention reads the offline health code area data of a bank card and obtains the offline current location information and offline current time information. The offline health code area data includes offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information for the adjacent preset number of days prior to the current day. If it is determined that the offline health code credibility is greater than a preset credibility threshold, the offline current location information and the offline current time information are added to the offline travel information to obtain updated offline travel information, and the offline health code status timestamp is updated according to the offline current time information. The updated offline health code status timestamp and the updated offline travel information are written to the bank card, and the offline health code status is displayed, enabling the display of the health code offline, thereby facilitating people's travel.

[0158] Furthermore, the health code display processing device is also used for:

[0159] If the credibility of the health code is determined to be less than or equal to a preset credibility threshold, a prompt message indicating that the health code status cannot be displayed offline will be generated.

[0160] The health code display processing device provided in this embodiment of the invention can not display the health code offline when the credibility of the health code is determined to be less than or equal to a preset credibility threshold, thereby further ensuring the reliability of the health code display.

[0161] Furthermore, the travel information is periodically cleared; correspondingly, the health code display processing device is also used for:

[0162] If the itinerary information is determined to be empty, a prompt message will be generated indicating that the health code status cannot be displayed offline.

[0163] The health code display processing device provided in this embodiment of the invention can not display the health code offline when the travel information is empty, thus further ensuring the reliability of health code display.

[0164] Figure 8 This is a schematic diagram of the structure of a health code display processing device provided in an embodiment of the present invention, as shown below. Figure 8 As shown, the health code display processing device provided in this embodiment of the invention includes a receiving module 801, a decryption module 802, a determining module 803, an adding module 804, and a sending module 805, wherein:

[0165] The receiving module 801 is used to receive first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes health code token ciphertext, first health code status timestamp, and first travel information for the number of adjacent preset days prior to the current day; the decryption module 802 is used to decrypt the health code token ciphertext to obtain the decrypted health code token, and send the health code token to the health code server; the determining module 803 is used to receive second health code area data sent by the health code server, and if the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then it is determined that the current health code area data is valid. The previous time is the current status timestamp of the health code; the second health code area data includes the online status timestamp of the second health code; the adding module 804 is used to add the current location information and the current time information to the first itinerary information to obtain the first updated itinerary information, and send the first updated itinerary information and the current status timestamp of the health code to the health code server; the sending module 805 is used to receive the health code status sent by the health code server, obtain the health code credibility, and send the first updated itinerary information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0166] Specifically, the receiving module 801 in the device is used to receive first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes health code token ciphertext, first health code status timestamp, and first travel information for the number of adjacent preset days prior to the current day; the decryption module 802 is used to decrypt the health code token ciphertext to obtain the decrypted health code token, and send the health code token to the health code server; the determining module 803 is used to receive second health code area data sent by the health code server, and if the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, The current time is determined as the timestamp of the current status of the health code; the second health code area data includes the timestamp of the online status of the second health code; the adding module 804 is used to add the current location information and the current time information to the first itinerary information to obtain the first updated itinerary information, and send the first updated itinerary information and the timestamp of the current status of the health code to the health code server; the sending module 805 is used to receive the health code status sent by the health code server, obtain the health code credibility, and send the first updated itinerary information, the timestamp of the current status of the health code, the health code status, and the health code credibility to the terminal.

[0167] The health code display processing device provided in this embodiment of the invention receives first health code area data, current location information, and current time information sent by a terminal; the first health code area data includes health code token encrypted text, first health code status timestamp, and first travel information for the number of adjacent preset days prior to the current day; the device decrypts the health code token encrypted text to obtain a decrypted health code token and sends the health code token to a health code server; it receives second health code area data sent by the health code server, and if the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, it determines that the current time is the current status of the health code. The second health code area data includes the online status timestamp of the second health code; the current location information and the current time information are added to the first travel information to obtain the first updated travel information, and the first updated travel information and the current status timestamp of the health code are sent to the health code server; the health code status sent by the health code server is received, the health code credibility is obtained, and the first updated travel information, the current status timestamp of the health code, the health code status and the health code credibility are sent to the terminal, so that the terminal can perform subsequent steps and can display the health code in an offline state, thereby facilitating people's travel.

[0168] Furthermore, the second health code area data also includes second travel information for adjacent preset days prior to the current day; correspondingly, the health code display processing device is also used for:

[0169] If the comparison result between the second health code status timestamp and the first health code status timestamp is determined to be inconsistent, then the union of the first travel information and the second travel information is taken to obtain the union data, and the offline merchant transaction data of the user in the adjacent preset number of days before the current day is obtained.

[0170] Based on the offline merchant transaction data and the union data, obtain the second updated itinerary information, and send the second updated itinerary information and the current status timestamp of the health code to the health code server;

[0171] The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the second updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0172] The health code display processing device provided in this embodiment of the invention further ensures that the terminal can obtain relevant information, thereby enabling the display of the health code in an offline state, thus facilitating people's travel.

[0173] Furthermore, the offline merchant transaction data includes the merchant's registered address and transaction time; correspondingly, the health code display processing device is also specifically used for:

[0174] The merchant's registered address and transaction time are used as itinerary data, and the itinerary data is added to the union data to obtain the second updated itinerary information.

[0175] The health code display processing device provided in this embodiment of the invention further ensures that the terminal can obtain relevant information, thereby enabling the display of the health code in an offline state, thus facilitating people's travel.

[0176] The embodiments of the present invention provide a health code display processing device that can be used to execute the processing flow of the above method embodiments. Its functions will not be repeated here, but can be referred to the detailed description of the above method embodiments.

[0177] Figure 9 This is a schematic diagram of the physical structure of a computer device provided in an embodiment of the present invention, such as... Figure 9 As shown, the computer device includes: a memory 901, a processor 902, and a computer program stored in the memory 901 and executable on the processor 902. When the processor 902 executes the computer program, it implements the following method:

[0178] Read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information of the adjacent preset number of days before the current day;

[0179] If it is determined that the credibility of the offline health code is greater than a preset credibility threshold, then the offline current location information and the offline current time information are added to the offline itinerary information to obtain updated offline itinerary information, and the offline health code status timestamp is updated according to the offline current time information;

[0180] Write the updated offline health code status timestamp and the offline updated travel information to the bank card, and display the offline health code status;

[0181] Alternatively, it can receive first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes health code token encrypted text, first health code status timestamp, and first travel information for the first preset number of adjacent days before the current day.

[0182] The encrypted health code token is decrypted to obtain the decrypted health code token, and the health code token is sent to the health code server.

[0183] The system receives second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then the current time is determined as the current status timestamp of the health code. The second health code area data includes the online status timestamp of the second health code.

[0184] The current location information and the current time information are added to the first trip information to obtain the first updated trip information, and the first updated trip information and the current status timestamp of the health code are sent to the health code server;

[0185] The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0186] This embodiment discloses a computer program product, which includes a computer program that, when executed by a processor, implements the following method:

[0187] Read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information of the adjacent preset number of days before the current day;

[0188] If it is determined that the credibility of the offline health code is greater than a preset credibility threshold, then the offline current location information and the offline current time information are added to the offline itinerary information to obtain updated offline itinerary information, and the offline health code status timestamp is updated according to the offline current time information;

[0189] Write the updated offline health code status timestamp and the offline updated travel information to the bank card, and display the offline health code status;

[0190] Alternatively, it can receive first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes health code token encrypted text, first health code status timestamp, and first travel information for the first preset number of adjacent days before the current day.

[0191] The encrypted health code token is decrypted to obtain the decrypted health code token, and the health code token is sent to the health code server.

[0192] The system receives second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then the current time is determined as the current status timestamp of the health code. The second health code area data includes the online status timestamp of the second health code.

[0193] The current location information and the current time information are added to the first trip information to obtain the first updated trip information, and the first updated trip information and the current status timestamp of the health code are sent to the health code server;

[0194] The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0195] This embodiment provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the following method:

[0196] Read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information of the adjacent preset number of days before the current day;

[0197] If it is determined that the credibility of the offline health code is greater than a preset credibility threshold, then the offline current location information and the offline current time information are added to the offline itinerary information to obtain updated offline itinerary information, and the offline health code status timestamp is updated according to the offline current time information;

[0198] Write the updated offline health code status timestamp and the offline updated travel information to the bank card, and display the offline health code status;

[0199] Alternatively, it can receive first health code area data, current location information, and current time information sent by the terminal; the first health code area data includes health code token encrypted text, first health code status timestamp, and first travel information for the first preset number of adjacent days before the current day.

[0200] The encrypted health code token is decrypted to obtain the decrypted health code token, and the health code token is sent to the health code server.

[0201] The system receives second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then the current time is determined as the current status timestamp of the health code. The second health code area data includes the online status timestamp of the second health code.

[0202] The current location information and the current time information are added to the first trip information to obtain the first updated trip information, and the first updated trip information and the current status timestamp of the health code are sent to the health code server;

[0203] The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

[0204] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0205] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0206] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0207] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0208] In the description of this specification, the references to terms such as "an embodiment," "a specific embodiment," "some embodiments," "for example," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0209] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for displaying and processing a health code, characterized in that, include: Under conditions of good network connectivity at the terminal, the following is executed by the bank's server: Receive the first health code area data, current location information, and current time information sent by the terminal; The first health code area data includes the health code token encrypted text, the first health code status timestamp, and the first travel information for the number of adjacent preset days prior to the current day; The encrypted health code token is decrypted to obtain the decrypted health code token, and the health code token is sent to the health code server. Receive the second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then determine the current time as the current status timestamp of the health code. The data in the second health code area includes the online status timestamp of the second health code; The current location information and the current time information are added to the first trip information to obtain the first updated trip information, and the first updated trip information and the current status timestamp of the health code are sent to the health code server; The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal. The health code credibility is calculated based on the cardholder's financial attribute score in the bank database, the frequency of using the bank card to obtain the health code, and the data consistency between the bank card health code and the health code server. In the event of an abnormal network status at the terminal, the following shall be performed by the terminal: Read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information of the adjacent preset number of days before the current day; If it is determined that the credibility of the offline health code is greater than a preset credibility threshold, then the offline current location information and the offline current time information are added to the offline itinerary information to obtain updated offline itinerary information, and the offline health code status timestamp is updated according to the offline current time information; Write the updated offline health code status timestamp and the updated offline travel information to the bank card, and display the offline health code status; If the credibility of the health code is determined to be less than or equal to a preset credibility threshold, a prompt message indicating that the health code status cannot be displayed offline will be generated.

2. The health code display processing method according to claim 1, characterized in that, The travel information is periodically cleared; correspondingly, the health code display processing method also includes: If the itinerary information is determined to be empty, a prompt message will be generated indicating that the health code status cannot be displayed offline.

3. The health code display processing method according to claim 1, characterized in that, The second health code area data also includes second travel information for adjacent preset days prior to the current day; correspondingly, the health code display processing method further includes: If the comparison result between the second health code status timestamp and the first health code status timestamp is determined to be inconsistent, then the union of the first travel information and the second travel information is taken to obtain the union data, and the offline merchant transaction data of the user in the adjacent preset number of days before the current day is obtained. Based on the offline merchant transaction data and the union data, obtain the second updated itinerary information, and send the second updated itinerary information and the current status timestamp of the health code to the health code server; The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the second updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal.

4. The health code display processing method according to claim 3, characterized in that, The offline merchant transaction data includes the merchant's registered address and transaction time; correspondingly, obtaining the second updated itinerary information based on the offline merchant transaction data and the union data includes: The merchant's registered address and transaction time are used as itinerary data, and the itinerary data is added to the union data to obtain the second updated itinerary information.

5. A health code display and processing system, characterized in that, include: Terminals and bank servers; The bank server is configured to execute the following when the terminal network is in good condition: Receive the first health code area data, current location information, and current time information sent by the terminal; The first health code area data includes the health code token encrypted text, the first health code status timestamp, and the first travel information for the number of adjacent preset days prior to the current day; The encrypted health code token is decrypted to obtain the decrypted health code token, and the health code token is sent to the health code server. Receive the second health code area data sent by the health code server. If the comparison result of the second health code status timestamp and the first health code status timestamp is consistent, then determine the current time as the current status timestamp of the health code. The data in the second health code area includes the online status timestamp of the second health code; The current location information and the current time information are added to the first trip information to obtain the first updated trip information, and the first updated trip information and the current status timestamp of the health code are sent to the health code server; The system receives the health code status sent by the health code server, obtains the health code credibility, and sends the first updated travel information, the current status timestamp of the health code, the health code status, and the health code credibility to the terminal. The health code credibility is calculated based on the cardholder's financial attribute score in the bank database, the frequency of using the bank card to obtain the health code, and the data consistency between the bank card health code and the health code server. The terminal is configured to perform the following action in the event of an abnormal network status: Read the offline health code area data of the bank card and obtain the offline current location information and offline current time information; the offline health code area data includes the offline health code credibility, offline health code status, offline health code status timestamp, and offline travel information of the adjacent preset number of days before the current day; If it is determined that the credibility of the offline health code is greater than a preset credibility threshold, then the offline current location information and the offline current time information are added to the offline itinerary information to obtain updated offline itinerary information, and the offline health code status timestamp is updated according to the offline current time information; Write the updated offline health code status timestamp and the updated offline travel information to the bank card, and display the offline health code status; If the credibility of the health code is determined to be less than or equal to a preset credibility threshold, a prompt message indicating that the health code status cannot be displayed offline will be generated.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and system for displaying health management information offline by using hardware payment equipment

    CN113706141A

  • Infectious disease condition prevention and control system and method

    CN114121302A