A medical knowledge distribution method and system based on dynamic token technology

The encrypted transmission of medical data through dynamic token technology solves the security risks and management cost problems of medical data in the process of cross-network transmission, improves data transmission efficiency and security, and achieves automatic updates and cost savings.

CN118473838BActive Publication Date: 2024-09-20DIGITAL HEALTH CHINA TECHNOLOGIES CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410942128.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-20
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Existing medical data has security risks and high management costs in the process of cross-network transmission, resulting in low data transmission efficiency and long staff operation time, which increases labor costs.

Method used

A medical knowledge distribution method based on dynamic token technology is adopted. Dynamic tokens are bound to hospitals and staff for encrypted transmission. Software virtual dynamic tokens are used to reduce hardware costs, and automatic updates are achieved through hash value detection.

Benefits of technology

It improves data security, reduces management costs, saves hardware costs, and enables effective tracing and automatic updating of data requests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118473838B
    Figure CN118473838B
Patent Text Reader

Abstract

The present invention provides a medical knowledge distribution method and system based on dynamic token technology, the method comprising the following steps: regularly collecting medical data in a database according to a preset time period, and classifying and processing the medical data to generate medical knowledge data to be distributed; receiving a data distribution request, and authenticating the token information of the requester, and entering S3 if the authentication is successful; using a dynamic token and a preset algorithm, encrypting and transmitting the medical knowledge data to be distributed; the requester receives the encrypted transmission and distribution of the medical knowledge data, and decrypts the received medical knowledge data. The present invention provides a medical knowledge distribution method and system based on dynamic token technology, which uses dynamic token technology to encrypt and protect medical data, keys and algorithm information, avoiding the hidden dangers of the key distribution link compared to other security algorithms and reducing management costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of medical data processing, and in particular relates to a medical knowledge distribution method and system based on dynamic token technology. Background Art

[0002] With the advent of the era of medical big data, knowledge interconnection has attracted more and more attention. Distributing high-quality medical knowledge information to various hospitals and leveraging the value of data elements are the key to current medical data mining and application.

[0003] At present, all hospitals have high requirements for data security. At the same time, most of the existing networks only support active and one-way access of internal networks to external networks, and the confidentiality requirements of data during cross-network transmission are high. As a result, staff need to import and export the same data multiple times during cross-network data transmission, which takes a long time to operate, increases labor costs, and correspondingly reduces work efficiency. Summary of the invention

[0004] The present invention provides a medical knowledge distribution method and system based on dynamic token technology, which uses dynamic token technology to encrypt and protect medical data, keys and algorithm information. Compared with other security algorithms, it avoids the hidden dangers of the key distribution link and reduces management costs. The dynamic token is fully bound to the hospital and staff, and the data request process can be effectively traced. The software virtual dynamic token is used for presetting, saving hardware costs. Automatic updating of medical knowledge is achieved by detecting whether the change of medical knowledge data exceeds the threshold. The data is protected by encryption and transmission strategy, which improves data security, thereby solving the above technical problems.

[0005] The technical solution of the present invention to solve the above-mentioned technical problems is as follows: In the first aspect, the present invention provides a medical knowledge distribution method based on dynamic token technology, comprising the following steps: S1: regularly collecting medical data in a database according to a preset time period, and classifying and processing the medical data to generate medical knowledge data to be distributed; S2: receiving a data distribution request, and authenticating the token information of the requester, and entering S3 if the authentication is successful; S3: using a dynamic token and a preset algorithm to encrypt, transmit and distribute the medical knowledge data to be distributed; S4: the requester receives the encrypted transmission and distribution of the medical knowledge data, and decrypts the received medical knowledge data.

[0006] In some embodiments, S1 includes: S11: collecting medical data in the database and preprocessing it to form multiple initial knowledge data sets according to data classification; S12: calculating the corresponding hash value for each initial knowledge data set according to a preset calculation method; S13: re-collecting medical data from the database according to a preset update time, calculating the hash value of the re-collected medical data, and comparing it with the hash value of the initial knowledge data set. If the change exceeds the update threshold, the initial knowledge data set is updated.

