CN106657271A - Method and device for calling local control - Google Patents

Method and device for calling local control Download PDF

Info

Publication number
CN106657271A
CN106657271A CN201611013669.XA CN201611013669A CN106657271A CN 106657271 A CN106657271 A CN 106657271A CN 201611013669 A CN201611013669 A CN 201611013669A CN 106657271 A CN106657271 A CN 106657271A
Authority
CN
China
Prior art keywords
local
control
request message
web services
local control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611013669.XA
Other languages
Chinese (zh)
Inventor
姜立波
张立忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN201611013669.XA priority Critical patent/CN106657271A/en
Publication of CN106657271A publication Critical patent/CN106657271A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a method for calling a local control. The method is applied to a client which locally establishes a local web service, that can call the local control. The method comprises the following steps: the local web service receives and responds to a request message sent by a browser page; and the local web service calls the local control corresponding to the request message and completes the response when responding to the request message. In this application, the local web service is created locally by the client, and the local control is called by the local web service. The method is high in security and stability and is not limited by technologies such as ActiveX and NPAPI.

Description

A kind of call method and device of local control
Technical field
The application is related to local resource access technique field, more particularly to a kind of safe control, the local control of control etc. of signing The call method and device of part.
Background technology
Local control generally comprises safe control and signature control, traditional Web bank by based on ActiveX or NPAPI (Netscape Plugin Application Programming Interface, the programming of Netscape plug-in applications Interface) standard implementation call safe control and signature control, to ensure the safety that user is traded using Web bank.
What the safe control and signature control developed at present was mostly based on is the ActiveX technologies of Microsoft, and ActiveX Technology only supports IE browser, hence in so that the safe control of ActiveX classes and signature control only support IE browser, does not support Occupy the browser of the Webkit kernels of mainstream market.
And in order to meet the compatibility of many browsers, the safe control and signature of some NPAPI types is also developed at present Control.And the safe control due to NPAPI types and the sign low-security of control itself, low stability cause many main flows Browser manufacturer is in the support for progressively abandoning the control to NPAPI types.
Therefore, it is badly in need of that a kind of security is higher, stability is higher at present and by technology restrictions such as ActiveX, NPAPI Local control call method.
The content of the invention
In view of this, a kind of security of the application offer is higher, stability is higher and does not receive the skills such as ActiveX, NPAPI Local control call method and device that art is limited.Technical scheme is as follows:
Based on the one side of the application, the application provides a kind of call method of local control, is applied to client, described There are local web services the locally created of client, and the local web services can call local control, methods described to include:
The local web services receive and respond the request message of browser page transmission;
When the request message is responded, the local web services are called and the request message the local web services Corresponding local control, and complete response.
Preferably, the local control includes safe control and signature control.
Preferably, the local web services are able to access that the local data resource, system resource.
Preferably, using WebSocket agreements or safety between the local web services and the browser page HTML5 WSS protocol realizations communicate.
Based on the another aspect of the application, the application provides a kind of calling device of local control, is applied to client, institute Stating device includes:
Receiving unit, for receiving the request message of browser page transmission;
Response unit, for responding the request message;
Call unit, for when the response unit responds the request message, calling relative with the request message The local control answered, and complete response.
Preferably, the local control includes safe control and signature control.
Preferably, described device is able to access that the local data resource of the client, system resource.
Preferably, using the HTML5 WSS associations of WebSocket agreements or safety between described device and the browser page View realizes communication.
The call method of the local control that the application is provided is applied to client, and the locally created of the client has local Web services, the local web services can call local control.Method is specifically included:Received and responded by local web services The request message that browser page sends, and in the local web services when the request message is responded, the local web The service call local control corresponding with the request message simultaneously completes response.The application is by the locally created of client Local web services, by local web services local control is called, security is higher, stability is higher and by ActiveX, The restriction of the technologies such as NPAPI.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this The embodiment of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis The accompanying drawing of offer obtains other accompanying drawings.
The flow chart of the call method of a kind of local control that Fig. 1 is provided for the application;
The structural representation of the calling device of a kind of local control that Fig. 2 is provided for the application.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than the embodiment of whole.It is based on Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of the application protection.
Fig. 1 is referred to, the flow chart of the call method of a kind of local control of the application offer is provided.The method should For client.Particularly, the application is locally pre-established with local web services, the local web clothes in the client Business can call local control.
Local Web service in the application is mounted to the local Web service application program of computer of client, has Higher authority is able to access that higher system resource of local data resource, authority etc..In the application, local Web service is led to Cross outwardly expose an API that can be called by Web (Application Programming Interface, Application programming interface) so that browsing device net page can be communicated to local Web service by network and be performed related journey Sequence.
Method is specifically included:
Step 101, local web services receive and respond the request message of browser page transmission.
In the application, using WebSocket agreements or the HTML5 WSS of safety between local web services and browser page Protocol realization communicates.Wherein, WSS agreements are a kind of new agreements of HTML5, are by SSL (Secure Sockets Layer, SSL) realize WebSocket coded communication agreements, it realizes the peace of browser and local web services Full full-duplex communication.
Specifically in the embodiment of the present application, received by local web services and responded the request message of browser page transmission. Wherein, the request message that browser page sends can include:Request call safe control disappears during user input private information Breath, user carry out message of request call signature control etc. during financial sexual transaction.
Step 102, when the request message is responded, local web services are called and the request message local web services Corresponding local control, and complete response.Additionally, response results can also be returned to browser by local web services.
In this application, local control can include safe control and signature control.
Specifically, it is private when the message that the request message is request user input private information request call safe control During confidential information such as account, password etc., client needs the critical data to user input or local web services from locally The critical data transferred carries out SSL encryption, prevents critical data from being transmitted in clear text manner.Additionally, when user is in local web When being input into account, password in service, local web services receive the request message, and safe control is called automatically, prevent wooden horse Keyboard record is intercepted, the information security of user is protected.
When the message that the request message is request call signature control when asking user to carry out financial sexual transaction, for example please When asking user input to confirm to complete transfer operation, client needs to sign the operation that this is completed.Now local web services After the request message is received, local web services call signature control automatically, to complete the signature to operating, and to client End completes response.
The call method of the local control that the application is provided, by the locally created local web services in client, by this Ground web services call local control, browser to be communicated using WSS agreements with local web services, and security is higher, stable Property is higher and is not limited by technologies such as ActiveX, NPAPI.
The call method of a kind of local control provided based on the application above, the application also provides a kind of local control There is calling device, the calling device higher authority to be able to access that higher system resource of local data resource, authority etc.. And using WebSocket agreements or the HTML5 WSS protocol realizations of safety between the calling device and browser page in the application Communication.
Described device is specifically included, as shown in Figure 2:
Receiving unit 100, for receiving the request message of browser page transmission;
Response unit 200, for responding the request message;
Call unit 300, disappears for when the response unit 200 responds the request message, calling with the request The corresponding local control of manner of breathing.
Wherein, the local control includes safe control and signature control.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related part ginseng See the part explanation of embodiment of the method.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that a series of process, method, article or equipment including key elements not only includes that A little key elements, but also including other key elements being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element for being limited by sentence "including a ...", does not arrange Except also there is other identical element in including the process of the key element, method, article or equipment.
The call method and device of a kind of local control provided herein are described in detail above, herein Apply specific case to be set forth the principle and embodiment of the application, the explanation of above example is only intended to help Understand the present processes and its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the application, Will change in specific embodiments and applications, in sum, this specification content should not be construed as to this The restriction of application.

