Medical data emergency processing method and device, electronic equipment and storage medium

By using business terminal equipment in the medical system to scan the QR code of the medical treatment process and upload the results data, the business interruption problem in the event of network failure is solved, and the continuity of medical services and data integrity are achieved.

CN119495410APending Publication Date: 2025-02-21WINNING HEALTH TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311047941.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-18
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The prior art cannot effectively process huge data in medical databases when the medical system network fails, resulting in business interruption.

Method used

By scanning the QR code of the medical treatment process on the service terminal device, obtaining the process result data, and uploading the data to the data intermediate library when the network failure is restored, ensuring the integrity of the data and the continuity of the service.

Benefits of technology

When the internal network failure of the medical system, it can ensure the normal operation of the hospital's basic business, avoid business interruptions, and seamless connection after the network is restored to ensure data integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119495410A_ABST
    Figure CN119495410A_ABST
Patent Text Reader

Abstract

The invention provides a medical data emergency processing method and device, electronic equipment and a storage medium, and the method comprises the steps: scanning a two-dimensional code of a previous doctor-seeing link of a current doctor-seeing link when an internal network of a medical institution fails, and obtaining link result data of the previous doctor-seeing link; according to the link result data of the previous doctor-seeing link and processing data of a current doctor-seeing link input by a user, generating and outputting link result data of the current doctor-seeing link and a target two-dimensional code; when the failure of the internal network of the medical institution is recovered, link result data of the current doctor-seeing link is uploaded to a data intermediate library in the internal network of the medical institution according to preset data uploading configuration information, and the data intermediate library is deployed on the data terminal equipment. When the internal network of the medical system fails, basic services of a hospital can continue to operate normally, and interruption of the services is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and more specifically, to a medical data emergency processing method, device, electronic device and storage medium. Background Art

[0002] For the medical systems in large cities, the reliability and real-time requirements of the systems are becoming increasingly higher. When a medical system fails, it is very important to ensure the operation of the core and basic services of the hospital.

[0003] In the prior art, an emergency system using a browser / server model is used to restore business operations. However, the prior art adopts a front-end and back-end separation model. The analysis and design of the system adopts object-oriented technology, and third-party tools are required for replication design. The front-end browser and the back-end server adopt different development methods, and a supporting database is required for data transfer and distribution. However, due to the huge amount of data in the medical database, when a network failure occurs, the data cannot be read from the network side, resulting in business interruption. Summary of the invention

[0004] The purpose of this application is to provide a medical data emergency processing method, device, electronic equipment and storage medium to address the deficiencies in the above-mentioned prior art, so as to ensure the normal operation of the hospital's business during network failures.

[0005] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0006] In a first aspect, an embodiment of the present application provides a medical data emergency processing method, which is applied to a service terminal device and a data terminal device in a medical institution, and the method includes:

[0007] When the internal network of the medical institution fails, the business terminal device scans the QR code of the previous medical link of the current medical link to obtain the link result data of the previous medical link;

[0008] The service terminal device generates and outputs the link result data of the current medical link and a target QR code according to the link result data of the previous medical link and the processing data of the current medical link input by the user, wherein the target QR code includes the link result data of the current medical link, so that the user of the next medical link of the current medical link can obtain the link result data of the current medical link based on the target QR code;

[0009] When the internal network failure of the medical institution is restored, the business terminal device uploads the link result data of the current consultation link to the data intermediate library in the internal network of the medical institution according to the preset data upload configuration information, and the data intermediate library is deployed on the data terminal device.

[0010] Optionally, scanning the QR code of the previous medical consultation link of the current medical consultation link to obtain the link result data of the previous medical consultation link includes:

[0011] The service terminal device scans the QR code of the previous consultation link of the current consultation link to obtain encrypted data;

[0012] The business terminal device performs data analysis on the encrypted data to obtain the link result data of the previous medical consultation link.

[0013] Optionally, also include:

[0014] The data terminal equipment obtains the link result data during the internal network failure period sent by each service terminal equipment;

[0015] The data terminal device updates each data in the data table according to the update time stamp of each data table and the link result data during the internal network failure to obtain an updated data table;

[0016] The data terminal device uploads the updated data table to the network database according to a preset first timer.

[0017] Optionally, also include:

[0018] The data terminal device downloads the to-be-updated data in the to-be-updated data table from the network database based on a preset second timer and according to the record information of each data table in the network database recorded on the data terminal device, wherein the record information includes the last update timestamp of each data table and the identifier of each data table;

[0019] The data terminal device updates each data table according to the data to be updated to obtain each updated data table;

[0020] The data terminal equipment synchronizes the updated data tables to the service terminal equipment.

[0021] Optionally, downloading the data to be updated from the network database according to the record information of each data table in the network database recorded on the data terminal device includes:

[0022] The data terminal device creates a task table according to the record information of each data table, wherein the task table includes the table name, timestamp time, creation time and incremental data to be downloaded of the data table to be downloaded;

[0023] The data terminal device downloads the data to be updated from the network database through the data download interface and the task list of the network database.

[0024] Optionally, each data table is updated according to the data to be updated to obtain each updated data table, including:

[0025] The data terminal device acquires a standard data interface corresponding to the data type according to the data type of the data table to be updated;

[0026] The data terminal device performs standard conversion on the data to be updated in the data table to be updated through the standard data interface and the standard database corresponding to the standard data interface to obtain standard data to be updated;

[0027] The data terminal device updates each data table according to the standard data to be updated to obtain each updated data table.

[0028] Optionally, synchronizing the updated data table to each of the service terminal devices includes:

[0029] The data terminal device determines the data table to be synchronized in the data intermediate library and the data to be synchronized in the data table to be synchronized according to the timestamp of each data table on each service terminal device;

[0030] The data terminal device synchronizes the data to be synchronized in the data table to be synchronized to each service terminal according to the structure of each data table on each service terminal device.

[0031] In a second aspect, an embodiment of the present application further provides a medical data emergency processing device, the device comprising:

[0032] A scanning module, used for the business terminal device to scan the QR code of the previous medical link of the current medical link when the internal network of the medical institution fails, to obtain the link result data of the previous medical link;

[0033] A generation module, used for the service terminal device to generate and output the link result data of the current medical link and a target QR code according to the link result data of the previous medical link and the processing data of the current medical link input by the user, wherein the target QR code includes the link result data of the current medical link, so that the user of the next medical link of the current medical link can obtain the link result data of the current medical link based on the target QR code;

[0034] The upload module is used for uploading the result data of the current consultation link to the data intermediate library in the internal network of the medical institution according to the preset data upload configuration information when the business terminal device recovers from the internal network failure of the medical institution. The data intermediate library is deployed on the data terminal device.

[0035] Optionally, the scanning module is specifically used for:

[0036] The service terminal device scans the QR code of the previous consultation link of the current consultation link to obtain encrypted data;

[0037] The business terminal device performs data analysis on the encrypted data to obtain the link result data of the previous medical consultation link.

[0038] Optionally, the device further comprises:

[0039] A sending module, used for the data terminal device to obtain link result data during the internal network failure period sent by each business terminal device;

[0040] An updating module is used for the data terminal device to update each data in the data table according to the update time stamp of each data table and the link result data during the internal network failure to obtain an updated data table;

[0041] The updating module is used for the data terminal equipment to upload the updated data table to the network database according to a preset first timer.

[0042] Optionally, the update module is specifically used for:

[0043] The data terminal device downloads the to-be-updated data in the to-be-updated data table from the network database based on a preset second timer and according to the record information of each data table in the network database recorded on the data terminal device, wherein the record information includes the last update timestamp of each data table and the identifier of each data table;

[0044] The data terminal device updates each data table according to the data to be updated to obtain each updated data table;

[0045] The data terminal equipment synchronizes the updated data tables to the service terminal equipment.

[0046] Optionally, the update module is specifically used for:

[0047] The data terminal device creates a task table according to the record information of each data table, wherein the task table includes the table name, timestamp time, creation time and incremental data to be downloaded of the data table to be downloaded;

[0048] The data terminal device downloads the data to be updated from the network database through the data download interface and the task list of the network database.

[0049] Optionally, the update module is specifically used for:

[0050] The data terminal device acquires a standard data interface corresponding to the data type according to the data type of the data table to be updated;

[0051] The data terminal device performs standard conversion on the data to be updated in the data table to be updated through the standard data interface and the standard database corresponding to the standard data interface to obtain standard data to be updated;

[0052] The data terminal device updates each data table according to the standard data to be updated to obtain each updated data table.

[0053] Optionally, the update module is specifically used for:

[0054] The data terminal device determines the data table to be synchronized in the data intermediate library and the data to be synchronized in the data table to be synchronized according to the timestamp of each data table on each service terminal device;

[0055] The data terminal device synchronizes the data to be synchronized in the data table to be synchronized to each service terminal according to the structure of each data table on each service terminal device.

[0056] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when an application is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the medical data emergency processing method described in the first aspect above.

[0057] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is read and executes the steps of the medical data emergency processing method described in the first aspect above.

[0058] The beneficial effects of this application are:

[0059] The present application provides a medical data emergency processing method, device, electronic device and storage medium, which obtains the link result data of each medical link by scanning the QR code of each medical link when the medical institution network fails, and generates the link result data and target QR code of each medical link according to the link result data of each medical link and the processing data of each medical link, so that the user of the next medical link of the current medical link can obtain the link result data of the current medical link based on the target QR code of the current medical link, so that the business of the next medical link can run normally. It can ensure that when the internal network of the medical system fails, the basic business of the hospital can continue to run normally to avoid business interruption. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0061] Figure 1 A schematic diagram of the structure of a medical data emergency processing system provided in an embodiment of the present application;

[0062] Figure 2 A flowchart of a medical data emergency processing method provided in an embodiment of the present application;

[0063] Figure 3 A flowchart of another medical data emergency processing method provided in an embodiment of the present application;

[0064] Figure 4 A flowchart of another medical data emergency processing method provided in an embodiment of the present application;

[0065] Figure 5 A flowchart of another medical data emergency processing method provided in an embodiment of the present application;

[0066] Figure 6 A schematic diagram of a device for a medical data emergency processing method provided in an embodiment of the present application;

[0067] Figure 7 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0069] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0070] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0071] Figure 1 A schematic diagram of the structure of a medical data emergency processing system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the medical data emergency processing system may include a business terminal device, a data terminal device and a network database, wherein the network database may include normal business operation data of the hospital when no failure occurs, and the network database may refer to a storage Figure 1The database of business production data of Zhong60HIS, Shanxi HIS, and Group HIS; the data terminal equipment may include a data intermediate library for storing transit data, which can perform data decoupling and establish a standard data emergency center library, which can store terms, dictionaries, appointment information, archives, and business data generated by business terminals during emergencies; the business terminal equipment may refer to various business terminal equipment in the hospital, and each business terminal equipment may include a local database of each business terminal equipment. The business operation data in the network database can be downloaded to the data intermediate library at regular intervals, and the operation data in the data intermediate library can be synchronized to the local database of each business terminal equipment through the data terminal equipment. When a network failure occurs in the hospital, each business terminal equipment can continue to process basic business based on the data in the local database of each business terminal; when the network returns to normal, the data terminal equipment can re-upload the business data that occurred in each business terminal equipment during the failure to the network database.

[0072] The service terminal device may include, but is not limited to, a terminal device with a display screen such as a desktop computer, a laptop computer, a personal digital assistant (PDA), a smart phone, and a smart TV. The data terminal device may be a terminal device with a display screen or a server.

[0073] Optionally, the above-mentioned medical data emergency processing system may also include a data monitoring subsystem, which includes the process of downloading data from the network database to the data intermediate library during data download, the process of uploading data from the data intermediate library to the network database during data upload, the process of synchronizing data in the data intermediate library to the local database on each business terminal device during local download, the process of data download, upload and synchronization, real-time monitoring of data upload, download and synchronization, and display of the real-time data status through the monitoring display screen, and push of abnormal message if abnormality occurs, so that users can intuitively grasp the real-time status of data download, upload and synchronization.

[0074] Figure 2 The flowchart of a medical data emergency processing method provided in the embodiment of the present application is shown in FIG. 1 , and the execution subject of the method is the aforementioned service terminal device and data terminal device. Figure 2 As shown, the method includes:

[0075] S101. When the internal network of the medical institution fails, the business terminal device scans the QR code of the previous medical link of the current medical link to obtain the link result data of the previous medical link.

[0076] Among them, the medical treatment links can refer to different medical treatment links such as outpatient reception link, examination link, charging link, and medication link.

[0077] Optionally, when the internal network of a medical institution fails, since the local database of each service terminal device stores the data in the hospital network database downloaded in advance, the user can perform normal business operations on each service terminal device. The service terminal device may refer to the computer device used by doctors, the computer device used by patients to register and take appointments, etc.