[0007] In some embodiments, S2 includes: S21: generating a dynamic token, including a token ID, and a token seed in the form of a true random number, and issuing a dynamic token to the requester; S22: generating an 8-bit password according to an encryption algorithm based on a dual-factor challenge-response factor and time synchronization, and authenticating the requester's dynamic token; S23: if the authentication is successful, recording the requester's token ID and the request initiation time and entering S3.

[0008] In some embodiments, the S3 includes: S31: using a token seed consistent with the requester to generate a dynamic password; S32: using a dynamic password identifier and a key identifier to generate a first ciphertext for the medical knowledge data to be distributed; S33: using an encryption algorithm and a key identifier to generate a second ciphertext; S34: concatenating the first ciphertext with the second ciphertext to generate a third ciphertext; S35: using an encrypted transmission strategy to transmit the third ciphertext to generate a fourth ciphertext.

[0009] In some embodiments, the S4 includes: S41: the requester receives a fourth ciphertext and a built-in encryption transmission strategy, processes the fourth ciphertext, and obtains a third ciphertext; S42: splits the third ciphertext to obtain a first ciphertext and a second ciphertext; S43: based on the requester's dynamic token, generates multiple groups of dynamic passwords within the data sending and receiving time window, and matches and decrypts the multiple groups of dynamic passwords with the second ciphertext to obtain a second plaintext; S44: based on the algorithm identifier and key identifier contained in the second plaintext, retrieves the corresponding algorithm and key, decrypts the first ciphertext, and obtains the first plaintext.

[0010] In the second aspect, the present invention provides a medical knowledge distribution system based on dynamic token technology, including: a data acquisition module: used to collect medical data in a database in real time at preset time intervals, and classify and process the medical data to generate medical knowledge data to be distributed; an identity authentication module, used to receive data distribution requests, and authenticate the token information of the requester, and enter the encryption module if the authentication is successful; an encryption module, used to use dynamic tokens and preset algorithms to encrypt, transmit and distribute the medical knowledge data to be distributed; a decryption module, used for the requester to receive the encrypted transmission and distribution of medical knowledge data, and to decrypt the received medical knowledge data.

[0011] In some embodiments, the data acquisition module includes: an acquisition preprocessing unit, which is used to acquire medical data in the database and perform preprocessing to form multiple initial knowledge data sets according to data classification; a hash value calculation unit, which is used to calculate the corresponding hash value for each initial knowledge data set according to a preset calculation method; a data update unit, which is used to re-collect medical data from the database according to a preset update time, calculate the hash value of the re-collected medical data, and compare it with the hash value of the initial knowledge data set. If the change exceeds the update threshold, the initial knowledge data set is updated.

[0012] In some embodiments, the identity authentication module includes: a token generation unit, which is used to generate a dynamic token, including a token ID, and a token seed in the form of a true random number, and issue a dynamic token to the requester; a token authentication unit, which is used to calculate and generate an 8-bit password according to an encryption algorithm of a challenge response factor and time synchronization dual factors, and authenticate the requester's dynamic token; an authentication pass unit, which, if the authentication is passed, records the requester's token ID and the request initiation time and enters the encryption module.

[0013] In some embodiments, the encryption module includes: a password generation unit, used to generate a dynamic password using a token seed consistent with the requester; a first ciphertext unit, used to generate a first ciphertext for the medical knowledge data to be distributed using a dynamic password identifier and a key identifier; a second ciphertext unit, used to generate a second ciphertext using an encryption algorithm and a key identifier; a ciphertext concatenation unit, used to concatenate the first ciphertext with the second ciphertext to generate a third ciphertext; and an encrypted transmission unit, used to transmit the third ciphertext using an encrypted transmission strategy to generate a fourth ciphertext.

