Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without any creative efforts shall fall within the protection scope of the embodiments of the present invention.
The main idea of the embodiment of the invention is that in the prior art, if information is directly sent to a target contact person through a communication tool, the sent information is not encrypted and has potential hidden danger of being leaked, on the other hand, the information published in a group is open at present, all users in the group can check the information in the group, and the information sent by the users has no privacy. For example, a user clicks and selects a certain contact person, such as a senior citizen, through a communication tool (the communication tool can be a common communication tool, such as QQ, WeChat and the like, the QQ and the WeChat have the function of generating the information into the two-dimensional code by installing a plug-in, or the communication tool has the function of generating the information into the two-dimensional code by itself), the user selects a two-dimensional code encoding algorithm, the encoding algorithm is sent to the senior citizen, the senior citizen configures and stores the received encoding algorithm, the user selects the senior citizen through the communication tool, clicks the senior citizen to enter an information editing interface, after editing the information, clicking the option of generating the information into the two-dimensional code, selecting the two-dimensional code encoding algorithm which is sent to the old page for storage before to generate the information into the two-dimensional code, clicking to send the two-dimensional code to the old page, therefore, the old page can obtain the information contained in the two-dimensional code through the coding algorithm, and the privacy of the information is effectively protected.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are described in further detail below with reference to the accompanying drawings and specific embodiments.
The first embodiment is as follows:
FIG. 1 is a schematic diagram of a working flow of secure information transmission for a communication tool according to an embodiment of the present invention, as shown in FIG. 1:
step S101: identifying a coding algorithm of the two-dimensional code selected by the user, a communication tool and a target contact of the communication tool;
the user selects the coding algorithm of the two-dimensional code through the client, clicks and opens the coding algorithm list, selects one of the selectable coding algorithms, selects the communication tool, selects one or more of the selectable communication tools, starts the communication tool, and selects one or more contacts in the address list in the selected communication tool as target contacts.
When the user selects the encoding algorithm in the client, the user may select the encoding algorithm from the encoding algorithm list, or may select the encoding algorithm in other manners, and preferably, the encoding algorithm of the two-dimensional code selected by the user, the communication tool, and the target contact of the communication tool are identified, further including: and identifying the target contact person selected from the client address book, and displaying all communication tools supported by the target contact person for the user to select according to the identified target contact person. When the user selects the target contact in the client address list, the client displays all communication tools supported by the target contact, such as QQ, WeChat and other communication tools. When a user selects a communication tool through a client, the client prompts the communication tool which is configured and stored with the coding algorithm, so that the user is prevented from repeatedly configuring the communication tool which is configured and stored with the coding algorithm, preferably, a target contact person selected from a client address book is identified, and all communication tools supported by the target contact person are displayed for the user to select according to the identified target contact person. The prompt message prompts the user which communication tools supported by the target contact selected by the user have been configured with the stored coding algorithm and the type of the configured coding algorithm, if the user selects the communication tool having the stored coding algorithm, the user can select to use the stored coding algorithm or resend the new coding algorithm, and if the user selects the communication tool having no stored coding algorithm, the selected coding algorithm is sent to the communication tool.
And identifying the communication tool selected by the user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms. After a user selects a communication tool, the client displays all coding algorithms supported by the selected communication tool, wherein the coding algorithms comprise self-carried coding algorithms of the communication tool or the client and also comprise new coding algorithms which are imported according to needs, the imported coding algorithms are imported into the communication tool or the client from the outside after being edited, and are called by the user when the user selects to use.
And acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt. When a user selects a coding algorithm, the user can select one of a plurality of coding algorithms, a default coding algorithm is identified by a system in the plurality of coding algorithms to serve as a prompt for the user, the user can select the coding algorithm selected by the system prompt, and other coding algorithms can be selected according to the user's own will.
After the user selects the coding algorithm, the user generates a two-dimensional code for the information to be sent, which is edited before, through the client according to the coding algorithm, and encrypts the information to be sent.
In the embodiment of the present invention, when the user selects the two-dimensional code encoding algorithm, the encoding algorithm may be searched according to a selected communication tool, and the user searches the communication tool through the client, and preferably, identifies the encoding algorithm of the two-dimensional code selected by the user, the communication tool, and a target contact of the communication tool, further including: and identifying and starting the communication tool, and displaying all the contact persons contained in the communication tool for the user to select. After a user selects a communication tool through a client, all contacts in the communication tool are selected and searched, and one or more contacts are selected from all contacts as target contacts. When a user selects a contact through the communication tool, the communication tool prompts the contact which is configured with the coding algorithm, so that the user is prevented from repeatedly configuring the contact which is configured with the coding algorithm. The prompting message prompts the user which target contacts in the selected target contacts have been configured with the stored coding algorithm and the type of the configured coding algorithm, if the user selects the target contacts having the stored coding algorithm, the user can select to use the stored coding algorithm or resend a new coding algorithm to the target contacts, and if the user selects the target contacts having no stored coding algorithm, the selected coding algorithm is sent to the target contacts.
And identifying the target contact person selected by the user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms. After a user selects a target contact person, the client displays all coding algorithms supported by a communication tool where the target contact person is located, wherein the coding algorithms comprise coding algorithms carried by the communication tool or the client and new coding algorithms imported according to needs, the imported coding algorithms are imported into the communication tool or the client from the outside after being edited, and are called by the user when the user selects to use.
And acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt. When a user selects a coding algorithm, the user can select one of a plurality of coding algorithms, a default coding algorithm is identified by a system in the plurality of coding algorithms to serve as a prompt for the user, the user can select the coding algorithm selected by the system prompt, and other coding algorithms can be selected according to the user's own will.
After the user selects the coding algorithm, the communication tool generates the previously edited information to be sent into a two-dimensional code according to the coding algorithm, and the information to be sent is encrypted.
When a user selects a coding algorithm, after selecting a communication tool, the client displays all coding algorithms supported by the communication tool for the user to select, and when displaying all coding algorithms, the coding algorithms are arranged according to a certain sequence, preferably, all coding algorithms supported by the communication tool are displayed for the user to select, and the method further comprises the following steps: and identifying the weight of each coding algorithm in all the coding algorithms, and displaying all the coding algorithms according to the weight, wherein the coding algorithm with high weight is arranged at the front position, and the arrangement of the weight is positively correlated with the safety and the use heat of the coding algorithms. Arranging the coding algorithms according to the weight, wherein the weight refers to the security, the higher the security is, the higher the weight is, after a user generates a two-dimensional code from information to be sent according to the coding algorithm through a communication tool, the two-dimensional code cannot or is difficult to crack by other decoding tools, the more difficult the generated two-dimensional code is, the higher the security of the coding algorithm for generating the two-dimensional code is, the higher the weight is, the weight can be configured according to the using heat, for example, the more the using times of a certain coding algorithm are, the higher the using heat is, the weight can also be configured according to the security and the using heat comprehensively, after the weight is configured, the coding algorithms with high weight are arranged at the front position, the coding algorithm with the highest weight is better in the security and the using heat than other coding algorithms, and the system selects and prompts the user to use the coding algorithm with the highest weight, the privacy of the information of the user can be better ensured.
When the user selects the coding algorithm, the user may select one of the algorithms according to his own will, or may directly use the coding algorithm selected by the system prompt, and when the coding algorithm prompted by the system is selected, preferably, the coding algorithm selected by the system prompt is obtained, further including: and the system selects the coding algorithm with the highest weight as the coding algorithm selected by the system prompt according to the arrangement position of the coding algorithms. According to the configuration mode of the weight, the coding algorithm with high weight is arranged at the position relatively close to the front, when a user selects the coding algorithm, a system in multiple coding algorithms can identify a default coding algorithm to the user as a prompt, the coding algorithm is the coding algorithm with the highest weight, the coding algorithm with the highest weight is used as the coding algorithm selected by the system prompt, the operation trouble of the client can be reduced, the client can also be prompted that the coding algorithm is the coding algorithm with the highest safety and the highest use heat, the privacy of information can be protected to a greater extent, the user can select the coding algorithm selected by the system prompt, and other coding algorithms can be selected according to the user's own intention.
In the embodiment of the present invention, preferably, if the coding algorithm is currently configured and stored, the stored coding algorithm currently configured in all the coding algorithms is prompted, and when the system selects and configures the coding algorithm that is prompted to be selected, the system not only performs configuration by using weights, but also prompts the system to select the currently stored coding algorithm when the system has already configured and stored the coding algorithm before the configuration, so that the user can select whether to continue the previous coding algorithm or select the newly configured coding algorithm.
Step S102: sending the coding algorithm to the target contact person through the communication tool selected by the user so that the communication tool corresponding to the target contact person can receive the coding algorithm of the two-dimensional code and is configured and stored;
after a user selects a coding algorithm, the coding algorithm is sent to a target contact person selected in an address list of the communication tool through the selected communication tool, the target contact person stores the coding algorithm in the communication tool or a client after receiving the two-dimensional code coding algorithm through a corresponding communication tool, the target contact person stores the coding algorithm through the corresponding communication tool so as to receive the two-dimensional code generated by the same coding algorithm again later, decoding is carried out according to the stored coding algorithm, information is obtained, the trouble that the user needs to send the coding algorithm when sending two-dimensional code information to the target contact person every time is avoided, and the user can send the two-dimensional code generated by the same coding algorithm for different information to the target contact person who stores the coding algorithm.
Step S103: establishing a communication channel according to a communication tool selected by a user and a target contact person, receiving information to be sent input by the user, and generating a two-dimensional code according to a coding algorithm corresponding to the communication tool and the target contact person;
the method comprises the steps that a user establishes a communication channel with a target contact through a communication tool, information to be sent is edited and input, when the user sends the information to the target contact, the information to be sent input on the communication channel is in various forms, the information to be sent can be generated into a two-dimensional code through a corresponding coding algorithm, and preferably, the information to be sent comprises at least one of character information, digital information, character information, picture information and video information. A user generates a two-dimensional code from information to be sent through a two-dimensional code coding algorithm, the information to be sent can be character information, digital information, character information, picture information, video information and other forms of information, and can also be a mode of combining multiple information.
The user generates the information to be sent into the two-dimensional code through the coding algorithm sent to the target contact person, the coding algorithm corresponds to the communication tool and the target contact person, and the information to be sent is sent to the target contact person before the two-dimensional code is generated from the information to be sent.
In addition, in order to facilitate the user to query the sent history record, preferably, the information to be sent is generated into the two-dimensional code according to the coding algorithm, and the information to be sent, the coding algorithm and the two-dimensional code are stored in a folder together so as to facilitate the user to query. After a user generates a two-dimensional code by using a selected coding algorithm for information to be transmitted, the system stores the information to be transmitted, the used coding algorithm and the two-dimensional code to be generated by using the coding algorithm in a folder for the user to inquire, the storage time of the three files can be set by the user in a user-defined manner, or a storage time is preset according to the system, when the storage time exceeds the set time, the system automatically deletes the stored files, or the storage time is not set, and the user manually deletes the files.
Step S104: and sending the two-dimensional code to the target contact person through a communication channel so that the target contact person receives the two-dimensional code through a corresponding communication tool and decodes and displays the two-dimensional code according to a coding algorithm.
After a user generates a two-dimensional code from information to be sent through a communication tool, the two-dimensional code is sent to a target contact person through the communication tool, and after the target contact person receives the two-dimensional code through a corresponding communication tool, the two-dimensional code is decoded and displayed according to a stored coding algorithm, so that information contained in the two-dimensional code is obtained.
After receiving the two-dimensional code and the coding algorithm, the target contact person can acquire information contained in the two-dimensional code in two ways, one way is that after receiving the two-dimensional code, the two-dimensional code is directly cracked by the coding algorithm to directly display the information contained in the two-dimensional code, and the other way is that the target contact person cracks the two-dimensional code by triggering the coding algorithm to acquire the information contained in the two-dimensional code. After the target contact receives the two-dimensional code, the two-dimensional code is decoded according to the stored coding algorithm to obtain information, the information contained in the two-dimensional code can be directly displayed according to the coding algorithm received by the target contact, or the target contact decodes the two-dimensional code by triggering the coding algorithm, and the information contained in the two-dimensional code is displayed after the two-dimensional code is decoded.
In the embodiment of the invention, information can be edited in information editing software, for example, editing information is input in a document interface, a two-dimensional code is generated from the information in a document through a two-dimensional code coding algorithm, the generated two-dimensional code, a coding algorithm selected to be used and document information are stored in a folder, when a user wants to send the information to a target contact person, the two-dimensional code is called from the folder of the stored file and is sent to the target contact person, and the target contact person decodes the two-dimensional code through the stored corresponding coding algorithm to obtain the information.
For example, a user selects one coding algorithm from multiple coding algorithms in a client, finds a old page through an address book in the WeChat by using a communication tool such as WeChat, sends the selected coding algorithm to the old page through the WeChat, configures and stores the old page in the WeChat after the old page receives the coding algorithm through the WeChat, edits information through an information editing interface of the WeChat, clicks an encryption option in the WeChat, selects the coding algorithm which is sent to the old page before, generates a two-dimensional code by the coding algorithm which is sent to the old page before, sends the two-dimensional code to the old page, decodes the two-dimensional code according to the coding algorithm which is configured and stored before after the old page receives the two-dimensional code, and acquires the information.
The user can directly send the two-dimension code to the target contact person through the communication tool, when the user and the target contact person are in the same group, the user can also select to send the coding algorithm to the target contact person for configuration and storage, and then the two-dimension code is sent to the group, so that the target contact person can check information contained in the two-dimension code sent to the group by the user through the coding algorithm.
Correspondingly, the embodiment of the invention preferably provides a secret information sending method for group sending.
Example two:
fig. 2 is a schematic diagram of a working flow of sending secret information for group sending according to an embodiment of the present invention, as shown in fig. 2:
step S201: identifying a coding algorithm of the two-dimensional code selected by the user, a communication tool, a group of the communication tool and a target contact person in the group;
the user selects one of the coding algorithms through the coding algorithm list of the two-dimensional code of the client, the user selects one or more communication tools through the client and starts the communication tools, the communication tools can be one or more, a group of the communication tools is selected, part of contacts in the group are selected as target contacts, and the target contacts can be one or more.
When the user selects the two-dimensional code encoding algorithm, the user can search the encoding algorithm according to the contact person in the selected group, the user selects the group selection encoding algorithm of the communication tool through the client, and preferably, the encoding algorithm of the two-dimensional code selected by the user, the communication tool, the group of the communication tool and the target contact person in the group are identified, and the method further comprises the following steps: identifying and starting the communication tools, displaying all groups of the communication tools for a user to select, wherein the user can select one group or a plurality of groups as a target group; identifying a group of communication tools selected by a user, displaying all contacts contained in the group of communication tools for the user to select, preferably, the user can select one contact or a plurality of contacts as target contacts, identifying the group of communication tools selected by the user, and displaying all contacts contained in the group of communication tools for the user to select, further comprising displaying corresponding prompt information at the same time, wherein the prompt information is used for prompting the contacts which are configured and stored with a coding algorithm; identifying a target contact person selected by a user, displaying all coding algorithms supported by a communication tool for the user to select, wherein all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms, when the user selects the target contact person, all coding algorithms supported by the selected communication tool are displayed, all coding algorithms comprise self-contained coding algorithms of the communication tool or a client, and a new coding algorithm which is introduced according to needs, and after editing is completed, the introduced coding algorithms are introduced into the communication tool or the client from the outside and are used by the user when the user selects to use.
When a user selects a coding algorithm, the coding algorithm selected by the user needs to be sent to a target contact through a communication tool, so that the coding algorithm needs to be supported by the communication tool, after the communication tool is selected, a client displays all coding algorithms supported by the communication tool for the user to select, and when all coding algorithms are displayed, the coding algorithms are arranged according to a certain sequence, preferably, all coding algorithms supported by the communication tool are displayed for the user to select, and the method further comprises the following steps: and identifying the weight of each coding algorithm in all the coding algorithms, and displaying all the coding algorithms according to the weight, wherein the coding algorithm with high weight is arranged at the front position, and the arrangement of the weight is positively correlated with the safety and the use heat of the coding algorithms. The encoding algorithms are arranged according to the weights, the weights refer to safety, the higher the safety is, the higher the weights are, after the information to be transmitted is generated into the two-dimensional code, the two-dimensional code cannot or is difficult to crack by other decoding tools, the more difficult the generated two-dimensional code is, the higher the safety of the encoding algorithm for generating the two-dimensional code is, the higher the weights are, the weights can be configured according to the using heat, for example, the more the using times of a certain encoding algorithm are, the higher the using heat is, the weights can be comprehensively configured according to the safety and the using heat, and the encoding algorithms with the high weights are arranged at the positions which are relatively front after the weights are configured.
The coding algorithm selected by the user is obtained, or the coding algorithm selected by the system prompt is obtained, the user can select one of multiple coding algorithms when selecting the coding algorithm, the system in the multiple coding algorithms can identify a default coding algorithm to the user as the prompt, the user can select the coding algorithm selected by the system prompt, and other coding algorithms can be selected according to the user's own intention. Preferably, the obtaining of the coding algorithm prompted by the system for selection further includes: the system selects the coding algorithm with the highest weight as the coding algorithm selected by the system prompt according to the arrangement position of the coding algorithms, the coding algorithm with the high weight is arranged at the position relatively ahead according to the configuration mode of the weight, when a user selects the coding algorithm, the system can identify a default coding algorithm in a plurality of coding algorithms to the user as the prompt, the coding algorithm is the coding algorithm with the highest weight, the operation trouble of the client can be reduced by using the coding algorithm with the highest weight as the coding algorithm selected by the system prompt, the client can also be prompted that the coding algorithm is the coding algorithm with the highest safety and the highest use heat, the privacy of information can be protected to a greater extent, the user can select the coding algorithm selected by the system prompt, and other coding algorithms can be selected according to the own intention of the user.
Preferably, the method further comprises prompting the coding algorithm which is currently configured and stored in all the coding algorithms if the coding algorithm which is currently configured and stored is stored.
After a user selects a coding algorithm through a communication tool, the previously edited information to be sent is generated into a two-dimensional code according to the coding algorithm, and encryption processing is carried out on the information to be sent.
Step S202: sending the coding algorithm to the target contact person through the communication tool selected by the user so that the communication tool corresponding to the target contact person can receive the coding algorithm of the two-dimensional code and is configured and stored;
after a user selects a coding algorithm through a communication tool, the coding algorithm is sent to a target contact person selected in the communication tool group through the selected communication tool, the target contact person stores the coding algorithm in the communication tool or a client after receiving a two-dimensional code coding algorithm through a corresponding communication tool, the target contact person stores the coding algorithm through the communication tool or the client so as to receive a two-dimensional code generated by the same coding algorithm again later, decoding is carried out according to the stored coding algorithm, information is obtained, the trouble that the user needs to send the coding algorithm when the user sends two-dimensional code information to the target contact person every time is avoided, and the user can send the two-dimensional code generated by the same coding algorithm for different information to the target contact person with the stored coding algorithm.
Step S203: establishing a communication channel according to a communication tool selected by a user and a group where a target contact person is located, receiving information to be sent input by the user, and generating a two-dimensional code according to a coding algorithm corresponding to the communication tool and the target contact person;
the method comprises the steps that a user establishes a communication channel with a group where a target contact person is located through a communication tool, edits and inputs information to be sent, preferably, the information to be sent comprises at least one of character information, digital information, character information, picture information and video information, the information to be sent is generated into a two-dimensional code through a coding algorithm which is sent to the target contact person, the coding algorithm corresponds to the communication tool and the target contact person, and the information to be sent is sent to the target contact person before the two-dimensional code is generated into the two-dimensional code. In addition, preferably, the information to be transmitted is generated into the two-dimensional code according to the coding algorithm, and the information to be transmitted, the coding algorithm and the two-dimensional code are stored in a folder together so as to be convenient for a user to query.
Step S204: and sending the two-dimensional code to a group where the target contact person is located through a communication channel so that the target contact person receives the two-dimensional code through the group where the target contact person is located and decodes and displays the two-dimensional code according to a coding algorithm.
After generating a two-dimensional code by the information to be sent, the user sends the two-dimensional code to the group where the target contact person is located through the communication tool, and after the target contact person receives the two-dimensional code through the corresponding communication tool, the two-dimensional code is decoded and displayed according to the stored coding algorithm, so that the information contained in the two-dimensional code is obtained. Preferably, the method further comprises the step of sending the two-dimensional code to a group where the target contact person is located, so that the target contact person receives the two-dimensional code through the group of the corresponding communication tool and directly displays information contained in the two-dimensional code, or decoding and displaying the two-dimensional code according to a user triggered coding algorithm.
For example, the old king and the old page of the user are in the same WeChat group, the old king selects a two-dimensional code encoding algorithm, the encoding algorithm is sent to the old page through the WeChat, the old page configuration is stored in the WeChat, the old king edits a section of speech in an information editing interface of the group, an encryption option in the editing interface is clicked, the encoding algorithm which is sent to the old page before is selected, the section of speech generates a two-dimensional code by using the selected encoding algorithm, the two-dimensional code is sent to the WeChat group, and the old page views the two-dimensional code in the group through the encoding algorithm stored in the configuration to obtain information.
The secret information sending method for the communication tool corresponds to the secret information sending characteristics for group sending, and can be referred to each other, and the details are not repeated. In the above embodiment of the present invention, the user may select the target contact in the address book, so as to find the communication tool supported by the target contact, and further, the user sends the confidential information to the target contact, and the user may complete the above operation by using the traditional client address book, but at the same time, as various instant communication tools are continuously developed and applied, the social circle of people is also continuously expanded, the existing various instant communication tools include, for example, QQ, wechat, and the like, each instant communication tool generates respective address books such as a contact list and the like in the terminal device, each instant communication tool generates respective independent address books such as a contact list and the like in the terminal device, when the user needs to search the information of a certain contact, the user needs to search one by one in the friend list of each instant communication tool, which wastes the user, the contact persons in various instant messaging tools and the traditional address book are recombined and combined to form the unified address book which is provided for the user, so that the user can search the contact persons more conveniently and quickly, and a method for constructing the unified address book is described below according to the third embodiment.
Example three:
fig. 3 is a schematic flow chart of a method for constructing a unified address book according to an embodiment of the present invention, as shown in fig. 3:
preferably, the target contact selected from a client address book is identified, wherein the client address book includes: unifying the address list, wherein the method for constructing the unified address list comprises the following steps:
step S301: when more than one communication application program is detected to be installed in user equipment, the communication application programs are application programs with communication functions, a contact list in each communication application program is obtained, and the contact list comprises user information of each contact;
in a specific implementation, for example, a piece of software for managing communication Applications (APP), that is, application management software (such as a cell phone guard) is installed in the user equipment, and when a user operates the application management software in the user equipment, the application management software may be triggered to automatically search for communication applications already installed in the user equipment, obtain a list of the communication applications, and obtain a contact list of each communication application.
The contact list comprises user information of each contact, wherein the user information of the contact comprises a name of the contact and a user account, and the user account is an account used by the contact in a communication application program.
Step S302: determining the contact persons with the association relation according to the user information of each contact person in each contact person list;
based on the contact lists in each communication application acquired in step S301, assuming that there are contacts of the associated user information in the two contact lists according to the user information in each contact list, it is determined that the contacts having the associated user information are contacts having an association relationship.
In an alternative embodiment, assuming that the first communication application corresponds to a first contact list and the second communication application corresponds to a second contact list, if a first contact in the first contact list and a second contact in the second contact list have associated user information, determining that the first contact in the first contact list and the second contact in the second contact list are contacts having an association relationship;
the third communication application program corresponds to a third contact list, and if a second contact in the second contact list and a third contact in the third contact list have associated user information, the first contact in the first contact list, the second contact in the second contact list and the third contact in the third contact list are determined to be contacts with association;
and so on.
In another alternative embodiment, the weights of all communication applications in the user equipment may be determined according to a preset weight policy; and if the user information of the contact in the contact list of the other communication application program is determined to be associated with the user information of the contact in the contact list of the communication application program with the large weight value, determining that the contact in the contact list of the communication application program with the large weight value has an association relationship with the contact in the contact list of the other communication application program.
When determining the weight of all communication applications in the user equipment, determining the weight of each communication application according to the use heat of each communication application; or determining the weight of each communication application according to the information integrity of the contact in the contact list of each communication application.
Step S303: and adding the names of the contacts with the association relationship into a contact name list of the address book, and respectively adding the application identifications of all communication application programs of the contacts with the association relationship into an application identification list corresponding to the contact names in the address book.
The unified address list established by the embodiment of the invention integrates the identification of all communication application programs of each contact person and the corresponding user account, when a user needs to search the information of a certain contact person, the user does not need to search in the friend list of each instant communication application program one by one, so that the time of the user is saved, the user experience is greatly improved, and the increasingly enhanced personalized and convenient adjustment requirement of the address list information of people is met.
Example four:
FIG. 4 is a schematic structural diagram of a device for sending secret information according to an embodiment of the present invention, as shown in FIG. 4:
correspondingly, the embodiment of the invention also provides a device for sending the secret information, which comprises:
the identification module 10 is used for identifying a coding algorithm of the two-dimensional code selected by the user, a communication tool and a target contact of the communication tool;
the configuration module 11 is configured to send the coding algorithm to the target contact through the communication tool selected by the user, so that the communication tool corresponding to the target contact receives the coding algorithm of the two-dimensional code and configures and stores the coding algorithm;
the generating module 12 is configured to establish a communication channel according to a communication tool selected by a user and a target contact, receive information to be sent input by the user, and generate a two-dimensional code from the information to be sent according to a coding algorithm corresponding to the communication tool and the target contact;
and the sending module 13 is configured to send the two-dimensional code to the target contact person through a communication channel, so that the target contact person receives the two-dimensional code through a corresponding communication tool and decodes and displays the two-dimensional code according to a coding algorithm.
Preferably, the identification module 10 is further configured to:
identifying a target contact person selected from the client address list, and displaying all communication tools supported by the target contact person for a user to select according to the identified target contact person;
identifying the communication tool selected by the user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms;
and acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt.
Preferably, the identification module 10 is further configured to:
identifying and starting the communication tool, and displaying all contact persons contained in the communication tool for a user to select;
identifying a target contact person selected by a user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms;
and acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt.
Preferably, the identification module 10 is further configured to:
and identifying the weight of each coding algorithm in all the coding algorithms, and displaying all the coding algorithms according to the weight, wherein the coding algorithm with high weight is arranged at the front position, and the arrangement of the weight is positively correlated with the safety and the use heat of the coding algorithms.
Preferably, the sending module 13 is further configured to send the two-dimensional code to a target contact of the communication tool, so that the target contact receives the two-dimensional code through the corresponding communication tool and directly displays information included in the two-dimensional code, or decode and display the two-dimensional code according to a user triggered coding algorithm.
Preferably, the generating module 12 is further configured to store the information to be transmitted, the coding algorithm, and the two-dimensional code together in a folder, so that the user can query the information.
Example five:
fig. 5 is a schematic structural diagram of a secret information sending apparatus for mass texting according to an embodiment of the present invention, as shown in fig. 5:
correspondingly, the embodiment of the invention also provides a secret information sending device for group sending, which comprises:
the group sending identification module 20 is used for identifying the coding algorithm of the two-dimensional code selected by the user, the communication tool, the group of the communication tool and the target contact person in the group;
the mass sending configuration module 21 is configured to send the coding algorithm to the target contact through the communication tool selected by the user, so that the communication tool corresponding to the target contact receives the coding algorithm of the two-dimensional code and configures and stores the coding algorithm;
the group transmission generating module 22 is configured to establish a communication channel according to the communication tool selected by the user and the group where the target contact is located, receive information to be transmitted input by the user, and generate a two-dimensional code from the information to be transmitted according to a coding algorithm corresponding to the communication tool and the target contact;
and the group sending module 23 is configured to send the two-dimensional code to a group where the target contact person is located through a communication channel, so that the target contact person receives the two-dimensional code through the group where the target contact person is located and decodes and displays the two-dimensional code according to a coding algorithm.
Preferably, the mass-sending identification module 20 is further configured to:
identifying and starting the communication tools, and displaying all groups of the communication tools for the user to select;
identifying a group of communication tools selected by a user, and displaying all contact persons contained in the group of communication tools for the user to select;
identifying a target contact person selected by a user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms;
and acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt.
Preferably, the mass-sending identification module 20 is further configured to:
and identifying the weight of each coding algorithm in all the coding algorithms, and displaying all the coding algorithms according to the weight, wherein the coding algorithm with high weight is arranged at the front position, and the arrangement of the weight is positively correlated with the safety and the use heat of the coding algorithms.
Preferably, the group sending module 23 is further configured to send the two-dimensional code to a group where the target contact person is located, so that the target contact person receives the two-dimensional code through the group of the corresponding communication tool and directly displays information included in the two-dimensional code, or decode and display the two-dimensional code according to a user triggered coding algorithm.
Preferably, the mass-sending generating module 22 is further configured to store the information to be sent, the coding algorithm, and the two-dimensional code in a folder together, so that the user can query the information.
The method and the device of the invention correspond to the characteristics of the devices, and can be referred to each other, and are not described in detail herein.
The specific embodiment is as follows:
the technical solution of the embodiment of the present invention is more intuitively understood through the description of the application scenario. When the user wants to send the information to the target contact person and does not want other people except the target contact person to know the information content, the user can select to encrypt the information to generate the two-dimensional code and send the two-dimensional code to the target contact person or a group where the target contact person is located, and interestingness of communication is increased.
Scene one:
the method comprises the steps that a user's Laowang selects WeChat in a mobile phone, finds out a contact person's old page from an address list in the WeChat, and sends a coding algorithm to the old page through the WeChat, wherein the coding algorithm is selected from a coding list by the Laowang, and after the old page receives the coding algorithm through the WeChat, the coding algorithm configuration is stored in the WeChat.
The Laowang edits information for the old page through an editing interface of the WeChat, writes a section of character information, clicks an encryption option in the WeChat, pops up a coding algorithm list, generates a two-dimensional code from the edited character information through a coding algorithm which is previously sent to the old page, and sends the two-dimensional code to the old page.
And after receiving the two-dimensional code from the old Wang through the WeChat, the old Zhang decodes the two-dimensional code according to the previously configured and stored coding algorithm to acquire information.
Scene two:
the method comprises the steps that a user's Laowang selects a contact person's Laowang in an address book in a mobile phone, clicks a WeChat communication tool icon supported by the Laowang in an information column of the Laowang, directly enters a WeChat information editing interface, sends a coding algorithm to the Laowang through WeChat, the coding algorithm is selected by the Laowang through a coding list, and the coding algorithm is configured and stored in the WeChat after the Laowang receives the coding algorithm through the WeChat.
The old king and the old page are in the same WeChat group, the old king edits a segment of character information through an editing interface of the WeChat group, an encryption option in the WeChat is clicked, an encoding algorithm list is popped up, the edited character information is generated into a two-dimensional code through an encoding algorithm which is previously sent to the old page, and the two-dimensional code is sent to the WeChat group.
And after receiving the two-dimensional code sent to the WeChat group by the WeChat, the old Zhang decodes the two-dimensional code according to the previously configured and stored coding algorithm to obtain information.
In summary, according to the confidential information sending method for the communication tool and the confidential information sending method for the group sending provided by the embodiments of the present invention, it is convenient for the user to distribute the private information through the communication tool and the group sending where the communication tool is located, the information is generated into the two-dimensional code, the information is encrypted, the privacy and the security of the information are protected, the coding algorithm is sent to the target contact person, the target contact person is convenient to decode the two-dimensional code and check the information, the information of the two-dimensional code checked by other people can be effectively prevented, the privacy right of the information publisher is protected, the private communication between the user and the target contact person is facilitated, meanwhile, the information is generated into the two-dimensional code, the two-dimensional code can be directly sent to the target contact person through the communication tool, the two-dimensional code can be published in the group sending mode, the communication mode is increased, and the interest of the communication, by utilizing the method for establishing the address list in the embodiment of the invention, when a user needs to search the information of a certain contact person, the user does not need to search the friend lists of all instant messaging application programs one by one, so that the time of the user is saved, the user experience is greatly improved, and the increasingly enhanced personalized and convenient adjustment requirements of the address list information of people are met.
The above-described apparatus embodiments are merely illustrative, wherein the units described as separate components may or may not be physically separate. One of ordinary skill in the art can understand and implement it without inventive effort.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, and not to limit the same; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
A1, a method for sending secret information for communication tools, comprising:
identifying a coding algorithm of a two-dimensional code selected by a user, a communication tool and a target contact of the communication tool;
sending the coding algorithm to the target contact person through the communication tool selected by the user, so that the communication tool corresponding to the target contact person receives the coding algorithm of the two-dimensional code and configures and stores the coding algorithm;
establishing a communication channel according to the communication tool selected by the user and the target contact person, receiving information to be sent input by the user, and generating a two-dimensional code from the information to be sent according to a coding algorithm corresponding to the communication tool and the target contact person;
and sending the two-dimension code to the target contact person through the communication channel so that the target contact person can receive the two-dimension code through a corresponding communication tool and decode and display the two-dimension code according to the coding algorithm.
A2, the secret information sending method for communication tool as described in a1, identifying the encoding algorithm of the two-dimensional code selected by the user, the communication tool and the target contact of the communication tool, further comprising:
identifying the target contact person selected from the client address book, and displaying all communication tools supported by the target contact person for a user to select according to the identified target contact person;
identifying a communication tool selected by a user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein the all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms;
and acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt.
A3, the secret information sending method for communication tool as described in a1, identifying the encoding algorithm of the two-dimensional code selected by the user, the communication tool and the target contact of the communication tool, further comprising:
identifying and starting the communication tool, and displaying all contact persons contained in the communication tool for a user to select;
identifying a target contact person selected by a user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein the all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms;
and acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt.
A4, the method for sending secret information for communication tool as described in a2 or A3, displaying all supported coding algorithms of the communication tool for user selection, further comprising:
and identifying the weight of each coding algorithm in all the coding algorithms, and displaying all the coding algorithms according to the weight, wherein the coding algorithm with high weight is arranged at the front position, and the arrangement of the weight is positively correlated with the safety and the use heat of the coding algorithm.
A5 secret message sending method for communication tool as described in A4,
obtaining a coding algorithm selected by a system prompt, further comprising: and the system selects the coding algorithm with the highest weight as the coding algorithm selected by the system prompt according to the arrangement position of the coding algorithm.
A6, the secret information transmission method for communication tool as described in a4, further comprising,
and if the coding algorithm is configured and stored currently, prompting the coding algorithm which is configured and stored currently in all the coding algorithms.
The secret information sending method for communication tools as described in a7, a2, identifies the target contact person selected from a client address book, displays all communication tools supported by the target contact person for a user to select according to the identified target contact person, and further includes displaying corresponding prompt information at the same time, where the prompt information prompts the communication tools in which the coding algorithm is configured and stored.
A8, the secret information sending method for communication tool as stated in a2, identifying the target contact selected from a client address book, wherein the client address book includes: unifying the address list, wherein the method for constructing the unified address list comprises the following steps: when more than one communication application program is detected to be installed in user equipment, the communication application programs are application programs with communication functions, a contact list in each communication application program is obtained, and the contact list comprises user information of each contact;
determining the contact persons with the association relation according to the user information of each contact person in each contact person list;
adding the names of the contacts with the association relationship into a contact name list of the address book, and respectively adding the application identifications of all communication application programs of the contacts with the association relationship into an application identification list corresponding to the contact names in the address book.
A9, the secret information sending method for communication tool as described in A3, identifying and activating the communication tool, displaying all contacts contained in the communication tool for user selection, further comprising displaying corresponding prompt information at the same time, wherein the prompt information is used for prompting the contacts in which the stored coding algorithm is configured.
A10, the secret information sending method for communication tool as A1, wherein the information to be sent includes at least one of text information, number information, character information, picture information and video information.
The secret information sending method for the communication tool according to the point a11, as described in the point a1, further includes sending the two-dimensional code to a target contact person of the communication tool, so that the target contact person receives the two-dimensional code through a corresponding communication tool and directly displays information contained in the two-dimensional code, or the two-dimensional code is decoded and displayed according to a coding algorithm triggered by a user.
A12, the secret information sending method for communication tools as described in a1, generating a two-dimensional code from the information to be sent according to the encoding algorithm, and storing the information to be sent, the encoding algorithm, and the two-dimensional code together in a folder for a user to query.
B1, a secret information sending method for mass sending, comprising:
identifying a coding algorithm of a two-dimensional code selected by a user, a communication tool, a group of the communication tool and a target contact person in the group;
sending the coding algorithm to the target contact person through the communication tool selected by the user, so that the communication tool corresponding to the target contact person receives the coding algorithm of the two-dimensional code and configures and stores the coding algorithm;
establishing a communication channel according to the communication tool selected by the user and the group where the target contact person is located, receiving information to be sent input by the user, and generating a two-dimensional code from the information to be sent according to a coding algorithm corresponding to the communication tool and the target contact person;
and sending the two-dimension code to the group where the target contact person is located through the communication channel, so that the target contact person receives the two-dimension code through the group where the target contact person is located and decodes and displays the two-dimension code according to the coding algorithm.
B2, the secret information sending method for group sending as described in B1, identifying the encoding algorithm of the two-dimensional code selected by the user, the communication tool, and the group of the communication tool and the target contact in the group, further comprising:
identifying and starting the communication tool, and displaying all groups of the communication tool for a user to select;
identifying the communication tool group selected by the user, and displaying all contacts contained in the communication tool group for the user to select;
identifying a target contact person selected by a user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein the all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms;
and acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt.
B3, the method for sending private information for mass texting as described in B2, displaying all encoding algorithms supported by the communication tool for user selection, further comprising:
and identifying the weight of each coding algorithm in all the coding algorithms, and displaying all the coding algorithms according to the weight, wherein the coding algorithm with high weight is arranged at the front position, and the arrangement of the weight is positively correlated with the safety and the use heat of the coding algorithm.
B4, the secret information sending method for mass texting as described in B3, obtaining the coding algorithm selected by the system prompt, further comprising: and the system selects the coding algorithm with the highest weight as the coding algorithm selected by the system prompt according to the arrangement position of the coding algorithm.
B5, the method for sending secret information for mass texting as described in B3, further comprising, if the coding algorithm is currently configured and stored, prompting the coding algorithm currently configured and stored in the whole coding algorithms.
B6, the method for sending confidential information for mass texting according to B2, wherein the method comprises identifying the group of communication tools selected by the user, displaying all contacts included in the group of communication tools for the user to select, and further comprising displaying the corresponding prompt information at the same time, wherein the prompt information prompts the contacts in which the encoding algorithm is configured and stored.
B7, the secret information sending method for group sending as described in B1, wherein the information to be sent includes at least one of text information, numerical information, character information, picture information and video information.
B8, the secret information sending method for group sending according to B1, further comprising sending the two-dimensional code to a group where the target contact person is located, so that the target contact person receives the two-dimensional code through the corresponding group of the communication tool and directly displays information contained in the two-dimensional code, or the encoding algorithm is triggered by a user to decode and display the two-dimensional code.
B9, the secret information sending method for group sending according to B1, generating a two-dimensional code from the information to be sent according to the encoding algorithm, and storing the information to be sent, the encoding algorithm, and the two-dimensional code together in a folder for user query.
C1, a secret information transmission device, comprising:
the identification module is used for identifying a coding algorithm of the two-dimensional code selected by the user, a communication tool and a target contact person of the communication tool;
the configuration module is used for sending the coding algorithm to the target contact person through the communication tool selected by the user so that the communication tool corresponding to the target contact person can receive the coding algorithm of the two-dimensional code and configure and store the coding algorithm;
the generating module is used for establishing a communication channel according to the communication tool and the target contact person selected by the user, receiving information to be sent input by the user, and generating a two-dimensional code according to the information to be sent by a coding algorithm corresponding to the communication tool and the target contact person;
and the sending module is used for sending the two-dimension code to the target contact person through the communication channel so that the target contact person can receive the two-dimension code through a corresponding communication tool and decode and display the two-dimension code according to the coding algorithm.
C2, the secret information sending device as described in C1, the identification module further configured to:
identifying the target contact person selected from the client address book, and displaying all communication tools supported by the target contact person for a user to select according to the identified target contact person;
identifying a communication tool selected by a user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein the all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms;
and acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt.
C3, the secret information sending device as described in C1, the identification module further configured to:
identifying and starting the communication tool, and displaying all contact persons contained in the communication tool for a user to select;
identifying a target contact person selected by a user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein the all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms;
and acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt.
C4, the secret information sending device as described in C2 or C3, the identification module further configured to:
and identifying the weight of each coding algorithm in all the coding algorithms, and displaying all the coding algorithms according to the weight, wherein the coding algorithm with high weight is arranged at the front position, and the arrangement of the weight is positively correlated with the safety and the use heat of the coding algorithm.
C5, the secret information sending device according to C1, where the sending module is further configured to send the two-dimensional code to a target contact of the communication tool, so that the target contact receives the two-dimensional code through a corresponding communication tool and directly displays information contained in the two-dimensional code, or the two-dimensional code is decoded and displayed according to a coding algorithm triggered by a user.
C6, the secret information sending apparatus as described in C1, wherein the generating module is further configured to store the information to be sent, the encoding algorithm, and the two-dimensional code together in a folder for user query.
D1, a secret information transmitting apparatus for mass texting, comprising:
the group sending identification module is used for identifying a coding algorithm of the two-dimensional code selected by the user, the communication tool, the group of the communication tool and a target contact person in the group;
the group sending configuration module is used for sending the coding algorithm to the target contact person through the communication tool selected by the user so that the communication tool corresponding to the target contact person can receive the coding algorithm of the two-dimensional code and configure and store the coding algorithm;
the group sending generation module is used for establishing a communication channel according to the communication tool selected by the user and the group where the target contact person is located, receiving information to be sent input by the user, and generating a two-dimensional code according to a coding algorithm corresponding to the communication tool and the target contact person;
and the group sending module is used for sending the two-dimension code to the group where the target contact person is located through the communication channel so that the target contact person receives the two-dimension code through the group where the target contact person is located and decodes and displays the two-dimension code according to the coding algorithm.
D2, the secret information sending device for mass texting as described in D1, wherein the mass texting identification module is further configured to:
identifying and starting the communication tool, and displaying all groups of the communication tool for a user to select;
identifying the communication tool group selected by the user, and displaying all contacts contained in the communication tool group for the user to select;
identifying a target contact person selected by a user, and displaying all coding algorithms supported by the communication tool for the user to select, wherein the all coding algorithms comprise self-contained coding algorithms or externally introduced coding algorithms;
and acquiring the coding algorithm selected by the user or acquiring the coding algorithm selected by the system prompt.
D3, the secret information sending device for mass texting as described in D2, wherein the mass texting identification module is further configured to:
and identifying the weight of each coding algorithm in all the coding algorithms, and displaying all the coding algorithms according to the weight, wherein the coding algorithm with high weight is arranged at the front position, and the arrangement of the weight is positively correlated with the safety and the use heat of the coding algorithm.
D4, the secret information sending apparatus for group sending according to D1, where the group sending module is further configured to send the two-dimensional code to a group where the target contact is located, so that the target contact receives the two-dimensional code through the corresponding group of the communication tool and directly displays information contained in the two-dimensional code, or the target contact triggers the encoding algorithm to decode and display the two-dimensional code according to a user trigger.
D5, the secret information sending apparatus for mass texting as described in D1, wherein the mass texting generation module is further configured to store the information to be sent, the encoding algorithm, and the two-dimensional code together in a folder for user query.