[0078] Optionally, when the internal network of the medical institution fails, the QR code of the user's previous visit link before the current visit link can be scanned on each business terminal device to obtain the link result data of the previous visit link. At the end of each visit link, a QR code of the visit link can be generated. The link result data of the previous visit link may refer to the user's information, the doctor's prescribed drug information, the prescribed case information, the charging information, etc.

[0079] For example, when the patient's registration is completed, an emergency registration QR code for the patient can be generated. If the current consultation stage is the doctor's consultation stage, the doctor can scan the patient's emergency registration QR code through a business terminal device to obtain the patient's information, such as the patient's name, gender, age, ID number, consultation number and other information.

[0080] S102. The business terminal device generates and outputs the link result data of the current medical treatment link and the target QR code according to the link result data of the previous medical treatment link and the processing data of the current medical treatment link input by the user.

[0081] Among them, the target QR code can include the link result data of the current medical treatment link, so that the user of the next medical treatment link of the current medical treatment link can obtain the link result data of the current medical treatment link based on the target QR code.

[0082] Optionally, when the business terminal device scans the QR code of the previous medical treatment link and obtains the link result data of the previous medical treatment link, the user enters the processing data of the current medical treatment link on the business terminal device of the current medical treatment link according to the current medical treatment link, where the user may refer to the medical staff who handles various businesses; the processed data may refer to the patient's medical case information, patient examination application form information, patient's drug information, patient's charging information, patient's settlement information, etc.

[0083] Exemplarily, if the current medical consultation link is the reception medical consultation link, the processing result can be, for example, the diagnosis information, drug information, examination item information, etc. of the patient's condition input by the doctor; if the previous medical consultation link of the current medical consultation link is the registration medical consultation link, then the link result data and the target QR code of the reception medical consultation link can be generated according to the patient's registration information and the processing result of the current reception medical consultation link input by the current doctor for the patient.

[0084] For example, if the current medical consultation link is a paid medical consultation link, the paid user can obtain the charging items on the doctor's prescription by scanning the target QR code on the doctor's prescription, obtain the processing result of the paid medical consultation link according to the patient's payment situation, and generate and output the charging result data of the paid medical consultation link and the target QR code of the paid medical consultation link.

[0085] For example, for the doctor station, the doctor can scan the QR code to receive patients, issue orders for patients, and other services; for patients, they can scan the QR code to make appointments, get numbers, register, and other services; for other staff, they can scan the QR code to charge, settle accounts, report statistics, dispense medicines, post accounts, and reconcile accounts. The QR code is scanned by the barcode scanner to obtain encrypted data, and the parsed data is saved in the local database of each business terminal device.

[0086] S103. When the internal network failure of the medical institution is restored, the business terminal device uploads the link result data of the current consultation link to the data intermediate library in the internal network of the medical institution according to the preset data upload configuration information.

[0087] Among them, the data intermediate library is deployed on the data terminal device.

[0088] Optionally, when the internal network failure of the medical institution is restored, the user can click the data upload button on the business terminal device to upload the data generated on each business terminal device in the emergency subsystem during the network failure, that is, the processing results of the patient at each consultation link, to the data intermediate library in the internal network of the medical institution.

[0089] In this embodiment, when the network of the medical institution fails, the link result data of each medical link is obtained by scanning the QR code of each medical link, and the link result data and the target QR code of each medical link are generated according to the link result data of each medical link and the processing data of each medical link, so that the user of the next medical link of the current medical link can obtain the link result data of the current medical link based on the target QR code of the current medical link, so that the business of the next medical link can operate normally. It can ensure that when the internal network of the medical system fails, the basic business of the hospital can continue to operate normally and avoid business interruption. At the same time, when the network is restored, all link result data during the failure period are uploaded to the data intermediate library, which can ensure the integrity of the data and seamlessly connect the business of the hospital after the network is disconnected and restored.

[0090] Optionally, scanning the QR code of the previous medical consultation link of the current medical consultation link in the above S101 to obtain the link result data of the previous medical consultation link may include:

[0091] Optionally, scan the QR code of the previous medical treatment link before the current medical treatment link to obtain encrypted data, where the encrypted data may refer to data encrypted in the emergency subsystem according to an agreed encryption method. For example, the link result data of the previous medical treatment link before the current medical treatment link can be encrypted in methods a, b, and c to ensure data security.

[0092] Optionally, the encrypted data obtained by scanning is parsed to obtain the link result data of the previous medical treatment link. Specifically, the encrypted data can be parsed according to the agreed encryption rules to obtain the link result data corresponding to the decrypted data, and the obtained link result data can be saved in the local database of each business terminal device.

[0093] Figure 3 A flowchart of another medical data emergency processing method provided in an embodiment of the present application is shown as follows: Figure 3 As shown, the above method may also include:

[0094] S201. The data terminal device obtains link result data during the internal network failure period sent by each business terminal device.

[0095] Optionally, when the internal network of the medical system is restored, the user can click the data upload button on the business device to send the business operation data generated by each business terminal device during the internal network failure of the medical system to the data terminal device, which refers to the data terminal device where the data middleware is located. The business operation data may refer to the link result data of the medical treatment link generated according to the processing data input by the user during the medical treatment link and the link result data of the previous medical treatment link.

[0096] Optionally, the link result data can be stored in the local database of each service terminal device in the form of a data table, such as a consultation form, a fee form, an examination form, an appointment form, etc., wherein each data table may include link result data of each patient generated by each service terminal device of all clinics in the medical system.

[0097] S202: The data terminal device updates each data in the data table according to the update timestamp of each data table and the link result data during the internal network failure to obtain an updated data table.

[0098] Among them, the update timestamp refers to the timestamp of the last update of each data table on the data terminal device. The link result data from the last update timestamp of each data table to the current internal network fault recovery period is used as the incremental data of each data table. The incremental data of each data table is updated to the data of each data table to obtain the updated data table.

[0099] S203: The data terminal device uploads the updated data table to the network database according to a preset first timer.

[0100] Optionally, a first timer can be pre-set in the data terminal device, and the first timer is used to instruct the data in the data intermediate library of the data terminal device to be transmitted back to the network database. The first timer can be set between 1:00 and 5:00 a.m. every day, and during this period, the data in the data intermediate library can be transmitted back to the network database.

[0101] Specifically, when the first timer on the data terminal device is started, the information write-back interface can be called to upload the incremental data in each data table to the network database according to the timestamp time of each data table and the incremental data of each data table. After the upload task is completed, the last upload time of each data table is returned to the record table of the data terminal device, wherein the record table may include the identification of each data table, the last update start time, end time, update time stamp, waiting time, remarks, update time, etc. Incremental data greater than the update time stamp of each data table can be obtained in the record table each time data is uploaded, and each data table is updated.

[0102] In this embodiment, by uploading the local data generated by each business terminal during the failure to the data terminal device where the data intermediate library is located, and then transmitting it back to the network database, it can not only ensure the integrity of the data, but also seamlessly connect the hospital's business after network disconnection and network restoration, thereby completely ensuring the operation of medical services.

[0103] Figure 4 A flowchart of another medical data emergency processing method provided in an embodiment of the present application is shown as follows: Figure 4 As shown, the above method may also include:

[0104] S301. The data terminal device downloads the data to be updated in the data table to be updated from the network database based on the preset second timer and according to the record information of each data table in the network database recorded on the data terminal device.

[0105] The record information may include the last update timestamp of each data table, each data table identifier, and may also include the last update start time, last update end time, waiting time, remarks and other information of each data table.

[0106] Optionally, the second timer can be pre-set in the data terminal device. The second timer can be set to midnight every day. When the second timer is started, the data download service interface can be called to download the data to be updated in the data table to be updated from the network database through the data download interface.

[0107] S302: The data terminal device updates each data table according to the data to be updated to obtain each updated data table.

[0108] Specifically, the data to be updated in each data table is updated into each data table to obtain the updated data table. For example, for data table 1, the data to be updated is the data of the data table within the previous 10 hours, then the data of the data table within the previous 10 hours is updated into the data table to obtain the updated data table.

[0109] S303: The data terminal device synchronizes the updated data tables to each business terminal.

[0110] Specifically, each updated data table is synchronized to the local database on each service terminal.

[0111] In this embodiment, the execution cycle of the task can be flexibly customized through the scheduled data download task, and the data obtained from the network database can be synchronized to the local database of each business terminal through the data terminal where the data intermediate library is located. When the hospital fails and cannot be restored, each business terminal can continue to work based on the data in the local database of each business terminal, without affecting the patient's treatment, and can perform normal registration, billing and charging services.

