

技术领域technical field
本发明属于弹幕信息处理技术领域,尤其涉及一种保护弹幕信息的方法及客户端。The invention belongs to the technical field of bullet screen information processing, and in particular relates to a method and a client for protecting bullet screen information.
背景技术Background technique
目前,随着网络通信技术的进步和宽带网络的提速,网络直播得到了越来越多的发展和应用。At present, with the advancement of network communication technology and the acceleration of broadband networks, webcasting has been more and more developed and applied.
同时随着弹幕的发展,弹幕信息使得直播具有更好的互动和趣味性。而在直播平台中为了对用户分级增加平台的收入,会通过让用户充值来升级成高级用户,从而只让高级用户享受到某些特殊功能,比如只让高级用户看到某些特殊的弹幕信息,但是现有的弹幕系统发送的弹幕信息是对所有用户可见,导致普通用户也可以轻易获取到这些特殊弹幕信息,进而导致弹幕直播平台收益降低。At the same time, with the development of the bullet screen, the bullet screen information makes the live broadcast more interactive and interesting. In the live broadcast platform, in order to increase the income of the platform by grading users, users will be upgraded to advanced users by recharging, so that only advanced users can enjoy some special functions, such as allowing only advanced users to see some special bullet screens However, the bullet screen information sent by the existing bullet screen system is visible to all users, so that ordinary users can easily obtain these special bullet screen information, which in turn reduces the revenue of the bullet screen live broadcast platform.
基于此,本发明提供一种护弹幕信息的方法及客户端,以解决现有技术中的上述问题。Based on this, the present invention provides a method and a client for protecting bullet screen information to solve the above problems in the prior art.
发明内容SUMMARY OF THE INVENTION
针对现有技术存在的问题,本发明实施例提供了一种保护弹幕信息的方法及客户端,用于解决现有服务器发送的弹幕信息是对所有用户可见,导致普通用户也可以轻易获取到某些特殊弹幕信息,进而导致高级用户的数量减少,造成弹幕直播平台收益降低的技术问题。In view of the problems existing in the prior art, the embodiments of the present invention provide a method and a client for protecting bullet screen information, which are used to solve the problem that the bullet screen information sent by the existing server is visible to all users, so that ordinary users can also easily obtain it. Some special barrage information is received, which in turn leads to a decrease in the number of advanced users, resulting in technical problems that reduce the revenue of the barrage live broadcast platform.
本发明提供一种保护弹幕信息的方法,所述方法包括:The present invention provides a method for protecting bullet screen information, the method comprising:
客户端接收弹幕信息;The client receives the bullet screen information;
判断所述弹幕信息是否是特殊弹幕信息,若所述弹幕信息是所述特殊弹幕信息时,接收服务器发送的密钥信息;Determine whether the bullet screen information is special bullet screen information, and if the bullet screen information is the special bullet screen information, receive the key information sent by the server;
基于所述密钥信息利用解密算法对所述弹幕信息进行解密,获取所述弹幕信息的明文信息;其中,所述弹幕信息包括:文字信息、图像信息或音频信息。Decrypt the bullet screen information by using a decryption algorithm based on the key information to obtain plaintext information of the bullet screen information; wherein the bullet screen information includes text information, image information or audio information.
上述方案中,所述判断所述弹幕信息是否是特殊弹幕信息,包括:In the above solution, the judging whether the bullet screen information is special bullet screen information includes:
获取所述弹幕信息的加密标记位;Obtain the encrypted flag bit of the bullet screen information;
判断所述加密标记位是否为特殊弹幕信息的第一加密标记位,若所述加密标记位是所述第一加密标记位,则确定所述弹幕信息为所述特殊弹幕信息。It is judged whether the encrypted flag bit is the first encrypted flag bit of the special barrage information, and if the encrypted flag bit is the first encrypted flag bit, it is determined that the barrage information is the special barrage message.
上述方案中,所述利用解密算法对所述弹幕信息进行解密,包括:In the above solution, the use of a decryption algorithm to decrypt the bullet screen information includes:
利用解密算法TEA.decrypt(EncryptChatmessage,KEY)对所述弹幕信息进行解密;其中,所述Chatmessage为所述弹幕信息,所述KEY为所述密钥信息。Decrypt the bullet screen information by using the decryption algorithm TEA.decrypt(EncryptChatmessage, KEY); wherein, the Chatmessage is the bullet screen information, and the KEY is the key information.
上述方案中,所述利用解密算法对所述弹幕信息进行解密,还包括:In the above solution, the use of a decryption algorithm to decrypt the bullet screen information further includes:
根据所述密钥信息在所述特殊弹幕信息的密文信息中提取出附加信息;Extracting additional information from the ciphertext information of the special bullet screen information according to the key information;
将所述密钥信息与所述附加信息进行组合形成一组合密钥;combining the key information and the additional information to form a combined key;
利用所述组合密钥将所述密文信息转换成相应的明文信息。The ciphertext information is converted into corresponding plaintext information by using the combined key.
上述方案中,所述根据所述密钥信息在所述密文信息中提取出附加信息,包括:In the above solution, the additional information extracted from the ciphertext information according to the key information includes:
基于所述密钥信息确定出所述附加信息在所述密文信息中的插入位置;determining the insertion position of the additional information in the ciphertext information based on the key information;
在所述密文信息的所述插入位置提取出所述附加信息。The additional information is extracted at the insertion position of the ciphertext information.
上述方案中,所述基于所述密钥信息确定出所述附加信息在所述密文信息中的插入位置,包括:In the above solution, determining the insertion position of the additional information in the ciphertext information based on the key information includes:
确定所述密钥信息的参照位;determining the reference bit of the key information;
获取所述密钥信息参照位的字符;Obtain the character of the key information reference bit;
按照预设的第一转换规则将所述字符转换为一数值;Convert the character into a numerical value according to a preset first conversion rule;
基于所述数值确定出所述插入位置。The insertion position is determined based on the numerical value.
上述方案中,所述根据所述密钥信息在所述密文信息中提取出附加信息,还包括:In the above solution, the extracting additional information from the ciphertext information according to the key information further includes:
确定所述密钥信息的长度信息;determining the length information of the key information;
基于所述密钥信息的长度信息确定出所述附加信息的长度信息;determining the length information of the additional information based on the length information of the key information;
在所述密文信息中基于所述长度信息提取出所述附加信息。The additional information is extracted from the ciphertext information based on the length information.
上述方案中,所述利用解密算法对所述弹幕信息进行解密,还包括:In the above solution, the use of a decryption algorithm to decrypt the bullet screen information further includes:
接收图像信息,从所述图像信息中读取至少一组颜色值,所述图像为对明文信息进行加密的加密结果;receiving image information, and reading at least one set of color values from the image information, where the image is an encryption result of encrypting plaintext information;
根据第二转换规则将所述至少一组颜色值转换为数字信息;converting the at least one set of color values into digital information according to a second conversion rule;
将所述数字信息转换为字符编码;converting the digital information into character encoding;
将所述字符编码转换所述明文信息。Convert the character encoding to the plaintext information.
上述方案中,所述利用解密算法对所述弹幕信息进行解密,还包括:In the above solution, the use of a decryption algorithm to decrypt the bullet screen information further includes:
接收音频信息,从所述音频信息中读取至少一种音频码,所述音频为对明文信息进行加密的加密结果;Receive audio information, read at least one audio code from the audio information, and the audio is an encryption result of encrypting plaintext information;
根据第三转换规则将所述至少一组音频码转换为明文信息。The at least one set of audio codes is converted into plaintext information according to a third conversion rule.
本发明还提供一种客户端,所述客户端包括:The present invention also provides a client, the client comprising:
接收单元,用于接收弹幕信息;The receiving unit is used to receive the bullet screen information;
判断单元,用于判断所述弹幕信息是否是特殊弹幕信息,若所述弹幕信息是所述特殊弹幕信息时,接收服务器发送的密钥信息;a judgment unit, configured to judge whether the bullet screen information is special bullet screen information, and if the bullet screen information is the special bullet screen information, receive the key information sent by the server;
解密单元,用于基于所述密钥信息利用解密算法对所述弹幕信息进行解密,获取所述弹幕信息的明文信息;其中,所述弹幕信息包括:文字信息、图像信息或音频信息。A decryption unit, configured to decrypt the bullet screen information with a decryption algorithm based on the key information, and obtain plaintext information of the bullet screen information; wherein the bullet screen information includes: text information, image information or audio information .
本发明提供了一种保护弹幕信息的方法及客户端,所述方法包括:客户端接收弹幕信息;判断所述弹幕信息是否是特殊弹幕信息,若所述弹幕信息是所述特殊弹幕信息时,接收密钥信息;基于所述密钥信息利用解密算法对所述弹幕信息进行解密,获取所述弹幕信息的明文信息;其中,所述弹幕信息包括:文字信息、图像信息或音频信息。如此,即使普通用户对应的客户端接收到特殊弹幕信息,也会因接收不到密钥信息不能对特殊弹幕信息进行解密,从而也获取不到特殊弹幕信息的明文信息;这样就可以进一步增加高级用户的数量,从而增加了直播平台的收益。The present invention provides a method and a client for protecting bullet screen information. The method includes: the client receiving the bullet screen information; and judging whether the bullet screen information is special bullet screen information, and if the bullet screen information is the When there is special bullet screen information, receive key information; use a decryption algorithm to decrypt the bullet screen information based on the key information to obtain plaintext information of the bullet screen information; wherein the bullet screen information includes: text information , image information or audio information. In this way, even if the client corresponding to an ordinary user receives the special bullet screen information, it will not be able to decrypt the special bullet screen information because it cannot receive the key information, and thus cannot obtain the plaintext information of the special bullet screen information; Further increase the number of premium users, thereby increasing the revenue of the live broadcast platform.
附图说明Description of drawings
图1为本发明实施例一提供的保护弹幕信息的方法流程示意图;1 is a schematic flowchart of a method for protecting bullet screen information according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的客户端的整体结构示意图。FIG. 2 is a schematic diagram of an overall structure of a client according to Embodiment 2 of the present invention.
具体实施方式Detailed ways
为了解决现有服务器发送的弹幕信息是对所有用户可见,导致普通用户也可以轻易获取到某些特殊弹幕信息,进而导致高级用户的数量减少,造成弹幕直播平台收益降低的技术问题,本发明提供了一种客户端接收弹幕信息;判断所述弹幕信息是否是特殊弹幕信息,若所述弹幕信息是所述特殊弹幕信息时,接收密钥信息;基于所述密钥信息利用解密算法对所述弹幕信息进行解密,获取所述弹幕信息的明文信息;其中,所述弹幕信息包括:文字信息、图像信息或音频信息。In order to solve the technical problem that the bullet screen information sent by the existing server is visible to all users, so that ordinary users can easily obtain some special bullet screen information, which in turn reduces the number of advanced users and reduces the revenue of the bullet screen live broadcast platform. The present invention provides a client that receives bullet screen information; judges whether the bullet screen information is special bullet screen information, and if the bullet screen information is the special bullet screen information, receives key information; The key information decrypts the bullet screen information using a decryption algorithm to obtain plaintext information of the bullet screen information; wherein the bullet screen information includes: text information, image information or audio information.
下面通过附图及具体实施例对本发明的技术方案做进一步的详细说明。The technical solutions of the present invention will be further described in detail below through the accompanying drawings and specific embodiments.
实施例一Example 1
本实施例提供一种保护弹幕信息的方法及客户端,为了降低现有弹幕系统的改造成本,该方法是基于现有的弹幕系统进行设计的,所述方法应用于客户端侧,如图1所示,所述方法包括:This embodiment provides a method and client for protecting bullet screen information. In order to reduce the transformation cost of the existing bullet screen system, the method is designed based on the existing bullet screen system, and the method is applied to the client side, As shown in Figure 1, the method includes:
S101,客户端接收弹幕信息。S101, the client receives the bullet screen information.
本步骤中,客户端在显示弹幕信息之前,首先需要接收到弹幕信息,所述弹幕信息包括:普通弹幕信息及特殊弹幕信息;一般来说,所述特殊弹幕信息只想让高级用户看到,不想让普通用户看到。比如,所述弹幕信息包括:文字信息、图像信息或音频信息;所述特殊弹幕信息可以包括:优惠信息、高级用户之间的聊天信息等。In this step, before displaying the bullet screen information, the client first needs to receive the bullet screen information, and the bullet screen information includes: ordinary bullet screen information and special bullet screen information; For advanced users to see, do not want ordinary users to see. For example, the bullet screen information includes: text information, image information or audio information; the special bullet screen information may include: discount information, chat information between advanced users, and the like.
S102,判断所述弹幕信息是否是特殊弹幕信息,若所述弹幕信息是所述特殊弹幕信息时,接收密钥信息。S102: Determine whether the bullet screen information is special bullet screen information, and if the bullet screen information is the special bullet screen information, receive key information.
本步骤中,当客户端接收到弹幕信息后,判断所述弹幕信息是否是特殊弹幕信息,若是普通弹幕信息直接就可以显示,若是特殊弹幕信息,则还需要接收服务器下发的密钥信息。当然,本实施例中只有高级用户的客户端才能接收到密钥信息,而对于普通用户来说,服务器是不会对其下发密钥信息的,因此即使普通用户对应的客户端接收到特殊弹幕信息,也会因没有密钥信息不能对特殊弹幕信息进行解密。这里,服务器是基于用户标记来区分高级用户和普通用户的,比如:所述高级用户的用户标记可以为vip字段等。In this step, after the client receives the bullet screen information, it determines whether the bullet screen information is special bullet screen information. If it is ordinary bullet screen information, it can be displayed directly. If it is special bullet screen information, it needs to receive the information from the server. key information. Of course, in this embodiment, only the client of the advanced user can receive the key information, and for the ordinary user, the server will not deliver the key information to him, so even if the client corresponding to the ordinary user receives the special key information The bullet screen information will also be unable to decrypt the special bullet screen information because there is no key information. Here, the server distinguishes advanced users from ordinary users based on user tags. For example, the user tag of the advanced users may be a vip field or the like.
所述判断所述弹幕信息是否是特殊弹幕信息,包括:获取所述弹幕信息的标记位;判断所述加密标记位是否为特殊弹幕信息的第一标记位,若所述加密标记位是所述第一加密标记位,则确定所述弹幕信息为所述特殊弹幕信息。这里,所述第一加密标记位可以包括服务器与客户端约定的字母、数字等,本实施例中的第一加密标记位为数字“1”。所述第一加密标记位可以位于特殊弹幕信息的首位字符后或末位字符后,或者可以是其他约定的字符后。The judging whether the bullet screen information is special bullet screen information includes: acquiring a marker bit of the bullet screen information; judging whether the encrypted marker bit is the first marker bit of the special bullet screen information, if the encrypted marker bit is the first marker bit of the special bullet screen information bit is the first encryption flag bit, then it is determined that the bullet screen information is the special bullet screen information. Here, the first encryption flag bit may include letters, numbers, etc. agreed upon between the server and the client, and the first encryption flag bit in this embodiment is a number "1". The first encryption flag bit may be located after the first character or the last character of the special bullet screen information, or may be after other agreed characters.
若所述加密标记位是第二加密标记位,则确定所述弹幕信息为所述普通弹幕信息,可以直接显示。同样的,所述第二加密标记位可以包括服务器与客户端约定的字母、数字等,本实施例中的第二加密标记位为数字“0”。所述第二加密标记位可以位于普通弹幕信息的首位字符后或末位字符后,或者可以是其他约定的字符后。If the encryption flag bit is the second encryption flag bit, it is determined that the bullet screen information is the common bullet screen information, which can be directly displayed. Similarly, the second encryption flag bit may include letters, numbers, etc. agreed upon between the server and the client, and the second encryption flag bit in this embodiment is a number "0". The second encrypted flag bit may be located after the first character or the last character of the common bullet screen information, or may be after other agreed characters.
S103,基于所述密钥信息利用解密算法对所述弹幕信息进行解密,获取所述弹幕信息的明文信息。S103: Decrypt the bullet screen information by using a decryption algorithm based on the key information, and obtain plaintext information of the bullet screen information.
本步骤中,当接收到密钥信息后,可以基于所述密钥信息利用解密算法对所述弹幕信息进行解密,获取所述弹幕信息的明文信息。In this step, after receiving the key information, a decryption algorithm may be used to decrypt the bullet screen information based on the key information to obtain plaintext information of the bullet screen information.
具体地,因服务器中的加密算法可能包括多种,比如:TEA加密算法、AES加密算法及RSA加密算法;当然,加密算法也可以是其他的一些加密算法。所述特殊弹幕信息也可以包括多种形式的信息,比如:图片信息、文字信息、音频信息、视频信息等。Specifically, the encryption algorithm in the server may include multiple types, such as: TEA encryption algorithm, AES encryption algorithm and RSA encryption algorithm; of course, the encryption algorithm may also be some other encryption algorithms. The special bullet screen information may also include various forms of information, such as: picture information, text information, audio information, video information, and the like.
当弹幕信息为文字信息且加密算法是TEA加密算法时,基于所述密钥信息利用解密算法对所述弹幕信息进行解密,包括:When the bullet screen information is text information and the encryption algorithm is the TEA encryption algorithm, use a decryption algorithm to decrypt the bullet screen information based on the key information, including:
利用解密算法TEA.decrypt(EncryptChatmessage,KEY)对所述弹幕信息进行解密;具体程序实现如下:Use the decryption algorithm TEA.decrypt(EncryptChatmessage, KEY) to decrypt the bullet screen information; the specific program is implemented as follows:
Chatmessage=TEA.decrypt(EncryptChatmessage,KEY);Chatmessage=TEA.decrypt(EncryptChatmessage,KEY);
其中,所述Chatmessage为所述解密后的弹幕信息,所述KEY为接收到的密钥信息;所述decrypt接口是TEA算法的解密接口。Wherein, the Chatmessage is the decrypted bullet screen information, the KEY is the received key information, and the decrypt interface is the decryption interface of the TEA algorithm.
当加密算法是AES加密算法时,基于所述密钥信息利用解密算法对所述弹幕信息进行解密,包括:When the encryption algorithm is the AES encryption algorithm, use the decryption algorithm to decrypt the bullet screen information based on the key information, including:
利用解密算法AES.decrypt(EncryptChatmessage,KEY)对所述弹幕信息进行解密;具体程序实现如下:Use the decryption algorithm AES.decrypt (EncryptChatmessage, KEY) to decrypt the bullet screen information; the specific program is implemented as follows:
Chatmessage=AES.decrypt(EncryptChatmessage,KEY);Chatmessage=AES.decrypt(EncryptChatmessage,KEY);
其中,所述Chatmessage为所述解密后的弹幕信息,所述KEY为接收到的密钥信息;此时所述decrypt接口是AES算法的解密接口。Wherein, the Chatmessage is the decrypted bullet screen information, and the KEY is the received key information; at this time, the decrypt interface is the decryption interface of the AES algorithm.
当加密算法是RSA加密算法时,基于所述密钥信息利用解密算法对所述弹幕信息进行解密,包括:When the encryption algorithm is the RSA encryption algorithm, use the decryption algorithm to decrypt the bullet screen information based on the key information, including:
利用解密算法RSA.decrypt(EncryptChatmessage,KEY)对所述弹幕信息进行解密;具体程序实现如下:Use the decryption algorithm RSA.decrypt(EncryptChatmessage, KEY) to decrypt the bullet screen information; the specific program is implemented as follows:
Chatmessage=RSA.decrypt(EncryptChatmessage,KEY);Chatmessage=RSA.decrypt(EncryptChatmessage,KEY);
其中,所述Chatmessage为所述解密后的弹幕信息,所述KEY为接收到的密钥信息;此时所述decrypt接口是RSA算法的解密接口。Wherein, the Chatmessage is the decrypted bullet screen information, and the KEY is the received key information; at this time, the decrypt interface is the decryption interface of the RSA algorithm.
这里,当加密算法为预设的其他加密算法时,基于所述密钥信息利用解密算法对所述弹幕信息进行解密,还包括:Here, when the encryption algorithm is another preset encryption algorithm, using the decryption algorithm to decrypt the bullet screen information based on the key information, further including:
当接收到密钥信息后,判断出密钥的长度信息,并根据所述密钥在所述密文信息中提取出附加信息,具体包括:基于所述密钥确定出所述附加信息在所述密文信息中的插入位置,根据密钥的长度信息确定附加信息的长度信息;在所述密文信息的所述插入位置基于所述长度信息提取出所述附加信息。其中,所述附加信息的长度可以为密钥长度的2~3倍,且附加信息的字符可以包括:数字或字母。After receiving the key information, determine the length information of the key, and extract additional information from the ciphertext information according to the key, which specifically includes: determining, based on the key, where the additional information is stored in the The insertion position in the ciphertext information, and the length information of the additional information is determined according to the length information of the key; the additional information is extracted based on the length information at the insertion position of the ciphertext information. The length of the additional information may be 2 to 3 times the length of the key, and the characters of the additional information may include numbers or letters.
基于所述密钥确定出所述附加信息在所述密文信息中的插入位置,包括:确定所述密钥的参照位;获取所述密钥参照位的字符;按照预设的第一转换规则将所述字符转换为一数值;基于所述数值确定出所述插入位置。Determining the insertion position of the additional information in the ciphertext information based on the key includes: determining the reference bit of the key; obtaining the character of the reference bit of the key; converting according to a preset first A rule converts the character to a numerical value; the insertion position is determined based on the numerical value.
其中,预设的第一转换规则为将所述可以包括多种:比如将字符与十进制数值对应转换,将字符与ASCII码值进行对应转换。Wherein, the preset first conversion rule is that the description may include multiple types: for example, the characters are converted correspondingly to decimal values, and the characters are correspondingly converted to ASCII code values.
当将字符与ASCII码值进行对应转换时,接收到密钥后,然后获取密钥参照位的字符,确定所述字符对应的十进制ASCII码值,以此值作为参照值在密文中寻找附加信息字符所在的位置。寻找到该位置后,将附加信息字符从密文信息中提取出来。这里,所述密钥的参照位可以为密钥中的任一位,比如首位或末位;当以密钥的末位设置为密钥的参照位,比如密钥为12345,那么参照位的字符就是“5”,再获取到“5”对应的ASCII码为“53”,然后将附加信息从密文信息中的第53个字符之后的位置提取出即可。When the character and the ASCII code value are correspondingly converted, after receiving the key, the character of the key reference bit is obtained, the decimal ASCII code value corresponding to the character is determined, and the value is used as the reference value to find additional information in the ciphertext The position of the character. After finding the position, the additional information characters are extracted from the ciphertext information. Here, the reference bit of the key can be any bit in the key, such as the first bit or the last bit; when the last bit of the key is set as the reference bit of the key, for example, the key is 12345, then the reference bit is The character is "5", and the ASCII code corresponding to "5" is "53", and then the additional information can be extracted from the position after the 53rd character in the ciphertext information.
将所述附加信息从密文信息中提取出之后,并判断该密文字符末尾是否有相应的文件类型,如果有,则新建一个该类型的文件以方便后期解密写入。如果没有,则默认新建一个文档文件来记录解密数据。After the additional information is extracted from the ciphertext information, it is judged whether there is a corresponding file type at the end of the ciphertext character, and if so, a new file of this type is created to facilitate later decryption and writing. If not, a new document file will be created by default to record the decrypted data.
然后,在得到密钥字符串和附加信息的字符串后,将两个字符串进行拼接,形成一组合密钥,并使用该组合密钥将密文信息转换为明文信息,这样就可以将加密的特殊弹幕信息转换为明文信息,然后将其显示在客户端的屏幕上。Then, after obtaining the key string and the string of additional information, the two strings are spliced to form a combined key, and the combined key is used to convert the ciphertext information into plaintext information, so that the encrypted The special barrage information is converted into plaintext information, and then displayed on the client's screen.
这里,当加密算法为预设的其他加密算法,且弹幕信息为图像信息时,基于所述密钥信息利用解密算法对所述弹幕信息进行解密,还包括:Here, when the encryption algorithm is another preset encryption algorithm, and the bullet screen information is image information, using a decryption algorithm to decrypt the bullet screen information based on the key information, further including:
从图像中读取至少一组颜色值,所述图像为对明文信息进行加密的加密结果;根据第二转换规则将所述至少一组颜色值转换为数字信息;将所述数字信息转换为字符编码;将所述字符编码转换所述明文信息。Read at least one set of color values from an image, which is an encryption result of encrypting plaintext information; convert the at least one set of color values into digital information according to a second conversion rule; convert the digital information into characters encoding; converting the character encoding into the plaintext information.
根据第二转换规则将相所述至少一组颜色值转换为数字信息,包括:Converting the at least one set of color values into digital information according to the second conversion rule includes:
确定每种颜色对应的最大阶层,根据公式A=(B*C+G)*C+R确定所述数字信息的数值A;其中,所述每种颜色对应的最大阶层相同,所述R为红色,所述G为绿色,所述B为蓝色,所述C为所述每种颜色对应的最大阶层。Determine the maximum level corresponding to each color, and determine the numerical value A of the digital information according to the formula A=(B*C+G)*C+R; wherein, the maximum level corresponding to each color is the same, and the R is Red, the G is green, the B is blue, and the C is the maximum level corresponding to each color.
当所述图像中混淆有混淆色块时,从所述图像中读取至少一组颜色值包括:接收混淆数值,根据所述混淆数值确定的随机生成的混淆色块的数量;基于混淆算法确定所述混淆色块在所述图像中的写入位置;确定写入所述颜色值的第一基准点;以所述第一基准点为起始位置遍历所述图像,在遍历过程中,基于所述混淆色块的数量及在所述混淆色块在所述图像中的写入位置跳过所述混淆色块,读取所述至少一组颜色值。When confusing color blocks are confused in the image, reading at least one set of color values from the image includes: receiving a confusion value, and determining the number of randomly generated confusion color blocks according to the confusion value; determining based on a confusion algorithm The writing position of the confused color block in the image; determining the first reference point for writing the color value; traversing the image with the first reference point as the starting position, and in the traversing process, based on The number of the confused color blocks and the written position of the confused color blocks in the image skip the confused color blocks, and read the at least one set of color values.
这里,当加密算法为预设的其他加密算法,且弹幕信息为音频信息时,基于所述密钥信息利用解密算法对所述弹幕信息进行解密,还包括:Here, when the encryption algorithm is another preset encryption algorithm, and the bullet screen information is audio information, using a decryption algorithm to decrypt the bullet screen information based on the key information, further including:
接收音频,从所述音频中读取至少一种音频码;根据第三转换规则将所述至少一组音频码转换为明文信息。receiving audio, and reading at least one audio code from the audio; converting the at least one group of audio codes into plaintext information according to a third conversion rule.
所述从音频中读取至少一种音频码,包括:读取音频数据,获取所述音频的频率队列;遍历所述频率队列,获取第一频率及第二频率;将所述第一频率转换为第一音频编码,将所述第二频率转换为第二音频编码;根据所述第一音频编码及所述第二音频编码确定相应的音频编码;将所述音频编码进行组合获取所述至少一组音频码。The reading at least one audio code from the audio includes: reading audio data to obtain a frequency queue of the audio; traversing the frequency queue to obtain a first frequency and a second frequency; converting the first frequency converting the second frequency into a second audio code for the first audio code; determining a corresponding audio code according to the first audio code and the second audio code; combining the audio codes to obtain the at least A set of audio codes.
所述读取音频数据,获取所述音频的频率队列,包括:建立一音频信息对象,在所述音频信息对象中设置一采样频率;基于所述采样频率采集所述音频数据,并将所述音频数据存储至一数组中;遍历所述数组,将所述数组中的每一项数据转换为相应的频率,形成频率队列。The reading audio data and acquiring the audio frequency queue include: establishing an audio information object, and setting a sampling frequency in the audio information object; collecting the audio data based on the sampling frequency, and storing the The audio data is stored in an array; the array is traversed, and each item of data in the array is converted into a corresponding frequency to form a frequency queue.
所述根据第三转换规则将所述至少一组音频码转换为明文信息包括;根据预设的提取规则,将所述音频码拆分为至少一组音频编码;确定每个数字对应的音频编码;基于所述每个数字对应的音频编码及每组音频编码,将所述音频编码转换为至少一组数字信息;将所述至少一组数字信息转换为字符编码;将所述字符编码转换为所述明文信息。The converting the at least one group of audio codes into plaintext information according to the third conversion rule includes: splitting the audio code into at least one group of audio codes according to a preset extraction rule; determining the audio code corresponding to each number ; Based on the audio code corresponding to each number and each group of audio codes, the audio code is converted into at least one group of digital information; The at least one group of digital information is converted into character code; The character code is converted into the plaintext information.
在得到解密后的明文信息后,判断所述明文信息的文件类型,如果是文字类的字符串则将该数据写入到文档文件中即可;如果是其他类型的特殊文件,比如:图片、音频及视频,则使用Base64字节编码将字符串转换为相应的数据,并写入到之前创建的文件中,达到完整的解密过程。After obtaining the decrypted plaintext information, determine the file type of the plaintext information, if it is a character string, write the data into the document file; if it is other types of special files, such as: pictures, For audio and video, use Base64 byte encoding to convert the string into corresponding data, and write it into the previously created file to achieve a complete decryption process.
这里,当所述特殊弹幕信息为图片、音频及视频时,由于特殊弹幕信息的明文信息有各种编码的信息,比如:中文,英文或其他文字,因此将明文信息转换为base64字节编码后,则可以很好的将各国文字都可以转为统一的编码格式,防止出现乱码,或者识别不到的情况,Base64字节编码要求把3个8位字节(3*8=24)转化为4个6位的字节(4*6=24),之后在6位的前面补两个0,形成8位一个字节的形式。如果剩下的字符不足3个字节,则用0填充,输出字符使用'=',因此编码后输出的文本末尾可能会出现1或2个'='。Here, when the special bullet screen information is pictures, audio and video, since the plain text information of the special bullet screen information has various encoded information, such as: Chinese, English or other characters, the plain text information is converted into base64 bytes After encoding, the characters of various countries can be converted into a unified encoding format to prevent garbled characters or unrecognized situations. Base64 byte encoding requires three 8-bit bytes (3*8=24) Convert it to 4 6-bit bytes (4*6=24), and then add two 0s in front of the 6-bit to form an 8-bit one-byte form. If the remaining characters are less than 3 bytes, they are filled with 0, and the output character is '=', so 1 or 2 '=' may appear at the end of the encoded text.
实施例二Embodiment 2
相应于实施例一,本实施例还提供一种客户端,如图2所示,所述客户端包括:接收单元21、判断单元22及解密单元23;其中;Corresponding to the first embodiment, this embodiment also provides a client. As shown in FIG. 2 , the client includes: a receiving
客户端在显示弹幕信息之前,接收单元21首先需要接收到弹幕信息,所述弹幕信息包括:普通弹幕信息及特殊弹幕信息;一般来说,所述特殊弹幕信息只想让高级用户看到,不想让普通用户看到。比如,所述特殊弹幕信息可以包括:优惠信息、高级用户之间的聊天信息等。Before the client displays the bullet screen information, the receiving
当接收单元21接收到弹幕信息后,判断单元22用于判断所述弹幕信息是否是特殊弹幕信息,若是普通弹幕信息直接就可以显示,若是特殊弹幕信息,所述接收单元21则还需要接收服务器下发的密钥信息。当然,本实施例中只有高级用户的客户端才能接收到密钥信息,而对于普通用户来说,服务器是不会对其下发密钥信息的,因此即使普通用户对应的客户端接收到特殊弹幕信息,也会因没有密钥信息不能对特殊弹幕信息进行解密。这里,服务器是基于用户标记来区分高级用户和普通用户的,所述高级用户的用户标记可以为vip字段等。After the receiving
所述判断单元22判断所述弹幕信息是否是特殊弹幕信息,包括:获取所述弹幕信息的标记位;判断所述加密标记位是否为特殊弹幕信息的第一标记位,若所述加密标记位是所述第一加密标记位,则确定所述弹幕信息为所述特殊弹幕信息。这里,所述第一加密标记位可以包括服务器与客户端约定的字母、数字等,本实施例中的第一加密标记位为数字“1”。所述第一加密标记位可以位于特殊弹幕信息的首位字符后或末位字符后,或者可以是其他约定的字符后。The
若所述加密标记位是第二加密标记位,所述判断单元22则确定所述弹幕信息为所述普通弹幕信息,可以直接显示。同样的,所述第二加密标记位可以包括服务器与客户端约定的字母、数字等,本实施例中的第二加密标记位为数字“0”。所述第二加密标记位可以位于普通弹幕信息的首位字符后或末位字符后,或者可以是其他约定的字符后。If the encryption flag bit is the second encryption flag bit, the
当接收单元21接收到密钥信息后,所述解密单元23可以基于所述密钥信息利用解密算法对所述弹幕信息进行解密,获取所述弹幕信息的明文信息。After the receiving
具体地,因服务器中的加密算法可能包括多种,比如:TEA加密算法、AES加密算法及RSA加密算法;当然,加密算法也可以是其他的一些加密算法。所述特殊弹幕信息也可以包括多种形式的信息,比如:图片信息、文字信息、音频信息、视频信息等。Specifically, the encryption algorithm in the server may include multiple types, such as: TEA encryption algorithm, AES encryption algorithm and RSA encryption algorithm; of course, the encryption algorithm may also be some other encryption algorithms. The special bullet screen information may also include various forms of information, such as: picture information, text information, audio information, video information, and the like.
当加密算法是TEA加密算法时,所述解密单元23基于所述密钥信息利用解密算法对所述弹幕信息进行解密,包括:When the encryption algorithm is the TEA encryption algorithm, the
利用解密算法TEA.decrypt(EncryptChatmessage,KEY)对所述弹幕信息进行解密;具体程序实现如下:Use the decryption algorithm TEA.decrypt(EncryptChatmessage, KEY) to decrypt the bullet screen information; the specific program is implemented as follows:
Chatmessage=TEA.decrypt(EncryptChatmessage,KEY);Chatmessage=TEA.decrypt(EncryptChatmessage,KEY);
其中,所述Chatmessage为所述弹幕信息,所述KEY为接收到的密钥信息;所述decrypt接口是TEA算法的解密接口。Wherein, the Chatmessage is the bullet screen information, the KEY is the received key information, and the decrypt interface is the decryption interface of the TEA algorithm.
这里,当加密算法为预设的其他加密算法时,所述解密单元23基于所述密钥信息利用解密算法对所述弹幕信息进行解密,还包括:Here, when the encryption algorithm is another preset encryption algorithm, the
当接收到密钥信息后,判断出密钥的长度信息,并根据所述密钥在所述密文信息中提取出附加信息,具体包括:基于所述密钥确定出所述附加信息在所述密文信息中的插入位置,根据密钥的长度信息确定附加信息的长度信息;在所述密文信息的所述插入位置基于所述长度信息提取出所述附加信息。其中,所述附加信息的长度可以为密钥长度的2~3倍,且附加信息的字符可以包括:数字或字母。After receiving the key information, determine the length information of the key, and extract additional information from the ciphertext information according to the key, which specifically includes: determining, based on the key, where the additional information is stored in the The insertion position in the ciphertext information, and the length information of the additional information is determined according to the length information of the key; the additional information is extracted based on the length information at the insertion position of the ciphertext information. The length of the additional information may be 2 to 3 times the length of the key, and the characters of the additional information may include numbers or letters.
基于所述密钥确定出所述附加信息在所述密文信息中的插入位置,包括:确定所述密钥的参照位;获取所述密钥参照位的字符;按照预设的第一转换规则将所述字符转换为一数值;基于所述数值确定出所述插入位置。Determining the insertion position of the additional information in the ciphertext information based on the key includes: determining the reference bit of the key; obtaining the character of the reference bit of the key; converting according to a preset first A rule converts the character to a numerical value; the insertion position is determined based on the numerical value.
其中,预设的第一转换规则为将所述可以包括多种:比如将字符与十进制数值对应转换,将字符与ASCII码值进行对应转换。Wherein, the preset first conversion rule is that the description may include multiple types: for example, the characters are converted correspondingly to decimal values, and the characters are correspondingly converted to ASCII code values.
当将字符与ASCII码值进行对应转换时,接收到密钥后,然后所述解密单元23获取密钥参照位的字符,确定所述字符对应的十进制ASCII码值,以此值作为参照值在密文中寻找附加信息字符所在的位置。寻找到该位置后,将附加信息字符从密文信息中提取出来。这里,所述密钥的参照位可以为密钥中的任一位,比如首位或末位;当以密钥的末位设置为密钥的参照位,比如密钥为12345,那么参照位的字符就是“5”,再获取到“5”对应的ASCII码为“53”,然后将附加信息从密文信息中的第53个字符之后的位置提取出即可。When the character and the ASCII code value are correspondingly converted, after receiving the key, the
将所述附加信息从密文信息中提取出之后,并判断该密文字符末尾是否有相应的文件类型,如果有,则新建一个该类型的文件以方便后期解密写入。如果没有,则默认新建一个文档文件来记录解密数据。After the additional information is extracted from the ciphertext information, it is judged whether there is a corresponding file type at the end of the ciphertext character, and if so, a new file of this type is created to facilitate later decryption and writing. If not, a new document file will be created by default to record the decrypted data.
然后,所述解密单元23在得到密钥字符串和附加信息的字符串后,将两个字符串进行拼接,形成一组合密钥,并使用该组合密钥将密文信息转换为明文信息,这样就可以将加密的特殊弹幕信息转换为明文信息,然后将其显示在客户端的屏幕上。Then, after obtaining the key string and the additional information string, the
这里,当加密算法为预设的其他加密算法,且弹幕信息为图像信息时,所述解密单元23基于所述密钥信息利用解密算法对所述弹幕信息进行解密,还包括:Here, when the encryption algorithm is another preset encryption algorithm, and the bullet screen information is image information, the
从图像中读取至少一组颜色值,所述图像为对明文信息进行加密的加密结果;根据第二转换规则将所述至少一组颜色值转换为数字信息;将所述数字信息转换为字符编码;将所述字符编码转换所述明文信息。Read at least one set of color values from an image, which is an encryption result of encrypting plaintext information; convert the at least one set of color values into digital information according to a second conversion rule; convert the digital information into characters encoding; converting the character encoding into the plaintext information.
根据第二转换规则将相所述至少一组颜色值转换为数字信息,包括:Converting the at least one set of color values into digital information according to the second conversion rule includes:
确定每种颜色对应的最大阶层,根据公式A=(B*C+G)*C+R确定所述数字信息的数值A;其中,所述每种颜色对应的最大阶层相同,所述R为红色,所述G为绿色,所述B为蓝色,所述C为所述每种颜色对应的最大阶层。Determine the maximum level corresponding to each color, and determine the numerical value A of the digital information according to the formula A=(B*C+G)*C+R; wherein, the maximum level corresponding to each color is the same, and the R is Red, the G is green, the B is blue, and the C is the maximum level corresponding to each color.
当所述图像中混淆有混淆色块时,从所述图像中读取至少一组颜色值包括:接收混淆数值,根据所述混淆数值确定的随机生成的混淆色块的数量;基于混淆算法确定所述混淆色块在所述图像中的写入位置;确定写入所述颜色值的第一基准点;以所述第一基准点为起始位置遍历所述图像,在遍历过程中,基于所述混淆色块的数量及在所述混淆色块在所述图像中的写入位置跳过所述混淆色块,读取所述至少一组颜色值。When confusing color blocks are confused in the image, reading at least one set of color values from the image includes: receiving a confusion value, and determining the number of randomly generated confusion color blocks according to the confusion value; determining based on a confusion algorithm The writing position of the confused color block in the image; determining the first reference point for writing the color value; traversing the image with the first reference point as the starting position, and in the traversing process, based on The number of the confused color blocks and the written position of the confused color blocks in the image skip the confused color blocks, and read the at least one set of color values.
这里,当加密算法为预设的其他加密算法,且弹幕信息为音频信息时,所述解密单元23基于所述密钥信息利用解密算法对所述弹幕信息进行解密,还包括:Here, when the encryption algorithm is another preset encryption algorithm, and the bullet screen information is audio information, the
接收音频,从所述音频中读取至少一种音频码;根据第三转换规则将所述至少一组音频码转换为明文信息。receiving audio, and reading at least one audio code from the audio; converting the at least one group of audio codes into plaintext information according to a third conversion rule.
所述从音频中读取至少一种音频码,包括:读取音频数据,获取所述音频的频率队列;遍历所述频率队列,获取第一频率及第二频率;将所述第一频率转换为第一音频编码,将所述第二频率转换为第二音频编码;根据所述第一音频编码及所述第二音频编码确定相应的音频编码;将所述音频编码进行组合获取所述至少一组音频码。The reading at least one audio code from the audio includes: reading audio data to obtain a frequency queue of the audio; traversing the frequency queue to obtain a first frequency and a second frequency; converting the first frequency converting the second frequency into a second audio code for the first audio code; determining a corresponding audio code according to the first audio code and the second audio code; combining the audio codes to obtain the at least A set of audio codes.
所述读取音频数据,获取所述音频的频率队列,包括:建立一音频信息对象,在所述音频信息对象中设置一采样频率;基于所述采样频率采集所述音频数据,并将所述音频数据存储至一数组中;遍历所述数组,将所述数组中的每一项数据转换为相应的频率,形成频率队列。The reading audio data and acquiring the audio frequency queue include: establishing an audio information object, and setting a sampling frequency in the audio information object; collecting the audio data based on the sampling frequency, and storing the The audio data is stored in an array; the array is traversed, and each item of data in the array is converted into a corresponding frequency to form a frequency queue.
所述根据第三转换规则将所述至少一组音频码转换为明文信息包括;根据预设的提取规则,将所述音频码拆分为至少一组音频编码;确定每个数字对应的音频编码;基于所述每个数字对应的音频编码及每组音频编码,将所述音频编码转换为至少一组数字信息;将所述至少一组数字信息转换为字符编码;将所述字符编码转换为所述明文信息。The converting the at least one group of audio codes into plaintext information according to the third conversion rule includes: splitting the audio code into at least one group of audio codes according to a preset extraction rule; determining the audio code corresponding to each number ; Based on the audio code corresponding to each number and each group of audio codes, the audio code is converted into at least one group of digital information; The at least one group of digital information is converted into character code; The character code is converted into the plaintext information.
在得到解密后的明文信息后,所述判断单元22还用于判断所述明文信息的文件类型,如果是文字类的字符串则将该数据写入到文档文件中即可;如果是其他类型的特殊文件,比如:图片、音频及视频,则使用Base64字节编码将字符串转换为相应的数据,并写入到之前创建的文件中,达到完整的解密过程。After obtaining the decrypted plaintext information, the judging
这里,当所述特殊弹幕信息为图片、音频及视频时,由于特殊弹幕信息的明文信息有各种编码的信息,比如:中文,英文或其他文字,因此将明文信息转换为base64字节编码后,则可以很好的将各国文字都可以转为统一的编码格式,防止出现乱码,或者识别不到的情况,Base64字节编码要求把3个8位字节(3*8=24)转化为4个6位的字节(4*6=24),之后在6位的前面补两个0,形成8位一个字节的形式。如果剩下的字符不足3个字节,则用0填充,输出字符使用'=',因此编码后输出的文本末尾可能会出现1或2个'='。Here, when the special bullet screen information is pictures, audio and video, since the plain text information of the special bullet screen information has various encoded information, such as: Chinese, English or other characters, the plain text information is converted into base64 bytes After encoding, the characters of various countries can be converted into a unified encoding format to prevent garbled characters or unrecognized situations. Base64 byte encoding requires three 8-bit bytes (3*8=24) Convert it to 4 6-bit bytes (4*6=24), and then add two 0s in front of the 6-bit to form an 8-bit one-byte form. If the remaining characters are less than 3 bytes, they are filled with 0, and the output character is '=', so 1 or 2 '=' may appear at the end of the encoded text.
本发明提供的实施例能带来的有益效果至少是:The beneficial effects that the embodiments provided by the present invention can bring are at least:
本发明提供了一种保护弹幕信息的方法及客户端,所述方法包括:客户端接收弹幕信息;判断所述弹幕信息是否是特殊弹幕信息,若所述弹幕信息是所述特殊弹幕信息时,接收密钥信息;基于所述密钥信息利用解密算法对所述弹幕信息进行解密,获取所述弹幕信息的明文信息;如此,只有高级用户对应的客户端才能接收到密钥信息,然后基于密钥信息对特殊弹幕信息进行解密,观看到特殊弹幕信息;即使普通用户对应的客户端接收到特殊弹幕信息,也会因接收不到密钥信息不能对特殊弹幕信息进行解密,从而也获取不到特殊弹幕信息的明文信息;这样就可以进一步增加高级用户的数量,从而增加了直播平台的收益。另外,由于特殊弹幕信息进行加密了,即使黑客获取到该特殊弹幕信息也不会轻易破解,进一步确保了数据传输的安全性。The present invention provides a method and a client for protecting bullet screen information. The method includes: the client receiving the bullet screen information; determining whether the bullet screen information is special bullet screen information, and if the bullet screen information is the When the bullet screen information is special, the key information is received; the decryption algorithm is used to decrypt the bullet screen information based on the key information, and the plaintext information of the bullet screen information is obtained; in this way, only the client corresponding to the advanced user can receive the information. Get the key information, and then decrypt the special bullet screen information based on the key information, and watch the special bullet screen information; even if the client corresponding to ordinary users receives the special bullet screen information, it will not be able to view the special bullet screen information because it cannot receive the key information. The special bullet screen information is decrypted, so that the plaintext information of the special bullet screen information cannot be obtained; in this way, the number of advanced users can be further increased, thereby increasing the revenue of the live broadcast platform. In addition, since the special bullet screen information is encrypted, even if the hacker obtains the special bullet screen information, it will not be easily cracked, which further ensures the security of data transmission.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the within the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710211330.9ACN107105324B (en) | 2017-03-31 | 2017-03-31 | Method and client for protecting bullet screen information |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710211330.9ACN107105324B (en) | 2017-03-31 | 2017-03-31 | Method and client for protecting bullet screen information |
| Publication Number | Publication Date |
|---|---|
| CN107105324A CN107105324A (en) | 2017-08-29 |
| CN107105324Btrue CN107105324B (en) | 2020-10-16 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710211330.9AActiveCN107105324B (en) | 2017-03-31 | 2017-03-31 | Method and client for protecting bullet screen information |
| Country | Link |
|---|---|
| CN (1) | CN107105324B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108024121B (en)* | 2017-11-17 | 2020-02-07 | 武汉微摇科技文化有限公司 | Voice barrage synchronization method and system |
| CN108471557B (en)* | 2018-03-28 | 2020-06-16 | 武汉斗鱼网络科技有限公司 | Barrage broadcasting method, device, server and medium |
| CN110545452B (en)* | 2018-05-28 | 2022-04-12 | 阿里巴巴集团控股有限公司 | Network live broadcast method, device, terminal and server |
| CN114520923B (en)* | 2020-11-20 | 2023-09-01 | 武汉斗鱼网络科技有限公司 | Barrage information display method, first terminal, second terminal, medium and equipment |
| CN112995748A (en)* | 2021-01-26 | 2021-06-18 | 浙江香侬慧语科技有限责任公司 | Multi-mode-based automatic bullet screen generation method and system, storage medium and equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020059098A1 (en)* | 2000-11-16 | 2002-05-16 | Shinichi Sazawa | Method for managing an imaginary store, method for using the imaginary store, and recording medium in which an imaginary store managing program is stored |
| CN101582157B (en)* | 2009-03-06 | 2012-06-06 | 中山大学 | Adaptive spatial steganographic method based on adjacent pixel difference |
| CN103646068B (en)* | 2013-12-04 | 2017-10-20 | Tcl集团股份有限公司 | Encryption method, decryption method, the method for sending bulk message and its corresponding intrument |
| CN105898456A (en)* | 2015-12-02 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Multimedia playback interaction method and device |
| CN106231115A (en)* | 2016-08-29 | 2016-12-14 | 深圳市金立通信设备有限公司 | A kind of information protecting method and terminal |
| CN106506487A (en)* | 2016-11-03 | 2017-03-15 | 武汉斗鱼网络科技有限公司 | A kind of information Encrypt and Decrypt method and device |
| Publication number | Publication date |
|---|---|
| CN107105324A (en) | 2017-08-29 |
| Publication | Publication Date | Title |
|---|---|---|
| CN107105324B (en) | Method and client for protecting bullet screen information | |
| US10922435B2 (en) | Image encryption method, image viewing method, system, and terminal | |
| Marwaha et al. | Visual cryptographic steganography in images | |
| US8345876B1 (en) | Encryption/decryption system and method | |
| US8224041B2 (en) | Media data processing apparatus and media data processing method | |
| CN106506487A (en) | A kind of information Encrypt and Decrypt method and device | |
| Abdullah et al. | New approaches to encrypt and decrypt data in image using cryptography and steganography algorithm | |
| CN107155113B (en) | A method and server for protecting bullet screen information | |
| WO2013147908A1 (en) | Methods and systems for cryptographic access control of video | |
| CN101763397B (en) | Device and method for processing expanding information in image file | |
| JP6346942B2 (en) | Blocking password attacks | |
| CN104680078B (en) | Method for shooting picture, method, system and terminal for viewing picture | |
| US11929993B2 (en) | System, method and application for transcoding data into media files | |
| CN113014580A (en) | File transmission method and device, electronic equipment and storage medium | |
| CN103646068B (en) | Encryption method, decryption method, the method for sending bulk message and its corresponding intrument | |
| CN106161021B (en) | Private data sending method and device and private data receiving method and device | |
| CN107481181B (en) | A picture hiding method, restoration method and picture hiding system for protecting personal privacy | |
| CN111026583B (en) | Backup and recovery methods and computer-readable storage media for multiple private keys in blockchain wallets | |
| CN118473647B (en) | Mail encryption method, mail decryption device and electronic equipment | |
| CN112399027A (en) | Picture encryption and decryption method and device, storage medium and electronic equipment | |
| CN105119923B (en) | A kind of information decoding method and terminal | |
| Patel et al. | Steganography over video file by hiding video in another video file, random byte hiding and LSB technique | |
| CN110544199A (en) | Image processing method and device, storage medium and electronic equipment | |
| Nasution et al. | Hybrid Cryptosystem Algorithm Vigenere Cipher and Base64 for Text Message Security Utilizing Least Significant Bit (LSB) Steganography as Insert into Image | |
| US9571468B2 (en) | Encoding data using a variable number of pixels and bits based on entropy |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | Effective date of registration:20250407 Address after:1st Floor, No. 1256, South Section of Tianfu Avenue, Huayang Street, Tianfu New Area, Chengdu City, Sichuan Province 610213 Patentee after:Sichuan Hangchuan Zhongzhi Technology Partnership (Limited Partnership) Country or region after:China Address before:430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building Patentee before:WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd. Country or region before:China | |
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20250605 Address after:610000 Sichuan Province, Chengdu City, China (Sichuan) Free Trade Zone, Chengdu High-tech Development Zone, Tianfu Avenue Middle Section No. 530, Building 1, 17th Floor, Room 1708 Patentee after:ZTE Visual Intelligence Technology Chengdu Co.,Ltd. Country or region after:China Address before:1st Floor, No. 1256, South Section of Tianfu Avenue, Huayang Street, Tianfu New Area, Chengdu City, Sichuan Province 610213 Patentee before:Sichuan Hangchuan Zhongzhi Technology Partnership (Limited Partnership) Country or region before:China | |
| TR01 | Transfer of patent right |