WO2018018726A1 - 一种群文件管理方法、用户终端、群聊系统 - Google Patents

一种群文件管理方法、用户终端、群聊系统 Download PDF

Info

Publication number
WO2018018726A1
WO2018018726A1 PCT/CN2016/099468 CN2016099468W WO2018018726A1 WO 2018018726 A1 WO2018018726 A1 WO 2018018726A1 CN 2016099468 W CN2016099468 W CN 2016099468W WO 2018018726 A1 WO2018018726 A1 WO 2018018726A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
file
decryption
address book
parameter
Prior art date
Application number
PCT/CN2016/099468
Other languages
English (en)
French (fr)
Inventor
刘晓辉
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018018726A1 publication Critical patent/WO2018018726A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption

Definitions

  • the present invention relates to the field of group chat, and in particular, to a group file management method, a user terminal, and a group chat system.
  • the social software provides a group chat function, which brings some problems at the same time as the user is convenient to use.
  • the user wants to send a file to some related people in the group chat, but can only send it to everyone, and everyone can view the file sent by the user; if the file can only be sent to Some people in the group can only add corresponding users one by one, and then send them. This results in users not being able to use existing group chats. It is necessary to re-establish group chats and send them to specific people, which is less efficient.
  • the embodiment of the present invention provides a method for managing a population file, a user terminal, and a group chat system, so as to solve the problem that the existing group chat file cannot be used when the group file is not sent to all users in the group chat. .
  • a population file management method including:
  • the communication information is selected from the address book as an encryption parameter according to a preset rule
  • a population file management method including:
  • the communication information is selected from the address book as a decryption parameter
  • the decrypted group file is displayed
  • a population file management method including:
  • the communication information is selected as the encryption parameter from the address book; the group file is encrypted by using the encryption parameter to generate the file to be sent; and the file to be sent is sent to the group chat;
  • the receiving terminal After receiving the group file, the receiving terminal selects the communication information as the decryption parameter from the address book according to the preset rule; decrypts the group file by using the decryption parameter; if the decryption is successful, displays the decrypted group file; if the decryption fails, Then hide the group file.
  • a user terminal including:
  • the encryption module is configured to: when the group file needs to be sent, select communication information from the address book as an encryption parameter according to a preset rule; encrypt the group file by using the encryption parameter to generate a file to be sent;
  • Send module set to send the file to be sent to the group chat.
  • a user terminal including:
  • a receiving module configured to receive a group file
  • the decryption module is configured to: after receiving the group file, select communication information from the address book as a decryption parameter according to a preset rule; decrypt the group file by using the decryption parameter; if the decryption is successful, display the decrypted group file; If the decryption fails, the group file is hidden.
  • a bank chat system which includes a server configured to provide a group chat service, and a user terminal provided by the embodiment of the present invention as a transmitting terminal and a receiving terminal.
  • a computer storage medium in another aspect, storing computer executable instructions for executing the group file management method described above.
  • the embodiment of the present invention provides a method for storing a group file.
  • the sending terminal encrypts the group file by using the address book, and the receiving terminal uses the address book to perform the decryption operation after receiving the group file.
  • Display if the file is unsuccessful, the file will not be displayed, so that the user terminal can only see the group file if only the communication book has the specific communication information, and the other user terminals in the group chat will not display the group file, so that the group file is not sent.
  • the group chat file can be sent using the existing group chat, and the group chat is not required to be re-established, thereby enhancing the user experience.
  • FIG. 1 is a flowchart of a group file management method according to a first embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a group chat system according to a second embodiment of the present invention.
  • FIG. 3 is a flowchart of a group file management method according to a third embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing display of a first population file according to a third embodiment of the present invention.
  • FIG. 5 is a schematic diagram showing the display of a second population file according to the third embodiment of the present invention.
  • FIG. 1 is a flowchart of a group file management method according to a first embodiment of the present invention. As shown in FIG. 1, the group file management method provided in this embodiment includes:
  • the communication terminal selects the communication information as the encryption parameter according to the preset rule; encrypts the group file by using the encryption parameter to generate the file to be sent; and sends the file to be sent to the group chat;
  • the receiving terminal selects the communication information as the decryption parameter from the address book according to the preset rule; decrypts the group file by using the decryption parameter; if the decryption is successful, displays the decrypted group file; if decrypted If it fails, the group file is hidden.
  • the embodiment of the method provided by the foregoing embodiment in the sending terminal includes:
  • the communication information is selected from the address book as an encryption parameter according to a preset rule
  • the group file management method in the foregoing embodiment, before selecting the encryption parameter further includes:
  • the function can be turned on by the user as needed.
  • the group chat is a fellow group, and the user A is not recognized by many users, and needs to send an invitation or photo to several good friends B, C, and D.
  • the encryption function can be turned on, and the user's mobile phone number or software number is used to encrypt the invitation or the photo, so that all the terminals in the group chat decrypt the encrypted file after receiving the encrypted file, because only the user B, C and D store the number of user A in the address book, and the corresponding terminal can decrypt the function, and then display, other user terminals will decrypt the decryption, hide these files, and do not disturb the group chat user.
  • selecting the communication information from the address book as the encryption parameter according to the preset rule in the foregoing embodiment includes:
  • the telephone number of the current terminal in the address book is used as an encryption parameter
  • the telephone number of the specified user in the address book is used as an encryption parameter
  • the group chat account of the current user in the address book is used as an encryption parameter
  • the group chat account of the specified user in the address book is used as the encryption parameter.
  • the scenario of selecting the phone number of the specified user or the group chat account as the encryption parameter may be:
  • User A asks in the group chat whether the user can contact the user E, so that the user's number/name pair can be used.
  • the content of this message is encrypted so that only the user who can contact user E (the number of user E is stored) can see the message/file, which enhances confidentiality.
  • the implementation of the method provided by the foregoing embodiment in the receiving terminal includes:
  • the communication information is selected from the address book as a decryption parameter
  • the decrypted group file is displayed
  • the group file management method provided by the foregoing embodiment further includes: before selecting the decryption parameter, the method further includes:
  • selecting communication information from the address book as the decryption parameter according to the preset rule includes:
  • the group chat accounts of all users in the address book are sequentially used as encryption parameters.
  • the group chat system provided in this embodiment includes: a server 1, a sending terminal 2, and a receiving terminal 3 configured to provide a group chat service. ,among them,
  • the communication terminal selects the communication information as the encryption parameter according to the preset rule; encrypts the group file by using the encryption parameter to generate a file to be sent; and sends the file to be sent to the group chat;
  • the receiving terminal 3 After receiving the group file, the receiving terminal 3 selects the communication information as the decryption parameter from the address book according to the preset rule; decrypts the group file by using the decryption parameter; if the decryption is successful, displays the decrypted group file; if the decryption fails , then hide the group file.
  • the sending terminal 2 provided by the foregoing embodiment includes:
  • the encryption module 21 is configured to: when the group file needs to be sent, select communication information from the address book as an encryption parameter according to a preset rule; encrypt the group file by using the encryption parameter to generate a file to be sent;
  • the sending module 22 is configured to send the file to be sent to the group chat.
  • the encryption module 21 provided by the foregoing embodiment is further configured to determine whether to trigger the encryption function of the group file before selecting the encryption parameter; if triggered, select the encryption parameter; if not, directly pass the sending module It is sent to the group chat.
  • the encryption module 21 provided in the above embodiment is configured to use the phone number of the current terminal in the address book as an encryption parameter; and/or, the phone number of the designated user in the address book is used as an encryption parameter; and / Or, the group chat account of the current user in the address book is used as an encryption parameter; and/or, the group chat account of the specified user in the address book is used as an encryption parameter.
  • the receiving terminal 3 provided by the foregoing embodiment includes:
  • the receiving module 31 is configured to receive the group file
  • the decryption module 32 is configured to: after receiving the group file, select communication information from the address book as a decryption parameter according to a preset rule; decrypt the group file by using the decryption parameter; if the decryption is successful, display the decrypted group file; If the decryption fails, the group file is hidden.
  • the decryption module 32 provided by the above embodiment is further configured to determine whether the group file is an encrypted file before selecting the decryption parameter; if yes, select the decryption parameter; if not, display it directly.
  • the decryption module 32 provided by the above embodiment is configured to sequentially use all the phone numbers in the address book as decryption parameters; and/or, in turn, the group chat accounts of all users in the address book as encryption parameters.
  • all the functional modules in the embodiment shown in FIG. 2 can be implemented by using a processor, an editing logic device, or the like.
  • a method for transmitting a file by encryption is provided, and the recipient, such as a personal address book number such as a micro signal or a mobile phone number, can be determined according to the personal address book number. Distinguish the recipient to achieve the purpose of sending to the designated person. If you do not need to encrypt the send file, you can also add a setting to choose to turn this feature on or off.
  • the group file management method provided in this embodiment includes the following steps:
  • the setting module sets whether the communication record number is encrypted and sent, and whether the recipient is set to receive the transmitted file by decrypting the sender communication number.
  • S303 If it is set to be encrypted by the address book number. The sender sets this group as the address file encryption transmission, picks the file that you want to send and sends it to this group, waiting for the recipient to view it.
  • This step is to encrypt the file. By reading the sender's address book number and encrypting the address book number of the machine as a key and file, add a field to the file to save the encrypted information of the file, and then send the encrypted file to In the group.
  • S305 This step is to determine whether it belongs to the receiver, and the recipient's address book number can be used to match whether it belongs to the receiver.
  • S306 This step is to judge that the recipient does not belong to the receiver.
  • the recipient's mobile phone address book does not have the sender's number, so the sender's number cannot be used as the address book to decrypt the file, so the file is not displayed.
  • This step is to determine that the recipient belongs to the receiver.
  • the recipient's mobile phone address book has the sender's address book number, and the address book number can be used as the decryption key to decrypt the file. If the decryption is successful, the file can be viewed.
  • the receiver can correctly view the sender's file through the receiver on the address book decryption, and can open, save, and the like.
  • the sending picture is taken as an example for description, and the file to be sent is sent to the corresponding group, and the encryption is performed by encrypting and then transmitting the address book number as a key and a file, because it is symmetric encryption.
  • the recipient's decryption key is whether he has the sender's address book number, if there is any, you can directly decrypt, and the person without the sender's address book number can not decrypt the file, to determine whether the user is inside the group Familiar people or people who want to send, so that people who cannot match each other in the group can not view the files sent by the sender through corresponding encryption, and those who can match each other can view the file and open it, improving Efficiency also ensures the convenience and privacy of the sender.
  • this example shows that in a certain group, the sender sends a picture, and the person who sets the receiver to decrypt the sender's communication number can receive the transmitted picture.
  • the receiver has the sender's address book number, and the number is passed.
  • As a key to decrypt the file picture sent by the sender you can see that the sender sends it, the receiver receives it normally, and it is no different from sending and receiving.
  • the B mobile phone's WeChat address book does not have the micro signal of the A mobile phone, in this case, B mobile phone can not decrypt the file sent by A mobile phone.
  • B mobile phone is in this group but can't see the file sent by A mobile phone, it will not receive any message, just like nothing happened.
  • Figure 5 illustrates the communication number of the sender's mobile phone without a sender.
  • the communication number cannot be added as a key to decrypt the picture sent by the sender, and the sender does not see the picture.
  • the non-address recipient can't view the picture, and the receiver can receive the picture.
  • the B mobile phone's WeChat address book has the micro signal of the A mobile phone, in this case, The B mobile phone can see the file sent by the A mobile phone in the group by decrypting, and the B mobile phone is the destination mobile phone to be sent by the A mobile phone, and the purpose is achieved at this time.
  • the user can be applied to any situation by using this method, which not only eliminates the inconvenience that the user needs to select one by one, so that the user can easily implement the function without operating many steps.
  • the recipients are all familiar to the address book, and the others are not frequently contacted.
  • you can reach the user by directly sending the file without operating the settings of each person you need.
  • the required recipients receive the function of the file, and the person who does not match basically does not have any situation, which is a simpler operation of the user and improves the convenience.
  • This method can be applied not only to WeChat groups, but also to mobile phone groups. This is only part of the application scenario of this method, as long as it is available for related applications such as instant messaging, as long as there is a specific environment or group in the application, this method can be used to achieve the purpose that the sender needs to achieve.
  • the user can match the user's address book to achieve the purpose of sending the file, and at this time, other related people cannot see the user's operation even in a group, which greatly improves the user's convenience and Privacy.
  • the embodiment of the present invention provides a method for storing a group file.
  • the sending terminal encrypts the group file by using the address book, and the receiving terminal uses the address book to perform the decryption operation after receiving the group file.
  • Display if the file is unsuccessful, the file will not be displayed, so that the user terminal can only see the group file if only the communication book has the specific communication information, and the other user terminals in the group chat will not display the group file, so that the group file is not sent.
  • the group chat file can be sent using the existing group chat, and the group chat is not required to be re-established, thereby enhancing the user experience.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can 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.) including computer usable program code.
  • 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 blocks of a flow or a flow and/or block diagram of the flowchart.
  • the foregoing technical solution provided by the embodiment of the present invention can be applied to a group file management process.
  • the sending terminal encrypts the group file by using the address book, and the receiving terminal uses the address book after receiving the group file.
  • the decryption operation is performed, and the success is displayed. If the file is unsuccessful, the file is not displayed, so that the user terminal having only the communication book having the specific communication information can see the group file, and the other user terminals in the group chat will not display the group file.
  • the group chat file can be sent using the existing group chat, and the group chat does not need to be re-established.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例提供了一种群文件管理方法、用户终端、群聊系统;该方法包括:发送终端在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;使用加密参数对群文件进行加密,生成待发送文件;将待发送文件发送到群聊;接收终端在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;使用解密参数对群文件进行解密;若解密成功,则显示解密后的群文件;若解密失败,则隐藏群文件。通过本发明实施例的实施,可以实现仅有通信录具备特定通信信息的用户终端可以看到群文件,使得在群文件发送给存储有特定通信信息的用户时,可以使用已有群聊发送群文件,增强了用户的使用体验。