[0112] Optionally, in S301 above, downloading the data to be updated in the data table to be updated from the network database according to the record information of each data table in the network database recorded on the data terminal device may include:

[0113] Optionally, a task table is created according to the record information of each data table, wherein the task table may include the table name, timestamp time, creation time and incremental data to be downloaded of the data table to be downloaded.

[0114] The record information of each data table can be recorded in a record table, which may include the table name, last update start time, last update end time, update to timestamp, waiting time, remarks, update time and other information of each data table, wherein the update to timestamp refers to the timestamp of the last data update in the data table. The task table refers to the information of each data table to be downloaded this time, wherein the timestamp time in the task table refers to the update to timestamp in the record table, then all data of the data table between the timestamp time and the current time of creating the task table are obtained, and all data within the time period can also be used as the incremental data to be downloaded for the data table.

[0115] Optionally, the data to be updated is downloaded from the network database through the data download interface and task table of the network database. The data to be updated refers to the incremental data to be downloaded of the above-mentioned data tables. If a data table download task is completed, a success label can be marked at the data table; if the download task fails, a failure label is marked at the data table, and the reason for the failure is recorded; and the start time of the update of each data table, the end time of the update, the update to timestamp, the waiting time and other information are returned to the record table, so that the record information of each data table is updated, so that the next task table can be created according to the updated record information of each data table.

[0116] Optionally, in the above S302, each data table is updated according to the data to be updated to obtain each updated data table, which may include:

[0117] Optionally, the data terminal device obtains a standard data interface corresponding to the data type according to the data type of the data table to be updated. The standard data interface may include a terminology standard data interface, a dictionary standard data interface, a reservation information standard data interface, and a file information standard data interface. The dictionary may include business dictionary interfaces such as personnel, charging items, hospital information, clinical services, drug information, business units, and drug dispensing related information; the terminology may include relevant terms such as nationality.

[0118] If the data in the data table to be updated is dictionary type data, the data terminal device calls the dictionary standard data interface; if the data in the data table to be updated is terminology type data, the data terminal calls the terminology standard data interface.

[0119] Optionally, the data terminal device performs standard conversion on the data to be updated in the data table to be updated through a standard data interface and a standard database corresponding to the standard data interface to obtain standard data to be updated.

[0120] Optionally, the dictionary may include a dictionary standard database, the terminology may include a terminology standard database, the reservation information may include a reservation information standard database, and the archive information may include a archive information standard database.

[0121] Exemplarily, if the data in the to-be-updated data table is dictionary type data, the data terminal calls the dictionary standard data interface and the dictionary standard database to perform standard conversion on the to-be-updated data in the to-be-updated data table to obtain standard to-be-updated data.

[0122] Optionally, the data terminal device updates each data table according to the standard data to be updated to obtain each updated data table.

[0123] Figure 5 A flowchart of another medical data emergency processing method provided in an embodiment of the present application is shown as follows: Figure 5 As shown, in the above S302, the data terminal device updates each data table according to the data to be updated, and obtains each updated data table, which may include:

[0124] S401. The data terminal device determines the data table to be synchronized and the data to be synchronized in the data table to be synchronized in the data intermediate library according to the timestamp of each data table on each service terminal device.

[0125] Among them, the data generated by each data table within the period from the time greater than the timestamp of each data table on each business terminal device to the update of each data table in the data intermediate library to the timestamp is used as the data to be synchronized for each data table, and each data table is used as the data table to be synchronized.

[0126] S402: The data terminal device synchronizes the data to be synchronized in the data table to be synchronized to each service terminal according to the structure of each data table on each service terminal device.

[0127] Optionally, since the structure of each data table on each business terminal device may change, before synchronizing each data table, the structure of each data table on each business terminal device is synchronized first. After the structure synchronization of each data table is completed, the data to be synchronized in the data table to be synchronized is synchronized to each data table to be synchronized according to the structure of each data table, and then saved in the local database of each business terminal device.

[0128] In the present application, according to the methods of the above-mentioned specific embodiments, all data in the network database of the hospital can be downloaded to the data intermediate library at a regular interval, and the data in the network database can be synchronized to the local database on each business terminal device through the data intermediate library. When the hospital's network server or local area network fails and cannot be restored in a short time, the emergency subsystem can be enabled, so that users can perform business processing normally based on the data in the local database on each business terminal device in the emergency subsystem, such as normal registration, number collection, consultation, billing, and drug dispensing. This allows users of outpatient windows and outpatient doctor stations to continue working in the event of a network failure without having to thank patients for their medical treatment.

