Internet Hospital Supervision Data Upload Methods and Systems
Patent Information
- Application Number
- CN202211271787.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-18
- Publication Date
- 2026-08-14
- Estimated Expiration
- 2042-10-18
AI Technical Summary
[0006]有鉴于此,本发明提供了一种互联网医院监管数据上传方法及系统,主要目的在于解决互联网医院平台上传监管数据至互联网医院监管平台,由于数据过大,导致数据无法及时完整传送到互联网医院监管平台的问题
[0048]借由上述技术方案,本申请提供的一种互联网医院监管数据上传方法及系统,数据管理中心获取待监管数据的索引值,并将索引值发送至前置应用终端,前置应用终端根据索引值直接获取待监管数据,将压力分担至前置应用终端,避免了网关与前置应用终端之间待监管数据请求的积压,保证待监管数据获取的及时性和完整性,提高了待监管数据的可达性,同时前置应用终端将待监管数据添加至消息队列中,通过消息队列方式将待监管数据发送至监管平台,提升了待监管数据并发性。
Smart Images

Figure CN115550269B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of internet hospital supervision data technology, and in particular to a method and system for uploading internet hospital supervision data. Background Technology
[0002] With the development of internet technology, more and more hospitals are applying to become internet hospitals. Internet hospitals offer functions such as inquiry, prescription issuance, follow-up, and chronic disease management. After doctors go online on the internet hospital platform, patients can communicate with doctors online, and doctors can provide answers or diagnoses online.
[0003] To strengthen the supervision of internet hospitals and ensure the safety and legality of online medical services, the National Health Commission has established an internet hospital supervision platform. Core operational data of internet hospital platforms, including operational compliance, doctor information registration, online consultations, triage, prescription issuance, and medical record writing, must be uploaded to the platform designated by the National Health Commission. A key focus is how internet hospitals can securely, completely, uniformly, and promptly transmit various business data to the internet hospital supervision platform. The traditional upload method involves the data management center obtaining the supervision data, transmitting it to a gateway, the gateway transmitting it to a front-end application server, and the front-end application server then transmitting it to the internet hospital supervision platform. This traditional upload method has the following problems:
[0004] Data accessibility: Doctor information filing or chat messages may contain images, resulting in excessively large uploaded data. This can cause network requests from the data management center to the gateway or from the gateway to the front-end application server to time out, preventing regulatory data from reaching the Internet hospital monitoring platform in a timely manner.
[0005] Data integrity: When the concurrency of listening messages is too high and the requested data is too large, a large backlog of requests from the gateway to the front-end application server is caused, and some requests time out, resulting in the data not being able to reach the monitoring platform completely. Summary of the Invention
[0006] In view of this, the present invention provides a method and system for uploading monitoring data of Internet hospitals, the main purpose of which is to solve the problem that the monitoring data uploaded from the Internet hospital platform to the Internet hospital monitoring platform cannot be transmitted to the Internet hospital monitoring platform in a timely and complete manner due to the large size of the data.
[0007] According to one aspect of this application, a method for uploading monitoring data for internet hospitals is provided, the method comprising:
[0008] The data management center monitors the data to be monitored generated on the Internet hospital platform, obtains the index value of the data to be monitored, and sends the index value of the data to be monitored to the front-end application terminal;
[0009] The front-end application terminal obtains the corresponding data to be monitored based on the index value, adds the data to be monitored to the message queue, and transmits the data to be monitored to the monitoring platform based on the message queue.
[0010] Optionally, obtaining the index value of the data to be monitored and sending the index value of the data to be monitored to the front-end application terminal includes:
[0011] If the data size of the data to be monitored is greater than a preset value, then the index value of the data to be monitored is obtained and sent to the front-end application terminal;
[0012] If the size of the data to be monitored is less than or equal to the preset value, the data to be monitored will be sent to the front-end application terminal.
[0013] Optionally, the data to be regulated is stored in a distributed file system;
[0014] The front-end application terminal obtains the corresponding data to be monitored based on the index value, including:
[0015] If the front-end application terminal and the distributed file system are on the same local area network, the front-end application terminal determines to obtain the data to be monitored corresponding to the index value from the distributed file system based on the index value;
[0016] If the front-end application terminal and the distributed file system are not on the same local area network, the front-end application terminal calls a preset intermediate service interface to obtain the data to be monitored corresponding to the index value from the distributed file system through the preset intermediate service interface.
[0017] Optionally, after the front-end application terminal obtains the corresponding data to be monitored based on the index value, the method further includes:
[0018] The front-end application terminal marks the data to be monitored as data that has not been uploaded.
[0019] Accordingly, adding the data to be monitored to the message queue includes:
[0020] The data to be monitored, marked with the tag indicating that the data has not been uploaded, is added to the message queue.
[0021] Optionally, the transmission of data to be regulated to the regulatory platform based on the message queue includes:
[0022] Obtain the number of concurrent real-time consumption threads corresponding to the message queue, and calculate the consumption rate limit value of the message queue based on the preset delay parameter and the number of concurrent real-time consumption threads;
[0023] The message queue is rate-limited based on the consumption rate limit value.
[0024] Optionally, obtaining the index value of the data to be monitored and sending the index value of the data to be monitored to the front-end application terminal includes:
[0025] The data management center obtains the consultation information corresponding to the data to be monitored;
[0026] Based on the consultation information, obtain the index value of the data to be monitored;
[0027] The index value of the data to be monitored is sent to the gateway, so that the gateway sends the index value to the front-end application terminal.
[0028] According to another aspect of this application, an internet hospital monitoring data upload system is provided, comprising: a data management center and a front-end application terminal, wherein,
[0029] The data management center is used to monitor the data to be monitored generated on the Internet hospital platform, obtain the index value of the data to be monitored, and send the index value of the data to be monitored to the front-end application terminal.
[0030] The front-end application terminal is used to obtain the corresponding data to be monitored based on the index value, add the data to be monitored to the message queue, and transmit the data to be monitored to the monitoring platform based on the message queue.
[0031] Optionally, the data management center is also used for:
[0032] If the data size of the data to be monitored is greater than a preset value, then the index value of the data to be monitored is obtained and sent to the front-end application terminal;
[0033] If the size of the data to be monitored is less than or equal to the preset value, the data to be monitored will be sent to the front-end application terminal.
[0034] Optionally, the data to be regulated is stored in a distributed file system;
[0035] The front-end application terminal is also used for:
[0036] If the front-end application terminal and the distributed file system are on the same local area network, the front-end application terminal determines to obtain the data to be monitored corresponding to the index value from the distributed file system based on the index value;
[0037] If the front-end application terminal and the distributed file system are not on the same local area network, the front-end application terminal calls a preset intermediate service interface to obtain the data to be monitored corresponding to the index value from the distributed file system through the preset intermediate service interface.
[0038] Optionally, the front-end application terminal is further used for:
[0039] Mark the data to be monitored as data that has not been uploaded;
[0040] The data to be monitored, marked with the tag indicating that the data has not been uploaded, is added to the message queue.
[0041] Optionally, the front-end application terminal is further used for:
[0042] Obtain the number of concurrent real-time consumption threads corresponding to the message queue, and calculate the consumption rate limit value of the message queue based on the preset delay parameter and the number of concurrent real-time consumption threads;
[0043] The message queue is rate-limited based on the consumption rate limit value.
[0044] Optionally, the data management center is also used for:
[0045] The data management center obtains the consultation information corresponding to the data to be monitored;
[0046] Based on the consultation information, obtain the index value of the data to be monitored;
[0047] The index value of the data to be monitored is sent to the gateway, so that the gateway sends the index value to the front-end application terminal.
[0048] By employing the above technical solution, this application provides a method and system for uploading monitoring data for internet hospitals. The data management center obtains the index value of the data to be monitored and sends the index value to the front-end application terminal. The front-end application terminal directly obtains the data to be monitored based on the index value, thus distributing the pressure to the front-end application terminal. This avoids the backlog of requests for the data to be monitored between the gateway and the front-end application terminal, ensuring the timeliness and completeness of the data to be monitored and improving the accessibility of the data to be monitored. At the same time, the front-end application terminal adds the data to be monitored to a message queue and sends the data to the monitoring platform through the message queue, thereby improving the concurrency of the data to be monitored.
[0049] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0050] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0051] Figure 1 This application provides a flowchart of a method for uploading monitoring data for internet hospitals.
[0052] Figure 2 This application provides another flowchart of a method for uploading monitoring data for internet hospitals.
[0053] Figure 3 This illustration shows yet another flowchart of a method for uploading monitoring data for internet hospitals provided in an embodiment of this application;
[0054] Figure 4 The diagram illustrates the data transmission flow of an internet hospital monitoring data uploading method provided in an embodiment of this application.
[0055] Figure 5 This paper illustrates another data transmission flow diagram of an internet hospital monitoring data uploading method provided in an embodiment of this application.
[0056] Figure 6 The diagram shows a structural connection of an Internet hospital monitoring data upload system provided in an embodiment of this application.
[0057] In the diagram: 602 - Data Management Center; 604 - Front-end Application Terminal; 601 - Internet Hospital Platform; 605 - Supervision Platform. Detailed Implementation
[0058] The present invention will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present invention can be combined with each other.
[0059] To further illustrate the technical means and effects adopted by the present invention to achieve the intended purpose, the specific embodiments, structures, features, and effects according to the present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments. In the following description, different "an embodiment" or "an embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form.
[0060] To address the current issue of large data volumes preventing timely and complete transmission of regulatory data from internet hospital platforms to internet hospital supervision platforms, this application provides a method for uploading internet hospital regulatory data. Figure 1 As shown, the method includes:
[0061] 102: The data management center monitors the data to be monitored generated on the Internet hospital platform, obtains the index value of the data to be monitored, and sends the index value of the data to be monitored to the front-end application terminal;
[0062] Specifically, before explaining the above-mentioned method for uploading regulatory data to internet hospitals, let's first describe the data flow when internet hospitals upload regulatory data to the internet hospital regulatory platform. After the data management center detects that the internet hospital platform has generated data to be monitored, it obtains the data, sends it to the gateway, and then the gateway sends it to the front-end application terminal, which in turn sends it to the regulatory platform. Because some regulatory data contains images, a large backlog of requests occurs at the gateway when the data is sent, and also when it is sent from the gateway to the front-end application terminal. In summary, due to the large volume of data, the devices and network cannot handle the concurrent transmission of large amounts of data, resulting in regulatory data containing images not reaching the regulatory platform in a timely and complete manner. Therefore, this application proposes a method for uploading regulatory data containing images.
[0063] In this embodiment, after the data management center detects the data to be monitored generated on the internet hospital platform, it obtains the index value of the data. The index value indicates whether the data contains images. The data is then categorized into two types based on the index value: data containing images and data without images. The index value representing the data containing images is sent to the front-end application terminal, which then retrieves the data based on the index value. This avoids the problem of the gateway being unable to process data requests from the front-end application terminal in a timely manner due to large data volumes, thus alleviating the pressure on the network and internet hospital equipment caused by large data transmissions. The index value is not limited to distinguishable formats such as files, numbers, or characters.
[0064] The data to be regulated includes all data that the regulatory platform needs to monitor, including but not limited to the registration information, operational information, doctor registration information, and online consultation information of internet hospitals. The methods for uploading regulatory data from internet hospitals are not limited to application scenarios such as medical services and public services.
[0065] A front-end application terminal is a service machine used by an internet hospital platform to upload regulatory data to the regulatory platform. An internet hospital can set up at least one front-end application terminal. The front-end application terminal is not limited to electronic devices that can use applications, such as host computers, tablets, and mobile phones.
[0066] In another embodiment of the invention, for further definition and explanation, such as Figure 2 As shown, the process of obtaining the index value of the data to be regulated and sending the index value of the data to be regulated to the front-end application terminal includes:
[0067] 202: Obtain the size of the data to be regulated;
[0068] 204: Compare the size of the data to be monitored with the preset value;
[0069] 2042: If the size of the data to be monitored is greater than the preset value, then obtain the index value of the data to be monitored and send the index value of the data to be monitored to the front-end application terminal;
[0070] 2044: If the size of the data to be monitored is less than or equal to the preset value, the data to be monitored will be sent to the front-end application terminal.
[0071] In this embodiment, the data management center obtains the size of the data to be monitored, determines whether the data contains images based on the size, and then determines how the front-end application terminal obtains the data. When the size of the data to be monitored is greater than a preset value, it indicates that the data contains images and is relatively large. In this case, the front-end application terminal needs to retrieve the data from the file storage device itself based on the index value of the data to be monitored. Since each front-end application terminal processes and retrieves image information independently, the pressure is distributed across its respective front-end server service, avoiding the problem of untimely data transmission caused by large data volumes. Therefore, the data management center only needs to send the index value of the data to be monitored to the front-end application terminal.
[0072] When the size of the data to be monitored is less than or equal to the preset value, it means that the data to be monitored does not contain images and the data is relatively small. Such data transmission will not cause a backlog of requests from the gateway to the front-end application terminal. Therefore, the data management center obtains the data to be monitored without images from the internal data resource management center, sends the data to the gateway, and then sends the data to the front-end application terminal through the gateway. Since the data does not contain images and the data is small, it will not cause a problem of untimely data transmission.
[0073] In another embodiment of the invention, for further definition and explanation, such as Figure 3 As shown, the process of obtaining the index value of the data to be regulated and sending the index value of the data to be regulated to the front-end application terminal includes:
[0074] 302: The data management center obtains the consultation information corresponding to the data to be monitored;
[0075] 304: Based on the consultation information, obtain the index value of the data to be monitored;
[0076] 306: Send the index value of the data to be monitored to the gateway, so that the gateway can send the index value to the front-end application terminal.
[0077] In this embodiment, when the data management center detects that the internet hospital platform has generated data to be monitored, it retrieves the corresponding consultation information from the internal data resource management center (EHR). This consultation information includes the consultation time, doctor's name, and patient's name. Through this information, complete information about the data to be monitored can be obtained. To avoid the problem of subsequent data request backlog, only the index value of the data to be monitored is retrieved and sent to the gateway. The gateway then sends the index value to the front-end application terminal. The front-end application terminal retrieves the corresponding data to be monitored based on the index value, thus avoiding the problem of request backlog from the gateway to the front-end application terminal caused by large amounts of data. The index value is not limited to any expression that can distinguish and represent the characteristics of the data to be monitored, such as files, numbers, characters, or letters.
[0078] In one embodiment, one piece of data to be regulated corresponds to one index value, and different index values yield different pieces of data to be regulated.
[0079] 104: The front-end application terminal obtains the corresponding data to be regulated based on the index value, adds the data to be regulated to the message queue, and transmits the data to be regulated to the regulatory platform based on the message queue.
[0080] In this embodiment, after the front-end application terminal obtains the data to be monitored based on the index value, it transmits the data to the monitoring platform through a message queue, which solves the problem of data transmission failure caused by high data concurrency and realizes the complete transmission of data to the monitoring platform.
[0081] In another embodiment of the invention, for further definition and explanation, the data to be monitored is stored in a distributed file system; the front-end application terminal obtains the corresponding data to be monitored based on the index value, including:
[0082] If the front-end application terminal and the distributed file system are on the same local area network, the front-end application terminal will determine the data to be monitored corresponding to the index value from the distributed file system based on the index value.
[0083] If the front-end application terminal and the distributed file system are not on the same local area network, the front-end application terminal calls the preset intermediate service interface to obtain the data to be monitored corresponding to the index value from the distributed file system through the preset intermediate service interface.
[0084] In this embodiment, two different processing strategies are adopted to obtain the data to be regulated, based on the two deployment methods of the front-end application terminal of the regulatory platform.
[0085] When the front-end application terminal is deployed on the company's internal network, that is, when the distributed file system storing the data to be monitored is on the same local area network as the front-end application terminal, the front-end application terminal directly obtains the data to be monitored from the distributed file system through the index value.
[0086] When the front-end application terminal is deployed in the corresponding regulated information security protection data center, that is, when the distributed file system storing the data to be regulated is not on the same local area network as the front-end application terminal, since the front-end application terminal cannot directly access the distributed file system in the information security protection data center, an intermediate service (suv-file) is added to provide an HTTP interface (also called the preset intermediate service interface) specifically for the front-end service in the information security protection data center to provide file downloads.
[0087] In one embodiment, the front-end application terminal sends the index value of the data to be monitored to the distributed file system. The distributed file system obtains the storage location of the data to be monitored corresponding to the index value from a preset monitoring data storage mapping table, retrieves the data to be monitored based on the storage location, and sends the data to be monitored to the front-end application terminal.
[0088] In one embodiment, the front-end application terminal sends the index value of the data to be monitored to the intermediate server. The intermediate server sends the index value of the data to be monitored to the distributed file system through a preset intermediate service interface. The distributed file system obtains the storage location of the data to be monitored corresponding to the index value from a preset monitoring data storage mapping table, obtains the data to be monitored based on the storage location, and sends the data to be monitored to the intermediate server through the preset intermediate service interface. The intermediate server then sends the data to be monitored back to the front-end application terminal through the preset intermediate service interface.
[0089] In another embodiment of the invention, for further definition and explanation, after the front-end application terminal obtains the corresponding data to be monitored based on the index value, the method further includes:
[0090] The front-end application terminal marks the data to be monitored as data that has not been uploaded;
[0091] Accordingly, the data to be monitored is added to the message queue, including:
[0092] Add the monitored data with a tag indicating that no data has been uploaded to the message queue.
[0093] In this embodiment, acquiring the data to be monitored is the most time-consuming step in the entire upload process. To avoid a large backlog of requests on the front-end application terminal due to excessive time spent acquiring file information such as doctors and online consultations, the front-end application terminal stores the data in the database after acquiring the data from the distributed file system and marks it as unuploaded data. By adding the data to be monitored with the unuploaded data mark to the message queue, the data to be monitored is uploaded to the Internet hospital monitoring platform through the message queue, thereby ensuring data integrity and improving data concurrency.
[0094] In one embodiment, the front-end application terminal can also upload the data to be monitored, marked with unuploaded data, to the monitoring platform through a scheduled task, thereby ensuring data integrity and improving data concurrency.
[0095] In another embodiment of the invention, for further definition and explanation, transmitting data to be monitored to the monitoring platform based on a message queue includes:
[0096] Get the number of concurrent real-time consumption threads corresponding to the message queue, and calculate the consumption rate limit value of the message queue based on the preset delay parameter and the number of concurrent real-time consumption threads.
[0097] Rate limiting is applied to message queues based on consumption rate limits.
[0098] In this embodiment, to avoid excessive service pressure during peak periods, the front-end application terminal adds a preset delay parameter. Based on the preset delay parameter and the number of concurrent real-time consumption threads, the consumption rate limit value of the message queue is calculated. Based on the consumption rate limit value, the message queue is rate-limited, thereby improving the concurrency of the data to be monitored.
[0099] The basic principle of rate limiting is to add a preset delay to the client each time consumption occurs to control the consumption speed. Theoretically, the fastest concurrent consumption speed is:
[0100] MaxRate=1 / ConsumInterval*ConcurrentThreadNumber
[0101] If the number of concurrent message consumption threads (ConcurrentThreadNumber) is 20 and the delay (ConsumInterval) is 100ms, substituting into the above formula yields:
[0102] 200 = 1 / 0.1 * 20
[0103] As can be seen from the above, in theory, concurrent consumption can be controlled to below 200.
[0104] This invention provides a method for uploading monitoring data for internet hospitals. Compared with existing technologies, the data management center obtains the index value of the data to be monitored and sends the index value to the front-end application terminal. The front-end application terminal directly obtains the data to be monitored based on the index value, thus distributing the pressure to the front-end application terminal and avoiding the backlog of requests for the data to be monitored between the gateway and the front-end application terminal. This ensures the timeliness and completeness of the data to be monitored and improves the accessibility of the data. At the same time, the front-end application terminal adds the data to be monitored to a message queue and sends the data to the monitoring platform through the message queue, thereby improving the concurrency of the data to be monitored.
[0105] In a preferred embodiment of the present invention, after the supervision (data management center) detects that the Internet hospital platform has data to be monitored, it obtains the data size of the data to be monitored through the data resource management center of its internal service. When the data size of the data to be monitored is greater than a preset value, it obtains the index value of the data to be monitored. The data management center sends a data request to the gateway and directly sends the index value to the gateway. After receiving the index value, the gateway sends the index value to the front-end application terminal. The front-end application terminal obtains the data to be monitored from the distributed file system according to the index value, stores the data to be monitored in the database, marks it as data not uploaded, adds the data marked as data not uploaded to the message queue, and uploads the data to be monitored to the supervision platform in the form of a message queue.
[0106] As a preferred embodiment of the present invention, such as Figure 4As shown, after the supervision (data management center) detects that the Internet hospital platform has data to be monitored, it obtains the data size of the data to be monitored through the data resource management center of its internal service. When the data size of the data to be monitored is greater than a preset value, it obtains the index value of the data to be monitored. The data management center obtains the text portion of the data to be monitored from the internal data resource management center and stores the text portion and index value in the internal database. It then sends a data transmission request to the gateway. After receiving the data transmission request, the gateway obtains the text portion and index value of the data to be monitored and sends the text portion and index value of the data to the front-end application terminal in the form of a data request, and also sends the gateway's response to the data management center. The front-end application terminal saves the text portion of the data to be monitored and sends a response to the gateway. Based on the index value (also called the key), the front-end application terminal retrieves the image portion of the data to be monitored from the distributed file system (TFS), integrates the image and text portions, stores the integrated data in the database, and marks it as unuploaded data. A scheduled task is set for this unuploaded data to transmit the integrated data to the monitoring platform. Upon receiving the data, the monitoring platform sends a successful upload result to the front-end application terminal. The front-end application terminal updates the upload result and sends a successful transmission result to the gateway. The gateway sends the successful transmission result to the data management center, which then updates the transmission result upon receiving it.
[0107] In a preferred embodiment of the present invention, after the supervision (data management center) detects that the internet hospital platform has data to be monitored, it obtains the data size of the data to be monitored through the data resource management center of its internal service. When the data size of the data to be monitored is greater than a preset value, it obtains the index value of the data to be monitored. The data service center sends a data transmission request to the gateway. After receiving the data transmission request, the gateway obtains the index value in the data to be monitored and sends the index value to the front-end application terminal in the form of a data request, and also sends the gateway receiving response to the data management center. The front-end application terminal sends the index value to the distributed file system. The distributed file system obtains the first storage location and the second storage location of the data to be monitored corresponding to the index value in the preset monitoring data storage mapping table. According to the first storage location, it obtains the image part of the data to be monitored from the distributed file system and sends the image part of the data to be monitored and the second storage location to the front-end application terminal. The front-end application terminal generates a data acquisition request according to the second storage location and sends it to the gateway. The gateway sends the data acquisition request to the resource management system. According to the data acquisition request, the resource management system obtains the text part of the data to be monitored and sends it to the gateway. The gateway sends the text part of the data to be monitored to the front-end application terminal. The front-end application terminal integrates the image and text portions of the data to be monitored, stores the integrated data in the database, marks it as unuploaded data, sets a scheduled task for the unuploaded data, and transmits the integrated data to the monitoring platform according to the scheduled task. After receiving the data, the monitoring platform sends a data upload success result to the front-end application terminal. The front-end application terminal updates the data upload result and sends a data transmission success result to the gateway. The gateway sends the data transmission success result to the data management center. After receiving the data transmission success result, the data management center updates the data transmission result.
[0108] As a preferred embodiment of the present invention, such as Figure 5As shown, after the supervision (data management center) detects the generation of data to be monitored on the internet hospital platform, it obtains the size of the data to be monitored through the internal data resource management center. When the size of the data to be monitored is equal to or less than a preset value, the data management center retrieves the data to be monitored from the internal data resource management center, stores it in the internal database, and sends a data transmission request to the gateway. Upon receiving the data transmission request, the gateway obtains the data to be monitored and sends it to the front-end application terminal as a data request, and also sends a gateway reception response to the data management center. The front-end application terminal saves the data to be monitored and sends a reception response to the gateway. The front-end application terminal then transmits the data to the monitoring platform. Upon receiving the data, the monitoring platform sends a data upload success result to the front-end application terminal. The front-end application terminal updates the data upload result and sends a data transmission success result to the gateway. The gateway sends the data transmission success result to the data management center, and upon receiving the data transmission success result, the data management center updates the data transmission result.
[0109] Furthermore, as a response to the above Figure 1 The implementation of the method shown in this embodiment of the invention provides an internet hospital monitoring data upload system, such as... Figure 6 As shown, the system includes: a data management center 602 and a front-end application terminal 604, wherein,
[0110] Data Management Center 602 is used to monitor the data to be monitored generated on Internet Hospital Platform 601, obtain the index value of the data to be monitored, and send the index value of the data to be monitored to the front-end application terminal 604.
[0111] The front-end application terminal 604 is used to obtain the corresponding data to be monitored based on the index value, add the data to be monitored to the message queue, and transmit the data to be monitored to the monitoring platform 605 based on the message queue.
[0112] This invention provides an internet hospital monitoring data upload system. Compared with existing technologies, the data management center obtains the index value of the data to be monitored and sends the index value to the front-end application terminal. The front-end application terminal directly obtains the data to be monitored based on the index value, thus distributing the pressure to the front-end application terminal and avoiding the backlog of data requests between the gateway and the front-end application terminal. This ensures the timeliness and completeness of the data to be monitored and improves the accessibility of the data. At the same time, the front-end application terminal adds the data to be monitored to a message queue and sends the data to the monitoring platform through the message queue, thereby improving the concurrency of the data to be monitored.
[0113] In another embodiment of the invention, for further limitation, the data management center is also used for:
[0114] If the size of the data to be monitored is greater than the preset value, then the index value of the data to be monitored is obtained and sent to the front-end application terminal.
[0115] If the size of the data to be monitored is less than or equal to a preset value, the data to be monitored will be sent to the front-end application terminal.
[0116] In another embodiment of the invention, for further limitation, the data to be regulated is stored in a distributed file system;
[0117] The front-end application terminal is also used for:
[0118] If the front-end application terminal and the distributed file system are on the same local area network, the front-end application terminal will determine the data to be monitored corresponding to the index value from the distributed file system based on the index value.
[0119] If the front-end application terminal and the distributed file system are not on the same local area network, the front-end application terminal calls the preset intermediate service interface to obtain the data to be monitored corresponding to the index value from the distributed file system through the preset intermediate service interface.
[0120] In another embodiment of the invention, for further limitation, the front-end application terminal is also used for:
[0121] Mark the data to be monitored as data that has not been uploaded;
[0122] Add the monitored data with a tag indicating that no data has been uploaded to the message queue.
[0123] In another embodiment of the invention, for further limitation, the front-end application terminal is also used for:
[0124] Get the number of concurrent real-time consumption threads corresponding to the message queue, and calculate the consumption rate limit value of the message queue based on the preset delay parameter and the number of concurrent real-time consumption threads.
[0125] Rate limiting is applied to message queues based on consumption rate limits.
[0126] In another embodiment of the invention, for further limitation, the data management center is also used for:
[0127] The data management center obtains the consultation information corresponding to the data to be regulated;
[0128] Based on the consultation information, obtain the index value of the data to be monitored;
[0129] The index value of the data to be monitored is sent to the gateway, so that the gateway sends the index value to the front-end application terminal.
[0130] The internet hospital monitoring data upload provided by this invention forms a highly available, highly responsive, highly flexible, and configurable general medical data monitoring upload mode. It significantly improves the accessibility and concurrency of monitoring information under big data medical data types, increasing the effectiveness of monitoring data by 30%. Furthermore, it achieves dynamic caching and adjustment of concurrent response capabilities, saving IT costs.
[0131] The above embodiments are merely exemplary embodiments of this application and are not intended to limit this application. The scope of protection of this application is defined by the claims. Those skilled in the art can make various modifications or equivalent substitutions to this application within its substance and scope of protection, and such modifications or equivalent substitutions should also be considered to fall within the scope of protection of this application.
Claims
1. A method for uploading monitoring data for internet hospitals, characterized in that, include: The data management center monitors the data to be monitored generated on the Internet hospital platform, obtains the index value of the data to be monitored, and sends the index value of the data to be monitored to the front-end application terminal. The data to be monitored is stored in a distributed file system. The front-end application terminal obtains the corresponding data to be monitored based on the index value, adds the data to be monitored to the message queue, and transmits the data to be monitored to the monitoring platform based on the message queue. The front-end application terminal is the server machine for the Internet hospital platform to upload monitoring data to the monitoring platform. Each Internet hospital sets up at least one front-end application terminal. The step of obtaining the index value of the data to be monitored and sending the index value of the data to be monitored to the front-end application terminal includes: If the data size of the data to be monitored is greater than a preset value, then the index value of the data to be monitored is obtained and sent to the front-end application terminal; The front-end application terminal obtains the corresponding data to be monitored based on the index value, including: If the front-end application terminal and the distributed file system are on the same local area network, the front-end application terminal determines to obtain the data to be monitored corresponding to the index value from the distributed file system based on the index value; If the front-end application terminal and the distributed file system are not on the same local area network, the front-end application terminal calls a preset intermediate service interface to obtain the data to be monitored corresponding to the index value from the distributed file system through the preset intermediate service interface.
2. The method for uploading internet hospital monitoring data as described in claim 1, characterized in that, The step of obtaining the index value of the data to be monitored and sending the index value of the data to be monitored to the front-end application terminal further includes: If the size of the data to be monitored is less than or equal to the preset value, the data to be monitored will be sent to the front-end application terminal.
3. The method for uploading internet hospital monitoring data as described in claim 1, characterized in that, After the front-end application terminal obtains the corresponding data to be monitored based on the index value, the method further includes: The front-end application terminal marks the data to be monitored as data that has not been uploaded. Accordingly, adding the data to be monitored to the message queue includes: The data to be monitored, marked with the tag indicating that the data has not been uploaded, is added to the message queue.
4. The method for uploading internet hospital monitoring data as described in claim 3, characterized in that, The transmission of data to be monitored to the monitoring platform based on the message queue includes: Obtain the number of concurrent real-time consumption threads corresponding to the message queue, and calculate the consumption rate limit value of the message queue based on the preset delay parameter and the number of concurrent real-time consumption threads; The message queue is rate-limited based on the consumption rate limit value.
5. The method for uploading internet hospital supervision data as described in any one of claims 1 to 4, characterized in that, The step of obtaining the index value of the data to be monitored and sending the index value of the data to be monitored to the front-end application terminal includes: The data management center obtains the consultation information corresponding to the data to be monitored; Based on the consultation information, obtain the index value of the data to be monitored; The index value of the data to be monitored is sent to the gateway, so that the gateway sends the index value to the front-end application terminal.
6. A data upload system for monitoring internet hospitals, characterized in that, include: Data management center and front-end application terminal, among which, The data management center is used to monitor the data to be monitored generated on the Internet hospital platform, obtain the index value of the data to be monitored, and send the index value of the data to be monitored to the front-end application terminal, wherein the data to be monitored is stored in a distributed file system; The front-end application terminal is used to obtain the corresponding data to be monitored based on the index value, add the data to be monitored to the message queue, and transmit the data to be monitored to the monitoring platform based on the message queue. The front-end application terminal is a server machine for the Internet hospital platform to upload monitoring data to the monitoring platform. Each Internet hospital sets up at least one front-end application terminal. The data management center is also used to: if the data size of the data to be monitored is greater than a preset value, obtain the index value of the data to be monitored, and send the index value of the data to be monitored to the front-end application terminal; The front-end application terminal is also used for: If the front-end application terminal and the distributed file system are on the same local area network, the front-end application terminal determines to obtain the data to be monitored corresponding to the index value from the distributed file system based on the index value; If the front-end application terminal and the distributed file system are not on the same local area network, the front-end application terminal calls a preset intermediate service interface to obtain the data to be monitored corresponding to the index value from the distributed file system through the preset intermediate service interface.
7. The Internet hospital supervision data upload system as described in claim 6, characterized in that, The data management center is also used for: If the size of the data to be monitored is less than or equal to the preset value, the data to be monitored will be sent to the front-end application terminal.
8. The Internet hospital supervision data upload system as described in claim 6, characterized in that, The front-end application terminal is also used for: Mark the data to be monitored as data that has not been uploaded; The data to be monitored, marked with the tag indicating that the data has not been uploaded, is added to the message queue.
Citation Information
Patent Citations
Gateway data transmission method and device, gateway and storage medium
CN113114740A