Unlock instant, AI-driven research and patent intelligence for your innovation.

A javascript-based middleware authorization method and device

A technology of middleware and verification method, which is applied in the field of JavaScript-based middleware authorization method and device, and can solve the problem that the encryption and decryption methods are not flexible enough.

Active Publication Date: 2017-12-19
SHENZHEN IPANEL TECH LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present invention provides a JavaScript-based middleware authorization method and device, aiming to solve the problem that the existing technology can only pass the STBID range through the authorization module to verify, and the way of encryption and decryption is not flexible enough

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A javascript-based middleware authorization method and device
  • A javascript-based middleware authorization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] figure 1 The implementation flow of the JavaScript-based middleware authorization method provided by Embodiment 1 of the present invention is shown, and the details are as follows:

[0020] In step S101, a preset JavaScript description is obtained to describe an authorization verification method of a licensed hardware identifier.

[0021] In this embodiment, the JavaScript is an object-based and event-driven client-side scripting language with relative security. At the same time, it is also a scripting language widely used in client-side Web development. It is often used to add dynamic functions to HTML web pages, such as responding to various operations of users. Completely describe the specific verification method and process into the JavaScript code, and then write them all into the authorization module, so that the verification method and process are only related to the authorization module. If you need to modify the verification method and process, you only need t...

Embodiment 2

[0029] figure 2 A specific structural block diagram of the JavaScript-based middleware authorization device provided by Embodiment 2 of the present invention is shown. For convenience of description, only parts related to the embodiment of the present invention are shown. In this embodiment, the JavaScript-based middleware authorization device includes: a method acquisition unit 21 , an identification acquisition unit 22 , an identification verification unit 23 , a piracy prompt unit 24 and a re-verification unit 25 .

[0030] Wherein, the method obtaining unit 21 is used to obtain the authorization verification method of the preset JavaScript description license hardware identification;

[0031] The identification acquisition unit 22 is used to identify and read the local hardware identification through the API interface of the transplantation layer;

[0032] The identification verification unit 23 is configured to invoke the authorization verification method to verify whet...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is adaptable to the technical field of set-top boxes and provides a JavaScript-based middleware authorization method and device. The authorization method includes acquiring an authorized validation method of presetting the JavaScript to describe an approved hardware identifier; reading a home-terminal hardware identification through an application programming interface (API) of a portability layer; and calling the authorized validation method to validate whether the home-terminal hardware identification is in a range of the approved hardware identifier or not, and if so, confirming that the home-terminal middleware is legal. By the authorization method and the authorization device, the validation method and validation process are comprehensively described in a JavaScript manner and flexibly set and modified.

Description

technical field [0001] The invention belongs to the technical field of set-top boxes, and in particular relates to a JavaScript-based middleware authorization method and device. Background technique [0002] At present, set-top boxes cooperate with hardware providers and middleware providers to provide solutions to operators. In this mode, middleware piracy exists. The existing technology to solve this problem is to use private key encryption to license hardware identification range to obtain an encrypted ID; respectively implant the encrypted ID and the public key into the middleware, the public key and the private key are a pair of digital signatures; at runtime, use the public key to decrypt the encrypted ID to obtain The scope of the licensed hardware ID; read the hardware ID through the API interface of the transplantation layer, and judge whether the hardware ID is within the range of the licensed hardware ID, and if so, obtain the authorization certificate, so that th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/12
CPCG06F21/44H04N21/4433
Inventor 徐佳宏熊文朱吕亮张建国
Owner SHENZHEN IPANEL TECH LTD