[0014] In some embodiments, the decryption module includes: a fourth ciphertext processing unit, used to receive a fourth ciphertext and a built-in encryption transmission strategy, process the fourth ciphertext, and obtain a third ciphertext; a ciphertext splitting unit, used to split the third ciphertext to obtain a first ciphertext and a second ciphertext; a second ciphertext processing unit, used to generate multiple groups of dynamic passwords within the data sending and receiving time window according to the requester's dynamic token, and match and decrypt the multiple groups of dynamic passwords with the second ciphertext to obtain a second plaintext; a first ciphertext processing unit, used to retrieve the corresponding algorithm and key according to the algorithm identifier and key identifier contained in the second plaintext, decrypt the first ciphertext, and obtain the first plaintext.

[0015] In a third aspect, the present invention further provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the medical knowledge distribution method as described above when executing the computer program.

[0016] In a fourth aspect, the present invention further provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the medical knowledge distribution method as described above.

[0017] The beneficial effects of the present application are: The present application provides a medical knowledge distribution method and system based on dynamic token technology, which has the following beneficial effects: 1) The use of dynamic token technology to encrypt and protect medical data, keys and algorithm information avoids the hidden dangers of the key distribution link compared to other security algorithms and reduces management costs. 2) The dynamic token is fully bound to the hospital and staff, and the data request process can be effectively traced. 3) Software virtual dynamic tokens are used for pre-setting, saving hardware costs. 4) Automatic updating of medical knowledge is achieved by detecting whether the changes in medical knowledge data exceed the threshold. 5) Data is protected by encryption and transmission strategies to improve data security. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a flow chart of the medical knowledge distribution method based on dynamic token technology of this application.

[0019] Figure 2 This is a sub-flow chart of step S1 of this application.

[0020] Figure 3 This is a sub-flow chart of step S2 of this application.

[0021] Figure 4 This is a sub-flow chart of step S3 of this application.

[0022] Figure 5 This is a sub-flow chart of step S4 of this application. DETAILED DESCRIPTION

[0023] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0024] In order to more clearly understand the above-mentioned purpose, features and advantages of the present application, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It is to be understood that the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. The specific embodiments described herein are merely used to explain the present application, rather than to limit the present application. Based on the described embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0025] It should be noted that, in this document, relational terms such as “first” and “second” are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.

[0026] Figure 1 This is a schematic diagram of the wireless expansion board of this application.

[0027] This application provides a medical knowledge distribution method based on dynamic token technology, combined with Figure 1 , including the following steps: S1: regularly collecting medical data in the database according to a preset time period, and classifying and processing the medical data to generate medical knowledge data to be distributed.

[0028] Specifically, the medical knowledge distribution method based on dynamic token technology designed by this application includes: sampling the medical data in the target database according to a preset time period, performing corresponding preprocessing, and further generating target knowledge items for sending. On this basis, the receiving hospital that needs to obtain medical knowledge initiates a data request, and the hospital storing the data verifies the dynamic token information attached to the data request. After the verification is correct, the encrypted knowledge content will be sent to the receiving hospital, thereby improving the efficiency of data distribution and the user experience.

[0029] The medical knowledge distribution system described in the present invention includes the following parts: a data acquisition module: used to regularly collect medical data in the database according to a preset time period, and classify and process the medical data to generate medical knowledge data to be distributed.

[0030] In some embodiments, S1 includes: S11: collecting medical data in the database and preprocessing it to form multiple initial knowledge data sets according to data classification; S12: calculating the corresponding hash value for each initial knowledge data set according to a preset calculation method; S13: re-collecting medical data from the database according to a preset update time, calculating the hash value of the re-collected medical data, and comparing it with the hash value of the initial knowledge data set. If the change exceeds the update threshold, the initial knowledge data set is updated.

[0031] Specifically, the data acquisition module of the embodiment of the present application collects medical data in the database after deployment, and performs preprocessing, forms a knowledge data set according to data classification, and calculates the hash value of each type of knowledge data set. The hash value calculation method of the knowledge data set is to select part of the data according to the preset quantity, step length, and separation position of the content of the knowledge set for segmentation processing to form a number of word segmentation contents, and calculate the hash value of the segmented content and store it. Furthermore, the data is classified according to different dimensions, such as classification according to subject classification, disease type, diagnosis and treatment plan, etc. In addition, it is also necessary to collect and update the data in the database regularly. For the updated data, hash calculation can be performed according to the quantity, step length, and separation position, and the hash value calculated by the updated data is compared with the original hash value. If the hash value sent to change exceeds a certain threshold, it is determined that the corresponding knowledge data set needs to be updated.

