Summary of the invention
Based on this, it is necessary in view of the above-mentioned problems, it is strong and can satisfy different hosts personalization and need to provide a kind of expansion
Safety keyboard configuration method, device, terminal and the storage medium asked.
A kind of safety keyboard configuration method, which comprises
Obtain the safety keyboard SDK kit encapsulated in advance, wherein the safety keyboard SDK kit includes basic training
It can function set and configurable functionality function set;
The safety keyboard SDK kit is parsed, safety keyboard is generated and configures the page, the safety keyboard configures in the page
Including the corresponding configurable item of the configurable functionality function set;
The safety keyboard that display generates configures the page;
Obtain the configuration parameter that user inputs according to the configurable item in the safety keyboard configuration page;
The configurable functionality function set is filled using the configuration parameter of acquisition, generates host's safety keyboard SDK
Kit;
The host's safety keyboard SDK kit generated to user terminal publication.
In one embodiment, the basic function function set includes input, display, switching and closes four basic training
Energy function, the configurable functionality function set include that safety keyboard place function and safety keyboard encryption function two are configurable
Power function.
In one embodiment, the parsing safety keyboard SDK kit, generates safety keyboard and configures the page, institute
It states in the safety keyboard configuration page and includes the steps that the corresponding configurable item of the configurable functionality function set includes:
Pre-process the safety keyboard SDK kit;
Identify the configurable functionality letter that the configurable functionality function set in the safety keyboard kit is included
Number mark and the corresponding configurable functionality function property information of each configurable functionality function identification, wherein the category
Property information include title, configuration logic and optional configuration parameter value;
The corresponding configuration item template of the configurable functionality function identification is obtained, and uses the configurable functionality function mark
Know corresponding configurable functionality function property information and fills the corresponding configurable item of the configuration item template generation;
Safety keyboard, which is generated, according to the configurable item of generation configures the page.
In one embodiment, the acquisition user is according to the configurable item in safety keyboard configuration page input
Configuration parameter the step of are as follows: obtain user's matching according to the corresponding optional configuration parameter value selection of the configurable item
Set parameter;
Or custom feature algorithm and corresponding algorithm parameter value that user uploads are obtained, what be will acquire is described customized
The configuration parameter of function algorithm and corresponding algorithm parameter value as the configurable item, wherein the custom feature algorithm
It can be realized the function of safety keyboard pointed by the configuration item.
In one embodiment, when the configurable functionality function is Encryption Algorithm function, match in the safety keyboard
Set the corresponding relationship between the page scene and Encryption Algorithm that the configuration parameter that the page obtains further includes host's application.
A kind of safety keyboard configuration device, described device include:
SDK obtains module, for obtaining the safety keyboard SDK kit encapsulated in advance, wherein the safety keyboard SDK
Kit includes basic function function set and configurable functionality function set;
Configurable item generation module, for parsing the safety keyboard SDK kit, generation safety keyboard configures the page,
It include the corresponding configurable item of the configurable functionality function set in the safety keyboard configuration page;
Page display module is configured, for showing that the safety keyboard generated configures the page;
Configuration parameter obtains module, defeated in the safety keyboard configuration page according to the configurable item for obtaining user
The configuration parameter entered;
Host's SDK generation module, for using the configuration parameter of acquisition to fill the configurable functionality function set,
Generate host's safety keyboard SDK kit;
SDK release module, host's safety keyboard SDK kit for being generated to user terminal publication.
In one embodiment, the configurable item generation module, is also used to pre-process the safety keyboard SDK tool
Packet;Identify the configurable functionality function identification that the configurable functionality function set in the safety keyboard kit is included
And the corresponding configurable functionality function property information of each configurable functionality function identification, wherein the attribute information
Including title, configuration logic and optional configuration parameter value;Obtain the corresponding configuration item mould of the configurable functionality function identification
Plate, and the configuration item template is filled using the corresponding configurable functionality function property information of the configurable functionality function identification
Generate corresponding configurable item;Safety keyboard, which is generated, according to the configurable item of generation configures the page.
In one embodiment, the configuration parameter obtains module, and it is right according to the configurable item to be also used to obtain user
The configuration parameter for the optional configuration parameter value selection answered;Or obtain custom feature algorithm and correspondence that user uploads
Algorithm parameter value, the custom feature algorithm that will acquire and corresponding algorithm parameter value matching as the configurable item
Set parameter, wherein the custom feature algorithm can be realized the function of safety keyboard pointed by the configuration item.
A kind of computer equipment, including memory, processor and be stored on the memory and can be in the processor
The step of computer program of upper operation, the processor realizes method described above when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of method described above is realized when row.
Above-mentioned safety keyboard configuration method, device, terminal and storage medium have been abstracted basic function by parsing and can match
The safety keyboard SDK kit for setting function, based in safety keyboard SDK kit configurable functionality function generate it is corresponding can
Configuration item, and configurable item is shown in the form of safety keyboard configures the page, user can be configured based on the safety keyboard of display
After the page imports according to self-demand or the configurable corresponding configuration parameter of item, user is selected to complete input, terminal is by basis
User imports or the configuration parameter of selection fills former safety keyboard SDK kit generation and meets the complete of host's individual demand
Safety keyboard SDK kit, and to corresponding user terminal issue, realize the individual demand of different hosts, safety-key
The configuration of disk is more intuitive quick, and the safety keyboard of needs can be configured not being professional.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
As shown in Figure 1, in one embodiment, providing a kind of applied environment figure of safety keyboard configuration method, this is answered
It include hosting terminal 110 and user terminal 120 with environment map.User terminal 110 can be smart phone, tablet computer, notes
At least one of this computer, POS machine, vehicle-mounted computer, however, it is not limited to this.Application program is installed on user terminal 120,
The application program of the installation generates the safety keyboard SDK kit to meet individual requirements using hosting terminal.Hosting terminal 110
Obtain and be abstracted the safety keyboard SDK kit of basic function and configurable functionality, based in safety keyboard SDK kit can
Configuration feature function generates corresponding configurable item, and configurable item is shown in the form of safety keyboard configures the page, exploitation
Personnel can be configured the page based on the safety keyboard of display and import or select the corresponding configuration of configurable item to join according to self-demand
Number;After completing input, hosting terminal will be filled former safety keyboard SDK kit according to the configuration parameter for importing or selecting and be generated
Meet the complete safety keyboard SDK kit of host's individual demand, and is issued to corresponding user terminal.
As shown in Fig. 2, in one embodiment, providing a kind of terminal, which includes being connected by system bus
Processor, built-in storage, non-volatile memory medium, network interface, display screen and input unit.Wherein, which is used for
Calculating and control ability are provided, the operation of entire terminal is supported.The non-volatile memory medium of the hosting terminal is stored with operation
System and computer executable instructions, the computer executable instructions can realize following embodiment institute performed by processor
A kind of safety keyboard configuration method provided.Built-in storage in terminal is operating system and meter in non-volatile memory medium
The operation of calculation machine executable instruction provides environment.Network interface is communicated for being connected to network.Display screen is each for showing
Kind interface, for example, can show that safety keyboard configures the page.Input unit can be the touch layer covered on display screen, can also be with
It is the key being arranged on electronic equipment casing, trace ball or Trackpad, is also possible to external keyboard, Trackpad or mouse etc.,
For for input configuration parameter and various instructions.
It will be understood by those skilled in the art that the structure of mobile terminal shown in Figure 2, only with application scheme phase
The block diagram of the part-structure of pass does not constitute the restriction for the mobile terminal being applied thereon to application scheme, specific to move
Dynamic terminal may include perhaps combining certain components or with different components than more or fewer components as shown in the figure
Arrangement.
As shown in figure 3, in one embodiment, provide a kind of safety keyboard configuration method, this method be applied to as
It is illustrated, specifically comprises the following steps: in hosting terminal shown in FIG. 1
Step S202: the safety keyboard SDK kit encapsulated in advance is obtained, wherein safety keyboard SDK kit includes base
This power function set and configurable functionality function set.
Hosting terminal obtains safety keyboard SDK kit packaged in advance, and hosting terminal here can be each application
The controlling terminal of program.Here application program can be the sensitivity that financial application, electric business application etc. need to carry out network trading
Using.If so-and-so manages money matters the internal control terminal of application, which is used for the user terminal publication for being equipped with the financing and applying
Each middle kit required for application program.Hosting terminal in the present embodiment is for safety keyboard needed for generating application program
Kit.
In one embodiment, safety keyboard SDK kit can be developed by third party, and by the safety keyboard SDK of exploitation
Kit is opened to the outside world in the form of interface, for each hosting terminal calling.
The safety keyboard SDK kit that hosting terminal is obtained by calling interface can realize the basic function of keyboard, safety
One or more basic function function in keyboard SDK kit for realizing safety keyboard a basic function, substantially
Power function set can be realized the basic function of all safety keyboards abstracted.The function of click event is such as monitored, is shown
Show the function of various keyboard modes and the function according to input demand free switching keyboard mode, wherein keyboard mode can be with
Including numeric keypad, alphabetic keypad and keyboard symbol.
The configurable functionality function of safety keyboard SDK kit is the safety keyboard safety for ensureing sensitive information safety
The implementation method of function.The method being laid out such as the information encryption implementation method and drafting safety keyboard of safety keyboard.Safety-key
The frame of above-mentioned function realizing method (configurable functionality function set) is only integrated in the safety keyboard code of disk SDK kit,
Parameter value is not specified for function or can call the address of algorithm.
The basic function function of safety keyboard and configurable functionality function are identified in advance.In one embodiment,
It can be identified by the function that can be realized, such as the function that function SDK.x is laid out for realizing safety keyboard, then use " safety
Keyboard layout " identifies the function;Handoff functionality of the function SDK.y for realizing safety keyboard then uses " keyboard mode switching "
Identify the function.
Step S204: parsing safety keyboard SDK kit generates safety keyboard and configures the page, wherein safety keyboard configuration
It include the corresponding configurable item of configurable functionality function set in the page.
After hosting terminal gets the safety keyboard SDK kit encapsulated in advance, the safety keyboard SDK work of the acquisition is parsed
Tool packet, obtains basic function function set and configurable functionality function set.And then it is corresponding to generate configurable functionality function set
Configurable item, the configurable item of generation shows in the form of safety keyboard configures the page.
In one embodiment, configurable item includes theme and Input and the corresponding drop-down menu of text box
Column, as shown in Figure 4.Configurable item is obtained based on the parsing to configurable functionality function, different configurable functionality functions
The configurable item generated is not also identical.Specifically, hosting terminal obtains effective configuration information by parsing configurable functionality function
And parameter to be selected associated with configurable item or default parameters, and it is according to these effective informations of acquisition and fixed in advance
The configurable item template generation of justice can configure item.
If configurable functionality function can support the importing of external algorithm, what generation pre-defined in configurable item is led
Enter the indicating template of external data, then inserts corresponding information in indicating template.If configurable functionality function is prepared in advance
Multiple parameters to be selected, then can be shown by way of drop-down menu.If configurable functionality function needs multistage parameter (first
Whether grade: carrying out keyboard mode configuration, if so, whether the progress second level keyboard model is deleted and selected and the third level
Layout pattern is selected for every kind of keyboard mode), then that calls multistage configuration indicating template to show the configurable functionality function can
Configuration item.
Step S206: the safety keyboard configuration page of generation is shown.
After generating the corresponding configurable item of configurable functionality function, the configurable item of generation is with the safety keyboard configuration page
Form shows, as shown in Figure 4.It should be noted that Fig. 4 only indicates a kind of safety keyboard configuration page, different matches
The safety keyboard function logic for setting power function realization is not quite similar, correspondingly, the safety keyboard configuration page generated also has
Institute is different, and safety keyboard configuration interface is not limited only to the configuration logic that Fig. 4 is provided.
In one embodiment, the safety keyboard configuration page further includes safety keyboard solidification function display area, the region
For showing the basic function of configured safety keyboard, so that the basic function of safety keyboard being capable of open-and-shut quilt
Host is known.Hosting terminal is without configuring the function in the region.
Step S208: the configuration parameter that user inputs according to configurable item in the safety keyboard configuration page is obtained.
Under the guide of the safety keyboard configuration page, the parameter value to be selected for obtaining user's selection, the safety keyboard function chosen
The algorithmic function for meeting host's demand that can and import.
For example, hosting terminal can configure the layout of safety keyboard, seal in advance in safety keyboard SDK kit
Two kinds of layout implementation methods that can be to be selected are filled, one is fixed sequence program is laid out, the second is random sequence is laid out.Fixed sequence program cloth
Office carries out the displaying of element in safety keyboard according to the intrinsic layout of drafting.As the arrangement of keyboard digital, the arrangement of symbol and
The arrangement of letter.After hosting terminal selects fixed sequence program layout, it can import in the keyboard for meeting host's demand locally drawn
It is laid out so that host, which applies, shows safety keyboard according to the keyboard layout fixed sequence program locally drawn.Hosting terminal can also select
Random sequence layout is selected, the corresponding random algorithm of random sequence layout can be packaged in advance in safety keyboard SDK kit
Random algorithm, be also possible to hosting terminal exploitation the random algorithm for meeting host's demand.
In another embodiment, hosting terminal can also define mapping relations to the character string of keyboard element and output,
Such as defining alphabetical " a " corresponding input character string is " %%123 ", to prevent external snooping from obtaining sensitive information.It can also be right
Keyboard element and the character string of output establish dynamic mapping relationship.
Accordingly for the configuration of Encryption Algorithm, the Encryption Algorithm that may be selected to encapsulate in advance in kit can also be imported certainly
Define Encryption Algorithm.
Step S210: configurable functionality function set is filled using the configuration parameter obtained, generates host's safety keyboard SDK
Kit.
Step S212: the host's safety keyboard SDK kit generated to user terminal publication.
The configuration parameter that will acquire is filled into corresponding configurable functionality function, to generate the complete function of safety keyboard
Energy function, realizes specific safety keyboard function.Encapsulate these function sets, including configured configurable functionality function and base
This power function generates host's safety keyboard SDK kit, and installation host's safety keyboard SDK kit can make safety keyboard
Show the safety keyboard function of host's individual cultivation.
In the present embodiment, corresponding configurable item is generated based on the configurable functionality function in safety keyboard SDK kit,
And show configurable item in the form of safety keyboard configures the page, hosting terminal can carry out safety keyboard function according to demand
Individual cultivation realizes the individual demand of different hosts, and the configuration of safety keyboard is more intuitive quick, even if not being profession
Personnel can also configure the safety keyboard of needs.
In one embodiment, as shown in figure 5, step S204: parsing safety keyboard SDK kit generates safety keyboard
Configure the page, wherein it includes basic function function set corresponding basic function solidification item and can that safety keyboard, which configures in the page,
The corresponding configurable item of configuration feature function set includes:
Step S302: pre-treatment safety keyboard SDK kit.
The file type for identifying safety keyboard SDK kit is identified according to the software program that file type selection matches
Data in safety keyboard SDK kit.
If safety keyboard SDK kit is ZIP formatted file, the kit is decompressed using decompression applications program, is obtained
Executable file (including resource and executable code), dll file into kit (include API in dll file
(Application Programming Interface, Application Programming Interface) function), can also include technical notes file
With support document etc..Hosting terminal parses the file in the safety keyboard SDK kit after decompression, obtains basic function
Function set and configurable functionality function set and corresponding configuration resource and technical notes information.
Step S304: the configurable functionality letter that the configurable functionality function set in identification safety keyboard kit is included
Number mark and the corresponding configurable functionality function property information of each configurable functionality function identification, wherein attribute information packet
Include title, configuration logic and optional configuration parameter value.
By the pretreatment and parsing to safety keyboard SDK file, can obtain the function information for including in SDK file and
The corresponding attribute information of each power function.
Specifically: obtain the attribute information of function identification included by safety keyboard SDK file and function, wherein letter
Several attribute informations includes type function (including solidification function and configurable functionality function), function identification, function name, configuration
Logic (provides the ownership logic of the option and installment of parameter value, the parameter that can import external data configuration, configuration, if parameter A is ginseng
Junior's parameter of number B, i.e., need to first carry out the configuration of parameter B, just can configuration parameter A therewith) and selectable configuration parameter value,
Wherein, the configurable parameter of selectable configuration parameter value and function has corresponding relationship.
Step S306: the corresponding configuration item template of configurable functionality function identification is obtained, and uses configurable functionality function
Identifying the filling of corresponding configurable functionality function property information configuration item template generation configurable functionality function identification is corresponding can
Configuration item.
The type function of function property information identifies configurable functionality function, and then according to configurable functionality function
Attribute information calls corresponding configuration template, specifically, calling corresponding configuration according to the configuration logic of configurable functionality function
Item template.Then the corresponding function name of configurable functionality function, selectable configuration parameter value are inserted to configuration item mould
In plate, the configurable item of configurable functionality function is generated.
Step S308: safety keyboard is generated according to the configurable item of generation and configures the page.
By the safety keyboard SDK kit of parsing abstract, based on preconfigured configuration item template generation function
Visual configuration item family can be used to carry out accurate parameter configuration by visual configuration item.
In one embodiment, step S208: user is obtained according to configurable item in safety keyboard configuration page input
The step of configuration parameter are as follows: obtain user according to the configuration parameter of the corresponding optional configuration parameter value selection of configurable item;Or
Obtain user upload custom feature algorithm and corresponding algorithm parameter value, the custom feature algorithm that will acquire and
Configuration parameter of the corresponding algorithm parameter value as the configurable item, wherein the custom feature algorithm can be realized institute
State the function of safety keyboard pointed by configuration item.
Safety keyboard configure the page in configurable item configuration parameter can using the following two kinds mode it is any into
Row configuration: one is, directly the configuration parameter needed is selected in the optional configuration parameter value that system is configurable item configuration;
The second is importing custom feature algorithm, matching for configurable item is selected in the corresponding algorithm parameter value of custom feature algorithm
Set parameter.
It should be noted that allow can in the presence of only support a kind of above-mentioned configuration mode in the configuration page of safety keyboard
Configuration item exists.It mode can only be determined such as the optional configuration parameter value by selecting system configuration such as some configurable items
Configuration parameter.Optional configuration parameter value is not configured in other configurable item systems, can only be joined by custom algorithm and algorithm
The mode of numerical value confirms configuration parameter.
Above-mentioned custom feature algorithm can be the Encryption Algorithm of customized safety keyboard, customized safety keyboard
Layout etc..
Hosting terminal can carry out the customized of corresponding function algorithm, to use customized algorithm to realize the phase of safety keyboard
Function is answered, the corresponding function of safety keyboard can also be realized according to the algorithm provided inside SDK.If hosting terminal is not to can match
It sets power function to be configured accordingly, host's safety keyboard SDK kit will be generated according to the configuration of default.
In one embodiment, it when configurable functionality function is Encryption Algorithm function, is obtained in the safety keyboard configuration page
The configuration parameter taken further include: the corresponding relationship between the page scene and Encryption Algorithm of host's page.
Specifically, hosting terminal obtains the page scene information of host's application in advance, the page is configured generating safety keyboard
When, generate the configuration item of mapping relations between the page scene and Encryption Algorithm for configuring host's application.By the configuration item,
Hosting terminal can be directed to the different Encryption Algorithm of different page scene configurations, and the Encryption Algorithm of configuration can be built in SDK
Encryption Algorithm is also possible to user-defined encrypted algorithm.
In one embodiment, by configured safety keyboard kit and the corresponding safety keyboard configuration page (packet
Include parameter value) be uploaded to Cloud Server so that with permission personnel can cloud modify to the safety keyboard of configuration, when
After detecting modification, Cloud Server sends more new command to configurating terminal (can specify multiple), and user terminal downloads are newest
Safety keyboard kit, and the safety keyboard SDK kit of the update is installed in corresponding host program.
In one embodiment, as shown in fig. 6, providing a kind of safety keyboard configuration device, which includes:
SDK obtains module 402, for obtaining the safety keyboard SDK kit encapsulated in advance, wherein safety keyboard SDK work
Tool packet includes basic function function set and configurable functionality function set.
Configurable item generation module 404, for parsing safety keyboard SDK kit, generation safety keyboard configures the page,
In, it includes the corresponding configurable item of configurable functionality function set in the page that safety keyboard, which configures,.
Page display module 406 is configured, for showing that the safety keyboard generated configures the page.
Configuration parameter obtains module 408, for obtaining user according to configurable item in safety keyboard configuration page input
Configuration parameter.
Host SDK generation module 410 is generated for using the configuration parameter of acquisition to fill configurable functionality function set
Host's safety keyboard SDK kit.
SDK release module 412, host's safety keyboard SDK kit for being generated to user terminal publication.
In one embodiment, basic function function set includes at least input, display, switching and closes four basic training
Energy function, configurable functionality function set includes at least safety keyboard place function and safety keyboard encryption function two configurable
Power function.
In one embodiment, it can configure item generation module 404, be also used to pre-treatment safety keyboard SDK kit;Identification
The configurable functionality function identification and each can configure that configurable functionality function set in safety keyboard kit is included
Power function identifies corresponding configurable functionality function property information, wherein attribute information includes title, configuration logic and optional
Select configuration parameter value;The corresponding configuration item template of configurable functionality function identification is obtained, and uses configurable functionality function identification
Corresponding configurable functionality function property information fills the corresponding configurable item of configuration item template generation;According to the configurable of generation
Item generates safety keyboard and configures the page.
In one embodiment, configuration parameter obtain module 408, be also used to obtain user according to configurable item is corresponding can
The configuration parameter of option and installment parameter value selection;And/or obtain custom feature algorithm and corresponding algorithm that user uploads
Parameter value, custom feature algorithm can be realized the function of safety keyboard pointed by configuration item.
In one embodiment, it when configurable functionality function is Encryption Algorithm function, is obtained in the safety keyboard configuration page
The configuration parameter taken further include: the corresponding relationship between the page scene and Encryption Algorithm of host's application.
In one embodiment, a kind of terminal is provided, which includes memory, processor and store on a memory
And the computer program that can be run on a processor, processor realize step when executing program: obtaining the peace encapsulated in advance
Full keyboard SDK kit, wherein safety keyboard SDK kit includes basic function function set and configurable functionality collection of functions
It closes;Safety keyboard SDK kit is parsed, safety keyboard is generated and configures the page, it includes configurable function that safety keyboard, which configures in the page,
It can the corresponding configurable item of function set;The safety keyboard that display generates configures the page;User is obtained according to configurable Xiang An
Full keyboard configures the configuration parameter of page input;Configurable functionality function set is filled using the configuration parameter of acquisition, generates place
Main safety keyboard SDK kit;The host's safety keyboard SDK kit generated to user terminal publication.
In one embodiment, basic function function set includes at least input, display, switching and closes four basic training
Energy function, configurable functionality function set includes at least safety keyboard place function and safety keyboard encryption function two configurable
Power function.
In one embodiment, parsing safety keyboard SDK kit performed by terminal handler generates safety keyboard and matches
The page is set, includes the steps that the corresponding configurable item of configurable functionality function set includes: pre- place in the safety keyboard configuration page
Manage safety keyboard SDK kit;The configurable function that configurable functionality function set in identification safety keyboard kit is included
Energy function identification and the corresponding configurable functionality function property information of each configurable functionality function identification, wherein attribute letter
Breath includes title, configuration logic and optional configuration parameter value;The corresponding configuration item template of configurable functionality function identification is obtained,
And it is corresponding using the corresponding configurable functionality function property information filling configuration item template generation of configurable functionality function identification
Configurable item;Safety keyboard, which is generated, according to the configurable item of generation configures the page.
In one embodiment, acquisition user performed by terminal handler is according to configurable item in safety keyboard configuration page
The step of configuration parameter of face input are as follows: obtain user according to the configuration of the corresponding optional configuration parameter value selection of configurable item
Parameter;And/or custom feature algorithm and corresponding algorithm parameter value that user uploads are obtained, custom feature algorithm can
Realize the function of safety keyboard pointed by configuration item.
In one embodiment, it when configurable functionality function is Encryption Algorithm function, is obtained in the safety keyboard configuration page
The configuration parameter taken further includes the corresponding relationship between the page scene and Encryption Algorithm of host's application.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program realizes following steps when being executed by processor: obtaining the safety keyboard SDK kit encapsulated in advance, wherein safety-key
Disk SDK kit includes basic function function set and configurable functionality function set;Safety keyboard SDK kit is parsed, it is raw
The page is configured at safety keyboard, it includes the corresponding configurable item of configurable functionality function set in the page that safety keyboard, which configures,;It is aobvious
Show the safety keyboard configuration page of generation;Configuration of the user according to configurable item in safety keyboard configuration page input is obtained to join
Number;Configurable functionality function set is filled using the configuration parameter of acquisition, generates host's safety keyboard SDK kit;To user
Host's safety keyboard SDK kit that terminal publication generates.
In one embodiment, basic function function set includes at least input, display, switching and closes four basic training
Energy function, configurable functionality function set includes at least safety keyboard place function and safety keyboard encryption function two configurable
Power function.
In one embodiment, parsing safety keyboard SDK kit performed by processor generates safety keyboard configuration page
Face, safety keyboard, which configures, includes the steps that the corresponding configurable item of configurable functionality function set includes: pretreatment peace in the page
Full keyboard SDK kit;The configurable functionality letter that configurable functionality function set in identification safety keyboard kit is included
Number mark and the corresponding configurable functionality function property information of each configurable functionality function identification, wherein attribute information packet
Include title, configuration logic and optional configuration parameter value;The corresponding configuration item template of configurable functionality function identification is obtained, and is made
With the filling of configurable functionality function identification corresponding configurable functionality function property information, configuration item template generation is corresponding matches
Set item;Safety keyboard, which is generated, according to the configurable item of generation configures the page.
In one embodiment, acquisition user performed by processor is defeated in the safety keyboard configuration page according to configurable item
The step of configuration parameter entered are as follows: obtain user and joined according to the configuration of the corresponding optional configuration parameter value selection of configurable item
Number;And/or the custom feature algorithm and corresponding algorithm parameter value, custom feature algorithm of acquisition user's upload can be real
The function of safety keyboard pointed by existing configuration item.
In one embodiment, it when configurable functionality function is Encryption Algorithm function, is obtained in the safety keyboard configuration page
The configuration parameter taken further includes the corresponding relationship between the page scene and Encryption Algorithm of host's application.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, program can be stored in a computer-readable storage medium, such as
In the embodiment of the present invention, which be can be stored in the storage medium of computer system, and by the computer system at least
One processor executes, and includes the process such as the embodiment of above-mentioned each method with realization.Wherein, storage medium can be magnetic disk, light
Disk, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory,
RAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
Only several embodiments of the present invention are expressed for above embodiments, and the description thereof is more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art,
Under the premise of not departing from present inventive concept, various modifications and improvements can be made, and these are all within the scope of protection of the present invention.
Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.