Summary of the invention
The embodiment of the present invention provides information interacting method and the system between a kind of terminal, when facilitating, reaches the object of saving surfing flow by the information interaction of thinking terminal room.
Information interacting method between a kind of terminal that the embodiment of the present invention provides, the method comprises:
First terminal obtains the Quick Response Code that comprises the second information of terminal user, and described the second information of terminal user comprises the unencrypted user profile of the second terminal and the user profile of encryption;
First terminal sends good friend's request message according to user instruction to the second terminal, and described good friend's request message comprises the user profile of first terminal and the number information of first terminal;
Described good friend's request message is presented to user by the second terminal, and according to user instruction, send request by message and be sent to background server, and described request comprises the number information of the second terminal and the number information of first terminal by message; Or, according to user instruction, return to request failure response message to first terminal;
In the time that the second terminal will be asked by message to background server, first terminal receives and comes from the corresponding key of described background server user profile that return and encryption the second terminal, and utilize the user profile deciphering of this key to described encryption, obtain the user profile after the deciphering of described the second terminal.
Information interacting method between a kind of terminal that the embodiment of the present invention provides, the method comprises:
Background server receives the request that comes from the second terminal by message, and described request comprises the number information of the second terminal by message, and key sends the number information of indication information and first terminal;
Background server returns to key for encrypting user decrypts information to second terminal by message to first terminal according to described request.
Information interaction system between a kind of terminal that the embodiment of the present invention provides, this system comprises:
First terminal, for obtaining the Quick Response Code that comprises the second information of terminal user, described the second information of terminal user comprises the unencrypted user profile of the second terminal and the user profile of encryption; Send good friend's request message according to user instruction to the second terminal, described good friend's request message comprises the user profile of first terminal and the number information of first terminal; In the time that the second terminal is sent to background server by request by message, reception comes from the corresponding key of described background server user profile that return and encryption the second terminal, and utilize the user profile deciphering of this key to described encryption, obtain the user profile after the deciphering of described the second terminal;
The second terminal, for described good friend's request message is presented to user, and according to user instruction, sends request by message to background server, and described request comprises the number information of the second terminal and the number information of first terminal by message; Or, according to user instruction, return to request failure response message to first terminal.
The embodiment of the present invention, adopt the carrier of Quick Response Code as carrying user profile, in the time that first terminal need to be understood the user profile of the second terminal, the Quick Response Code that only need to obtain the second terminal is by software decode like this, thereby reduce the needed flow of transmission, simplified user's operation; Quick Response Code adopts the form of picture, is convenient to obtaining of terminal; At background server during to first terminal " return " key", can upgrade inspection, under there is more news in the second information of terminal user, follow key to send to first terminal the second up-to-date information of terminal user, ensured that the second information of terminal user that first terminal finally obtains is up-to-date.
Embodiment
Current exchange between communities pattern, the operating process exchanging between user terminal is too loaded down with trivial details, and time consumption is larger.Meanwhile, community users, in the time obtaining the other side's information, need to be transmitted a large amount of data from background server, and the time that user need wait for is long, also can expend very large flow.
For above-mentioned situation, the embodiment of the present invention provides information interacting method and the system between a kind of terminal, when facilitating, reaches the object of saving surfing flow by the information interaction of thinking terminal room.
As shown in Figure 1, the embodiment of the present invention provides the information interacting method between a kind of terminal, and in end side, the method comprises:
S101, first terminal obtains the Quick Response Code that comprises the second information of terminal user, and described the second information of terminal user comprises the unencrypted user profile of the second terminal and the user profile of encryption;
S102, first terminal sends good friend's request message according to user instruction to the second terminal, and described good friend's request message comprises the user profile of first terminal and the number information of first terminal;
S103, described good friend's request message is presented to user by the second terminal, and user can recognize the user profile of first terminal, and according to user instruction, send request by message to background server, described request comprises the number information of the second terminal and the number information of first terminal by message; Or, according to user instruction, return to request failure response message to first terminal;
S104, in the time that the second terminal will be asked by message to background server, first terminal receives and comes from the corresponding key of described background server user profile that return and encryption the second terminal, and utilize the user profile deciphering of this key to described encryption, obtain the user profile after the deciphering of described the second terminal.
Above-mentioned user profile is made up of user profile two parts of unencrypted user profile and encryption, the concrete content of these two kinds of user profile can need to be modified according to difference, what in general described unencrypted user profile comprised is some more basic information, for example, user name, city, the pet name, hobby etc.And in general the user profile of encrypting be more private, the more detailed information of user, for example, Real Name, age, contact method etc.Only, in the situation that user agrees to, could understand the individual privacy that the information of encrypting is conducive to protect user.
Described Quick Response Code is that preferred background server generates automatically according to user profile, and in the time that user profile changes, described Quick Response Code can regenerate.Described Quick Response Code can be the Quick Response Code of the various standards such as QR code, DM code, FZ code.
Above-mentioned is an embodiment of the inventive method flow process, adopt the carrier of Quick Response Code as carrying user profile, in the time that first terminal need to be understood the user profile of the second terminal, the Quick Response Code that only need to obtain the second terminal, by software decode, has reduced the flow that transmission needs like this.
Again due between user in the time that needs are understood mutually, only need obtain the Quick Response Code that need to understand user, compare traditional information interactive process and be simple and easy to use, simplified user's operation.
It should be noted that, the information interactive process of the information interacting method between terminal of the present invention is described with first terminal and the second terminal in the invention described above embodiment, but in real work, the inventive method can be used for the information interaction between multiple terminals, is not limited to the information interaction between two terminals in the embodiment of the present invention.
The form of the described Quick Response Code that described first terminal obtains is preferably picture format.Adopt picture format can make obtaining of terminal more convenient, the technology section of having that the conventional terminal such as for example adopt download, multimedia message, Bluetooth transmission and take pictures has can be obtained required Quick Response Code.
Due in the time that user profile changes, Quick Response Code also can change, so described good friend's request message and request are by also comprising in message: the acquisition time information of first terminal to described Quick Response Code, in order to indicate background server to judge whether described Quick Response Code is the up-to-date Quick Response Code of described the second terminal.
Further, in the time that described Quick Response Code is not the up-to-date Quick Response Code of described the second terminal, the second up-to-date information of terminal user that background server can send is to first terminal.
As shown in Figure 2, the embodiment of the present invention also provides the information interacting method between a kind of terminal, and in background server side, the method comprises:
S201, background server receives the request that comes from the second terminal by message, and described request comprises the number information of the second terminal by message, and key sends the number information of indication information and first terminal;
S202, background server returns to key for encrypting user decrypts information to second terminal by message to first terminal according to described request.
In the embodiment of the present invention, because Quick Response Code corresponding to each terminal is all that background server generates in real time according to the variation of user profile, so background server inside has and each Quick Response Code corresponding key one by one, only in the situation that the second terminal is agreed to add good friend, just return to corresponding key to first terminal, by the user profile deciphering of encryption section in Quick Response Code, make first terminal can obtain this part information.The better like this individual privacy of protecting user.
Preferably, described request is by comprising the acquisition time information of first terminal to described Quick Response Code in message, in order to indicate background server to judge whether described Quick Response Code is the up-to-date Quick Response Code of described the second terminal.
Further, background server is receiving the request that comes from the second terminal by after message, acquisition time information according to first terminal to described Quick Response Code, whether the user profile that judges described the second terminal is upgraded, if so the key of, deciphering by the second up-to-date information of terminal user with for the user profile of the encryption to the second information of terminal user is together sent to first terminal; Otherwise, only return for the key to described encrypting user decrypts information.Ensure that first terminal obtains the second up-to-date information of terminal user.
Coordinate the inventive method, the embodiment of the present invention also provides the information interaction system between a kind of terminal, and in end side, this system comprises:
First terminal, for obtaining the Quick Response Code that comprises the second information of terminal user, described the second information of terminal user comprises the unencrypted user profile of the second terminal and the user profile of encryption; Send good friend's request message according to user instruction to the second terminal, described good friend's request message comprises the user profile of first terminal and the number information of first terminal; In the time that the second terminal will be asked by message to background server, reception comes from the corresponding key of described background server user profile that return and encryption the second terminal, and utilize the user profile deciphering of this key to described encryption, obtain the user profile after the deciphering of described the second terminal;
The second terminal, for described good friend's request message is presented to user, and according to user instruction, sends request by message to background server, and described request comprises the number information of the second terminal and the number information of first terminal by message; Or, according to user instruction, return to request failure response message to first terminal.
Above-mentioned user profile is made up of user profile two parts of unencrypted user profile and encryption, the concrete content of these two kinds of user profile can need to be modified according to difference, what in general described unencrypted user profile comprised is some more basic information, for example, user name, city, the pet name, hobby etc.And in general the user profile of encrypting be more private, the more detailed information of user, for example, Real Name, age, contact method etc.Only, in the situation that user agrees to, could understand the individual privacy that the information of encrypting is conducive to protect user.
Described Quick Response Code is that preferred background server generates automatically according to user profile, and in the time that user profile changes, described Quick Response Code can regenerate.
An above-mentioned embodiment for working-flow of the present invention, adopt the carrier of Quick Response Code as carrying user profile, in the time that first terminal need to be understood the user profile of the second terminal, the Quick Response Code that only need to obtain the second terminal, by software decode, has reduced the flow that transmission needs like this.
Again due between user in the time that needs are understood mutually, only need obtain the Quick Response Code that need to understand user, compare traditional information interactive process and be simple and easy to use, simplified user's operation.
It should be noted that, the information interactive process of the information interaction system between terminal of the present invention is described with first terminal and the second terminal in the invention described above embodiment, but in real work, system of the present invention can be used for the information interaction between multiple terminals, is not limited to and only has two information interactions between terminal.
The form of the described Quick Response Code that described first terminal obtains is preferably picture format.Adopt picture format can make obtaining of terminal more convenient, the technology section of having that the conventional terminal such as for example adopt download, multimedia message, Bluetooth transmission and take pictures has can be obtained required Quick Response Code.
Due in the time that user profile changes, Quick Response Code also can change, so described good friend's request message and request are by also comprising in message: the acquisition time information of first terminal to described Quick Response Code, in order to indicate background server to judge whether described Quick Response Code is the up-to-date Quick Response Code of described the second terminal.
Further, in the time that described Quick Response Code is not the up-to-date Quick Response Code of described the second terminal, the second up-to-date information of terminal user that background server can send is to first terminal.
Information interaction system between a kind of terminal of the embodiment of the present invention, in background server side, this system comprises:
Background server, for receiving the request that comes from the second terminal by message, described request comprises the number information of the second terminal by message, key sends the number information of indication information and first terminal; Return to key for encrypting user decrypts information to second terminal by message to first terminal according to described request.
In the embodiment of the present invention, because Quick Response Code corresponding to each terminal is all that background server generates in real time according to the variation of user profile, so background server inside has and each Quick Response Code corresponding key one by one, only in the situation that the second terminal is agreed to add good friend, just return to corresponding key to first terminal, by the user profile deciphering of encryption section in Quick Response Code, make first terminal can obtain this part information.The better like this individual privacy of protecting user.
Preferably, described request is by comprising the acquisition time information of first terminal to described Quick Response Code in message, in order to indicate background server to judge whether described Quick Response Code is the up-to-date Quick Response Code of described the second terminal.
Further, background server is receiving the request that comes from the second terminal by after message, acquisition time information according to first terminal to described Quick Response Code, whether the user profile that judges described the second terminal is upgraded, if so the key of, deciphering by the second up-to-date information of terminal user with for the user profile of the encryption to the second information of terminal user is together sent to first terminal; Otherwise, only return for the key to described encrypting user decrypts information.Ensure that first terminal obtains the second up-to-date information of terminal user.
As Fig. 3, the technical scheme of entirety for a better understanding of the present invention, provides a specific embodiment below:
Server generates corresponding Quick Response Code in real time according to the user profile of each terminal;
S301, first terminal obtains the Quick Response Code that includes the second information of terminal user by taking pictures;
S302, first terminal by software incite somebody to action wherein unencrypted user profile extract, simultaneously can also eject interim interchange window and the second terminal is carried out information interchange;
S303, first terminal sends good friend's request message to the second terminal according to user instruction;
S304, the second terminal use receives and checks first terminal user profile;
S305, whether the second terminal use accepts this good friend's request message judgement;
S306, if refuse this good friend's request, returns to request failure response message to first terminal, and process finishes;
S308, if the second terminal is agreed to this good friend request, sends request by message to background server, and background server is being received after this message, judges whether the Quick Response Code existing in first terminal is up-to-date Quick Response Code;
S309, if not, returns to the second up-to-date information of terminal user and key to first terminal;
S310, the user profile part deciphering of first terminal encryption to the second up-to-date information of terminal user according to key;
S311, if so, a " return " key", first terminal is the user profile deciphering to the second terminal security by key.
S312, so far, first terminal has obtained the second whole information of terminal user.
In sum, the embodiment of the present invention, adopt the carrier of Quick Response Code as carrying user profile, like this in the time that first terminal need to be understood the user profile of the second terminal, the Quick Response Code that only need to obtain the second terminal is by software decode, thereby reduce the needed flow of transmission, simplified user's operation; Quick Response Code adopts the form of picture, is convenient to obtaining of terminal; At background server during to first terminal " return " key", can upgrade inspection, under there is more news in the second information of terminal user, follow key to send to first terminal the second up-to-date information of terminal user, ensured that the second information of terminal user that first terminal finally obtains is up-to-date.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.