WO2014176926A1 - Encrypting method and device and decrypting method and device for client script - Google Patents

Encrypting method and device and decrypting method and device for client script Download PDF

Info

Publication number
WO2014176926A1
WO2014176926A1 PCT/CN2013/091001 CN2013091001W WO2014176926A1 WO 2014176926 A1 WO2014176926 A1 WO 2014176926A1 CN 2013091001 W CN2013091001 W CN 2013091001W WO 2014176926 A1 WO2014176926 A1 WO 2014176926A1
Authority
WO
WIPO (PCT)
Prior art keywords
character
component
picture
client script
client
Prior art date
Application number
PCT/CN2013/091001
Other languages
French (fr)
Chinese (zh)
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 WO2014176926A1 publication Critical patent/WO2014176926A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09CCIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
    • G09C1/00Apparatus or methods whereby a given sequence of signs, e.g. an intelligible text, is transformed into an unintelligible sequence of signs by transposing the signs or groups of signs or by replacing them by others according to a predetermined system

Abstract

The embodiments of this disclosure disclose an encrypting method and device and decrypting method and device for a client script, which are used for solving the problems of easy to decrypt, imperfect code protection and high development difficulty existing in the current client script encryption technology. The above-mentioned encrypting method comprises: according to a rule of correspondence between digits and characters, converting each character in a client script into a corresponding digit, wherein the digit respectively corresponding to each character is an integer in the range of [0, 255], and the digits respectively corresponding to each character are different; and according to a correlation between digits corresponding to each character in the client script and the components of red, green and blue Alpha (RGBA) channels of pixels in pictures, generating a picture by taking the digits corresponding to each character as corresponding component values of corresponding pixels in the picture. The embodiments of this disclosure improve the security of the client script, the protection is better, and the development difficulty is lower.

Description

