A method and system for centralized management of multi-password cards
By establishing a sub-password card resource library and adding call programs and correction units, the problems of uneven running load and user waiting time in multi-password card management are solved, and efficient password service and resource utilization are achieved.
Patent Information
- Application Number
- CN202311686891.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-08
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2043-12-08
AI Technical Summary
At this stage, it is impossible to achieve unified scheduling for multiple password cards, resulting in uneven operating load of password cards, overloading of local password cards, degrading computing performance, and excessive waiting time for users, affecting password service quality.
By establishing multiple sub-password card resource libraries, storing multiple virtual password cards corresponding to different physical password cards, and by adding a call program and password card association model, the virtual password card can be quickly called according to different user needs, improving operational efficiency and achieving multiple To handle individual user needs simultaneously. At the same time, an additional correction unit is set up to correct the number of virtual password cards in a timely manner according to the call parameters of the sub-password card resource library corresponding to each physical password card and the user demand parameters.
On the premise of ensuring computing performance, the average waiting time of users is reduced, the efficiency and quality of password services are improved, the utilization rate of password resources is maximized, and the needs of intensive management and use of password resources are met.
Smart Images

Figure CN117938368B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of password cards, and in particular to a method and system for centralized management of multiple password cards. Background Art
[0002] Password cards are used in the field of information security and are located in the hardware encryption layer of the network security platform. Users can flexibly select cryptographic algorithms to provide cryptographic computing services for upper-layer application systems as needed. Password card virtualization means that based on a single physical password card hardware device, multiple "logical password cards" with the same functions are virtualized for use by multiple virtual machine terminals. Although each terminal shares the same physical password card through a virtual machine, the virtualized "logical password cards" are functionally independent, so they will not affect each other during user use.
[0003] However, at this stage, it is impossible to achieve unified scheduling of multiple password cards, and the management of multiple password cards cannot respond to user needs in a timely manner. There are problems such as uneven password card operation load, local password card operation overload, reduced computing performance, and long user waiting time, which affects the quality of password services. It is impossible to maximize the utilization of password resources and meet the needs of intensive management and use of password resources. Summary of the invention
[0004] The purpose of this application is to solve the above technical problems and provide a method and system for centralized management of multi-password cards, aiming to achieve
[0005] In some embodiments of the present application, multiple sub-password card resource libraries are established to store multiple virtual password cards corresponding to different physical password cards, and by adding a calling program and a password card association model, virtual password cards are quickly called according to different user needs, thereby improving operating efficiency, realizing simultaneous processing of multiple user needs, and improving the quality of password services.
[0006] In some embodiments of the present application, by adding a correction unit, the number of virtual password cards is timely corrected according to the calling parameters of the sub-password card resource library corresponding to each physical password card and the user demand parameters, thereby reducing the average waiting time of users while ensuring the computing performance, thereby improving the efficiency of password services.
[0007] In some embodiments of the present application, a method for centralized management of multiple password cards is provided, including:
[0008] Obtain device parameters of each physical password card, and generate multiple virtual password cards according to the device parameters of a single physical password card;
[0009] Establishing a virtual password card resource library, storing all virtual password cards in the virtual password card resource library, and establishing a calling program to generate a virtual password card calling instruction;
[0010] The virtual password card operation parameters corresponding to the target physical password card are obtained according to the preset monitoring node, and it is determined whether to modify the number of virtual password cards of the target physical password card according to the operation parameters.
[0011] In some embodiments of the present application, the step of storing all virtual password cards in a virtual password card resource library includes:
[0012] Establishing a plurality of sub-password card resource libraries according to the virtual password card resource library, and generating index tags of the sub-password card resource libraries;
[0013] Establish a physical password card sequence A, A=(A1,A2…Ai…An), where n is the number of physical password cards and Ai is the i-th physical password card;
[0014] Generate a feature tag according to the device parameters of a single physical password card, and establish a password card-sub-password card resource library mapping relationship according to the index tag and the feature tag;
[0015] All virtual password cards are stored in the corresponding sub-password card resource library according to the password card-sub-password card resource library mapping relationship.
[0016] In some embodiments of the present application, the step of establishing a calling program to generate a virtual password card calling instruction includes:
[0017] Establish a physical password card association model according to the physical password card sequence A, and generate a sub-password card resource library cross-call model according to the physical password card association model;
[0018] Select the physical password card to be called according to the user's required parameters;
[0019] Select the sub-password card resource library to be called according to the physical password card to be called;
[0020] Traversing all virtual password cards in the sub-password card resource library to be called to determine whether there is an idle virtual password card;
[0021] If there is an idle virtual password card, a first-level call instruction is generated;
[0022] If there is no idle virtual password card, generate the expected waiting time t;
[0023] When the expected waiting time t is less than a preset waiting time threshold, a secondary call instruction is generated;
[0024] When the expected waiting time t is greater than the preset waiting time threshold, a standby sub-password card resource library is selected according to the sub-password card resource library cross-call model, and all standby sub-password card resource libraries are traversed to generate a third-level call instruction.
[0025] In some embodiments of the present application, when generating the expected waiting time t, it includes:
[0026] Obtain the required running time of all virtual password cards in the sub-password card resource library to be called;
[0027] Set the sequence of virtual password cards in the sub-password card resource library to be called according to the required running time;
[0028] Establish a required running time sequence T, T = (t1, t2 ... tm), where m is the number of virtual password cards in the sub-password card resource library to be called, ti is the required running time of the i-th virtual password card in the sub-password card resource library to be called, and t1 ≤ t2 ≤ ... ≤ tm;
[0029] Generate a fluctuation evaluation value according to the operation parameters of the first virtual password card, the second virtual password card and the third virtual password card in the sub-password card resource library to be called;
[0030] Generating a compensation coefficient e according to the fluctuation evaluation value;
[0031] Generate the expected waiting time t, t=e*(t1+t2+t3) / 3.
[0032] In some embodiments of the present application, when determining whether to modify the number of virtual password cards of a target physical password card according to an operating parameter, the method includes:
[0033] Select the target sub-password card resource library according to the target physical password card;
[0034] Obtaining the operating parameters of the target sub-password card resource library between the last monitoring time node and the current monitoring time node;
[0035] Generate the average waiting time b of users and the number of waiting users c according to the operating parameters;
[0036] Generate a first evaluation value D1 based on the number of waiting users c;
[0037] Generate a second evaluation value D2 based on the average waiting time b of the user;
[0038] Generate a user evaluation value d=n1*D1+n2*D2, where n1 is the first weight coefficient and n2 is the second weight coefficient;
[0039] A first user evaluation value threshold and a second user evaluation value threshold are preset. If the user evaluation value d of the current monitoring node is greater than the second user evaluation value threshold, a first-level correction instruction is generated. If the user evaluation value d of the current monitoring node is less than the user evaluation value threshold, a second-level correction instruction is generated.
[0040] In some embodiments of the present application, a multi-password card centralized management system is provided, including:
[0041] A virtual unit, used to obtain device parameters of each physical password card, generate multiple virtual password cards according to the device parameters of a single physical password card, and generate a feature tag according to the device parameters of a single physical password card;
[0042] The virtual unit is also used to establish a physical password card sequence A, A=(A1, A2...Ai...An), where n is the number of physical password cards, and Ai is the i-th physical password card;
[0043] A storage unit, used to establish a virtual password card resource library, and store all virtual password cards in the virtual password card resource library;
[0044] A calling unit, used for establishing a calling program to generate a virtual password card calling instruction;
[0045] The correction unit is used to obtain the virtual password card operation parameters corresponding to the target physical password card according to the preset monitoring node, and the correction unit is also used to determine whether to correct the number of virtual password cards of the target physical password card according to the operation parameters.
[0046] In some embodiments of the present application, the storage unit includes:
[0047] The first storage module is used to establish multiple sub-password card resource libraries and generate index tags of the sub-password card resource libraries;
[0048] The second storage module is used to generate a characteristic tag according to the device parameters of a single physical password card, and to establish a password card-sub-password card resource library mapping relationship according to the index tag and the characteristic tag;
[0049] The first storage module is further used to store all virtual password cards into corresponding sub-password card resource libraries according to the password card-sub-password card resource library mapping relationship.
[0050] In some embodiments of the present application, the calling unit includes:
[0051] A first processing module, used for establishing a physical password card association model according to the physical password card sequence A, and further used for generating a sub-password card resource library cross-call model according to the physical password card association model;
[0052] The second processing module selects a physical password card to be called according to the user's required parameters, and selects a sub-password card resource library to be called according to the physical password card to be called;
[0053] The second processing module is further used to traverse all virtual password cards in the sub-password card resource library to be called to determine whether there is an idle virtual password card;
[0054] If there is an idle virtual password card, the second processing module generates a first-level calling instruction;
[0055] A third processing module, if there is no idle virtual password card, the third processing module generates an expected waiting time t;
[0056] When the expected waiting time t is less than a preset waiting time threshold, the third processing module generates a secondary call instruction;
[0057] The fourth processing module, when the expected waiting time t is greater than the preset waiting time threshold, selects a spare sub-password card resource library according to the sub-password card resource library cross-call model, and traverses all spare sub-password card resource libraries to generate a third-level call instruction.
[0058] In some embodiments of the present application, the third processing module is further used to:
[0059] Obtain the required running time of all virtual password cards in the sub-password card resource library to be called;
[0060] Set the sequence of virtual password cards in the sub-password card resource library to be called according to the required running time;
[0061] Establish a required running time sequence T, T = (t1, t2 ... tm), where m is the number of virtual password cards in the sub-password card resource library to be called, ti is the required running time of the i-th virtual password card in the sub-password card resource library to be called, and t1 ≤ t2 ≤ ... ≤ tm;
[0062] Generate a fluctuation evaluation value according to the operation parameters of the first virtual password card, the second virtual password card and the third virtual password card in the sub-password card resource library to be called;
[0063] Generating a compensation coefficient e according to the fluctuation evaluation value;
[0064] Generate the expected waiting time t, t=e*(t1+t2+t3) / 3.
[0065] In some embodiments of the present application, the correction unit includes:
[0066] The first monitoring module selects a target sub-password card resource library according to the target physical password card, and obtains the operation parameters of the target sub-password card resource library between the last monitoring time node and the current monitoring time node;
[0067] A second monitoring module is used to generate an average waiting time b of users and a number of waiting users c according to the operating parameters;
[0068] Generate a first evaluation value D1 based on the number of waiting users c;
[0069] Generate a second evaluation value D2 based on the average waiting time b of the user;
[0070] Generate a user evaluation value d=n1*D1+n2*D2, where n1 is the first weight coefficient and n2 is the second weight coefficient;
[0071] The correction module is used to preset a first user evaluation value threshold and a second user evaluation value threshold. If the user evaluation value d of the current monitoring node is greater than the second user evaluation value threshold, the correction module generates a first-level correction instruction. If the user evaluation value d of the current monitoring node is less than the user evaluation value threshold, the correction module generates a second-level correction instruction.
[0072] Compared with the prior art, the method and system for centralized management of multiple password cards in the embodiment of the present application have the following beneficial effects:
[0073] By establishing multiple sub-password card resource libraries, storing multiple virtual password cards corresponding to different physical password cards, and adding calling programs and password card association models, virtual password cards can be quickly called according to different user needs, thereby improving operating efficiency, realizing simultaneous processing of multiple user needs, and improving the quality of password services.
[0074] By adding a correction unit, the number of virtual password cards can be corrected in time according to the calling parameters of the sub-password card resource library corresponding to each physical password card and the user's demand parameters. Under the premise of ensuring the computing performance, the average waiting time of users is reduced, thereby improving the efficiency of password services. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] Figure 1 It is a flow chart of a method for centralized management of multiple password cards in a preferred embodiment of the present application. DETAILED DESCRIPTION
[0076] The specific implementation methods of the present application are further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present application but are not intended to limit the scope of the present application.
[0077] In the description of the present application, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0078] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0079] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0080] like Figure 1 As shown, a method for centralized management of multiple password cards according to a preferred embodiment of the present application includes:
[0081] S101: Obtain device parameters of each physical password card, and generate multiple virtual password cards according to the device parameters of a single physical password card;
[0082] S102: Establishing a virtual password card resource library, storing all virtual password cards in the virtual password card resource library, and establishing a calling program to generate a virtual password card calling instruction;
[0083] S103: obtaining the virtual password card operation parameters corresponding to the target physical password card according to the preset monitoring node, and determining whether to modify the number of virtual password cards of the target physical password card according to the operation parameters.
[0084] Specifically, when all virtual password cards are stored in the virtual password card resource library, it includes:
[0085] Establishing multiple sub-password card resource libraries according to the virtual password card resource library, and generating index tags of the sub-password card resource libraries;
[0086] Establish a physical password card sequence A, A=(A1,A2…Ai…An), where n is the number of physical password cards and Ai is the i-th physical password card;
[0087] Generate a feature tag based on the device parameters of a single physical password card, and establish a mapping relationship between the password card and the sub-password card resource library based on the index tag and the feature tag;
[0088] All virtual password cards are stored in the corresponding sub-password card resource library according to the password card-sub-password card resource library mapping relationship.
[0089] Specifically, feature tags are generated according to the product parameters of each physical password card, and multiple virtual password cards are established for a single physical password card. Each virtual password card stores a corresponding feature tag, so that multiple user virtual machines can call password card resources at the same time and operate independently of each other.
[0090] Specifically, multiple sub-password card resource libraries can be constructed, and a corresponding relationship between the sub-password card resource libraries and the physical password cards can be established, thereby realizing storage management of virtual password cards.
[0091] In a preferred embodiment of the present application, when establishing a calling program to generate a virtual password card calling instruction, it includes:
[0092] Establish a physical password card association model according to the physical password card sequence A, and generate a sub-password card resource library cross-call model according to the physical password card association model;
[0093] Select the physical password card to be called according to the user's required parameters;
[0094] Select the sub-password card resource library to be called according to the physical password card to be called;
[0095] Traverse all virtual password cards in the sub-password card resource library to be called to determine whether there is an idle virtual password card;
[0096] If there is an idle virtual password card, a first-level call instruction is generated;
[0097] If there is no idle virtual password card, generate the expected waiting time t;
[0098] When the expected waiting time t is less than the preset waiting time threshold, a secondary call instruction is generated;
[0099] When the expected waiting time t is greater than the preset waiting time threshold, a standby sub-password card resource library is selected according to the sub-password card resource library cross-call model, and all standby sub-password card resource libraries are traversed to generate a third-level call instruction.
[0100] Specifically, the first-level calling instruction refers to selecting an idle virtual password card in the sub-password card resource library to be called. The second-level calling instruction refers to waiting first, and when a virtual password card that has completed operation appears, it is set as the virtual password card to be called and called. The third-level calling instruction refers to obtaining the virtual password card resources corresponding to the same physical password card as the physical password card to be called, screening, and selecting a suitable virtual password card for calling. By setting the third-level calling instruction, it is guaranteed that the virtual password card can be called quickly, thereby ensuring the quality of password service.
[0101] Specifically, establishing a physical password card association model means generating the same type of physical password cards according to the operating parameters of each physical password card, that is, setting the physical password cards using the same encryption calculation method as the same type of physical password cards, and establishing a sub-password card resource library cross-call model according to the sub-password card resource library corresponding to the same type of physical password cards.
[0102] Specifically, when generating the expected waiting time t, it includes:
[0103] Obtain the required running time of all virtual password cards in the sub-password card resource library to be called;
[0104] Set the sequence of virtual password cards in the sub-password card resource library to be called according to the required running time;
[0105] Establish a required running time sequence T, T = (t1, t2 ... tm), where m is the number of virtual password cards in the sub-password card resource library to be called, ti is the required running time of the i-th virtual password card in the sub-password card resource library to be called, and t1 ≤ t2 ≤ ... ≤ tm;
[0106] Generate a fluctuation evaluation value according to the operation parameters of the first virtual password card, the second virtual password card and the third virtual password card in the sub-password card resource library to be called;
[0107] Generate compensation coefficient e according to the fluctuation evaluation value;
[0108] Generate the expected waiting time t, t=e*(t1+t2+t3) / 3.
[0109] Specifically, the required running time sequence T is established according to the required running time of each virtual password card in ascending order.
[0110] Specifically, a fluctuation evaluation value is generated according to the user historical demand fluctuation data corresponding to the first virtual password card, the second virtual password card and the third virtual password card. The larger the fluctuation evaluation value, the larger the corresponding compensation coefficient. By dynamically adjusting the compensation coefficient, the expected waiting time is made more accurate.
[0111] In a preferred embodiment of the present application, when determining whether to modify the number of virtual password cards of the target physical password card according to the operating parameters, it includes:
[0112] Select the target sub-password card resource library according to the target physical password card;
[0113] Obtaining the operating parameters of the target sub-password card resource library between the last monitoring time node and the current monitoring time node;
[0114] Generate the average waiting time b of users and the number of waiting users c according to the operating parameters;
[0115] Generate a first evaluation value D1 based on the number of waiting users c;
[0116] Generate a second evaluation value D2 based on the average waiting time b of the user;
[0117] Generate a user evaluation value d=n1*D1+n2*D2, where n1 is the first weight coefficient and n2 is the second weight coefficient;
[0118] A first user evaluation value threshold and a second user evaluation value threshold are preset. If the user evaluation value d of the current monitoring node is greater than the second user evaluation value threshold, a first-level correction instruction is generated. If the user evaluation value d of the current monitoring node is less than the user evaluation value threshold, a second-level correction instruction is generated.
[0119] Specifically, the first evaluation value and the second evaluation value have the same value range. The more waiting users there are, the higher the corresponding first evaluation value is. The longer the user-evaluated waiting time is, the higher the corresponding second evaluation value is.
[0120] Specifically, the first user evaluation value threshold and the second user evaluation value threshold can be set according to historical operation data. When the user evaluation value is between the first user evaluation value threshold and the second user evaluation value threshold, it means that the system is operating normally and can better meet user needs. When it is lower than the first user evaluation value threshold, it means that the current number of users in demand is small, and a secondary correction instruction can be generated to reduce the number of virtual password cards, thereby reducing the loss of physical password cards and improving management efficiency. When it is higher than the second user evaluation value threshold, it means that there are many users in demand at this time, and the current virtual password card cannot meet all the needs, causing the user's waiting time to be too long. A secondary correction instruction can be generated to increase the number of virtual password cards. The specific correction number can be set according to the computing performance required by the user and the parameters of the physical password card to ensure that each virtual password card can meet the user's needs. Improve service quality.
[0121] In another preferred embodiment of a method for centralized management of multiple password cards in any of the above preferred embodiments, this preferred embodiment provides a centralized management system for multiple password cards, including:
[0122] The virtual unit is used to obtain the device parameters of each physical password card, generate multiple virtual password cards according to the device parameters of a single physical password card, and generate a feature tag according to the device parameters of a single physical password card;
[0123] The virtual unit is also used to establish a physical password card sequence A, A=(A1, A2…Ai…An), where n is the number of physical password cards and Ai is the i-th physical password card;
[0124] A storage unit, used to establish a virtual password card resource library, and store all virtual password cards in the virtual password card resource library;
[0125] A calling unit, used for establishing a calling program to generate a virtual password card calling instruction;
[0126] The correction unit is used to obtain the virtual password card operation parameters corresponding to the target physical password card according to the preset monitoring node, and the correction unit is also used to determine whether to correct the number of virtual password cards of the target physical password card according to the operation parameters.
[0127] Specifically, the storage unit includes:
[0128] The first storage module is used to establish multiple sub-password card resource libraries and generate index tags of the sub-password card resource libraries;
[0129] The second storage module is used to generate a feature tag according to the device parameters of a single physical password card, and to establish a mapping relationship between a password card and a sub-password card resource library according to the index tag and the feature tag;
[0130] The first storage module is further used to store all virtual password cards into corresponding sub-password card resource libraries according to the password card-sub-password card resource library mapping relationship.
[0131] In a preferred embodiment of the present application, the calling unit includes:
[0132] The first processing module is used to establish a physical password card association model according to the physical password card sequence A. The first processing module is also used to generate a sub-password card resource library cross-call model according to the physical password card association model;
[0133] The second processing module selects a physical password card to be called according to the user's required parameters, and selects a sub-password card resource library to be called according to the physical password card to be called;
[0134] The second processing module is also used to traverse all virtual password cards in the sub-password card resource library to be called, and determine whether there is an idle virtual password card;
[0135] If there is an idle virtual password card, the second processing module generates a first-level calling instruction;
[0136] The third processing module generates an expected waiting time t if there is no idle virtual password card;
[0137] When the expected waiting time t is less than the preset waiting time threshold, the third processing module generates a secondary call instruction;
[0138] The fourth processing module, when the expected waiting time t is greater than the preset waiting time threshold, the fourth processing module selects a spare sub-password card resource library according to the sub-password card resource library cross-call model, and traverses all spare sub-password card resource libraries to generate a third-level call instruction.
[0139] Specifically, the third processing module is also used for:
[0140] Obtain the required running time of all virtual password cards in the sub-password card resource library to be called;
[0141] Set the sequence of virtual password cards in the sub-password card resource library to be called according to the required running time;
[0142] Establish a required running time sequence T, T = (t1, t2 ... tm), where m is the number of virtual password cards in the sub-password card resource library to be called, ti is the required running time of the i-th virtual password card in the sub-password card resource library to be called, and t1 ≤ t2 ≤ ... ≤ tm;
[0143] Generate a fluctuation evaluation value according to the operation parameters of the first virtual password card, the second virtual password card and the third virtual password card in the sub-password card resource library to be called;
[0144] Generate compensation coefficient e according to the fluctuation evaluation value;
[0145] Generate the expected waiting time t, t=e*(t1+t2+t3) / 3.
[0146] In a preferred embodiment of the present application, the correction unit includes:
[0147] The first monitoring module selects a target sub-password card resource library according to the target physical password card, and obtains the operation parameters of the target sub-password card resource library between the last monitoring time node and the current monitoring time node;
[0148] The second monitoring module is used to generate the average waiting time b of users and the number of waiting users c according to the operating parameters;
[0149] Generate a first evaluation value D1 based on the number of waiting users c;
[0150] Generate a second evaluation value D2 based on the average waiting time b of the user;
[0151] Generate a user evaluation value d=n1*D1+n2*D2, where n1 is the first weight coefficient and n2 is the second weight coefficient;
[0152] The correction module is used to preset a first user evaluation value threshold and a second user evaluation value threshold. If the user evaluation value d of the current monitoring node is greater than the second user evaluation value threshold, the correction module generates a first-level correction instruction. If the user evaluation value d of the current monitoring node is less than the user evaluation value threshold, the correction module generates a second-level correction instruction.
[0153] According to the first concept of the present application, multiple sub-password card resource libraries are established to store multiple virtual password cards corresponding to different physical password cards, and by adding a calling program and a password card association model, virtual password cards can be quickly called according to different user needs, thereby improving operating efficiency, realizing simultaneous processing of multiple user needs, and improving the quality of password services.
[0154] According to the second concept of the present application, by adding a correction unit, the number of virtual password cards can be corrected in time according to the calling parameters of the sub-password card resource library corresponding to each physical password card and the user demand parameters, thereby reducing the average waiting time of users while ensuring the computing performance, thereby improving the efficiency of password services.
[0155] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and substitutions can be made without departing from the technical principles of the present application. These improvements and substitutions should also be regarded as the scope of protection of the present application.
Claims
1. A method for centralized management of multi-password cards, characterized in that: include: Obtain device parameters of each physical password card, and generate multiple virtual password cards according to the device parameters of a single physical password card; Establishing a virtual password card resource library, storing all virtual password cards in the virtual password card resource library, and establishing a calling program to generate a virtual password card calling instruction; Obtaining the virtual password card operation parameters corresponding to the target physical password card according to the preset monitoring node, and determining whether to modify the number of virtual password cards of the target physical password card according to the operation parameters; The storing of all virtual password cards into the virtual password card resource library includes: Establishing a plurality of sub-password card resource libraries according to the virtual password card resource library, and generating index tags of the sub-password card resource libraries; Establish a physical password card sequence A, A=(A1, A2…Ai…An), where n is the number of physical password cards and Ai is the i-th physical password card; Generate a feature tag according to the device parameters of a single physical password card, and establish a password card-sub-password card resource library mapping relationship according to the index tag and the feature tag; According to the mapping relationship between password card and sub-password card resource library, all virtual password cards are stored in the corresponding sub-password card resource library; The step of establishing a calling program to generate a virtual password card calling instruction includes: Establish a physical password card association model according to the physical password card sequence A, and generate a sub-password card resource library cross-call model according to the physical password card association model; Select the physical password card to be called according to the user's required parameters; Select the sub-password card resource library to be called according to the physical password card to be called; Traversing all virtual password cards in the sub-password card resource library to be called to determine whether there is an idle virtual password card; If there is an idle virtual password card, a first-level call instruction is generated; If there is no idle virtual password card, generate the expected waiting time t; When the expected waiting time t is less than a preset waiting time threshold, a secondary call instruction is generated; When the expected waiting time t is greater than the preset waiting time threshold, a backup sub-password card resource library is selected according to the sub-password card resource library cross-call model, and all backup sub-password card resource libraries are traversed to generate a third-level call instruction; When generating the expected waiting time t, it includes: Obtain the required running time of all virtual password cards in the sub-password card resource library to be called; Set the sequence of virtual password cards in the sub-password card resource library to be called according to the required running time; Establish a required running time sequence T, T = (t1, t2 ... tm), where m is the number of virtual password cards in the sub-password card resource library to be called, ti is the required running time of the i-th virtual password card in the sub-password card resource library to be called, and t1 ≤ t2 ≤ ... ≤ tm; Generate a fluctuation evaluation value according to the operation parameters of the first virtual password card, the second virtual password card and the third virtual password card in the sub-password card resource library to be called; Generating a compensation coefficient e according to the fluctuation evaluation value; Generate the expected waiting time t, t=e*(t1+t2+t3) / 3.
2. The method for centralized management of multiple password cards as claimed in claim 1, characterized in that: When determining whether to modify the number of virtual password cards of the target physical password card according to the operation parameters, including: Select the target sub-password card resource library according to the target physical password card; Obtaining the operating parameters of the target sub-password card resource library between the last monitoring time node and the current monitoring time node; Generate the average waiting time b of users and the number of waiting users c according to the operating parameters; Generate a first evaluation value D1 based on the number of waiting users c; Generate a second evaluation value D2 based on the average waiting time b of the user; Generate a user evaluation value d=n1*D1+n2*D2, where n1 is the first weight coefficient and n2 is the second weight coefficient; A first user evaluation value threshold and a second user evaluation value threshold are preset. If the user evaluation value d of the current monitoring node is greater than the second user evaluation value threshold, a first-level correction instruction is generated. If the user evaluation value d of the current monitoring node is less than the user evaluation value threshold, a second-level correction instruction is generated.
3. A multi-password card centralized management system, using the multi-password card centralized management method described in any one of claims 1-2, characterized in that: include: A virtual unit, used to obtain device parameters of each physical password card, generate multiple virtual password cards according to the device parameters of a single physical password card, and generate a feature tag according to the device parameters of a single physical password card; The virtual unit is also used to establish a physical password card sequence A, A=(A1, A2...Ai...An), where n is the number of physical password cards, and Ai is the i-th physical password card; A storage unit, used to establish a virtual password card resource library, and store all virtual password cards in the virtual password card resource library; A calling unit, used for establishing a calling program to generate a virtual password card calling instruction; A correction unit, used for obtaining the virtual password card operation parameters corresponding to the target physical password card according to the preset monitoring node, and the correction unit is also used for determining whether to correct the number of virtual password cards of the target physical password card according to the operation parameters; The storage unit comprises: The first storage module is used to establish multiple sub-password card resource libraries and generate index tags of the sub-password card resource libraries; The second storage module is used to generate a characteristic tag according to the device parameters of a single physical password card, and to establish a password card-sub-password card resource library mapping relationship according to the index tag and the characteristic tag; The first storage module is also used to store all virtual password cards into corresponding sub-password card resource libraries according to the password card-sub-password card resource library mapping relationship; The calling unit comprises: A first processing module, used for establishing a physical password card association model according to the physical password card sequence A, and further used for generating a sub-password card resource library cross-call model according to the physical password card association model; The second processing module selects a physical password card to be called according to the user's required parameters, and selects a sub-password card resource library to be called according to the physical password card to be called; The second processing module is further used to traverse all virtual password cards in the sub-password card resource library to be called to determine whether there is an idle virtual password card; If there is an idle virtual password card, the second processing module generates a first-level calling instruction; A third processing module, if there is no idle virtual password card, the third processing module generates an expected waiting time t; When the expected waiting time t is less than a preset waiting time threshold, the third processing module generates a secondary call instruction; A fourth processing module, when the expected waiting time t is greater than a preset waiting time threshold, the fourth processing module selects a spare sub-password card resource library according to the sub-password card resource library cross-call model, and traverses all spare sub-password card resource libraries to generate a third-level call instruction; The third processing module is also used for: Obtain the required running time of all virtual password cards in the sub-password card resource library to be called; Set the sequence of virtual password cards in the sub-password card resource library to be called according to the required running time; Establish a required running time sequence T, T = (t1, t2 ... tm), where m is the number of virtual password cards in the sub-password card resource library to be called, ti is the required running time of the i-th virtual password card in the sub-password card resource library to be called, and t1 ≤ t2 ≤ ... ≤ tm; Generate a fluctuation evaluation value according to the operation parameters of the first virtual password card, the second virtual password card and the third virtual password card in the sub-password card resource library to be called; Generating a compensation coefficient e according to the fluctuation evaluation value; Generate the expected waiting time t, t=e*(t1+t2+t3) / 3.
4. The centralized management system for multiple password cards as claimed in claim 3, characterized in that: The correction unit comprises: The first monitoring module selects a target sub-password card resource library according to the target physical password card, and obtains the operation parameters of the target sub-password card resource library between the last monitoring time node and the current monitoring time node; The second monitoring module is used to generate the average waiting time b of users and the number of waiting users c according to the operating parameters; Generate a first evaluation value D1 based on the number of waiting users c; Generate a second evaluation value D2 based on the average waiting time b of the user; Generate a user evaluation value d=n1*D1+n2*D2, where n1 is the first weight coefficient and n2 is the second weight coefficient; The correction module is used to preset a first user evaluation value threshold and a second user evaluation value threshold. If the user evaluation value d of the current monitoring node is greater than the second user evaluation value threshold, the correction module generates a first-level correction instruction. If the user evaluation value d of the current monitoring node is less than the user evaluation value threshold, the correction module generates a second-level correction instruction.
Citation Information
Patent Citations
Information security data processing equipment and method based on hardware virtualization
CN115480873A
Computing resource adjustment method for single virtualized cipher machine
CN116566617A