WO2019019377A1 - 安全键盘配置方法、装置、终端和存储介质 - Google Patents

安全键盘配置方法、装置、终端和存储介质 Download PDF

Info

Publication number
WO2019019377A1
WO2019019377A1 PCT/CN2017/104615 CN2017104615W WO2019019377A1 WO 2019019377 A1 WO2019019377 A1 WO 2019019377A1 CN 2017104615 W CN2017104615 W CN 2017104615W WO 2019019377 A1 WO2019019377 A1 WO 2019019377A1
Authority
WO
WIPO (PCT)
Prior art keywords
function
configurable
configuration
keyboard
security keyboard
Prior art date
Application number
PCT/CN2017/104615
Other languages
English (en)
French (fr)
Inventor
张玉强
Original Assignee
上海壹账通金融科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海壹账通金融科技有限公司 filed Critical 上海壹账通金融科技有限公司
Publication of WO2019019377A1 publication Critical patent/WO2019019377A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0202Constructional details or processes of manufacture of the input device

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a security keyboard configuration method, apparatus, terminal, and storage medium.
  • the traditional information input uses the system default keyboard input.
  • the default keyboard of the system is a keyboard that cures all functions. It is easier to be recorded by malware and calculate the user's input value, thus leaking sensitive information and causing heavy losses.
  • the security keyboard that cures all functions has poor expandability, and enterprises that have personalized functions for the security keyboard need to spend a lot of development cost to develop keyboard codes that meet their own needs, and the development cost and maintenance cost are high.
  • a method of configuring a security keyboard comprising:
  • the secure keyboard SDK kit includes a set of basic function functions and a set of configurable function functions
  • the generated host security keyboard SDK toolkit is distributed to the user terminal.
  • a security keyboard configuration device comprising:
  • the SDK acquisition module is configured to obtain a pre-packaged security keyboard SDK toolkit, wherein the security keyboard SDK toolkit includes a basic function function set and a configurable function function set;
  • a configurable item generating module configured to parse the security keyboard SDK toolkit, and generate a security keyboard configuration page, where the security keyboard configuration page includes a configurable item corresponding to the configurable function function set;
  • a configuration page display module configured to display the generated security keyboard configuration page
  • a configuration parameter obtaining module configured to acquire configuration parameters input by the user on the security keyboard configuration page according to the configurable item
  • a host SDK generation module configured to populate the configurable function function set with the obtained configuration parameter, and generate a host security keyboard SDK toolkit;
  • the SDK publishing module is configured to release the generated host security keyboard SDK toolkit to the user terminal.
  • a terminal comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:
  • the secure keyboard SDK kit includes a set of basic function functions and a set of configurable function functions
  • the generated host security keyboard SDK toolkit is distributed to the user terminal.
  • One or more computer readable non-volatile storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the steps of:
  • the secure keyboard SDK kit includes a set of basic function functions and a set of configurable function functions
  • the generated host security keyboard SDK toolkit is distributed to the user terminal.
  • FIG. 1 is an application environment diagram of a method for configuring a security keyboard in an embodiment
  • FIG. 2 is a schematic diagram showing the internal structure of a terminal in an embodiment
  • FIG. 3 is a flow chart of a method for configuring a security keyboard in an embodiment
  • FIG. 4 is a schematic diagram of a security keyboard configuration page in one embodiment
  • Figure 6 is a block diagram showing the structure of a security keyboard configuration apparatus in an embodiment.
  • first, second and the like may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
  • both the first user ID and the second user ID are user IDs, but they are not the same user ID.
  • an application environment diagram of a secure keyboard configuration method includes a host terminal 110 and a user terminal 120.
  • the user terminal 110 may be at least one of a smart phone, a tablet computer, a notebook computer, a POS machine, and an in-vehicle computer, but is not limited thereto.
  • An application program is installed on the user terminal 120, and the installed application uses the host terminal to generate a secure keyboard SDK toolkit that satisfies the individual needs.
  • the host terminal 110 acquires a secure keyboard SDK toolkit that abstracts basic functions and configurable functions, generates corresponding configurable items based on configurable function functions in the secure keyboard SDK toolkit, and configures the configurable items in the form of a secure keyboard configuration page.
  • the developer can import or select the configuration parameters corresponding to the configurable items according to the requirements of the displayed security keyboard configuration page; after the input is completed, the host terminal will fill the original security keyboard SDK toolkit according to the imported or selected configuration parameters to generate the host.
  • a complete security keyboard SDK toolkit for personalized needs is released to the corresponding user terminal.
  • a terminal includes a processor coupled via a system bus, an internal memory, a non-volatile storage medium, a network interface, a display screen, and an input device.
  • the processor is used to provide computing and control capabilities to support the operation of the entire terminal.
  • the non-volatile storage medium of the host terminal stores an operating system and computer readable instructions executable by the processor to implement a secure keyboard configuration method provided by the following embodiments.
  • the internal memory in the terminal provides an environment for the operation of the operating system and computer readable instructions in the non-volatile storage medium.
  • the network interface is used to connect to the network for communication.
  • the display is used to display various interfaces, such as a secure keyboard configuration page.
  • the input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the outer casing of the electronic device, or may be an external keyboard, a touchpad or a mouse, etc., for inputting configuration parameters. And various instructions.
  • FIG. 2 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the mobile terminal to which the solution of the present application is applied.
  • the mobile terminal may include more or fewer components than shown in the figures, or some components may be combined, or have different component arrangements.
  • FIG. 3 is a schematic flow chart of a method according to an embodiment of the present application. It should be understood that although the various steps in the flowchart of FIG. 3 are sequentially displayed as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Except as explicitly stated herein, the execution of these steps is not strictly limited, and may be performed in other sequences. Moreover, at least some of the steps in FIG. 3 may include a plurality of sub-steps or stages, which are not necessarily performed at the same time, but may be executed at different times, and the order of execution thereof is not necessarily This may be performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of the other steps.
  • a method for configuring a security keyboard is provided.
  • the method is applied to the host terminal shown in FIG. 1 as an example, and specifically includes the following steps:
  • Step S202 Acquire a pre-packaged security keyboard SDK toolkit, wherein the security keyboard SDK toolkit includes a basic function function set and a configurable function function set.
  • the host terminal obtains a pre-packaged secure keyboard SDK toolkit, where the host terminal can be a control terminal of each application.
  • the applications here can be sensitive applications that require network transactions, such as financial applications, e-commerce applications.
  • financial applications e-commerce applications.
  • an internal control terminal of a certain financial application the terminal is used to release each toolkit required by the application to the user terminal installed with the financial application.
  • the host terminal in the example is used to generate the secure keyboard toolkit required by the application.
  • the secure keyboard SDK toolkit can be developed by a third party and the developed secure keyboard SDK toolkit is opened to the outside in the form of an interface for each host terminal to invoke.
  • the host terminal can realize the basic functions of the keyboard by calling the security keyboard SDK toolkit obtained by the interface.
  • One or more basic function functions in the security keyboard SDK toolkit are used to implement a basic function of the security keyboard, and the basic function function set can be realized.
  • Abstract the basic functionality of all security keyboards. For example, the function of monitoring the click event, displaying the functions of various keyboard modes and the function of freely switching the keyboard mode according to the input requirements, wherein the keyboard mode may include a numeric keypad, an alphabetic keyboard, and a symbolic keyboard.
  • the configurable function of the Secure Keyboard SDK Toolkit is a way to implement secure keyboard security for securing sensitive information. Such as the information encryption implementation method of the security keyboard and the method of drawing the security keyboard layout.
  • the security keyboard code of the Secure Keyboard SDK toolkit integrates only the framework of the above-mentioned function implementation methods (a set of configurable function functions), and does not specify a parameter value or an address of the callable algorithm for the function.
  • the basic function functions and configurable function functions of the security keyboard are identified in advance.
  • the function can be identified by a function that can be implemented.
  • the function SDK.x is used to implement the function of the secure keyboard layout, and the function is identified by a "safe keyboard layout"; the function SDK.y is used to implement the security keyboard.
  • the function is identified by "keyboard mode switching".
  • Step S204 parsing the security keyboard SDK toolkit to generate a security keyboard configuration page, wherein the security keyboard configuration page includes a configurable item corresponding to the configurable function function set.
  • the host terminal After obtaining the pre-packaged security keyboard SDK toolkit, the host terminal parses the obtained security keyboard SDK toolkit to obtain a basic function function set and a configurable function function set. Further, a configurable item corresponding to the configurable function function set is generated, and the generated configurable item is displayed in the form of a security keyboard configuration page.
  • the configurable item includes a theme and a text box control and a drop down menu bar corresponding to the text box, as shown in FIG.
  • the configurable items are based on the parsing of configurable function functions, and the configurable items generated by different configurable function functions are also different.
  • the host terminal passes the solution
  • the configurable function obtains valid configuration information and candidate parameters or default parameters associated with the configurable items, and generates configurable items according to the obtained valid information and the predefined configurable item templates.
  • the configurable item If the configurable function can support the import of external algorithms, the configurable item generates a predefined display template for importing external data, and then fills in the corresponding information in the display template. If the configurable function has prepared a number of candidate parameters in advance, it can be displayed as a drop-down menu. If the configurable function requires multiple levels of parameters (first level: whether to perform keyboard mode configuration, if yes, whether the second level deletes and selects the keyboard model and the third level selects the layout mode for each keyboard mode), then the call is made. A multi-level configuration display template to display configurable items for this configurable function.
  • Step S206 Display the generated security keyboard configuration page.
  • the generated configurable item is displayed in the form of a security keyboard configuration page, as shown in FIG. 4 .
  • FIG. 4 only shows a security keyboard configuration page, and different configurable function functions implement different security keyboard function logics. Accordingly, the generated security keyboard configuration page may also be different, and the security keyboard configuration may be different.
  • the interface is not limited to the configuration logic given in Figure 4.
  • the secure keyboard configuration page further includes a security keyboard curing function display area for displaying the basic functions of the configured security keyboard so that the basic functions of the security keyboard can be known to the host at a glance.
  • the host terminal does not need to configure the functions in the area.
  • Step S208 Acquire a configuration parameter input by the user on the security keyboard configuration page according to the configurable item.
  • the host terminal can configure the layout of the security keyboard, and the security keyboard SDK tool package pre-packages two alternative layout implementation methods, one is a fixed sequence layout, and the other is a random sequence layout.
  • the fixed sequence layout shows the elements in the secure keyboard according to the inherent layout of the drawing. Such as the arrangement of keyboard numbers, the arrangement of symbols, and the arrangement of letters.
  • the host terminal selects the fixed sequence layout, the locally mapped keyboard layout that satisfies the host requirements can be imported to cause the host application to display the security keyboard in a fixed sequence of the locally drawn keyboard layout.
  • the host terminal can also choose random
  • the random algorithm corresponding to the sequence layout and the random sequence layout may be a pre-packaged random algorithm in the security keyboard SDK toolkit, or a random algorithm developed by the host terminal to satisfy the host requirement.
  • the host terminal may also define a mapping relationship between the keyboard element and the outputted string, such as defining an input string corresponding to the letter “a” as “%%123" to prevent external snooping from obtaining sensitive information. It is also possible to dynamically map keyboard elements to output strings.
  • the pre-encapsulated encryption algorithm in the toolkit can also be selected to import the custom encryption algorithm.
  • Step S210 Fill the configurable function function set with the obtained configuration parameters, and generate a host security keyboard SDK toolkit.
  • Step S212 Publish the generated host security keyboard SDK toolkit to the user terminal.
  • the obtained configuration parameters are filled into the corresponding configurable function functions to generate a complete function function of the security keyboard to implement a specific security keyboard function. Encapsulating these function sets, including configured configurable function functions and basic function functions to generate the host security keyboard SDK toolkit, the installation host security keyboard SDK toolkit enables the security keyboard to display the security keyboard function of the host personal configuration.
  • the corresponding configurable item is generated based on the configurable function function in the security keyboard SDK toolkit, and the configurable item is displayed in the form of a security keyboard configuration page, and the host terminal can personalize the security keyboard function according to requirements.
  • Configuration to achieve the personal needs of different hosts, the configuration of the security keyboard is more intuitive and fast, even if not a professional can configure the required security keyboard.
  • step S204 parsing the security keyboard SDK toolkit to generate a security keyboard configuration page, wherein the security keyboard configuration page includes basic function curing items and configurable functions corresponding to the basic function function set.
  • the configurable items corresponding to the function set include:
  • Step S302 Pre-processing the security keyboard SDK toolkit.
  • the Secure Keyboard SDK Toolkit is a ZIP format file
  • use the unzip application to extract the Toolkit, get the executable file (including resources and executable code) in the toolkit, dll file (including the API (Application Programming Interface) function in the dll file), and can also include technical annotation files and supporting documents.
  • the host terminal parses the files in the decompressed security keyboard SDK toolkit, and obtains a basic function function set and a configurable function function set, and corresponding configuration resources and technical annotation information.
  • Step S304 Identify the configurable function function identifier included in the configurable function function set in the security keyboard toolkit and the configurable function function attribute information corresponding to each configurable function function identifier, where the attribute information includes a name, a configuration logic, and You can choose to configure parameter values.
  • the function information contained in the SDK file and the attribute information corresponding to each function function can be obtained.
  • obtaining the function identifier included in the security keyboard SDK file and the attribute information of the function wherein the attribute information of the function includes a function type (including a curing function and a configurable function), a function identifier, a function name, and a configuration logic (providing parameters) Value selection configuration, importable external data configuration, configuration logic of the configured parameters, such as parameter A is the lower-level parameter of parameter B, that is, parameter B must be configured first, then parameter A) and optional configuration can be configured accordingly.
  • a parameter value in which the selectable configuration parameter value has a correspondence with a function's configurable parameter.
  • Step S306 Acquire a configuration item template corresponding to the configurable function function identifier, and use the configurable function function identifier corresponding configurable function function attribute information to fill the configuration item template to generate a configurable item corresponding to the configurable function function identifier.
  • the function type of the function attribute information identifies the configurable function function, and then calls the corresponding configuration template according to the attribute information of the configurable function function, specifically, the corresponding configuration item template is called according to the configuration logic of the configurable function function. Then, the function name corresponding to the configurable function function and the selectable configuration parameter value are filled into the configuration item template to generate a configurable item of the configurable function function.
  • Step S308 Generate a security keyboard configuration page according to the generated configurable item.
  • the visual configuration item of the function is generated based on the pre-configured configuration item template, and the user can perform accurate parameter configuration by visualizing the configuration item.
  • step S208: obtaining a configuration parameter input by the user according to the configurable item on the security keyboard configuration page is: acquiring a configuration parameter selected by the user according to the selectable configuration parameter value corresponding to the configurable item; or obtaining the user uploading
  • the custom function algorithm and the corresponding algorithm parameter value, the obtained custom function algorithm and the corresponding algorithm parameter value are used as configuration parameters of the configurable item, wherein the custom function algorithm can implement the function of the security keyboard pointed to by the configuration item .
  • the configuration parameters of the configurable items in the security keyboard configuration page can be configured in any of the following two ways: First, the required configuration parameters are directly selected in the optional configuration parameter values configured by the system for the configurable items; The second is to import a custom function algorithm, and select a configuration parameter of the configurable item among the algorithm parameter values corresponding to the custom function algorithm.
  • configurable item in the configuration page of the security keyboard that supports only one of the above configuration modes.
  • some configurable items can only determine configuration parameters by selecting the optional configuration parameter values configured by the system.
  • Other configurable item systems are not configured with selectable configuration parameter values, and configuration parameters can only be confirmed by custom algorithm and algorithm parameter values.
  • the above custom function algorithm can be a custom security keyboard encryption algorithm, a custom security keyboard layout, and the like.
  • the host terminal can customize the corresponding function algorithm to implement the corresponding function of the security keyboard by using a customized algorithm, and can also implement the corresponding function of the security keyboard according to the algorithm provided by the SDK. If the host terminal does not configure the configurable function function, the host security keyboard SDK toolkit will be generated according to the default configuration.
  • the configuration parameter acquired on the security keyboard configuration page further includes: a correspondence between a page scenario of the host page and the encryption algorithm.
  • the host terminal obtains the page scenario information of the host application in advance, and generates a configuration item for configuring a mapping relationship between the page scenario of the host application and the encryption algorithm when the security keyboard configuration page is generated.
  • the host terminal can configure different encryption algorithms for different page scenarios.
  • the configured encryption algorithm can be an encryption algorithm built into the SDK or a custom encryption algorithm.
  • the configured secure keyboard kit and corresponding secure keyboard configuration The page (including the parameter value) is uploaded to the cloud server, so that the authorized person can modify the configured security keyboard in the cloud, and when the modification is detected, the cloud server sends an update instruction to the configuration terminal (may specify multiple), the user The terminal downloads the latest Security Keyboard Toolkit and installs the updated Security Keyboard SDK Toolkit in the appropriate host program.
  • a security keyboard configuration apparatus comprising:
  • the SDK obtaining module 402 is configured to obtain a pre-packaged secure keyboard SDK toolkit, wherein the secure keyboard SDK toolkit includes a basic function function set and a configurable function function set.
  • the configurable item generating module 404 is configured to parse the security keyboard SDK toolkit to generate a security keyboard configuration page, where the security keyboard configuration page includes a configurable item corresponding to the configurable function function set.
  • the configuration page display module 406 is configured to display the generated security keyboard configuration page.
  • the configuration parameter obtaining module 408 is configured to obtain configuration parameters input by the user on the security keyboard configuration page according to the configurable item.
  • the host SDK generation module 410 is configured to populate the configurable function function set with the obtained configuration parameters to generate a host security keyboard SDK toolkit.
  • the SDK issuing module 412 is configured to release the generated host security keyboard SDK toolkit to the user terminal.
  • the set of basic function functions includes at least four basic function functions of inputting, displaying, switching, and closing
  • the set of configurable function functions includes at least two configurable function functions of a secure keyboard layout function and a secure keyboard encryption function.
  • the configurable item generation module 404 is further configured to pre-process the secure keyboard SDK toolkit; to identify configurable function function identifiers included in the set of configurable function functions in the secure keyboard toolkit, and each configurable function The function identifier corresponding to the configurable function function attribute information, wherein the attribute information includes a name, a configuration logic, and a selectable configuration parameter value; obtaining a configuration item template corresponding to the configurable function function identifier, and using the configurable function function identifier corresponding configurable Functional letter
  • the number attribute information fills the configuration item template to generate a corresponding configurable item; and generates a security keyboard configuration page according to the generated configurable item.
  • the configuration parameter obtaining module 408 is further configured to obtain a configuration parameter selected by the user according to the selectable configuration parameter value corresponding to the configurable item; obtain a custom function algorithm uploaded by the user and corresponding algorithm parameter values, and customize The functional algorithm can implement the function of the security keyboard pointed to by the configuration item.
  • the configuration parameter acquired on the security keyboard configuration page further includes: a correspondence between a page scenario of the host application and the encryption algorithm.
  • a terminal comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor, causing the processor to perform the following steps: obtaining pre-packaged The security keyboard SDK toolkit, wherein the security keyboard SDK toolkit includes a collection of basic function functions and a set of configurable function functions; parsing the security keyboard SDK toolkit, generating a security keyboard configuration page, and the security keyboard configuration page includes a set of configurable function functions a configurable item; displaying the generated security keyboard configuration page; obtaining configuration parameters entered by the user on the security keyboard configuration page according to the configurable item; populating the configurable function function set with the obtained configuration parameters, and generating a host security keyboard SDK toolkit; Publish the generated host security keyboard SDK toolkit to the user terminal.
  • the security keyboard SDK toolkit includes a collection of basic function functions and a set of configurable function functions
  • the set of basic function functions includes at least four basic function functions of inputting, displaying, switching, and closing
  • the set of configurable function functions includes at least two configurable function functions of a secure keyboard layout function and a secure keyboard encryption function.
  • the processor when executing the computer readable instructions, further performs the steps of: preprocessing the secure keyboard SDK toolkit; identifying configurable function function identifiers included in the set of configurable function functions in the secure keyboard toolkit, and each The configurable function function identifies the corresponding configurable function function attribute information, wherein the attribute information includes a name, a configuration logic, and a selectable configuration parameter value; the configuration item template corresponding to the configurable function function identifier is obtained, and the configurable function function identifier is used to identify The configurable function function attribute information fills the configuration item template to generate a corresponding configurable item; and generates a secure keyboard configuration page according to the generated configurable item.
  • the processor when executing the computer readable instructions, further performs the steps of: obtaining a configuration parameter selected by the user according to the selectable configuration parameter value corresponding to the configurable item; and/or obtaining a user-uploaded custom function algorithm and corresponding The algorithm parameter value, the custom function algorithm can realize the function of the security keyboard pointed to by the configuration item.
  • the configuration parameters acquired on the security keyboard configuration page further include a correspondence between the page scenario of the host application and the encryption algorithm.
  • one or more computer readable non-volatile storage media storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the following Step: Obtain a pre-packaged security keyboard SDK toolkit, wherein the security keyboard SDK toolkit includes a basic function function set and a configurable function function set; parse the security keyboard SDK toolkit, generate a security keyboard configuration page, and the security keyboard configuration page includes The configurable item corresponding to the function function set can be configured; the generated security keyboard configuration page is displayed; the configuration parameter input by the user according to the configurable item on the security keyboard configuration page is obtained; the configurable function function set is filled with the obtained configuration parameter, and the host security is generated.
  • the set of basic function functions includes at least four basic function functions of inputting, displaying, switching, and closing
  • the set of configurable function functions includes at least two configurable function functions of a secure keyboard layout function and a secure keyboard encryption function.
  • the computer readable instructions when executed by the processor, further perform the steps of: pre-processing the secure keyboard SDK toolkit; identifying configurable function function identifiers included in the set of configurable function functions in the secure keyboard toolkit, and each The configurable function function identifies corresponding configurable function function attribute information, wherein the attribute information includes a name, a configuration logic, and a selectable configuration parameter value; obtaining a configuration item template corresponding to the configurable function function identifier, and identifying by using a configurable function function Correct The configurable function function attribute information fills the configuration item template to generate a corresponding configurable item; and generates a security keyboard configuration page according to the generated configurable item.
  • the computer readable instructions when executed by the processor, further perform the steps of: obtaining configuration parameters selected by the user according to selectable configuration parameter values corresponding to the configurable items; and/or obtaining user-uploaded custom function algorithms and Corresponding algorithm parameter values, the custom function algorithm can realize the function of the security keyboard pointed to by the configuration item.
  • the configuration parameters acquired on the security keyboard configuration page further include a correspondence between the page scenario of the host application and the encryption algorithm.
  • the storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, or a read-only memory (ROM).

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种安全键盘配置方法,包括:获取预先封装的安全键盘SDK工具包,其中,安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;解析安全键盘SDK工具包,生成安全键盘配置页面,安全键盘配置页面中包括可配置功能函数集合对应的可配置项;显示生成的安全键盘配置页面;获取用户根据可配置项在安全键盘配置页面输入的配置参数;使用获取的配置参数填充可配置功能函数集合,生成宿主安全键盘SDK工具包;及向用户终端发布生成的宿主安全键盘SDK工具包。