客户端脚本的加密处理方法及装置和解密处理方法及装置 本申请基于申请号为 201310156278.3、 申请日为 2013/4/28的中国专利申请提出, 并 要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申请作为参考。 技术领域  The present invention is based on a Chinese patent application with the application number 201310156278.3 and the application date of 2013/4/28, and claims the priority of the Chinese patent application, the Chinese patent The entire contents of the application are incorporated herein by reference. Technical field
本公开涉及移动终端的安全保护技术领域,尤其涉及客户端脚本的加密处理方法及装 置和解密处理方法及装置。 背景技术  The present disclosure relates to the field of security protection technologies for mobile terminals, and in particular, to an encryption processing method and a device and a decryption processing method and apparatus for client scripts. Background technique
随着互联网行业的快速发展, 网页客户端中的内容变得越来越丰富, 网页中的可执行 脚本(通常为 Javascript)数量增长迅猛。与此同时大量的网页脚本带来了诸多的安全漏洞 问题, 网络黑客通常可以通过查看一个网页的可执行脚本(客户端脚本的执行前提是必须 下载到用户浏览器中,所以通常这部分代码是直接暴露给用户的)的源码,分析网页漏洞, 这为网站的安全问题带来严峻的挑战。客户端脚本的加密技术, 虽然不能从根本上解决安 全漏洞问题, 但是可以大大提高攻击门槛, 同时也避免了一些人对于代码的二次利用 (尤 其是一些非法商业用途, 例如搭建钓鱼网站等) 的行为。  With the rapid development of the Internet industry, the content of web clients has become more and more abundant, and the number of executable scripts (usually Javascript) in web pages has grown rapidly. At the same time, a large number of web scripts bring a lot of security vulnerabilities. Web hackers can usually view executable scripts of a web page (the execution prerequisites of client scripts must be downloaded to the user's browser, so usually this part of the code is The source code directly exposed to the user, analyzing web page vulnerabilities, poses a serious challenge to the security of the website. The client-side scripting encryption technology can not solve the security vulnerability problem fundamentally, but it can greatly improve the attack threshold, and also avoid some people's secondary use of the code (especially some illegal commercial uses, such as building a phishing website, etc.) the behavior of.
目前的一种客户端脚本加密技术为 yui compressor (雅虎 UI框架压缩器)等脚本压缩 技术。此类技术的原理是,在客户端脚本发布之前,使用一种服务器语言(例如可以是 Java) 压缩该脚本文件。首先将客户端可执行脚本文件读入为一个字符串, 然后去掉其中的代码 注释、 换行、 空格、 制表符等; 同时对代码中的变量名做混淆, 将变量替换成无意义的字 符串, 然后将压缩后的字符串回写到原文件中。 使用脚本压缩技术, 不能实现对脚本代码 的完全隐藏, 压缩后的脚本依然可以在客户端被直接查看, 并且有很多相应的解压代码方 案。  A current client-side script encryption technology is script compression technology such as yui compressor (Yahoo UI Framework Compressor). The principle of this type of technology is to compress the script file using a server language (for example, it can be Java) before the client script is published. First read the client executable script file as a string, then remove the code comments, line breaks, spaces, tabs, etc.; at the same time confuse the variable names in the code, replace the variables with meaningless strings , then write the compressed string back to the original file. With script compression technology, the script code can't be completely hidden. The compressed script can still be viewed directly on the client, and there are many corresponding decompression code schemes.
目前的另一种客户端脚本加密技术为脚本混淆技术。 常见的脚本混淆工具有 Google closure 脚本混淆可以完全打破原有代码的组织结构, 让代码变得完全不可读。 其基本原 理同上述脚本压缩技术, 但是在读入脚本文件时会分析文件的代码结构, 对代码本身进行 重新编码。 使用脚本混淆技术, 要求脚本代码的开发人员严格遵循代码的语法规范(客户 端脚本通常语法非常灵活, 例如代码结束时可以不写分号, if语句后面可以不使用大括号 等) , 这就对开发的代码本身的质量提出一个严格的挑战。  Another current client-side scripting encryption technology is script obfuscation. A common script obfuscation tool with Google closure script confusing can completely break the organization of the original code, making the code completely unreadable. The basic principle is the same as the above script compression technology, but the code structure of the file is analyzed when the script file is read, and the code itself is re-encoded. Using script obfuscation techniques, developers who require script code strictly follow the syntax of the code (client-side scripts are usually very flexible, such as not having to write a semicolon at the end of the code, without the use of braces after the if statement), which is true. The quality of the developed code itself presents a rigorous challenge.
可见, 目前的客户端脚本加密技术存在易被解密、 代码保护不完善、 开发难度高的问 题。 发明内容 本公开实施例提供客户端脚本的加密处理方法及装置和解密处理方法及装置,用以解 决目前的客户端脚本加密技术存在易被解密、 代码保护不完善、 开发难度高的问题。 It can be seen that the current client-side script encryption technology has the problems of being easily decrypted, the code protection is imperfect, and the development is difficult. Summary of the invention The embodiments of the present disclosure provide a method and a device for encrypting a client script, and a decryption processing method and device, which are used to solve the problem that the current client-side script encryption technology is easy to be decrypted, the code protection is imperfect, and the development is difficult.
一方面, 本公开实施例提供了一种客户端脚本的加密处理方法, 包括:  In one aspect, an embodiment of the present disclosure provides a method for encrypting a client script, including:
按照数字与字符的对应规则, 将客户端脚本中的每个字符转换为对应的数字, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每个字符各自对应的数字不相同; 根据所述客户端脚本中每个字符对应的数字与图片中像素的红绿蓝 Alpha通道 RGBA 分量的对应关系, 将所述每个字符对应的数字作为所述图片中对应像素的对应分量值, 生 成一图片。  According to the corresponding rules of numbers and characters, each character in the client script is converted into a corresponding number, wherein each character corresponding to each character is an integer in the range [0, 255], and the corresponding number of each character is not According to the correspondence between the number corresponding to each character in the client script and the red, green, and blue alpha channel RGBA component of the pixel in the image, the number corresponding to each character is used as the corresponding component of the corresponding pixel in the image. Value, generate a picture.
其中, 在一个实施例中, 所述数字为信息交换码;  Wherein, in one embodiment, the number is an information exchange code;
所述按照数字与字符的对应规则, 将客户端脚本中的每个字符转换为对应的数字, 包 括:  Converting each character in the client script to a corresponding number according to a correspondence rule of numbers and characters, including:
利用服务器语言的信息交换码转换函数,将客户端脚本中的每个字符转换为对应的信 息交换码。  Each character in the client script is converted to a corresponding information exchange code using the information exchange code conversion function of the server language.
其中, 在一个实施例中, 所述客户端脚本中每个字符对应的数字与图片中像素的 RGBA分量的对应关系, 可包括:  In an embodiment, the correspondence between the number corresponding to each character in the client script and the RGBA component of the pixel in the image may include:
所述客户端脚本中每连续三个字符各自对应的数字,依序对应所述图片中对应像素的 R分量、 G分量、 B分量; 或者  The number corresponding to each successive three characters in the client script sequentially corresponds to the R component, the G component, and the B component of the corresponding pixel in the image; or
所述客户端脚本中的每个字符各自对应的数字,分别与所述图片中的对应像素的 R分 量、 G分量、 B分量或者 Alpha通道分量对应。  Each of the characters in the client script corresponds to a number corresponding to an R component, a G component, a B component, or an alpha channel component of a corresponding pixel in the picture.
其中, 在一个实施例中, 当所述客户端脚本中每连续三个字符各自对应的数字, 依序 对应所述图片中对应像素的 R分量、 G分量、 B分量时, 所述图片的 Alpha通道值为 0。  In one embodiment, when the number corresponding to each consecutive three characters in the client script sequentially corresponds to the R component, the G component, and the B component of the corresponding pixel in the image, the alpha of the image is The channel value is 0.
其中, 在一个实施例中, 所述生成一图片之后, 所述处理方法还包括:  In an embodiment, after the generating a picture, the processing method further includes:
将所述图片发送给客户端。  Send the picture to the client.
在另一方面, 本公开实施例提供了一种客户端脚本的解密处理方法, 包括: 获取图片中像素的 RGBA分量值;  In another aspect, an embodiment of the present disclosure provides a decryption processing method for a client script, including: acquiring an RGBA component value of a pixel in a picture;
根据客户端脚本中每个字符各自对应的数字与所述图片中像素的 RGBA分量的对应 关系, 确定所述客户端脚本中每个字符各自对应的数字;  Determining a number corresponding to each character in the client script according to a correspondence between a number corresponding to each character in the client script and an RGBA component of the pixel in the image;
按照数字与字符的对应规则,将所述客户端脚本中每个字符各自对应的数字转换为对 应的字符, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每个字符各自对应 的数字不相同;  According to the correspondence rule of numbers and characters, the numbers corresponding to each character in the client script are converted into corresponding characters, wherein each character corresponding to each character is an integer in the range [0, 255], and each character The corresponding numbers are not the same;
依序拼接所述转换而成的字符, 形成客户端可执行的客户端脚本。  The converted characters are sequentially spliced to form a client-side executable client script.
其中, 在一个实施例中, 所述数字为信息交换码;  Wherein, in one embodiment, the number is an information exchange code;
所述按照数字与字符的对应规则,将所述客户端脚本中每个字符各自对应的数字转换 为对应的字符, 包括:  Converting the number corresponding to each character in the client script into a corresponding character according to the corresponding rule of the number and the character, including:
利用客户端脚本的信息交换码转换函数,将所述客户端脚本中每个字符各自对应的信 息交换码转换为对应的字符。 Using the information exchange code conversion function of the client script, the letter corresponding to each character in the client script The exchange code is converted to the corresponding character.
其中, 在一个实施例中, 所述客户端脚本中每个字符对应的数字与图片中像素的 RGBA分量的对应关系, 包括:  In one embodiment, the correspondence between the number corresponding to each character in the client script and the RGBA component of the pixel in the image includes:
所述客户端脚本中每连续三个字符各自对应的数字,依序对应所述图片中对应像素的 R分量、 G分量、 B分量; 或者  The number corresponding to each successive three characters in the client script sequentially corresponds to the R component, the G component, and the B component of the corresponding pixel in the image; or
所述客户端脚本中的每个字符各自对应的数字,分别与所述图片中的对应像素的 R分 量、 G分量、 B分量或者 Alpha通道分量对应。  Each of the characters in the client script corresponds to a number corresponding to an R component, a G component, a B component, or an alpha channel component of a corresponding pixel in the picture.
其中, 在一个实施例中, 所述获取图片中像素的 RGBA分量值之前, 所述处理方法 还包括:  In an embodiment, before the acquiring the RGBA component value of the pixel in the image, the processing method further includes:
接收服务器发送的所述图片。  Receiving the picture sent by the server.
本公开实施例提供了一种客户端脚本的加密处理装置, 包括:  An embodiment of the present disclosure provides an encryption processing apparatus for a client script, including:
转换模块, 用于按照数字与字符的对应规则, 将客户端脚本中的每个字符转换为对应 的数字, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每个字符各自对应的 数字不相同;  a conversion module, configured to convert each character in the client script into a corresponding number according to a correspondence rule of numbers and characters, wherein each character corresponds to an integer in the range of [0, 255], and each character The corresponding numbers are not the same;
生成模块, 用于根据所述客户端脚本中每个字符对应的数字与图片中像素的 RGBA 分量的对应关系, 将所述每个字符对应的数字作为所述图片中对应像素的对应分量值, 生 成一图片。  a generating module, configured to use, according to a correspondence between a number corresponding to each character in the client script and an RGBA component of a pixel in the image, a number corresponding to each character as a corresponding component value of a corresponding pixel in the image, Generate a picture.
其中, 在一个实施例中, 所述转换模块可包括:  In an embodiment, the converting module may include:
转换子模块, 用于利用服务器语言的信息交换码转换函数, 将客户端脚本中的每个字 符转换为对应的信息交换码。  The conversion submodule is configured to convert each character in the client script into a corresponding information exchange code by using an information exchange code conversion function of the server language.
其中, 在一个实施例中, 所述处理装置还可包括:  In one embodiment, the processing device may further include:
存储模块, 用于存储所述客户端脚本中每个字符对应的数字与图片中像素的 RGBA 分量的对应关系, 包括: 所述客户端脚本中每连续三个字符各自对应的数字, 依序对应所 述图片中对应像素的 R分量、 G分量、 B分量; 或者所述客户端脚本中的每个字符各自对 应的数字, 分别与所述图片中的对应像素的 R分量、 G分量、 B分量或者 Alpha通道分量 对应; 和 /或  a storage module, configured to store a correspondence between a number corresponding to each character in the client script and an RGBA component of a pixel in the image, including: a number corresponding to each consecutive three characters in the client script, sequentially corresponding The R component, the G component, and the B component of the corresponding pixel in the picture; or the corresponding number of each character in the client script, respectively, and the R component, the G component, and the B component of the corresponding pixel in the picture Or the alpha channel component corresponds; and/or
发送模块, 用于在所述生成模块生成所述图片之后, 将所述图片发送给客户端。 在另一方面, 本公开实施例提供了一种客户端脚本的解密处理装置, 包括: 获取模块, 用于获取图片中像素的 RGBA分量值;  And a sending module, configured to send the image to the client after the generating module generates the image. In another aspect, an embodiment of the present disclosure provides a decryption processing apparatus for a client script, including: an acquiring module, configured to acquire an RGBA component value of a pixel in a picture;
确定模块, 用于根据客户端脚本中每个字符各自对应的数字与所述图片中像素的 a determining module, configured to use a number corresponding to each character in the client script and a pixel in the image
RGBA分量的对应关系, 确定所述客户端脚本中每个字符各自对应的数字; Corresponding relationship between the RGBA components, determining a number corresponding to each character in the client script;
转换模块, 用于按照数字与字符的对应规则, 将所述客户端脚本中每个字符各自对应 的数字转换为对应的字符, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每 个字符各自对应的数字不相同;  a conversion module, configured to convert a number corresponding to each character in the client script into a corresponding character according to a correspondence rule of numbers and characters, wherein each character corresponding to each character is an integer in a range of [0, 255] , and each character has a different number;
拼接模块, 用于依序拼接所述转换而成的字符, 形成客户端可执行的客户端脚本。 其中, 在一个实施例中, 所述转换模块可包括: The splicing module is configured to sequentially splicing the converted characters to form a client-side executable client script. In an embodiment, the converting module may include:
转换子模块, 用于利用客户端脚本的信息交换码转换函数, 将所述客户端脚本中每个 字符各自对应的信息交换码转换为对应的字符。  The conversion submodule is configured to convert the information exchange code corresponding to each character in the client script into a corresponding character by using an information exchange code conversion function of the client script.
其中, 在一个实施例中, 所述处理装置还可包括:  In one embodiment, the processing device may further include:
存储模块, 用于存储所述客户端脚本中每个字符对应的数字与图片中像素的 RGB分 量的对应关系, 包括: 所述客户端脚本中每连续三个字符各自对应的数字, 依序对应所述 图片中对应像素的 R分量、 G分量、 B分量; 或者所述客户端脚本中的每个字符各自对应 的数字, 分别与所述图片中的对应像素的 R分量、 G分量、 B分量或者 Alpha通道分量对 应; 和 /或  a storage module, configured to store a correspondence between a number corresponding to each character in the client script and an RGB component of a pixel in the image, including: a number corresponding to each consecutive three characters in the client script, sequentially corresponding The R component, the G component, and the B component of the corresponding pixel in the picture; or the corresponding number of each character in the client script, respectively, and the R component, the G component, and the B component of the corresponding pixel in the picture Or the alpha channel component corresponds; and/or
接收模块, 用于在所述获取模块获取图片中像素的 RGBA分量值之前, 接收服务器 发送的所述图片。  The receiving module is configured to receive the picture sent by the server before the acquiring module acquires the RGBA component value of the pixel in the picture.
本公开的一些有益效果可以包括: 由于客户端脚本被压缩进了图片, 因此客户端脚本 不能通过一般的手段被查看(例如浏览器自带的代码查看工具等), 提高了客户端脚本的 安全性, 保护更完善; 并且, 对代码开发人员的要求较低, 不需像目前的脚本混淆技术那 样要求代码开发人员严格遵循代码的语法规范, 开发难度较低。  Some of the beneficial effects of the present disclosure may include: Since the client script is compressed into the image, the client script cannot be viewed by a general means (for example, a code viewing tool provided by the browser), thereby improving the security of the client script. Sexuality, better protection; and, the requirements of code developers are lower, do not need to require code developers to strictly follow the code syntax of the code, as the current script obfuscation technology, the development is less difficult.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。 本公开的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从说明书中变得显 而易见, 或者通过实施本公开而了解。 本公开的目的和其他优点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结构来实现和获得。  The above general description and the following detailed description are merely exemplary and are not intended to limit the disclosure. Other features and advantages of the present disclosure will be set forth in the description which follows. The objectives and other advantages of the present disclosure can be realized and obtained by the structure particularly pointed out in the written description.
下面通过附图和实施例, 对本公开的技术方案做进一步的详细描述。 附图说明  The technical solutions of the present disclosure will be further described in detail below through the accompanying drawings and embodiments. DRAWINGS
附图用来提供对本公开的进一步理解, 并且构成说明书的一部分, 与本公开的实施例 一起用于解释本公开, 并不构成对本公开的限制。 在附图中:  The drawings are intended to provide a further understanding of the present disclosure, and are intended to be a part of the description of the invention. In the drawing:
图 1为本公开实施例中一种客户端脚本的加密处理方法的示例性流程图;  1 is an exemplary flowchart of a method for encrypting a client script in an embodiment of the present disclosure;
图 2为本公开实施例中一种客户端脚本的解密处理方法的示例性流程图;  2 is an exemplary flowchart of a method for decrypting a client script in an embodiment of the present disclosure;
图 3为本公开一具体实施例的示例性方法流程图;  3 is a flow chart of an exemplary method of an embodiment of the present disclosure;
图 4为本公开实施例中一种客户端脚本的加密处理装置的示例性结构示意图; 图 5为本公开实施例中另一种客户端脚本的加密处理装置的示例性结构示意图; 图 6为本公开实施例中一种客户端脚本的解密处理装置的示例性结构示意图; 图 7为本公开实施例中另一种客户端脚本的解密处理装置的示例性结构示意图。 通过上述附图, 已示出本公开明确的实施例, 后文中将有更详细的描述。 这些附图和 文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本 领域技术人员说明本公开的概念。 具体实施方式 FIG. 4 is a schematic structural diagram of an encryption processing apparatus of a client script according to an embodiment of the present disclosure; FIG. 5 is a schematic structural diagram of another encryption processing apparatus of a client script according to an embodiment of the present disclosure; An exemplary structural diagram of a decryption processing apparatus of a client-side script in the embodiment of the present disclosure; FIG. 7 is a schematic structural diagram of another decryption processing apparatus of a client-side script in the embodiment of the present disclosure. The embodiments of the present disclosure have been shown by the above-described drawings, which will be described in more detail later. The drawings and the text are not intended to limit the scope of the present disclosure in any way, and the description of the present disclosure will be described by those skilled in the art by reference to the specific embodiments. detailed description
以下结合附图对本公开的优选实施例进行说明, 应当理解, 此处所描述的优选实施例 仅用于说明和解释本公开, 并不用于限定本公开。  The preferred embodiments of the present disclosure are described with reference to the accompanying drawings, which are to be understood to illustrate
本公开实施例提供了客户端脚本的加密处理方法和装置及解密处理方法和装置。当客 户端脚本被发布之前, 客户端脚本内容被压缩进一张图片; 当客户端请求一个网页需要执 行客户端脚本时, 首先服务器将图片加载到客户端, 然后客户端从图片中获取客户端脚本 的每个字符, 将每个字符拼接成客户端脚本, 在客户端中运行。  Embodiments of the present disclosure provide a method and apparatus for encrypting a client script and a decryption processing method and apparatus. Before the client script is released, the client script content is compressed into a picture; when the client requests a web page to execute the client script, the server first loads the image to the client, and then the client obtains the client from the image. Each character of the script, splicing each character into a client-side script, runs in the client.
本公开实施例提供的技术方案, 由于客户端脚本被压缩进了图片, 因此客户端脚本不 能通过一般的手段被查看(例如浏览器自带的代码查看工具等) , 提高了客户端脚本的安 全性, 保护更完善; 并且, 对代码开发人员的要求较低, 不需像目前的脚本混淆技术那样 要求代码开发人员严格遵循代码的语法规范, 开发难度较低。  According to the technical solution provided by the embodiment of the present disclosure, since the client script is compressed into the picture, the client script cannot be viewed by a general means (for example, a code viewing tool provided by the browser), thereby improving the security of the client script. Sexuality, better protection; and, the requirements of code developers are lower, do not need to require code developers to strictly follow the code syntax of the code, as the current script obfuscation technology, the development is less difficult.
其中, 客户端脚本的每个字符信息被压缩进成一张图片的原理如下所述:  The principle that each character information of the client script is compressed into a picture is as follows:
图片中的每一个像素由四个分量值来表示:红、绿、蓝和 Alpha通道(缩写为 RGBA)。 它们的值是 [0,255]范围内的整数。 而客户端脚本是由一个个的字符组成。 如果将客户端脚 本中的每个字符转换为 [0,255]范围内的整数, 且保证每个字符各自对应的数字不相同, 那 么可以将每个字符各自对应的数字作为图片中像素的分量值, 构建出一图片来。  Each pixel in the picture is represented by four component values: red, green, blue, and alpha channels (abbreviated RGBA). Their values are integers in the range [0,255]. The client script is composed of characters. If each character in the client script is converted to an integer in the range [0, 255], and the number corresponding to each character is not the same, then the number corresponding to each character can be used as the component value of the pixel in the picture. Build an image.
下面详细介绍本公开实施例提供的技术方案。  The technical solutions provided by the embodiments of the present disclosure are described in detail below.
如图 1所示, 本公开实施例提供了一种客户端脚本的加密处理方法, 包括以下步骤: 在 S11中、按照数字与字符的对应规则, 将客户端脚本中的每个字符转换为对应的数 字, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每个字符各自对应的数字 不相同。  As shown in FIG. 1 , an embodiment of the present disclosure provides a method for encrypting a client script, including the following steps: In S11, each character in the client script is converted into a corresponding one according to a correspondence rule between numbers and characters. The number of each character, the number corresponding to each character is an integer in the range [0, 255], and the number corresponding to each character is different.
在一个实施例中, 上述数字可以为 ASCII码 (American Standard Code for Information Interchange, 美国标准信息交换代码, 简称信息交换码) ;  In one embodiment, the above number may be an ASCII code (American Standard Code for Information Interchange, referred to as an information exchange code);
此时, 按照数字与字符的对应规则, 将客户端脚本中的每个字符转换为对应的数字, 可包括: 利用服务器语言的 ASCII码转换函数, 将客户端脚本中的每个字符转换为对应的 ASCII码。  At this time, according to the correspondence rule of numbers and characters, converting each character in the client script into a corresponding number may include: converting each character in the client script into a corresponding one by using an ASCII code conversion function of the server language ASCII code.
当然, 除了上述 ASCII码, 还可以是程序员自己规定数字与字符的对应规则, 只要该 种对应规则能保证每个字符各自对应的数字为 [0,255]范围内的整数, 且每个字符各自对应 的数字不相同即可。按照该种对应规则将客户端脚本中的每个字符转换为对应的数字, 后 续利用该数字构建图片。  Of course, in addition to the above ASCII code, it is also possible for the programmer to specify the correspondence between numbers and characters, as long as the corresponding rule can ensure that the corresponding number of each character is an integer in the range [0, 255], and each character corresponds to each other. The numbers are not the same. According to the corresponding rule, each character in the client script is converted into a corresponding number, and then the number is used to construct the picture.
在 S12中、 根据客户端脚本中每个字符对应的数字与图片中像素的 RGBA分量的对 应关系, 将每个字符对应的数字作为图片中对应像素的对应分量值, 生成一图片。  In S12, according to the correspondence between the number corresponding to each character in the client script and the RGBA component of the pixel in the picture, the number corresponding to each character is used as the corresponding component value of the corresponding pixel in the picture to generate a picture.
在一个实施例中, 客户端脚本中每个字符对应的数字与图片中像素的 RGBA分量的 对应关系, 可包括: 客户端脚本中每连续三个字符各自对应的数字, 依序对应图片中对应 像素的 R分量、 G分量、 B分量。 即每三个连续的字符各自对应的数字, 都对应同一个像 素,且这三个连续的字符各自对应的数字中,第一个字符对应的数字与该像素的 R分量对 应, 第二个字符对应的数字与该像素的 G分量对应, 第三个字符对应的数字与该像素的 B 分量对应; 依此, 客户端脚本的所有字符各自对应的数字都被压缩进了一张图片中。 In an embodiment, the correspondence between the number corresponding to each character in the client script and the RGBA component of the pixel in the image may include: a number corresponding to each successive three characters in the client script, and correspondingly corresponding to the corresponding image in the image The R component, the G component, and the B component of the pixel. That is, the number corresponding to each of the three consecutive characters corresponds to the same image. Among the numbers corresponding to the three consecutive characters, the number corresponding to the first character corresponds to the R component of the pixel, the number corresponding to the second character corresponds to the G component of the pixel, and the third character corresponds to The number corresponds to the B component of the pixel; accordingly, the corresponding number of all characters of the client script is compressed into a picture.
或者, 上述对应关系可包括: 客户端脚本中的每个字符各自对应的数字, 分别与图片 中的对应像素的 R分量、 G分量、 B分量或者 Alpha通道分量对应。  Alternatively, the foregoing correspondence may include: a number corresponding to each character in the client script, respectively corresponding to an R component, a G component, a B component, or an Alpha channel component of a corresponding pixel in the picture.
即客户端脚本中的每个字符各自对应的数字, 分别对应一个像素中的一个分量; 比如 字符 " A"对应像素 A' 的 R分量; 字符 " B"对应像素 B' 的 R分量。 其中, 使用 Alpha 通道的前提是服务器在存储图片时必须把图片存储为可以携带 Alpha通道信息的图片格 式, 例如 PNG。  That is, the corresponding number of each character in the client script corresponds to one component in one pixel; for example, the character "A" corresponds to the R component of the pixel A'; the character "B" corresponds to the R component of the pixel B'. The premise of using the alpha channel is that the server must store the image as an image format that can carry alpha channel information, such as PNG, when storing images.
当然, 除了以上两种对应关系, 还可以是其他形式的对应关系, 并不受本公开限制。 按照上述对应关系, 将每个字符对应的数字作为图片中对应像素的对应分量值, 利用 绘图程序生成一图片, 该图片中包含了客户端脚本的字符信息。  Of course, in addition to the above two correspondences, other forms of correspondence may be used, and are not limited by the disclosure. According to the above correspondence, the number corresponding to each character is used as the corresponding component value of the corresponding pixel in the picture, and a picture is generated by the drawing program, and the picture contains the character information of the client script.
在一个实施例中, 当客户端脚本中每连续三个字符各自对应的数字, 依序对应所述图 片中对应像素的 R分量、 G分量、 B分量时, 图片的 Alpha通道值为 0, 这样便可保证绘 图程序绘制图片时取到的颜色值是正确的。  In an embodiment, when the number corresponding to each consecutive three characters in the client script sequentially corresponds to the R component, the G component, and the B component of the corresponding pixel in the image, the alpha channel value of the image is 0, It is guaranteed that the color values obtained by the drawing program when drawing the picture are correct.
执行完步骤 S12之后, 上述加密处理方法还可以包括: 将图片发送给客户端。  After the step S12 is performed, the encryption processing method may further include: sending the image to the client.
在一个实施例中, 将图片发送给客户端之前, 上述加密处理方法还可以包括: 接收到 客户端发送来的网页请求, 请求上述客户端脚本。  In an embodiment, before the sending the image to the client, the encryption processing method may further include: receiving a webpage request sent by the client, requesting the client script.
至此, 完成了客户端脚本的加密处理流程。  At this point, the encryption process of the client script is completed.
如图 2所示, 对应上述客户端脚本的加密处理方法, 本公开实施例还提供了一种客户 端脚本的解密处理方法, 包括以下步骤:  As shown in FIG. 2, in accordance with the encryption processing method of the client script, the embodiment of the present disclosure further provides a method for decrypting a client script, including the following steps:
在 S21中、 获取图片中像素的 RGBA分量值。  In S21, the RGBA component value of the pixel in the picture is acquired.
该图片是经过上述步骤 S12 处理而生成的图片, 该图片包含了客户端脚本的字符信 息。  The picture is a picture generated by the above processing of step S12, and the picture contains character information of the client script.
在一个实施例中, 执行步骤 S21之前, 解密处理方法还可以包括: 接收服务器发送的 图片。  In an embodiment, before performing step S21, the decryption processing method may further include: receiving a picture sent by the server.
在一个实施例中, 接收服务器发送的图片之前, 上述加密处理方法还可包括: 向服务 器发送网页请求。  In an embodiment, before receiving the picture sent by the server, the encryption processing method may further include: sending a webpage request to the server.
在 S22中、 根据客户端脚本中每个字符各自对应的数字与图片中像素的 RGBA分量 的对应关系, 确定客户端脚本中每个字符各自对应的数字。  In S22, according to the correspondence between the number corresponding to each character in the client script and the RGBA component of the pixel in the picture, the number corresponding to each character in the client script is determined.
在一个实施例中, 客户端脚本中每个字符对应的数字与图片中像素的 RGBA分量的 对应关系, 可包括: 客户端脚本中每连续三个字符各自对应的数字, 依序对应图片中对应 像素的 R分量、 G分量、 B分量。 即每三个连续的字符各自对应的数字, 都对应同一个像 素,且这三个连续的字符各自对应的数字中,第一个字符对应的数字与该像素的 R分量对 应, 第二个字符对应的数字与该像素的 G分量对应,第三个字符对应的数字与该像素的 B 分量对应; 依此, 客户端脚本的所有字符各自对应的数字都被压缩进了一张图片中。 或者, 上述对应关系可包括: 客户端脚本中的每个字符各自对应的数字, 分别与图片 中的对应像素的 R分量、 G分量、 B分量或者 Alpha通道分量对应。 即客户端脚本中的每 个字符各自对应的数字, 分别对应一个像素中的一个分量; 比如字符 " A"对应像素 A' 的 R分量; 字符 "B"对应像素 B' 的 R分量。 In an embodiment, the correspondence between the number corresponding to each character in the client script and the RGBA component of the pixel in the image may include: a number corresponding to each successive three characters in the client script, and correspondingly corresponding to the corresponding image in the image The R component, the G component, and the B component of the pixel. That is, each of the three consecutive characters corresponding to the same number corresponds to the same pixel, and the corresponding number of the three consecutive characters, the number corresponding to the first character corresponds to the R component of the pixel, and the second character The corresponding number corresponds to the G component of the pixel, the number corresponding to the third character and the B of the pixel The components correspond; accordingly, the corresponding numbers of all the characters of the client script are compressed into one picture. Alternatively, the foregoing correspondence may include: a number corresponding to each character in the client script, corresponding to an R component, a G component, a B component, or an Alpha channel component of a corresponding pixel in the image, respectively. That is, the number corresponding to each character in the client script corresponds to one component in one pixel; for example, the character "A" corresponds to the R component of the pixel A'; the character "B" corresponds to the R component of the pixel B'.
当然, 除了以上两种对应关系, 还可以是其他形式的对应关系, 并不受本公开限制。 步骤 S22中采用的对应关系, 与前述步骤 S12中采用的对应关系要一致, 这样才能保 证步骤 S22确定出来的数字是正确的,保证后续步骤 S25拼接出来的客户端脚本是正确的。  Of course, in addition to the above two correspondences, other forms of correspondence may be used, and are not limited by the disclosure. The corresponding relationship adopted in step S22 is the same as the corresponding relationship used in the foregoing step S12, so as to ensure that the number determined in step S22 is correct, and that the client script stitched out in the subsequent step S25 is correct.
在 S23中、按照数字与字符的对应规则, 将客户端脚本中每个字符各自对应的数字转 换为对应的字符, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每个字符各 自对应的数字不相同。  In S23, according to the correspondence rule of numbers and characters, the numbers corresponding to each character in the client script are converted into corresponding characters, wherein each character corresponding to each character is an integer in the range [0, 255], and each The characters corresponding to each character are different.
步骤 S23中采用的对应规则, 与前述步骤 S11中采用的对应规则要一致, 这样才能保 证步骤 S23确定出来的数字是正确的,保证后续步骤 S24拼接出来的客户端脚本是正确的。  The corresponding rule used in step S23 is consistent with the corresponding rule used in the foregoing step S11, so as to ensure that the number determined in step S23 is correct, and that the client script stitched out in the subsequent step S24 is correct.
相应地, 前述步骤 S11 中的数字如果为 ASCII码; 步骤 S11采用的是服务器语言的 ASCII码转换函数, 那么在步骤 S23中, 按照数字与字符的对应规则, 将客户端脚本中每 个字符各自对应的数字转换为对应的字符, 可包括:  Correspondingly, if the number in the foregoing step S11 is ASCII code; in step S11, the ASCII code conversion function of the server language is used, then in step S23, according to the correspondence rule of numbers and characters, each character in the client script is respectively The corresponding number is converted into a corresponding character, which may include:
利用客户端脚本的 ASCII码转换函数, 将客户端脚本中每个字符各自对应的 ASCII 码转换为对应的字符。  The ASCII code conversion function of the client script is used to convert the ASCII code corresponding to each character in the client script into a corresponding character.
步骤 S11 与步骤 S23 中的转换函数优选为对应匹配的转换函数, 这样才能保证 S23 确定出来的数字是正确的, 才能保证后续步骤 S24拼接出来的客户端脚本是正确的。  The conversion function in step S11 and step S23 is preferably a corresponding matching conversion function, so as to ensure that the number determined by S23 is correct, so as to ensure that the client script stitched out in the subsequent step S24 is correct.
上述对应关系、 对应规则、 数字转换函数, 可以由服务器和客户端预先协商好, 保持 匹配, 这样才能保证后续步骤 S25拼接出来的客户端脚本是正确的。  The above correspondence, corresponding rules, and number conversion functions can be pre-negotiated by the server and the client to maintain matching, so as to ensure that the client scripts spliced in the subsequent step S25 are correct.
在 S24中、 依序拼接转换而成的字符, 形成客户端可执行的客户端脚本。  In S24, the converted characters are sequentially spliced to form a client-side executable client script.
至此, 完成了客户端脚本的解密处理流程。  At this point, the decryption process of the client script is completed.
需要说明的是,本公开实施例提供的上述客户端脚本的加密处理方法和解密处理方法 的执行主体可以是服务器, 也可以是客户端, 还可以是其它设备, 本公开实施例对执行主 体并不限制。  It should be noted that the execution body of the encryption processing method and the decryption processing method of the foregoing client script provided by the embodiment of the present disclosure may be a server, a client, or another device, and the embodiment of the present disclosure is not limited.
本公开实施例提供的上述客户端脚本的加密处理方法和解密处理方法,将客户端脚本 压缩进一图片, 使得客户端脚本不能通过一般的手段被查看(例如浏览器自带的代码查看 工具等), 提高了客户端脚本的安全性, 保护更完善; 并且, 对代码开发人员的要求较低, 不需像目前的脚本混淆技术那样要求代码开发人员严格遵循代码的语法规范,开发难度较 低。  The encryption processing method and the decryption processing method of the above client script provided by the embodiment of the present disclosure compress the client script into a picture, so that the client script cannot be viewed by a general means (for example, a code viewing tool provided by the browser, etc.) ), the security of the client script is improved, the protection is more perfect; and the requirements for the code developer are lower, and it is not necessary to require the code developer to strictly follow the syntax specification of the code as the current script obfuscation technique, and the development difficulty is low. .
下面以一具体实施例来说明本公开实施例提供的技术方案。  The technical solutions provided by the embodiments of the present disclosure are described below in a specific embodiment.
本实施例适用于各个移动或者非移动平台下(包括 ios,android, mac,pc等)支持 Canvas 绘图技术的浏览器。 服务器和客户端预先协商一致, 将上述对应关系规定为: 客户端脚本 中每连续三个字符各自对应的 ASCII码, 依序对应图片中对应像素的 R分量、 G分量、 B 如图 3所示, 本实施例的流程如下所述: This embodiment is applicable to browsers that support Canvas drawing technology under various mobile or non-mobile platforms (including ios, android, mac, pc, etc.). The server and the client are pre-negotiated, and the above correspondence is defined as: Client script The ASCII code corresponding to each of the three consecutive characters is sequentially corresponding to the R component, the G component, and the B of the corresponding pixel in the picture. As shown in FIG. 3, the flow of this embodiment is as follows:
在 S31中, 客户端向服务器端发送网页请求, 请求客户端脚本。  In S31, the client sends a webpage request to the server to request a client script.
在 S32中,服务器接收到客户端发送来的网页请求后, 利用服务器语言的 ASCII码转 换函数, 将客户端脚本中的每个字符转换为对应的 ASCII码。  In S32, after receiving the webpage request sent by the client, the server converts each character in the client script into a corresponding ASCII code by using an ASCII code conversion function of the server language.
比如, 服务器语言的 ASCII码转换函数可以为 Java中使用的 charCodeAt函数。  For example, the ASCII code conversion function of the server language can be the charCodeAt function used in Java.
在 S33中,服务器将客户端脚本中每连续三个字符各自对应的 ASCII码依序作为对应 像素的 R分量值、 G分量值、 B分量值, 将所有像素的 Alpha通道都取值为 0, 生成一图 片。  In S33, the server sequentially takes the ASCII code corresponding to each successive three characters in the client script as the R component value, the G component value, and the B component value of the corresponding pixel, and takes the alpha channel of all pixels to 0. Generate a picture.
这样可以保证 Canva绘制图片时取到的颜色值是正确的。  This will ensure that the color values that Canva gets when drawing the image are correct.
在 S34中, 服务器将生成的图片发送给客户端。  In S34, the server sends the generated picture to the client.
在 S35中, 客户端接收到图片后, 使用 Canvas的图片重绘接口, 将图片数据绘制在 Canvas上, 使用 Canvas提供的 getlmageData接口获取图片中每个像素点的 R分量值、 G 分量值、 B分量值。  In S35, after receiving the image, the client uses the Canvas image redraw interface to draw the image data on the Canvas, and uses the getlmageData interface provided by the Canvas to obtain the R component value, the G component value, and B of each pixel in the image. Component value.
在 S36中, 客户端利用客户端脚本的 ASCII码转换函数, 将每个像素点的 R分量值、 G分量值、 B分量值转换为 ASCII码, 从而得到客户端脚本中每个字符各自对应的 ASCII 码。  In S36, the client converts the R component value, the G component value, and the B component value of each pixel into an ASCII code by using an ASCII code conversion function of the client script, thereby obtaining each character corresponding to each character in the client script. ASCII code.
比如, 客户端脚本的 ASCII码转换函数可以为 Javascript中使用的 fromCharCodeJava 函数。  For example, the ASCII code conversion function of the client script can be the fromCharCodeJava function used in Javascript.
在 S37中,客户端依序拼接每个字符各自对应的 ASCII码,得到客户端可运行的客户 端脚本。  In S37, the client sequentially splices the corresponding ASCII code of each character to obtain a client-side script that the client can run.
在 S38中, 客户端运行该客户端脚本, 使用户看到请求的网页内容。  In S38, the client runs the client script to enable the user to see the requested web page content.
可见, 本实施例将客户端脚本压缩进一图片, 使得客户端脚本不能通过一般的手段被 查看 (例如浏览器自带的代码查看工具等) , 提高了客户端脚本的安全性, 保护更完善; 并且, 对代码开发人员的要求较低, 不需像目前的脚本混淆技术那样要求代码开发人员严 格遵循代码的语法规范, 开发难度较低。  It can be seen that, in this embodiment, the client script is compressed into a picture, so that the client script cannot be viewed by a general means (for example, a code viewing tool provided by the browser), thereby improving the security of the client script and improving the protection. Moreover, the requirements for code developers are lower, and it is not necessary to require code developers to strictly follow the syntax of the code as the current script obfuscation technique is, and the development is less difficult.
上述 charCodeAt函数是严格遵循 ASCII码转换规则的函数, 完整的转换表和规则如 The above charCodeAt function is a function that strictly follows the ASCII conversion rules, complete conversion tables and rules such as
F表 1所示: F Table 1 shows:
八进制 十六进制 十进制 字符 八进制 十六进制 十进制 字符  Octade hexadecimal character octal hexadecimal decimal character
00 00 0 nul 100 40 64 @ 00 00 0 nul 100 40 64 @
01 01 1 soh 101 41 65 A01 01 1 soh 101 41 65 A
02 02 2 stx 102 42 66 B02 02 2 stx 102 42 66 B
03 03 3 etx 103 43 67 C03 03 3 etx 103 43 67 C
04 04 4 eot 104 44 68 D 6 04 04 4 eot 104 44 68 D 6
Figure imgf000011_0001
00T60/C10ZN3/X3d 47 27 39 147 67 103 g
Figure imgf000011_0001
00T60/C10ZN3/X3d 47 27 39 147 67 103 g
50 28 40 ( 150 68 104 h50 28 40 ( 150 68 104 h
51 29 41 ) 151 69 105 i51 29 41 ) 151 69 105 i
52 2a 42 152 6a 106 j52 2a 42 152 6a 106 j
53 2b 43 + 153 6b 107 k53 2b 43 + 153 6b 107 k
54 2c 44 154 6c 108 154 2c 44 154 6c 108 1
55 2d 45 - 155 6d 109 m55 2d 45 - 155 6d 109 m
56 2e 46 156 6e 110 n56 2e 46 156 6e 110 n
57 2f 47 1 157 6f 111 o 57 2f 47 1 157 6f 111 o
60 30 48 0 160 70 112 P 60 30 48 0 160 70 112 P
61 31 49 1 161 71 113 q61 31 49 1 161 71 113 q
62 32 50 2 162 72 114 r62 32 50 2 162 72 114 r
63 33 51 3 163 73 115 s63 33 51 3 163 73 115 s
64 34 52 4 164 74 116 t64 34 52 4 164 74 116 t
65 35 53 5 165 75 117 u 65 35 53 5 165 75 117 u
66 36 54 6 166 76 118 V 66 36 54 6 166 76 118 V
67 37 55 7 167 77 119 w67 37 55 7 167 77 119 w
70 38 56 8 170 78 120 X70 38 56 8 170 78 120 X
71 39 57 9 171 79 121 y71 39 57 9 171 79 121 y
72 3a 58 172 7a 122 z72 3a 58 172 7a 122 z
73 3b 59 173 7b 123 {73 3b 59 173 7b 123 {
74 3c 60 < 174 7c 124 174 3c 60 < 174 7c 124 1
75 3d 61 = 175 7d 125 }75 3d 61 = 175 7d 125 }
76 3e 62 > 176 7e 126 76 3e 62 > 176 7e 126
77 3f 63 177 7f 127 del  77 3f 63 177 7f 127 del
表 1  Table 1
如图 4所示, 对应本公开实施例提供的客户端脚本的加密处理方法, 本公开实施例还 提供了一种客户端脚本的加密处理装置, 包括:  As shown in FIG. 4, in accordance with the encryption processing method of the client script provided by the embodiment of the present disclosure, the embodiment of the present disclosure further provides a client-side script encryption processing apparatus, including:
转换模块 41,用于按照数字与字符的对应规则,将客户端脚本中的每个字符转换为对 应的数字, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每个字符各自对应 的数字不相同;  The conversion module 41 is configured to convert each character in the client script into a corresponding number according to a correspondence rule of numbers and characters, wherein each character corresponding to each character is an integer in a range of [0, 255], and each The characters corresponding to the characters are not the same;
生成模块 42, 用于根据客户端脚本中每个字符对应的数字与图片中像素的 RGBA分 量的对应关系, 将每个字符对应的数字作为图片中对应像素的对应分量值, 生成一图片。  The generating module 42 is configured to generate a picture according to the corresponding relationship between the number corresponding to each character in the client script and the RGBA component of the pixel in the picture, and the number corresponding to each character as the corresponding component value of the corresponding pixel in the picture.
在一个实施例中, 上述转换模块可包括: 转换子模块, 用于利用服务器语言的 ASCII码转换函数, 将客户端脚本中的每个字符 转换为对应的 ASCII码。 In an embodiment, the foregoing conversion module may include: The conversion submodule is configured to convert each character in the client script into a corresponding ASCII code by using an ASCII code conversion function of the server language.
如图 5所示, 在一个实施例中, 上述加密处理装置还可包括以下存储模块 51、发送模 块 52中的任一个模块或两个模块:  As shown in FIG. 5, in an embodiment, the foregoing encryption processing apparatus may further include any one of the following storage modules 51, the transmission module 52, or two modules:
存储模块 51, 用于存储客户端脚本中每个字符对应的数字与图片中像素的 RGB分量 的对应关系, 包括: 客户端脚本中每连续三个字符各自对应的数字, 依序对应图片中对应 像素的 R分量、 G分量、 B分量; 或者客户端脚本中的每个字符各自对应的数字, 分别与 图片中的对应像素的 R分量、 G分量、 B分量或者 Alpha通道分量对应;  The storage module 51 is configured to store a correspondence between a number corresponding to each character in the client script and an RGB component of the pixel in the image, including: a number corresponding to each consecutive three characters in the client script, and correspondingly corresponding to the image The R component, the G component, and the B component of the pixel; or the respective numbers corresponding to each character in the client script, respectively corresponding to the R component, the G component, the B component, or the Alpha channel component of the corresponding pixel in the picture;
发送模块 52, 用于在生成模块 42生成图片之后, 将图片发送给客户端。  The sending module 52 is configured to send the image to the client after the generating module 42 generates the image.
如图 6所示, 对应本公开实施例提供的客户端脚本的解密处理方法, 本公开实施例提 供了一种客户端脚本的解密处理装置, 包括:  As shown in FIG. 6, the decryption processing method of the client script provided by the embodiment of the present disclosure, the embodiment of the present disclosure provides a decryption processing apparatus for the client script, including:
获取模块 61, 用于获取图片中像素的 RGBA分量值;  The obtaining module 61 is configured to obtain an RGBA component value of a pixel in the picture;
确定模块 62,用于根据客户端脚本中每个字符各自对应的数字与图片中像素的 RGBA 分量的对应关系, 确定客户端脚本中每个字符各自对应的数字;  a determining module 62, configured to determine, according to a correspondence between a number corresponding to each character in the client script and an RGBA component of the pixel in the image, a number corresponding to each character in the client script;
转换模块 63,用于按照数字与字符的对应规则,将客户端脚本中每个字符各自对应的 数字转换为对应的字符, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每个 字符各自对应的数字不相同;  The conversion module 63 is configured to convert, according to a correspondence rule of numbers and characters, a number corresponding to each character in the client script into a corresponding character, where a number corresponding to each character is an integer in a range of [0, 255], And each character has a different number;
拼接模块 64, 用于依序拼接转换而成的字符, 形成客户端可执行的客户端脚本。 在一个实施例中, 转换模块可包括:  The splicing module 64 is configured to sequentially splicing the converted characters to form a client-side executable client script. In one embodiment, the conversion module can include:
转换子模块, 用于利用客户端脚本的 ASCII码转换函数, 将客户端脚本中每个字符各 自对应的 ASCII码转换为对应的字符。  The conversion submodule is configured to convert the corresponding ASCII code of each character in the client script into a corresponding character by using an ASCII code conversion function of the client script.
如图 7所示, 在一个实施例中, 上述解密处理装置还可包括以下存储模块 71、接收模 块 72中的任一个模块或两个模块:  As shown in FIG. 7, in one embodiment, the above decryption processing apparatus may further include any one of the following storage modules 71, the receiving module 72, or two modules:
存储模块 71, 用于存储客户端脚本中每个字符对应的数字与图片中像素的 RGB分量 的对应关系, 包括: 客户端脚本中每连续三个字符各自对应的数字, 依序对应图片中对应 像素的 R分量、 G分量、 B分量; 或者客户端脚本中的每个字符各自对应的数字, 分别与 图片中的对应像素的 R分量、 G分量、 B分量或者 Alpha通道分量对应;  The storage module 71 is configured to store a correspondence between a number corresponding to each character in the client script and an RGB component of the pixel in the image, and includes: a number corresponding to each consecutive three characters in the client script, and correspondingly corresponding to the image The R component, the G component, and the B component of the pixel; or the respective numbers corresponding to each character in the client script, respectively corresponding to the R component, the G component, the B component, or the Alpha channel component of the corresponding pixel in the picture;
接收模块 72, 用于在获取模块 61获取图片中像素的 RGBA分量值之前, 接收服务器 发送的上述图片。  The receiving module 72 is configured to receive the foregoing picture sent by the server before the obtaining module 61 acquires the RGBA component value of the pixel in the picture.
本领域内的技术人员应明白, 本公开的实施例可提供为方法、 系统、 或计算机程序产 品。 因此, 本公开可采用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实 施例的形式。而且, 本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机 可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形 式。  Those skilled in the art will appreciate that embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
本公开是参照根据本公开实施例的方法、 设备 (系统) 、 和计算机程序产品的流程图 和 I或方框图来描述的。应理解可由计算机程序指令实现流程图和 I或方框图中的每一流 程和 /或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机 程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器 以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用 于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。 The present disclosure is directed to a flowchart of a method, apparatus (system), and computer program product according to an embodiment of the present disclosure. And I or block diagram to describe. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flow and/or blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品,该指令装置实现在流程图一个流程或多个流程和 I或方框图一个方框或多个 方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more flows of the flowchart or a block or blocks of the I or block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他 可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个 方框或多个方框中指定的功能的步骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和 范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内, 则本公开也意图包含这些改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the present disclosure without departing from the spirit and scope of the disclosure. Thus, it is intended that the present invention cover the modifications and the modifications