Description

一种群文件管理方法、用户终端、群聊系统 技术领域
本发明涉及群聊领域,尤其涉及一种群文件管理方法、用户终端、群聊系统。
背景技术
目前社交软件都提供了群聊功能,在方便了用户使用的同时,也带来了一些问题。例如在目前在微信的某个群中,用户想给群聊中的部分相关人员发送文件,但是只能给所有人发送,且所有人都能查看用户发送的文件;如果发送的文件只能给群中部分人员,目前只能是一个一个的添加对应用户,然后再发送,这就导致用户不能使用已有群聊,必须重新建立群聊,发送给特定人员,效率较低。
发明内容
本发明实施例提供了一种群文件管理方法、用户终端、群聊系统,以解决现有技术在群文件不是发送给群聊内所有用户时,存在的不能使用已有群聊发送群文件的问题。
一方面,提供了一种群文件管理方法,包括:
在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;
使用加密参数对群文件进行加密,生成待发送文件;
将待发送文件发送到群聊。
一方面,提供了一种群文件管理方法,包括:
在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;
使用解密参数对群文件进行解密;
若解密成功,则显示解密后的群文件;
若解密失败,则隐藏群文件。
一方面,提供了一种群文件管理方法,包括:
发送终端在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;使用加密参数对群文件进行加密,生成待发送文件;将待发送文件发送到群聊;
接收终端在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;使用解密参数对群文件进行解密;若解密成功,则显示解密后的群文件;若解密失败,则隐藏群文件。
一方面,提供了一种用户终端,包括:
加密模块,设置为在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;使用加密参数对群文件进行加密,生成待发送文件;
发送模块,设置为将待发送文件发送到群聊。
一方面,提供了一种用户终端,包括:
接收模块,设置为接收群文件;
解密模块,设置为在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;使用解密参数对群文件进行解密;若解密成功,则显示解密后的群文件;若解密失败,则隐藏群文件。
一方面,提供了一种群聊系统,其包括设置为提供群聊服务的服务器、本发明实施例提供的用户终端作为发送终端及接收终端。
另一方面,提供了一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行前述的群文件管理方法。
本发明实施例的有益效果:
本发明实施例提供了一种群文件方法,该方法在发送群文件时,发送终端使用通信录对群文件进行加密后传输,接收终端在接收到群文件后,使用通信录进行解密操作,成功则显示,不成功则不显示文件,这样就可以实现了仅有通信录具备特定通信信息的用户终端可以看到群文件,群聊内的其他用户终端不会显示群文件,使得在群文件不是发送给群聊内所有用户、而是存储有特定通信信息的用户时,可以使用已有群聊发送群文件,不需要重新建立群聊,增强了用户的使用体验。
附图说明
图1为本发明第一实施例提供的群文件管理方法的流程图;
图2为本发明第二实施例提供的群聊系统的结构示意图;
图3为本发明第三实施例提供的群文件管理方法的流程图;
图4是本发明第三实施例涉及的第一种群文件显示示意图;
图5是本发明第三实施例涉及的第二种群文件显示示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本发明中一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
现通过具体实施方式结合附图的方式对本发明做出进一步的诠释说明。
第一实施例:
图1为本发明第一实施例提供的群文件管理方法的流程图,由图1可知,本实施例提供的群文件管理方法包括:
S101:发送终端在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;使用加密参数对群文件进行加密,生成待发送文件;将待发送文件发送到群聊;
S102:接收终端在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;使用解密参数对群文件进行解密;若解密成功,则显示解密后的群文件;若解密失败,则隐藏群文件。
在一些实施例中,上述实施例提供的方法在发送终端的体现包括:
在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;
使用加密参数对群文件进行加密,生成待发送文件;
将待发送文件发送到群聊。
在一些实施例中,上述实施例中的群文件管理方法,在选择加密参数之前,还包括:
判断是否触发群文件的加密功能;
若触发,则选择加密参数;
若没有触发,则直接将其发送到群聊中。
在实际应用中,该功能可以由用户根据需要开启,例如,群聊是一个老乡群,用户A由很多用户都不认识,其需要给几个好朋友B、C、D发送一个请帖或者照片,此时就可以开启加密功能,使用用户A的手机号码或者软件号码对请帖或者照片进行加密,这样群聊内所有终端在接收到加密文件后,对其进行解密,由于仅有用户B、C、D在通信录中存有用户A的号码,其对应的终端才能解密功能,进而显示,其他用户终端都将解密失败,隐藏这些文件,不会打扰群聊用户。
在一些实施例中,上述实施例中的根据预设规则,从通信录中选择通信信息作为加密参数包括:
将通信录中的当前终端的电话号码作为加密参数;
和/或,
将通信录中的指定用户的电话号码作为加密参数;
和/或,
将通信录中的当前用户的群聊账号作为加密参数;
和/或,
将通信录中的指定用户的群聊账号作为加密参数。
在实际应用中,选择指定用户的电话号码或者群聊账号作为加密参数的场景可以是:用户A在群聊内问有没有用户可以联系到用户E,这样就可以使用用户E的号码/名字对这个消息内容进行加密,这样仅有可以联系到用户E的用户(存有用户E的号码)才能看到这个消息/文件,增强了保密性。
在一些实施例中,上述实施例提供的方法在接收终端的体现包括:
在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;
使用解密参数对群文件进行解密;
若解密成功,则显示解密后的群文件;
若解密失败,则隐藏群文件。
在一些实施例中,上述实施例提供的群文件管理方法,在选择解密参数之前,还包括:
判断群文件是否为加密文件;
若是,则选择解密参数;
若不是,则直接显示。
在一些实施例中,上述实施例提供的群文件管理方法中的根据预设规则,从通信录中选择通信信息作为解密参数包括:
依次将通信录中的所有电话号码作为解密参数;
和/或,
依次将通信录中的所有用户的群聊账号作为加密参数。
第二实施例:
图2为本发明第二实施例提供的群聊系统的结构示意图,由图2可知,本实施例提供的群聊系统包括:设置为提供群聊服务的服务器1、发送终端2、接收终端3,其中,
发送终端2在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;使用加密参数对群文件进行加密,生成待发送文件;将待发送文件发送到群聊;
接收终端3在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;使用解密参数对群文件进行解密;若解密成功,则显示解密后的群文件;若解密失败,则隐藏群文件。
在一些实施例中,如图2所示,上述实施例提供的发送终端2包括:
加密模块21,设置为在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;使用加密参数对群文件进行加密,生成待发送文件;
发送模块22,设置为将待发送文件发送到群聊。
在一些实施例中,上述实施例提供的加密模块21在选择加密参数之前,还设置为判断是否触发群文件的加密功能;若触发,则选择加密参数;若没有触发,则直接通过发送模块将其发送到群聊中。
在一些实施例中,上述实施例提供的加密模块21设置为将通信录中的当前终端的电话号码作为加密参数;和/或,将通信录中的指定用户的电话号码作为加密参数;和/或,将通信录中的当前用户的群聊账号作为加密参数;和/或,将通信录中的指定用户的群聊账号作为加密参数。
在一些实施例中,如图2所示,上述实施例提供的接收终端3包括:
接收模块31,设置为接收群文件;
解密模块32,设置为在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;使用解密参数对群文件进行解密;若解密成功,则显示解密后的群文件;若解密失败,则隐藏群文件。
在一些实施例中,上述实施例提供的解密模块32在选择解密参数之前,还设置为判断群文件是否为加密文件;若是,则选择解密参数;若不是,则直接显示。
在一些实施例中,上述实施例提供的解密模块32设置为依次将通信录中的所有电话号码作为解密参数;和/或,依次将通信录中的所有用户的群聊账号作为加密参数。
在实际应用中,图2所示实施例中的所有功能模块,都可以采用处理器、编辑逻辑器件等方式实现。
第三实施例:
现结合具体应用场景对本发明做进一步的诠释说明。
本实施例为了解决发送者只需特定用户获取文件的问题,提供一种通过加密来传输文件的方法,可以根据个人通讯录号码来确定接收者,例如微信号,手机号等个人通讯录号码来分辨接收者从而达到发送到指定人员的目的。如果不需要加密发送文件的话,也可以增加一个设置来选择打开或者关闭此功能。
如图3所示,本实施例提供的群文件管理方法包括以下步骤:
S301:设置模块设置是否通讯录号加密发送,是否设置为接收者通过解密发送者通讯号码的人员才能接收到发送的文件。
S302:如果设置为不需要通过通讯录号加密发送,则按照正常流程发送文件。
S303:如果设置为需要通过通讯录号加密发送。发送者将此群组设置为通讯录文件加密发送,挑选自己想发送的文件并发送到此群组中,等待接收者查看。
S304:此步骤是对文件进行加密。通过读取发送者的通讯录号码,并将本机的通讯录号码作为密钥和文件进行加密操作,在文件上加一个字段来保存此文件的加密信息,然后将此加密后的文件发送到群组中。
S305:这个步骤是判断是是属于接收者,可以通过接收者的通讯录号码来匹配是否属于接收者。
S306:这个步骤是判断不属于接收者,这个接收者手机通讯录中没有发送者的号码,所以不能通过发送者的号码作为通讯录解密文件,所以就不显示文件了。
S307:这个步骤是判断属于接收者,这个接收者手机通讯录中有发送者的通讯录号码,则可以通过此通讯录号码作为解密密钥来解密此文件,解密成功就可以查看此文件。
S308:此时,接收者通过通讯录解密上的接收者可以正常查看发送者的文件,可以正打开,保存等相应操作。
在群环境下,当某用户需要发送文件,但只需要群中的部分人员查看,此时如果一个一个发送的话需要添加相应的人员,会使效率降低,而且不是特别方便。本实施例以发送图片为例进行说明,将需要发送的文件发到相应的群里面,通过将自己的通讯录号码作为密钥和文件进行对称加密的方法进行加密然后再发送,由于是对称加密方法,接收者的解密密钥就是他是否有发送者的通讯录号码,如果有则可以直接解密,而没有发送者通讯录号码的人就不能解密文件,以此来确定是否用户是不是群里面熟悉的人或想发送的人,从而实现了在群里不能互相匹配的人通过相应的加密使其不能查看发送者发送的文件,而能互相匹配的人则可以查看文件并打开它,提高了效率也保证了发送者的便利性和私密性。
参见图4,此实例说明在某某群中,发送者发送图片,设置为接收者通过解密发送者通讯号码的人员才能接收到发送的图片,接收者有发送者的通讯录号码,通过此号码作为密钥来解密发送者发送的文件图片,可以看到发送者发送,接收者接收都很正常,和平常发送接收没什么两样。例 如在微信环境下时,如果A手机向B手机发送文件,而用户都在同一个大的群组里,此时B手机的微信通讯录里没有A手机的微信号,在这种情况下,B手机不能解密A手机发送的文件,虽然B手机在此群组里但不能看到A手机发送的文件,也不会接收到任何消息,就像什么事也没有发生过一样。
图5则说明了接收者手机中没有发送者的通讯号码,不能加此通讯号码作为密钥来解密发送者发送的图片,并且完全看不到发送者发送图片。通过将图片进行加密设置进行隐藏使非通讯录接收者不能查看到图片,而接收者则完全可以接收图片,这两个图只是说明了在某种特定环境下的一种接收图片的方法。在另一种情况下,如果A手机向B手机发送文件,而用户都在同一个大的群组里,此时B手机的微信通讯录里有A手机的微信号,在这种情况下,B手机可以通过解密在群组里看到A手机发送的文件,B手机就是A手机要发送的目的手机,此时就达到了目的。
通过本实施例的实施,用户通过此种方法可以应用到任何情况下,不仅免除了用户发送文件需要一一挑选出来的不便性,使用户不需要操作很多步骤就可以轻松实现功能。比如在一个部门群中,接收者所存到通讯录的都是自己熟悉的人,而其他都不是经常联系的,在发送的时候不用操作每个需要的人的设置而直接发送文件就可以达到用户需要的接收者接收到文件的功能,而没有匹配到的人则基本上没有出现任何情况,是用户更简便的操作,提高了便利性。
此方法不仅可以应用到微信群组中,也可以应用的手机群组中。这只是此方法的部分应用场景,只要是即时通讯等相关应用都可以使用,只要在应用中有特定环境或群组都可以使用此方法来实现发送者需要达到的目的。
本实施例可以使用户根据用户的通讯录的互相匹配达到发送文件的目的,而此时其他相关的人即便在一个群组里也不能看到用户的操作,大大的提升了用户的便利性和私密性。
综上可知,通过本发明实施例的实施,至少存在以下有益效果:
本发明实施例提供了一种群文件方法,该方法在发送群文件时,发送终端使用通信录对群文件进行加密后传输,接收终端在接收到群文件后,使用通信录进行解密操作,成功则显示,不成功则不显示文件,这样就可以实现了仅有通信录具备特定通信信息的用户终端可以看到群文件,群聊内的其他用户终端不会显示群文件,使得在群文件不是发送给群聊内所有用户、而是存储有特定通信信息的用户时,可以使用已有群聊发送群文件,不需要重新建立群聊,增强了用户的使用体验。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上仅是本发明的具体实施方式而已,并非对本发明做任何形式上的限制,凡是依据本发明的技术实质对以上实施方式所做的任意简单修改、等同变化、结合或修饰,均仍属于本发明技术方案的保护范围。
工业实用性
本发明实施例提供的上述技术方案,可以应用于群文件管理过程中通过在发送群文件时,发送终端使用通信录对群文件进行加密后传输,接收终端在接收到群文件后,使用通信录进行解密操作,成功则显示,不成功则不显示文件,这样就可以实现了仅有通信录具备特定通信信息的用户终端可以看到群文件,群聊内的其他用户终端不会显示群文件,使得在群文件不是发送给群聊内所有用户、而是存储有特定通信信息的用户时,可以使用已有群聊发送群文件,不需要重新建立群聊。