Description

安全键盘配置方法、装置、终端和存储介质
本申请要求于2017年7月26日提交中国专利局,申请号为2017106183160,申请名称为“安全键盘配置方法、装置、终端和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,特别是涉及一种安全键盘配置方法、装置、终端和存储介质。
背景技术
随着移动支付的快速普及,如何保障用户信息安全这个问题变得越来越重要。在支付、金融、个人信息敏感的系统中,用户的重要个人信息,如支付密码、身份证号等需要优先考虑进行安全保护。
传统的信息的录入采用系统默认的键盘输入,系统默认的键盘为固化所有功能的键盘,较容易被恶意软件记录并推算出用户的输入值,从而使敏感信息泄露,造成重大损失。此外,固化所有功能的安全键盘拓展性差,对安全键盘有个性化功能要求的企业需要花费大量的开发成本开发满足自身需求的键盘代码,开发成本和维护成本高。
发明内容
基于此,有必要提供一种安全键盘配置方法、装置、终端和存储介质。
一种安全键盘配置方法,所述方法包括:
获取预先封装的安全键盘SDK工具包,其中,所述安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;
解析所述安全键盘SDK工具包,生成安全键盘配置页面,所述安全键盘配置页面中包括所述可配置功能函数集合对应的可配置项;
显示生成的所述安全键盘配置页面;
获取用户根据所述可配置项在所述安全键盘配置页面输入的配置参数;
使用获取的所述配置参数填充所述可配置功能函数集合,生成宿主安全键盘SDK工具包;及
向用户终端发布生成的所述宿主安全键盘SDK工具包。
一种安全键盘配置装置,所述装置包括:
SDK获取模块,用于获取预先封装的安全键盘SDK工具包,其中,所述安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;
可配置项生成模块,用于解析所述安全键盘SDK工具包,生成安全键盘配置页面,所述安全键盘配置页面中包括所述可配置功能函数集合对应的可配置项;
配置页面显示模块,用于显示生成的所述安全键盘配置页面;
配置参数获取模块,用于获取用户根据所述可配置项在所述安全键盘配置页面输入的配置参数;
宿主SDK生成模块,用于使用获取的所述配置参数填充所述可配置功能函数集合,生成宿主安全键盘SDK工具包;及
SDK发布模块,用于向用户终端发布生成的所述宿主安全键盘SDK工具包。
一种终端,包括存储器和处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:
获取预先封装的安全键盘SDK工具包,其中,所述安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;
解析所述安全键盘SDK工具包,生成安全键盘配置页面,所述安全键盘配置页面中包括所述可配置功能函数集合对应的可配置项;
显示生成的所述安全键盘配置页面;
获取用户根据所述可配置项在所述安全键盘配置页面输入的配置参数;
使用获取的所述配置参数填充所述可配置功能函数集合,生成宿主安全键盘SDK工具包;及
向用户终端发布生成的所述宿主安全键盘SDK工具包。
一个或多个存储有计算机可读指令的计算机可读非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:
获取预先封装的安全键盘SDK工具包,其中,所述安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;
解析所述安全键盘SDK工具包,生成安全键盘配置页面,所述安全键盘配置页面中包括所述可配置功能函数集合对应的可配置项;
显示生成的所述安全键盘配置页面;
获取用户根据所述可配置项在所述安全键盘配置页面输入的配置参数;
使用获取的所述配置参数填充所述可配置功能函数集合,生成宿主安全键盘SDK工具包;及
向用户终端发布生成的所述宿主安全键盘SDK工具包。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为一个实施例中安全键盘配置方法的应用环境图;
图2为一个实施例中终端的内部结构示意图;
图3为一个实施例中安全键盘配置方法的流程图;
图4为一个实施例中安全键盘配置页面示意图;
图5为一个实施例中生成安全键盘配置页面所涉及的流程图;及
图6为一个实施例中安全键盘配置装置的结构框图。
具体实施方式
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,第一用户标识和第二用户标识两者都是用户标识,但其不是同一用户标识。
如图1所示,在一个实施例中,提供了一种安全键盘配置方法的应用环境图,该应用环境图包括宿主终端110和用户终端120。用户终端110可以是智能手机、平板电脑、笔记本电脑、POS机、车载电脑中的至少一种,但并不局限于此。用户终端120上安装有应用程序,该安装的应用程序使用宿主终端生成满足个性化需求的安全键盘SDK工具包。宿主终端110获取抽象了基本功能和可配置功能的安全键盘SDK工具包,基于安全键盘SDK工具包中的可配置功能函数生成对应的可配置项,并将可配置项以安全键盘配置页面的形式显示,开发人员可基于显示的安全键盘配置页面根据自身需求导入或者选择可配置项对应的配置参数;完成输入后,宿主终端将根据导入或者选择的配置参数填充原安全键盘SDK工具包生成满足宿主个性化需求的完整的安全键盘SDK工具包,并向对应的用户终端发布。
如图2所示,在一个实施例中,提供了一种终端,该终端包括通过系统总线连接的处理器、内存储器、非易失性存储介质、网络接口、显示屏和输入装置。其中,该处理器用于提供计算和控制能力,支撑整个终端的运行。 该宿主终端的非易失性存储介质存储有操作系统和计算机可读指令,该计算机可读指令可被处理器所执行以实现以下各实施例所提供的一种安全键盘配置方法。终端中的内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。网络接口用于连接到网络进行通信。显示屏用于显示各种界面,比如,可显示安全键盘配置页面。输入装置可以是显示屏上覆盖的触摸层,也可以是电子设备外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等,用于供输入配置参数和各种指令。
本领域技术人员可以理解,图2中示出的移动终端的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的移动终端的限定,具体的移动终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
图3为本申请一个实施例的方法的流程示意图。应该理解的是,虽然图3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
如图3所示,在一个实施例中,提供了一种安全键盘配置方法,该方法以应用到如图1所示的宿主终端中为例进行说明,具体包括如下步骤:
步骤S202:获取预先封装的安全键盘SDK工具包,其中,安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合。
宿主终端获取预先封装好的安全键盘SDK工具包,这里的宿主终端可以是各应用程序的控制终端。这里的应用程序可以是金融应用、电商应用等需要进行网络交易的敏感应用。如某某理财应用的内部控制终端,该终端用于向安装有该理财应用的用户终端发布应用程序所需要的各中工具包。本实施 例中的宿主终端用于生成应用程序所需的安全键盘工具包。
在一个实施例中,安全键盘SDK工具包可由第三方开发,并将开发的安全键盘SDK工具包以接口的形式对外开放,以供各宿主终端调用。
宿主终端通过调用接口获取的安全键盘SDK工具包可实现键盘的基本功能,安全键盘SDK工具包中的一个或者多个基本功能函数用于实现安全键盘的一项基本功能,基本功能函数集合能够实现抽象出来的所有安全键盘的基本功能。如监测click事件的功能,显示各种键盘模式的功能以及根据输入需求自由切换键盘模式的功能,其中,键盘模式可以包括数字键盘、字母键盘和符号键盘。
安全键盘SDK工具包的可配置功能函数为用于保障敏感信息安全的安全键盘安全功能的实现方法。如安全键盘的信息加密实现方法以及绘制安全键盘布局的方法。安全键盘SDK工具包的安全键盘代码中仅集成上述功能实现方法(可配置功能函数集合)的框架,并不为函数指定参数值或者可调用算法的地址。
预先对安全键盘的基本功能函数和可配置功能函数进行标识。在一个实施例中,可通过能够实现的功能进行标识,如函数SDK.x用于实现安全键盘布局的功能,则用“安全键盘布局”标识该函数;函数SDK.y用用于实现安全键盘的切换功能,则用“键盘模式切换”标识该函数。
步骤S204:解析安全键盘SDK工具包,生成安全键盘配置页面,其中,安全键盘配置页面中包括可配置功能函数集合对应的可配置项。
宿主终端获取到预先封装的安全键盘SDK工具包后,解析该获取的安全键盘SDK工具包,获取基本功能函数集合和可配置功能函数集合。进而生成可配置功能函数集合对应的可配置项,生成的可配置项以安全键盘配置页面的形式显示出来。
在一个实施例中,可配置项包括主题和文本框控件以及文本框对应的下拉菜单栏,如图4所示。可配置项是基于对可配置功能函数的解析得到的,不同的可配置功能函数生成的可配置项也不相同。具体的,宿主终端通过解 析可配置功能函数获取有效配置信息以及与可配置项相关联的待选参数或者默认参数,并根据获取的这些有效信息以及预先定义的可配置项模板生成可配置项。
如果可配置功能函数可支持外部算法的导入,则可配置项中生成预先定义好的导入外部数据的显示模板,再在显示模板中填入相应的信息。如果可配置功能函数预先准备了多个待选参数,则可通过下拉菜单的形式显示。如果可配置功能函数需要多级参数(第一级:是否进行键盘模式配置,若是,进行第二级是否对键盘模型进行删除和选择以及第三级为每种键盘模式选择布局模式),则调用多级配置显示模板来显示该可配置功能函数的可配置项。
步骤S206:显示生成的安全键盘配置页面。
生成可配置功能函数对应的可配置项后,生成的可配置项以安全键盘配置页面的形式显示出来,如图4所示。需要说明的是,图4只表示一种安全键盘配置页面,不同的可配置功能函数实现的安全键盘功能逻辑不尽相同,相应的,生成的安全键盘配置页面也会有所不同,安全键盘配置界面不仅限于图4给出的配置逻辑。
在一个实施例中,安全键盘配置页面还包括安全键盘固化功能显示区域,该区域用于显示已经配置好的安全键盘的基本功能,以使安全键盘的基本功能能够一目了然的被宿主获知。宿主终端无需对该区域内的功能进行配置。
步骤S208:获取用户根据可配置项在安全键盘配置页面输入的配置参数。
在安全键盘配置页面的指引下,获取用户选择的待选参数值、勾选的安全键盘功能以及导入的满足宿主需求的算法函数。
举例来说,宿主终端可对安全键盘的布局进行配置,安全键盘SDK工具包中预先封装了两种可待选的布局实现方法,其一是固定序列布局,其二是随机序列布局。固定序列布局按照绘制的固有布局进行安全键盘中元素的展示。如键盘数字的排布、符号的排布以及字母的排布。宿主终端选择固定序列布局后,可以导入在本地绘制的满足宿主需求的键盘布局以使宿主应用按照该本地绘制的键盘布局固定序列显示安全键盘。宿主终端还可以选择随机 序列布局,随机序列布局对应的随机算法可以是安全键盘SDK工具包中预先封装好的随机算法,也可以是宿主终端开发的满足宿主需求的随机算法。
在另一个实施例中,宿主终端还可以对键盘元素与输出的字符串定义映射关系,如定义字母“a”对应的输入字符串为“%%123”,以防止外部窥探得到敏感信息。还可以对键盘元素与输出的字符串建立动态映射关系。
相应的对于加密算法的配置,可选择工具包中预先封装的加密算法也可以导入自定义加密算法。
步骤S210:使用获取的配置参数填充可配置功能函数集合,生成宿主安全键盘SDK工具包。
步骤S212:向用户终端发布生成的宿主安全键盘SDK工具包。
将获取到的配置参数填充至相应的可配置功能函数中,以生成安全键盘完整的功能函数,实现具体的安全键盘功能。封装这些函数集合,包括配置好的可配置功能函数和基本功能函数生成宿主安全键盘SDK工具包,该安装宿主安全键盘SDK工具包能够使安全键盘展示出宿主个性化配置的安全键盘功能。
本实施例中,基于安全键盘SDK工具包中的可配置功能函数生成对应的可配置项,并将可配置项以安全键盘配置页面的形式显示,宿主终端可根据需求进行安全键盘功能的个性化配置,实现了不同宿主的个性化需求,安全键盘的配置更加直观快捷,即使不是专业人员也能够配置出需要的安全键盘。
在一个实施例中,如图5所示,步骤S204:解析安全键盘SDK工具包,生成安全键盘配置页面,其中,安全键盘配置页面中包括基本功能函数集合对应的基本功能固化项和可配置功能函数集合对应的可配置项包括:
步骤S302:预处理安全键盘SDK工具包。
识别安全键盘SDK工具包的文件类型,根据文件类型选择相适合的软件程序识别安全键盘SDK工具包中的数据。
若安全键盘SDK工具包为ZIP格式文件,则使用解压缩应用程序解压该 工具包,得到工具包中的可执行文件(包括资源和可执行代码)、dll文件(dll文件中包括API(Application Programming Interface,应用编程接口)函数)、还可以包括技术注解文件和支持文档等。宿主终端对解压后的安全键盘SDK工具包中的文件进行解析,得到基本功能函数集合和可配置功能函数集合以及相应的配置资源和技术注解信息。
步骤S304:识别安全键盘工具包中的可配置功能函数集合所包含的可配置功能函数标识以及每个可配置功能函数标识对应的可配置功能函数属性信息,其中,属性信息包括名称、配置逻辑和可选择配置参数值。
通过对安全键盘SDK文件的预处理和解析,可获取SDK文件中包含的函数信息以及每个功能函数对应的属性信息。
具体为:获取安全键盘SDK文件所包括的函数标识以及函数的属性信息,其中,函数的属性信息包括函数类型(包括固化函数和可配置功能函数)、函数标识、函数名称、配置逻辑(提供参数值的选择配置、可导入外部数据配置、配置的参数的归属逻辑,如参数A是参数B的下级参数,即需先进行参数B的配置,才可随之配置参数A)以及可选择的配置参数值,其中,可选择的配置参数值与函数的可配置参数具有对应关系。
步骤S306:获取可配置功能函数标识对应的配置项模板,并使用可配置功能函数标识对应的可配置功能函数属性信息填充配置项模板生成可配置功能函数标识对应的可配置项。
函数属性信息的函数类型识别出可配置功能函数,进而根据了可配置功能函数的属性信息调用相应的配置模板,具体为,根据可配置功能函数的配置逻辑调用相应的配置项模板。然后将该可配置功能函数对应的函数名称、可选择的配置参数值填入至配置项模板中,生成可配置功能函数的可配置项。
步骤S308:根据生成的可配置项生成安全键盘配置页面。
通过解析抽象化的安全键盘SDK工具包,基于预先配置的配置项模板生成函数的可视化配置项,通过可视化配置项可使用户进行准确的参数配置。
在一个实施例中,步骤S208:获取用户根据可配置项在安全键盘配置页面输入的配置参数的步骤为:获取用户根据可配置项对应的可选择配置参数值选择的配置参数;或获取用户上传的自定义功能算法以及对应的算法参数值,将获取的自定义功能算法和对应的算法参数值作为可配置项的配置参数,其中,自定义功能算法能够实现配置项所指向的安全键盘的功能。
安全键盘配置页面中的可配置项的配置参数可以采用如下两种方式的任一种进行配置:其一是,直接在系统为可配置项配置的可选择配置参数值中选择需要的配置参数;其二是,导入自定义功能算法,在自定义功能算法对应的算法参数值中选择可配置项的配置参数。
需要说明的是,允许在安全键盘的配置页面中存在仅支持上述一种配置方式的可配置项存在。如一些可配置项只能通过选择系统配置的可选择配置参数值这种方式来确定配置参数。另一些可配置项系统未配置可选择配置参数值,只能通过自定义算法和算法参数值的方式确认配置参数。
上述的自定义功能算法可以是自定义的安全键盘的加密算法,自定义的安全键盘的布局等。
宿主终端可进行相应功能算法的自定义,以使用自定义的算法实现安全键盘的相应功能,也可以根据SDK内部提供的算法实现安全键盘的相应功能。若宿主终端没有对可配置功能函数进行相应的配置,将按照默认的配置生成宿主安全键盘SDK工具包。
在一个实施例中,当可配置功能函数为加密算法函数时,在安全键盘配置页面获取的配置参数还包括:宿主页面的页面场景与加密算法之间的对应关系。
具体的,宿主终端预先获取宿主应用的页面场景信息,在生成安全键盘配置页面时,生成用于配置宿主应用的页面场景与加密算法之间映射关系的配置项。通过该配置项,宿主终端可针对不同的页面场景配置不同的加密算法,配置的加密算法可以是SDK内置的加密算法也可以是自定义加密算法。
在一个实施例中,将配置好的安全键盘工具包以及对应的安全键盘配置 页面(包括参数值)上传至云服务器,以使具有权限的人员在可云端对配置的安全键盘进行修改,当检测到修改后,云服务器向配置终端(可以指定多个)发送更新指令,用户终端下载最新的安全键盘工具包,并在相应的宿主程序中安装该更新的安全键盘SDK工具包。
在一个实施例中,如图6所示,提供了一种安全键盘配置装置,该装置包括:
SDK获取模块402,用于获取预先封装的安全键盘SDK工具包,其中,安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合。
可配置项生成模块404,用于解析安全键盘SDK工具包,生成安全键盘配置页面,其中,安全键盘配置页面中包括可配置功能函数集合对应的可配置项。
配置页面显示模块406,用于显示生成的安全键盘配置页面。
配置参数获取模块408,用于获取用户根据可配置项在安全键盘配置页面输入的配置参数。
宿主SDK生成模块410,用于使用获取的配置参数填充可配置功能函数集合,生成宿主安全键盘SDK工具包。
SDK发布模块412,用于向用户终端发布生成的宿主安全键盘SDK工具包。
在一个实施例中,基本功能函数集合至少包括输入、显示、切换和关闭四项基本功能函数,可配置功能函数集合至少包括安全键盘布局功能和安全键盘加密功能两项可配置功能函数。
在一个实施例中,可配置项生成模块404,还用于预处理安全键盘SDK工具包;识别安全键盘工具包中的可配置功能函数集合所包含的可配置功能函数标识以及每个可配置功能函数标识对应的可配置功能函数属性信息,其中,属性信息包括名称、配置逻辑和可选择配置参数值;获取可配置功能函数标识对应的配置项模板,并使用可配置功能函数标识对应的可配置功能函 数属性信息填充配置项模板生成对应的可配置项;根据生成的可配置项生成安全键盘配置页面。
在一个实施例中,配置参数获取模块408,还用于获取用户根据可配置项对应的可选择配置参数值选择的配置参数;获取用户上传的自定义功能算法以及对应的算法参数值,自定义功能算法能够实现配置项所指向的安全键盘的功能。
在一个实施例中,当可配置功能函数为加密算法函数时,在安全键盘配置页面获取的配置参数还包括:宿主应用的页面场景与加密算法之间的对应关系。
在一个实施例中,提供了一种终端,该终端包括存储器和处理器,存储器中储存有计算机可读指令,计算机可读指令被处理器执行时,使得处理器执行以下步骤:获取预先封装的安全键盘SDK工具包,其中,安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;解析安全键盘SDK工具包,生成安全键盘配置页面,安全键盘配置页面中包括可配置功能函数集合对应的可配置项;显示生成的安全键盘配置页面;获取用户根据可配置项在安全键盘配置页面输入的配置参数;使用获取的配置参数填充可配置功能函数集合,生成宿主安全键盘SDK工具包;及向用户终端发布生成的宿主安全键盘SDK工具包。
在一个实施例中,基本功能函数集合至少包括输入、显示、切换和关闭四项基本功能函数,可配置功能函数集合至少包括安全键盘布局功能和安全键盘加密功能两项可配置功能函数。
在一个实施例中,处理器执行计算机可读指令时还执行以下步骤:预处理安全键盘SDK工具包;识别安全键盘工具包中的可配置功能函数集合所包含的可配置功能函数标识以及每个可配置功能函数标识对应的可配置功能函数属性信息,其中,属性信息包括名称、配置逻辑和可选择配置参数值;获取可配置功能函数标识对应的配置项模板,并使用可配置功能函数标识对应 的可配置功能函数属性信息填充配置项模板生成对应的可配置项;及根据生成的可配置项生成安全键盘配置页面。
在一个实施例中,处理器执行计算机可读指令时还执行以下步骤:获取用户根据可配置项对应的可选择配置参数值选择的配置参数;和/或获取用户上传的自定义功能算法以及对应的算法参数值,自定义功能算法能够实现配置项所指向的安全键盘的功能。
在一个实施例中,当可配置功能函数为加密算法函数时,在安全键盘配置页面获取的配置参数还包括宿主应用的页面场景与加密算法之间的对应关系。
在一个实施例中,一个或多个存储有计算机可读指令的计算机可读非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:获取预先封装的安全键盘SDK工具包,其中,安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;解析安全键盘SDK工具包,生成安全键盘配置页面,安全键盘配置页面中包括可配置功能函数集合对应的可配置项;显示生成的安全键盘配置页面;获取用户根据可配置项在安全键盘配置页面输入的配置参数;使用获取的配置参数填充可配置功能函数集合,生成宿主安全键盘SDK工具包;及向用户终端发布生成的宿主安全键盘SDK工具包。
在一个实施例中,基本功能函数集合至少包括输入、显示、切换和关闭四项基本功能函数,可配置功能函数集合至少包括安全键盘布局功能和安全键盘加密功能两项可配置功能函数。
在一个实施例中,计算机可读指令被处理器执行时还执行以下步骤:预处理安全键盘SDK工具包;识别安全键盘工具包中的可配置功能函数集合所包含的可配置功能函数标识以及每个可配置功能函数标识对应的可配置功能函数属性信息,其中,属性信息包括名称、配置逻辑和可选择配置参数值;获取可配置功能函数标识对应的配置项模板,并使用可配置功能函数标识对 应的可配置功能函数属性信息填充配置项模板生成对应的可配置项;及根据生成的可配置项生成安全键盘配置页面。
在一个实施例中,计算机可读指令被处理器执行时还执行以下步骤:获取用户根据可配置项对应的可选择配置参数值选择的配置参数;和/或获取用户上传的自定义功能算法以及对应的算法参数值,自定义功能算法能够实现配置项所指向的安全键盘的功能。
在一个实施例中,当可配置功能函数为加密算法函数时,在安全键盘配置页面获取的配置参数还包括宿主应用的页面场景与加密算法之间的对应关系。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种安全键盘配置方法,包括:
    获取预先封装的安全键盘SDK工具包,其中,所述安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;
    解析所述安全键盘SDK工具包,生成安全键盘配置页面,所述安全键盘配置页面中包括所述可配置功能函数集合对应的可配置项;
    显示生成的所述安全键盘配置页面;
    获取用户根据所述可配置项在所述安全键盘配置页面输入的配置参数;
    使用获取的所述配置参数填充所述可配置功能函数集合,生成宿主安全键盘SDK工具包;及
    向用户终端发布生成的所述宿主安全键盘SDK工具包。
  2. 根据权利要求1所述的方法,其特征在于,所述基本功能函数集合至少包括输入、显示、切换和关闭四项基本功能函数,所述可配置功能函数集合至少包括安全键盘布局功能和安全键盘加密功能两项可配置功能函数。
  3. 根据权利要求1所述的方法,其特征在于,所述解析所述安全键盘SDK工具包,生成安全键盘配置页面,所述安全键盘配置页面中包括所述可配置功能函数集合对应的可配置项包括:
    预处理所述安全键盘SDK工具包;
    识别所述安全键盘工具包中的所述可配置功能函数集合所包含的可配置功能函数标识以及每个所述可配置功能函数标识对应的可配置功能函数属性信息,其中,所述属性信息包括名称、配置逻辑和可选择配置参数值;
    获取所述可配置功能函数标识对应的配置项模板,并使用所述可配置功能函数标识对应的可配置功能函数属性信息填充所述配置项模板生成对应的可配置项;及
    根据生成的所述可配置项生成安全键盘配置页面。
  4. 根据权利要求3所述的方法,其特征在于,所述获取用户根据所述可配置项在所述安全键盘配置页面输入的配置参数为:
    获取用户根据所述可配置项对应的所述可选择配置参数值选择的配置参数;或
    获取用户上传的自定义功能算法以及对应的算法参数值,将获取的所述自定义功能算法和对应的算法参数值作为所述可配置项的配置参数,其中,所述自定义功能算法能够实现所述配置项所指向的安全键盘的功能。
  5. 根据权利要求1所述的方法,其特征在于,当所述可配置功能函数为加密算法函数时,在所述安全键盘配置页面获取的配置参数还包括宿主应用的页面场景与加密算法之间的对应关系。
  6. 一种安全键盘配置装置,包括:
    SDK获取模块,用于获取预先封装的安全键盘SDK工具包,其中,所述安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;
    可配置项生成模块,用于解析所述安全键盘SDK工具包,生成安全键盘配置页面,所述安全键盘配置页面中包括所述可配置功能函数集合对应的可配置项;
    配置页面显示模块,用于显示生成的所述安全键盘配置页面;
    配置参数获取模块,用于获取用户根据所述可配置项在所述安全键盘配置页面输入的配置参数;
    宿主SDK生成模块,用于使用获取的所述配置参数填充所述可配置功能函数集合,生成宿主安全键盘SDK工具包;及
    SDK发布模块,用于向用户终端发布生成的所述宿主安全键盘SDK工具包。
  7. 根据权利要求6所述的装置,其特征在于,所述基本功能函数集合至少包括输入、显示、切换和关闭四项基本功能函数,所述可配置功能函数集合至少包括安全键盘布局功能和安全键盘加密功能两项可配置功能函数。
  8. 根据权利要求6所述的装置,其特征在于,所述可配置项生成模块,还用于预处理所述安全键盘SDK工具包;识别所述安全键盘工具包中的所述可配置功能函数集合所包含的可配置功能函数标识以及每个所述可配置功能 函数标识对应的可配置功能函数属性信息,其中,所述属性信息包括名称、配置逻辑和可选择配置参数值;获取所述可配置功能函数标识对应的配置项模板,并使用所述可配置功能函数标识对应的可配置功能函数属性信息填充所述配置项模板生成对应的可配置项;及根据生成的所述可配置项生成安全键盘配置页面。
  9. 根据权利要求8所述的装置,其特征在于,所述配置参数获取模块,还用于获取用户根据所述可配置项对应的所述可选择配置参数值选择的配置参数;或获取用户上传的自定义功能算法以及对应的算法参数值,将获取的所述自定义功能算法和对应的算法参数值作为所述可配置项的配置参数,其中,所述自定义功能算法能够实现所述配置项所指向的安全键盘的功能。
  10. 根据权利要求6所述的装置,其特征在于,当所述可配置功能函数为加密算法函数时,在所述安全键盘配置页面获取的配置参数还包括宿主应用的页面场景与加密算法之间的对应关系。
  11. 一种终端,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:
    获取预先封装的安全键盘SDK工具包,其中,所述安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;
    解析所述安全键盘SDK工具包,生成安全键盘配置页面,所述安全键盘配置页面中包括所述可配置功能函数集合对应的可配置项;
    显示生成的所述安全键盘配置页面;
    获取用户根据所述可配置项在所述安全键盘配置页面输入的配置参数;
    使用获取的所述配置参数填充所述可配置功能函数集合,生成宿主安全键盘SDK工具包;及
    向用户终端发布生成的所述宿主安全键盘SDK工具包。
  12. 根据权利要求11所述的终端,其特征在于,所述基本功能函数集合 至少包括输入、显示、切换和关闭四项基本功能函数,所述可配置功能函数集合至少包括安全键盘布局功能和安全键盘加密功能两项可配置功能函数。
  13. 根据权利要求11所述的终端,其特征在于,所述处理器还用于执行:
    预处理所述安全键盘SDK工具包;
    识别所述安全键盘工具包中的所述可配置功能函数集合所包含的可配置功能函数标识以及每个所述可配置功能函数标识对应的可配置功能函数属性信息,其中,所述属性信息包括名称、配置逻辑和可选择配置参数值;
    获取所述可配置功能函数标识对应的配置项模板,并使用所述可配置功能函数标识对应的可配置功能函数属性信息填充所述配置项模板生成对应的可配置项;及
    根据生成的所述可配置项生成安全键盘配置页面。
  14. 根据权利要求13所述的终端,其特征在于,所述处理器还用于执行:
    获取用户根据所述可配置项对应的所述可选择配置参数值选择的配置参数;或
    获取用户上传的自定义功能算法以及对应的算法参数值,将获取的所述自定义功能算法和对应的算法参数值作为所述可配置项的配置参数,其中,所述自定义功能算法能够实现所述配置项所指向的安全键盘的功能。
  15. 根据权利要求11所述的终端,其特征在于,当所述可配置功能函数为加密算法函数时,在所述安全键盘配置页面获取的配置参数还包括宿主应用的页面场景与加密算法之间的对应关系。
  16. 一个或多个存储有计算机可读指令的计算机可读非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:
    获取预先封装的安全键盘SDK工具包,其中,所述安全键盘SDK工具包包括基本功能函数集合和可配置功能函数集合;
    解析所述安全键盘SDK工具包,生成安全键盘配置页面,所述安全键盘 配置页面中包括所述可配置功能函数集合对应的可配置项;
    显示生成的所述安全键盘配置页面;
    获取用户根据所述可配置项在所述安全键盘配置页面输入的配置参数;
    使用获取的所述配置参数填充所述可配置功能函数集合,生成宿主安全键盘SDK工具包;及
    向用户终端发布生成的所述宿主安全键盘SDK工具包。
  17. 根据权利要求16所述的存储介质,其特征在于,所述基本功能函数集合至少包括输入、显示、切换和关闭四项基本功能函数,所述可配置功能函数集合至少包括安全键盘布局功能和安全键盘加密功能两项可配置功能函数。
  18. 根据权利要求16所述的存储介质,其特征在于,所述处理器还用于执行:
    预处理所述安全键盘SDK工具包;
    识别所述安全键盘工具包中的所述可配置功能函数集合所包含的可配置功能函数标识以及每个所述可配置功能函数标识对应的可配置功能函数属性信息,其中,所述属性信息包括名称、配置逻辑和可选择配置参数值;
    获取所述可配置功能函数标识对应的配置项模板,并使用所述可配置功能函数标识对应的可配置功能函数属性信息填充所述配置项模板生成对应的可配置项;及
    根据生成的所述可配置项生成安全键盘配置页面。
  19. 根据权利要求18所述的存储介质,其特征在于,所述处理器还用于执行:
    获取用户根据所述可配置项对应的所述可选择配置参数值选择的配置参数;或
    获取用户上传的自定义功能算法以及对应的算法参数值,将获取的所述自定义功能算法和对应的算法参数值作为所述可配置项的配置参数,其中,所述自定义功能算法能够实现所述配置项所指向的安全键盘的功能。
  20. 根据权利要求16所述的存储介质,其特征在于,当所述可配置功能函数为加密算法函数时,在所述安全键盘配置页面获取的配置参数还包括宿主应用的页面场景与加密算法之间的对应关系。