Claims

权利要求 Rights request
1、 一种客户端脚本的加密处理方法, 其特征在于, 包括: 1. An encryption processing method for client scripts, characterized by including:
按照数字与字符的对应规则, 将客户端脚本中的每个字符转换为对应的数字, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每个字符各自对应的数字不相同; 根据所述客户端脚本中每个字符对应的数字与图片中像素的红绿蓝 Alpha 通道 According to the corresponding rules between numbers and characters, convert each character in the client script into the corresponding number. The number corresponding to each character is an integer in the range [0,255], and the number corresponding to each character is not The same; according to the number corresponding to each character in the client script and the red, green and blue alpha channels of the pixels in the image
RGBA 分量的对应关系, 将所述每个字符对应的数字作为所述图片中对应像素的对应分 量值, 生成一图片。 According to the corresponding relationship between the RGBA components, the number corresponding to each character is used as the corresponding component value of the corresponding pixel in the picture to generate a picture.
2、 如权利要求 1所述的加密处理方法, 其特征在于, 2. The encryption processing method as claimed in claim 1, characterized in that,
所述数字为信息交换码; The numbers are information exchange codes;
所述按照数字与字符的对应规则,将客户端脚本中的每个字符转换为对应的数字,包 括: According to the corresponding rules between numbers and characters, each character in the client script is converted into the corresponding number, including:
利用服务器语言的信息交换码转换函数,将客户端脚本中的每个字符转换为对应的信 息交换码。 Use the information exchange code conversion function of the server language to convert each character in the client script into the corresponding information exchange code.
3、 如权利要求 1或 2所述的加密处理方法, 其特征在于, 所述客户端脚本中每个字 符对应的数字与图片中像素的 RGBA分量的对应关系, 包括: 3. The encryption processing method according to claim 1 or 2, characterized in that the corresponding relationship between the number corresponding to each character in the client script and the RGBA component of the pixel in the picture includes:
所述客户端脚本中每连续三个字符各自对应的数字,依序对应所述图片中对应像素的 R分量、 G分量、 B分量; 或者 The numbers corresponding to each three consecutive characters in the client script correspond in sequence to the R component, G component, and B component of the corresponding pixel in the picture; or
所述客户端脚本中的每个字符各自对应的数字, 分别与所述图片中的对应像素的 R 分量、 G分量、 B分量或者 Alpha通道分量对应。 The number corresponding to each character in the client script corresponds to the R component, G component, B component or Alpha channel component of the corresponding pixel in the picture.
4、 如权利要求 3所述的加密处理方法, 其特征在于, 当所述客户端脚本中每连续三 个字符各自对应的数字, 依序对应所述图片中对应像素的 R分量、 G分量、 B分量时, 所述图片的 Alpha通道值为 0。 4. The encryption processing method according to claim 3, characterized in that when the numbers corresponding to each three consecutive characters in the client script correspond to the R component, G component, and G component of the corresponding pixel in the picture in sequence, For the B component, the Alpha channel value of the picture is 0.
5、 如权利要求 1所述的加密处理方法, 其特征在于, 所述生成一图片之后, 所述处 理方法还包括: 5. The encryption processing method according to claim 1, wherein after generating a picture, the processing method further includes:
将所述图片发送给客户端。 Send said image to the client.
6、 一种客户端脚本的解密处理方法, 其特征在于, 包括: 6. A client script decryption processing method, characterized by including:
获取图片中像素的 RGBA分量值; Get the RGBA component value of the pixel in the picture;
根据客户端脚本中每个字符各自对应的数字与所述图片中像素的 RGBA分量的对应 关系, 确定所述客户端脚本中每个字符各自对应的数字; According to the corresponding relationship between the number corresponding to each character in the client script and the RGBA component of the pixel in the picture, determine the number corresponding to each character in the client script;
按照数字与字符的对应规则,将所述客户端脚本中每个字符各自对应的数字转换为对 应的字符, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每个字符各自对应 的数字不相同; According to the corresponding rules between numbers and characters, the numbers corresponding to each character in the client script are converted into corresponding characters, where the number corresponding to each character is an integer in the range [0,255], and each character The corresponding numbers are different;
依序拼接所述转换而成的字符, 形成客户端可执行的客户端脚本。 The converted characters are sequentially spliced to form a client script executable by the client.
7、 如权利要求 6所述的解密处理方法, 其特征在于, 7. The decryption processing method according to claim 6, characterized in that,
所述数字为信息交换码; 所述按照数字与字符的对应规则,将所述客户端脚本中每个字符各自对应的数字转换 为对应的字符, 包括: The numbers are information exchange codes; According to the corresponding rules between numbers and characters, the numbers corresponding to each character in the client script are converted into corresponding characters, including:
利用客户端脚本的信息交换码转换函数,将所述客户端脚本中每个字符各自对应的信 息交换码转换为对应的字符。 The information exchange code conversion function of the client script is used to convert the information exchange code corresponding to each character in the client script into the corresponding character.
8、 如权利要求 6或 7所述的解密处理方法, 其特征在于, 所述客户端脚本中每个字 符对应的数字与图片中像素的 RGBA分量的对应关系, 包括: 8. The decryption processing method according to claim 6 or 7, characterized in that the corresponding relationship between the number corresponding to each character in the client script and the RGBA component of the pixel in the picture includes:
所述客户端脚本中每连续三个字符各自对应的数字,依序对应所述图片中对应像素的 R分量、 G分量、 B分量; 或者 The numbers corresponding to each three consecutive characters in the client script correspond in sequence to the R component, G component, and B component of the corresponding pixel in the picture; or
所述客户端脚本中的每个字符各自对应的数字, 分别与所述图片中的对应像素的 R 分量、 G分量、 B分量或者 Alpha通道分量对应。 The number corresponding to each character in the client script corresponds to the R component, G component, B component or Alpha channel component of the corresponding pixel in the picture.
9、 如权利要求 6所述的解密处理方法, 其特征在于, 所述获取图片中像素的 RGBA 分量值之前, 所述处理方法还包括: 9. The decryption processing method according to claim 6, characterized in that, before obtaining the RGBA component value of the pixel in the picture, the processing method further includes:
接收服务器发送的所述图片。 Receive the picture sent by the server.
10、 一种客户端脚本的加密处理装置, 其特征在于, 包括: 10. An encryption processing device for client scripts, characterized in that it includes:
转换模块,用于按照数字与字符的对应规则,将客户端脚本中的每个字符转换为对应 的数字, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每个字符各自对应的 数字不相同; The conversion module is used to convert each character in the client script into the corresponding number according to the corresponding rules of numbers and characters. The number corresponding to each character is an integer in the range [0,255], and each character The corresponding numbers are different;
生成模块, 用于根据所述客户端脚本中每个字符对应的数字与图片中像素的 RGBA 分量的对应关系,将所述每个字符对应的数字作为所述图片中对应像素的对应分量值,生 成一图片。 A generation module configured to use the number corresponding to each character as the corresponding component value of the corresponding pixel in the picture based on the corresponding relationship between the number corresponding to each character in the client script and the RGBA component of the pixel in the picture, Generate an image.
11、 如权利要求 10所述的加密处理装置, 其特征在于, 所述转换模块包括: 转换子模块,用于利用服务器语言的信息交换码转换函数,将客户端脚本中的每个字 符转换为对应的信息交换码。 11. The encryption processing device according to claim 10, wherein the conversion module includes: a conversion sub-module for converting each character in the client script into The corresponding information exchange code.
12、 如权利要求 10所述的加密处理装置, 其特征在于, 所述加密处理装置还包括: 存储模块, 用于存储所述客户端脚本中每个字符对应的数字与图片中像素的 RGBA 分量的对应关系, 包括: 所述客户端脚本中每连续三个字符各自对应的数字, 依序对应所 述图片中对应像素的 R分量、 G分量、 B分量; 或者所述客户端脚本中的每个字符各自 对应的数字, 分别与所述图片中的对应像素的 R分量、 G分量、 B分量或者 Alpha通道分 量对应; 和 /或 12. The encryption processing device according to claim 10, characterized in that, the encryption processing device further includes: a storage module, used to store the numbers corresponding to each character in the client script and the RGBA components of the pixels in the picture. The corresponding relationship includes: the number corresponding to each three consecutive characters in the client script, which corresponds in sequence to the R component, G component, and B component of the corresponding pixel in the picture; or each character in the client script The numbers corresponding to each character respectively correspond to the R component, G component, B component or Alpha channel component of the corresponding pixel in the picture; and/or
发送模块, 用于在所述生成模块生成所述图片之后, 将所述图片发送给客户端。 A sending module, configured to send the picture to the client after the generating module generates the picture.
13、 一种客户端脚本的解密处理装置, 其特征在于, 包括: 13. A client-side script decryption processing device, characterized in that it includes:
获取模块, 用于获取图片中像素的 RGBA分量值; Obtain module, used to obtain the RGBA component value of the pixel in the picture;
确定模块, 用于根据客户端脚本中每个字符各自对应的数字与所述图片中像素的 RGBA分量的对应关系, 确定所述客户端脚本中每个字符各自对应的数字; A determination module configured to determine the number corresponding to each character in the client script based on the corresponding relationship between the number corresponding to each character in the client script and the RGBA component of the pixel in the picture;
转换模块,用于按照数字与字符的对应规则,将所述客户端脚本中每个字符各自对应 的数字转换为对应的字符, 其中, 每个字符各自对应的数字为 [0,255]范围内的整数, 且每 个字符各自对应的数字不相同; The conversion module is used to convert each character in the client script into a corresponding one according to the corresponding rules of numbers and characters. The numbers are converted into corresponding characters, where the number corresponding to each character is an integer in the range [0,255], and the number corresponding to each character is different;
拼接模块, 用于依序拼接所述转换而成的字符, 形成客户端可执行的客户端脚本。 The splicing module is used to splice the converted characters in sequence to form a client script executable by the client.
14、 如权利要求 13所述的解密处理装置, 其特征在于, 所述转换模块包括: 转换子模块,用于利用客户端脚本的信息交换码转换函数,将所述客户端脚本中每个 字符各自对应的信息交换码转换为对应的字符。 14. The decryption processing device according to claim 13, characterized in that the conversion module includes: a conversion sub-module for using the information exchange code conversion function of the client script to convert each character in the client script The corresponding information exchange codes are converted into corresponding characters.
15、 如权利要求 13所述的解密处理装置, 其特征在于, 所述解密处理装置还包括: 存储模块, 用于存储所述客户端脚本中每个字符对应的数字与图片中像素的 RGB分 量的对应关系, 包括: 所述客户端脚本中每连续三个字符各自对应的数字, 依序对应所述 图片中对应像素的 R分量、 G分量、 B分量; 或者所述客户端脚本中的每个字符各自对 应的数字, 分别与所述图片中的对应像素的 R分量、 G分量、 B分量或者 Alpha通道分量 对应; 和 /或 15. The decryption processing device according to claim 13, characterized in that, the decryption processing device further includes: a storage module, used to store the number corresponding to each character in the client script and the RGB components of the pixels in the picture. The corresponding relationship includes: the number corresponding to each three consecutive characters in the client script, which corresponds in sequence to the R component, G component, and B component of the corresponding pixel in the picture; or each character in the client script The numbers corresponding to each character respectively correspond to the R component, G component, B component or Alpha channel component of the corresponding pixel in the picture; and/or
接收模块, 用于在所述获取模块获取图片中像素的 RGBA分量值之前, 接收服务器 发送的所述图片。 A receiving module, configured to receive the picture sent by the server before the obtaining module obtains the RGBA component value of the pixel in the picture.
PCT/CN2013/091001 2013-04-28 2013-12-31 Encrypting method and device and decrypting method and device for client script WO2014176926A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310156278.3 2013-04-28
CN201310156278.3A CN103246830B (en) 2013-04-28 2013-04-28 The cipher processing method of client script and device and decipher processing method and device