Claims (14)

  1. 一种群文件管理方法,包括:
    在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;
    使用所述加密参数对所述群文件进行加密,生成待发送文件;
    将所述待发送文件发送到群聊。
  2. 如权利要求1所述的群文件管理方法,其中,在选择加密参数之前,还包括:
    判断是否触发群文件的加密功能;
    若触发,则选择加密参数;
    若没有触发,则直接将其发送到群聊中。
  3. 如权利要求1或2所述的群文件管理方法,其中,所述根据预设规则,从通信录中选择通信信息作为加密参数包括:
    将所述通信录中的当前终端的电话号码作为所述加密参数;
    和/或,
    将所述通信录中的指定用户的电话号码作为所述加密参数;
    和/或,
    将所述通信录中的当前用户的群聊账号作为所述加密参数;
    和/或,
    将所述通信录中的指定用户的群聊账号作为所述加密参数。
  4. 一种群文件管理方法,包括:
    在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;
    使用所述解密参数对所述群文件进行解密;
    若解密成功,则显示解密后的群文件;
    若解密失败,则隐藏所述群文件。
  5. 如权利要求4所述的群文件管理方法,其中,在选择解密参数之前,还包括:
    判断群文件是否为加密文件;
    若是,则选择解密参数;
    若不是,则直接显示。
  6. 如权利要求4或5所述的群文件管理方法,其中,所述根据预设规则,从通信录中选择通信信息作为解密参数包括:
    依次将所述通信录中的所有电话号码作为所述解密参数;
    和/或,
    依次将所述通信录中的所有用户的群聊账号作为所述加密参数。
  7. 一种群文件管理方法,包括:
    发送终端在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;使用所述加密参数对所述群文件进行加密,生成待发送文件;将所述待发送文件发送到群聊;
    接收终端在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;使用所述解密参数对所述群文件进行解密;若解密成功,则显示解密后的群文件;若解密失败,则隐藏所述群文件。
  8. 一种用户终端,包括:
    加密模块,设置为在需要发送群文件时,根据预设规则,从通信录中选择通信信息作为加密参数;使用所述加密参数对所述群文件进行加密,生成待发送文件;
    发送模块,设置为将所述待发送文件发送到群聊。
  9. 如权利要求8所述的用户终端,其中,所述加密模块在选择加密参数之前,还设置为判断是否触发群文件的加密功能;若触发,则选择加密 参数;若没有触发,则直接通过所述发送模块将其发送到群聊中。
  10. 如权利要求8或9所述的用户终端,其中,所述加密模块设置为将所述通信录中的当前终端的电话号码作为所述加密参数;和/或,将所述通信录中的指定用户的电话号码作为所述加密参数;和/或,将所述通信录中的当前用户的群聊账号作为所述加密参数;和/或,将所述通信录中的指定用户的群聊账号作为所述加密参数。
  11. 一种用户终端,包括:
    接收模块,设置为接收群文件;
    解密模块,设置为在接收到群文件后,根据预设规则,从通信录中选择通信信息作为解密参数;使用所述解密参数对所述群文件进行解密;若解密成功,则显示解密后的群文件;若解密失败,则隐藏所述群文件。
  12. 如权利要求11所述的用户终端,其中,所述解密模块在选择解密参数之前,还设置为判断群文件是否为加密文件;若是,则选择解密参数;若不是,则直接显示。
  13. 如权利要求11或12所述的用户终端,其中,所述解密模块设置为依次将所述通信录中的所有电话号码作为所述解密参数;和/或,依次将所述通信录中的所有用户的群聊账号作为所述加密参数。
  14. 一种群聊系统,其中,包括设置为提供群聊服务的服务器、如权利要求8-10任一项所述的用户终端作为发送终端、如权利要求11-13任一项所述的用户终端作为接收终端。