[0032] In addition, the medical data is processed and classified to form a medical knowledge data set according to the dimensions of disciplines, diseases, and treatment plans. SHA512 is used to calculate and store hash values ​​for each knowledge data set. The hash calculation method is to select part of the data from the knowledge set according to the preset quantity, step length, and separation position for segmentation processing to form a number of word segmentation contents, and the hash values ​​of the segmented contents are calculated and stored. Medical data is collected according to the preset time period, and processed and hashed in the same way. If the number of hash values ​​that have changed exceeds the preset threshold, for example, more than 50%, it is determined that the corresponding medical knowledge needs to be updated, and the original knowledge data is updated.

[0033] S2: Receive the data distribution request and authenticate the token information of the requester. If the authentication is successful, enter S3.

[0034] Specifically, the identity authentication module of this application can authenticate the token information of the data request, verify whether the requested hospital and the requested data meet the requirements, and if the token authentication is passed, the knowledge content can be distributed. Dynamic tokens are provided to different hospitals and business personnel who need to obtain medical knowledge, and dynamic tokens are managed throughout their life cycle, including the ownership information of dynamic tokens, and the activation, deactivation, and invalidation of dynamic tokens.

[0035] In some embodiments, S2 includes: S21: generating a dynamic token, including a token ID, and a token seed in the form of a true random number, and issuing a dynamic token to the requester; S22: generating an 8-bit password according to an encryption algorithm based on a dual-factor challenge-response factor and time synchronization, and authenticating the requester's dynamic token; S23: if the authentication is successful, recording the requester's token ID and the request initiation time and entering S3.

[0036] Specifically, the identity authentication module of the embodiment of the present application issues dynamic tokens to different hospitals and staff members. The dynamic token is a virtual form containing algorithm logic and does not require physical hardware. Dynamic tokens include two categories, namely hospital-level tokens and staff-level tokens. It includes a token generation module to establish and maintain a token ID and a token seed, wherein the token seed is in the form of a true random number. In addition, the dynamic tokens of the embodiment of the present application are calculated using a national secret algorithm to generate an 8-digit password according to the challenge-response factor and time synchronization dual factors. If the 8-digit password calculated by the token is consistent with the system calculation, the verification is successful. The system first verifies the hospital master token. After the verification is successful, the time when the hospital requests the distribution of medical knowledge data is recorded. Then the staff-level token is verified. After the verification is successful, the operator level and request time are recorded.

[0037] In addition, the specific authentication process of dynamic tokens is illustrated by example. If a hospital needs to obtain the corresponding medical knowledge, it will initiate a request to the hospital responsible for distributing medical knowledge. The knowledge distribution request first needs to authenticate the hospital and the staff performing the operation. The specific calculation method of dynamic tokens is: T=T0 / Tc, ID={T|C|Q}, S=f(K, ID), OD=Truncate(S), P=OD%(10^N).

[0038] Wherein, T is the time factor involved in the operation, which is an 8-byte integer. T0 is an 8-byte integer based on UTC time. Tc is the password change cycle in seconds. P is the final value of the dynamic password.

[0039] ID is the input information of the mixing and grouping algorithm. C is the event factor involved in the operation, which is a 4-byte integer. The event factor used in this aspect is the hospital ID that receives the medical knowledge data, which is defined and maintained by the system. Q is the challenge factor input by the authentication parties through negotiation, represented by ASCII code, with a minimum length of 4 bytes. The present invention uses a 16-byte challenge factor.

[0040] The minimum length of ID is 128 bits, and it needs to include at least one parameter of T, C, and Q, and be organized in a certain data assembly mode. The embodiment of the present invention includes all parameters of T, C, and Q.