PCT/CN2017/104615 2017-07-26 2017-09-29 安全键盘配置方法、装置、终端和存储介质 WO2019019377A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710618316.0A CN107665045B (zh) 2017-07-26 2017-07-26 安全键盘配置方法、装置、终端和存储介质
CN201710618316.0 2017-07-26

Publications (1)

Publication Number Publication Date
WO2019019377A1 true WO2019019377A1 (zh) 2019-01-31

Family

ID=61121843

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/104615 WO2019019377A1 (zh) 2017-07-26 2017-09-29 安全键盘配置方法、装置、终端和存储介质

Country Status (2)

Country Link
CN (1) CN107665045B (zh)
WO (1) WO2019019377A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032693B (zh) * 2018-06-29 2021-09-24 北京金山安全软件有限公司 一种加载展示信息方法、装置、电子设备及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150109102A1 (en) * 2013-10-18 2015-04-23 Electronics And Telecommunications Research Institute Apparatus and method for providing security keypad through shift of keypad
CN105468957A (zh) * 2016-01-08 2016-04-06 中国电子科技集团公司第三十研究所 一种用于网络交易的安全键盘
CN106528132A (zh) * 2016-10-27 2017-03-22 四川长虹电器股份有限公司 一种移动终端跨平台的安全键盘实现方法
CN106775720A (zh) * 2016-12-16 2017-05-31 北京小度互娱科技有限公司 集成播放器sdk的方法和装置及设置播放器sdk的方法和装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1096444A3 (en) * 1999-11-01 2003-07-23 Citicorp Development Center, Inc. Method and system for configuration of self-service financial transaction terminals for a common software release
US20030159053A1 (en) * 2002-02-19 2003-08-21 Charles Fauble Secure reconfigurable input device with transaction card reader
KR100818043B1 (ko) * 2006-05-30 2008-03-31 에스케이 텔레콤주식회사 단말기의 키패드 구성 방법 및 시스템, 그리고 재구성이가능한 키패드
CN105630187B (zh) * 2014-11-07 2018-11-06 阿里巴巴集团控股有限公司 用户终端设备中html页面调用本地键盘的方法及其装置
CN104375666B (zh) * 2014-12-11 2018-03-02 上海触乐信息科技有限公司 跨设备的输入方法、处理装置、输入设备及智能显示设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150109102A1 (en) * 2013-10-18 2015-04-23 Electronics And Telecommunications Research Institute Apparatus and method for providing security keypad through shift of keypad
CN105468957A (zh) * 2016-01-08 2016-04-06 中国电子科技集团公司第三十研究所 一种用于网络交易的安全键盘
CN106528132A (zh) * 2016-10-27 2017-03-22 四川长虹电器股份有限公司 一种移动终端跨平台的安全键盘实现方法
CN106775720A (zh) * 2016-12-16 2017-05-31 北京小度互娱科技有限公司 集成播放器sdk的方法和装置及设置播放器sdk的方法和装置