Publications (1)

Publication Number Publication Date
WO2014176926A1 true WO2014176926A1 (en) 2014-11-06

Family

ID=48926345

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/091001 WO2014176926A1 (en) 2013-04-28 2013-12-31 Encrypting method and device and decrypting method and device for client script

Country Status (2)

Country Link
CN (1) CN103246830B (en)
WO (1) WO2014176926A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246830B (en) * 2013-04-28 2016-04-13 小米科技有限责任公司 The cipher processing method of client script and device and decipher processing method and device
CN105450662A (en) * 2015-12-25 2016-03-30 小米科技有限责任公司 Encryption method and device
CN108259563B (en) * 2017-12-12 2021-01-12 平安普惠企业管理有限公司 Data caching method, device, server and storage medium
CN108363911B (en) * 2018-02-11 2021-10-29 西安四叶草信息技术有限公司 Python script obfuscating and watermarking method and device
CN110321673A (en) * 2018-03-28 2019-10-11 北京京东尚科信息技术有限公司 Information ciphering method and device, information decryption method and device, security system
CN109271596A (en) * 2018-08-15 2019-01-25 深圳点猫科技有限公司 A kind of data cached method and electronic equipment based on education cloud platform
CN111368310B (en) * 2019-08-26 2023-05-02 杭州海康威视系统技术有限公司 Data encryption and decryption methods and devices, electronic equipment and storage medium
CN112632572A (en) * 2020-12-04 2021-04-09 中国农业银行股份有限公司深圳市分行 Method, device and storage medium for encrypting and decrypting commands in script

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030196169A1 (en) * 1999-11-03 2003-10-16 Erland Wittkotter Device and procedure for the protected output of an electronic document via a data transmission network
CN102289358A (en) * 2010-06-15 2011-12-21 埃森哲环球服务有限公司 A computer-implemented method, a computer program product and an embedded system for displaying data more efficiently
CN103246830A (en) * 2013-04-28 2013-08-14 北京小米科技有限责任公司 Encrypting processing method, encrypting processing device, deciphering processing method and deciphering processing device of client side scripting

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120204036A1 (en) * 1997-05-08 2012-08-09 Tecsec Encryption Scheme
JP2007159003A (en) * 2005-12-08 2007-06-21 Canon Inc Method, apparatus and medium for processing document
CN100478953C (en) * 2006-09-28 2009-04-15 北京理工大学 Static feature based web page malicious scenarios detection method
US8788809B2 (en) * 2009-04-27 2014-07-22 Qualcomm Incorporated Method and apparatus to create a secure web-browsing environment with privilege signing
CN101699426B (en) * 2009-11-06 2012-02-29 上海传知信息科技发展有限公司 Document format conversion system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030196169A1 (en) * 1999-11-03 2003-10-16 Erland Wittkotter Device and procedure for the protected output of an electronic document via a data transmission network
CN102289358A (en) * 2010-06-15 2011-12-21 埃森哲环球服务有限公司 A computer-implemented method, a computer program product and an embedded system for displaying data more efficiently
CN103246830A (en) * 2013-04-28 2013-08-14 北京小米科技有限责任公司 Encrypting processing method, encrypting processing device, deciphering processing method and deciphering processing device of client side scripting