[0041] K is a computing key of at least 128 bits in length, which is held only by the two parties to the authentication. In the present invention, F() is an algorithm function, and the embodiment of the present invention adopts the SM3 algorithm. S is the output result of the algorithm function, and the output result has different length requirements depending on the algorithm used. N represents the number of digits occupied by the dynamic password finally displayed, which cannot be less than 6, and 8 digits are used in the embodiment of the present invention.

[0042] The Truncate function is used in the process of dynamic password generation. It is divided into two types of truncation operations: hash result truncation and group result truncation. Define S1-S8 to represent 8 4-byte integers, and assign values ​​through the following method:

[0043] S1=S[0]<<24|S[1]<<16|S[2]<<8|S[3]

[0044] S2=S[4]<<24|S[5]<<16|S[6]<<8|S[7]

[0045] S3=S[8]<<24|S[9]<<16|S

[10] <<8|S

[11]

[0046] S4=S

[12] <<24|S

[13] <<16|S

[14] <<8|S

[15]

[0047] S5=S

[16] <<24|S

[17] <<16|S

[18] <8|S

[19]

[0048] S6=S

[20] <<24|S

[21] <16|S

[22] <<8|S

[23]

[0049] S7=S

[24] <24|S

[25] <<16|S

[26] <8|S

[27]

[0050] S8=S

[28] <<24|S

[29] <s16|S

[30] <<8|S

[31]

[0051] OD is the output result of the truncation function. The output result is 32-bit data. The calculation method of OD is as follows: OD=(S1+S2+S3+S4+S5+S6+S7+S8)MOD2^32.

[0052] Here, MOD stands for modular operation.

[0053] The dynamic token authentication management system verifies the hospital and staff tokens in turn. After the verification is passed, the system will record the application time information.

[0054] S3: Use dynamic tokens and preset algorithms to encrypt and transmit the medical knowledge data that needs to be distributed.

[0055] Specifically, the encryption module of the embodiment of the present application can encrypt the knowledge content to be distributed, and use different algorithms and keys for encryption for different hospitals. Different data transmission strategies are adopted for different hospitals, such as further obfuscating and disordering the encrypted data, to further improve security.

[0056] In some embodiments, the S3 includes: S31: using a token seed consistent with the requester to generate a dynamic password; S32: using a dynamic password identifier and a key identifier to generate a first ciphertext for the medical knowledge data to be distributed; S33: using an encryption algorithm and a key identifier to generate a second ciphertext; S34: concatenating the first ciphertext with the second ciphertext to generate a third ciphertext; S35: using an encrypted transmission strategy to transmit the third ciphertext to generate a fourth ciphertext.

[0057] Specifically, the encryption module of the embodiment of the present application uses the algorithm and key corresponding to the request to obtain medical knowledge data to encrypt the data, and transmits the data in an obfuscated, disordered, etc. manner according to the corresponding transmission strategy, including a distribution end and a receiving end. The distribution end first uses the hospital-level token seed that receives the medical knowledge data to calculate a set of dynamic passwords on the system end, and uses the dynamic password to encrypt the algorithm identifier and key identifier used for this encryption to generate a 32-bit ciphertext, referred to herein as the first ciphertext. Then use the system prefabricated algorithm and key to encrypt the medical knowledge data, support the national secret SM series algorithm and the commercial encryption algorithm AES algorithm, etc., to generate a medical knowledge data ciphertext, referred to herein as the second ciphertext. After the first ciphertext and the second ciphertext are spliced, they are transmitted through the transmission module. The receiving end is provided to the hospital that receives the data. After receiving the data sent to itself, the module first uses its own hospital-level token to calculate a dynamic password. Taking into account the lag between receiving and sending data, the dynamic password calculated using the current time factor will be inconsistent with the dynamic password generated when the data is distributed and encrypted. Therefore, multiple groups of dynamic passwords can be calculated within the time window of sending and receiving for matching calculations. After a successful match, the first ciphertext is first decrypted to obtain the algorithm identifier and key identifier used for this transmission, and then the corresponding algorithm and key are selected to decrypt the second ciphertext to obtain medical knowledge data.

[0058] S4: The requester receives the encrypted transmission and distribution of the medical knowledge data, and decrypts the received medical knowledge data.