Claims (8)

1. a kind of call method of local control, it is characterised in that be applied to client, the locally created of the client has this Ground web services, the local web services can call local control, methods described to include:
The local web services receive and respond the request message of browser page transmission;
When the request message is responded, the local web services call relative with the request message the local web services The local control answered, and complete response.
2. method according to claim 1, it is characterised in that the local control includes safe control and signature control.
3. method according to claim 1 and 2, it is characterised in that the local web services are able to access that described local Data resource, system resource.
4. method according to claim 1 and 2, it is characterised in that between the local web services and the browser page Communicated using the HTML5WSS protocol realizations of WebSocket agreements or safety.
5. a kind of calling device of local control, it is characterised in that be applied to client, described device includes:
Receiving unit, for receiving the request message of browser page transmission;
Response unit, for responding the request message;
Call unit, for when the response unit responds the request message, calling corresponding with the request message Local control, and complete response.
6. device according to claim 5, it is characterised in that the local control includes safe control and signature control.
7. the device according to claim 5 or 6, it is characterised in that described device is able to access that the client is local Data resource, system resource.
8. the device according to claim 5 or 6, it is characterised in that adopt between described device and the browser page The HTML5WSS protocol realizations communication of WebSocket agreements or safety.
CN201611013669.XA 2016-11-17 2016-11-17 Method and device for calling local control Pending CN106657271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611013669.XA CN106657271A (en) 2016-11-17 2016-11-17 Method and device for calling local control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611013669.XA CN106657271A (en) 2016-11-17 2016-11-17 Method and device for calling local control