Also Published As

Publication number Publication date
CN103246830A (en) 2013-08-14
CN103246830B (en) 2016-04-13

Similar Documents

Publication Publication Date Title
WO2014176926A1 (en) Encrypting method and device and decrypting method and device for client script
TWI598765B (en) Data protection methods and devices
US10516903B2 (en) Method and apparatus for transmitting video data
US8909933B2 (en) Decoupled cryptographic schemes using a visual channel
CN104517065B (en) It is used for transmission and stores the method for image, non-transient computer-readable media and be used for transmission equipment with storage file
WO2018223777A1 (en) Data exchange system, method, and device
JP2004274355A (en) Method for creating and processing soap message, method and apparatus for processing information, and program
US20180103050A1 (en) Authentication of client devices using modified images
BR112016015256B1 (en) METHOD, APPARATUS AND COMPUTER READABLE MEDIA FOR DECODING A HIGH DYNAMIC RANGE IMAGE - HDR - IN JPEG FORMAT, AND METHOD, APPARATUS AND COMPUTER READABLE MEDIA FOR ENCODING A HIGH DYNAMIC RANGE IMAGE - HDR - IN JPEG FORMAT
WO2016065824A1 (en) Terminal marking method and device
CN109474616B (en) Multi-platform data sharing method and device and computer readable storage medium
WO2018059033A1 (en) Verification method, server and system
CN106203141A (en) The data processing method of a kind of application and device
TWI634784B (en) Digital media content playing transfer method and application device thereof
WO2020181818A1 (en) Encryption and decryption method for electronic file and device
CN113114646B (en) Risk parameter determination method and device, electronic equipment and storage medium
US9530018B2 (en) Information processing apparatus, information processing system, and non-transitory computer readable medium for outputting encryption key on paper
WO2019019650A1 (en) Website data processing method and apparatus, website data processing platform and storage medium
CN110555175A (en) Two-dimensional code analyzing and generating method and equipment
CN111131270A (en) Data encryption and decryption method and device, electronic equipment and storage medium
US9699147B2 (en) Method for encrypting digital file
WO2016110204A1 (en) Processing of process object, and method and device for generating plug-in
CN113672954A (en) Feature extraction method and device and electronic equipment
CN112434327A (en) Information protection method and device and electronic equipment
WO2017130711A1 (en) Electronic signature management system

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: 13883460

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13883460

Country of ref document: EP

Kind code of ref document: A1