[0059] Specifically, the embodiment of the present application includes a distribution end and a receiving end. Both ends have multiple sets of keys built in, the keys have validity periods set, are replaced when they expire, and the keys can be enabled or disabled at any time. In addition, the encryption algorithms, keys, and data transmission strategies used in the data encryption and transmission process can be adjusted according to actual conditions.

[0060] In some embodiments, the S4 includes: S41: the requester receives the fourth ciphertext and the built-in encryption transmission strategy, processes the fourth ciphertext, and obtains the third ciphertext;

[0061] S42: Split the third ciphertext to obtain the first ciphertext and the second ciphertext; S43: Generate multiple groups of dynamic passwords within the data sending and receiving time window based on the requester's dynamic token, and match and decrypt the multiple groups of dynamic passwords with the second ciphertext to obtain the second plaintext; S44: According to the algorithm identifier and key identifier contained in the second plaintext, retrieve the corresponding algorithm and key, decrypt the first ciphertext, and obtain the first plaintext.

[0062] Specifically, the specific decryption process of the embodiment of the present application is that the sending end retrieves the medical knowledge data to be distributed (recorded as the first plaintext here), and generates a set of dynamic passwords through the hospital token seed calculation of the request data built into the system. Use the dynamic password to encrypt the key identifier and algorithm identifier (recorded as the second plaintext here) configured by the security configuration subsystem for the receiving hospital to generate a 32-byte ciphertext, which is referred to as the first ciphertext here. Use the key and algorithm of the corresponding requester to encrypt the data to generate a medical knowledge ciphertext, which is referred to as the second ciphertext here. The first ciphertext and the second ciphertext are sequentially spliced ​​into the final third ciphertext. Call the transmission strategy to perform transmission processing such as obfuscation and disorder on the ciphertext data, for example, divide the complete ciphertext data into several data blocks, add random values ​​to each data block for obfuscation, and splice and send them after further disorder, and the result of the transmission is recorded as the fourth ciphertext. The fourth ciphertext processing unit receives the fourth ciphertext at the receiving end, and processes the fourth ciphertext according to the transmission strategy built into the receiving end, including re-splicing in order and removing the random value to obtain the third ciphertext. The receiving end of the ciphertext splitting unit separates the third ciphertext to obtain the first ciphertext and the second ciphertext. The receiving end uses the hospital-level token in the computer room to calculate and generate multiple sets of dynamic passwords within the data sending and receiving time window, and automatically matches and decrypts them to obtain the second plaintext. Using the algorithm identifier and key identifier contained in the second plaintext, the corresponding algorithm and key are retrieved to decrypt the second ciphertext to obtain the first plaintext, that is, the medical knowledge data.

[0063] On the second aspect, the embodiment of the present application also provides a medical knowledge distribution system based on dynamic token technology, including a data acquisition module: used to collect medical data in a database in real time at preset time intervals, and classify and process the medical data to generate medical knowledge data to be distributed; an identity authentication module, used to receive data distribution requests, and authenticate the token information of the requester, and enter the encryption module if the authentication is successful; an encryption module, used to use dynamic tokens and preset algorithms to encrypt, transmit and distribute the medical knowledge data to be distributed; a decryption module, used for the requester to receive encrypted, transmitted and distributed medical knowledge data, and to decrypt the received medical knowledge data.

[0064] In some embodiments, the data acquisition module includes:

[0065] An acquisition and preprocessing unit is used to acquire medical data in the database, perform preprocessing, and form multiple initial knowledge data sets according to data classification;

[0066] A hash value calculation unit, used to calculate a corresponding hash value for each initial knowledge data set according to a preset calculation method;

[0067] The data update unit is used to re-collect medical data from the database according to the preset update time, calculate the hash value of the re-collected medical data, and compare it with the hash value of the initial knowledge data set. If the change exceeds the update threshold, the initial knowledge data set is updated.

[0068] In some embodiments, the identity authentication module includes:

[0069] A token generation unit, used to generate a dynamic token, including a token ID and a token seed in the form of a true random number, and issue the dynamic token to the requester;

