Medical information module middleware interaction system and method based on kylin system
Through the middleware interaction system of the medical information module based on the Kirin system, the problem of inconvenient hardware adaptation and data transmission in Internet hospitals is solved, unified management of hardware equipment and data security is realized, operation complexity is simplified, and system compatibility and security is improved.
Patent Information
- Application Number
- CN202510386211.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2025-07-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology has problems in Internet hospitals with diverse hardware equipment brands and models, complex operating systems, and difficult to ensure data security, resulting in inconvenient hardware adaptation and data transmission, and high system migration costs.
The medical information module middleware interaction system based on the Kirin system is adopted, and hardware adaptation, data transmission and security guarantees are achieved through abstract interface modules, driver integration modules, standardized data transmission modules, data encryption modules, standardized data output modules and basic function packaging modules.
It simplifies hardware equipment management, ensures consistency and security of data transmission, provides a unified driver interface and programming interface, reduces the difficulty of system expansion and maintenance, and improves the security of data transmission and system stability.
Smart Images

Figure CN120340804A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information technology hardware management, and specifically to a middleware interaction system and method for medical information modules based on the Kylin system. Background Art
[0002] Internet hospitals have functions such as consultation, follow-up, and chronic disease management. They are strongly supported by physical hospitals and are convenient for patients online. Simple problems can be solved online without going to the hospital. Internet hospitals are a new form in the field of medical services, and "Internet + medical" is one of the most prominent. Many explorations have been carried out in aspects such as registration settlement, remote diagnosis and treatment, and consultation services. In the actual operation process, Internet hospitals need to use methods and systems for processing Internet hospital medical information. For example, a method and system for processing Internet hospital medical information with the publication number CN 114093496A includes a medical information import module, a medical information classification module, a medical information distribution module, a doctor assignment module, a doctor diagnosis module, a diagnosis result sending module, a user receiving module, an other doctor receiving module, a user evaluation module, an other doctor evaluation module, a data receiving module, a data processing module, a general control module, and an information sending module; the medical information import module is used to import user condition information, and the condition information includes symptom information, ultrasound reports, ultrasound images, and patient cases; the user condition information is sent to the medical information distribution module for doctor department assignment to obtain department assignment information; the department assignment information is sent to the doctor assignment module. The present invention can diagnose the condition of users more accurately, meet different usage requirements, and is more worthy of popularization and use.
[0003] However, in the medical field, the core difficulty lies in the large number of business systems and external hardware devices, and a large amount of operating system adaptation, hardware adaptation, and security adaptation are required. First, there are many brand models of various common hardware modules such as card reading devices, code scanning devices, printing devices, POS card swiping devices, and IOT devices, and most of them run on common operating systems such as Windows and Android. Second, application software needs to integrate various functions of the operating system, such as startup, shutdown, file calling, task management, and instruction execution. In addition, data security and management are also very important. The hardware management system needs to have functions such as data management, encrypted transmission, and consistency verification to ensure the accuracy, stability, and security of data. Finally, users mostly expect to migrate the existing system at low cost and quickly. Summary of the Invention
[0004] Technical problems to be solved:
[0005] In view of the deficiencies of the prior art, the present invention provides a middleware interaction system and method for medical information modules based on the Kylin system, which have the capabilities of hardware adaptation, data transmission, data security, data output, and operating system call; enabling application programs to communicate and interact with driver programs according to a unified specification, and solving the problems of the above-mentioned technologies.
[0006] Technical solution:
[0007] To achieve the above object, the present invention provides the following technical solution: A middleware interaction system for medical information modules based on the Kylin system, the system is composed of an abstract interface module, a driver program integration module, a standardized data transmission module, a data encryption module, a standardized data output module, a basic function encapsulation module, and a resource management module;
[0008] The abstract interface module of the system is used to provide a standardized hardware operation interface and encapsulate the underlying hardware operations into high-level interfaces;
[0009] The driver program integration module is used to integrate the driver programs of various hardware devices into a unified framework;
[0010] The standardized data transmission module is used to provide a standardized interface for data transmission to ensure the consistency of data format and transmission protocol;
[0011] The data encryption module is used to support encrypted data transmission to ensure the security of data during transmission;
[0012] The standardized data output module is used to provide a unified data output interface and support different types of output devices: printers or monitors;
[0013] The basic function encapsulation module is used to encapsulate the basic functions of the operating system, including self-starting, shutting down, restarting, file calling, task management, and instruction execution, and provide a simplified programming interface;
[0014] The resource management module is used to be responsible for the allocation and release of device resources to ensure that multiple application programs can access and use hardware devices simultaneously;
[0015] The various hardware devices in the driver program integration module include touch screens, printers, barcode scanners, bank card readers, window charging computers, POS machines, ticket printers, ID card readers, handwriting signature pads, X-ray films, CT scans, keyboards, mice, and digitizing tablets;
[0016] The expression of the driver program integration module is:
[0017]
[0018] Where: D = {D1, D2, …, Dn} represents the set of drivers for all hardware devices, where D i represents the driver for the i-th hardware device, represents merging all device drivers D i into a unified framework F.
[0019] Preferably, the expression of the abstraction interface module is:
[0020] I = A(H)
[0021] where: H = {h1, j2, …, j n} represents the set of all underlying hardware operations, where j i represents the i-th underlying hardware operation, A represents the abstraction interface module, and A is a function that maps the set of underlying hardware operations H to the set of standardized high-level interfaces I.
[0022] Preferably, the expression of the standardized data transmission module is:
[0023] T = S(D, P)
[0024] where: D = {d1, d2, …, d n} represents the set of all raw data, where d i represents the i-th data; P represents the set of data transmission protocols, p k represents the k-th protocol, and S is a function that maps the set of raw data D and the set of data transmission protocols P to the set of standardized data formats T.
[0025] Preferably, the expression of the data encryption module is:
[0026] c i = E(m i , k j ) for i = 1, 2, …, n and j = 1, 2, …, m
[0027] where: M = {m1, m2, …, m n} represents the set of original messages, where m i represents the i-th original message, K = {k1, k2, …, k m} represents the set of encryption keys, where k j represents the j-th key, and E(m i , k j ) represents encrypting the i-th original message m i using the j-th key k j to obtain the encrypted message c i .
[0028] Preferably, the data encryption module expression further includes:
[0029] The key generation process K used during the encryption process ′ and the encryption process E ′ ;
[0030] K ′ = KeyGen(s)
[0031] C = E ′ (M, K ′ )
[0032] where: K ′ is the set of keys generated by the key generation function (KeyGen(s));
[0033] E ′ (M, K ′ ) is the improved encryption function used to map the original message M and the key K ′ to the encrypted message C.
[0034] Preferably, the standardized data output module expression is:
[0035] Set D = {d1, d2,..., d n} to represent the input data set, where d i represents the i-th input data; F represents the standardized data output module;
[0036] Then the data output process is expressed as:
[0037] O i = F(D, o j , T) for i = 1, 2 and j = 1, 2
[0038] where: F(D, o j , T) means that the standardized data output module outputs the input data D through the output device o j in the format T;
[0039] T represents the format of the output data, including PDF, TXT, HTML.
[0040] Preferably, the specific types of T and their corresponding relationships are further refined in the expression:
[0041]
[0042] Preferably, the basic function encapsulation module expression is:
[0043] B represents the set of basic functions, i.e., the set of functions such as self-start, shutdown, restart, file call, task management, and instruction execution; C represents the encapsulated set of basic functions;
[0044] The process of encapsulating the basic functions is expressed as:
[0045] C = F(B, P)
[0046] Where: F(B, P) represents that the basic function encapsulation module F encapsulates the basic function B into the programming interface P to obtain the encapsulated function set C;
[0047] To further describe the mathematical representation of the basic functions, the following sets are defined:
[0048] B start represents the set of self-start functions;
[0049] B restart represents the set of restart functions;
[0050] B task represents the set of task management functions;
[0051] B = {B start , B shutdown , B restart , B file , B task , B cmd} represents the set of all basic functions;
[0052] The programming interface P is specifically defined as the set of call interfaces for these functions. P start represents the programming interface for self-start, and P shutdown represents the programming interface for shutdown.
[0053] Preferably, the comprehensive expression of the basic function encapsulation module is:
[0054] P i = ProgrammingInterfaceDefinition(B i )
[0055] Where: B i represents the i-th function in the set of basic functions: self-start, shutdown, restart, file call, task management, and instruction execution functions; P i is the programming interface for the basic function B i ; ProgrammingInterfaceDefinition is a function that describes how to encapsulate the basic function B i into a programming interface P i .
[0056] Medical Information Module Middleware Interaction Method Based on Kylin System, including the following steps:
[0057] Step 1. System Design and Module Planning: Design the architecture of the medical information module middleware system, and plan modules including abstract interfaces, driver integration, standardized data transmission, data encryption, standardized data output, basic function encapsulation, and resource management;
[0058] Step 2. Development of Abstract Interfaces and Driver Integration: Implement the abstract interface module to encapsulate underlying hardware operations; develop the driver integration module to integrate the drivers of various hardware devices into a unified framework;
[0059] Step 3. Implementation of Data Transmission and Encryption Modules: Develop the standardized data transmission module to ensure the consistency of data transmission; design the data encryption module to ensure the security of data during transmission;
[0060] Step 4. Development of Standardized Data Output Module: Create the standardized data output module to provide a unified data output interface, support different types of output devices, and format the output data according to requirements;
[0061] Step 5. Encapsulation of Basic Functions: Implement the basic function encapsulation module to encapsulate the basic functions of the operating system: self-start and shutdown, into simplified programming interfaces;
[0062] Step 6. Resource Management and Testing: Implement the resource management module to ensure the effective allocation and release of device resources; conduct a comprehensive test of the system to verify the correctness of function implementation and the stability of the system.
[0063] Compared with the prior art, the present invention provides a medical information module middleware interaction system and method based on the Kylin system, having the following beneficial effects:
[0064] 1. The present invention utilizes a driver integration module: This module integrates the drivers of various hardware devices, such as touchscreens, printers, and barcode scanners, into a unified framework. The integration simplifies the management of hardware devices, ensures that the system can be compatible with multiple hardware devices, and provides a unified driver interface for easy system expansion and maintenance. By providing a standardized hardware operation interface, it encapsulates low-level hardware operations into high-level interfaces, thereby achieving adaptation to different hardware devices. This module provides a standardized interface for data transmission, ensuring the consistency of data formats and transmission protocols. The interface can guarantee the consistency and compatibility of data during transmission between different systems and devices, reducing problems caused by inconsistent data formats. The data encryption module supports encrypted data transmission to ensure the security of data during transmission. Through the use of key generation and encryption processes, it effectively prevents unauthorized access or tampering of data, safeguarding the confidentiality and integrity of data, achieving beneficial effects in terms of hardware adaptation, data transmission, data security, data output, and operating system call capabilities.
[0065] 2. The present invention encapsulates low-level hardware operations through an abstraction interface module, providing a standardized high-level interface. Application programs do not need to directly operate on low-level hardware but interact with the hardware through a consistent, high-level interface. The interface can hide the specific details of the hardware, enabling application programs to simply follow a unified interface specification, simplifying the complexity of hardware operations. The driver integration module integrates the drivers of various hardware devices into a unified framework. Although the underlying hardware devices and drivers may vary, application programs only need to interact with the unified driver framework. The unified driver framework provides a consistent interface, allowing application programs to communicate and interact with different types of hardware devices according to a unified specification. The standardized data transmission module provides a standardized data transmission interface to ensure the consistency of data formats and transmission protocols. By defining a unified data transmission format and protocol, application programs ensure the consistency of data during transmission between different systems and devices, avoiding communication problems caused by inconsistent data formats, achieving the beneficial effect of enabling application programs to communicate and interact with drivers according to a unified specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 It is a schematic diagram of the system of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0067] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0068] Please refer to Figure 1 , a middleware interaction system for medical information modules based on the Kirin system. The system consists of an abstract interface module, a driver integration module, a standardized data transmission module, a data encryption module, a standardized data output module, a basic function encapsulation module, and a resource management module;
[0069] The abstract interface module of the system is used to provide a standardized hardware operation interface and encapsulate the underlying hardware operations into high-level interfaces;
[0070] The driver integration module is used to integrate the driver programs of various hardware devices into a unified framework;
[0071] The standardized data transmission module is used to provide a standardized interface for data transmission to ensure the consistency of data formats and transmission protocols;
[0072] The data encryption module is used to support encrypted data transmission to ensure the security of data during transmission;
[0073] The standardized data output module is used to provide a unified data output interface and support different types of output devices: printers or monitors;
[0074] The basic function encapsulation module is used to encapsulate the basic functions of the operating system, including self-start, shutdown, restart, file call, task management, and instruction execution, and provide a simplified programming interface;
[0075] The resource management module is responsible for managing the allocation and release of device resources to ensure that multiple applications can access and use hardware devices simultaneously;
[0076] The various hardware devices in the driver integration module include touchscreens, printers, barcode scanners, bank card readers, window charging computers, POS machines, receipt printers, ID card readers, signature pads, X-ray films, CT scans, keyboards, mice, and digitizing tablets;
[0077] The expression of the driver integration module is:
[0078]
[0079] Where: D = {D1, D2, …, D n} represents the set of driver programs for all hardware devices, where D i represents the driver program for the i-th hardware device, represents merging all device driver programs D i into a unified framework F.
[0080] Driver Integration Module: This module integrates the driver programs of various hardware devices, including touchscreens, printers, and barcode scanners, into a unified framework. This integration simplifies the management of hardware devices, ensures that the system can be compatible with a variety of hardware devices, and provides a unified driver interface for easy system expansion and maintenance.
[0081] Abstraction Interface Module: By providing a standardized hardware operation interface, it encapsulates the underlying hardware operations into high-level interfaces, thus achieving adaptation to different hardware devices. This abstraction not only simplifies the operation of hardware but also improves the system's adaptability to new hardware.
[0082] Standardized Data Transmission Module: This module provides a standardized interface for data transmission, ensuring the consistency of data formats and transmission protocols. This standardized interface can guarantee the consistency and compatibility of data when transmitted between different systems and devices, reducing problems caused by inconsistent data formats.
[0083] Data Encryption Module: This module supports the encrypted transmission of data to ensure the security of data during transmission. By using key generation and encryption processes, it can effectively prevent data from being accessed or tampered with by unauthorized personnel, protecting the confidentiality and integrity of data.
[0084] Improved Encryption Method: In addition to the basic encryption process, it also includes a key generation process and an improved encryption function, further enhancing data security and ensuring the protection of data security in more complex environments.
[0085] Standardized Data Output Module: This module provides a unified data output interface and supports different types of output devices. Through the standardized data output interface, data can be output to various devices in a specified format, ensuring that data can be presented accurately and effectively.
[0086] Specific Type and Format Support: The module further details the relationship between different output devices and data formats. For example, printers support the PDF format, and monitors support the HTML format, providing flexible data output options.
[0087] Basic Function Encapsulation Module: This module encapsulates the basic functions of the operating system into simplified programming interfaces. This encapsulation allows developers to more conveniently call the functions of the operating system without directly operating on the underlying system interfaces, improving development efficiency and system maintainability.
[0088] The Abstraction Interface Module encapsulates the underlying hardware operations and provides standardized high-level interfaces. This means that application programs do not need to directly operate on the underlying hardware but interact with the hardware through consistent, high-level interfaces. This standardized interface can hide the specific details of the hardware, enabling application programs to simply follow the unified interface specifications and simplifying the complexity of hardware operations.
[0089] The driver integration module integrates the drivers of various hardware devices into a unified framework. In this way, although the underlying hardware devices and drivers may vary, the application only needs to interact with the unified driver framework, which provides a consistent interface, enabling the application to communicate and interact with different types of hardware devices according to a unified specification.
[0090] The standardized data transmission module provides a standardized data transmission interface to ensure the consistency of data format and transmission protocol. By defining a unified data transmission format and protocol, the application can ensure the consistency of data when transmitted between different systems and devices, avoiding communication problems caused by inconsistent data formats.
[0091] The data encryption module ensures the security of data during transmission and provides a standardized method for encryption. Although the data encryption process may involve different keys and algorithms, the unified encryption standard and interface enable the application to process data encryption according to the same specification, ensuring data security while maintaining the consistency of the interface.
[0092] The basic function encapsulation module encapsulates the basic functions of the operating system into a simplified programming interface. This encapsulation provides a unified programming interface, allowing the application to call the operating system functions in a consistent manner without caring about the underlying implementation details.
[0093] The standardized data output module provides a unified data output interface, supports different types of output devices, and outputs according to the data format requirements. This unified output interface ensures that the application can follow a consistent specification when outputting data, whether it is output to a printer or a display.
[0094] Although the embodiments of the present invention have been shown and described, for those of ordinary skill in the art, it is understood that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A middleware interaction system for medical information modules based on the Kirin system, characterized in that The system consists of an abstraction interface module, a driver integration module, a standardized data transmission module, a data encryption module, a standardized data output module, a basic function encapsulation module, and a resource management module; The abstraction interface module of the system is used to provide a standardized hardware operation interface and encapsulate the underlying hardware operations into high-level interfaces; The driver integration module is used to integrate the driver programs of various hardware devices into a unified framework; The standardized data transmission module is used to provide a standardized interface for data transmission to ensure the consistency of data format and transmission protocol; The data encryption module is used to support encrypted data transmission to ensure the security of data during transmission; The standardized data output module is used to provide a unified data output interface and support different types of output devices: printers or monitors; The basic function encapsulation module is used to encapsulate the basic functions of the operating system, including self-starting, shutting down, restarting, file calling, task management, and instruction execution, and provide a simplified programming interface; The resource management module is responsible for managing the allocation and release of device resources to ensure that multiple application programs can access and use hardware devices simultaneously; The various hardware devices in the driver integration module include touch screens, printers, barcode scanners, bank card readers, window charging computers, POS machines, receipt printers, ID card readers, signature pads, X-ray films, CT scans, keyboards, mice, and digitizing tablets; The expression of the driver integration module is: Where: D = {D1, D2, …, D n} represents the set of drivers for all hardware devices, where D i represents the driver for the i-th hardware device, means merging all device drivers D i into a unified framework F.
2. The middleware interaction system of the medical information module based on the Kirin system according to claim 1, characterized in that: The expression of the abstraction interface module is: I = A(H) Where: H = {h1, h2, …, h n} represents the set of all underlying hardware operations, where h i represents the i-th underlying hardware operation, A represents the abstraction interface module, and A is a function that maps the set H of underlying hardware operations to the standardized set I of high-level interfaces.
3. The middleware interaction system of the medical information module based on the Kylin system according to claim 2, characterized in that: The expression of the standardized data transmission module is: T = S(D, P) Where: D = {d1, d2, …, d n} represents the set of all original data, where d i represents the i-th data; P represents the set of data transmission protocols, p k represents the k-th protocol, and S is a function that maps the set of original data D and the set of data transmission protocols P to the set of standardized data formats T.
4. The middleware interaction system of the medical information module based on the Kylin system according to claim 3, characterized in that: The expression of the data encryption module is: c i = E(m i , k j ) for i = 1, 2, …, n and j = 1, 2, …, m where: M = {m1, m2, …, m n} represents the set of original messages, where m i represents the i-th original message, K = {k1, k2, …, k m} represents the set of encryption keys, where k j represents the j-th key, E(m i , k j ) represents encrypting the i-th original message m i using the j-th key k j to obtain the encrypted message c i .
5. The middleware interaction system of the medical information module based on the Kirin system according to claim 3, characterized in that: The expression of the data encryption module also includes: The key generation process K' and the encryption process E' used during the encryption process; K' = KeyGen(s) C = E'(M, K') Where: K ′ is a set of keys generated by the key generation function (KeyGen(s)); E ′ (M, K ′ ) is an improved encryption function that maps the original message M and the key K ′ to the encrypted message C.
6. The middleware interaction system of the medical information module based on the Kylin system according to claim 4 or 5, characterized in that: The expression of the standardized data output module is: Set \(D = \{d_1, d_2, \ldots, d n \}\) to represent the input data set, where \(d i \) represents the \(i\)-th input data; \(F\) represents the standardized data output module; Then the data output process is expressed as: O i = F(D, o j , T) for i = 1, 2 and j = 1, 2 where: F(D, o j , T) represents that the standardized data output module outputs the input data D in the format T through the output device o j ; T represents the format of the output data, including PDF, TXT, HTML.
7. The middleware interaction system of the medical information module based on the Kylin system according to claim 6, characterized in that: The specific types of T and their corresponding relationships are further refined into an expression:
8. The middleware interaction system of the medical information module based on the Kylin system according to claim 1, characterized in that: The expression of the basic function encapsulation module is: B represents the set of basic functions, that is, the set of functions such as self-starting, shutting down, restarting, file calling, task management, and instruction execution; C represents the set of encapsulated basic functions; The basic function encapsulation process is expressed as: C = F(B, P) Where: F(B, P) means that the basic function encapsulation module F encapsulates the basic function B into the programming interface P to obtain the encapsulated function set C; To further describe the mathematical representation of the basic functions, the following sets are defined: B start Indicates the self-start function set; B restart Indicates the restart function set; B task Represents the task management function set; B = {B start , B shutdown , B restart , B file , B task , B cmd} represents the set of all basic functions; The programming interface P is specifically defined as a set of call interfaces for these functions, P start represents the programming interface for self-starting, P shutdown represents the programming interface for shutdown.
9. The middleware interaction system of the medical information module based on the Kylin system according to claim 8, characterized in that: The comprehensive expression of the basic function encapsulation module is: P i = Programming Interface Definition(B i ) Among them: B i represents the i-th function in the basic function set: self-start, shutdown, restart, file call, task management, and instruction execution functions; P i is the programming interface for the basic function B i ; ProgrammingInterfaceDefinition is a function that describes how to encapsulate the basic function B i into a programming interface P i .
10. The middleware interaction method of the medical information module based on the Kirin system according to claim 9, characterized in that: The interaction method includes the following steps: Step 1, system design and module planning: Design the architecture of the middleware system for the medical information module and plan modules including abstraction interface, driver integration, standardized data transmission, data encryption, standardized data output, basic function encapsulation, and resource management; Step 2. Development of Abstract Interface and Driver Integration: Implement the abstract interface module to encapsulate the underlying hardware operations; develop the driver integration module to integrate the drivers of various hardware devices into a unified framework; Step 3. Implementation of Data Transmission and Encryption Modules: Develop a standardized data transmission module to ensure the consistency of data transmission; design a data encryption module to ensure the security during data transmission; Step 4. Development of Standardized Data Output Module: Create a standardized data output module to provide a unified data output interface, support different types of output devices, and format the output data according to requirements; Step 5. Encapsulation of Basic Functions: Implement the basic function encapsulation module to encapsulate the basic functions of the operating system, such as self-start and shutdown, into simplified programming interfaces; Step 6. Resource Management and Testing: Implement the resource management module to ensure the effective allocation and release of device resources; conduct comprehensive system testing to verify the correctness of function implementation and the stability of the system.
Citation Information
Patent Citations
Method and system for processing internet hospital medical information
CN114093496A