[0129] When the network is restored, the data generated during the failure in the local database of each business terminal device is uploaded to the data intermediate library on the data terminal, and the data generated during the failure is transmitted back to the network database through the data intermediate subsystem, ensuring the integrity of the data and seamlessly connecting the hospital's business after network disconnection and network restoration. There is no impact on the user's medical experience, and the operation of the hospital's business is fully guaranteed.

[0130] Figure 6 A schematic diagram of a device for emergency processing of medical data provided in an embodiment of the present application, such as Figure 6 As shown, the device comprises:

[0131] Scanning module 501, used for the business terminal device to scan the QR code of the previous medical link of the current medical link when the internal network of the medical institution fails, and obtain the link result data of the previous medical link;

[0132] A generation module 502 is used for the service terminal device to generate and output the link result data of the current medical treatment link and a target QR code according to the link result data of the previous medical treatment link and the processing data of the current medical treatment link input by the user, wherein the target QR code includes the link result data of the current medical treatment link, so that the user of the next medical treatment link of the current medical treatment link can obtain the link result data of the current medical treatment link based on the target QR code;

[0133] The upload module 503 is used for the business terminal device to upload the link result data of the current consultation link to the data intermediate library in the internal network of the medical institution according to the preset data upload configuration information when the internal network failure of the medical institution is restored. The data intermediate library is deployed on the data terminal device.

[0134] Optionally, the scanning module 501 is specifically used for:

[0135] The business terminal device scans the QR code of the previous consultation link of the current consultation link to obtain encrypted data;

[0136] The business terminal device performs data analysis on the encrypted data to obtain the link result data of the previous medical consultation link.

[0137] Optionally, the device further comprises:

[0138] A sending module 504, used for the data terminal device to obtain link result data during the internal network failure period sent by each service terminal device;

[0139] An updating module 505, used for the data terminal device to update each data in the data table according to the update time stamp of each data table and the link result data during the internal network failure, so as to obtain an updated data table;

[0140] The updating module 505 is used for the data terminal device to upload the updated data table to the network database according to a preset first timer.

[0141] Optionally, the updating module 505 is specifically used for:

[0142] The data terminal device downloads the to-be-updated data in the to-be-updated data table from the network database based on a preset second timer and according to the record information of each data table in the network database recorded on the data terminal device, wherein the record information includes the last update timestamp of each data table and the identifier of each data table;

[0143] The data terminal device updates each data table according to the data to be updated to obtain each updated data table;

[0144] The data terminal equipment synchronizes the updated data tables to the service terminal equipment.

[0145] Optionally, the updating module 505 is specifically used for:

[0146] The data terminal device creates a task table according to the record information of each data table, wherein the task table includes the table name, timestamp time, creation time and incremental data to be downloaded of the data table to be downloaded;

[0147] The data terminal device downloads the data to be updated from the network database through the data download interface and the task list of the network database.

[0148] Optionally, the updating module 505 is specifically used for:

[0149] The data terminal device acquires a standard data interface corresponding to the data type according to the data type of the data table to be updated;

[0150] The data terminal device performs standard conversion on the data to be updated in the data table to be updated through the standard data interface and the standard database corresponding to the standard data interface to obtain standard data to be updated;

[0151] The data terminal device updates each data table according to the standard data to be updated to obtain each updated data table.

[0152] Optionally, the updating module 505 is specifically used for:

[0153] The data terminal device determines the data table to be synchronized in the data intermediate library and the data to be synchronized in the data table to be synchronized according to the timestamp of each data table on each service terminal device;

[0154] The data terminal device synchronizes the data to be synchronized in the data table to be synchronized to each service terminal according to the structure of each data table on each service terminal device.

[0155] Figure 7 FIG. 6 is a structural block diagram of an electronic device 600 provided in an embodiment of the present application. Figure 7 As shown, the electronic device may include: a processor 601 and a memory 602 .

[0156] Optionally, a bus 603 may also be included, wherein the memory 602 is used to store machine-readable instructions executable by the processor 601. When the electronic device 600 is running, the processor 601 communicates with the memory 602 through the bus 603. When the machine-readable instructions are executed by the processor 601, the method steps in the above method embodiment are performed.