Publications (1)

Publication Number Publication Date
CN106657271A true CN106657271A (en) 2017-05-10

Family

ID=58807461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611013669.XA Pending CN106657271A (en) 2016-11-17 2016-11-17 Method and device for calling local control

Country Status (1)

Country Link
CN (1) CN106657271A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094081A (en) * 2017-06-28 2017-08-25 济南浪潮高新科技投资发展有限公司 The solution that a kind of use UsbKey for supporting many browsers is digitally signed
CN109815022A (en) * 2017-11-21 2019-05-28 北京握奇智能科技有限公司 A kind of internet banking system signature control solution and system
CN109933445A (en) * 2019-03-14 2019-06-25 杭州汉领信息科技有限公司 It is not based on the local application call method of the browser-cross cross-system platform of plug-in unit
CN111158784A (en) * 2019-12-30 2020-05-15 山东浪潮商用***有限公司 Solution method for loading ActiveX control based on Google browser

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164650A (en) * 2013-03-26 2013-06-19 北京奇虎科技有限公司 Implementation method of browser side security control and browser
CN103699380A (en) * 2013-12-19 2014-04-02 瑞达信息安全产业股份有限公司 Method and system for running ActiveX control in Firefox browser
CN104484823A (en) * 2014-11-26 2015-04-01 中金金融认证中心有限公司 Method and system for PKI (public key infrastructure) services of electronic bank
CN105487910A (en) * 2016-01-22 2016-04-13 北京世纪龙脉科技有限公司 Browser plugin implementation method, HTTP application server and browser

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164650A (en) * 2013-03-26 2013-06-19 北京奇虎科技有限公司 Implementation method of browser side security control and browser
CN103699380A (en) * 2013-12-19 2014-04-02 瑞达信息安全产业股份有限公司 Method and system for running ActiveX control in Firefox browser
CN104484823A (en) * 2014-11-26 2015-04-01 中金金融认证中心有限公司 Method and system for PKI (public key infrastructure) services of electronic bank
CN105487910A (en) * 2016-01-22 2016-04-13 北京世纪龙脉科技有限公司 Browser plugin implementation method, HTTP application server and browser

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094081A (en) * 2017-06-28 2017-08-25 济南浪潮高新科技投资发展有限公司 The solution that a kind of use UsbKey for supporting many browsers is digitally signed
CN109815022A (en) * 2017-11-21 2019-05-28 北京握奇智能科技有限公司 A kind of internet banking system signature control solution and system
CN109933445A (en) * 2019-03-14 2019-06-25 杭州汉领信息科技有限公司 It is not based on the local application call method of the browser-cross cross-system platform of plug-in unit
CN111158784A (en) * 2019-12-30 2020-05-15 山东浪潮商用***有限公司 Solution method for loading ActiveX control based on Google browser

Similar Documents

Publication Publication Date Title
CN105917630B (en) Use single-sign-on bootstrapping to the redirection for checking agency
US9118657B1 (en) Extending secure single sign on to legacy applications
CN103944890B (en) Virtual interaction system based on customer end/server mode and method
US8874914B2 (en) Secure and automated credential information transfer mechanism
US7222363B2 (en) Device independent authentication system and method
CN101207485B (en) System and method of unification identification safety authentication for users
US11451636B2 (en) Systems and methods for monitoring cross-domain applications in web environments
CN103414684A (en) Single sign-on method and system
CN106657271A (en) Method and device for calling local control
CN102821085A (en) Third party authorization login method, open platform and system
US20080244265A1 (en) Mobility device management server
CN101394371A (en) Method and system for implementing a chat application proxy server
DE112012005564T5 (en) Secure peer discovery and authentication using a shared secret
CN105094996A (en) Security-enhancing method and system of Android system based on dynamic authority verification
CN104052746A (en) Heterogeneous application single sign-on system and method
CN105354482A (en) Single sign-on method and device
CN103379093B (en) A kind of method and device for realizing account intercommunication
CN107566396A (en) A kind of method based on dynamic password enhancing server VPN protocol securitys
CN107911344A (en) A kind of safe docking calculation of cloud platform
CN105959278B (en) A kind of method, apparatus and system for calling VPN
CN102255979A (en) Server accessing method and system
CN105100068A (en) System and method for realizing single sign-on
JP2003058503A (en) User authenticating method and user authenticating system
CN101064611B (en) Application integration method based on register and call control
CN102799820A (en) Recovery method of user password

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication