Medical data monitoring method, device, computer equipment and storage medium
By dividing and aggregating medical data in multiple dimensions and using optimized private protocol transmission, the problem of traditional monitoring efficiency is solved, and efficient monitoring of complex medical data is achieved and data transmission efficiency is improved.
Patent Information
- Application Number
- CN202010124635.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-27
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2040-02-27
AI Technical Summary
Traditional methods have low efficiency in monitoring medical data, resulting in duplicate statistics and inability to effectively monitor complex medical data.
Medical data is aggregated through multi-dimensional division and preset time intervals, medical messages are generated and data transmission is transmitted using an optimized private protocol, reducing data duplication and traffic resource consumption.
It realizes effective monitoring of medical data, improves the effectiveness of medical indicators and data transmission efficiency, and saves traffic resources.
Smart Images

Figure CN111276231B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a medical data monitoring method, apparatus, computer equipment and storage medium. Background Art
[0002] Medical insurance refers to insurance that provides protection for the medical expenses of the insured during the period of diagnosis and treatment, with the occurrence of medical treatment agreed in the insurance contract as the condition for payment of insurance benefits. In order to understand the settlement of medical insurance, enterprises need to monitor medical data. In the traditional way, all medical data are classified and counted according to the same medical tags to achieve monitoring of medical data.
[0003] However, when medical data is complex, monitoring medical data in the traditional way will lead to repeated statistics of medical data, resulting in a lot of time consumption and making it impossible to effectively monitor medical data. Therefore, how to effectively monitor medical data in a multi-dimensional way has become a technical problem that needs to be solved. Summary of the invention
[0004] Based on this, it is necessary to provide a medical data monitoring method, apparatus, computer equipment and storage medium that can effectively monitor medical data in a multi-dimensional manner to address the above technical problems.
[0005] A medical data monitoring method, the method comprising:
[0006] Obtaining a data monitoring request, and obtaining medical data according to the data monitoring request;
[0007] Dividing the medical data into multiple types of medical data according to multiple dimensions;
[0008] Aggregate each type of medical data according to a preset time interval to obtain medical indicators corresponding to the multiple medical data;
[0009] Generate a medical message according to the medical indicators corresponding to the multiple medical data through a preset private protocol;
[0010] The medical message is sent to a web application server, so that the web application server parses the medical message according to the preset private protocol to obtain medical indicators corresponding to a variety of medical data.
[0011] In one embodiment, the multiple medical data include first medical data and second medical data, the multiple dimensions include a time dimension and an attribute dimension, and dividing the medical data into multiple medical data according to the multiple dimensions includes:
[0012] Dividing the medical data into current medical data and non-current medical data according to a time dimension;
[0013] dividing the current medical data into second medical data and third medical data according to the attribute dimension;
[0014] The third medical data and the non-current medical data are used as the first medical data.
[0015] In one embodiment, aggregating each type of medical data according to a preset time interval to obtain medical indicators corresponding to the multiple medical data includes:
[0016] Extracting tag data corresponding to each medical tag from each type of medical data according to a preset time interval and a plurality of medical tags;
[0017] Summarize the extracted label data to obtain summary data corresponding to each type of medical data;
[0018] The summary data corresponding to each type of medical data are aggregated to obtain medical indicators corresponding to the multiple medical data.
[0019] In one embodiment, generating a medical message according to medical indicators corresponding to a plurality of medical data by using a preset private protocol includes:
[0020] Acquiring a specific field corresponding to the data monitoring request based on a preset private protocol, wherein the preset private protocol is an application layer protocol obtained after optimizing the transmission control protocol;
[0021] Acquire message configuration information corresponding to the preset private protocol, wherein the message configuration information includes header format information corresponding to the specific field;
[0022] Optimizing the specific field according to the header format information to obtain a specific optimized field with a specific number of bytes;
[0023] A message header is generated according to the specific optimized field, medical indicators corresponding to the multiple medical data are used as a message body, and a medical message is generated according to the message header and the message body.
[0024] In one embodiment, the plurality of medical data includes first medical data and second medical data, and the method further includes:
[0025] Storing the medical indicators corresponding to the first medical data in a relational database and storing the medical indicators corresponding to the second medical data in a time series database;
[0026] When receiving a data query request from a web application server, extracting corresponding target indicators from the relational database and the time series database according to the data query request;
[0027] A target message is generated according to the target indicator, and the target message is sent to a web application server according to a preset private protocol.
[0028] A medical data monitoring device, comprising:
[0029] A communication module, used to obtain a data monitoring request, and obtain medical data according to the data monitoring request;
[0030] A division module, used for dividing the medical data into multiple types of medical data according to multiple dimensions;
[0031] An aggregation module is used to aggregate each type of medical data according to a preset time interval to obtain medical indicators corresponding to multiple medical data;
[0032] A generating module, used for generating a medical message according to the medical indicators corresponding to the plurality of medical data through a preset private protocol;
[0033] The communication module is also used to send the medical message to the web application server, so that the web application server parses the medical message according to the preset private protocol to obtain medical indicators corresponding to multiple medical data.
[0034] In one of the embodiments, the division module is also used to divide the medical data into current medical data and non-current medical data according to the time dimension; divide the current medical data into second medical data and third medical data according to the attribute dimension; and use the third medical data and non-current medical data as the first medical data.
[0035] In one of the embodiments, the aggregation module is also used to extract label data corresponding to each medical tag in each type of medical data according to a preset time interval and multiple medical tags; summarize the extracted label data to obtain summary data corresponding to each type of medical data; and aggregate the summary data corresponding to each type of medical data to obtain medical indicators corresponding to multiple medical data.
[0036] A computer device includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the steps in the above-mentioned various method embodiments when executing the computer program.
[0037] A computer-readable storage medium stores a computer program, which implements the steps in the above-mentioned method embodiments when executed by a processor.
[0038] The above-mentioned medical data monitoring method, device, computer equipment and storage medium divide medical data into multiple medical data according to multiple dimensions, and aggregate each medical data according to a preset time interval, which can reduce unnecessary data duplication processing operations in a multi-dimensional manner, which is conducive to improving the effectiveness of medical indicators. A medical message is generated according to the medical indicators corresponding to the multiple medical data through a preset private protocol, and the medical message is sent to the web application server. Since the message structure agreed in the private protocol is simple and the data volume is small, the traffic resources in the data transmission process are effectively saved. Medical data can be effectively monitored in a multi-dimensional manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A diagram showing an application environment of a medical data monitoring method in one embodiment;
[0040] Figure 2 A schematic diagram of a flow chart of a medical data monitoring method in one embodiment;
[0041] Figure 3 is a flowchart of a step of dividing the medical data into multiple medical data according to multiple dimensions in one embodiment;
[0042] Figure 4 is a structural block diagram of a medical data monitoring device in one embodiment;
[0043] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0045] The medical data monitoring method provided in this application can be applied to Figure 1In the application environment shown. Among them, the web application server 102 communicates with the job server 104 through the network. The job server 104 obtains the data monitoring request sent by the web application server 102. The job server 104 obtains medical data according to the data monitoring request. The job server 104 divides the medical data into multiple medical data according to multiple dimensions. The job server 104 aggregates each medical data according to a preset time interval to obtain the medical indicator corresponding to each medical data. The job server 104 generates a medical message according to the medical indicators corresponding to the multiple medical data through a preset private protocol. The job server 104 sends the medical message to the web application server 102, so that the web application server 102 parses the medical message according to the preset private protocol to obtain the medical indicator data corresponding to the multiple medical data. Among them, the web application server 102 and the job server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0046] In one embodiment, Figure 2 As shown, a medical data monitoring method is provided, which is applied to Figure 1 The following steps are used as an example to illustrate the job server in the example:
[0047] Step 202, obtaining a data monitoring request, and obtaining medical data according to the data monitoring request.
[0048] The job server obtains the data monitoring request sent by the web application server. The data monitoring request is used to monitor the medical data to understand the settlement status of the medical insurance. The web application server is used to receive the medical data monitored by the job server. The job server obtains the medical data according to the data monitoring request. The medical data may include disease data, hospitalization time, age, etc. There are many ways to obtain medical data. It can be obtained from the GP (GreenPlum) database according to the data monitoring request, or it can be obtained from the data queue system according to the data monitoring request.
[0049] Step 204, dividing the medical data into multiple types of medical data according to multiple dimensions.
[0050] Step 206 , aggregating each type of medical data according to a preset time interval to obtain medical indicators corresponding to the multiple types of medical data.
[0051] The job server divides the medical data according to multiple dimensions. The division method can be to divide the medical data according to a preset division order between the multiple dimensions. After the division in multiple dimensions, multiple medical data are obtained.
[0052] The job server calls the distributed task scheduling platform, and starts the job server according to the preset time interval through the distributed scheduling platform to aggregate each type of medical data. The preset time intervals corresponding to different types of medical data may be different. For example, the preset time interval may be 10 minutes or 24 hours. The job server may aggregate each type of medical data according to the preset time interval and the medical tag, obtain the medical indicators corresponding to each type of medical data, and then obtain the medical tags corresponding to multiple types of medical data. The medical tags may include the annual cumulative number of settlements, the current number of settlements, the annual cumulative medical resource data, the current medical resource data, the annual cumulative consumption data, the current consumption data, the annual cumulative number of filings, the current number of newly added filings, the name of the disease within the preset time period, the patient burden within the preset time period, the current patient burden, the age distribution within the preset time period, the number of visits, the amount of medical treatment, etc. Among them, the number of filings may be the registration data generated when the medical data is generated. The medical indicator may be the specific value corresponding to the medical tag. Each type of medical data may correspond to multiple medical tags.
[0053] Step 208: Generate a medical message according to the medical indicators corresponding to the various medical data through a preset private protocol.
[0054] A preset private protocol is pre-set in the job server. The preset private protocol can be an application layer protocol for data transmission services obtained by optimizing the application layer protocol based on the transmission control protocol. The preset private protocol is used to define the messages and transmission methods transmitted between the job server and the web application server. The preset private protocol can be referred to as a private protocol. For example, the private protocol obtained after the optimization process can redefine the message structure, message format and other information corresponding to a variety of messages. The various messages can include login messages, medical messages, authentication messages, and live verification messages, etc. The structures of the various messages can be the same or different. Compared with the traditional application layer protocol, the optimized private protocol can simplify the message structure and reduce the data volume of the message without losing data, thereby effectively saving traffic resources in the process of transmitting the message. The private protocol can realize communication between servers based on the transmission control protocol. The transmission control protocol can be one of the communication protocols of the multiple transport layers.
[0055] The job server can obtain specific fields corresponding to the data monitoring request based on the private protocol. The specific field can be a specified field included in the message structure defined by the private protocol after optimization. The job server obtains the message configuration information corresponding to the private protocol. The message configuration information may include message structure information and message format information, and the message structure information may include header structure information and message body structure information. Correspondingly, the message format information may include header format information and message body format information. The job server generates a message header according to the message configuration information, uses the medical indicators corresponding to the various medical data as the message body, and generates a medical message according to the message header and the message body.
[0056] Step 210, sending the medical message to the web application server, so that the web application server parses the medical message according to a preset private protocol to obtain medical indicator data corresponding to a variety of medical data.
[0057] The job server can send the generated medical message to the web application server through the communication channel between the job server and the web application server. Among them, the communication channel between the job server and the web application server can be connected according to the transport layer transmission control protocol corresponding to the private protocol. Specifically, the web application server is provided with the same private protocol as the job server, and the web application server can parse the medical message according to the private protocol. The web application server can parse the message header of the medical message, obtain the version information in the message header, and then determine the corresponding version of the private protocol according to the version information, and parse the medical message through the private protocol with the same version. The web application server can determine the real indicator part in the message body according to the length of the medical indicator, avoid the omission of the indicator data, and ensure the validity of the indicator data transmission. The web application server can respond to the operation corresponding to the request according to the request type, and route and forward the data according to the data monitoring request, so as to realize the communication with the job server, and then realize the effective monitoring of medical data in a multi-dimensional manner.
[0058] In this embodiment, the job server divides the medical data into multiple medical data according to multiple dimensions, and aggregates each type of medical data according to a preset time interval, which can reduce unnecessary repeated data processing operations in a multi-dimensional manner, which is conducive to improving the effectiveness of medical indicators. The job server generates medical messages according to the medical indicators corresponding to the multiple medical data through a preset private protocol, and sends the medical messages to the web application server. Since the message structure agreed in the private protocol is simple and the data volume is small, the traffic resources in the data transmission process are effectively saved. Medical data can be effectively monitored in a multi-dimensional manner.
[0059] In one embodiment, Figure 3As shown, the steps of dividing the medical data into multiple medical data according to multiple dimensions include:
[0060] Step 302: divide the medical data into current medical data and non-current medical data according to the time dimension.
[0061] Step 304: divide the current medical data into second medical data and third medical data according to the attribute dimension.
[0062] Step 306: Use the third medical data and the non-current medical data as the first medical data.
[0063] The multiple medical data include first medical data and second medical data, the multiple dimensions include a time dimension and an attribute dimension, and dividing the medical data into multiple medical data according to the multiple dimensions includes: dividing the medical data into current medical data and non-current medical data according to the time dimension; dividing the current medical data into second medical data and third medical data according to the attribute dimension; and treating the third medical data and the non-current medical data as the first medical data.
[0064] The job server can divide the medical data into first medical data and second medical data according to multiple dimensions. The first medical data may include current medical data and non-current medical data that are not frequently called. The second medical data may include current medical data that are frequently called. Specifically, the job server divides the medical data into current medical data and non-current medical data according to the time dimension in multiple dimensions. The job server divides the current medical data into second medical data and third medical data according to the attribute dimension. The second medical data may include medical data that are frequently called. The third medical data may include medical data that are not frequently called. The attribute dimension may include attribute information of the medical data. The job server then uses the third medical data and non-current medical data as the first medical data, thereby dividing the medical data into first medical data and second medical data. For example, when the attribute information of the current medical data is age, the current medical data belongs to the third medical data. When the attribute information of the current medical data is disease, the current medical data belongs to the second medical data.
[0065] In this embodiment, the job server divides the medical data into first medical data and second medical data according to the time dimension and the attribute dimension, and can convert complex medical data into simple medical data, so as to aggregate each type of medical data separately, avoiding repeated operations during data aggregation. This is further conducive to improving the effectiveness of medical indicators, thereby effectively monitoring medical data in a multi-dimensional manner.
[0066] In one embodiment, each type of medical data is aggregated according to a preset time interval to obtain a medical indicator corresponding to each type of medical data, including: extracting label data corresponding to each medical tag in each type of medical data according to a preset time interval and multiple medical tags; aggregating the extracted label data to obtain summary data corresponding to each type of medical data; aggregating the summary data corresponding to each type of medical data to obtain medical indicators corresponding to multiple types of medical data.
[0067] The job server divides the medical data into multiple medical data. The multiple medical data may include first medical data and second medical data. The first medical data may include current medical data and non-current medical data that are not frequently called. The second medical data may include current medical data that are frequently called. The preset time intervals for the job server to aggregate the multiple medical data may be different. For example, the time interval for aggregating the first medical data may be 24 hours, and the time interval for aggregating the second medical data may be 10 minutes. The job server extracts the label data corresponding to each medical label in each medical data according to the preset time interval and multiple medical labels. Each type of medical data may correspond to multiple medical labels. For example, when the medical label is the number of visits, the job server may extract the number of visits from the medical data.
[0068] The job server summarizes the extracted tag data to obtain the summary data corresponding to each medical data. The job server then arranges the summary data corresponding to each medical data in a preset order, aggregates the arranged summary data into one piece of data, and obtains the medical indicators corresponding to each medical data. The job server obtains the medical indicators corresponding to multiple medical data according to the medical indicators corresponding to each medical data. The medical indicators can be specific values corresponding to the medical tags. The medical indicators corresponding to the first medical data may include the annual cumulative number of settlements, the annual cumulative medical resource data, the annual cumulative consumption data, the annual cumulative number of filings, the names of diseases within a preset time period, the patient burden within a preset time period, the age distribution within a preset time period, etc. The medical indicators corresponding to the second medical data may include the current number of settlements, the current medical resource data, the current consumption data, the current number of newly filed filings, the current patient burden, the number of visits, the amount of visits, etc.
[0069] In this embodiment, the job server extracts the tag data corresponding to each medical tag in each medical data according to the preset time interval and multiple medical tags, and can process the dynamic medical data in a timely manner. The job server summarizes and aggregates the tag data, and can understand the medical indicators corresponding to multiple medical data, which is conducive to the effective monitoring of medical data.
[0070] In one embodiment, generating a medical message according to medical indicators corresponding to multiple medical data through a preset private protocol includes: obtaining a specific field corresponding to a data monitoring request based on the preset private protocol, the preset private protocol is an application layer protocol obtained after optimization processing based on a transmission control protocol; obtaining message configuration information corresponding to the preset private protocol, the message configuration information includes header format information corresponding to the specific field; optimizing the specific field according to the header format information to obtain a specific optimized field with a specific number of bytes; generating a message header according to the specific optimized field, using the medical indicators corresponding to the multiple medical data as a message body, and generating a medical message according to the message header and the message body.
[0071] After obtaining the data monitoring request, the job server can parse the data monitoring request according to the private protocol to obtain the request type corresponding to the data monitoring request. The request type can be marked with the corresponding type identifier. The task type corresponding to the data monitoring request can be one of multiple specific fields. The job server can obtain medical data according to the data monitoring request, divide and aggregate the medical data, and obtain medical indicators. Among them, the medical indicator can be text data uploaded by the user to the job server, and the text data can be a single character or a string composed of multiple characters. The job server can count the data length corresponding to the medical indicator. For example, when the medical indicator is a string, the job server can count the number of characters included in the string. When the medical indicator is data in binary format, the job server can count the number of bits of the binary data to determine the indicator length corresponding to the medical indicator.
[0072] The private protocol can be updated according to actual business needs, and the corresponding version of the private protocol can be obtained after the update. After multiple updates to the private protocol, the corresponding multiple versions of the private protocol can be obtained. The job server can obtain the version information of the private protocol corresponding to the data monitoring request, and the version information may include a version identifier for marking the private protocol version information. The job server can obtain multiple specific fields corresponding to the data monitoring request according to the private protocol, and the specific fields include the request type corresponding to the data monitoring request, the indicator length corresponding to the medical indicator, and the version information corresponding to the private protocol. In the traditional application layer protocol, the message structure also includes a large number of fields such as the request method, application name, uniform resource locator, and connection attributes. Compared with the traditional message header, the specific fields obtained based on the private protocol only include some fields, and unnecessary fields are eliminated, thereby effectively reducing the data volume of the medical message and saving the communication resources of the job server when transmitting the medical message.
[0073] The job server can obtain the message configuration information corresponding to the private protocol of the data monitoring request. Among them, the message configuration information corresponding to the private protocol records the configuration information of the message corresponding to different request types. The job server can optimize the specific field according to the header format information in the message configuration information. Specifically, the job server can read the field format information corresponding to multiple specific fields from the header format information, and optimize the corresponding specific field according to the field format information. The field format information can record the data format required for the corresponding specific field. For example, the job server can optimize the specific field according to the field format information and convert the specific field into binary format data. The field format information can also record the optimized data size of the corresponding specific field. The field format information can include the number of bytes occupied by the corresponding specific field after optimization, and the number of bytes occupied by each specific field can be fixed. After the job server optimizes the corresponding specific field according to the field format information, a specific optimized field with a specific number of bytes can be obtained. Compared with the traditional method, the number of bytes occupied by the specific field is simplified, the data volume of the medical message is effectively reduced, and the communication cost of the job server is reduced.
[0074] The job server can splice multiple optimized specific optimization fields according to the header structure information in the message configuration information to generate a message header. The specific optimization field of the message header can include and only include the optimized request type, indicator length and version information. The job server can obtain a serialization model and input the medical data into the serialization model. The serialization model can be a data processing model established and trained by the job server according to the data serialization protocol. The data serialization protocol can specifically be a Protocol Buffer protocol, which defines an efficient structured data exchange format. The job server can establish a serialization model according to the Protocol Buffer protocol. The job server can call the serialization model to serialize the input medical indicators, convert the medical indicators into target indicators in a binary format corresponding to the message body format information, and encapsulate the target indicators to obtain the message body of the medical message. After the job server transmits the medical message to the web application server, the web application server can obtain the message body by parsing the medical message, and deserialize the target indicators in the message body according to the message body format information corresponding to the private protocol, so as to obtain the medical indicators uploaded by the job server. Compared with XML formatted strings, the target indicators in binary format with the same data content have a smaller amount of data, and the transmission speed is faster, which reduces the communication resources consumed when transmitting medical messages. Even in poor network environments, smaller medical messages can reduce the number of retransmissions, ensure the effectiveness of medical indicator transmission, and reduce communication costs. In addition, the web application server needs to deserialize and restore the medical indicators according to the message format information corresponding to the private protocol, which effectively improves the security of medical indicators.
[0075] In this embodiment, the job server obtains the specific field corresponding to the data monitoring request according to the preset private protocol, and the private protocol is the application layer protocol obtained after the optimization process. The job server optimizes the specific field according to the header format information in the message configuration information, obtains the specific optimized field of the specific number of bytes, and generates the medical message according to the specific optimized field and the medical indicator. The job server sends the medical message to the web application server, so that the web application server parses the medical message to obtain the medical indicator. The medical message is encapsulated according to the private protocol. Even if the medical message is leaked or intercepted, the medical message cannot be parsed without the private protocol, which effectively improves the security of the medical indicator in the medical message. Compared with the message header structure of the traditional application layer protocol including a large number of fields, and each field includes a large amount of data, in this embodiment, by obtaining some specific fields, the structure of the message header is simplified, unnecessary fields are eliminated, and the specific fields are optimized accordingly, the bytes occupied by the fields are reduced, thereby reducing the data volume of the generated medical message, effectively reducing the communication resources consumed by the job server when transmitting the medical message, and reducing the communication cost of the job server.
[0076] In one embodiment, the specific fields obtained by the job server may include the request type corresponding to the data monitoring request, the indicator length corresponding to the medical indicator, and the version information corresponding to the private protocol. The job server optimizes the specific fields according to the field format information corresponding to each specific field, and obtains a specific optimized field in binary format including a specific number of bytes. The optimized request type occupies 2 bytes, the optimized version information occupies 2 bytes, and the optimized indicator length occupies 4 bytes. The job server optimizes the specific fields through the message format information, which can unify the data format of the specific fields and simplify the specific fields to obtain specific optimized fields with fewer bytes. Compared with the traditional message fields that need to occupy a large number of bytes, the amount of data contained in the specific fields is effectively reduced.
[0077] In one embodiment, the job server may pre-process the medical indicator before encapsulating the medical indicator into a message body. The job server may process the medical indicator using one or more of a variety of pre-processing methods. For example, the pre-processing method of the job server may compress the medical indicator, encrypt the medical indicator, or a combination of compression and encryption.
[0078] Specifically, after the job server obtains the corresponding index length by counting the medical index, it can compare the index length corresponding to the medical index with the preset value. The preset value can be a length value preset by the user according to actual needs. When the index length is less than or equal to the preset value, the job server can directly generate a message body according to the medical index. When the index length is greater than the preset value, the job server can call a preset compression algorithm to compress the medical index, and generate a message body according to the compressed medical index with a smaller data volume. Among them, the preset compression algorithm can be one or more of a variety of compression algorithms. For example, the compression algorithm can include LZW (Lempel-Ziv-Welch Encoding, string table compression algorithm) algorithm and Huffman compression algorithm. The job server compresses the medical index through the compression algorithm, reduces the data volume of the corresponding message body, thereby reducing the communication resources consumed by the job server when transmitting the medical message, and reducing the communication cost of the job server. The job server can also encrypt the medical index. Among them, the encrypted medical index can be a compressed medical index or an uncompressed medical index. The job server can obtain multiple encryption algorithms to encrypt the medical indicators, and generate corresponding message bodies according to the encrypted medical indicators. For example, the encryption algorithm can be an ECC (Elliptic curve cryptography) algorithm, or it can be encrypted according to the AES (Advanced Encryption Standard) standard, or a combination of multiple encryption algorithms can be called to encrypt the medical indicators.
[0079] In this embodiment, the job server may pre-process the medical indicators before generating a message body according to the medical indicators. The job server compresses the medical indicators by calling a compression algorithm, and generates a message body according to the compressed medical indicators, thereby reducing the amount of data in the corresponding message body, thereby reducing the communication resources consumed by the job server when transmitting medical messages, and reducing the communication cost of the job server. The job server encrypts the medical indicators by calling an encryption algorithm, and generates a message body according to the encrypted medical indicators. Even if the medical message is leaked or intercepted, the data in the message body cannot be decrypted, which effectively improves the security of the medical indicators in the medical message.
[0080] In one embodiment, the multiple medical data include first medical data and second medical data, and the above method also includes: storing the medical indicators corresponding to the first medical data in a relational database and storing the medical indicators corresponding to the second medical data in a time series database; when receiving a data query request from a web application server, extracting the corresponding target indicators in the relational database and the time series database according to the data query request; generating a target message according to the target indicator, and sending the target message to the web application server according to a preset private protocol.
[0081] After the job server aggregates each medical data according to a preset time interval and obtains the medical indicators corresponding to the multiple medical data, the medical indicators can be stored. The medical indicators may include the medical indicators corresponding to the first medical data and the medical indicators corresponding to the second medical data. Specifically, the job server stores the medical indicators corresponding to the first medical data in a relational database, and stores the medical indicators corresponding to the second medical data in a time series database. For example, the relational database may be a MySQL database or a PostgreSQL database. The time series database may be a pipelinedb database. The job server receives a data query request sent by a web application server. The data query request may be a terminal sending a data query request to a web application server, and the web application server forwarding the data query request to the job server. The web application server may receive the data query request sent by the terminal through a load balancer, and call the reverse proxy server according to the data query request to distribute the data query request to the job server. For example, the load balancer may be F5, and the reverse proxy server may be Nginx.
[0082] The job server parses the data query request to obtain the request parameters. The job server extracts the corresponding target indicators from the relational database and the time series database according to the request parameters. The job server generates a target message according to the extracted target indicators, and then sends the target message to the web application server according to the private protocol. The web application server thus parses the medical message according to the private protocol to obtain medical indicators corresponding to a variety of medical data. The web application server then sends the parsed medical indicators to the terminal for display. For example, the medical indicators corresponding to the displayed first medical data may include the annual cumulative number of settlements, the annual cumulative medical resource data, the annual cumulative consumption data, the annual cumulative number of filings, the disease name within the preset time period, the patient burden within the preset time period, the age distribution within the preset time period, etc. Among them, the preset time period can be one week. The medical indicators corresponding to the displayed second medical data may include the current number of settlements, the current medical resource data, the current consumption data, the current number of newly filed, the current patient burden, the number of visits, the amount of visits, etc.
[0083] In this embodiment, the job server stores the medical indicators corresponding to the first medical data in a relational database and stores the medical indicators corresponding to the second medical data in a time series database. Since the medical indicators corresponding to the first medical data do not need to be called frequently and may exist between multiple forms, queries will be performed between multiple forms when performing data queries. The relational database can establish associations between related fields. When a field data is modified, the field data associated with it will also be automatically modified accordingly, which can ensure data consistency and improve the accuracy of data queries. In addition, the cost of relational databases is relatively low. The medical indicators corresponding to the second medical data are currently frequently called data, and the frequency of data queries is relatively high, while the time series database can reduce query delays to ensure improved data query efficiency.
[0084] It should be understood that although Figures 2 to 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figures 2 to 3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0085] In one embodiment, Figure 4 As shown, a medical data monitoring device is provided, including: a communication module 402, a division module 404, an aggregation module 406 and a generation module 408, wherein:
[0086] The communication module 402 is used to obtain a data monitoring request and obtain medical data according to the data monitoring request.
[0087] The division module 404 is used to divide the medical data into multiple types of medical data according to multiple dimensions.
[0088] Aggregation module 406 is used to aggregate each type of medical data according to a preset time interval to obtain medical indicators corresponding to the multiple medical data.
[0089] The generating module 408 is used to generate a medical message according to the medical indicators corresponding to the various medical data through a preset private protocol.
[0090] The communication module 402 is also used to send the medical message to the web application server, so that the web application server parses the medical message according to a preset private protocol to obtain medical indicators corresponding to a variety of medical data.
[0091] In one embodiment, the division module 404 is also used to divide the medical data into current medical data and non-current medical data according to the time dimension; divide the current medical data into second medical data and third medical data according to the attribute dimension; and use the third medical data and non-current medical data as the first medical data.
[0092] In one embodiment, the aggregation module 406 is also used to extract label data corresponding to each medical tag in each medical data according to a preset time interval and multiple medical tags; summarize the extracted label data to obtain summary data corresponding to each medical data; aggregate the summary data corresponding to each medical data to obtain medical indicators corresponding to multiple medical data.
[0093] In one embodiment, the generation module 408 is also used to obtain a specific field corresponding to a data monitoring request based on a preset private protocol, where the preset private protocol is an application layer protocol obtained after optimization processing based on the transmission control protocol; obtain message configuration information corresponding to the preset private protocol, where the message configuration information includes header format information corresponding to a specific field; optimize the specific field according to the header format information to obtain a specific optimized field with a specific number of bytes; generate a message header according to the specific optimized field, use medical indicators corresponding to a variety of medical data as a message body, and generate a medical message according to the message header and the message body.
[0094] In one embodiment, the above device further comprises:
[0095] The storage module is used to store the medical indicators corresponding to the first medical data in a relational database and to store the medical indicators corresponding to the second medical data in a time series database.
[0096] The extraction module is used to extract corresponding target indicators from the relational database and the time series database according to the data query request when receiving the data query request from the web application server.
[0097] The communication module 402 is further used to generate a target message according to the target indicator, and send the target message to the web application server according to a preset private protocol.
[0098] For the specific definition of the medical data monitoring device, please refer to the definition of the medical data monitoring method above, which will not be repeated here. Each module in the above medical data monitoring device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0099] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store medical indicators. The network interface of the computer device is used to communicate with an external job server through a network connection. When the computer program is executed by the processor, a medical data monitoring method is implemented.
[0100] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0101] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in various method embodiments when executing the computer program.
[0102] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in each method embodiment are implemented.
[0103] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0104] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0105] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A medical data monitoring method, the method include: Obtaining a data monitoring request, and obtaining medical data according to the data monitoring request; Dividing the medical data into multiple types of medical data according to multiple dimensions; the multiple dimensions include a time dimension and an attribute dimension; Aggregate each medical data according to preset time intervals and medical tags to obtain medical indicators corresponding to multiple medical data; the medical indicators are specific values of medical tags corresponding to each medical data; the medical tags at least include annual cumulative number of settlements, current number of settlements, annual cumulative medical resource data and current medical resource data; Generate a medical message according to the medical indicators corresponding to the multiple medical data through a preset private protocol, including: obtaining a specific field corresponding to the data monitoring request based on the preset private protocol, the preset private protocol is an application layer protocol obtained after optimization processing based on the transmission control protocol; the specific field includes the request type corresponding to the data monitoring request, the indicator length corresponding to the medical indicator and the version information corresponding to the preset private protocol; obtain the message configuration information corresponding to the preset private protocol, the message configuration information includes the header format information corresponding to the specific field; optimize the specific field according to the header format information to obtain a specific optimized field with a specific number of bytes; generate a message header according to the specific optimized field, use the medical indicators corresponding to the multiple medical data as the message body, and generate a medical message according to the message header and the message body; The medical message is sent to a web application server, so that the web application server parses the medical message according to the preset private protocol to obtain medical indicators corresponding to a variety of medical data.
2. The method according to claim 1, It is characterized in that The multiple medical data include first medical data and second medical data, and the dividing the medical data into multiple medical data according to multiple dimensions includes: Dividing the medical data into current medical data and non-current medical data according to a time dimension; dividing the current medical data into second medical data and third medical data according to the attribute dimension; The third medical data and the non-current medical data are used as the first medical data.
3. The method according to claim 1, It is characterized in that The medical indicators corresponding to the various medical data are obtained by aggregating each medical data according to the preset time interval and medical label, including: Extracting tag data corresponding to each medical tag from each type of medical data according to a preset time interval and a plurality of medical tags; Summarize the extracted label data to obtain summary data corresponding to each type of medical data; The summary data corresponding to each type of medical data are aggregated to obtain medical indicators corresponding to the multiple medical data.
4. The method according to any one of claims 1 to 3, It is characterized in that The plurality of medical data includes first medical data and second medical data, and the method further includes: Storing the medical indicators corresponding to the first medical data in a relational database and storing the medical indicators corresponding to the second medical data in a time series database; When receiving a data query request from a web application server, extracting corresponding target indicators from the relational database and the time series database according to the data query request; A target message is generated according to the target indicator, and the target message is sent to a web application server according to a preset private protocol.
5. A medical data monitoring device, It is characterized in that The device comprises: A communication module, used to obtain a data monitoring request, and obtain medical data according to the data monitoring request; A division module, used for dividing the medical data into multiple types of medical data according to multiple dimensions; the multiple dimensions include a time dimension and an attribute dimension; An aggregation module is used to aggregate each medical data according to a preset time interval and a medical tag to obtain medical indicators corresponding to the multiple medical data; the medical indicator is a specific value of the medical tag corresponding to each medical data; the medical tag at least includes the annual cumulative number of settlements, the current number of settlements, the annual cumulative medical resource data and the current medical resource data; A generation module, used to generate a medical message according to the medical indicators corresponding to the multiple medical data through a preset private protocol, including: obtaining a specific field corresponding to the data monitoring request based on the preset private protocol, the preset private protocol is an application layer protocol obtained after optimization processing based on the transmission control protocol; the specific field includes a request type corresponding to the data monitoring request, an indicator length corresponding to the medical indicator, and version information corresponding to the preset private protocol; obtaining message configuration information corresponding to the preset private protocol, the message configuration information includes header format information corresponding to the specific field; optimizing the specific field according to the header format information to obtain a specific optimized field with a specific number of bytes; generating a message header according to the specific optimized field, taking the medical indicators corresponding to the multiple medical data as a message body, and generating a medical message according to the message header and the message body; The communication module is also used to send the medical message to the web application server, so that the web application server parses the medical message according to the preset private protocol to obtain medical indicators corresponding to multiple medical data.
6. The device according to claim 5, It is characterized in that The division module is also used to divide the medical data into current medical data and non-current medical data according to the time dimension; divide the current medical data into second medical data and third medical data according to the attribute dimension; and use the third medical data and non-current medical data as the first medical data.
7. The device according to claim 5, It is characterized in that The aggregation module is also used to extract label data corresponding to each medical tag in each medical data according to a preset time interval and multiple medical tags; summarize the extracted label data to obtain summary data corresponding to each medical data; and aggregate the summary data corresponding to each medical data to obtain medical indicators corresponding to multiple medical data.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
