Authority control method and device for medical data
By responding to the role switching instructions of medical users and dynamically allocating permissions based on organizational and business structure information, it solves the problems of high labor costs and large errors in existing medical data permission control, and achieves flexible changes and efficient permission management.
Patent Information
- Application Number
- CN202410318905.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2024-08-23
AI Technical Summary
Existing medical data permission control requires developers to replace or change the underlying code, resulting in high labor costs and large control errors, which reduces the effectiveness of permission control.
By responding to the medical user's role switching instructions, the target role is obtained, and the medical user's operation permissions are switched based on the permission authorization information. The sensitivity is determined based on the organizational and business structure information, the operation permissions are dynamically assigned, and monitoring and early warning are performed when permissions change.
It realizes the flexible change of medical user operation permissions, reduces labor costs, reduces permission control errors, and improves the effectiveness of permission control.
Smart Images

Figure CN118538340A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and is applicable to the field of medical health, and in particular to a method and device for controlling the authority of medical data. Background Art
[0002] With the popularization of digitalization in the medical industry, more and more medical Internet companies are digitizing medical data and business processes. In the process of digitalization, data permission control is an important means to ensure data access security and protect privacy. Therefore, the permission and security management of medical data has become very important.
[0003] At present, the permission control of existing medical data is usually configured through visual code for different medical components. However, when permission changes are required, developers are required to replace or change the underlying code, which greatly increases the manpower cost of medical data permission control and increases the control error of medical data permissions, thereby reducing the effectiveness of medical data permission control. Summary of the invention
[0004] In view of this, the present invention provides a method and device for controlling the authority of medical data, the main purpose of which is to solve the problem of the existing authority control of medical data.
[0005] According to one aspect of the present invention, a method for controlling the authority of medical data is provided, comprising:
[0006] In response to a role switching instruction from a medical user, acquiring at least one target role carried in the role switching instruction;
[0007] When the target role is bound with multiple medical operation permissions, determining the permission authorization information of the medical user, and switching the target medical operation permission of the medical user according to the permission authorization information;
[0008] The access object of the medical user is determined according to the target medical operation authority, and the medical operation data of the access object is output to instruct the medical user to operate the medical operation data.
[0009] Furthermore, before obtaining at least one target role carried by the role switching instruction, the method further includes:
[0010] When the medical user completes identity registration, obtaining the organizational structure information and business structure information of the medical user;
[0011] Retrieving a sensitive object that matches the organizational structure information and the business structure information, and determining the sensitivity of the medical user to access the sensitive object;
[0012] Medical operation permissions are allocated to different roles selected for the medical user based on the sensitivity, wherein the medical user corresponds to at least one role.
[0013] Furthermore, the retrieving the sensitive object matching the organizational structure information and the business structure information includes:
[0014] Parsing organizational structure keywords in the organizational structure information and business structure keywords in the business structure information;
[0015] Based on the medical organization system knowledge graph, the organizational structure keywords are excluded and screened to determine the organizational sensitive objects, and based on the medical business system knowledge graph, the business architecture keywords are excluded and screened to determine the business sensitive objects.
[0016] Further, determining the sensitivity of the medical user to access the sensitive object includes:
[0017] Outputting a registration verification dialogue constructed based on the sensitive object to instruct the medical user to respond to the dialogue based on the registration verification text;
[0018] The data access intention of the sensitive object is determined based on the semantic content of the registered reply dialog of the reply, and the sensitivity of the sensitive object is predicted based on the data access intention.
[0019] Furthermore, the allocating medical operation permissions to different roles selected for the medical user based on the sensitivity includes:
[0020] Outputting a role to be selected to the medical user, the role being used to represent an identity of operating a medical system at different times and through different system interfaces;
[0021] Receiving the selected role, and sending a verification request of the role to the medical operation verification terminal;
[0022] When the role passes the verification, the medical operation authority corresponding to the sensitivity is allocated to the role based on a preset sensitivity authority mapping relationship, and the preset sensitivity mapping relationship includes a correspondence between different sensitivities and different medical operation authorities.
[0023] Furthermore, when the target role is bound with multiple medical operation permissions, determining the permission authorization information of the medical user includes:
[0024] The medical operation permission with the authorization mark is determined as the authorized medical operation permission, and the permission authorization information corresponding to the medical operation permission is extracted, wherein the permission authorization information includes at least one of the permission authorization scope, the permission authorization time, and the permission authorization execution object.
[0025] Furthermore, the method further comprises:
[0026] When the medical operation authority of the medical user is changed to a higher authority, or the role is changed, monitoring the supervision medical operation data of the operation performed after the authority change or role change at a preset time interval;
[0027] If there are key supervision objects in the supervised medical operation data, an authority warning message is sent.
[0028] According to another aspect of the present invention, a medical data authority control device is provided, comprising:
[0029] An acquisition module, configured to respond to a role switching instruction of a medical user and acquire at least one target role carried in the role switching instruction;
[0030] A determination module, used to determine the permission authorization information of the medical user when the target role is bound with multiple medical operation permissions, and switch the target medical operation permission of the medical user according to the permission authorization information;
[0031] The output module is used to determine the access object of the medical user according to the target medical operation authority, and output the medical operation data of the access object to instruct the medical user to operate the medical operation data.
[0032] Furthermore, the device further comprises: a distribution module,
[0033] The acquisition module is further used to acquire the organizational structure information and business structure information of the medical user when the medical user completes identity registration;
[0034] The determination module is further used to retrieve sensitive objects that match the organizational structure information and the business structure information, and determine the sensitivity of the medical user to access the sensitive objects;
[0035] The allocation module is used to allocate medical operation permissions to different roles selected by the medical user based on the sensitivity, wherein the medical user corresponds to at least one role.
[0036] Furthermore, the determination module is specifically used to parse the organizational structure keywords in the organizational structure information and the business structure keywords in the business structure information; exclude and filter the organizational structure keywords based on the medical organization system knowledge graph to determine the organizational sensitive objects, and exclude and filter the business structure keywords based on the medical business system knowledge graph to determine the business sensitive objects.
[0037] Furthermore, the determination module is specifically used to output a registration verification dialogue constructed based on the sensitive object to instruct the medical user to reply to the dialogue based on the registration verification text; determine the data access intention of the sensitive object based on the semantic content of the replied registration reply dialogue, and predict the sensitivity of the sensitive object based on the data access intention.
[0038] Furthermore, the allocation module is specifically used to output a role to be selected to the medical user, wherein the role is used to represent the identity of operating the medical system at different times and different system interfaces; receive the selected role, and send a verification request for the role to a medical operation verification terminal; when the role passes the verification, assign medical operation permissions corresponding to the sensitivity to the role based on a preset sensitive permission mapping relationship, and the preset sensitivity mapping relationship includes a correspondence between different sensitivities and different medical operation permissions.
[0039] Furthermore, the determination module is specifically used to determine a medical operation permission with an authorization identifier as an authorized medical operation permission, and extract the permission authorization information corresponding to the medical operation permission, and the permission authorization information includes at least one of the permission authorization scope, permission authorization time, and permission authorization execution object.
[0040] Furthermore, the device also includes:
[0041] A monitoring module, used for monitoring the supervision medical operation data of the operation performed after the authority or role is changed according to a preset time interval when the medical operation authority of the medical user is changed to a superior authority or the role is changed;
[0042] The cancellation module is used to send permission warning information if there is a key supervision object in the supervised medical operation data.
[0043] According to another aspect of the present invention, a storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute operations corresponding to the above-mentioned method for controlling medical data permissions.
[0044] According to another aspect of the present invention, there is provided a computer device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0045] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned data query method.
[0046] By means of the above technical solution, the technical solution provided by the embodiment of the present invention has at least the following advantages:
[0047] The present invention provides a method and device for controlling the authority of medical data. Compared with the prior art, the embodiment of the present invention obtains at least one target role carried by the role switching instruction in response to the role switching instruction of the medical user; when the target role is bound with multiple medical operation authorities, the authority authorization information of the medical user is determined, and the target medical operation authority of the medical user is switched according to the authority authorization information; the access object of the medical user is determined according to the target medical operation authority, and the medical operation data of the access object is output to instruct the medical user to operate the medical operation data, so as to achieve the purpose of flexible change of the operation authority of the medical user, greatly reduce the manpower cost of medical data authority control, reduce the control error of medical data authority, and thus improve the effectiveness of medical data authority control.
[0048] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0050] Figure 1 A flowchart of a method for controlling medical data rights provided by an embodiment of the present invention is shown;
[0051] Figure 2 A block diagram showing the composition of a medical data authority control device provided by an embodiment of the present invention is shown;
[0052] Figure 3 A schematic structural diagram of a computer device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0053] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0054] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0055] Based on this, in one embodiment, an embodiment of the present invention provides a debugging method for permission control of medical data, which is illustrated by taking the application of the method to a computer device such as a server as an example, wherein the server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), as well as big data and artificial intelligence platforms, such as smart medical systems, digital medical platforms, etc.
[0056] The embodiment of the present invention provides a method for controlling the authority of medical data. Figure 1 As shown, the method includes:
[0057] 101. In response to a role switching instruction from a medical user, obtain at least one target role carried in the role switching instruction.
[0058] In an embodiment of the present invention, the current execution end, as a cloud server or terminal server executing the digital medical platform, can control the authority of medical data. In the digital medical platform, different medical users, such as doctors, patients, administrators, etc., can be pre-assigned different roles, and each role can be pre-configured with different medical permissions. The role is used to characterize the role of a medical user operating on the digital medical platform. For example, the role corresponding to the doctor user can include the chief physician role, the general physician role, the surgical physician role, etc., the role corresponding to the patient user can include ordinary patients, severe long-term patients, etc., and the role of the administrator user can include ordinary administrators, development administrators, etc., which are not specifically limited in the embodiment of the present invention. After logging into the digital medical platform, the user can trigger the role switch, and the current execution end can receive the role switch instruction triggered by the user to obtain at least one target role carried by the role switch instruction. At this time, the target role is the one selected and configured by the medical user when registering. At this time, each target role can be bound to at least one medical operation permission.
[0059] 102. When the target role is bound with multiple medical operation permissions, determine the permission authorization information of the medical user, and switch the target medical operation permission of the medical user according to the permission authorization information.
[0060] In an embodiment of the present invention, if the target role is bound to a medical operation authority, the corresponding medical operation authority can be directly selected to perform the medical operation. If the target role is bound to multiple medical operation authorities, in order to improve the authority control of medical operations, the current execution end first determines the authority authorization information of the medical user. The authority authorization information includes at least one of the authority authorization scope, authority authorization time, and authority authorization execution object. Among them, the authority authorization scope is used to characterize the scope of authorization for the role to perform medical operations, including the scope of medical business, the scope of system operation, etc. The authority authorization time is used to characterize the time range in which the role has the authority to perform medical operations. The authority authorization execution object is used to characterize the object to be operated after the role is authorized. The embodiment of the present invention does not make specific limitations. After the medical user's authority authorization information is determined, the target medical operation authority is switched according to the authority authorization information at this time.
[0061] It should be noted that when the target medical operation authority of the medical user is switched according to the authority authorization information, multiple target medical operation authorities are switched in sequence in the authorization scope, authorization time, and authorization execution object. If the switched target medical operation authority meets the needs of the medical user, the medical user directly performs the medical operation according to this target medical operation authority. If the switched target medical operation authority does not meet the needs of the medical user, the role switching instruction is re-triggered, and step 101 is executed to respond to the method of the role switching instruction of the medical user.
[0062] 103. Determine the access object of the medical user according to the target medical operation authority, and output the medical operation data of the access object to instruct the medical user to operate the medical operation data.
[0063] In an embodiment of the present invention, after the target medical operation authority is determined, the access object of the medical user is selected and determined according to the target medical operation. At this time, the access object is all objects that have access authority corresponding to this target medical operation, and medical operation data for performing access operations on the access object is output. For example, the target medical authority a determines that the access object is the registration information of physician a, then the operable options of the registration information are output as medical operation data to instruct the medical user to select the operable options.
[0064] The embodiment of the present invention provides a method for controlling the authority of medical data. Compared with the prior art, the embodiment of the present invention obtains at least one target role carried by the role switching instruction in response to the role switching instruction of the medical user; when the target role is bound with multiple medical operation authorities, determines the authority authorization information of the medical user, and switches the target medical operation authority of the medical user according to the authority authorization information; determines the access object of the medical user according to the target medical operation authority, and outputs the medical operation data of the access object to instruct the medical user to operate the medical operation data, thereby achieving the purpose of flexible change of the operation authority of the medical user, greatly reducing the manpower cost of medical data authority control, reducing the control error of medical data authority, and thus improving the effectiveness of medical data authority control.
[0065] In another embodiment of the present invention, for further definition and explanation, before the step of obtaining at least one target role carried by the role switching instruction, the method further includes:
[0066] When the medical user completes identity registration, obtaining the organizational structure information and business structure information of the medical user;
[0067] Retrieving a sensitive object that matches the organizational structure information and the business structure information, and determining the sensitivity of the medical user to access the sensitive object;
[0068] Medical operation permissions are allocated to different roles selected by the medical user based on the sensitivity.
[0069] In order to configure different roles for a medical user so as to switch between medical operation permissions, the current execution end first provides identity registration services for medical users. Medical users can log in to the digital medical platform to register their identities, and obtain the organizational structure information and business structure information of the medical users after completing the identity registration. Among them, the organizational structure information is used to characterize the structure of the medical user in the personnel organization in the digital medical platform. For example, the organizational structure is patients, doctors, and operators. When the user registers, the operation identity is filled in as a patient, and the organizational structure information is determined to be a patient user. The embodiment of the present invention does not make specific limitations. The business structure information is used to characterize the structure of business operations based on the digital medical platform, for example, low-level structures such as registration and drug purchase, intermediate structures such as surgery appointments and examination appointments, and high-level structures such as system maintenance and service maintenance. It can be determined according to the needs entered by the user during identity registration, and the embodiment of the present invention does not make specific limitations. Furthermore, the current execution end retrieves sensitive objects that match the organizational structure information and business structure information. At this time, the sensitive objects are data or information that the medical user should not or is not allowed to know, including but not limited to the identity information of other users, the amount of specific business, etc. After determining the sensitivity of the medical user's access to the sensitive object, medical operation permissions are allocated to different roles selected by the medical user based on the sensitivity. The embodiment of the present invention does not make specific limitations.
[0070] In another embodiment of the present invention, for further definition and explanation, the step of retrieving a sensitive object matching the organizational structure information and the business structure information includes:
[0071] Parsing organizational structure keywords in the organizational structure information and business structure keywords in the business structure information;
[0072] Based on the medical organization system knowledge graph, the organizational structure keywords are excluded and screened to determine the organizational sensitive objects, and based on the medical business system knowledge graph, the business architecture keywords are excluded and screened to determine the business sensitive objects.
[0073] In order to accurately determine the sensitive objects and allocate medical operation permissions according to the sensitivity of the sensitive objects, when determining the sensitive objects, the current execution end first parses the organizational structure keywords in the organizational structure information and the business structure keywords in the business structure information. Among them, the organizational structure keywords and the business structure keywords are filled in by the medical user in the platform usage requirements filled in when registering the identity. For example, when registering the identity, the medical demand options are displayed in the registration interface for selection, including the patient, doctor and other options in the identity options, and the registration, surgery appointment and other options in the demand options, so that the words of the above options are used as organizational structure keywords and business structure keywords, which are not specifically limited in the embodiments of the present invention.
[0074] It should be noted that since sensitive objects are content that one does not wish to be known, the current execution end performs exclusion screening on the organizational structure keywords based on the medical organization system knowledge graph to determine the organizational sensitive objects, and performs exclusion screening on the business structure keywords based on the medical business system knowledge graph to determine the business sensitive objects. Among them, the medical organization system knowledge graph records the organizational relationships between different organizational structure keywords, and the medical business system knowledge graph records the business relationships between different business structure keywords. When performing exclusion screening, objects with relationships are excluded according to the organizational relationships and business relationships in the above two knowledge graphs, and objects without organizational relationships and business relationships are respectively regarded as organizational sensitive objects and business sensitive objects. As sensitive objects, the embodiments of the present invention do not make specific limitations.
[0075] In another embodiment of the present invention, for further definition and explanation, the step of determining the sensitivity of the medical user to access the sensitive object includes:
[0076] Outputting a registration verification dialogue constructed based on the sensitive object to instruct the medical user to respond to the dialogue based on the registration verification text;
[0077] The data access intention of the sensitive object is determined based on the semantic content of the registered reply dialog of the reply, and the sensitivity of the sensitive object is predicted based on the data access intention.
[0078] In order to realize the allocation of medical operation permissions based on the sensitivity of sensitive objects, thereby realizing the flexible switching of medical operation permissions, the current execution end obtains the medical user's knowledge of the sensitive object in the form of a registration verification dialogue when determining the sensitivity of the sensitive object. Specifically, the registration verification dialogue pre-constructed for different sensitive objects is output to instruct the medical user to reply to the dialogue based on the registration verification text. For example, the sensitive object is doctor a, and the constructed registration verification dialogue is "Do you want to communicate with doctor a" so that the medical user can reply. When the registered reply object of the reply is "No, I don't know him", the semantic content "I don't know him" is determined as the data access intention for the sensitive object, so as to determine the sensitivity of the sensitive object based on this data access intention. At this time, the natural semantic processing model, such as a convolutional neural network, can be trained based on the data access intention training samples marked with different sensitivities, so as to predict the determined data access intention and obtain the sensitivity of the sensitive object. Among them, the value range of sensitivity is 0-1. The closer to 1, the higher the sensitivity, and the more likely the user is to trigger an access operation for the sensitive object.
[0079] In another embodiment of the present invention, for further definition and explanation, the step of assigning medical operation permissions to different roles selected by the medical user based on the sensitivity includes:
[0080] Outputting a role to be selected to the medical user;
[0081] Receiving the selected role, and sending a verification request of the role to the medical operation verification terminal;
[0082] When the role is verified, the medical operation authority corresponding to the sensitivity is allocated to the role based on a preset sensitive authority mapping relationship.
[0083] In order to achieve the purpose of allocating medical operation permissions to different roles, so as to achieve different medical operation permissions corresponding to different roles, when the current execution end allocates medical operation permissions to the selected role based on sensitivity, specifically, first outputs multiple roles to be selected to the medical user, so that the user can first select the role he needs. At this time, the role is used to characterize the identity of operating the medical system through different time and different system interfaces. For example, the role corresponding to the doctor user may include the role of chief physician, the role of general physician, the role of surgeon, etc., the role corresponding to the patient user may include the role of general patient, the role of critical long-term patient, etc., and the role of the administrator user may include the role of general administrator, development administrator, etc., which is not specifically limited in the embodiment of the present invention. After the medical user selects at least one role, the current execution end receives this role and sends a verification request of the role to the medical operation verification end to confirm whether this medical user has the role selection permission. Among them, the medical operation verification end is the operation end of the developer with permission verification, so as to perform manual verification. Furthermore, after receiving the verification pass instruction, the current execution end allocates the medical operation permission corresponding to the sensitive pair to the verified role based on the preset sensitive permission mapping relationship. The preset sensitivity mapping relationship includes a correspondence between different sensitivities and different medical operation permissions, so that different medical operation permissions are assigned to roles according to the calculated different sensitivities, which is not specifically limited in the embodiment of the present invention.
[0084] In another embodiment of the present invention, for further definition and explanation, when the target role is bound with multiple medical operation permissions, the step of determining the permission authorization information of the medical user includes:
[0085] The medical operation permission with the authorization mark is determined as the authorized medical operation permission, and the permission authorization information corresponding to the medical operation permission is extracted.
[0086] In order to realize the switching of effective medical operation permissions within the authorization scope to improve the switching effectiveness of medical operation permissions, when the current execution end determines the permission authorization information, since the permission authorization information includes at least one of the permission authorization scope, the permission authorization time, and the permission authorization execution object, it is determined whether the authorization of the medical operation permission is completed by judging whether there is an authorization mark on the medical operation permission. Among them, the current execution end can pre-authorize the medical operation permissions of different roles. Those with authorization marks are authorized medical operation permissions, and those without authorization marks are unauthorized medical operation permissions, so as to obtain permission authorization information according to the medical operation permissions with authorization marks. At this time, the permission authorization information can be obtained by extracting the permission authorization scope, permission authorization time, and permission authorization execution object of different medical operation permissions recorded in the authorization relationship list, which is not specifically limited in the embodiment of the present invention. At this time, the permission authorization scope is used to characterize the scope of authorization for the role to perform medical operations, including the medical business scope, the system operation scope, etc., the permission authorization time is used to characterize the time range in which the role has the authority to perform medical operations, and the permission authorization execution object is used to characterize the object to be operated after the role is authorized, which is not specifically limited in the embodiment of the present invention.
[0087] In another embodiment of the present invention, for further definition and description, the steps further include:
[0088] When the medical operation authority of the medical user is changed to a higher authority, or the role is changed, monitoring the supervision medical operation data of the operation performed after the authority change or role change at a preset time interval;
[0089] If there are key supervision objects in the supervised medical operation data, an authority warning message is sent.
[0090] In order to improve the accuracy and effectiveness of the change of medical authority, the current execution end also monitors in real time when the medical operation authority is changed. If the medical operation authority is changed to a higher level authority, or the role is changed to another role, the current execution end monitors the monitored medical operation data obtained by the operation after changing the authority or changing the role according to the preset time interval. In this process, the medical user can control the switching of medical operation authority or switch roles according to their own needs. The current execution end does not monitor the switched authority or role, but only monitors the operation data corresponding to the higher level medical operation authority and other roles after switching. At this time, if there are key objects for supervision in the supervised medical operation data, the key objects for supervision are pre-selected by the supervisor, indicating that after the change, there are sensitive or important contents in the operation data of the medical user, so the authority warning information is sent to the supervisor for confirmation. In the embodiment of the present invention, in the data authority access, the supervised medical operation is recorded in the form of a log, so that the data access history can be tracked to prevent malicious attacks and data leakage incidents.
[0091] An embodiment of the present invention provides another method for controlling the authority of medical data. Compared with the prior art, the embodiment of the present invention obtains at least one target role carried by the role switching instruction in response to a role switching instruction of a medical user; when the target role is bound to multiple medical operation authorities, determines the authority authorization information of the medical user, and switches the target medical operation authority of the medical user according to the authority authorization information; determines the access object of the medical user according to the target medical operation authority, and outputs the medical operation data of the access object to instruct the medical user to operate the medical operation data, thereby achieving the purpose of flexible change of the operation authority of the medical user, greatly reducing the manpower cost of medical data authority control, reducing the control error of medical data authority, and thus improving the effectiveness of medical data authority control.
[0092] Furthermore, as a response to the above Figure 1 The implementation of the method shown in the figure, the embodiment of the present invention provides a medical data authority control device, such as Figure 2 As shown, the device comprises:
[0093] An acquisition module 21, configured to respond to a role switching instruction of a medical user and acquire at least one target role carried in the role switching instruction;
[0094] A determination module 22, configured to determine the authority authorization information of the medical user when the target role is bound with multiple medical operation authorities, and switch the target medical operation authority of the medical user according to the authority authorization information;
[0095] The output module 23 is used to determine the access object of the medical user according to the target medical operation authority, and output the medical operation data of the access object to instruct the medical user to operate the medical operation data.
[0096] Furthermore, the device further comprises: a distribution module,
[0097] The acquisition module is further used to acquire the organizational structure information and business structure information of the medical user when the medical user completes identity registration;
[0098] The determination module is further used to retrieve sensitive objects that match the organizational structure information and the business structure information, and determine the sensitivity of the medical user to access the sensitive objects;
[0099] The allocation module is used to allocate medical operation permissions to different roles selected by the medical user based on the sensitivity, wherein the medical user corresponds to at least one role.
[0100] Furthermore, the determination module is specifically used to parse the organizational structure keywords in the organizational structure information and the business structure keywords in the business structure information; exclude and filter the organizational structure keywords based on the medical organization system knowledge graph to determine the organizational sensitive objects, and exclude and filter the business structure keywords based on the medical business system knowledge graph to determine the business sensitive objects.
[0101] Furthermore, the determination module is specifically used to output a registration verification dialogue constructed based on the sensitive object to instruct the medical user to reply to the dialogue based on the registration verification text; determine the data access intention of the sensitive object based on the semantic content of the replied registration reply dialogue, and predict the sensitivity of the sensitive object based on the data access intention.
[0102] Furthermore, the allocation module is specifically used to output a role to be selected to the medical user, wherein the role is used to represent the identity of operating the medical system at different times and different system interfaces; receive the selected role, and send a verification request for the role to a medical operation verification terminal; when the role passes the verification, assign medical operation permissions corresponding to the sensitivity to the role based on a preset sensitive permission mapping relationship, and the preset sensitivity mapping relationship includes a correspondence between different sensitivities and different medical operation permissions.
[0103] Furthermore, the determination module is specifically used to determine a medical operation permission with an authorization identifier as an authorized medical operation permission, and extract the permission authorization information corresponding to the medical operation permission, and the permission authorization information includes at least one of the permission authorization scope, permission authorization time, and permission authorization execution object.
[0104] Furthermore, the device also includes:
[0105] A monitoring module, used for monitoring the supervision medical operation data of the operation performed after the authority or role is changed according to a preset time interval when the medical operation authority of the medical user is changed to a superior authority or the role is changed;
[0106] The cancellation module is used to send permission warning information if there is a key supervision object in the supervised medical operation data.
[0107] The embodiment of the present invention provides a device for controlling the authority of medical data. Compared with the prior art, the embodiment of the present invention obtains at least one target role carried by the role switching instruction in response to the role switching instruction of the medical user; when the target role is bound with multiple medical operation authorities, determines the authority authorization information of the medical user, and switches the target medical operation authority of the medical user according to the authority authorization information; determines the access object of the medical user according to the target medical operation authority, and outputs the medical operation data of the access object to instruct the medical user to operate the medical operation data, thereby achieving the purpose of flexible change of the operation authority of the medical user, greatly reducing the manpower cost of medical data authority control, reducing the control error of medical data authority, and thus improving the effectiveness of medical data authority control.
[0108] According to one embodiment of the present invention, a storage medium is provided, wherein the storage medium stores at least one executable instruction, and the computer executable instruction can execute the medical data authority control method in any of the above method embodiments.
[0109] Figure 3 A schematic diagram of the structure of a computer device provided according to an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the computer device.
[0110] like Figure 3 As shown, the computer device may include: a processor 302 , a communication interface 304 , a memory 306 , and a communication bus 308 .
[0111] The processor 302 , the communication interface 304 , and the memory 306 communicate with each other via the communication bus 308 .
[0112] The communication interface 304 is used to communicate with other devices such as clients or other servers.
[0113] The processor 302 is used to execute the program 310, and specifically can execute the relevant steps in the above-mentioned medical data authority control method embodiment.
[0114] Specifically, the program 310 may include program codes, which include computer operation instructions.
[0115] The processor 302 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the computer device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0116] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0117] The program 310 may be specifically configured to enable the processor 302 to perform the following operations:
[0118] In response to a role switching instruction from a medical user, acquiring at least one target role carried in the role switching instruction;
[0119] When the target role is bound with multiple medical operation permissions, determining the permission authorization information of the medical user, and switching the target medical operation permission of the medical user according to the permission authorization information;
[0120] The access object of the medical user is determined according to the target medical operation authority, and the medical operation data of the access object is output to instruct the medical user to operate the medical operation data.
[0121] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0122] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for controlling the authority of medical data, characterized in that: include: In response to a role switching instruction from a medical user, acquiring at least one target role carried in the role switching instruction; When the target role is bound with multiple medical operation permissions, determining the permission authorization information of the medical user, and switching the target medical operation permission of the medical user according to the permission authorization information; The access object of the medical user is determined according to the target medical operation authority, and the medical operation data of the access object is output to instruct the medical user to operate the medical operation data.
2. The method according to claim 1, characterized in that Before obtaining at least one target role carried by the role switching instruction, the method further includes: When the medical user completes identity registration, obtaining the organizational structure information and business structure information of the medical user; Retrieving a sensitive object that matches the organizational structure information and the business structure information, and determining the sensitivity of the medical user to access the sensitive object; Medical operation permissions are allocated to different roles selected by the medical user based on the sensitivity, wherein the medical user corresponds to at least one role.
3. The method according to claim 2, characterized in that The retrieving of the sensitive object matching the organizational structure information and the business structure information includes: Parsing organizational structure keywords in the organizational structure information and business structure keywords in the business structure information; Based on the medical organization system knowledge graph, the organizational structure keywords are excluded and screened to determine the organizational sensitive objects, and based on the medical business system knowledge graph, the business architecture keywords are excluded and screened to determine the business sensitive objects.
4. The method according to claim 2, characterized in that: Determining the sensitivity of the medical user to access the sensitive object includes: Outputting a registration verification dialogue constructed based on the sensitive object to instruct the medical user to respond to the dialogue based on the registration verification text; The data access intention of the sensitive object is determined based on the semantic content of the registered reply dialog of the reply, and the sensitivity of the sensitive object is predicted based on the data access intention.
5. The method according to claim 2, characterized in that: The allocating medical operation permissions to different roles selected for the medical user based on the sensitivity includes: Outputting a role to be selected to the medical user, the role being used to represent an identity of operating a medical system at different times and through different system interfaces; Receiving the selected role, and sending a verification request of the role to the medical operation verification terminal; When the role passes the verification, the medical operation authority corresponding to the sensitivity is allocated to the role based on a preset sensitivity authority mapping relationship, and the preset sensitivity mapping relationship includes a correspondence between different sensitivities and different medical operation authorities.
6. The method according to claim 1, characterized in that When the target role is bound with multiple medical operation permissions, determining the permission authorization information of the medical user includes: The medical operation permission with the authorization mark is determined as the authorized medical operation permission, and the permission authorization information corresponding to the medical operation permission is extracted, wherein the permission authorization information includes at least one of the permission authorization scope, the permission authorization time, and the permission authorization execution object.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the medical operation authority of the medical user is changed to a higher authority, or the role is changed, monitoring the supervision medical operation data of the operation performed after the authority change or role change at a preset time interval; If there are key supervision objects in the supervised medical operation data, an authority warning message is sent.
8. A medical data authority control device, characterized in that: include: An acquisition module, configured to respond to a role switching instruction of a medical user and acquire at least one target role carried in the role switching instruction; A determination module, used to determine the permission authorization information of the medical user when the target role is bound with multiple medical operation permissions, and switch the target medical operation permission of the medical user according to the permission authorization information; The output module is used to determine the access object of the medical user according to the target medical operation authority, and output the medical operation data of the access object to instruct the medical user to operate the medical operation data.
9. A storage medium storing at least one executable instruction, wherein the executable instruction enables a processor to execute an operation corresponding to the medical data authority control method according to any one of claims 1 to 7.
10. A computer device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute an operation corresponding to the medical data authority control method according to any one of claims 1-7.