Also Published As

Publication number Publication date
CN107665045B (zh) 2019-08-16
CN107665045A (zh) 2018-02-06

Similar Documents

Publication Publication Date Title
US10705942B1 (en) Simulated testing of API
CN113688006B (zh) 一种日志数据的校验方法及装置
US20190272154A1 (en) Application with embedded workflow designer
CN108292206B (zh) 具有易于使用特征的工作流开发系统
CN108292231B (zh) 从数据生成应用的方法和系统
CN105765527B (zh) 用于定制的软件开发包(sdk)的方法和装置
CN108292208B (zh) 并行前端应用和工作流开发
WO2019091016A1 (zh) 数据采集工具包定制方法、装置、终端和存储介质
CN105814539B (zh) 用于代码虚拟化和远程进程调用生成的方法和装置
US20150293764A1 (en) Method and system to compose and execute business rules
WO2021217911A1 (zh) 业务网站项目构建方法、装置、计算机设备和存储介质
CN108027721B (zh) 用于使用控件来配置通用程序的技术
CN108153848B (zh) 轻应用数据的搜索方法、设备及电子设备
WO2018210096A1 (zh) 一种基于规则引擎的规则配置方法、终端、设备以及存储介质
CN106295255A (zh) 应用程序的加固方法和装置
WO2021217661A1 (zh) 一种实现图形化无代码软件开发平台及方法、计算机设备及存储介质
US20190005228A1 (en) Trusted and untrusted code execution in a workflow
US20200021578A1 (en) Pressure-based authentication
CN105074652B (zh) 用于向打印机远程提供应用功能的方法和计算机系统
CN113849156A (zh) OpenHarmony操作系统应用的无代码智能开发系统及其使用方法
CN111506312B (zh) 页面生成方法、装置、计算机设备及存储介质
WO2019019377A1 (zh) 安全键盘配置方法、装置、终端和存储介质
CN108984158A (zh) 计算装置及在该计算装置中执行的方法
CN110968311B (zh) 前端页面构建方法、装置及电子设备
CN107533468A (zh) 用于云和设备套件的可扩展性捆绑包

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17919553

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: 1205A 26.05.2020

122 Ep: pct application non-entry in european phase

Ref document number: 17919553

Country of ref document: EP

Kind code of ref document: A1