[0157] An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method steps in the above-mentioned medical data emergency processing method embodiment are executed.

[0158] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0159] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.

[0160] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.

Claims

1. A medical data emergency processing method, characterized in that: The method is applied to a business terminal device and a data terminal device in a medical institution, and comprises: When the internal network of the medical institution fails, the business terminal device scans the QR code of the previous medical link of the current medical link to obtain the link result data of the previous medical link; The service terminal device generates and outputs the link result data of the current medical link and a target QR code according to the link result data of the previous medical link and the processing data of the current medical link input by the user, wherein the target QR code includes the link result data of the current medical link, so that the user of the next medical link of the current medical link can obtain the link result data of the current medical link based on the target QR code; When the internal network failure of the medical institution is restored, the business terminal device uploads the link result data of the current consultation link to the data intermediate library in the internal network of the medical institution according to the preset data upload configuration information, and the data intermediate library is deployed on the data terminal device.

2. The medical data emergency processing method according to claim 1, characterized in that: The scanning of the QR code of the previous medical consultation link of the current medical consultation link obtains the link result data of the previous medical consultation link, including: The service terminal device scans the QR code of the previous consultation link of the current consultation link to obtain encrypted data; The business terminal device performs data analysis on the encrypted data to obtain the link result data of the previous medical consultation link.

3. The medical data emergency processing method according to claim 1, characterized in that: Also includes: The data terminal equipment obtains the link result data during the internal network failure period sent by each service terminal equipment; The data terminal device updates each data in the data table according to the update time stamp of each data table and the link result data during the internal network failure to obtain an updated data table; According to the preset first timer, the updated data table is uploaded to the network database.

4. The medical data emergency processing method according to claim 1, characterized in that: Also includes: The data terminal device downloads the to-be-updated data in the to-be-updated data table from the network database based on a preset second timer and according to the record information of each data table in the network database recorded on the data terminal device, wherein the record information includes the last update timestamp of each data table and the identifier of each data table; The data terminal device updates each data table according to the data to be updated to obtain each updated data table; The data terminal equipment synchronizes the updated data tables to the service terminal equipment.

5. The medical data emergency processing method according to claim 4, characterized in that: The downloading of the data to be updated from the network database according to the record information of each data table in the network database recorded on the data terminal device comprises: The data terminal device creates a task table according to the record information of each data table, wherein the task table includes the table name, timestamp time, creation time and incremental data to be downloaded of the data table to be downloaded; The data terminal device downloads the data to be updated from the network database through the data download interface and the task list of the network database.

6. The medical data emergency processing method according to claim 4, characterized in that: Each data table is updated according to the data to be updated to obtain each updated data table, including: The data terminal device acquires a standard data interface corresponding to the data type according to the data type of the data table to be updated; The data terminal device performs standard conversion on the data to be updated in the data table to be updated through the standard data interface and the standard database corresponding to the standard data interface to obtain standard data to be updated; The data terminal device updates each data table according to the standard data to be updated to obtain each updated data table.

7. The medical data emergency processing method according to claim 4, characterized in that: The step of synchronizing the updated data table to each of the service terminal devices includes: The data terminal device determines the data table to be synchronized in the data intermediate library and the data to be synchronized in the data table to be synchronized according to the timestamp of each data table on each service terminal device; The data terminal device synchronizes the data to be synchronized in the data table to be synchronized to each service terminal according to the structure of each data table on each service terminal device.

8. A medical data emergency processing device, characterized in that: include: A scanning module is used to scan the QR code of the previous medical link of the current medical link when the internal network of the medical institution fails, and obtain the link result data of the previous medical link; A generation module, for generating and outputting the link result data of the current medical link and a target QR code according to the link result data of the previous medical link and the processing data of the current medical link input by the user, wherein the target QR code includes the link result data of the current medical link, so that the user of the next medical link of the current medical link can obtain the link result data of the current medical link based on the target QR code; The upload module is used to upload the link result data of the current consultation link to the data intermediate library in the internal network of the medical institution when the internal network failure of the medical institution is restored according to the preset data upload configuration information. The data intermediate library is deployed on the data terminal device.

9. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program executable by the processor, and when the processor executes the computer program, the steps of the medical data emergency processing method described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the medical data emergency processing method as described in any one of claims 1 to 7.