PCT/CN2016/099468 2016-07-28 2016-09-20 一种群文件管理方法、用户终端、群聊系统 WO2018018726A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610613096.8 2016-07-28
CN201610613096.8A CN107666395A (zh) 2016-07-28 2016-07-28 一种群文件管理方法、用户终端、群聊系统

Publications (1)

Publication Number Publication Date
WO2018018726A1 true WO2018018726A1 (zh) 2018-02-01

Family

ID=61015709

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099468 WO2018018726A1 (zh) 2016-07-28 2016-09-20 一种群文件管理方法、用户终端、群聊系统

Country Status (2)

Country Link
CN (1) CN107666395A (zh)
WO (1) WO2018018726A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833257B (zh) * 2018-05-31 2021-01-19 西安瑜乐文化科技股份有限公司 一种应用于群组的图片覆盖方法
CN108959887B (zh) * 2018-07-01 2021-12-24 世熠网络科技(上海)有限公司 一种应用于即时通讯客户端的群组控制方法
CN109033897A (zh) * 2018-07-01 2018-12-18 东莞市华睿电子科技有限公司 一种基于跨群组机制的图像处理方法
CN111786874B (zh) * 2019-04-17 2022-09-06 北京京东尚科信息技术有限公司 一种来电显示方法和装置
CN110188524B (zh) * 2019-05-23 2021-07-27 维沃移动通信有限公司 信息加密方法、信息解密方法及终端
CN113778236B (zh) * 2021-08-23 2024-01-09 百融至信(北京)科技有限公司 一种富文本编辑器实现强调功能的方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114979A (zh) * 2007-07-23 2008-01-30 中国联合通信有限公司 一种即时消息的文件传输系统及其方法
CN104394530A (zh) * 2014-12-09 2015-03-04 天津光电安辰信息技术有限公司 一种基于智能手机的微信内容加密系统及其实现方法
CN105049332A (zh) * 2015-07-29 2015-11-11 深圳市元征科技股份有限公司 一种基于车载终端的群组内的文件共享方法
CN105306337A (zh) * 2014-07-17 2016-02-03 腾讯科技(深圳)有限公司 基于即时通讯的多人会话文件共享方法、装置和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114979A (zh) * 2007-07-23 2008-01-30 中国联合通信有限公司 一种即时消息的文件传输系统及其方法
CN105306337A (zh) * 2014-07-17 2016-02-03 腾讯科技(深圳)有限公司 基于即时通讯的多人会话文件共享方法、装置和系统
CN104394530A (zh) * 2014-12-09 2015-03-04 天津光电安辰信息技术有限公司 一种基于智能手机的微信内容加密系统及其实现方法
CN105049332A (zh) * 2015-07-29 2015-11-11 深圳市元征科技股份有限公司 一种基于车载终端的群组内的文件共享方法