[0070] The token authentication unit is used to generate an 8-bit password according to the encryption algorithm of the challenge response factor and time synchronization double factor to authenticate the requester's dynamic token;

[0071] The authentication unit, if the authentication is successful, records the requester's token ID and the time when the request was initiated and enters the encryption module.

[0072] In some embodiments, the encryption module includes:

[0073] A password generation unit, used to generate a dynamic password using a token seed consistent with the requester;

[0074] A first ciphertext unit, used to generate a first ciphertext for the medical knowledge data to be distributed using a dynamic password identifier and a key identifier;

[0075] A second ciphertext unit, used to generate a second ciphertext using an encryption algorithm and a key identifier;

[0076] A ciphertext concatenation unit, used for concatenating the first ciphertext with the second ciphertext to generate a third ciphertext;

[0077] The encryption transmission unit is used to transmit the third ciphertext by using the encryption transmission strategy to generate a fourth ciphertext.

[0078] In some embodiments, the decryption module includes:

[0079] a fourth ciphertext processing unit, configured to receive a fourth ciphertext and a built-in encryption transmission strategy, and process the fourth ciphertext to obtain a third ciphertext;

[0080] A ciphertext splitting unit, used for splitting the third ciphertext to obtain a first ciphertext and a second ciphertext;

[0081] The second ciphertext processing unit is used to generate multiple groups of dynamic passwords within the data sending and receiving time window according to the requester dynamic token, and match and decrypt the multiple groups of dynamic passwords with the second ciphertext to obtain a second plaintext;

[0082] The first ciphertext processing unit is used to retrieve the corresponding algorithm and key according to the algorithm identifier and key identifier contained in the second plaintext, decrypt the first ciphertext, and obtain the first plaintext.

[0083] In a third aspect, an embodiment of the present application further provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the medical knowledge distribution method as described above when executing the computer program.

[0084] In a fourth aspect, an embodiment of the present application further provides a readable storage medium on which a computer program is stored, and when the program is executed by a processor, the medical knowledge distribution method as described above is implemented.

[0085] Those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present application and to form different embodiments.

[0086] Those skilled in the art will appreciate that the description of each embodiment has its own emphasis, and for parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0087] Although the embodiments of the present application are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations all fall within the scope defined by the attached claims. The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed by the present invention, and these modifications or substitutions should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

[0088] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A medical knowledge distribution method based on dynamic token technology, characterized in that: The following steps are involved: S1: collecting medical data in the database regularly according to a preset time period, and classifying and processing the medical data to generate medical knowledge data to be distributed; S2: Receives data distribution requests and authenticates the token information of the requester. If the authentication is successful, it enters S3; S3: Use dynamic tokens and preset algorithms to encrypt and transmit the medical knowledge data that needs to be distributed; S4: The requester receives the encrypted transmission and distribution of the medical knowledge data, and decrypts the received medical knowledge data; The S2 includes: S21: Generate a dynamic token, including a token ID and a token seed in the form of a true random number, and issue the dynamic token to the requester; S22: Generate an 8-bit password according to the challenge response factor and time synchronization dual-factor encryption algorithm to authenticate the requester's dynamic token; S23: If the authentication is successful, the requester token ID and the time of the request are recorded and the process proceeds to S3; The S3 includes: S31: Generate a dynamic password using the token seed that is consistent with the requester; S32: Generate a first ciphertext for the medical knowledge data to be distributed using the dynamic password identifier and the key identifier; S33: Generate a second ciphertext using the encryption algorithm and the key identifier; S34: concatenate the first ciphertext and the second ciphertext to generate a third ciphertext; S35: Using the encryption transmission strategy, the third ciphertext is transmitted to generate a fourth ciphertext.

2. According to claim 1, a medical knowledge distribution method based on dynamic token technology is characterized in that: The S1 includes: S11: Collect medical data in the database, perform preprocessing, and form multiple initial knowledge data sets according to data classification; S12: Calculate the corresponding hash value for each initial knowledge data set according to a preset calculation method; S13: According to the preset update time, medical data is re-collected from the database, the hash value of the re-collected medical data is calculated, and compared with the hash value of the initial knowledge data set. If the change exceeds the update threshold, the initial knowledge data set is updated.

