Disclosure of Invention
The embodiment of the application provides a system and a method for communicating a public health system with a medical system, which solve the problem that the data sharing of the public health system and the medical system cannot be completed in the prior art.
A public health system and medical system interworking system in one embodiment, comprising:
the public health system is used for storing a health file data packet and uploading the stored health file data packet to the intranet sharing server, wherein the health file data packet comprises health files of different patients and randomly generated URL addresses, and the randomly generated URL addresses are generated by adopting a random URL generator;
the intranet sharing server is used for verifying the reliability of the randomly generated URL address, storing the health file data packet uploaded by the public health system after the URL address is successfully verified, and sharing the health file data packet to the medical system server;
the medical system server is used for acquiring medical record data, receiving and storing the health record data packet sent by the intranet sharing server, sharing the medical record data corresponding to the health record to the public health system under the condition that a pushing instruction is detected, and prohibiting sending data to the intranet sharing server through a prohibition protocol.
Optionally, the intranet sharing server includes a first intranet sharing server and a second intranet sharing server;
the first intranet sharing server is used for verifying the health file data packet uploaded by the public health system and sending the health file data packet successfully verified to the second intranet sharing server;
the second intranet sharing server is used for backing up the health file data packet sent by the first intranet sharing server and sending the health file data packet to the medical system server.
Optionally, if the URL address includes a random number, the intranet sharing server is configured to verify the reliability of the URL address generated randomly, including:
the intranet sharing server reorganizes and splices the numbers in the URL address according to a preset algorithm;
acquiring a time stamp corresponding to the URL, wherein the time stamp corresponds to a preset random number;
comparing and verifying the random number in the URL with the preset random number, if the verification is successful, further verifying the recombined and spliced URL address, and if both the verification is successful, determining that the URL address verification is successful.
Optionally, the medical system server is configured to share medical record data corresponding to the health record to the public health system, and includes:
after receiving a medical record acquisition request sent by the public health system, the medical system server authenticates the request, wherein the medical record acquisition request comprises a patient ID;
after authentication is successful, medical record data corresponding to the patient ID is sent to the public health system through websocket protocol.
Optionally, the medical system server is further configured to generate push data according to the health record data packet and the push instruction, send the push data to a communication server, and send the health record data packet to a user terminal through the communication server when the push instruction is detected.
Optionally, the medical system server is further configured to receive a push instruction sent by a communication server, where the push instruction is generated by the communication server according to a data request, the data request is sent by the user terminal to the communication server, and the push instruction includes a user identifier of the user terminal;
the medical system server generates push data according to the health record data packet and the push instruction, sends the push data to the communication server, and sends the health record data packet to the user terminal through the communication server, and comprises the following steps:
the medical system server acquires a target hospital identifier associated with a user identifier contained in the pushing instruction, acquires a health record data packet corresponding to the target hospital identifier as pushing data, sends the pushing data to the communication server, and sends the health record data packet to the user terminal through the communication server, wherein the health record data packet stored on the medical system server corresponds to the hospital identifier, and the hospital identifier is used for marking a hospital where a public health system for generating the uploading health record data packet is located.
The embodiment of the invention also provides an intercommunication method of the public health system and the medical system, which comprises the following steps:
the public health system stores a health file data packet, and uploads the stored health file data packet to an intranet sharing server, wherein the health file data packet comprises health files of different patients and randomly generated URL addresses, and the randomly generated URL addresses are generated by a random URL generator;
the intranet sharing server verifies the reliability of the randomly generated URL address, stores the health file data packet uploaded by the public health system after the URL address is successfully verified, and shares the health file data packet to the medical system server;
the medical system server obtains medical record data, receives and stores the health record data packet sent by the intranet sharing server, shares the medical record data corresponding to the health record to the public health system under the condition that a pushing instruction is detected, and prohibits sending data to the intranet sharing server through a prohibition protocol.
Optionally, the intranet sharing server includes a first intranet sharing server and a second intranet sharing server;
the first intranet sharing server is used for verifying the health file data packet uploaded by the public health system and sending the health file data packet successfully verified to the second intranet sharing server;
the second intranet sharing server is used for backing up the health file data packet sent by the first intranet sharing server and sending the health file data packet to the medical system server.
According to the intercommunication system and the method for the public health system and the medical system, the public health system and the medical system are opened through the sharing operation of the intranet sharing server, the medical efficiency is improved, the sharing of abnormal and non-public health system data is stopped through the authentication checking mechanism, and the confidentiality of the data is improved.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
The medical treatment is not isolated, and the public and medical treatment systems are independent, so that the public and medical treatment systems are very required to be integrated in the aspects of actually managing the health and diagnosis of patients. The device provided by the embodiment of the invention provides a related interface technology, so that the public health record is imported into a big data center, and comprehensive patient health information is provided for clinicians. Meanwhile, data of the public and the sanitation of the area are provided for the public and the sanitation, medical staff of villages and community sanitariums can read and check medical records, precious and direct professional advice is provided for community health management, and the basic health of workers is guaranteed.
Fig. 1 is a schematic diagram of an interworking system between a public health system and a medical system in one embodiment. The public health system and medical system interworking system in the present embodiment includes a public health system 102, an intranet sharing server 104, and a medical system server 106. Specific:
the public health system 102 is configured to store a health record data packet, and upload the stored health record data packet to an intranet sharing server, where the health record data packet includes health records of different patients and randomly generated URL addresses, and the randomly generated URL addresses are generated by using a random URL generator;
the intranet sharing server 104 is configured to verify the reliability of the randomly generated URL address, store the health record data packet uploaded by the public health system after the URL address is successfully verified, and share the health record data packet to a medical system server;
the medical system server 106 is configured to obtain medical record data, receive and store the health record data packet sent by the intranet sharing server, share medical record data corresponding to the health record to the public health system when a push instruction is detected, and prohibit sending data to the intranet sharing server through a prohibition protocol.
It will be appreciated that the public health system (Public Health Information System, PHIS) is a separate system established by the country and serving public health, and differs from traditional medical systems in that it is mainly aimed at primary (e.g. community) or social medical measures, but is mainly aimed at individuals, and is distinguished from hospital medical measures, including vaccination, health education, health supervision, disease prevention and disease control, etc., and is essentially different from medical systems, but serves public health, so that in embodiments of the invention, the two are data-shared by data sharing services, forming an integrated "health-care body". The public health system comprises public personal health files, such as conventional physical examination, vaccine conditions and the like, which are lack of the hospitals, and the sharing of the public health system and medical record data is realized on the premise of strict data management authority by means of the fort mechanism provided by the embodiment of the invention, so that the safety of the data is ensured, the convenience of the data is realized, and the development of modern medical information is met.
In the embodiment of the invention, the URL address can be generated by a random URL generator for redirecting redirect or refreshing refresh, so that the technology is mature, and the embodiment of the invention is not tired.
The URL may include a random number corresponding to the time stamp, which varies from time to time. The intranet sharing server is used for verifying the reliability of the randomly generated URL address, which may be specifically:
the intranet sharing server reorganizes and splices the numbers in the URL address according to a preset algorithm; for example, the intranet sharing server utilizes 'getturl ()' to acquire a URL address, and the URL address acquired currently is https:// www.abc.cn/post/999-234-342; the digits in the URL address are recombined according to a preset algorithm (assuming that the last digit 2 is a random number, the simplest recombination algorithm is to sequentially perform 1 adding operation on each non-random number, the embodiment of the invention aims to emphasize the recombination of the digits, and the algorithm is not limited), and the recombined URL is https:// www.abc.cn/post/000-345-452.
Acquiring a time stamp corresponding to the URL, wherein the time stamp corresponds to a preset random number; each URL corresponds to a timestamp when sent, and is accurate to millisecond, for example, the timestamp format can be yen, month, time, minute, second, millisecond, YYYY-MM-DD-HH-MM-SSSSSs, the timestamp is obtained, a random number generator in the intranet sharing server is used for pushing out a preset random number corresponding to the timestamp after the timestamp is obtained, for example, the preset random number is 2, and the preset random number needs to be compared with the preset random number contained in the URL.
Comparing and verifying the random number in the URL with the preset random number, if the verification is successful, further verifying the recombined and spliced URL address, and if both the verification is successful, determining that the URL address verification is successful. For the above example, firstly, the random number 2 of the URL is compared with the preset random number 2 in consistency, and the verification is determined to be successful because the values are the same, secondly, the URL is verified in a PING mode, and if the verification is successful, the URL address is determined to be correct, and the corresponding health record data is true and reliable.
Under the condition that a medical system server detects a pushing instruction, sharing medical record data corresponding to the health file to the public health system, specifically: after receiving a medical record acquisition request sent by the public health system, authenticating the request, wherein the medical record acquisition request comprises a patient ID;
after authentication is successful, medical record data corresponding to the patient ID is sent to the public health system through websocket protocol.
In the embodiment provided by the application, the medical system server is connected with the intranet sharing server, and the medical system server is used for communicating with equipment outside a hospital so as to ensure the safety of the intranet sharing server. Specifically, the intranet sharing server and the medical system server are unidirectional, and the intranet sharing server can send data to the medical system server, but the medical system server cannot send data to the intranet sharing server. In one embodiment, the medical system server may disable the sending of data to the intranet sharing server via a disabling protocol, either hardware or software, but is not limited thereto.
The intranet sharing server may send data to the medical system server at regular intervals or may send data to the medical system server at irregular intervals. For example, when the newly added health record data packet on the intranet sharing server exceeds a certain data amount, the newly added health record data packet is pushed to the medical system server, or when the operation load of the intranet sharing server is smaller, the health record data packet is pushed to the medical system server, which is not limited herein.
After receiving the health record data packet sent by the intranet sharing server, the medical system server stores the received health record data packet so as to prevent the loss of the health record data packet. The medical system server may communicate with the external network device, e.g., the patient may send a data query request to the medical system server via the patient terminal, and the medical system server queries the corresponding data and sends the data to the patient terminal. The expert outside the hospital can also send a request to the medical system server through the expert terminal, and the medical system server returns the data obtained after processing the request to the expert terminal. The medical system server may also actively send data to the user terminal.
It can be seen that the medical system server can generate push data according to the health record data packet under the condition that the push instruction is detected. The pushing instruction may be sent by an external network device, may be sent by an internal network sharing server, or may be automatically generated when a medical system server meets a trigger condition under the condition of a device trigger condition, and is not limited herein.
According to the intercommunication system of the public health system and the medical system, the public health system and the medical system are opened through the sharing operation of the intranet sharing server, the medical efficiency is improved, the sharing of abnormal and non-public health system data is stopped through the arrangement of the authentication checking mechanism, and the confidentiality of the data is improved.
In another embodiment provided in the present application, as shown in fig. 2, the intranet sharing server 104 includes a first intranet sharing server 1040 and a second intranet sharing server 1042; the first intranet sharing server 1040 is configured to store and verify the health record data packet uploaded by the public health system, and send the health record data packet to the second intranet sharing server 1042 after the verification is successful; the second intranet sharing server 1042 is configured to backup the first intranet sharing server 1040, send a health record data packet, and send the health record data packet to the medical system server 106; the second intranet sharing server comprises a second intranet appointed server, and the medical system server only receives the health file data packet sent by the second intranet appointed server.
Specifically, data communication is realized through the first intranet sharing server and the public health system, the health file data packet sent by the first intranet sharing server is received, and meanwhile, the first intranet sharing server can store the received health file data packet. The second intranet sharing server realizes the backup of the health file data package, and after the first intranet sharing server receives the health file data package, the received health file data package can be sent to the second intranet sharing server for backup, so that the safety of the health file data package is ensured, and the loss of the health file data package is prevented.
The second intranet sharing server can be in communication with the medical system server, and the health record data packet is sent through the second intranet sharing server like the medical system server. Further, the second intranet sharing server may include a second intranet designating server, where the medical system server only receives the health record data packet sent by the second intranet designating server, and cannot receive the health record data packet sent by other devices, so as to ensure safety of data communication.
In an embodiment provided in the present application, the first intranet sharing server is further configured to process the health record data packet; the second intranet sharing server is further configured to concurrently process the health record data packet under the condition that the first intranet sharing server processes the health record data packet to be overloaded.
The first intranet sharing server can process the health file data packet. For example, the compression processing is performed on the health record data packet, or the deep learning is performed on the health record data packet, etc., without being limited thereto. And when the first intranet sharing server processes the overload of the health file data packet, the second intranet sharing server can be used for carrying out concurrent processing. And the second intranet sharing server performs concurrent processing, so that the pressure of the first intranet sharing server for processing the health file data packet can be shared, and the data processing efficiency is improved.
FIG. 3 is a data management method in one embodiment, comprising:
s302, a public health system stores a health file data packet, and uploads the stored health file data packet to an intranet sharing server, wherein the health file data packet comprises health files of different patients and randomly generated URL addresses, and the randomly generated URL addresses are generated by a random URL generator;
s304, the intranet sharing server verifies the reliability of the randomly generated URL address, stores the health file data packet uploaded by the public health system after the URL address is successfully verified, and shares the health file data packet to a medical system server;
s306, the medical system server acquires medical record data, receives and stores the health record data packet sent by the intranet sharing server, shares the medical record data corresponding to the health record to the public health system under the condition that a pushing instruction is detected, and prohibits sending data to the intranet sharing server through a prohibition protocol.
In one embodiment, the intranet sharing server includes a first intranet sharing server and a second intranet sharing server; the health file uploaded by the medical terminal is stored and verified through a first intranet sharing server, and the health file is sent to a second intranet sharing server; backing up the first intranet sharing server through a second intranet sharing server to send the health file, and sending the health file to the medical system server; the second intranet sharing server comprises a second intranet appointed server, and the medical system server only receives the health files sent by the second intranet appointed server.
In the embodiment of the invention, the URL address can be generated by a random URL generator for redirecting redirect or refreshing refresh, so that the technology is mature, and the embodiment of the invention is not tired.
The URL may include a random number corresponding to the time stamp, which varies from time to time. The intranet sharing server is used for verifying the reliability of the randomly generated URL address, which may be specifically:
the intranet sharing server reorganizes and splices the numbers in the URL address according to a preset algorithm; for example, the intranet sharing server utilizes 'getturl ()' to acquire a URL address, and the URL address acquired currently is https:// www.abc.cn/post/999-234-342; the digits in the URL address are recombined according to a preset algorithm (assuming that the last digit 2 is a random number, the simplest recombination algorithm is to sequentially perform 1 adding operation on each non-random number, the embodiment of the invention aims to emphasize the recombination of the digits, and the algorithm is not limited), and the recombined URL is https:// www.abc.cn/post/000-345-452.
Acquiring a time stamp corresponding to the URL, wherein the time stamp corresponds to a preset random number; each URL corresponds to a timestamp when sent, and is accurate to millisecond, for example, the timestamp format can be yen, month, time, minute, second, millisecond, YYYY-MM-DD-HH-MM-SSSSSs, the timestamp is obtained, a random number generator in the intranet sharing server is used for pushing out a preset random number corresponding to the timestamp after the timestamp is obtained, for example, the preset random number is 2, and the preset random number needs to be compared with the preset random number contained in the URL.
Comparing and verifying the random number in the URL with the preset random number, if the verification is successful, further verifying the recombined and spliced URL address, and if both the verification is successful, determining that the URL address verification is successful. For the above example, firstly, the random number 2 of the URL is compared with the preset random number 2 in consistency, and the verification is determined to be successful because the values are the same, secondly, the URL is verified in a PING mode, and if the verification is successful, the URL address is determined to be correct, and the corresponding health record data is true and reliable.
Under the condition that a medical system server detects a pushing instruction, sharing medical record data corresponding to the health file to the public health system, specifically: after receiving a medical record acquisition request sent by the public health system, authenticating the request, wherein the medical record acquisition request comprises a patient ID;
after authentication is successful, medical record data corresponding to the patient ID is sent to the public health system through websocket protocol.
In one embodiment, the first intranet sharing server is further configured to process the health record; the second intranet sharing server is further configured to concurrently process the health record under the condition that the first intranet sharing server processes the overload of the health record.
In one embodiment, the medical system server sends push data generated according to the health record and the push instruction to a user terminal when the push instruction is detected, and the method includes: and under the condition that the medical system server detects the pushing instruction, generating pushing data according to the health file and the pushing instruction, sending the pushing data to a communication server, and sending the health file to the user terminal through the communication server.
It will be appreciated that fig. 4 only shows a simplified design of an electronic device. In practical applications, the electronic device may further include other necessary elements, including but not limited to any number of input/output devices, processors, controllers, memories, etc., and all electronic devices that may implement the data management method of the embodiments of the present application are within the scope of protection of the present application.
The memory includes, but is not limited to, random access memory (random access memory, RAM), read-only memory (ROM), erasable programmable read-only memory (erasable programmable read only memory, EPROM), or portable read-only memory (compact disc read to only memory, CD to ROM) for the associated instructions and data.
The input means is for inputting data and/or signals and the output means is for outputting data and/or signals. The output device and the input device may be separate devices or may be a single device.
A processor may include one or more processors, including for example one or more central processing units (central processing unit, CPU), which in the case of a CPU may be a single core CPU or a multi-core CPU. The processor may also include one or more special purpose processors, which may include GPUs, FPGAs, etc., for acceleration processing.
The memory is used to store program codes and data for the network device.
The processor is used to call the program code and data in the memory to perform the steps of the method embodiments described above. Reference may be made specifically to the description of the method embodiments, and no further description is given here.
In the several embodiments provided in this application, it should be understood that the disclosed systems and methods may be implemented in other ways. For example, the division of the unit is merely a logic function division, and there may be another division manner when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. The coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a read-only memory (ROM), or a random-access memory (random access memory, RAM), or a magnetic medium such as a floppy disk, a hard disk, a magnetic tape, a magnetic disk, or an optical medium such as a digital versatile disk (digital versatile disc, DVD), or a semiconductor medium such as a Solid State Disk (SSD), or the like.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any equivalent modifications or substitutions will be apparent to those skilled in the art within the scope of the present application, and these modifications or substitutions should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.