Also Published As

Publication number Publication date
CN107666395A (zh) 2018-02-06

Similar Documents

Publication Publication Date Title
WO2018018726A1 (zh) 一种群文件管理方法、用户终端、群聊系统
US10129187B1 (en) Decentralized authoritative messaging
US10237247B2 (en) User interface systems and methods for secure message oriented communications
US9967245B2 (en) User authentication using unique hidden identifiers
CN105391676B (zh) 即时通讯消息处理方法及装置和系统
EP2953323B1 (en) System and method of securing instant messaging sessions
JP7133285B2 (ja) ユーザ端末、メッセージを送受信する方法及びコンピュータプログラム
US9521097B2 (en) System and method for management of persistent and irrefutable instant messages
WO2016045469A1 (zh) 信息加密方法和移动终端
EP2953320B1 (en) System and method for switching between messaging security policies
WO2016045464A1 (zh) 解密方法和移动终端
WO2015117437A1 (zh) 一种文件加密方法、解密方法及装置
US20160294787A1 (en) Secure and confidential messaging systems
JP2021520586A (ja) メッセージ/ファイルを明示的および秘密裏に交換し、動的サブグループを作成するためのシステム、装置、および方法
CN111314207B (zh) 一种即时通讯接收方法、装置和设备
KR101933444B1 (ko) 메시지 서버
CN109104361B (zh) 即时通信方法、装置、电子设备及存储介质
TWI524291B (zh) Message encryption method applied to communication software
KR20210111978A (ko) 암호화를 이용한 비밀 메시징 시스템

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

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

Country of ref document: EP

Kind code of ref document: A1