CN111866096A - Load balancing method and device for medical system - Google Patents
Load balancing method and device for medical system Download PDFInfo
- Publication number
- CN111866096A CN111866096A CN202010628223.8A CN202010628223A CN111866096A CN 111866096 A CN111866096 A CN 111866096A CN 202010628223 A CN202010628223 A CN 202010628223A CN 111866096 A CN111866096 A CN 111866096A
- Authority
- CN
- China
- Prior art keywords
- data
- white list
- writing operation
- data writing
- firewall
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012795 verification Methods 0.000 claims abstract description 22
- 230000000149 penetrating effect Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 description 12
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 206010033799 Paralysis Diseases 0.000 description 1
- 125000004432 carbon atom Chemical group C* 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5083—Techniques for rebalancing the load in a distributed system
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H40/00—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
- G16H40/40—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management of medical equipment or devices, e.g. scheduling maintenance or upgrades
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
- H04L63/029—Firewall traversal, e.g. tunnelling or, creating pinholes
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Biomedical Technology (AREA)
- Computing Systems (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the application provides a load balancing method and device for a medical system, and belongs to the technical field of medical internet. The method comprises the steps that when data writing operation executed by a medical system is intercepted by a firewall, a white list mark is sent to the firewall, so that the firewall can identify the white list mark according to the white list, and verification information is returned; if the verification information indicates that the white list identification belongs to at least one of the white lists, the data writing operation penetrates through the firewall and enters a load balancer; and allocating a target storage thread for the data writing operation by using the load balancer, and storing the data written by the data writing operation into a target disk through the target storage thread. According to the method and the device, the data can penetrate through the firewall and the load is balanced in the medical system, so that the throughput of the medical system is improved, the risk of downtime is reduced, the operation safety is improved, the operation efficiency is improved, great convenience is brought to hospitals and users, and the use experience of the users is improved.
Description
Technical Field
The application relates to the technical field of internet, in particular to a load balancing method and device for a medical system.
Background
At present, along with the continuous promotion of medical treatment level, medical system also continuously updates, realizes medical internet to can improve patient experience, make the patient pay fees, see a doctor, line up more smoothly.
However, for a large hospital, the data concurrency is very large every day, data paralysis is easily caused due to large data reading and writing amount, serious loss is brought to the hospital, and great inconvenience is brought to users. In addition, many medical data are accessed through an external network, for example, a user makes a payment or registers online. However, access through the extranet is easily intercepted by the firewall, so that users cannot perform extranet operation, and great inconvenience is brought to the users.
Therefore, how to solve the above problems is a problem that needs to be solved at present.
Disclosure of Invention
The present application provides a load balancing method and apparatus for a medical system, which aims to improve the above problems.
In a first aspect, the present application provides a load balancing method for a medical system, the method including:
when data writing operation executed by a medical system is intercepted by a firewall, sending a white list identifier to the firewall so that the firewall can identify the white list identifier according to a white list and return verification information, wherein the data writing operation is used for writing data into a disk in the medical system;
If the verification information indicates that the white list identification belongs to at least one of the white lists, the data writing operation penetrates through the firewall and enters a load balancer;
and allocating a target storage thread for the data writing operation by utilizing the load balancer, so that the data written by the data writing operation is stored in a target disk through the target storage thread.
In the implementation process, when data writing operation executed by a medical system is intercepted by a firewall, a white list identifier is sent to the firewall, so that the firewall identifies the white list identifier according to the white list and returns verification information; if the verification information indicates that the white list identification belongs to at least one of the white lists, the data writing operation penetrates through the firewall and enters a load balancer; the load balancer is used for distributing a target storage thread for the data writing operation, and the data written by the data writing operation is stored in a target disk through the target storage thread, so that the data in the medical system can penetrate through a firewall and is balanced in load, the throughput of the medical system is improved, the downtime risk is reduced, the operation safety is improved, the operation efficiency is improved, great convenience is brought to hospitals and users, and the use experience of the users is improved.
Optionally, before the sending the white list identifier to the firewall, the method includes:
fusing a data identifier carried by the data writing operation with a preset IP address to generate the white list identifier, wherein the data identifier is a character string, and the character string is used for representing at least one of the following keywords:
paying;
registering;
reserving and registering;
and inquiring medical expenses.
In the implementation process, before the white list identifier is sent to the firewall, the data identifier carried by the data writing operation is fused with a preset IP address to generate the white list identifier, so that the white list identifier is dynamically generated to conveniently pass through the firewall.
Optionally, fusing a data identifier carried by the data write operation with a preset IP address to generate the white list identifier, including:
and adding the data identifier carried by the data writing operation with a preset IP address to generate the white list identifier.
In the implementation process, the white list identification is generated by adding the data identification carried by the data writing operation and a preset IP address so as to conveniently pass through a firewall.
Optionally, fusing a data identifier carried by the data write operation with a preset IP address to generate the white list identifier, including:
and subtracting a preset IP address from the data identifier carried by the data writing operation to generate the white list identifier.
In the implementation process, the white list identification is generated by subtracting the data identification carried by the data writing operation from the preset IP address so as to pass through the firewall.
Optionally, the allocating, by the load balancer, a target storage thread for the data write operation includes:
determining the current throughput of each storage thread by using the load balancer;
and taking the memory thread with the minimum throughput as a target memory thread.
In the implementation process, the throughput of each current storage thread is determined by utilizing the load balancer; the storage thread with the minimum throughput is used as the target storage thread, so that the load balance of data processing in a medical scene is accurately realized, and the data processing efficiency is improved.
Optionally, the allocating, by the load balancer, a target storage thread for the data write operation includes:
And querying a target storage thread matched with the identity information of the data writing operation in a thread library by using the load balancer, wherein the identity information of the data writing operation, the identity information of the storage thread and the corresponding relation between the identity information of the data writing operation and the identity information of the storage thread are stored in the thread library.
In the implementation process, the load balancer is used for inquiring a target storage thread matched with the identity information of the data writing operation in a thread library, the identity information of the data writing operation, the identity information of the storage thread and the corresponding relation between the identity information of the data writing operation and the identity information of the storage thread are stored in the thread library, so that the load balance of data processing in a medical scene is further accurately achieved, and the data processing efficiency is further improved.
In a second aspect, the present application provides a load balancing apparatus for a medical system, the load balancing apparatus comprising:
the system comprises a sending module, a firewall and a data writing module, wherein the sending module is used for sending a white list identifier to the firewall when a data writing operation executed by the medical system is intercepted by the firewall so as to enable the firewall to identify the white list identifier according to a white list and return verification information, and the data writing operation is used for writing data into a disk in the medical system;
The penetrating module is used for penetrating the firewall by the data writing operation and entering a load balancer if the verification information indicates that the white list mark belongs to at least one of the white lists;
and the load balancing module is used for distributing a target storage thread for the data writing operation by using the load balancer so as to store the data written by the data writing operation into a target disk through the target storage thread.
In the implementation process, the load balancing device for the medical system can achieve the purposes that data penetrate through a firewall and the load in the medical system is balanced, so that the throughput of the medical system is improved, the downtime risk is reduced, the operation safety is improved, the operation efficiency is improved, great convenience is brought to hospitals and users, and the use experience of the users is improved.
Optionally, before the sending module, the load balancing apparatus further includes:
the processing module is configured to fuse a data identifier carried by the data write operation with a preset IP address to generate the white list identifier, where the data identifier is a character string, and the character string is used to represent at least one of the following keywords:
Paying;
registering;
reserving and registering;
and inquiring medical expenses.
Optionally, the processing module is further configured to:
and subtracting a preset IP address from the data identifier carried by the data writing operation to generate the white list identifier.
Optionally, the processing module is further configured to:
and adding the data identifier carried by the data writing operation with a preset IP address to generate the white list identifier.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a load balancing method for a medical system according to a second embodiment of the present application;
fig. 3 is a functional module schematic diagram of a load balancing apparatus for a medical system according to a third embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The first embodiment is as follows:
fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and in this application, an electronic device 100 for implementing an example of a load balancing method and apparatus for a medical system according to an embodiment of the present application may be described by using the schematic diagram shown in fig. 1. For example, the electronic device 100 is configured to execute the load balancing method for a medical system according to the embodiment of the present application: when data writing operation executed by a medical system is intercepted by a firewall, sending a white list identifier to the firewall so that the firewall can identify the white list identifier according to the white list and return verification information; if the verification information indicates that the white list identification belongs to at least one of the white lists, the data writing operation penetrates through the firewall and enters a load balancer; and allocating a target storage thread for the data writing operation by using the load balancer, and storing the data written by the data writing operation into a target disk through the target storage thread. Still alternatively, the electronic device 100 is configured to execute the load balancing apparatus for a medical system according to the embodiment of the present application: the system comprises a sending module, a firewall and a data writing module, wherein the sending module is used for sending a white list identifier to the firewall when a data writing operation executed by the medical system is intercepted by the firewall so as to enable the firewall to identify the white list identifier according to a white list and return verification information, and the data writing operation is used for writing data into a disk in the medical system; the penetrating module is used for penetrating the firewall by the data writing operation and entering a load balancer if the verification information indicates that the white list mark belongs to at least one of the white lists; and the load balancing module is used for distributing a target storage thread for the data writing operation by using the load balancer so as to store the data written by the data writing operation into a target disk through the target storage thread.
As shown in FIG. 1, an electronic device 100 includes one or more processors 102, one or more memory devices 104, and the like, which are interconnected via a bus system and/or other type of connection mechanism (not shown). It should be noted that the components and structure of the electronic device 100 shown in fig. 1 are only exemplary and not limiting, and the electronic device may have some of the components shown in fig. 1 and may also have other components and structures not shown in fig. 1, as desired.
The processor 102 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 100 to perform desired functions.
The storage 104 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by processor 102.
Example two:
referring to a flowchart of a load balancing method for a medical system shown in fig. 2, the method specifically includes the following steps:
step S201, when the data writing operation executed by the medical system is intercepted by a firewall, a white list mark is sent to the firewall, so that the firewall can identify the white list mark according to the white list and return verification information.
Wherein the data writing operation is used to write data to a disk in the medical system. For example, the data writing operation is used for writing reservation registration information, payment information, medical expense inquiry information, and the like of the user. Here, the number of the carbon atoms is not particularly limited.
In a possible embodiment, before sending the white list identification to the firewall, the method includes: fusing a data identifier carried by the data writing operation with a preset IP address to generate the white list identifier, wherein the data identifier is a character string, and the character string is used for representing at least one of the following keywords: paying; registering; reserving and registering; and inquiring medical expenses.
That is, payment, registration, appointment registration, and medical fee inquiry all correspond to a character string, and the character string is marked (or stored) in the hospital system for identification. For example, the character string corresponding to the payment is 123, the preset IP (internet protocol) address is 1.1.1.1, and the sum is 1.1.1.124.
Optionally, the specific setting of the preset IP may be set according to actual requirements, and is not specifically limited herein.
For example, assuming that a user performs an online appointment through an external network, for example, a specialist in a department of the XX day, the user may perform an appointment operation on an appointment interface of the hospital, and after the appointment operation is performed, the appointment information is written into the appointment information of the hospital, at this time, the data is written into the internal network through the external network, and is generally intercepted by a firewall, so that the data writing fails.
In the implementation process, before the white list identifier is sent to the firewall, the data identifier carried by the data writing operation is fused with a preset IP address to generate the white list identifier, so that the white list identifier is dynamically generated to conveniently pass through the firewall.
Optionally, fusing a data identifier carried by the data write operation with a preset IP address to generate the white list identifier, including: and adding the data identifier carried by the data writing operation with a preset IP address to generate the white list identifier.
In the implementation process, the white list identification is generated by adding the data identification carried by the data writing operation and a preset IP address so as to conveniently pass through a firewall.
Optionally, fusing a data identifier carried by the data write operation with a preset IP address to generate the white list identifier, including: and subtracting a preset IP address from the data identifier carried by the data writing operation to generate the white list identifier.
In the implementation process, the white list identification is generated by subtracting the data identification carried by the data writing operation from the preset IP address so as to pass through the firewall.
Of course, in practical use, the fusion may be performed by other methods, and is not limited specifically herein.
Step S202, if the verification information indicates that the white list identification belongs to at least one of the white lists, the data writing operation penetrates the firewall and enters a load balancer.
Wherein, the incoming load balancer is sent to the load balancer through the network.
The load balancer is used for expanding the bandwidth of network equipment and a server, increasing the throughput, strengthening the network data processing capacity and improving the flexibility and the availability of the network.
As an implementation manner, the firewall compares the white list identifier with the stored white lists one by one, so as to identify whether the white list identifier belongs to at least one of the white lists.
The white list refers to a list which is not intercepted by the firewall.
Optionally, the white list is pre-written to the firewall.
And the step of penetrating the firewall means that the firewall is released so that the access of an external network can enter an internal network.
Step S203, allocating a target storage thread for the data write operation by using the load balancer, so as to store the data written by the data write operation into a destination disk through the target storage thread.
As an embodiment, step S203 includes: determining the current throughput of each storage thread by using the load balancer; and taking the storage thread with the minimum throughput as a target storage thread, and storing the data written by the data writing operation into a target disk through the target storage thread.
A plurality of storage threads are pre-established, and each storage thread is used for writing data.
For example, assume that there are currently 10 memory threads, where the current throughput per memory thread is as follows:
The throughput of storage thread 1 is 100, the throughput of storage thread 2 is 200, the throughput of storage thread 3 is 300, the throughput of storage thread 4 is 400, the throughput of storage thread 5 is 400, the throughput of storage thread 6 is 400, the throughput of storage thread 7 is 800, the throughput of storage thread 8 is 500, the throughput of storage thread 9 is 300, and the throughput of storage thread 10 is 400. And the maximum throughput of each storage thread is 800, and the maximum throughput is ranked as follows according to the throughput load: memory thread 7> memory thread 8> (memory thread 5, memory thread 6, memory thread 8, memory thread 10) > (memory thread 3, memory thread 9) > memory thread 2> memory thread 1.
That is, at this time, the operating saturation of the storage thread 1 is the lowest, so the storage thread 1 is used as the target storage thread of the data write operation, the data write operation is executed through the target storage thread, the data is written into the target disk, further, the load balance is realized, and the operating efficiency is improved.
If there are currently a plurality of lowest ranked storage threads, for example, assuming that the saturation of storage thread 1 and storage thread 2 is lowest (i.e., when the saturation of storage thread 1 and storage thread 2 are equal), storage thread 1 or storage thread 2 may be randomly targeted.
Of course, when the above occurs, it is also possible to take the storage thread 2 as the target storage thread this time if the storage thread 1 is allocated by determining who the two storage threads were allocated the data write operation first before the current time. If memory thread 2 is allocated, then memory thread 1 is the target memory thread this time.
It should be understood that the multiple storage threads described above are concurrent threads.
It should be noted that the specific number of the storage threads may be set according to actual requirements, and is not specifically limited in this application.
In the implementation process, the throughput of each current storage thread is determined by utilizing the load balancer; the storage thread with the minimum throughput is used as the target storage thread, so that the load balance of data processing in a medical scene is accurately realized, and the data processing efficiency is improved.
As another embodiment, step S203 includes: and querying a target storage thread matched with the identity information of the data writing operation in a thread library by using the load balancer, wherein the identity information of the data writing operation, the identity information of the storage thread and the corresponding relation between the identity information of the data writing operation and the identity information of the storage thread are stored in the thread library.
In the implementation process, the load balancer is used for inquiring a target storage thread matched with the identity information of the data writing operation in a thread library, the identity information of the data writing operation, the identity information of the storage thread and the corresponding relation between the identity information of the data writing operation and the identity information of the storage thread are stored in the thread library, so that the load balance of data processing in a medical scene is further accurately achieved, and the data processing efficiency is further improved.
In the load balancing method for the medical system provided by the embodiment, when data writing operation performed by the medical system is intercepted by a firewall, a white list identifier is sent to the firewall, so that the firewall identifies the white list identifier according to the white list, and returns verification information; if the verification information indicates that the white list identification belongs to at least one of the white lists, the data writing operation penetrates through the firewall and enters a load balancer; the load balancer is used for distributing a target storage thread for the data writing operation, and the data written by the data writing operation is stored in a target disk through the target storage thread, so that the data in the medical system can penetrate through a firewall and is balanced in load, the throughput of the medical system is improved, the downtime risk is reduced, the operation safety is improved, the operation efficiency is improved, great convenience is brought to hospitals and users, and the use experience of the users is improved.
Example three:
referring to fig. 3, a load balancing apparatus for a medical system 400 includes:
a sending module 410, configured to send a white list identifier to a firewall when a data writing operation performed by a medical system is intercepted by the firewall, so that the firewall identifies the white list identifier according to a white list and returns verification information, where the data writing operation is used to write data in the medical system to a disk;
a penetrating module 420, configured to, if the verification information indicates that the white list identifier belongs to at least one of the white lists, penetrate the firewall by the data writing operation, and enter a load balancer;
and a load balancing module 430, configured to allocate a target storage thread for the data write operation by using the load balancer, so as to store the data written by the data write operation in a destination disk through the target storage thread.
Optionally, the load balancing module 430 is further configured to: determining the current throughput of each storage thread by using the load balancer; and taking the memory thread with the minimum throughput as a target memory thread.
Optionally, the load balancing module 430 is further configured to: and querying a target storage thread matched with the identity information of the data writing operation in a thread library by using the load balancer, wherein the identity information of the data writing operation, the identity information of the storage thread and the corresponding relation between the identity information of the data writing operation and the identity information of the storage thread are stored in the thread library.
In a possible embodiment, before the sending module 410, the load balancing apparatus 400 further includes:
the processing module is configured to fuse a data identifier carried by the data write operation with a preset IP address to generate the white list identifier, where the data identifier is a character string, and the character string is used to represent at least one of the following keywords:
paying;
registering;
reserving and registering;
and inquiring medical expenses.
Optionally, the processing module is further configured to:
and subtracting a preset IP address from the data identifier carried by the data writing operation to generate the white list identifier.
Optionally, the processing module is further configured to:
and adding the data identifier carried by the data writing operation with a preset IP address to generate the white list identifier.
It should be noted that, in the specific implementation of the load balancing apparatus for a medical system provided in this embodiment, please refer to the load balancing method for a medical system shown in the second embodiment, which is not described herein again.
Further, the present embodiment also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processing device, the computer program performs any of the steps of the load balancing method for a medical system provided in the second embodiment.
The computer program product for the load balancing method and device for the medical system provided by the embodiment of the present application includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and will not be described herein again.
It should be noted that the above functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Claims (10)
1. A method of load balancing for a medical system, the method comprising:
when data writing operation executed by a medical system is intercepted by a firewall, sending a white list identifier to the firewall so that the firewall can identify the white list identifier according to a white list and return verification information, wherein the data writing operation is used for writing data into a disk in the medical system;
if the verification information indicates that the white list identification belongs to at least one of the white lists, the data writing operation penetrates through the firewall and enters a load balancer;
And allocating a target storage thread for the data writing operation by utilizing the load balancer, so that the data written by the data writing operation is stored in a target disk through the target storage thread.
2. The method of claim 1, wherein prior to said sending the whitelist identification to the firewall, the method comprises:
fusing a data identifier carried by the data writing operation with a preset IP address to generate the white list identifier, wherein the data identifier is a character string, and the character string is used for representing at least one of the following keywords:
paying;
registering;
reserving and registering;
and inquiring medical expenses.
3. The method according to claim 2, wherein fusing a data identifier carried by the data write operation with a preset IP address to generate the white list identifier includes:
and adding the data identifier carried by the data writing operation with a preset IP address to generate the white list identifier.
4. The method according to claim 2, wherein fusing a data identifier carried by the data write operation with a preset IP address to generate the white list identifier includes:
And subtracting a preset IP address from the data identifier carried by the data writing operation to generate the white list identifier.
5. The method of claim 1, wherein said allocating a target storage thread for the data write operation using the load balancer comprises:
determining the current throughput of each storage thread by using the load balancer;
and taking the memory thread with the minimum throughput as a target memory thread.
6. The method of claim 1, wherein said allocating a target storage thread for the data write operation using the load balancer comprises:
and querying a target storage thread matched with the identity information of the data writing operation in a thread library by using the load balancer, wherein the identity information of the data writing operation, the identity information of the storage thread and the corresponding relation between the identity information of the data writing operation and the identity information of the storage thread are stored in the thread library.
7. A load balancing device for a medical system, the load balancing device comprising:
the system comprises a sending module, a firewall and a data writing module, wherein the sending module is used for sending a white list identifier to the firewall when a data writing operation executed by the medical system is intercepted by the firewall so as to enable the firewall to identify the white list identifier according to a white list and return verification information, and the data writing operation is used for writing data into a disk in the medical system;
The penetrating module is used for penetrating the firewall by the data writing operation and entering a load balancer if the verification information indicates that the white list mark belongs to at least one of the white lists;
and the load balancing module is used for distributing a target storage thread for the data writing operation by using the load balancer so as to store the data written by the data writing operation into a target disk through the target storage thread.
8. The load balancing apparatus according to claim 7, wherein before the sending module, the load balancing apparatus further comprises:
the processing module is configured to fuse a data identifier carried by the data write operation with a preset IP address to generate the white list identifier, where the data identifier is a character string, and the character string is used to represent at least one of the following keywords:
paying;
registering;
reserving and registering;
and inquiring medical expenses.
9. The load balancing apparatus of claim 8, wherein the processing module is further configured to:
and subtracting a preset IP address from the data identifier carried by the data writing operation to generate the white list identifier.
10. The load balancing apparatus of claim 8, wherein the processing module is further configured to:
and adding the data identifier carried by the data writing operation with a preset IP address to generate the white list identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010628223.8A CN111866096A (en) | 2020-07-02 | 2020-07-02 | Load balancing method and device for medical system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010628223.8A CN111866096A (en) | 2020-07-02 | 2020-07-02 | Load balancing method and device for medical system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111866096A true CN111866096A (en) | 2020-10-30 |
Family
ID=73151851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010628223.8A Pending CN111866096A (en) | 2020-07-02 | 2020-07-02 | Load balancing method and device for medical system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111866096A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202565304U (en) * | 2012-05-21 | 2012-11-28 | 成都因纳伟盛科技股份有限公司 | Distributed computing task scheduling and execution system |
CN103825900A (en) * | 2014-02-28 | 2014-05-28 | 广州云宏信息科技有限公司 | Website access method and device and filter form downloading and updating method and system |
CN105871919A (en) * | 2016-06-12 | 2016-08-17 | 北京六间房科技有限公司 | Network application firewall system and realization method thereof |
CN107566399A (en) * | 2017-10-09 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of method, apparatus and readable storage medium storing program for executing for improving storage security |
CN107846445A (en) * | 2017-09-20 | 2018-03-27 | 南京邮电大学 | A kind of server load balancing method based on SDN |
CN108494771A (en) * | 2018-03-23 | 2018-09-04 | 平安科技(深圳)有限公司 | Electronic device, fire wall open verification method and storage medium |
CN109447876A (en) * | 2018-10-16 | 2019-03-08 | 湖北三峡云计算中心有限责任公司 | A kind of burgher card system |
US20200127975A1 (en) * | 2018-10-18 | 2020-04-23 | Bank Of America Corporation | Cloud computing architecture with secure multi-cloud integration |
CN111061431A (en) * | 2019-11-28 | 2020-04-24 | 曙光信息产业股份有限公司 | Distributed storage method, server and client |
-
2020
- 2020-07-02 CN CN202010628223.8A patent/CN111866096A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202565304U (en) * | 2012-05-21 | 2012-11-28 | 成都因纳伟盛科技股份有限公司 | Distributed computing task scheduling and execution system |
CN103825900A (en) * | 2014-02-28 | 2014-05-28 | 广州云宏信息科技有限公司 | Website access method and device and filter form downloading and updating method and system |
CN105871919A (en) * | 2016-06-12 | 2016-08-17 | 北京六间房科技有限公司 | Network application firewall system and realization method thereof |
CN107846445A (en) * | 2017-09-20 | 2018-03-27 | 南京邮电大学 | A kind of server load balancing method based on SDN |
CN107566399A (en) * | 2017-10-09 | 2018-01-09 | 郑州云海信息技术有限公司 | A kind of method, apparatus and readable storage medium storing program for executing for improving storage security |
CN108494771A (en) * | 2018-03-23 | 2018-09-04 | 平安科技(深圳)有限公司 | Electronic device, fire wall open verification method and storage medium |
CN109447876A (en) * | 2018-10-16 | 2019-03-08 | 湖北三峡云计算中心有限责任公司 | A kind of burgher card system |
US20200127975A1 (en) * | 2018-10-18 | 2020-04-23 | Bank Of America Corporation | Cloud computing architecture with secure multi-cloud integration |
CN111061431A (en) * | 2019-11-28 | 2020-04-24 | 曙光信息产业股份有限公司 | Distributed storage method, server and client |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019120217A1 (en) | Token obtaining method and apparatus, server, user terminal, and medium | |
US20160210597A1 (en) | System for efficient processing of transaction requests related to an account in a database | |
JP2021504813A (en) | Blockchain network transaction processing methods, devices, equipment and storage media | |
KR20170033350A (en) | System and method for supporting namespaces in a multitenant application server environment | |
CN110728455B (en) | Service processing method, service processing device, storage medium and electronic equipment | |
US11108871B2 (en) | Dynamic generation of network routing configuration with service requirements | |
CN111639309B (en) | Data processing method and device, node equipment and storage medium | |
JP2019504415A (en) | Data storage service processing method and apparatus | |
US11863675B2 (en) | Data flow control in distributed computing systems | |
CN114691383A (en) | Data processing method, device, equipment and storage medium | |
CN107147610B (en) | Resource processing method and device | |
CN114070847B (en) | Method, device, equipment and storage medium for limiting current of server | |
US10397130B2 (en) | Multi-cloud resource reservations | |
CN110333944B (en) | Ticket data service processing method and equipment | |
CN109871260B (en) | Multi-dimensional service current limiting method and system based on shared memory between containers | |
CN111866096A (en) | Load balancing method and device for medical system | |
US20230161634A1 (en) | Mapping an application signature to designated cloud resources | |
CN110879748A (en) | Shared resource allocation method, device and equipment | |
KR102357308B1 (en) | Method, device and system for operating load balancing of server for providing tax affair service targeting shopping mall industry | |
JP7191974B2 (en) | CONTRACT PROCESSING METHOD, CONTRACT PROCESSING SYSTEM AND PROGRAM | |
CN114553521A (en) | Remote memory access method, device, equipment and medium | |
CN112434237A (en) | Page loading method and device, electronic equipment and storage medium | |
CN111353766A (en) | Service process processing system and method of distributed service system | |
CN116805947B (en) | Block chain data processing method, device, equipment and computer readable storage medium | |
CN112070525B (en) | Data processing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201030 |