3. According to claim 1, a medical knowledge distribution method based on dynamic token technology is characterized in that: The S4 includes: S41: The requester receives the fourth ciphertext and the built-in encryption transmission strategy, processes the fourth ciphertext, and obtains the third ciphertext; S42: Split the third ciphertext to obtain a first ciphertext and a second ciphertext; S43: generating multiple sets of dynamic passwords within the data sending and receiving time window according to the requester's dynamic token, and matching and decrypting the multiple sets of dynamic passwords with the second ciphertext to obtain a second plaintext; S44: According to the algorithm identifier and key identifier included in the second plaintext, the corresponding algorithm and key are retrieved, and the first ciphertext is decrypted to obtain the first plaintext.

4. A medical knowledge distribution system based on dynamic token technology, characterized in that: include: Data collection module: used to collect medical data in the database in real time at preset intervals, classify and process the medical data, and generate medical knowledge data to be distributed; The identity authentication module is used to receive data distribution requests and authenticate the token information of the requester. If the authentication is successful, it enters the encryption module; An encryption module is used to encrypt, transmit and distribute the medical knowledge data that needs to be distributed using dynamic tokens and preset algorithms; A decryption module, used for the encrypted transmission and distribution of medical knowledge data received by the requester, and for decrypting the received medical knowledge data; The identity authentication module comprises: A token generation unit, used to generate a dynamic token, including a token ID and a token seed in the form of a true random number, and issue the dynamic token to the requester; The token authentication unit is used to generate an 8-bit password according to the encryption algorithm of the challenge response factor and time synchronization double factor to authenticate the requester's dynamic token; The authentication unit, if the authentication is successful, records the requester's token ID and the time when the request was initiated and enters the encryption module; The encryption module comprises: A password generation unit, used to generate a dynamic password using a token seed consistent with the requester; A first ciphertext unit, used to generate a first ciphertext for the medical knowledge data to be distributed using a dynamic password identifier and a key identifier; A second ciphertext unit, used to generate a second ciphertext using an encryption algorithm and a key identifier; A ciphertext concatenation unit, used for concatenating the first ciphertext with the second ciphertext to generate a third ciphertext; The encryption transmission unit is used to transmit the third ciphertext by using the encryption transmission strategy to generate a fourth ciphertext.

5. A medical knowledge distribution system based on dynamic token technology according to claim 4, characterized in that: The data acquisition module comprises: An acquisition and preprocessing unit is used to acquire medical data in the database, perform preprocessing, and form multiple initial knowledge data sets according to data classification; A hash value calculation unit, used to calculate a corresponding hash value for each initial knowledge data set according to a preset calculation method; The data update unit is used to re-collect medical data from the database according to the preset update time, calculate the hash value of the re-collected medical data, and compare it with the hash value of the initial knowledge data set. If the change exceeds the update threshold, the initial knowledge data set is updated.

6. A medical knowledge distribution system based on dynamic token technology according to claim 4, characterized in that: The decryption module comprises: a fourth ciphertext processing unit, configured to receive a fourth ciphertext and a built-in encryption transmission strategy, and process the fourth ciphertext to obtain a third ciphertext; A ciphertext splitting unit, used for splitting the third ciphertext to obtain a first ciphertext and a second ciphertext; The second ciphertext processing unit is used to generate multiple groups of dynamic passwords within the data sending and receiving time window according to the requester dynamic token, and match and decrypt the multiple groups of dynamic passwords with the second ciphertext to obtain a second plaintext; The first ciphertext processing unit is used to retrieve the corresponding algorithm and key according to the algorithm identifier and key identifier contained in the second plaintext, decrypt the first ciphertext, and obtain the first plaintext.

Citation Information

Patent Citations

  • Identity authentication method and device for dynamic token

    CN102739403A

  • Data transmission method and device, storage medium and electronic equipment

    CN114430345A

  • Medical knowledge distribution method and system

    CN118041700A

  • Login token generation method and apparatus, login token verification method and apparatus, and server

    WO2021017128A1