WO2009074037A1 - An instant communication method, device and system - Google Patents
An instant communication method, device and system Download PDFInfo
- Publication number
- WO2009074037A1 WO2009074037A1 PCT/CN2008/073045 CN2008073045W WO2009074037A1 WO 2009074037 A1 WO2009074037 A1 WO 2009074037A1 CN 2008073045 W CN2008073045 W CN 2008073045W WO 2009074037 A1 WO2009074037 A1 WO 2009074037A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- information
- friend
- shared
- request
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Definitions
- the present invention relates to Internet technologies, and in particular, to an instant messaging method, device and system. Background of the invention
- IM Instant Messaging
- the principle of instant messaging technology is to achieve peer-to-peer real-time information transmission over the Internet, including text, images, voice, video and files.
- Instant messaging is very interactive, and with its real-time online interaction feature, it can provide people with voice/video chat, transfer files, send E-mail, multi-person chat, Presence Awareness and more. And the price is cheap (except for the Internet access fee is almost free), for most people, communication through instant messaging is more economical than telephone communication, so it is popular with netizens.
- Instant Messager is increasingly rich in features, including email, blogs, music, TV, games, and search.
- the instant messaging tool is no longer a mere chat tool. It has evolved into an integrated information platform that integrates communication, information, entertainment, search, e-commerce, office collaboration and corporate customer service.
- instant messaging technology has become an important part of people's lives.
- the instant messaging user can add other users who are frequently contacted to the list of friends (or contacts), and obtain the online/offline status of the friend through the presence presentation technology in the instant communication, and initiate a real-time conversation with the user at any time, thereby achieving the information.
- instant messaging tools In order to facilitate the user to operate multiple contacts, instant messaging tools often provide friend management functions, including the addition, classification and deletion of friends.
- instant messaging tools such as QQ It also provides a "user group" feature that allows organizations to organize multiple users to participate in the conversation.
- the existing instant messaging system there are usually two ways for a friend to find and discover: one is that the user realizes the discovery of the friend by viewing the online user list provided by the server of the instant messaging system; the other is that the user uses other means, For example, the information disclosed by a friend, a web, or the like obtains identity information such as an ID or a nickname of another user's instant communication, and the identity information is input to the server for retrieval to realize the discovery of the friend.
- identity information such as an ID or a nickname of another user's instant communication
- a server provided by another embodiment of the present invention includes a transceiver unit and an information providing unit, wherein
- the transceiver unit is configured to receive, by the client device, a request that the first user acquires the shared friend information of the second user, and acquire, by the first user, the shared friend information of the second user.
- the request is provided to the information providing unit, and the shared friend information of the second user provided by the information providing unit is sent to the client device for providing to the first user;
- the information providing unit is configured to: Acquiring the shared friend information of the second user according to the request that the first user obtains the shared friend information of the second user that is provided by the transceiver unit, and providing the shared friend information of the second user to the transceiver unit.
- a client device provided by still another embodiment of the present invention includes a user interface unit, a sharing request unit, and a transceiver unit:
- the user interface unit is configured to receive an instruction that the first user views the shared friend information of the second user, and send the instruction to the sharing requesting unit, and provide the shared friend information of the second user provided by the sharing requesting unit to the Said first user;
- the sharing requesting unit is configured to receive, by the user interface unit, an instruction that the first user views the second user sharing the friend information, and according to the instruction, generate, by the first user, a request for acquiring the shared friend information of the second user, and Sending the request to the server through the transceiver unit, and receiving the shared friend information of the second user provided by the transceiver unit;
- the transceiver unit is configured to send, by the first requesting user, the request that the first user acquires the shared friend information of the second user to the server, obtain the shared friend information of the second user provided by the server, and provide the shared friend information to the share Request unit.
- a client device configured to send, to the server, a request for the first user to obtain the second user to share the friend information, and obtain the shared friend information of the second user provided by the server, and display the information to the first user;
- a server configured to receive, by the client device, the first user to obtain a second user sharing friend information request, and provide the second user's shared friend information to the client device.
- the instant communication method, server, and guest provided by the present invention
- the client device and the system consider the social association between users, and the user conveniently finds other friends or user groups by sharing friends and visiting other friends, thereby increasing the interest and social relevance of the instant messaging system, which is beneficial to the user equipment and the system.
- FIG. 1 is a structural diagram of an instant messaging system according to an embodiment of the present invention.
- FIG. 2 is a flowchart of an instant messaging method according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram of a client device according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of a server according to an embodiment of the present invention. Mode for carrying out the invention
- a user may share information of his or her friends (or contacts) and/or user groups, hereinafter collectively referred to as shared friend information, and other users may view (or access) the shared friend information of the user. Find friends, thereby increasing the interest and social relevance of the instant messaging system, and realizing an instant messaging system with social relationship.
- the embodiment of the present invention adds a device for managing the shared friend information of the user in the instant messaging system, and the device may be a functional unit added in the existing server, or may be a A separate device; a unit for acquiring and displaying the shared friend information information of the user is also correspondingly added to the client device.
- FIG. 1 is a structural diagram of an instant messaging system according to an embodiment of the present invention.
- the instant messaging system of this embodiment includes a client device 120 and an instant messaging server 160, hereinafter referred to as the server 160.
- the server 160 There may be a large number of client devices in the actual system, and there may be more than one server.
- client devices 120 and servers 160 we have a certain pair of client devices 120 and servers 160. This example describes the functions and business process of each system component.
- the client device 120 includes a shared control unit 150 in addition to the existing components.
- the sharing control unit 150 is in communication with the server 160, and is configured to implement a function related to the sharing operation of sharing the friend information, for example, to request the server to acquire the shared friend information of a certain user, and provide the shared friend information provided by the server to the used. User of client device 120, etc.
- Server 160 may include a sharing management unit 180 in addition to existing components.
- the sharing management unit 180 is mainly responsible for receiving the request for acquiring the shared friend information of the user sent by the client device 120, and providing the shared friend information of the user saved in the server 160 to the client device 120.
- the shared friend information may be an identifier of a friend and/or a user group shared by the user, a user nickname, a group name, basic user information, such as age, gender, occupation, city, and the like.
- the instant messaging system can provide the information of the user's friends and/or user groups to other users without restriction to implement an instant communication system with social relationship.
- the above system is simple to implement and easy to maintain, and is not flexible in configuration and cannot protect user privacy.
- the following embodiment adds a sharing setting process to restrict the sharing operation of shared buddy information.
- the sharing control unit 150 in the client device 120 may further send the sharing setting information input by the user to the server 160.
- the sharing management unit 180 in the server 160 may further be used to maintain the sharing setting information of the user.
- the interaction process is as follows.
- the sharing control unit 150 in the client device 120 prompts the user to input sharing setting information, and transmits the sharing setting information of the user to the server 160.
- the sharing management unit 180 in the server 160 holds the sharing setting information transmitted by the client device 120.
- the sharing control unit 150 requests the server 160 to acquire shared buddy information of another user.
- the sharing management unit 180 determines whether the user of the client device 120 has the right to access the shared friend information of the other user.
- the sharing management unit 180 may be based on user attributes carried by the client device 120 in the request for acquiring the shared friend information, such as a user ID, etc., and/or sharing setting information of the requested user, such as sharing rights set by the user. Etc., to determine whether the user has access to another user to share friend information. If the user has access rights, the corresponding shared friend information is sent to the client device 120 used by the user. Otherwise, the user's request is rejected, and the request failure message may be returned to the client device 120 or left unprocessed.
- the shared friend information such as a user ID, etc.
- sharing setting information of the requested user such as sharing rights set by the user. Etc., to determine whether the user has access to another user to share friend information. If the user has access rights, the corresponding shared friend information is sent to the client device 120 used by the user. Otherwise, the user's request is rejected, and the request failure message may be returned to the client device 120 or left unprocessed.
- the sharing control unit 150 may also request the server 160 to add the shared friend of another user as a friend according to the shared friend information provided by the server 160.
- a new unit may be added to the server 160 to implement the share-based buddy authentication function, and the existing buddy authentication unit 170 in the server 160 may be extended to implement the shared-based buddy authentication function.
- the buddy authentication process needs to provide the buddy association information, that is, the requesting user finds the requested user.
- the route so that the requested user can know the way the user who made the request finds, such as having a common friend, can increase the chance of adding a friend.
- the existing friend authentication unit 170 If it is implemented by the existing friend authentication unit 170, it is required to add a friend-based authentication function based on sharing, which is used to receive the friend association information carried in the request of the user to add a friend, and provide the information to the user who is requested to be added.
- FIG. 2 is a flowchart of an instant messaging system according to an embodiment of the present invention, wherein a dotted line indicates the implementation An optional step in the example.
- the present invention is described more clearly by taking the interaction process between the client device 1, the client device 2, and the instant messaging server, hereinafter referred to as the server, as an example.
- Step 220 The client device 1 sends the sharing setting information of the first user to the server.
- the sharing setting information may also include a sharing indication, and the sharing indication may be an operation of setting, canceling, modifying, and the like. These operations can also be implemented by different messages, by defining new messages, or by using existing messages to carry information about these operations.
- a simplest embodiment is that the user sends sharing setting information including a setting indication, the server sets the user to allow sharing all of his friends and/or user groups; the user sends sharing setting information including a cancellation indication, and the server sets the user not Allow sharing of their friends and/or user groups.
- the sharing setting information may also include identity information of the first user, that is, information identifying the instant communication user who initiated the sharing operation in the system.
- the sharing setting information may also not contain user identity information, and the server may obtain the identity information of the user according to the method in the prior art.
- the sharing settings information can also include sharing options as an additional attribute for this sharing.
- the sharing option may include one or more entries, each of which contains, for example, shared friend information and access rights of the shared friend information, such as shared objects, shared validity time, sharing depth, etc., may be extended by attribute values.
- Sharing buddy information provides the user with information about friends or groups of users that are exposed to other users. The user may also choose to share all the friends and user groups, and the client device 1 may send the shared friend information specified by the user to the server in the form of a list of user identity information and/or a list of identification information of the user group.
- the shared object is a friend or a user group designated by the user to allow access to the shared friend information, and may also choose to disclose the shared friend information to all users.
- Sharing effective time indicates the effective time of this sharing Wai, such as a week, a year, etc.
- the shared depth indicates the maximum number of layers of a friend relationship that allows access to the shared friend information, that is, the maximum number of people separated by the two users. For example, user A wants to share his three friends X, Y, and Z to friend B, and only allows friends of B and B to access the shared friend information (the premise that friend B can access the shared friend information is B to The friend shares the information of user A), then the user A's sharing operation: the shared friend information is X, Y, and Z, the shared object is B, and the sharing depth is set to 2. Other properties can also be included in the sharing options, no longer here - enumeration.
- Step 230 The sharing management unit in the server saves the sharing setting information of the first user sent by the client device 1, and the sharing setting information may be stored in the form of a file or a database.
- the server may return the processing result of the first user sharing setting information to the client device 1 through step 226.
- the sharing setting information of the first user has been set in the server, and the shared friend information is available to other users in the system.
- Step 240 The second user requests the server to view the shared friend information of the first user through the client device 2.
- the request includes the identity information of the user to be viewed, that is, the identity information of the first user, and may also include user association information experienced by the second user during the viewing process.
- user A and B are friends
- B and C are friends
- C and D are friends.
- D finds A through the above friend relationship and wants to view A's shared friend information
- the user association information that needs to be submitted is D - C - B - A.
- Step 250 The sharing management unit in the server searches for the saved sharing configuration information of the first user according to the identity information of the second user carried by the request and the identity information of the requested user, that is, the identity information of the first user, if not found.
- the sharing setting information of the first user or the shared friend information in the sharing setting information is empty, indicating that the first user does not set the sharing friend, and directly rejects the viewing request of the second user; if the sharing setting information is found and the If the shared friend information is not empty, the sharing setting information may be sent to the second user.
- the share setting information further includes a sharing option, the sharing option may further determine whether the second user has the right to access the shared information of the first user according to the sharing option.
- the sharing management unit needs to determine separately:
- the shared object in the sharing option includes the second user, and if not included, determining that the second user does not have permission, and rejecting the viewing request of the second user;
- the above determining steps may be performed sequentially, and are independent of the order of execution.
- the judgment process is aborted, and the request of the second user is rejected; otherwise, the judgment of other conditions is continued, if the second user A second user is allowed access if all conditions are met.
- Step 260 The sharing management unit determines whether to allow the second user to access according to the above process, and returns the shared friend information specified by the first user if allowed, otherwise the return request fails or is not processed.
- the sharing management unit determines that the second user is allowed to access according to the above process, the shared friend information of the first user is provided to the second user.
- the shared friend information in the sharing setting information of the first user may be sent to the client used by the second user.
- the shared friend letter The information may be the identity of the buddy and/or user group that the first user is allowed to share (eg, IM user number), the name (eg, user nickname or group name), basic information of the user (eg, gender, age, city, occupation) Wait).
- the sharing management unit provides the shared friend information of the first user to the client device of the second user in the form of a user/group identification list, and is displayed by the client device to the second user, for example, the first user that can be displayed.
- the list is displayed in the attribute information, or it is displayed in a newly generated window.
- the client device may also send a request for acquiring the user and/or group attribute information to the server according to the instruction of the second user, for example, providing a button or a link for the second user for each item of the list, when the user clicks on a certain
- the client device sends a request to the server to obtain attribute information of the user or group.
- the server may provide the attribute information of the user or group according to the public option set by the user or the group for its attribute information (for example, public to everyone, public only to friends, undisclosed, etc.) The client device of the second user.
- the attribute information of the user or the group may be basic information such as the age, gender, city, occupation, etc. of the user, or may be a phone number, a mobile phone number, an E-mail address, a blog address, a work unit name, and the like. data. Since the user can set different access rights for different materials, the server needs to determine which user/group information is allowed to be accessed by the second user, and provides information that the second user accesses to the client device of the second user.
- the determination based on the sharing depth in the above embodiment will be described below by way of a specific example.
- user A and B are friends
- B and C are friends
- C and D are friends
- B sets the information of friend A to user C.
- the sharing depth is 2.
- C can be accessed through the above process.
- the sharing management unit determines the sharing depth 2 in the sharing setting information of B to C, and determines User D accesses this entry, thereby returning user information A to user D. If users D and E are friends with each other, and friend C is shared with user E, user E cannot obtain shared friend information of B according to the sharing depth limit. It can be seen that the depth of sharing reflects the user's compromise between sociality and privacy protection. The premise of the above is that each link of the friend association has the operation of sharing the friend, otherwise the view of the shared friend cannot continue to go deep.
- One way for the sharing management unit to determine whether to allow viewing is the friend association information obtained according to the friend association information submitted by the user or the user history viewing information saved by the server.
- the relationship between users presents a mixed network structure.
- each user in the system is regarded as a node, and the friend relationship between the two users is connected by one side, and the degree of all sides in the figure is set to 1, and there is no edge between the users without the friend relationship, thus, the user
- the problem of the depth of the friend association between the two is transformed into the shortest path problem between the two points in the connected graph.
- This problem has a very mature solution in the theory of graphs.
- the D algorithm can be used to find the shortest path between any two points. The specific description of the algorithm will not be repeated here, and those skilled in the art should be aware of the implementation of the related algorithms here, and there are many related materials.
- the second user may not have to submit the user association information of the viewing experience in submitting the request to view the shared friend, and the server is based on the identity information of the first user and the second user in the corresponding user.
- the relationship between the two users is calculated in the relationship diagram to determine whether the second user meets the requirement of the shared depth set by the first user.
- this solution is relatively complicated.
- the number of users of the instant messaging system is huge, and it is still expanding further.
- the number of nodes in the corresponding user relationship diagram is also not It is often large, and the relationship between users is complicated. The maintenance of such a graph will lead to huge system resources and the calculation time will be long, which is not economical.
- the user association including the viewing experience in the request for viewing the shared friend may be adopted, and the server only judges the association depth of the user according to the user association, thereby preventing the server from maintaining a large and complicated user relationship, thereby reducing the server burden.
- the user setting the shared friend information may be spontaneous or may be requested.
- the server may request the user to set the shared friend in step 218, and the request may also be an advertisement.
- the server If the process is triggered by the second user's view of the shared friend request, after receiving the sharing setting information of the first user and processing, the server returns to the second user to request to view the result of the shared friend, if the second If the user does not satisfy the shared access rule set by the first user, the second user is notified that the request fails.
- the user can also request to modify their sharing settings information, such as adding, deleting, updating their shared friend information, modifying the sharing options, etc.
- modify their sharing settings information such as adding, deleting, updating their shared friend information, modifying the sharing options, etc.
- the operation is similar to the above process, and the request is submitted to the sharing management unit in the server and waits for a response.
- the message interaction process is the same as that of Figure 2.
- the above-mentioned modified sharing setting information request may be implemented by using other independent messages, or may be used to set the same message in the step 220 of FIG. 2, wherein the attribute values in the corresponding sharing setting information may be different according to requirements.
- the value for example, the operation of adding, deleting, and updating the shared friend information is implemented by using the shared friend information in the sharing setting information, and the user submits the buddy list or the group list that needs to be shared, and the server replaces the shared buddy information received by the server.
- the shared friend information of the user previously stored; or, the sharing instruction in the sharing setting information may be used to take different values, for example:
- sharing friend information is not It must be a list of all users or a list of user groups that the user needs to share at this time, and can be expressed in increments. For example, if the share command value is "increase", the shared friend information may include only the user added.
- the sharing buddy list or the user group list the server adds the shared buddy information on the basis of the currently stored shared buddy information; the process of deleting the processing is similar to the above process, and is not described again;
- the social information of the user who requests the request such as the friend association relationship, needs to be added to the user authentication process to enrich the sociality and improve the user interaction. The probability of passing the certification.
- the second user finds the third user in the shared information of the other party through the client device, the second user may be selected to add the third user as a friend.
- the second user finds the third user in the shared information of the other party through the client device, the second user may be selected to add the third user as a friend.
- there are two ways to add a friend one is to add through a common process, that is, the second user finds the third user by viewing the operation of sharing the friend information, and records the identity information of the third user, exits the sharing operation, and initiates Regular add friend process;
- the other is that when the second user views the shared information of the other party through the client device, the second user adds a friend request to the friend authentication unit in the server in the sharing operation process, including the identity information of the target user (such as the third user) and the current time. View user-related information experienced during the process.
- the friend authentication unit transmits the request information including the second user information and the user association information to the client device of the target user (ie, the third user).
- the server rejects the added friend of the first user according to the processing message returned by the third user according to the processing manner in the prior art.
- the request is either sent to the first user to add a friend success message and update the second user and the third user's buddy list.
- the user before performing a friend search operation, the user can set up two-way authentication with the server through the client device to ensure the security and reliability of subsequent communication.
- This type of authentication technique has been applied in the prior art, and those skilled in the art will understand how to combine this process with the technical solution provided by the present invention.
- FIG. 3 is a schematic diagram of a client device 30 according to an embodiment of the present invention.
- the client device 30 mainly includes:
- the user interface unit 320 is configured to receive an operation instruction of the user and to communicate information to the user;
- the sharing control module 350 is configured to complete functions related to the sharing operation, including the sharing request unit 360 and the sharing setting unit 370;
- the transceiver unit 380 is configured to perform information interaction with the server.
- the user interface unit 320 receives an indication that the first user sets the sharing setting information and transmits it to the sharing setting unit 370 in the sharing control module 350.
- the sharing setting unit 370 is for processing the sharing setting information provided by the user interface unit 320, and supplies the sharing setting information to the transceiving unit 380.
- the sharing setting information includes shared friend information of the first user.
- the transceiving unit 380 transmits the sharing setting information transmitted by the sharing setting unit 370 to the server.
- the user interface unit 320 receives an instruction that the first user views the shared friend information of the second user, and sends the instruction to the sharing request unit 360 in the sharing control module 350.
- the sharing request unit 360 receives an instruction that the first user views the second user sharing the friend information sent by the user interface unit 320, and generates a request for the first user to acquire the shared friend information of the second user according to the instruction, where the request includes the first user. And sending the request to the transceiving unit 380 with the identity information of the second user and other possible information.
- the transceiver unit 380 sends a request for the first user to obtain the shared friend information of the second user sent by the sharing request unit 360 to the server; the shared friend information or the rejection view message of the second user sent by the receiving server is sent to the sharing request unit 360.
- the sharing request unit 360 sends the shared friend information of the second user sent by the transceiver unit or rejects the viewing message, performs corresponding processing, and sends it to the user interface unit 320;
- the user interface unit 320 provides the shared friend information transmitted by the sharing request unit 360 to the first user.
- FIG. 4 is a schematic diagram of a server 40 according to an embodiment of the present invention.
- the server 40 mainly includes:
- the sharing management module 450 is configured to manage and maintain sharing information of the user, including the information storage unit 430, the information providing unit 460, and the rights management unit 470;
- the transceiver unit 480 is configured to interact with each client device in the instant messaging system; the friend authentication unit 420, in addition to being used to complete the functions in the prior art, may also be selected to perform function expansion for implementing the friend based Shared friend authentication feature.
- the transceiver unit 480 receives the sharing setting information of the user sent by the client device and sends it to the information storage unit 430 in the sharing management module 450;
- the information storage unit 430 stores the sharing setting information of the user sent by the transceiver unit 480.
- the transceiver unit 480 receives the request of the first user to acquire the shared friend information of the second user and sends the information to the information providing unit in the sharing management module 450.
- the information providing unit 460 searches for the sharing setting information of the second user in the information storage unit 430 according to the request that the first user acquires the shared friend information of the second user sent by the transceiver unit 480, if the sharing setting information is not found or found.
- the sending and receiving unit 480 sends a request failure message to the client device or does not process; if found, sends the shared buddy information of the second user to the client device through the sending and receiving unit 480 or The shared setting information of the found second user is sent to the rights management unit 470.
- the rights management unit 470 determines whether the first user has the right to access the second user sharing the friend information according to the sharing setting information of the second user provided by the information providing unit, and provides the determination result to the rights management unit 470.
- the privilege management unit 470 sends the shared buddy information of the second user to the client device through the transceiver unit 480, and if there is no privilege, sends a request failure message to the client device through the transceiver unit 480 or does not process;
- the transceiving unit 480 transmits the information transmitted by the sharing management unit 450 to the client device that transmitted the request.
- the transceiver unit 480 can also receive the second user cancel sharing request sent by the client device and provide the information to the information storage unit 430. Then, the information storage unit 430 acquires the cancel sharing request and deletes the sharing setting information of the second user.
- the transceiver unit 480 can also receive the second user modification sharing setting information request sent by the client device and provide the information to the information storage unit 430. Then, the information storage unit 430 acquires the modified sharing setting information request, and uses the modified sharing setting information request. The carried sharing setting information replaces the saved sharing setting information of the second user, or the content in the saved sharing setting information of the second user is modified according to the modification instruction in the modified sharing setting information request. If the user proposes to add another friend's friend as his or her friend while viewing the shared friend information, the user sends a request to add a friend based on the sharing to the server through the used client device.
- the transceiver unit 480 receives the share-based add friend request sent by the client device, and sends it to the friend authentication unit 420;
- the buddy authentication unit 420 generates a buddy authentication request according to the information carried in the request according to the sharing-added friend request sent by the transceiver unit 480, and sends the buddy authentication request to the client device of the requested user through the transceiver unit 480;
- the transceiver unit 480 sends the friend authentication request sent by the friend authentication unit 420 to the client device of the requested user; receives the authentication pass message or the authentication rejection message sent by the client device of the requested user, and sends the message to the friend authentication unit 420;
- the requesting client device sends a add friend success message and updates the user's buddy list or sends a add friend failure message.
- the instant messaging server may be an independent server device, or may be a module of other devices. As long as the function of the instant messaging server in the embodiment of the present invention can be implemented, the server belongs to the category of the server according to the present invention. .
- the instant messaging method, the server, the client device and the system of the present invention take into consideration the social association between users, and the components with the shared friend management control function are added to the system device, so that Users can access other friends' ways to find more friends or user groups more conveniently, increase the interest and social relevance of the instant messaging system, and help to fully utilize the functions of the instant messaging platform.
- the privacy of the user can also be protected, that is, the user can set the shared content and the object autonomously, and can also set the access restriction on the shared information according to his or her own wishes.
- the instant messaging system provided by the embodiment of the present invention is more similar to the real interpersonal society, and can solve the "reputation, problem, and establish good communication and cooperation among the students, the work, and the business cooperation.”
- people can realize personal data processing, personal social relationship management, and trusted business information sharing, and can safely share their own information and knowledge to trusted people, and use trust relationships to expand their communication experience and achieve even more. Valuable communication and collaboration.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
An instant communication method is provided, and the key is in that the server receives the request sent by the first user terminal device that the first user obtains the sharing friend information of the second user, and provides the sharing friend information of the second user to the first user terminal, supplying the first user terminal for providing to the first user. By above method, the user can search other user or user group according to the relativity of the social relation between the users, increasing the interest and the degree of social relation in the instant communication system, helping to fully use the function of the instant communication plane. A server, a user terminal device and an instant communication system are also provided.
Description
一种即时通信方法、 设备和系统 Instant communication method, device and system
技术领域 Technical field
本发明涉及互联网技术,特别涉及一种即时通信方法、设备和系统。 发明背景 The present invention relates to Internet technologies, and in particular, to an instant messaging method, device and system. Background of the invention
近几年来, 由于人们越来越重视信息和沟通的及时性, 即时通信技 术( Instant Messaging, IM )作为一种能够即时通过互联网发送和接收消 息等的技术, 自面世以来受到人们的普遍青睐, 发展迅速。 In recent years, as people pay more and more attention to the timeliness of information and communication, Instant Messaging (IM), as a technology that can send and receive messages instantly through the Internet, has been widely favored since its introduction. develop rapidly.
即时通信技术的原理是通过互联网实现点对点的实时信息传输, 包 括文本、 图像、 语音、 视频和文件等信息。 即时通信的互动性非常强, 凭借其实时在线交互的特性可以为人们提供语音 /视频聊天、 传送文 件、 发送 E-mail、 多人聊天、 在线感知( Presence Awareness )等功能。 而且价格便宜 (除了上网费几乎免费), 对于大多数人来说, 通过即时 通信进行沟通比电话沟通更经济, 因而受到网民的欢迎。 随着互联网技 术不断发展, 即时通信工具( Instant Messager ) 的功能日益丰富, 逐渐 集成了电子邮件、 博客、 音乐、 电视、 游戏和搜索等多种功能。 即时通 信工具不再是一个单纯的聊天工具, 它已经发展成集交流、 资讯、娱乐、 搜索、电子商务、办公协作和企业客户服务等为一体的综合化信息平台。 The principle of instant messaging technology is to achieve peer-to-peer real-time information transmission over the Internet, including text, images, voice, video and files. Instant messaging is very interactive, and with its real-time online interaction feature, it can provide people with voice/video chat, transfer files, send E-mail, multi-person chat, Presence Awareness and more. And the price is cheap (except for the Internet access fee is almost free), for most people, communication through instant messaging is more economical than telephone communication, so it is popular with netizens. As Internet technology continues to evolve, Instant Messager is increasingly rich in features, including email, blogs, music, TV, games, and search. The instant messaging tool is no longer a mere chat tool. It has evolved into an integrated information platform that integrates communication, information, entertainment, search, e-commerce, office collaboration and corporate customer service.
随着社会与互联网技术的发展 , 即时通信技术已经成为人们生活的 重要组成部分。 即时通信用户可以把经常联系的其他用户加入到好友 (或联系人)名单, 通过即时通信中的状态呈现(Presence )技术获知 好友的在线 /离线状态, 随时与之发起实时对话, 从而达到了信息即时交 流的目的。 为了便于用户操作多个联系人, 即时通信工具常提供好友管 理功能, 包括好友的添加、 归类和删除等。 另外, QQ等即时通信工具
还提供 "用户群组"的功能 , 允许组织多个用户共同参与对话。 With the development of social and Internet technologies, instant messaging technology has become an important part of people's lives. The instant messaging user can add other users who are frequently contacted to the list of friends (or contacts), and obtain the online/offline status of the friend through the presence presentation technology in the instant communication, and initiate a real-time conversation with the user at any time, thereby achieving the information. The purpose of instant communication. In order to facilitate the user to operate multiple contacts, instant messaging tools often provide friend management functions, including the addition, classification and deletion of friends. In addition, instant messaging tools such as QQ It also provides a "user group" feature that allows organizations to organize multiple users to participate in the conversation.
现有的即时通信系统中, 好友的查找与发现通常有两种方式: 一种 是用户通过查看即时通信系统的服务器提供的在线用户列表来实现好 友的发现; 另一种是用户通过其它途径, 例如朋友告知、 web等场合公 开的信息等得到其他用户的即时通信的 ID或昵称等身份信息, 再将该 身份信息输入服务器进行检索, 来实现好友的发现。 In the existing instant messaging system, there are usually two ways for a friend to find and discover: one is that the user realizes the discovery of the friend by viewing the online user list provided by the server of the instant messaging system; the other is that the user uses other means, For example, the information disclosed by a friend, a web, or the like obtains identity information such as an ID or a nickname of another user's instant communication, and the identity information is input to the server for retrieval to realize the discovery of the friend.
根据美国著名社会心理学家米尔格伦于 20世纪 60年代提出的六度 理论 ( Six Degrees of Separation ) , 一个人与任何一个陌生人之间所间隔 的人不会超过六个, 也就是说, 最多通过六个人这个人就能够认识任何 一个陌生人, 这从一个角度说明人与人之间社会关联关系的巨大潜力。 而现有的即时通信技术中的查找好友的方式过于简单, 未能充分挖掘用 户之间社会关系的关联性。 发明内容 According to the Six Degrees of Separation proposed by the famous American social psychologist Milgren in the 1960s, there will be no more than six people separated from any stranger, that is, The ability to know any stranger through a maximum of six people explains the great potential of social connections between people from one perspective. However, the way to find friends in the existing instant messaging technology is too simple to fully exploit the relevance of social relationships among users. Summary of the invention
有鉴于此, 本发明的目的在于提供一种即时通信方法、 服务器、 客 户端设备和系统 , 使用户可以根据用户之间社会关系的关联性查找到其 他用户。 In view of the above, it is an object of the present invention to provide an instant messaging method, server, client device and system that enable a user to find other users based on the relevance of social relationships between users.
本发明的一个实施例提供的即时通信方法包括: An instant messaging method provided by an embodiment of the present invention includes:
服务器接收第一客户端设备发送的第一用户获取第二用户共享好友 信息的请求, 将所述第二用户的共享好友信息提供给所述第一客户端设 备供其提供给所述第一用户。 Receiving, by the server, a first user that is sent by the first client device to obtain the second user's shared friend information, and providing the second user's shared friend information to the first client device for providing to the first user .
本发明的另一个实施例提供的服务器包括收发单元和信息提供单 元, 其中 A server provided by another embodiment of the present invention includes a transceiver unit and an information providing unit, wherein
所述收发单元用于接收客户端设备发送的第一用户获取第二用户的 共享好友信息的请求, 将所述第一用户获取第二用户的共享好友信息的
请求提供给所述信息提供单元, 将所述信息提供单元提供的所述第二用 户的共享好友信息发送到所述客户端设备供其提供给所述第一用户; 所述信息提供单元用于根据所述收发单元提供的所述第一用户获取 第二用户的共享好友信息的请求获取第二用户的共享好友信息, 将所述 第二用户的共享好友信息提供给所述收发单元。 The transceiver unit is configured to receive, by the client device, a request that the first user acquires the shared friend information of the second user, and acquire, by the first user, the shared friend information of the second user. The request is provided to the information providing unit, and the shared friend information of the second user provided by the information providing unit is sent to the client device for providing to the first user; the information providing unit is configured to: Acquiring the shared friend information of the second user according to the request that the first user obtains the shared friend information of the second user that is provided by the transceiver unit, and providing the shared friend information of the second user to the transceiver unit.
本发明的又一个实施例提供的客户端设备包括用户接口单元、 共享 请求单元和收发单元: A client device provided by still another embodiment of the present invention includes a user interface unit, a sharing request unit, and a transceiver unit:
所述用户接口单元用于接收第一用户查看第二用户的共享好友信息 的指令, 并将该指令发送给共享请求单元, 将所述共享请求单元提供的 第二用户的共享好友信息提供给所述第一用户; The user interface unit is configured to receive an instruction that the first user views the shared friend information of the second user, and send the instruction to the sharing requesting unit, and provide the shared friend information of the second user provided by the sharing requesting unit to the Said first user;
所述共享请求单元用于从所述用户接口单元接收所述第一用户查看 第二用户共享好友信息的指令, 根据该指令生成第一用户获取第二用户 的共享好友信息的请求, 并将所述请求通过所述收发单元发送到服务 器, 接收收发单元提供的第二用户的共享好友信息; The sharing requesting unit is configured to receive, by the user interface unit, an instruction that the first user views the second user sharing the friend information, and according to the instruction, generate, by the first user, a request for acquiring the shared friend information of the second user, and Sending the request to the server through the transceiver unit, and receiving the shared friend information of the second user provided by the transceiver unit;
所述收发单元用于将所述共享请求单元发送的所述第一用户获取第 二用户的共享好友信息的请求发送到服务器, 获取服务器提供的第二用 户的共享好友信息并提供给所述共享请求单元。 The transceiver unit is configured to send, by the first requesting user, the request that the first user acquires the shared friend information of the second user to the server, obtain the shared friend information of the second user provided by the server, and provide the shared friend information to the share Request unit.
本发明的再一个实施例提供的即时通信系统包括: An instant messaging system provided by still another embodiment of the present invention includes:
客户端设备, 用于向服务器发送第一用户获取第二用户共享好友信 息的请求, 以及获取所述服务器提供的第二用户的共享好友信息并显示 给第一用户; a client device, configured to send, to the server, a request for the first user to obtain the second user to share the friend information, and obtain the shared friend information of the second user provided by the server, and display the information to the first user;
服务器 , 用于接收所述客户端设备发送的所述第一用户获取第二用 户共享好友信息的请求, 将第二用户的共享好友信息提供给所述客户端 设备。 And a server, configured to receive, by the client device, the first user to obtain a second user sharing friend information request, and provide the second user's shared friend information to the client device.
由上述的技术方案可见, 本发明提供的即时通信方法、 服务器、 客
户端设备和系统考虑了用户之间的社会关联性, 用户通过共享好友、 访 问他人好友的方式方便地找到其他的好友或用户群组, 增加即时通信系 统的趣味性和社会关联度 , 有利于充分发挥即时通信平台的功能。 附图简要说明 It can be seen from the above technical solutions that the instant communication method, server, and guest provided by the present invention The client device and the system consider the social association between users, and the user conveniently finds other friends or user groups by sharing friends and visiting other friends, thereby increasing the interest and social relevance of the instant messaging system, which is beneficial to the user equipment and the system. Give full play to the capabilities of the instant messaging platform. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为本发明实施例提供的一种即时通信系统的结构图。 FIG. 1 is a structural diagram of an instant messaging system according to an embodiment of the present invention.
图 2为本发明实施例提供的一种即时通信方法的流程图。 FIG. 2 is a flowchart of an instant messaging method according to an embodiment of the present invention.
图 3为本发明实施例提供的一种客户端设备的示意图。 FIG. 3 is a schematic diagram of a client device according to an embodiment of the present invention.
图 4为本发明实施例提供的一种服务器的示意图。 实施本发明的方式 FIG. 4 is a schematic diagram of a server according to an embodiment of the present invention. Mode for carrying out the invention
为使本发明的目的、 技术方案及优点更加清楚明白, 以下参照附图 并举实施例, 对本发明进一步详细说明。 The present invention will be further described in detail below with reference to the accompanying drawings.
根据本发明的一个实施例, 用户可以共享其好友(或联系人)和 / 或用户群组的信息,以下统称为共享好友信息,其他用户可通过查看(或 访问)该用户的共享好友信息来找到好友, 从而增加即时通信系统的趣 味性和社会关联度, 实现带有社会关系关联性的即时通信系统。 According to an embodiment of the present invention, a user may share information of his or her friends (or contacts) and/or user groups, hereinafter collectively referred to as shared friend information, and other users may view (or access) the shared friend information of the user. Find friends, thereby increasing the interest and social relevance of the instant messaging system, and realizing an instant messaging system with social relationship.
为了实现共享好友信息的共享, 本发明的实施例在即时通信系统中 增加了用于管理用户的共享好友信息的设备, 该设备可以是现有的服务 器中增加的一个功能单元, 也可以是一个独立的设备; 在客户端设备也 相应地增加了用于获取和显示用户的共享好友信息信息的单元。 In order to realize the sharing of the shared friend information, the embodiment of the present invention adds a device for managing the shared friend information of the user in the instant messaging system, and the device may be a functional unit added in the existing server, or may be a A separate device; a unit for acquiring and displaying the shared friend information information of the user is also correspondingly added to the client device.
图 1为本发明实施例提供的一种即时通信系统的结构图。 FIG. 1 is a structural diagram of an instant messaging system according to an embodiment of the present invention.
本实施例的即时通信系统包括客户端设备 120 和即时通信服务器 160, 以下简称服务器 160。 实际系统中可能存在大量的客户端设备, 服 务器也可能不止一个,这里,我们以某一对客户端设备 120和服务器 160
为例介绍各个系统组成部分的功能和业务处理流程。 The instant messaging system of this embodiment includes a client device 120 and an instant messaging server 160, hereinafter referred to as the server 160. There may be a large number of client devices in the actual system, and there may be more than one server. Here, we have a certain pair of client devices 120 and servers 160. This example describes the functions and business process of each system component.
客户端设备 120除现有的组件外, 还包含共享控制单元 150。 共享 控制单元 150与服务器 160通信, 用于实现与共享好友信息的共享操作 相关的功能, 例如, 用于向服务器请求获取某个用户的共享好友信息、 将服务器提供的共享好友信息提供给正在使用客户端设备 120 的用户 等。 The client device 120 includes a shared control unit 150 in addition to the existing components. The sharing control unit 150 is in communication with the server 160, and is configured to implement a function related to the sharing operation of sharing the friend information, for example, to request the server to acquire the shared friend information of a certain user, and provide the shared friend information provided by the server to the used. User of client device 120, etc.
服务器 160除现有的组件外, 还可以包含共享管理单元 180。 共享 管理单元 180主要负责接收客户端设备 120发来的获取用户的共享好友 信息的请求, 将服务器 160中保存的该用户的共享好友信息提供给客户 端设备 120。 Server 160 may include a sharing management unit 180 in addition to existing components. The sharing management unit 180 is mainly responsible for receiving the request for acquiring the shared friend information of the user sent by the client device 120, and providing the shared friend information of the user saved in the server 160 to the client device 120.
上述共享好友信息可以是用户共享的好友和 /或用户群组的标识、用 户昵称、 群组名称、 用户基本信息, 例如年龄、 性别、 职业、 所在城市 等。 The shared friend information may be an identifier of a friend and/or a user group shared by the user, a user nickname, a group name, basic user information, such as age, gender, occupation, city, and the like.
上面的实施例中, 即时通信系统可以将用户的好友和 /或用户群组的 信息不加限制地提供给其他用户, 以实现带有社会关系关联性的即时通 信系统。 上述系统实现简单、 维护容易, ^ 在配置不灵活、 不能保护 用户隐私等问题。 In the above embodiment, the instant messaging system can provide the information of the user's friends and/or user groups to other users without restriction to implement an instant communication system with social relationship. The above system is simple to implement and easy to maintain, and is not flexible in configuration and cannot protect user privacy.
为了解决上述问题, 以下实施例增加了共享设置流程对共享好友信 息的共享操作进行限制。 In order to solve the above problem, the following embodiment adds a sharing setting process to restrict the sharing operation of shared buddy information.
仍然参见图 1 , 客户端设备 120中的共享控制单元 150还可以进一 步将用户输入的共享设置信息发送给服务器 160, 服务器 160中的共享 管理单元 180可以进一步用于维护用户的共享设置信息, 详细的交互流 程如下所述。 Still referring to FIG. 1 , the sharing control unit 150 in the client device 120 may further send the sharing setting information input by the user to the server 160. The sharing management unit 180 in the server 160 may further be used to maintain the sharing setting information of the user. The interaction process is as follows.
客户端设备 120中的共享控制单元 150提示用户输入共享设置信息 , 将用户的共享设置信息发送到服务器 160。
服务器 160中的共享管理单元 180保存客户端设备 120发送的共享 设置信息。 The sharing control unit 150 in the client device 120 prompts the user to input sharing setting information, and transmits the sharing setting information of the user to the server 160. The sharing management unit 180 in the server 160 holds the sharing setting information transmitted by the client device 120.
共享控制单元 150向服务器 160请求获取另一用户的共享好友信息。 共享管理单元 180判断客户端设备 120的用户是否有权限访问该另 一用户的共享好友信息。 The sharing control unit 150 requests the server 160 to acquire shared buddy information of another user. The sharing management unit 180 determines whether the user of the client device 120 has the right to access the shared friend information of the other user.
具体来讲, 共享管理单元 180可以根据客户端设备 120在获取共享 好友信息的请求中携带的用户属性, 如用户 ID等, 和 /或被请求用户的 共享设置信息, 如用户设定的共享权限等, 来判断用户是否具有访问另 一用户共享好友信息的权限。 如果该用户具有访问权限, 则将相应的共 享好友信息发送到该用户使用的客户端设备 120, 否则, 拒绝该用户的 请求, 可以向该客户端设备 120返回请求失败消息或不做处理。 Specifically, the sharing management unit 180 may be based on user attributes carried by the client device 120 in the request for acquiring the shared friend information, such as a user ID, etc., and/or sharing setting information of the requested user, such as sharing rights set by the user. Etc., to determine whether the user has access to another user to share friend information. If the user has access rights, the corresponding shared friend information is sent to the client device 120 used by the user. Otherwise, the user's request is rejected, and the request failure message may be returned to the client device 120 or left unprocessed.
另外, 共享控制单元 150还可以根据服务器 160提供的共享好友信 息向服务器 160请求将另一用户的共享好友添加为好友。 为完成这一功 能,可以在服务器 160中增加新的单元来实现基于共享的好友认证功能, 也可以对服务器 160中现有的好友认证单元 170进行扩展来实现基于共 享的好友认证功能。 In addition, the sharing control unit 150 may also request the server 160 to add the shared friend of another user as a friend according to the shared friend information provided by the server 160. To accomplish this, a new unit may be added to the server 160 to implement the share-based buddy authentication function, and the existing buddy authentication unit 170 in the server 160 may be extended to implement the shared-based buddy authentication function.
基于共享的好友认证过程相比现有的好友认证过程, 除了需要向被 请求的用户提供发出请求的用户的身份信息外 , 还需要提供好友关联信 息, 即发出请求的用户找到被请求的用户的途径, 从而被请求用户可以 得知该发出请求的用户查找的途径, 如拥有共同的好友等, 可以提高添 加好友成功的几率。 Compared with the existing buddy authentication process, in addition to the identity information of the user who needs to provide the requested user, the buddy authentication process needs to provide the buddy association information, that is, the requesting user finds the requested user. The route, so that the requested user can know the way the user who made the request finds, such as having a common friend, can increase the chance of adding a friend.
如果通过现有的好友认证单元 170实现, 则需要增加基于共享的好 友认证功能, 用于接收用户添加好友的请求中携带的好友关联信息, 并 将该信息提供给被请求添加的用户。 If it is implemented by the existing friend authentication unit 170, it is required to add a friend-based authentication function based on sharing, which is used to receive the friend association information carried in the request of the user to add a friend, and provide the information to the user who is requested to be added.
图 2为本发明实施例的即时通信系统流程图, 其中虚线表示本实施
例中可选的步骤。 2 is a flowchart of an instant messaging system according to an embodiment of the present invention, wherein a dotted line indicates the implementation An optional step in the example.
在图 2的系统流程中, 以客户端设备 1、 客户端设备 2和即时通信 服务器, 以下简称服务器, 间的交互流程为例来更清楚地对本发明进行 描述。 In the system flow of FIG. 2, the present invention is described more clearly by taking the interaction process between the client device 1, the client device 2, and the instant messaging server, hereinafter referred to as the server, as an example.
步骤 220: 客户端设备 1向服务器发送第一用户的共享设置信息。 其中,共享设置信息也可以包含共享指示,该共享指示可以是设置、 取消、 修改等操作。 这些操作也可以分别通过不同的消息实现, 可以通 过定义新的消息来实现, 或通过使用现有的消息捎带这些操作的信息来 实现。一种最简单的实施例为,用户发送包含设置指示的共享设置信息, 服务器设置该用户允许共享其所有好友和 /或用户群组;用户发送包含取 消指示的共享设置信息,服务器设置该用户不允许共享其好友和 /或用户 群组。 Step 220: The client device 1 sends the sharing setting information of the first user to the server. The sharing setting information may also include a sharing indication, and the sharing indication may be an operation of setting, canceling, modifying, and the like. These operations can also be implemented by different messages, by defining new messages, or by using existing messages to carry information about these operations. A simplest embodiment is that the user sends sharing setting information including a setting indication, the server sets the user to allow sharing all of his friends and/or user groups; the user sends sharing setting information including a cancellation indication, and the server sets the user not Allow sharing of their friends and/or user groups.
共享设置信息还可以包含第一用户的身份信息, 即在系统中标识发 起此次共享操作的即时通信用户的信息。 共享设置信息也可以不包含用 户身份信息, 服务器可以根据现有技术中的方法得到该用户的身份信 息。 The sharing setting information may also include identity information of the first user, that is, information identifying the instant communication user who initiated the sharing operation in the system. The sharing setting information may also not contain user identity information, and the server may obtain the identity information of the user according to the method in the prior art.
共享设置信息还可以包含共享选项, 作为此次共享的附加属性。 该 共享选项可以包含一个或多个条目, 每个条目包含例如共享好友信息以 及该共享好友信息的访问权限, 如共享对象、 共享有效时间、 共享深度 等, 可以以属性值的方式进行扩展。 共享好友信息为用户选择向其他用 户公开的好友或用户群组的信息。 用户也可以选择共享所有的好友和用 户群组,客户端设备 1可以以用户身份信息列表和 /或用户群组的标识信 息列表的形式将用户指定的共享好友信息发送到服务器。 共享对象为用 户指定的允许访问该共享好友信息的好友或用户群组, 也可以选择对所 有用户公开该共享好友信息。 共享有效时间表示此次共享有效的时间范
围, 如一周、 一年等。 共享深度表示允许访问该共享好友信息的好友关 系的最大层数, 即这两个用户之间相隔的最多人数。 例如, 用户 A希望 将其三个好友 X、 Y和 Z共享给好友 B, 且只允许 B与 B的好友访问到 这个共享好友信息(B的好友可以访问该共享好友信息的前提是 B向该 好友共享了用户 A的信息), 则用户 A的共享操作中: 共享好友信息是 X、 Y和 Z, 共享对象是 B, 共享深度设为 2。 共享选项中还可以包含其 它属性, 这里不再——列举。 The sharing settings information can also include sharing options as an additional attribute for this sharing. The sharing option may include one or more entries, each of which contains, for example, shared friend information and access rights of the shared friend information, such as shared objects, shared validity time, sharing depth, etc., may be extended by attribute values. Sharing buddy information provides the user with information about friends or groups of users that are exposed to other users. The user may also choose to share all the friends and user groups, and the client device 1 may send the shared friend information specified by the user to the server in the form of a list of user identity information and/or a list of identification information of the user group. The shared object is a friend or a user group designated by the user to allow access to the shared friend information, and may also choose to disclose the shared friend information to all users. Sharing effective time indicates the effective time of this sharing Wai, such as a week, a year, etc. The shared depth indicates the maximum number of layers of a friend relationship that allows access to the shared friend information, that is, the maximum number of people separated by the two users. For example, user A wants to share his three friends X, Y, and Z to friend B, and only allows friends of B and B to access the shared friend information (the premise that friend B can access the shared friend information is B to The friend shares the information of user A), then the user A's sharing operation: the shared friend information is X, Y, and Z, the shared object is B, and the sharing depth is set to 2. Other properties can also be included in the sharing options, no longer here - enumeration.
步骤 230: 服务器中的共享管理单元保存客户端设备 1发送的第一 用户的共享设置信息, 共享设置信息可以以文件或数据库的形式存储。 Step 230: The sharing management unit in the server saves the sharing setting information of the first user sent by the client device 1, and the sharing setting information may be stored in the form of a file or a database.
可选地, 服务器可以通过步骤 226向客户端设备 1返回第一用户共 享设置信息的处理结果。 Alternatively, the server may return the processing result of the first user sharing setting information to the client device 1 through step 226.
至此, 第一用户的共享设置信息已经在服务器中设置完毕, 其共享 好友信息可供系统中的其他用户获取。 At this point, the sharing setting information of the first user has been set in the server, and the shared friend information is available to other users in the system.
步骤 240: 第二用户通过客户端设备 2向服务器请求查看第一用户 的共享好友信息。 该请求包括待查看用户的身份信息, 即第一用户的身 份信息, 还可以包括第二用户此次查看过程经历的用户关联信息。 例如 用户 A与 B互为好友, B与 C互为好友, C与 D互为好友, D通过上 述的好友关系找到 A并希望查看 A的共享好友信息时,需要提交的用户 关联信息为 D - C - B - A。 Step 240: The second user requests the server to view the shared friend information of the first user through the client device 2. The request includes the identity information of the user to be viewed, that is, the identity information of the first user, and may also include user association information experienced by the second user during the viewing process. For example, user A and B are friends, B and C are friends, and C and D are friends. When D finds A through the above friend relationship and wants to view A's shared friend information, the user association information that needs to be submitted is D - C - B - A.
步骤 250: 服务器中的共享管理单元根据该请求携带的第二用户的 身份信息和被请求用户的身份信息, 即第一用户的身份信息, 查找保存 的第一用户的共享设置信息, 如果没有找到第一用户的共享设置信息或 该共享设置信息中的共享好友信息为空, 说明第一用户没有设置共享好 友, 则直接拒绝第二用户的查看请求; 如果找到所述的共享设置信息且 其中的共享好友信息不为空, 则可以向第二用户发送所述共享设置信息
中的共享好友信息; 如果该共享设置信息中还包括共享选项, 则可以再 根据所述共享选项来进一步判断第二用户是否具有访问第一用户的共 享信息的权限。 Step 250: The sharing management unit in the server searches for the saved sharing configuration information of the first user according to the identity information of the second user carried by the request and the identity information of the requested user, that is, the identity information of the first user, if not found. The sharing setting information of the first user or the shared friend information in the sharing setting information is empty, indicating that the first user does not set the sharing friend, and directly rejects the viewing request of the second user; if the sharing setting information is found and the If the shared friend information is not empty, the sharing setting information may be sent to the second user. If the share setting information further includes a sharing option, the sharing option may further determine whether the second user has the right to access the shared information of the first user according to the sharing option.
例如,如果第一用户设置的共享选项包含共享对象、共享有效时间、 共享深度, 则共享管理单元需要分别判断: For example, if the sharing options set by the first user include shared objects, shared validity time, and sharing depth, the sharing management unit needs to determine separately:
该共享选项中的共享对象是否包括第二用户, 如不包括, 则判定第 二用户没有权限, 拒绝第二用户的查看请求; Whether the shared object in the sharing option includes the second user, and if not included, determining that the second user does not have permission, and rejecting the viewing request of the second user;
根据第一用户设置的共享有效时间判断当前时间该共享信息是否可 用, 如果不在有效时间内则判定第二用户没有权限, 拒绝第二用户的查 看请求; Determining whether the shared information is available at the current time according to the shared effective time set by the first user, and determining that the second user does not have the right to reject the second user's viewing request if the valid time is not within the valid time;
根据第一用户设置的共享深度, 和第二用户提交的用户关联信息或 根据服务器保存的用户历史查看信息得到的用户关联信息或根据第一 和第二用户身份信息计算得到的用户关联信息 , 判断第二用户是否允许 访问, 当第一用户与第二用户的用户关联信息不满足所述共享深度时 , 则判定第二用户没有权限, 拒绝第二用户的查看请求。 Determining according to the sharing depth set by the first user, the user association information submitted by the second user, or the user association information obtained according to the user history viewing information saved by the server or the user association information calculated according to the first and second user identity information. Whether the second user allows access, when the user association information of the first user and the second user does not satisfy the sharing depth, it is determined that the second user does not have the right to reject the viewing request of the second user.
上述判断步骤可以依次执行, 且与执行的顺序无关, 当其中任意一 项判断结果为用户没有权限时, 判断过程中止, 拒绝第二用户的请求; 否则继续执行其它条件的判断, 如果第二用户满足所有条件, 则允许第 二用户访问。 The above determining steps may be performed sequentially, and are independent of the order of execution. When any one of the judgment results is that the user has no authority, the judgment process is aborted, and the request of the second user is rejected; otherwise, the judgment of other conditions is continued, if the second user A second user is allowed access if all conditions are met.
步骤 260: 共享管理单元根据上述过程判断是否允许第二用户访问, 若允许则返回第一用户指定的共享好友信息, 否则返回请求失败或者不 作处理。 Step 260: The sharing management unit determines whether to allow the second user to access according to the above process, and returns the shared friend information specified by the first user if allowed, otherwise the return request fails or is not processed.
当共享管理单元^^据上述过程判断允许第二用户访问时, 则将第一 用户的共享好友信息提供给第二用户。 具体可以将第一用户的共享设置 信息中的共享好友信息发送到第二用户所使用的客户端。 该共享好友信
息可以是第一用户允许共享的好友和 /或用户群组的标识(例如 IM用户 号)、 名称(例如用户昵称或群组名称)、 用户的基本信息(例如性别、 年龄、 所在城市、 职业等)。 例如, 共享管理单元将第一用户的共享好 友信息以用户 /群组标识列表的形式提供给第二用户的客户端设备,由客 户端设备显示给第二用户, 例如可以在显示的第一用户的属性信息中显 示该列表, 或在新生成的窗口中显示该列表。 同时, 客户端设备还可以 根据第二用户的指令向服务器发送获取用户和 /或群组属性信息的请求, 例如针对该列表的每一项为第二用户提供一个按钮或链接 , 当用户点击 某一用户或群组的按钮或链接时 , 客户端设备则向服务器发送获取该用 户或群组的属性信息的请求。 服务器收到该请求后, 可以根据该用户或 群组对其属性信息设置的公开选项(例如对所有人公开、仅对好友公开、 不公开等 ), 将该用户或群组的属性信息提供给第二用户的客户端设备。 这里, 用户或群组的属性信息可以是用户的年龄、 性别、 所在城市、 职 业等基本信息, 也可以是电话号码、 手机号码、 E-mail地址、 博客地址、 工作单位名称等更为详细的资料。 由于用户可以针对其不同的资料设置 不同的访问权限,服务器需要判断允许第二用户访问的用户 /群组信息有 哪些 , 并将允许第二用户访问的信息提供给第二用户的客户端设备。 When the sharing management unit determines that the second user is allowed to access according to the above process, the shared friend information of the first user is provided to the second user. Specifically, the shared friend information in the sharing setting information of the first user may be sent to the client used by the second user. The shared friend letter The information may be the identity of the buddy and/or user group that the first user is allowed to share (eg, IM user number), the name (eg, user nickname or group name), basic information of the user (eg, gender, age, city, occupation) Wait). For example, the sharing management unit provides the shared friend information of the first user to the client device of the second user in the form of a user/group identification list, and is displayed by the client device to the second user, for example, the first user that can be displayed. The list is displayed in the attribute information, or it is displayed in a newly generated window. At the same time, the client device may also send a request for acquiring the user and/or group attribute information to the server according to the instruction of the second user, for example, providing a button or a link for the second user for each item of the list, when the user clicks on a certain When a user or group button or link, the client device sends a request to the server to obtain attribute information of the user or group. After receiving the request, the server may provide the attribute information of the user or group according to the public option set by the user or the group for its attribute information (for example, public to everyone, public only to friends, undisclosed, etc.) The client device of the second user. Here, the attribute information of the user or the group may be basic information such as the age, gender, city, occupation, etc. of the user, or may be a phone number, a mobile phone number, an E-mail address, a blog address, a work unit name, and the like. data. Since the user can set different access rights for different materials, the server needs to determine which user/group information is allowed to be accessed by the second user, and provides information that the second user accesses to the client device of the second user.
上述实施例中根据共享深度进行的判断, 下面举具体的例子进行说 明。 例如用户 A与 B互为好友, B与 C互为好友, C与 D互为好友, 且 B设置将其好友 A的信息共享给用户 C, 共享深度为 2, 则 C可以通 过上述流程访问到用户 B所共享的好友信息 A。 如果用户 C将好友 B 共享给用户 D,那么 D可以通过上述流程访问到用户 C所共享的好友信 息 B,若此时用户 D想进一步查看用户 B的好友,则依然通过上述流程, 但提交的查看请求信息中包括待查看用户 B与经历的用户关联 D - C - B。 共享管理单元基于 B向 C的共享设置信息中的共享深度 2, 判断允
许用户 D访问此条目 ,从而向用户 D返回用户信息 A。如果用户 D与 E 互为好友, 且将好友 C共享给用户 E, 那么根据共享深度限制, 用户 E 无法获得 B的共享好友信息。 由此可见, 共享深度体现了用户在社会性 与隐私保护之间的折衷。 以上的前提是好友关联的每个环节都有共享好 友的操作, 否则共享好友的查看无法继续深入。 The determination based on the sharing depth in the above embodiment will be described below by way of a specific example. For example, user A and B are friends, B and C are friends, C and D are friends, and B sets the information of friend A to user C. The sharing depth is 2. C can be accessed through the above process. The friend information A shared by the user B. If user C shares the friend B with the user D, the D can access the friend information B shared by the user C through the above process. If the user D wants to further view the friend of the user B, the process still passes the above process, but the submitted The view request information includes the user B to be viewed and the user association D-C-B experienced. The sharing management unit determines the sharing depth 2 in the sharing setting information of B to C, and determines User D accesses this entry, thereby returning user information A to user D. If users D and E are friends with each other, and friend C is shared with user E, user E cannot obtain shared friend information of B according to the sharing depth limit. It can be seen that the depth of sharing reflects the user's compromise between sociality and privacy protection. The premise of the above is that each link of the friend association has the operation of sharing the friend, otherwise the view of the shared friend cannot continue to go deep.
共享管理单元判断是否允许查看的一种方式是根据用户提交的好友 关联信息或服务器保存的用户历史查看信息得到的好友关联信息。 在实 际网络中,用户之间的关系呈现混杂的网状结构,继续考虑上面的举例, 假设用户 E与用户 B也是直接好友关系, 且用户 B已经将好友 A向 E 共享 ,但在 E提交包含用户关联信息 E - D - C - B的共享好友查看请求 时依然由于深度限制而被拒绝。 One way for the sharing management unit to determine whether to allow viewing is the friend association information obtained according to the friend association information submitted by the user or the user history viewing information saved by the server. In the actual network, the relationship between users presents a mixed network structure. Continue to consider the above example. Assume that user E and user B are also direct friend relationships, and user B has already shared friend A to E, but the E submission contains The shared friend of the user association information E - D - C - B is still rejected due to the depth restriction when viewing the request.
这个问题可以利用图的概念和相关算法解决。 例如, 将系统中各个 用户当作节点, 两个用户之间的好友关系用一条边来进行连接, 设置图 中所有边的度数均为 1 , 没有好友关系的用户之间没有边, 这样, 用户 之间的好友关联深度问题就转化为求连通图中两点间的最短路径问题。 这个问题在图的理论中已经有很成熟的解决办法,例如可以利用 D算法 来求得任意两点之间的最短路径。 关于算法具体介绍这里不再赘述, 本 领域技术人员到这里应该很清楚相关算法的实现, 相关的资料中也有很 多介绍。 This problem can be solved using the concept of graphs and related algorithms. For example, each user in the system is regarded as a node, and the friend relationship between the two users is connected by one side, and the degree of all sides in the figure is set to 1, and there is no edge between the users without the friend relationship, thus, the user The problem of the depth of the friend association between the two is transformed into the shortest path problem between the two points in the connected graph. This problem has a very mature solution in the theory of graphs. For example, the D algorithm can be used to find the shortest path between any two points. The specific description of the algorithm will not be repeated here, and those skilled in the art should be aware of the implementation of the related algorithms here, and there are many related materials.
通过将用户关系用图的方法表达, 第二用户在提交查看共享好友的 请求中可以不必提交此次查看经历的用户关联信息, 由服务器根据第一 用户和第二用户的身份信息在相应的用户关系图中计算这两个用户的 关联关系, 从而判断第二用户是否满足第一用户设置的共享深度的要 求。 但是, 这种解决办法相对比较复杂, 当前即时通信系统的用户数目 庞大, 而且还在进一步地扩大, 相应的用户关系图中的节点数目也会非
常大, 而且用户间的关系错综复杂, 这样的图的维护会导致占用巨大的 系统资源, 计算时间也会很长, 这样是不够经济的。 By expressing the user relationship in a graph, the second user may not have to submit the user association information of the viewing experience in submitting the request to view the shared friend, and the server is based on the identity information of the first user and the second user in the corresponding user. The relationship between the two users is calculated in the relationship diagram to determine whether the second user meets the requirement of the shared depth set by the first user. However, this solution is relatively complicated. The number of users of the instant messaging system is huge, and it is still expanding further. The number of nodes in the corresponding user relationship diagram is also not It is often large, and the relationship between users is complicated. The maintenance of such a graph will lead to huge system resources and the calculation time will be long, which is not economical.
因此, 可以采用在查看共享好友的请求中包括此次查看经历的用户 关联, 服务器仅根据该用户关联判断用户的关联深度, 从而避免服务器 维护庞大复杂的用户关系, 从而减轻服务器负担。 Therefore, the user association including the viewing experience in the request for viewing the shared friend may be adopted, and the server only judges the association depth of the user according to the user association, thereby preventing the server from maintaining a large and complicated user relationship, thereby reducing the server burden.
在上面的系统处理流程中, 用户设置共享好友信息可以是自发地 , 也可以是经请求而进行的, 例如, 可以由服务器在步骤 218向用户请求 设置共享好友, 该请求也可以是以广告的形式, 或者是定期向用户发送 提醒信息的方式, 提醒用户更新共享好友信息, 或者是收到客户端设备 2在步骤 216中发送的第二用户请求查看第一用户的共享好友信息请求 后, 向第一用户传达该请求。 如果是由第二用户的查看共享好友请求触 发的该过程, 则服务器在接收到第一用户的共享设置信息并处理后, 通 过步骤 228向第二用户返回请求查看共享好友的结果, 如果第二用户不 满足第一用户设置的共享访问规则, 则通知第二用户请求失败。 In the above system processing flow, the user setting the shared friend information may be spontaneous or may be requested. For example, the server may request the user to set the shared friend in step 218, and the request may also be an advertisement. The form, or the manner of periodically sending the reminder information to the user, reminding the user to update the shared friend information, or after receiving the request of the second user sent by the client device 2 in step 216 to view the shared friend information of the first user, The first user communicates the request. If the process is triggered by the second user's view of the shared friend request, after receiving the sharing setting information of the first user and processing, the server returns to the second user to request to view the result of the shared friend, if the second If the user does not satisfy the shared access rule set by the first user, the second user is notified that the request fails.
另外, 用户还可以请求修改其共享设置信息, 例如添加、 删除、 更 新其共享好友信息, 修改共享选项等, 其操作与以上流程相似, 都需要 向服务器中的共享管理单元提交请求并等待响应, 其消息交互流程与图 2相同。 上述修改共享设置信息请求可以利用其它独立的消息实现, 也 可以利用图 2步骤 220中用于设置共享时相同的消息, 其中相应的共享 设置信息中的各项属性值可以才 据需要取不同的值, 例如, 添加、删除、 更新共享好友信息的操作都使用共享设置信息中的共享好友信息来实 现, 用户提交此次需要共享的好友列表或群组列表, 服务器用收到的共 享好友信息替换之前存储的该用户的共享好友信息; 或者, 可以利用共 享设置信息中的共享指示取不同的值来实现, 例如: In addition, the user can also request to modify their sharing settings information, such as adding, deleting, updating their shared friend information, modifying the sharing options, etc. The operation is similar to the above process, and the request is submitted to the sharing management unit in the server and waits for a response. The message interaction process is the same as that of Figure 2. The above-mentioned modified sharing setting information request may be implemented by using other independent messages, or may be used to set the same message in the step 220 of FIG. 2, wherein the attribute values in the corresponding sharing setting information may be different according to requirements. The value, for example, the operation of adding, deleting, and updating the shared friend information is implemented by using the shared friend information in the sharing setting information, and the user submits the buddy list or the group list that needs to be shared, and the server replaces the shared buddy information received by the server. The shared friend information of the user previously stored; or, the sharing instruction in the sharing setting information may be used to take different values, for example:
可以指示添加、 删除、 更新共享好友信息, 此时, 共享好友信息不
必是用户此时需要共享的所有用户的列表或用户群组列表, 而可以以增 量的方式体现, 例如, 共享指令值为"增加", 则共享好友信息中可以仅 包括此次用户新增的共享好友列表或用户群组列表, 则服务器在当前存 储的共享好友信息的基础上对共享好友信息进行增加处理; 删除处理的 过程与上述过程类似, 不再赘述; You can instruct to add, delete, and update shared friends information. At this time, sharing friend information is not It must be a list of all users or a list of user groups that the user needs to share at this time, and can be expressed in increments. For example, if the share command value is "increase", the shared friend information may include only the user added. The sharing buddy list or the user group list, the server adds the shared buddy information on the basis of the currently stored shared buddy information; the process of deleting the processing is similar to the above process, and is not described again;
也可以指示取消共享, 也可以有多种处理方式, 例如用一个空的共 享好友信息列表来替换保存的共享好友信息列表来表示不共享, 或者将 保存的共享设置信息整个地删除; It may also indicate that the sharing is cancelled, or there may be multiple processing methods, such as replacing the saved shared friend information list with an empty shared friend information list to indicate that the sharing is not shared, or deleting the saved sharing setting information as a whole;
还可以指示修改共享选项, 用来添加、 删除或修改先前设定的共享 限制条件, 如共享对象、 共享有效时间、 共享深度等, 则服务器根据收 到的修改请求消息对保存的该用户的共享设置信息进行相应的修改。 It can also instruct the modification sharing option to add, delete or modify the previously set sharing restriction conditions, such as shared object, sharing effective time, sharing depth, etc., and the server shares the saved user according to the received modification request message. Set the information to make the appropriate changes.
用户通过好友关联关系找到目标用户后, 若在此基础上请求添加好 友, 则好友认证过程中需要附加提出该请求的用户的社会性信息, 例如 好友关联关系 , 以丰富用户交互的社会性及提高认证通过的几率。 After the user finds the target user through the friend association relationship, if the friend is requested to be added on the basis of the friend relationship, the social information of the user who requests the request, such as the friend association relationship, needs to be added to the user authentication process to enrich the sociality and improve the user interaction. The probability of passing the certification.
第二用户通过客户端设备在他人的共享信息中查找到第三用户时, 可以选择将第三用户添加为好友。 这里, 添加好友的方式可以有两种: 一种是通过普通流程进行添加 , 即第二用户通过查看共享好友信息 的操作找到第三用户, 并记录第三用户的身份信息, 退出共享操作, 发 起常规的添加好友流程; When the second user finds the third user in the shared information of the other party through the client device, the second user may be selected to add the third user as a friend. Here, there are two ways to add a friend: one is to add through a common process, that is, the second user finds the third user by viewing the operation of sharing the friend information, and records the identity information of the third user, exits the sharing operation, and initiates Regular add friend process;
另一种是第二用户通过客户端设备查看他人的共享信息时在共享操 作流程中向服务器中的好友认证单元提交添加好友请求, 其中包括目标 用户(如第三用户)的身份信息和此次查看过程中经历的用户关联信息。 好友认证单元将包含第二用户信息以及用户关联信息的请求信息发送 到目标用户 (即第三用户)的客户端设备。 服务器之后按照现有技术中 的处理方式, 根据第三用户返回的应答消息, 拒绝第一用户的添加好友
请求或者向第一用户发送添加好友成功消息并更新第二用户和第三用 户的好友列表。 The other is that when the second user views the shared information of the other party through the client device, the second user adds a friend request to the friend authentication unit in the server in the sharing operation process, including the identity information of the target user (such as the third user) and the current time. View user-related information experienced during the process. The friend authentication unit transmits the request information including the second user information and the user association information to the client device of the target user (ie, the third user). The server then rejects the added friend of the first user according to the processing message returned by the third user according to the processing manner in the prior art. The request is either sent to the first user to add a friend success message and update the second user and the third user's buddy list.
另外, 用户在进行查找好友操作之前, 可以设置需要通过客户端设 备与服务器进行双向认证, 以确保后续通信的安全可靠。 这种认证的技 术在现有技术中已经应用 , 本领域技术人员应当清楚如何将这一过程与 本发明提供的技术方案相结合。 In addition, before performing a friend search operation, the user can set up two-way authentication with the server through the client device to ensure the security and reliability of subsequent communication. This type of authentication technique has been applied in the prior art, and those skilled in the art will understand how to combine this process with the technical solution provided by the present invention.
以上给出了添加好友的操作流程, 其实时性取决于两端用户的在线 状态。 The above shows the operation flow of adding friends, and its real-time nature depends on the online status of users at both ends.
下面对服务器和客户端设备的构成各举一例来说明其实现方法。 图 3为本发明实施例提供的一种客户端设备 30的示意图。 The following is an example of the configuration of the server and the client device to illustrate its implementation. FIG. 3 is a schematic diagram of a client device 30 according to an embodiment of the present invention.
客户端设备 30主要包括: The client device 30 mainly includes:
用户接口单元 320, 用于接收用户的操作指令以及向用户传达信息; 共享控制模块 350, 用于完成与共享操作相关的功能, 包括共享请 求单元 360和共享设置单元 370; The user interface unit 320 is configured to receive an operation instruction of the user and to communicate information to the user; the sharing control module 350 is configured to complete functions related to the sharing operation, including the sharing request unit 360 and the sharing setting unit 370;
收发单元 380, 用于与服务器进行信息交互。 The transceiver unit 380 is configured to perform information interaction with the server.
其它与现有技术中功能相同的、与本发明技术方案无关的单元 /模块 这里不再——示出。 下面的例子详细地介绍该客户端设备 30各单元的 工作流程。 Other units/modules that have the same function as in the prior art and are not related to the technical solution of the present invention are not shown here. The following example details the workflow of each unit of the client device 30.
用户接口单元 320接收第一用户设置共享设置信息的指示, 并发送 到共享控制模块 350中的共享设置单元 370。 The user interface unit 320 receives an indication that the first user sets the sharing setting information and transmits it to the sharing setting unit 370 in the sharing control module 350.
共享设置单元 370用于处理用户接口单元 320提供的共享设置信息 , 并将所述共享设置信息提供给收发单元 380。 其中, 共享设置信息包括 所述第一用户的共享好友信息。 The sharing setting unit 370 is for processing the sharing setting information provided by the user interface unit 320, and supplies the sharing setting information to the transceiving unit 380. The sharing setting information includes shared friend information of the first user.
收发单元 380将共享设置单元 370发送的共享设置信息发送到服务 器。
用户接口单元 320接收第一用户查看第二用户的共享好友信息的指 令, 并发送到共享控制模块 350中的共享请求单元 360。 The transceiving unit 380 transmits the sharing setting information transmitted by the sharing setting unit 370 to the server. The user interface unit 320 receives an instruction that the first user views the shared friend information of the second user, and sends the instruction to the sharing request unit 360 in the sharing control module 350.
共享请求单元 360接收用户接口单元 320发送的第一用户查看第二 用户共享好友信息的指令, 根据该指令生成第一用户获取第二用户的共 享好友信息的请求, 在该请求中包含第一用户和第二用户的身份信息以 及其它可能的信息, 将该请求发送到收发单元 380。 The sharing request unit 360 receives an instruction that the first user views the second user sharing the friend information sent by the user interface unit 320, and generates a request for the first user to acquire the shared friend information of the second user according to the instruction, where the request includes the first user. And sending the request to the transceiving unit 380 with the identity information of the second user and other possible information.
收发单元 380将共享请求单元 360发送的第一用户获取第二用户的 共享好友信息的请求发送到服务器; 接收服务器发送的第二用户的共享 好友信息或拒绝查看消息, 发送到共享请求单元 360。 The transceiver unit 380 sends a request for the first user to obtain the shared friend information of the second user sent by the sharing request unit 360 to the server; the shared friend information or the rejection view message of the second user sent by the receiving server is sent to the sharing request unit 360.
共享请求单元 360将收发单元发送的第二用户的共享好友信息或拒 绝查看消息, 进行相应的处理, 并发送到用户接口单元 320; The sharing request unit 360 sends the shared friend information of the second user sent by the transceiver unit or rejects the viewing message, performs corresponding processing, and sends it to the user interface unit 320;
用户接口单元 320将共享请求单元 360发送的共享好友信息提供给 所述第一用户。 The user interface unit 320 provides the shared friend information transmitted by the sharing request unit 360 to the first user.
图 4为本发明实施例提供的一种服务器 40的示意图。 FIG. 4 is a schematic diagram of a server 40 according to an embodiment of the present invention.
服务器 40主要包括: The server 40 mainly includes:
共享管理模块 450, 用于管理和维护用户的共享设置信息, 包括信 息存储单元 430、 信息提供单元 460和权限管理单元 470; The sharing management module 450 is configured to manage and maintain sharing information of the user, including the information storage unit 430, the information providing unit 460, and the rights management unit 470;
收发单元 480, 用于与即时通信系统中各客户端设备进行交互; 好友认证单元 420, 除了用于完成现有技术中的功能以外, 也可以 选择对其进行功能扩展, 以用于实现基于好友共享的好友认证功能。 The transceiver unit 480 is configured to interact with each client device in the instant messaging system; the friend authentication unit 420, in addition to being used to complete the functions in the prior art, may also be selected to perform function expansion for implementing the friend based Shared friend authentication feature.
其它与现有技术中功能相同的、 与本发明技术方案无关的单元模块 这里不再——示出。 下面的例子详细地介绍该服务器 40各个组成部分 的工作流程。 Other unit modules which are identical in function to the prior art and which are not related to the technical solution of the present invention are not shown here. The following example details the workflow of the various components of the server 40.
收发单元 480接收客户端设备发送的用户的共享设置信息并发送到 共享管理模块 450中的信息存储单元 430;
信息存储单元 430保存收发单元 480发送的用户的共享设置信息; 收发单元 480接收客户端设备发送的第一用户获取第二用户的共享 好友信息的请求并发送到共享管理模块 450中的信息提供单元 460; 信息提供单元 460根据收发单元 480发送的第一用户获取第二用户 的共享好友信息的请求在信息存储单元 430中查找第二用户的共享设置 信息, 如果没有找到或找到的共享设置信息中的共享好友信息为空, 则 通过收发单元 480向该客户端设备发送请求失败消息或者不做处理; 如 果找到 , 则通过收发单元 480向该客户端设备发送第二用户的共享好友 信息或者将该找到的第二用户的共享设置信息发送到权限管理单元 470。 权限管理单元 470根据所述信息提供单元提供的第二用户的共享 设置信息判断第一用户是否具有访问第二用户共享好友信息的权限, 并 将判断结果提供给权限管理单元 470。如果有权限,则权限管理单元 470 通过收发单元 480向该客户端设备发送第二用户的共享好友信息 , 如果 没有权限, 则通过收发单元 480向该客户端设备发送请求失败消息或者 不做处理; The transceiver unit 480 receives the sharing setting information of the user sent by the client device and sends it to the information storage unit 430 in the sharing management module 450; The information storage unit 430 stores the sharing setting information of the user sent by the transceiver unit 480. The transceiver unit 480 receives the request of the first user to acquire the shared friend information of the second user and sends the information to the information providing unit in the sharing management module 450. The information providing unit 460 searches for the sharing setting information of the second user in the information storage unit 430 according to the request that the first user acquires the shared friend information of the second user sent by the transceiver unit 480, if the sharing setting information is not found or found. If the shared buddy information is empty, the sending and receiving unit 480 sends a request failure message to the client device or does not process; if found, sends the shared buddy information of the second user to the client device through the sending and receiving unit 480 or The shared setting information of the found second user is sent to the rights management unit 470. The rights management unit 470 determines whether the first user has the right to access the second user sharing the friend information according to the sharing setting information of the second user provided by the information providing unit, and provides the determination result to the rights management unit 470. If there is a privilege, the privilege management unit 470 sends the shared buddy information of the second user to the client device through the transceiver unit 480, and if there is no privilege, sends a request failure message to the client device through the transceiver unit 480 or does not process;
收发单元 480将共享管理单元 450发送的信息发送到该发送请求的 客户端设备。 The transceiving unit 480 transmits the information transmitted by the sharing management unit 450 to the client device that transmitted the request.
收发单元 480还可以接收客户端设备发送的第二用户取消共享请求 并提供给信息存储单元 430;则信息存储单元 430获取该取消共享请求, 删除所述第二用户的共享设置信息。 The transceiver unit 480 can also receive the second user cancel sharing request sent by the client device and provide the information to the information storage unit 430. Then, the information storage unit 430 acquires the cancel sharing request and deletes the sharing setting information of the second user.
收发单元 480也可以接收客户端设备发送的第二用户修改共享设置 信息请求并提供给信息存储单元 430; 则信息存储单元 430获取所述修 改共享设置信息请求, 用所述修改共享设置信息请求中携带的共享设置 信息替换保存的第二用户的共享设置信息, 或者根据所述修改共享设置 信息请求中的修改指示修改保存的第二用户的共享设置信息中的内容。
如果用户在查看他人共享好友信息的同时提出将他人的好友添加为 自己的好友, 则用户通过使用的客户端设备向服务器发送基于共享的添 加好友的请求, 此时, The transceiver unit 480 can also receive the second user modification sharing setting information request sent by the client device and provide the information to the information storage unit 430. Then, the information storage unit 430 acquires the modified sharing setting information request, and uses the modified sharing setting information request. The carried sharing setting information replaces the saved sharing setting information of the second user, or the content in the saved sharing setting information of the second user is modified according to the modification instruction in the modified sharing setting information request. If the user proposes to add another friend's friend as his or her friend while viewing the shared friend information, the user sends a request to add a friend based on the sharing to the server through the used client device.
收发单元 480接收客户端设备发送的基于共享的添加好友请求, 发 送到好友认证单元 420; The transceiver unit 480 receives the share-based add friend request sent by the client device, and sends it to the friend authentication unit 420;
好友认证单元 420根据收发单元 480发送的基于共享的添加好友请 求, 根据该请求携带的信息产生好友认证请求, 通过收发单元 480发送 到被请求用户的客户端设备; The buddy authentication unit 420 generates a buddy authentication request according to the information carried in the request according to the sharing-added friend request sent by the transceiver unit 480, and sends the buddy authentication request to the client device of the requested user through the transceiver unit 480;
收发单元 480将好友认证单元 420发送的好友认证请求发送到被请 求用户的客户端设备; 接收被请求用户的客户端设备发送的认证通过消 息或认证拒绝消息 , 发送到好友认证单元 420; 加好友请求的客户端设备发送添加好友成功消息并更新用户的好友列 表或发送添加好友失败消息。 The transceiver unit 480 sends the friend authentication request sent by the friend authentication unit 420 to the client device of the requested user; receives the authentication pass message or the authentication rejection message sent by the client device of the requested user, and sends the message to the friend authentication unit 420; The requesting client device sends a add friend success message and updates the user's buddy list or sends a add friend failure message.
在上述实施例中, 即时通信服务器可以是独立的服务器设备, 也可 以是其它设备中的一个模块, 只要能够实现本发明实施例中即时通信服 务器的功能, 就属于本发明所述的服务器的范畴。 In the foregoing embodiment, the instant messaging server may be an independent server device, or may be a module of other devices. As long as the function of the instant messaging server in the embodiment of the present invention can be implemented, the server belongs to the category of the server according to the present invention. .
通过上面的例子,本领域技术人员应该能够清楚如何实现上述设备, 并应当能够将上述的设备结构同上述即时通信系统流程中提供的各种 系统功能相结合, 以根据具体需要实现本发明的即时通信系统。 Through the above examples, those skilled in the art should be able to understand how to implement the above device, and should be able to combine the above device structure with various system functions provided in the above instant messaging system flow to implement the instant of the present invention according to specific needs. Communication Systems.
由上述的实施例可见, 本发明的这种即时通信方法、 服务器、 客户 端设备和系统考虑了用户之间的社会关联性, 在系统设备中增加了带有 共享好友管理控制功能的部件, 使用户可以访问他人好友的方式顺藤摸 瓜更方便地找到更多的好友或用户群组, 增加即时通信系统的趣味性和 社会关联度, 有利于充分发挥即时通信平台的功能。
根据本发明的较佳实施方式, 用户的隐私权也可以得到保护, 即用 户可以自主设定共享的内容及对象, 还可以按照自己的意愿设定对其共 享信息的访问限制。 It can be seen from the above embodiments that the instant messaging method, the server, the client device and the system of the present invention take into consideration the social association between users, and the components with the shared friend management control function are added to the system device, so that Users can access other friends' ways to find more friends or user groups more conveniently, increase the interest and social relevance of the instant messaging system, and help to fully utilize the functions of the instant messaging platform. According to the preferred embodiment of the present invention, the privacy of the user can also be protected, that is, the user can set the shared content and the object autonomously, and can also set the access restriction on the shared information according to his or her own wishes.
本发明实施例提供的即时通信系统较现有的系统更近似于真实的人 际社会, 可以解决互联网中的 "信誉,, 问题, 在同学圏、 工作圏、 商务 合作圏中建立良好的交流协作。 通过本发明实施例, 人们可以实现个人 数据处理、 个人社会关系管理、 可信的商业信息共享, 可以安全地对信 任的人群分享自己的信息和知识, 利用信任关系拓展自己的交际圏, 达 成更加有价值的沟通和协作。 Compared with the existing system, the instant messaging system provided by the embodiment of the present invention is more similar to the real interpersonal society, and can solve the "reputation, problem, and establish good communication and cooperation among the students, the work, and the business cooperation." Through the embodiments of the present invention, people can realize personal data processing, personal social relationship management, and trusted business information sharing, and can safely share their own information and knowledge to trusted people, and use trust relationships to expand their communication experience and achieve even more. Valuable communication and collaboration.
综上所述, 以上仅为本发明的部分实施例而已, 并非用于限定本发 明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同 替换、 改进等, 均应包含在本发明的保护范围之内。
In conclusion, the above is only some of the embodiments of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
Claims
1、 一种即时通信方法, 其特征在于, 包括, An instant communication method, characterized in that,
服务器接收第一客户端设备发送的第一用户获取第二用户共享好友 信息的请求, 将所述第二用户的共享好友信息提供给所述第一客户端设 备供其提供给所述第一用户。 Receiving, by the server, a first user that is sent by the first client device to obtain the second user's shared friend information, and providing the second user's shared friend information to the first client device for providing to the first user .
2、根据权利要求 1所述的方法, 其特征在于, 所述将第二用户的共 享好友信息提供给所述第一客户端设备包括, The method according to claim 1, wherein the providing the shared friend information of the second user to the first client device comprises:
所述服务器接收并保存第二客户端设备发送的第二用户的共享设置 信息, 所述共享设置信息包括所述第二用户的共享好友信息; The server receives and saves sharing setting information of the second user sent by the second client device, where the sharing setting information includes shared friend information of the second user;
所述服务器根据所述第一用户获取第二用户共享好友信息的请求中 携带的第二用户的身份信息查找第二用户的共享设置信息, 将查找到的 所述共享设置信息中的共享好友信息提供给所述第一客户端设备。 The server searches for the sharing setting information of the second user according to the identity information of the second user carried in the request that the first user acquires the second user sharing the friend information, and searches the shared friend information in the shared setting information that is found. Provided to the first client device.
3、根据权利要求 2所述的方法, 其特征在于, 所述共享设置信息进 一步包括所述第二用户设置的所述共享好友信息的访问权限 , 所述方法 进一步包括: The method according to claim 2, wherein the sharing setting information further includes access rights of the shared friend information set by the second user, the method further comprising:
所述服务器根据第二用户设置的共享好友信息的访问权限判断所述 第一用户是否有权限访问所述共享好友信息, 若有权限, 向所述第一客 户端设备提供所述共享好友信息。 The server determines, according to the access permission of the shared buddy information set by the second user, whether the first user has the right to access the shared buddy information, and if yes, provides the shared buddy information to the first client device.
4、根据权利要求 3所述的方法, 其特征在于, 所述第二用户设置的 共享好友信息的访问权限包括: 共享对象和 /或共享有效时间和 /或共享 深度; The method according to claim 3, wherein the access rights of the shared friend information set by the second user comprise: a shared object and/or a shared effective time and/or a shared depth;
所述服务器根据第二用户设置的共享好友信息的访问权限判断第一 用户是否有权限访问所述共享好友信息包括: The determining, by the server, whether the first user has the right to access the shared friend information according to the access permission of the shared friend information set by the second user includes:
根据所述共享对象判断第一用户是否属于被允许访问所述共享好友
信息的共享对象, 如果是, 则有权限; 否则, 没有权限; 和 /或 根据所述共享有效时间判断所述共享好友信息是否在当前时间有 效, 如果是, 则有权限; 否则, 没有权限; 和 /或 Determining, according to the shared object, whether the first user belongs to being allowed to access the shared friend The shared object of the information, if yes, has the authority; otherwise, there is no authority; and/or whether the shared friend information is valid at the current time according to the sharing effective time, and if so, the authority; otherwise, there is no permission; and / or
服务器获取所述第一用户与所述第二用户的关系层数, 判断所述关 系层数是否超过所述共享深度, 如果否, 则有权限; 否则, 没有权限; 所述共享深度为允许访问所述共享好友信息的好友关系最大层数。 Obtaining, by the server, the number of layers of the relationship between the first user and the second user, determining whether the number of relationship layers exceeds the shared depth, and if not, having rights; otherwise, having no rights; The maximum number of layers of the friend relationship of the shared friend information.
5、根据权利要求 4所述的方法, 其特征在于, 所述服务器获取第一 用户与第二用户的关系层数包括: The method of claim 4, wherein the obtaining, by the server, the number of layers of the relationship between the first user and the second user comprises:
所述服务器从接收到的所述请求中携带的用户关联信息中获得所述 第一用户与第二用户的关系层数; 或 Obtaining, by the server, the relationship layer of the first user and the second user from the user association information carried in the received request; or
所述服务器根据保存的第一用户的历史访问信息得到所述第一用户 与第二用户的关系层数; 或 The server obtains the relationship layer of the first user and the second user according to the saved historical access information of the first user; or
所述服务器根据第一用户和第二用户的身份信息计算得到所述第一 用户与第二用户的关系层数。 The server calculates the relationship layer of the first user and the second user according to the identity information of the first user and the second user.
6、 根据权利要求 2或 4所述的方法, 其特征在于, 进一步包括: 所述服务器接收所述第二客户端设备发送的第二用户取消共享请 求, 删除所述第二用户的共享设置信息; 和 /或 The method according to claim 2 or 4, further comprising: the server receiving a second user cancel sharing request sent by the second client device, deleting the sharing setting information of the second user ; and / or
所述服务器接收所述第二客户端设备发送的第二用户修改共享设置 信息请求, 根据所述请求中携带的共享设置信息替换自身保存的第二用 户的共享设置信息, 或者根据所述请求中的修改指示修改自身保存的第 二用户的共享设置信息。 The server receives the second user modification sharing setting information request sent by the second client device, and replaces the sharing setting information of the second user saved by the second user device according to the sharing setting information carried in the request, or according to the request The modification instruction modifies the sharing setting information of the second user saved by itself.
7、根据权利要求 1, 2, 4或 6所述的方法, 其特征在于, 进一步包 括: The method of claim 1, 2, 4 or 6, further comprising:
所述服务器接收所述第一客户端设备发送的第一用户添加第二用户 为好友的请求;
向第二用户发送添加好友请求 , 所述添加好友请求中包含第一用户 的身份信息和用户关联信息; 以及 Receiving, by the server, a request that the first user sends the second user as a friend sent by the first client device; Sending a friend request to the second user, where the add friend request includes identity information and user association information of the first user;
接收第二用户返回的应答消息, 若第二用户拒绝该请求, 拒绝第一 用户的添加好友请求; 若第二用户接受该请求, 向第一用户发送添加好 友成功消息。 Receiving a response message returned by the second user, if the second user rejects the request, rejecting the first user's add friend request; if the second user accepts the request, sending a friend friend success message to the first user.
8、 根据权利要求 7所述的方法, 其特征在于, 8. The method of claim 7 wherein:
所述服务器从接收的所述第一客户端设备发送的第一用户添加第二 用户为好友的请求中获得所述用户关联信息; 或 The server obtains the user association information from the received request that the first user adds the second user as a friend sent by the first client device; or
所述服务器根据保存的第一用户的历史查看信息得到所述用户关联 信息; 或 The server obtains the user association information according to the saved history view information of the first user; or
所述服务器根据第一用户和第二用户的身份信息计算得到所述用户 关联信息。 The server calculates the user association information according to the identity information of the first user and the second user.
9、 根据权利要求 2所述的方法, 其特征在于, 进一步包括: 服务器收到所述第一用户获取第二用户共享好友信息的请求后 , 向 所述第二客户端设备发送获取第二用户的共享设置信息的请求。 The method according to claim 2, further comprising: after receiving the request that the first user acquires the second user sharing the friend information, the server sends the second user to the second client device. The request for sharing settings information.
10、 根据权利要求 9所述的方法, 其特征在于, 所述向第二客户端 设备发送获取第二用户的共享设置信息的请求包括: The method according to claim 9, wherein the sending, by the second client device, the request for acquiring the sharing setting information of the second user comprises:
判断服务器是否保存有所述第二用户的共享设置信息,若没有保存, 则向所述第二客户端设备发送获取第二用户的共享设置信息的请求。 Determining whether the server saves the sharing setting information of the second user, and if not, sending a request for acquiring the sharing setting information of the second user to the second client device.
11、 根据权利要求 1, 2, 4, 6或 9所述的方法, 其特征在于, 所述 共享好友信息包括所述第二用户共享的好友的标识列表和 /或用户群组 标识列表。 The method according to claim 1, 2, 4, 6 or 9, wherein the shared buddy information comprises a list of buddies of the buddy shared by the second user and/or a list of user group identities.
12、 一种服务器, 其特征在于, 包括收发单元和信息提供单元, 其 中 12. A server, comprising: a transceiver unit and an information providing unit, wherein
所述收发单元用于接收客户端设备发送的第一用户获取第二用户的
共享好友信息的请求, 将所述第一用户获取第二用户的共享好友信息的 请求提供给所述信息提供单元, 将所述信息提供单元提供的所述第二用 户的共享好友信息发送到所述客户端设备供其提供给所述第一用户; 所述信息提供单元用于根据所述收发单元提供的所述第一用户获取 第二用户的共享好友信息的请求获取第二用户的共享好友信息, 将所述 第二用户的共享好友信息提供给所述收发单元。 The transceiver unit is configured to receive, by the first user, the second user that is sent by the client device a request for sharing the friend information, the request for the first user to obtain the shared friend information of the second user is provided to the information providing unit, and the shared friend information of the second user provided by the information providing unit is sent to the The client device is provided to the first user; the information providing unit is configured to acquire a shared friend of the second user according to the request that the first user obtains the shared friend information of the second user provided by the transceiver unit And providing the shared friend information of the second user to the transceiver unit.
13、 根据权利要求 12所述的服务器, 其特征在于, 进一步包括: 信息存储单元, 用于接收并保存所述收发单元提供的第二用户的共 享设置信息, 所述共享设置信息包括所述第二用户的共享好友信息; 所述信息提供单元进一步用于根据所述第一用户获取第二用户的共 享好友信息的请求中携带的第二用户的身份信息在所述信息存储模块 中查找第二用户的共享设置信息, 将查找到的所述共享设置信息中的共 享好友信息提供给所述收发单元; The server according to claim 12, further comprising: an information storage unit, configured to receive and save sharing setting information of the second user provided by the transceiver unit, where the sharing setting information includes the a shared buddy information of the second user; the information providing unit is further configured to search for the second information in the information storage module according to the identity information of the second user carried in the request that the first user obtains the shared buddy information of the second user Sharing the setting information of the user, and providing the shared friend information in the shared setting information that is found to the transceiver unit;
所述收发单元进一步用于接收第二客户端设备发送的第二用户的共 享设置信息, 并将所述共享设置信息提供给所述信息存储单元。 The transceiver unit is further configured to receive sharing setting information of the second user sent by the second client device, and provide the sharing setting information to the information storage unit.
14、 根据权利要求 13所述的服务器, 其特征在于, 进一步包括: 权限管理单元, 用于根据所述信息提供单元查找到的第二用户的共 享设置信息判断第一用户是否有权限获取所述共享好友信息 , 将判断结 果提供给所述信息提供单元; The server according to claim 13, further comprising: a rights management unit, configured to determine, according to the sharing setting information of the second user found by the information providing unit, whether the first user has the right to obtain the Sharing the friend information, and providing the judgment result to the information providing unit;
所述信息提供单元进一步用于将所述查找到的第二用户的共享设置 信息和所述第一用户的标识提供给所述权限管理单元, 接收所述权限管 理单元提供的判断结果, 如果所述第一用户有权限, 将所述共享设置信 息中的共享好友信息提供给所述收发单元。 The information providing unit is further configured to: provide the found sharing setting information of the second user and the identifier of the first user to the rights management unit, and receive a determination result provided by the rights management unit, if The first user has the right to provide the shared friend information in the sharing setting information to the transceiver unit.
15、 根据权利要求 13所述的服务器, 其特征在于, 15. The server of claim 13 wherein:
所述收发单元进一步用于接收客户端设备发送的第二用户取消共享
请求并提供给所述信息存储单元; 所述信息存储单元进一步用于获取所 述取消共享请求, 删除所述第二用户的共享设置信息; 和 /或 The transceiver unit is further configured to receive a second user canceling sharing sent by the client device Requesting and providing to the information storage unit; the information storage unit is further configured to acquire the cancellation sharing request, deleting sharing setting information of the second user; and/or
所述收发单元进一步用于接收客户端设备发送的第二用户修改共享 设置信息请求并提供给所述信息存储单元; 所述信息存储单元进一步用 于获取所述修改共享设置信息请求, 用所述修改共享设置信息请求中携 带的共享设置信息替换保存的第二用户的共享设置信息, 或者根据所述 修改共享设置信息请求中的修改指示修改保存的第二用户的共享设置 信息中的内容。 The transceiver unit is further configured to receive a second user modification sharing setting information request sent by the client device, and provide the request to the information storage unit; the information storage unit is further configured to acquire the modify sharing setting information request, And modifying the shared setting information carried in the shared setting information request to replace the saved sharing setting information of the second user, or modifying the content in the saved sharing setting information of the second user according to the modification instruction in the modifying the sharing setting information request.
16、 根据权利要求 12所述的服务器, 其特征在于, 进一步包括: 好友认证单元, 用于第一用户添加第二用户为好友的请求, 所述请 求中包含第二用户的身份信息和用户关联信息, 通过所述收发单元向所 述第二用户发送添加好友请求, 所述请求中包含第一用户的身份信息和 所述用户关联信息, 获取所述收发单元提供的第二用户的应答消息, 若 所述第二用户拒绝所述添加好友请求, 则拒绝第一用户的添加好友请 求, 若所述第二用户接受所述添加好友请求, 则通过所述收发单元向所 述第一用户发送添加好友成功消息 , 更新第一用户和第二用户的好友列 表; The server according to claim 12, further comprising: a friend authentication unit, configured to: add, by the first user, a request that the second user is a friend, where the request includes the identity information of the second user and the user association And sending, by the transceiver unit, the add friend request to the second user, where the request includes the identity information of the first user and the user association information, and obtains a response message of the second user provided by the transceiver unit, If the second user rejects the add friend request, rejecting the add friend request of the first user, and if the second user accepts the add friend request, sending, by the transceiver unit, the add to the first user a friend success message, updating a friend list of the first user and the second user;
所述收发单元进一步用于接收客户端设备发送的第一用户添加第二 用户为好友的请求并提供给所述好友认证单元, 将所述好友认证单元提 供的所述添加好友请求发送给所述第二用户 , 将所述第二用户返回的应 答消息提供给所述好友认证单元 , 将所述好友认证单元提供的添加好友 成功消息发送给所述第一用户。 The transceiver unit is further configured to receive a request that the first user adds the second user as a friend sent by the client device, and provide the request to the friend authentication unit, and send the add friend request provided by the friend authentication unit to the The second user sends the response message returned by the second user to the friend authentication unit, and sends the add friend success message provided by the friend authentication unit to the first user.
17、 一种客户端设备, 其特征在于, 包括用户接口单元、 共享请求 单元和收发单元: 17. A client device, comprising: a user interface unit, a shared request unit, and a transceiver unit:
所述用户接口单元用于接收第一用户查看第二用户的共享好友信息
的指令, 并将该指令发送给共享请求单元, 将所述共享请求单元提供的 第二用户的共享好友信息提供给所述第一用户; The user interface unit is configured to receive, by the first user, the shared friend information of the second user. And the instruction is sent to the sharing requesting unit, and the shared friend information of the second user provided by the sharing requesting unit is provided to the first user;
所述共享请求单元用于从所述用户接口单元接收所述第一用户查看 第二用户共享好友信息的指令, 根据该指令生成第一用户获取第二用户 的共享好友信息的请求, 并将所述请求通过所述收发单元发送到服务 器, 接收收发单元提供的第二用户的共享好友信息; The sharing requesting unit is configured to receive, by the user interface unit, an instruction that the first user views the second user sharing the friend information, and according to the instruction, generate, by the first user, a request for acquiring the shared friend information of the second user, and Sending the request to the server through the transceiver unit, and receiving the shared friend information of the second user provided by the transceiver unit;
所述收发单元用于将所述共享请求单元发送的所述第一用户获取第 二用户的共享好友信息的请求发送到服务器, 获取服务器提供的第二用 户的共享好友信息并提供给所述共享请求单元。 The transceiver unit is configured to send, by the first requesting user, the request that the first user acquires the shared friend information of the second user to the server, obtain the shared friend information of the second user provided by the server, and provide the shared friend information to the share Request unit.
18、根据权利要求 17所述的客户端设备,其特征在于,进一步包括: 共享设置单元, 用于处理所述用户接口单元提供的共享设置信息, 并将所述共享设置信息提供给所述收发单元, 所述共享设置信息包括所 述第一用户的共享好友信息; The client device according to claim 17, further comprising: a sharing setting unit, configured to process sharing setting information provided by the user interface unit, and provide the sharing setting information to the sending and receiving a unit, the sharing setting information includes shared friend information of the first user;
所述用户接口单元进一步用于将用户输入的共享设置信息提供给所 述共享设置单元; The user interface unit is further configured to provide sharing setting information input by the user to the sharing setting unit;
所述收发单元进一步用于将所述共享设置单元提供的共享设置信息 发送到服务器。 The transceiver unit is further configured to send the sharing setting information provided by the sharing setting unit to the server.
19、 一种即时通信系统, 其特征在于, 包括: 19. An instant messaging system, comprising:
客户端设备, 用于向服务器发送第一用户获取第二用户共享好友信 息的请求, 以及获取所述服务器提供的第二用户的共享好友信息并提供 给第一用户; a client device, configured to send, to the server, a request for the first user to obtain the second user to share the friend information, and obtain the shared friend information of the second user provided by the server, and provide the shared user information to the first user;
服务器 , 用于接收所述客户端设备发送的所述第一用户获取第二用 户共享好友信息的请求, 将第二用户的共享好友信息提供给所述客户端 设备。 And a server, configured to receive, by the client device, the first user to obtain a second user sharing friend information request, and provide the second user's shared friend information to the client device.
20、 根据权利要求 19所述的系统, 其特征在于, 进一步包括:
第二客户端设备, 用于将用户的共享设置信息发送到服务器, 所述 共享设置信息包括所述第二用户的共享好友信息; 20. The system of claim 19, further comprising: a second client device, configured to send the sharing setting information of the user to the server, where the sharing setting information includes shared friend information of the second user;
所述服务器接收并保存所述客户端设备发送的第二用户的共享设置 信息; 根据所述客户端设备发送的所述第一用户获取第二用户共享好友 信息的请求中携带的第二用户的身份信息查找第二用户的共享设置信 息, 将查找到的所述共享设置信息中的共享好友信息发送到所述客户端 设备。 The server receives and saves the sharing setting information of the second user that is sent by the client device, and the second user that is carried in the request that the first user acquires the second user sharing the friend information sent by the client device The identity information finds the sharing setting information of the second user, and sends the shared buddy information in the found sharing setting information to the client device.
21、 根据权利要求 20所述的系统, 其特征在于, 21. The system of claim 20, wherein:
所述第二客户端设备进一步用于将第二用户设置的所述共享好友信 息的访问权限包含在所述共享设置信息中发送到服务器; The second client device is further configured to: send the access rights of the shared friend information set by the second user to the server in the sharing setting information;
所述服务器根据所述客户端设备发送的所述第一用户获取第二用户 共享好友信息的请求中携带的第二用户的身份信息查找第二用户的共 享设置信息 , 根据查找到的所述共享设置信息中的访问权限判断所述第 一用户是否有权限获取所述第二用户的共享好友信息, 如果所述第一用 户有权限, 则将所述共享设置信息中的共享好友信息发送到所述客户端 设备。
The server searches for the sharing setting information of the second user according to the identity information of the second user carried in the request that the first user acquires the second user sharing the friend information sent by the client device, according to the shared The access authority in the setting information determines whether the first user has the right to obtain the shared friend information of the second user, and if the first user has the right, sends the shared friend information in the sharing setting information to the Describe the client device.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101968024A CN101175051B (en) | 2007-12-05 | 2007-12-05 | Instant communication system, method and apparatus |
CN200710196802.4 | 2007-12-05 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2009074037A1 true WO2009074037A1 (en) | 2009-06-18 |
Family
ID=39423315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2008/073045 WO2009074037A1 (en) | 2007-12-05 | 2008-11-13 | An instant communication method, device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101175051B (en) |
WO (1) | WO2009074037A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015158128A1 (en) * | 2014-04-17 | 2015-10-22 | Tencent Technology (Shenzhen) Company Limited | Method and system of sharing information in a social networking application |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101175051B (en) * | 2007-12-05 | 2010-06-02 | 腾讯科技(深圳)有限公司 | Instant communication system, method and apparatus |
CN101321183B (en) * | 2008-06-30 | 2011-07-06 | 刘鑫 | Dependable social relationship recommending system and its operation method |
CN101415031B (en) * | 2008-12-03 | 2011-07-27 | 吴静 | Mutual authentication method and system between terminals |
CN101572607B (en) * | 2009-06-12 | 2011-11-09 | 阿里巴巴集团控股有限公司 | Method for processing authentication request message in social network and device thereof |
CN102340458B (en) * | 2010-07-26 | 2015-09-16 | 腾讯科技(深圳)有限公司 | The add-on system of good friend and adding method in immediate communication tool |
CN102742230A (en) * | 2010-08-26 | 2012-10-17 | 广州客多软件科技有限公司 | User information sharing method and system for client ends |
KR101187742B1 (en) * | 2010-12-09 | 2012-10-05 | 주식회사 이너스커뮤니티 | Social Network Service Apparatus and Method therefor |
CN102624636B (en) * | 2011-01-26 | 2015-05-27 | 中国移动通信集团公司 | Authorization control method, system and apparatus in instant communication system |
CN102281140B (en) * | 2011-06-24 | 2014-04-16 | 上海合合信息科技发展有限公司 | Acquisition method and system thereof for designated information |
CN102387093B (en) * | 2011-10-06 | 2017-07-21 | 福建爱特点信息科技有限公司 | The method and system that a kind of instant messaging good friend shares with group |
CN103092870A (en) | 2011-11-04 | 2013-05-08 | 腾讯科技(深圳)有限公司 | Method for establishing relational data of contact in network communication system and device for achieving the same |
CN103428069B (en) * | 2012-05-15 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Method and device for adding friends in social network |
CN102710556B (en) * | 2012-06-28 | 2015-10-14 | 北京奇虎科技有限公司 | The adding method of instant messaging good friend and device |
CN103841001B (en) * | 2012-11-22 | 2018-12-11 | 腾讯科技(深圳)有限公司 | social network information processing method and system |
CN102984049B (en) * | 2012-11-26 | 2017-03-29 | 北京奇虎科技有限公司 | Customer group is carried out according to theme and divides client and method with information transmission |
CN103078943A (en) * | 2013-01-05 | 2013-05-01 | 北京小米科技有限责任公司 | Method, device, system, terminal and server for information sharing |
US9083693B2 (en) | 2013-04-27 | 2015-07-14 | Tencent Technology (Shenzhen) Company Limited | Managing private information in instant messaging |
CN103327013B (en) * | 2013-05-31 | 2017-02-08 | 百度在线网络技术(北京)有限公司 | Contact person information sharing method and equipment based on sharing permission level |
CN104243284B (en) * | 2014-09-19 | 2018-04-24 | 王淦坤 | The transmission method and system of a kind of network information |
CN106941475B (en) * | 2016-01-04 | 2020-09-25 | 阿里巴巴集团控股有限公司 | Authentication method and device based on trust relationship |
CN107483318B (en) * | 2017-07-11 | 2020-07-14 | 珠海智加物联网络有限公司 | Role chatting method, system and storage device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1744557A (en) * | 2004-08-31 | 2006-03-08 | 腾讯科技(深圳)有限公司 | Methoe for realizing object sharing in network storage service based on instant communication tool |
CN1761247A (en) * | 2005-11-01 | 2006-04-19 | 中国移动通信集团公司 | Method for sharting data of instant message |
CN1852107A (en) * | 2005-11-09 | 2006-10-25 | 华为技术有限公司 | Relation information publishing, fetching method and system |
CN1960345A (en) * | 2006-09-28 | 2007-05-09 | 阿里巴巴公司 | Method and system for creating multi-accounting number users in instant communicating system |
CN101175051A (en) * | 2007-12-05 | 2008-05-07 | 腾讯科技(深圳)有限公司 | Instant communication system, method and apparatus |
-
2007
- 2007-12-05 CN CN2007101968024A patent/CN101175051B/en active Active
-
2008
- 2008-11-13 WO PCT/CN2008/073045 patent/WO2009074037A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1744557A (en) * | 2004-08-31 | 2006-03-08 | 腾讯科技(深圳)有限公司 | Methoe for realizing object sharing in network storage service based on instant communication tool |
CN1761247A (en) * | 2005-11-01 | 2006-04-19 | 中国移动通信集团公司 | Method for sharting data of instant message |
CN1852107A (en) * | 2005-11-09 | 2006-10-25 | 华为技术有限公司 | Relation information publishing, fetching method and system |
CN1960345A (en) * | 2006-09-28 | 2007-05-09 | 阿里巴巴公司 | Method and system for creating multi-accounting number users in instant communicating system |
CN101175051A (en) * | 2007-12-05 | 2008-05-07 | 腾讯科技(深圳)有限公司 | Instant communication system, method and apparatus |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015158128A1 (en) * | 2014-04-17 | 2015-10-22 | Tencent Technology (Shenzhen) Company Limited | Method and system of sharing information in a social networking application |
US9565247B2 (en) | 2014-04-17 | 2017-02-07 | Tencent Technology (Shenzhen) Company Limited | Method and system of sharing information in a social networking application |
Also Published As
Publication number | Publication date |
---|---|
CN101175051A (en) | 2008-05-07 |
CN101175051B (en) | 2010-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2009074037A1 (en) | An instant communication method, device and system | |
US10581788B2 (en) | Systems and methods for enabling dialog amongst different participant groups with variable and association-based privacy | |
US7639672B2 (en) | System and method for peer-to-peer internet communication | |
RU2495535C2 (en) | System, method and client for joining group | |
US7117254B2 (en) | Method of inducing content uploads in a social network | |
US7822821B2 (en) | Access point object depositable on a web page and useful for initiating communication between depositing user and buddy | |
US10264095B2 (en) | Control for inviting an unauthenticated user to gain access to display of content that is otherwise accessible with an authentication mechanism | |
US8886817B2 (en) | Federation and interoperability between social networks | |
JP6106206B2 (en) | Method and apparatus for sending an authentication request message in a social network | |
CN109076007B (en) | Method and system for managing configuration file of single account in asynchronous message transmission system | |
US20090216859A1 (en) | Method and apparatus for sharing content among multiple users | |
US9245251B2 (en) | Managing electronic sticky notes | |
US20090113006A1 (en) | Method and apparatus for mutual exchange of sensitive personal information between users of an introductory meeting website | |
JP2024532326A (en) | Integrated workspace on a communication platform | |
WO2013086800A1 (en) | Social network interoperation method and system | |
WO2011107027A1 (en) | Method and device for information exchange among business platforms | |
KR20090072777A (en) | Method and computer-readable recording medium for providing extended user list and enhanced dialog functions | |
US10560413B2 (en) | Systems and methods associated with collective contact information | |
KR101342406B1 (en) | Communication system and method using a virtual id in communication network | |
US10554592B2 (en) | Collective address book system | |
KR20210046082A (en) | Method, apparatus, and computer program product for creating externally shared communication channels | |
EP2294780B1 (en) | A method for masking data | |
US8903907B2 (en) | Relationship support apparatus, relationship support method, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08858531 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 121010 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 08858531 Country of ref document: EP Kind code of ref document: A1 |