The content of the invention
The information interacting method and system between a kind of terminal are the embodiment of the invention provides, is used to the information for terminal room
While interaction provides convenient, the purpose for saving surfing flow is reached.
Information interacting method between a kind of terminal provided in an embodiment of the present invention, the method includes:
First terminal obtains the Quick Response Code comprising second terminal user profile, and the second terminal user profile includes second
The user profile of the unencryption of terminal and the user profile of encryption;
First terminal sends good friend's request message according to user instruction to second terminal, and good friend's request message includes the
The user profile of one terminal and the number information of first terminal;
Good friend's request message is presented to user by second terminal, and according to user instruction, is sent request and passed through message
Send to background server, the request includes the number information of the number information of second terminal and first terminal by message;
Or, according to user instruction, request failure response message is returned to first terminal;
When second terminal is by asking by message to background server, first terminal is received and comes from the background service
The corresponding key of user profile of the encryption with second terminal that device is returned, and using the key to user's letter of the encryption
Breath decryption, obtains the user profile after the decryption of the second terminal.
Information interacting method between a kind of terminal provided in an embodiment of the present invention, the method includes:
Background server receives the request for coming from second terminal by message, and the request includes second eventually by message
The number information at end, key sends the number information of configured information and first terminal;
Background server is returned for the encryption user to second terminal by message according to the request to first terminal
The key of information decryption.
Information interaction system between a kind of terminal provided in an embodiment of the present invention, the system includes:
First terminal, for obtaining the Quick Response Code comprising second terminal user profile, the second terminal user profile bag
Include the user profile of the unencryption of second terminal and the user profile of encryption;Sending good friend to second terminal according to user instruction please
Asking message, good friend's request message includes the user profile of first terminal and the number information of first terminal;Work as second terminal
Request is sent during to background server by message, reception come from that the background server returns with second terminal plus
The corresponding key of close user profile, and the user profile decryption using the key to the encryption, obtain described second eventually
User profile after the decryption at end;
Second terminal, for good friend's request message to be presented into user, and according to user instruction, sends request and passes through
To background server, the request includes the number information of the number information of second terminal and first terminal by message to message;
Or, according to user instruction, request failure response message is returned to first terminal.
The embodiment of the present invention, using Quick Response Code as carry user profile carrier, so in first terminal it should be understood that
During the user profile of second terminal, it is only necessary to which the Quick Response Code for obtaining second terminal is decoded by software, so as to reduce biography
Flow required for defeated, simplifies the operation of user;Quick Response Code is easy to the acquisition of terminal using the form of picture;In backstage clothes
When business device is to first terminal " return " key", inspection can be updated, in the case where second terminal user profile updates, will
Newest second terminal user profile is sent to first terminal with key, it is ensured that the second terminal that first terminal finally gives
User profile is newest.
Specific embodiment
The operating process exchanged between current exchange between communities pattern, user terminal is excessively cumbersome, and time consumption compares
Greatly.Meanwhile, community users when counter-party information is obtained, it is necessary to transmit substantial amounts of data from background server, what user needed to wait for
Time is long, can also expend very big flow.
For above-mentioned situation, the information interacting method and system between a kind of terminal are the embodiment of the invention provides, be used to
While convenient for the information exchange of terminal room is provided, the purpose for saving surfing flow is reached.
As shown in figure 1, the information interacting method between a kind of terminal is the embodiment of the invention provides, in end side, the party
Method includes:
S101, first terminal obtains the Quick Response Code comprising second terminal user profile, the second terminal user profile bag
Include the user profile of the unencryption of second terminal and the user profile of encryption;
S102, first terminal sends good friend's request message, good friend's request message according to user instruction to second terminal
The number information of user profile and first terminal including first terminal;
Good friend's request message is presented to user by S103, second terminal, and user is recognized that the use of first terminal
Family information, and according to user instruction, request is sent by message to background server, the request includes second eventually by message
The number information at end and the number information of first terminal;
S104, when second terminal by ask by message to background server when, first terminal receive come from it is described after
The corresponding key of user profile of the encryption with second terminal that platform server is returned, and using the key to the encryption
User profile is decrypted, and obtains the user profile after the decryption of the second terminal;
S105, according to user instruction, returns to request failure response message to first terminal.
Above-mentioned user profile is made up of the user profile of unencryption and user profile two parts of encryption, both users letter
The specific of breath can modify comprising content according to different needs, and what in general the user profile of the unencryption was included is
Some more basic information, for example, user name, city, the pet name, hobby etc..And in general the user profile encrypted be
User is more private, more detailed information, for example, Real Name, age, contact method etc..Only in user
In the case of agreement, just will appreciate that the information of encryption is conducive to protecting the individual privacy of user.
The preferred background server of Quick Response Code is automatically generated according to user profile, is changed in user profile
When, the Quick Response Code can be regenerated.The Quick Response Code can be QR yards, DM yards, FZ yards etc. the Quick Response Code of various standards.
Above-mentioned is one embodiment of the inventive method flow, using Quick Response Code as the carrier for carrying user profile, this
Sample is in first terminal it should be understood that during the user profile of second terminal, it is only necessary to which the Quick Response Code for obtaining second terminal passes through software solution
Code, reduces the flow that transmission needs.
Again due between user, when needing to understand mutually, the Quick Response Code it should be understood that user only need to be obtained, compared to biography
The information interactive process of system is easy to use, simplifies the operation of user.
It should be noted that illustrated with first terminal and second terminal in the embodiments of the present invention terminal of the present invention it
Between information interacting method information interactive process, but in real work, the inventive method can be used for the information between multiple terminals
Interaction, it is not limited to the information exchange in the embodiment of the present invention between two terminals.
The form of the Quick Response Code that the first terminal is obtained is preferably picture format.End can be made using picture format
The acquisition at end is more facilitated, and the technology having for example with downloads, multimedia message, Bluetooth transmission and the terminal commonly used such as take pictures has section
Quick Response Code needed for can obtaining.
Because when user profile changes, Quick Response Code can also change, thus good friend's request message and please
Ask also includes by message:First terminal is used to indicate background server to judge to the acquisition temporal information of the Quick Response Code
Whether the Quick Response Code is the newest Quick Response Code of the second terminal.
Further, when the Quick Response Code is not for the newest Quick Response Code of the second terminal, background server can send
Newest second terminal user profile to first terminal.
As shown in Fig. 2 the embodiment of the present invention additionally provides the information interacting method between a kind of terminal, in background server
Side, the method includes:
S201, background server receives the request for coming from second terminal by message, and the request is included by message
The number information of second terminal, key sends the number information of configured information and first terminal;
S202, background server is returned for the encryption to second terminal by message according to the request to first terminal
The key of user profile decryption.
In the embodiment of the present invention, because the corresponding Quick Response Code of each terminal is change of the background server according to user profile
Change generation in real time, thus have inside background server with each Quick Response Code corresponding key one by one, only in second terminal
In the case of agreeing to addition good friend, corresponding key just is returned to first terminal, the user profile of part will be encrypted in Quick Response Code
Decryption, allows first terminal to obtain this partial information.So preferably protect the individual privacy of user.
Preferably, the request is by that can also include that first terminal was believed the acquisition time of the Quick Response Code in message
Breath, is used to indicate background server to judge whether the Quick Response Code is the newest Quick Response Code of the second terminal.
Further, background server is receiving the request for coming from second terminal by after message, whole according to first
The acquisition temporal information to the Quick Response Code is held, judges whether the user profile of the second terminal has updated, if it is, will
Newest second terminal user profile and the key one for the user profile decryption to the encryption in second terminal user profile
With transmission to first terminal;Otherwise, only return for the key to the encryption user profile decryption.Ensure that first terminal is obtained
Newest second terminal user profile.
Coordinate the inventive method, the embodiment of the present invention additionally provides the information interaction system between a kind of terminal, in terminal
Side, the system includes:
First terminal, for obtaining the Quick Response Code comprising second terminal user profile, the second terminal user profile bag
Include the user profile of the unencryption of second terminal and the user profile of encryption;Sending good friend to second terminal according to user instruction please
Asking message, good friend's request message includes the user profile of first terminal and the number information of first terminal;Work as second terminal
During by request by message to background server, reception comes from the encryption with second terminal that the background server is returned
The corresponding key of user profile, and the user profile decryption using the key to the encryption, obtain the second terminal
User profile after decryption;
Second terminal, for good friend's request message to be presented into user, and according to user instruction, sends request and passes through
To background server, the request includes the number information of the number information of second terminal and first terminal by message to message;
Or, according to user instruction, request failure response message is returned to first terminal.
Above-mentioned user profile is made up of the user profile of unencryption and user profile two parts of encryption, both users letter
The specific of breath can modify comprising content according to different needs, and what in general the user profile of the unencryption was included is
Some more basic information, for example, user name, city, the pet name, hobby etc..And in general the user profile encrypted be
User is more private, more detailed information, for example, Real Name, age, contact method etc..Only in user
In the case of agreement, just will appreciate that the information of encryption is conducive to protecting the individual privacy of user.
The preferred background server of Quick Response Code is automatically generated according to user profile, is changed in user profile
When, the Quick Response Code can be regenerated.
Above-mentioned is one embodiment of present system workflow, using Quick Response Code as the load for carrying user profile
Body, so in first terminal it should be understood that during the user profile of second terminal, it is only necessary to which the Quick Response Code for obtaining second terminal passes through
Software is decoded, and reduces the flow that transmission needs.
Again due between user, when needing to understand mutually, the Quick Response Code it should be understood that user only need to be obtained, compared to biography
The information interactive process of system is easy to use, simplifies the operation of user.
It should be noted that illustrated with first terminal and second terminal in the embodiments of the present invention terminal of the present invention it
Between information interaction system information interactive process, but in real work, present system can be used for the information between multiple terminals
Interaction, it is not limited to the information exchange between only two terminals.
The form of the Quick Response Code that the first terminal is obtained is preferably picture format.End can be made using picture format
The acquisition at end is more facilitated, and the technology having for example with downloads, multimedia message, Bluetooth transmission and the terminal commonly used such as take pictures has section
Quick Response Code needed for can obtaining.
Because when user profile changes, Quick Response Code can also change, thus good friend's request message and please
Ask also includes by message:First terminal is used to indicate background server to judge to the acquisition temporal information of the Quick Response Code
Whether the Quick Response Code is the newest Quick Response Code of the second terminal.
Further, when the Quick Response Code is not for the newest Quick Response Code of the second terminal, background server can send
Newest second terminal user profile to first terminal.
Information interaction system between a kind of terminal of the embodiment of the present invention, in background server side, the system includes:
Background server, the request of second terminal is come from for receiving by message, and the request is included by message
The number information of second terminal, key sends the number information of configured information and first terminal;Message is passed through according to the request
The key for the encryption user profile decryption to second terminal is returned to first terminal.
In the embodiment of the present invention, because the corresponding Quick Response Code of each terminal is change of the background server according to user profile
Change generation in real time, thus have inside background server with each Quick Response Code corresponding key one by one, only in second terminal
In the case of agreeing to addition good friend, corresponding key just is returned to first terminal, the user profile of part will be encrypted in Quick Response Code
Decryption, allows first terminal to obtain this partial information.So preferably protect the individual privacy of user.
Preferably, the request is by that can also include that first terminal was believed the acquisition time of the Quick Response Code in message
Breath, is used to indicate background server to judge whether the Quick Response Code is the newest Quick Response Code of the second terminal.
Further, background server is receiving the request for coming from second terminal by after message, whole according to first
The acquisition temporal information to the Quick Response Code is held, judges whether the user profile of the second terminal has updated, if it is, will
Newest second terminal user profile and the key one for the user profile decryption to the encryption in second terminal user profile
With transmission to first terminal;Otherwise, only return for the key to the encryption user profile decryption.Ensure that first terminal is obtained
Newest second terminal user profile.
Such as Fig. 3, in order to be better understood from the technical scheme of entirety of the invention, a specific embodiment is provided below:
Server generates corresponding Quick Response Code in real time according to the user profile of each terminal;
S301, first terminal passes through the Quick Response Code for obtaining and including second terminal user profile of taking pictures;
S302, first terminal is extracted the user profile of wherein unencryption by software, while can also eject facing
When exchange window and second terminal carry out information interchange;
S303, first terminal sends good friend's request message to second terminal according to user instruction;
S304, second terminal user receives and checks first terminal user profile;
S305, second terminal user is made whether to receive good friend's request message judgement;
S306, if refusing good friend request, returns to request failure response message to first terminal, and process terminates;
S307, if second terminal agrees to that the good friend asks, sends request by message to background server, background service
Device after receiving that message, judges whether Quick Response Code present in first terminal is newest Quick Response Code;
S308, if it is, the newest second terminal user profile of return and key are to first terminal;
S310, first terminal is solved according to key to the user profile part of the encryption of newest second terminal user profile
It is close;
S309, if not, only " return " key";
S311, first terminal is decrypted by the user profile that key maintains secrecy to second terminal;
S312, so far, first terminal obtains whole second terminal user profile.
In sum, the embodiment of the present invention, using Quick Response Code as the carrier for carrying user profile, so in first terminal
It should be understood that during the user profile of second terminal, it is only necessary to which the Quick Response Code for obtaining second terminal is decoded by software, so that
Flow required for reducing transmission, simplifies the operation of user;Quick Response Code is easy to the acquisition of terminal using the form of picture;
When background server is to first terminal " return " key", inspection can be updated, be updated in second terminal user profile
In the case of, newest second terminal user profile is sent to first terminal with key, it is ensured that first terminal finally gives
Second terminal user profile be newest.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more
The shape of the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions
The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger
Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention
God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising these changes and modification.