WO2020200064A1 - Social contact method and device - Google Patents

Social contact method and device Download PDF

Info

Publication number
WO2020200064A1
WO2020200064A1 PCT/CN2020/081554 CN2020081554W WO2020200064A1 WO 2020200064 A1 WO2020200064 A1 WO 2020200064A1 CN 2020081554 W CN2020081554 W CN 2020081554W WO 2020200064 A1 WO2020200064 A1 WO 2020200064A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
server
media resource
friend
media
Prior art date
Application number
PCT/CN2020/081554
Other languages
French (fr)
Chinese (zh)
Inventor
谢佳雨
Original Assignee
上海掌门科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海掌门科技有限公司 filed Critical 上海掌门科技有限公司
Publication of WO2020200064A1 publication Critical patent/WO2020200064A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Definitions

  • the present invention relates to the computer field, in particular to a social networking method and equipment.
  • the existing media service app has a single function, and cannot provide social service functions except for the media resource provision function. When users viewing the same media resource have social needs, they cannot establish private social connections.
  • An object of the present invention is to provide a social networking method and device.
  • a server-based social networking method including:
  • the method before acquiring the second user whose selected media resource identifier is the same as the first user selected media resource identifier, the method further includes:
  • acquiring the second user whose selected media resource identifier is the same as the first user selected media resource identifier includes:
  • the method further includes:
  • the method after sending the selected media data corresponding to the same media resource identifier to the first client and the second client, the method further includes:
  • the media data playback request If at least one of the first client and the second client is received to end the media data playback request, stop sending the media data corresponding to the selected media resource identifier to the first client , Or if the media data playback ends, then to the first user terminal and the second user terminal to send consulting information about whether to add the other party as a friend,
  • the first user terminal and the second user terminal receive the confirmation information of whether to add the other party as a friend based on the consultation information, the first user and the second user are established as a friend relationship, and the The first client and the second client send a notification that the friend relationship has been established.
  • the method further includes:
  • the contact is ended, and the first user end and the The second client sends a notification to end the contact.
  • establishing a connection between the first user terminal and the second user terminal where the second user is located includes:
  • the connection between the first user end and the second user end is established.
  • a social networking method based on a first user terminal wherein the method includes:
  • the server establishes a connection with the second user terminal where the second user is located, wherein the second user terminal is obtained by the server, and the media resource identifier selected by the second user corresponding to the second user terminal and The selected media resource identifiers of the first users are the same.
  • the second user includes other users whose media resource identifier selected within a preset time period is the same as the media resource identifier selected by the first user.
  • the method further includes:
  • the inquiry information of whether to add the other party as a friend based on the end playback request is received from the server, or whether to add the other party as a friend based on the end of the media data playback is received from the server.
  • the friend's consultation information it also includes:
  • establishing contact with the second user terminal where the second user is located through the server terminal includes:
  • the server establishes a connection with the second user terminal based on the consent feedback.
  • a second user terminal-based social networking method wherein the method includes:
  • the server establishes a connection with the first user terminal where the first user is located, wherein the second user terminal is obtained by the server, and the media resource identifier selected by the second user corresponding to the second user terminal is associated with the The selected media resource identifiers of the first user are the same.
  • obtaining the media resource identifier selected by the second user includes:
  • the second user includes other users whose media resource identifier selected within a preset time period is the same as the media resource identifier selected by the first user.
  • the method further includes:
  • the method further includes:
  • the method after receiving the inquiry information from the server on whether to add the other party as a friend, the method further includes:
  • establishing contact with the first user terminal where the first user is located through the server terminal includes:
  • a computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement any of the methods described above.
  • a device for information processing on a network device side includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions When executed by the processor, the device is triggered to execute any of the methods described above.
  • the present invention can automatically establish a contact channel between the first user and the second user when the first and second users select the same media resource identifier, which is convenient for the first user and the second user Free communication through contact channels can also expand the social scope of the first user and the second user.
  • Fig. 1 shows a flowchart of an embodiment of a social networking method according to the present invention
  • Figure 2 shows a first interface diagram of an embodiment of the social networking method according to the present invention
  • FIG. 3 shows a second interface diagram of an embodiment of the social networking method according to the present invention
  • FIG. 4 shows a third interface diagram of an embodiment of the social networking method according to the present invention.
  • FIG. 5 shows a fourth interface diagram of an embodiment of the social networking method according to the present invention.
  • FIG. 6 shows a fifth interface diagram of an embodiment of the social networking method according to the present invention.
  • Fig. 7 shows a sixth interface diagram of an embodiment of the social networking method according to the present invention.
  • Fig. 8 shows a seventh interface diagram of an embodiment of the social networking method according to the present invention.
  • the terminal, the device of the service network, and the trusted party all include one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
  • computer-readable media does not include non-transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
  • the present invention provides a server-based social networking method, which includes:
  • Step 101 Send an identification list of media resources to a first user terminal where the first user is located;
  • the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
  • Step 102 Obtain the media resource identifier selected by the first user from the list of identifiers of the media resource through the first user terminal;
  • Step 103 Obtain a second user whose selected media resource identifier is the same as the first user selected media resource identifier
  • the server can search for a second user who selects the same media resource identifier for the first user in the range of other user terminals other than the first user, so as to facilitate based on the media resource Identifies the connection between the first user and the second user; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I have chosen to play the same music 6
  • Step 104 Establish a connection system between the first user terminal and the second user terminal where the second user is located.
  • the contact may include a virtual communication channel established between the first user terminal and the second user terminal, and the first user and the second user communicate and communicate through the virtual communication channel.
  • This embodiment can realize that when the first and second users select the same media resource identifier, the contact channel between the first user and the second user is automatically established for them, so that the first user and the second user are free to use the contact channel. Communication can also expand the social scope of the first user and the second user.
  • an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
  • step 103 before obtaining a second user whose selected media resource identifier is the same as the first user selected by the first user, the method further includes:
  • the identification list of the media resources for playback can be sent to the second client just like the first client.
  • the second user receives the music list shown in Figures 1 and 2, he can select from the music list For your favorite music, for example, you can select the media resource identifier of Music 6 from the music list.
  • the server can send the music data corresponding to the selected Music 6 to the second user.
  • the second user receives the music data sent by the server, it can play it, so that the second user can easily select the media data to be played from the server just like the first user.
  • step 103 obtaining a second user whose selected media resource identifier is the same as the first user selected media resource identifier, includes:
  • the media resource selected by the first user is identified, it is necessary for the first user to establish contact with the second user who has made the same choice as himself for a period of time, but Over time, this necessity may gradually diminish.
  • a preset time period can be set. After the media resource identifier selected by the first user, the second user selected within the preset time period that is the same as the media resource identifier selected by the first user is obtained, so as to ensure that the follow-up is The connection established between the first user and the second user is more necessary.
  • step 104 establishing a connection between the first user end and the second user end where the second user is located includes:
  • the social space may be a private virtual communication space such as chat rooms and communication groups.
  • the social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space
  • the social information in cannot be obtained by other users outside the social space, so the social space is private.
  • step 104 after establishing a connection between the first user end and the second user end where the second user is located, further includes:
  • Step 105 Send media data corresponding to the same selected media resource identifier to the first user terminal and the second user terminal, so that the first user and the second user can play the media data.
  • the first user receives the music list shown in Figures 1 and 2, he can select his favorite music from the music list. For example, he can select the media resource identifier of Music 6 from the music list, and the server receives the music After the media resource identification of 6, the music data corresponding to the selected music 6 can be sent to the first user end, and the first user can play the music data after receiving the music data from the server sending end.
  • step 105 after sending the selected media data corresponding to the same media resource identifier to the first client and the second client, further includes:
  • the first client and the second client are respectively sent consultation information whether to add the other party as a friend,
  • the first user terminal and the second user terminal receive the confirmation information of whether to add the other party as a friend based on the consultation information, the first user and the second user are established as a friend relationship, and the The first client and the second client send a notification that the friend relationship has been established.
  • the maintenance time of the social space of the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on playing the same media data, Then, when one of the first user and the second user ends the playing of the media data, the contact channel for the first user and the second user to communicate may not need to be maintained. At this time, the first user and The second user respectively sends consultation information about whether to add the other party as a friend.
  • the server can add the first user Establish a friend relationship with the second user, and send a notification that the friend relationship has been established to the first user terminal and the second user terminal, and maintain the contact channel, so that after the media data is played, the first user and the second user Second, users can still keep in touch and communication.
  • the server can send to my user side the consultation information whether to continue to keep in touch with user A; as shown in Figures 1 and 6, if my The client sends a feedback message confirming to keep in touch with the server, and the client of A also sends a feedback message confirming to keep in touch with the server, the server can establish a friend relationship between me and user A and send it to my client Send a notification that a friend relationship has been established with the client of A, and keep the contact channel.
  • the method after sending the consultation information on whether to add the other party as a friend to the first user end and the second user end respectively, the method further includes:
  • the contact is ended, and the first user and the second user are notified respectively.
  • the client sends a notification to end the contact.
  • the server sends to the first user terminal and the second user terminal the consultation information on whether to add the other party as a friend
  • the server receives at least one of the first user and the second user
  • the server can close the contact channel and send the information that the social space is closed to the first user and the second user, and then the first user and the second user
  • the second user can no longer keep in touch, so that the first user and the second user can close the contact channel between the first user and the second user in time when there is no need to maintain contact after the media data is played.
  • step 104 establishing a connection between the first user end and the second user end where the second user is located includes:
  • the connection between the first user end and the second user end is established.
  • establishing the contact channel of the first user and the second user by sending a request for establishing the contact to the first user terminal and the second user terminal, respectively, the first user and the second user If the users agree, establishing the contact channel between the first user and the second user can ensure that the contact channel between the first user and the second user is established more reliably.
  • the method includes:
  • Step S11 sending an identification list of media resources for playing to the first client
  • the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
  • Step S12 Obtain the media resource identifier selected by the first user from the list of media resource identifiers through the first user terminal, and send the media data corresponding to the selected media resource identifier to the first user terminal to For the first user to play the media data;
  • the first user terminal receives the music list as shown in Figs. 1 and 2, the first user can select his favorite music from the music list, for example, he can select the media resource identifier of Music 6 from the music list, and serve
  • the terminal may send the music data corresponding to the selected music 6 to the first user terminal, and the first user can play the music data after receiving the music data from the server sending terminal;
  • Step S13 searching for a second user who plays the media data corresponding to the media resource identifier selected by the first user;
  • the server can search for a second user who plays the same media data within the range of other user terminals other than the first user for the first user, so as to facilitate
  • the aforementioned media data establishes a private social space for the first user and the second user; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I choose to play the same music 6;
  • Step S14 Establish a social space for the first user and the second user, and send information that the social space is open for social interaction to the first user terminal and the second user terminal.
  • the social space may be a private virtual communication space such as chat rooms and communication groups.
  • the social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space
  • the social information in cannot be obtained by other users outside the social space, so the social space is private.
  • This embodiment can realize that when the first and second users play the same media data, the social space of the first user and the second user is automatically created for them, and the social space is sent to the first user terminal and the second user terminal.
  • the space opens up social information, which facilitates free communication between the first user and the second user in the social space, and can also expand the social scope of the first user and the second user.
  • an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
  • step S13 before searching for a second user who plays the media data corresponding to the media resource identifier selected by the first user, the method further includes:
  • Step S131 Send an identification list of media resources for playing to the second client
  • Step S132 Obtain the media resource identifier selected by the second user from the list of media resource identifiers through the second user terminal, and send the media data corresponding to the selected media resource identifier to the second user terminal. For the second user to play the media data.
  • the identification list of the media resources for playback can be sent to the second client just like the first client.
  • the second user receives the music list shown in Figures 1 and 2, he can select from the music list For your favorite music, for example, you can select the media resource identifier of Music 6 from the music list.
  • the server can send the music data corresponding to the selected Music 6 to the second user.
  • the second user receives the music data from the sending end of the server, it can play, so that the second user can easily obtain the media data that he wants to play from the server just like the first user.
  • the method further includes:
  • Step S15 If at least one of the first user terminal and the second user terminal is received to end the media data playback request, stop sending the media resource identifier corresponding to the selected media resource to the first user terminal Media data of, and send to the first user terminal and the second user terminal respectively consulting information about whether to add the other party as a friend,
  • Step S16 if the first user terminal and the second user terminal receive the confirmation information of whether to add each other as a friend based on the consultation information, the first user and the second user are established as a friend relationship, and Send a notification that a friend relationship has been established to the first user terminal and the second user terminal, and keep the social space open.
  • the maintenance time of the social space of the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on playing the same media data, Then, when one of the first user and the second user ends the playback of the media data, the social space for the first user and the second user to communicate may not need to be maintained, and at this time, the first user can be And the second user terminal respectively send consultation information about whether to add the other party as a friend.
  • the server can add the first user A user and a second user establish a friendship relationship, and send a notification that the friendship relationship has been established to the first user terminal and the second user terminal to keep the social space open, so that after the media data is played, the The first user and the second user can still continue to communicate.
  • the server can send to my user side the consultation information whether to continue to keep in touch with user A; as shown in Figures 1 and 6, if my The user side sends the feedback information confirming to keep in touch with the server, and the user terminal of A also sends the feedback information confirming to keep in touch with the server, the server can establish a friendship relationship between me and user A, and send me and user A Send a notification that a friend relationship has been established, and keep the social space open.
  • step S15 after sending to the first user end and the second user end the consultation information on whether to add the other party as a friend, it further includes:
  • Step S17 if at least one of the first user end and the second user end is received, based on the consultation information, whether to add the other party as a friend or not, then close the social space and report to the The first user terminal and the second user terminal send information that the social space is closed.
  • the server sends to the first user terminal and the second user terminal the consultation information on whether to add the other party as a friend
  • the server receives at least one of the first user and the second user
  • the server can close the social space and send the information that the social space is closed to the first user and the second user, and then the first user
  • the first user and the second user can no longer keep in touch, so that the first user and the second user can close the social space of the first user and the second user in time when there is no need to maintain contact after the media data is played.
  • step S14 establishing the social space of the first user and the second user, and sending the social space establishment information to the first user and the second user, includes:
  • Step S141 sending a request for establishing the social space to the first user terminal and the second user terminal respectively;
  • Step S142 if the first user terminal and the second user terminal are received, based on the consent feedback sent based on the request, establish a social space for the first user and the second user, and send the information to the first user terminal And the second user terminal sends the information of the social space establishment.
  • the establishment of the social spaces of the first user and the second user can ensure that the social spaces of the first user and the second user are established more reliably.
  • step S14 the social space of the first user and the second user is established, and after sending social information to the first user and the second user, further include:
  • Step S181 If a request to exit the social space sent by at least one of the first user terminal and the second user terminal is received,
  • Step S182 If the number of people in the social space is 2, close the social space based on the request to exit the social space, and send the social space to the first user terminal and the second user terminal Closed information;
  • Step S183 If the number of people in the social space is at least 3, delete the first user or the second user from the social space, and send to the first user or the second user that they have logged out Information about the social space; or delete the first user and the second user from the social space, and send the first user terminal and the second user terminal the information that they have exited the social space.
  • the server may receive at least one of the first user and the second user A request sent by a party to exit the social space will log the first user and/or the second user out of the social space, or directly close the social space.
  • the server can log out of the social The request of the space to close the social space, and send the information that the social space is closed to the first user and the second user;
  • the server can delete the first user or the second user from the social space and send it to the first user.
  • a user or a second user sends information that they have exited the social space;
  • the server can delete the first user and the second user from the social space and send it to the The first user and the second user send information that they have exited the social space.
  • the present invention also provides a social networking method based on the first user terminal, the method including:
  • Step 201 Receive an identification list of media resources from the server
  • the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
  • Step 202 Obtain and send the media resource identifier selected by the first user from the list of identifiers of the media resource to the server;
  • the first user receives the music list shown in FIGS. 1 and 2, he can select his favorite music from the music list, for example, he can select the media resource identifier of music 6 from the music list;
  • Step 203 Establish a connection with a second user terminal where the second user is located through the server, where the second user is obtained by the server, and the media resource identifier selected by the second user corresponding to the second user The same as the selected media resource identifier of the first user.
  • the server can search for a second user who selects the same media resource identifier for the first user in the range of other user terminals except the first user, so as to facilitate based on the media data Establish a connection between the first user and the second user; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I have selected the same music6.
  • the contact may include a virtual communication channel established between the first user and the second user, and the first user and the second user communicate and communicate through the virtual communication channel.
  • This embodiment can realize that when the first and second users select the same media resource identifier, the contact channel between the first user and the second user is automatically established for them, so that the first user and the second user are free to use the contact channel. Communication can also expand the social scope of the first user and the second user.
  • an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
  • the second user includes other users whose media resource identifiers selected within a preset time period are the same as the media resource identifiers selected by the first user.
  • the media resource selected by the first user is identified, it is necessary for the user to establish contact with the second user who made the same choice as the user for a period of time, but with Over time, this necessity may gradually diminish.
  • a preset time period can be set. After the media resource identifier selected by the first user, the second user who selected the same media resource identifier as the first user selected within the preset time period is obtained, thereby ensuring that the subsequent The connection established between the first user and the second user is more necessary.
  • step 203 establishing contact with the second user through the server terminal, includes:
  • a social space is established with the second user through the server.
  • the social space may be a private virtual communication space such as chat rooms and communication groups.
  • the social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space
  • the social information in cannot be obtained by other users outside the social space, so the social space is private.
  • step 203 after establishing contact with the second user terminal where the second user is located through the server terminal, further includes:
  • Step 204 Receive media data corresponding to the same media resource identifier selected by the second user from the server, and play the media data.
  • the server After the server receives the media resource identifier of Music 6, it can send the music data corresponding to the selected Music 6 to the first user. After the first user receives the music data from the server sender, it can proceed. Play.
  • step 204 after the media data is played, further includes:
  • Step 205 Send an end playback request of the media data to the server, and receive consultation information from the server on whether to add the other party as a friend based on the end playback request; or,
  • Step 206 When the playback of the media data ends, receiving from the server, based on the completion of the media data playback, consultation information on whether to add the other party as a friend is received;
  • Step 207 Send confirmation information whether to add the other party as a friend to the server based on the consultation information, and receive from the server the first user and the second user that are returned based on the confirmation information and send the established friend Notification of the relationship, and maintain the contact with the second client.
  • the maintenance time of the social space of the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on selecting the same media resource identifier , Then, when one of the first user and the second user ends the playback of the media data, the contact channel for the first user and the second user to communicate may not need to be maintained, and the first user can And the second user respectively send consultation information about whether to add the other party as a friend.
  • the server can add the first The user and the second user establish a friend relationship, and send a notification that the friend relationship has been established to the first user and the second user, and keep the contact channel open, so that after the media data is played, the first user And the second user can still continue to communicate.
  • the server can send the user I whether to continue to keep in touch with user A consultation information; as shown in Figures 1 and 6, if my client Send feedback information confirming to keep in touch with the server, and user A also sends feedback confirming to keep in touch with the server, the server can establish a friend relationship between me and user A, and send me and user A have established friends Notification of the relationship, keep the said contact channel open.
  • step 206 is to receive from the server, based on the end playback request, consultation information on whether to add the other party as a friend, or receive from the server based on all information.
  • consultation information on whether to add the other party as a friend it also includes:
  • the server sends to the first user and the second user the consulting information on whether to add the other party as a friend
  • the server can close the social space, and send the information that the contact channel is closed to the first user and the second user, and then the first user and the second user
  • the second user can no longer keep in touch, so that the first user and the second user can close the contact channel between the first user and the second user in time when there is no need to maintain contact after the media data is played.
  • step 203 establishing contact with the second user terminal where the second user is located through the server terminal, includes:
  • the server establishes a connection with the second user terminal based on the consent feedback.
  • the first user and the second user Before establishing the connection between the first user and the second user, by sending a request for establishing the connection to the first user and the second user, respectively, the first user and the second user agree In the case of establishing the connection between the first user and the second user, it can be ensured that the connection between the first user and the second user is established more reliably.
  • the method includes:
  • Step S21 receiving an identification list of media resources for playing from the server
  • the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
  • Step S22 The media resource identifier selected from the list of media resource identifiers is sent to the server, and the media data corresponding to the selected media resource identifier is received from the server and played;
  • the first client receives the music list shown in Figures 1 and 2, he can select his favorite music from the music list. For example, he can select the media resource identifier of Music 6 from the music list, and the server receives After the media resource of the music 6 is identified, the music data corresponding to the selected music 6 can be sent to the first user end, and the first user can play it after receiving the music data from the server sending end;
  • Step S23 receiving information about the opening of the social space of the first user and the second user from the server, where the second user searches and plays the media resource identifier selected by the first user by the server Other users of the media data obtain, and the social spaces of the first user and the second user are established by the server.
  • the server can search for a second user who plays the same media data within the range of other user terminals other than the first user for the first user, so as to facilitate
  • the aforementioned media data establishes a private social space for the first user and the second user; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I choose to play the same music 6;
  • the social space may be a private virtual communication space such as chat rooms and communication groups.
  • the social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space
  • the social information in cannot be obtained by other users outside the social space, so the social space is private.
  • This embodiment can realize that when the first and second users play the same media data, the social space of the first user and the second user is automatically created for them, and social information is sent to the first user and the second user , It is convenient for the first user and the second user to communicate freely in the social space, and can also expand the social scope of the first user and the second user.
  • an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
  • step S23 after receiving the information of the social space establishment of the first user and the second user from the server, further includes:
  • Step S24 Send a request to end playing the media data to the server;
  • Step S25 receiving consultation information from the server on whether to add the other party as a friend based on the end playback request
  • Step S26 based on the consultation information, send confirmation information on whether to add the other party as a friend to the server, and receive from the server the first user and the second user that are returned based on the confirmation information and send the established friend Notification of the relationship, and maintain social communication with the second user terminal in the social space.
  • the maintenance time of the social space of the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on playing the same media data, Then, when one of the first user and the second user ends the playback of the media data, the social space for the first user and the second user to communicate may not need to be maintained. At this time, the first user and The second user respectively sends consultation information about whether to add the other party as a friend.
  • the server can add the first user Establish a friend relationship with the second user, and send a notification that the friend relationship has been established to the first user and the second user, and keep the social space open, so that after the media data is played, the first user and The second user can still continue to communicate.
  • the server can send to my user side the consultation information whether to continue to keep in touch with user A; as shown in Figures 1 and 6, if my The user side sends the feedback information confirming to keep in touch with the server, and the user side of A also sends the feedback information confirming to keep in touch with the server, the server can establish a friendship between me and user A, and send a message to me and A’s The user terminal sends a notification that the friend relationship has been established, and keeps the social space open.
  • step S25 after receiving the inquiry information from the server on whether to add the other party as a friend based on the end playback request, further includes:
  • Step S27 sending rejection information based on the consultation information whether to add the other party as a friend to the server, and receiving from the server information that the social space is closed based on the rejection information.
  • the server sends to the first user terminal and the second user terminal the consultation information on whether to add the other party as a friend
  • the server receives at least one of the first user and the second user
  • the server can close the social space, and send the information that the social space is closed to the first user end and the second user end.
  • the first user and the second user can no longer keep in touch, so that the first user and the second user can close the social space of the first user and the second user in time when there is no need to maintain contact after the media data is played. , To avoid unnecessary disturbance to the first user and the second user.
  • step S23 receiving social information of the first user and the second user from the server includes:
  • Step S231 receiving a request for establishing the social space from the server
  • Step S232 sending a consent feedback based on the request to establish the social space to the service
  • Step S24 receiving information from the server that the social spaces of the first user and the second user are open for social interaction based on the consent feedback.
  • the establishment of the social spaces of the first user and the second user can ensure that the social spaces of the first user and the second user are established more reliably.
  • step S23 after receiving from the server the information about the social opening of the social space of the first end user and the second user, the method further includes:
  • Step S28 sending a request to exit the social space to the server
  • Step S29 receiving information that the social space is closed based on the request for exiting the social space or information that the first user has exited the social space from the server.
  • the server may receive at least one of the first user and the second user A request sent by a party to exit the social space will log the first user and/or the second user out of the social space, or directly close the social space.
  • the server can log out of the social The request of the space to close the social space, and send the information that the social space is closed to the first and second users;
  • the server can delete the first user or the second user from the social space and send it to the first user.
  • a user or a second user sends information that they have exited the social space;
  • the server can delete the first user and the second user from the social space and send it to the The first user and the second user send information that they have exited the social space.
  • the present invention also provides a social networking method based on a second user terminal, the method including:
  • Step 301 Obtain the selected media resource identifier selected by the second user
  • the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
  • Step 302 Establish a connection with the first user terminal where the first user is located through the server, where the second user is obtained by the server, and the media resource identifier selected by the second user corresponding to the second user is related to the The selected media resource identifiers of the first user are the same.
  • the first user receives the music list as shown in Figures 1 and 2, he can select his favorite music from the music list. For example, he can select the media resource identifier of music 6 from the music list, and the server receives music 6 The media resource identifier of;
  • the server can search for a second user who plays the same media resource identifier within the scope of other user terminals other than the first user for the first user, so that based on the media resource identifier as the first user A user and a second user establish a private social space; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I choose to play the same music 6.
  • the contact may include a virtual communication channel established between the first user and the second user, and the first user and the second user communicate and communicate through the virtual communication channel.
  • This embodiment can realize that when the first and second users select the same media resource identifier, the contact channel between the first user and the second user is automatically established for them, so that the first user and the second user are free to use the contact channel. Communication can also expand the social scope of the first user and the second user.
  • an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
  • step 301 selecting a media resource identifier, includes:
  • the identification list of the media resources for playback can be sent to the second client just like the first client.
  • the second user receives the music list shown in Figures 1 and 2, he can select from the music list For your favorite music, for example, you can select the media resource identifier of Music 6 from the music list and send it to the server, so that the second user can easily obtain the desired media data from the server just like the first user.
  • the second user includes other users who have the same selection of the media resource identifier selected by the first user within a preset time period.
  • the media resource selected by the first user is identified, it is necessary for the user to establish contact with the second user who made the same choice as the user for a period of time, but with Over time, this necessity may gradually diminish.
  • a preset time period can be set. After the media resource identifier selected by the first user, the second user who selected the same media resource identifier as the first user selected within the preset time period is obtained, thereby ensuring that the subsequent The connection established between the first user and the second user is more necessary.
  • step 302 establishing a connection with the first user terminal where the first user is located through the server terminal, includes:
  • the social space may be a private virtual communication space such as chat rooms and communication groups.
  • the social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space
  • the social information in cannot be obtained by other users outside the social space, so the social space is private.
  • step 302 after establishing contact with the first user terminal where the first user is located through the server terminal, further includes:
  • the server After the server receives the media resource identifier of Music 6, it can send the music data corresponding to the selected Music 6 to the second user. After the second user receives the music data from the server sender, it can proceed. Play.
  • step 302 after establishing contact with the first user terminal where the first user is located through the server terminal, further includes:
  • Step 303 Send the end playback request of the media data to the server and receive from the server consultation information based on the end playback request whether to add the other party as a friend; or,
  • Step 304 When the playback of the media data ends, receiving from the server, based on the completion of the media data playback, consultation information on whether to add the other party as a friend is received;
  • Step 305 Send confirmation information based on the consultation information whether to add the other party as a friend to the server, and receive and send a notification from the server that the first user and the second user have established a friend relationship.
  • the maintenance time of the connection between the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on selecting the same media resource identifier, Then, when one of the first user and the second user ends the playback of the media data, the social space for the first user and the second user to communicate may not need to be maintained. At this time, the first user and The second user respectively sends consultation information about whether to add the other party as a friend.
  • the server can add the A user and a second user establish a friendship relationship, and send a notification that the friendship relationship has been established to the first user and the second user, and keep the social space open, so that after the media data is played, the first user The user and the second user can still continue to maintain contact and communication.
  • the server can send the user I whether to continue to keep in touch with user A consultation information; as shown in Figures 1 and 6, if my client Send a feedback message confirming to keep in touch with the server, and user A also sends a feedback message confirming to keep in touch with the server, the server can establish a friend relationship between me and user A, and send a message to me and A’s client. A notification of establishing a friendship relationship and keep the contact channel open.
  • step 302 after receiving the inquiry information from the server about whether to add the other party as a friend, further includes:
  • the server sends to the first user terminal and the second user terminal the consultation information on whether to add the other party as a friend
  • the server receives at least one of the first user and the second user
  • the server can close the contact channel, and send the information that the contact channel is closed to the first user end and the second user end.
  • One user and the second user can no longer keep in touch, so that after the media data is played, the first user and the second user do not need to keep in touch, and the communication between the first user and the second user can be closed in time.
  • Contact channels to avoid unnecessary interruption to the first user and the second user.
  • establishing a connection with the first user terminal where the first user is located through the server includes:
  • establishing the contact channel of the first user and the second user by sending a request to establish the contact to the first user and the second user, In the case of consent, establishing the connection between the first user and the second user can ensure that the connection between the first user and the second user is established more reliably.
  • the method includes:
  • Step S31 receiving media data from the server and playing it
  • Step S32 receiving social information of the first user and the second user from the server, where the second user searches and plays other media data corresponding to the media resource identifier selected by the first user by the server.
  • the user obtains that the social space of the first user and the second user is established by the server.
  • the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
  • the first user After the first user receives the music list shown in Figures 1 and 2, he can select his favorite music from the music list. For example, he can select the media resource identifier of Music 6 from the music list, and the server receives the media of Music 6 After the resource identification, the music data corresponding to the music 6 selected by the first user can be sent to the first user, and the first user can play it after receiving the music data from the server sending end;
  • the server can search for a second user who plays the same media data within the range of other user terminals other than the first user for the first user, so as to facilitate based on the media data Create a private social space for the first user and the second user; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I choose to play the same music 6;
  • the social space may be a private virtual communication space such as chat rooms and communication groups.
  • the social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space
  • the social information in cannot be obtained by other users outside the social space, so the social space is private.
  • This embodiment can realize that when the first and second users play the same media data, the social space of the first user and the second user is automatically created for them, and social information is sent to the first user and the second user , It is convenient for the first user and the second user to communicate freely in the social space, and can also expand the social scope of the first user and the second user.
  • an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
  • step S31 receiving and playing media data from the server, includes:
  • the media resource identifier selected from the list of identifiers of the media resource and sent to the server;
  • the media data corresponding to the selected media resource identifier is received from the server and played.
  • the identification list of the media resources for playback can be sent to the second client just like the first client.
  • the second user receives the music list shown in Figures 1 and 2, he can select from the music list For your favorite music, for example, you can select the media resource identifier of Music 6 from the music list.
  • the server can send the music data corresponding to the selected Music 6 to the second user.
  • the second user receives the music data from the sending end of the server, it can play, so that the second user can easily obtain the media data that he wants to play from the server just like the first user.
  • step S32 after receiving the social information of the first user and the second user from the server, further includes:
  • Step S33 Send a request to end playback of the media data to the server;
  • Step S34 receiving, from the server, consulting information based on the end playback request whether to add the other party as a friend
  • Step S35 Send to the server a confirmation message based on the consultation information on whether to add the other party as a friend, receive and send a notification from the server that the first user and the second user have established a friend relationship, and keep it at all
  • the social space performs social communication with the first user.
  • the maintenance time of the social space of the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on playing the same media data, Then, when one of the first user and the second user ends the playback of the media data, the social space for the first user and the second user to communicate may not need to be maintained. At this time, the first user and The second user respectively sends consultation information about whether to add the other party as a friend.
  • the server can add the first user Establish a friend relationship with the second user, and send a notification that the friend relationship has been established to the first user and the second user, and keep the social space open, so that after the media data is played, the first user and The second user can still continue to communicate.
  • the server can send the user I whether to continue to keep in touch with user A consultation information; as shown in Figures 1 and 6, if my client Send feedback information confirming to keep in touch with the server, and user A also sends feedback confirming to keep in touch with the server, the server can establish a friend relationship between me and user A, and send me and user A have established friends Notification of relationship, keep the social space open.
  • step S34 after receiving the inquiry information from the server on whether to add the other party as a friend, the method further includes:
  • Step S37 Sending rejection information based on the consultation information on whether to add the other party as a friend to the server, and receiving from the server information that the social space is closed based on the rejection information.
  • the server sends to the first user terminal and the second user terminal the consultation information on whether to add the other party as a friend
  • the server receives at least one of the first user and the second user
  • the server can close the social space and send the information that the social space is closed to the first user and the second user, and then the first user It is no longer possible to keep in touch with the second user, so that the first user and the second user do not need to keep in touch after the media data is played, and the social space of the first user and the second user can be closed in time to avoid Cause unnecessary disturbance to the first user and the second user.
  • step S32 receiving social information of the first user and the second user from the server, includes:
  • Step S321 receiving a request for establishing the social space from the server
  • Step S322 sending consent feedback based on the request to the server;
  • Step S323 receiving social information based on the consent feedback from the server.
  • the establishment of the social spaces of the first user and the second user can ensure that the social spaces of the first user and the second user are established more reliably.
  • step S32 after receiving from the server the information about the opening of the social space of the first user and the second user, further includes:
  • Step S38 sending a request to exit the social space to the server
  • Step S39 receiving information that the social space is closed based on the request for exiting the social space or information that the second user has exited the social space from the server.
  • the server may receive the information from the first user and the second user.
  • the request for exiting the social space sent by at least one party will log the first user and/or the second user out of the social space, or directly close the social space.
  • the server can log out of the social The request of the space to close the social space, and send the information that the social space is closed to the first user and the second user;
  • the server can delete the first user or the second user from the social space and send it to the first user.
  • a user or a second user sends information that they have exited the social space;
  • the server can delete the first user and the second user from the social space and send it to the The first user and the second user send information that they have exited the social space.
  • the present invention also provides a computer-readable medium on which computer-readable instructions are stored, and the computer-readable instructions can be executed by a processor to implement the method described in any one of the foregoing embodiments.
  • the present invention also provides a device for information processing on the network device side, the device including a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor At this time, the device is triggered to execute the method described in any of the foregoing embodiments.
  • the present invention can be implemented in software and/or a combination of software and hardware.
  • it can be implemented by an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device.
  • the software program of the present invention may be executed by a processor to realize the steps or functions described above.
  • the software program (including related data structure) of the present invention can be stored in a computer-readable recording medium, such as a RAM memory, a magnetic or optical drive or a floppy disk and similar devices.
  • some steps or functions of the present invention may be implemented by hardware, for example, as a circuit that cooperates with a processor to execute each step or function.
  • a part of the present invention can be applied as a computer program product, such as computer program instructions, when executed by a computer, the method and/or technical solution according to the present invention can be invoked or provided through the operation of the computer.
  • the program instructions for invoking the method of the present invention may be stored in a fixed or removable recording medium, and/or transmitted through a data stream in a broadcast or other signal bearing medium, and/or stored in a The program instructions run in the working memory of the computer equipment.
  • an embodiment according to the present invention includes a device including a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, trigger
  • the operation of the device is based on the aforementioned methods and/or technical solutions according to multiple embodiments of the present invention.

Abstract

A social contact method and device. When a first user and a second user select a same media resource identifier, a contact channel is automatically established for the first user and the second user, so that the first user and the second user can freely communicate with each other through the contact channel, and the social contact ranges of the first user and the second user are expanded.

Description

社交方法及设备Social method and equipment 技术领域Technical field
本发明涉及计算机领域,尤其涉及一种社交方法及设备。The present invention relates to the computer field, in particular to a social networking method and equipment.
背景技术Background technique
现有的媒体服务app的功能单一,除了媒体资源提供功能外,无法提供社交服务功能,当查看同一媒体资源的用户之间有社交需求时,他们之间无法建立私密的社交联系。The existing media service app has a single function, and cannot provide social service functions except for the media resource provision function. When users viewing the same media resource have social needs, they cannot establish private social connections.
例如,两个用户在app内同时选择听一首歌,这两个用户需要基于选择听的同一首歌建立私密的社交联系,而现有的媒体服务app目前还无法满足用户的该需求。For example, if two users choose to listen to a song at the same time in an app, the two users need to establish a private social connection based on the same song that they choose to listen to. However, the existing media service app currently cannot meet the user's needs.
发明内容Summary of the invention
本发明的一个目的是提供一种社交方法及设备。An object of the present invention is to provide a social networking method and device.
根据本发明的一个方面,提供了一种基于服务端的社交方法,该方法包括:According to one aspect of the present invention, a server-based social networking method is provided, the method including:
向第一用户所在的第一用户端发送媒体资源的标识清单;Sending an identification list of media resources to the first client where the first user is located;
通过所述第一用户端获取所述第一用户从所述媒体资源的标识清单中选择的媒体资源标识;Acquiring, through the first user terminal, the media resource identifier selected by the first user from the list of identifiers of the media resource;
获取选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户;Acquiring a second user whose selected media resource identifier is the same as the media resource identifier selected by the first user;
建立所述第一用户端和所述第二用户所在的第二用户端的联系。Establish a connection between the first client and the second client where the second user is located.
进一步的,上述方法中,获取选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户之前,还包括:Further, in the above method, before acquiring the second user whose selected media resource identifier is the same as the first user selected media resource identifier, the method further includes:
向第二用户所在的第二用户端发送媒体资源的标识清单。Send an identification list of the media resources to the second client where the second user is located.
进一步的,上述方法中,获取选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户,包括:Further, in the above method, acquiring the second user whose selected media resource identifier is the same as the first user selected media resource identifier includes:
获取在预设时间段内选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户。Acquire a second user whose media resource identifier selected within a preset time period is the same as the media resource identifier selected by the first user.
进一步的,上述方法中,建立所述第一用户端和所述第二用户所在的第二用户端的联系之后,还包括:Further, in the above method, after establishing the connection between the first user terminal and the second user terminal where the second user is located, the method further includes:
向所述第一用户端和第二用户端发送所选择的相同的媒体资源标识对应的媒体数据,以供所述第一用户和第二用户播放所述媒体数据。Sending the media data corresponding to the same selected media resource identifier to the first user terminal and the second user terminal, so that the first user and the second user can play the media data.
进一步的,上述方法中,向所述第一用户端和第二用户端发送所选择的相同的媒体资源标识对应的媒体数据之后,还包括:Further, in the above method, after sending the selected media data corresponding to the same media resource identifier to the first client and the second client, the method further includes:
若接收到所述第一用户端和第二用户端中的其中至少一方,结束所述媒体数据播放的请求,则停止向所述第一用户端发送其所选择的媒体资源标识对应的媒体数据,或若所述媒体数据播放结束,则向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息,If at least one of the first client and the second client is received to end the media data playback request, stop sending the media data corresponding to the selected media resource identifier to the first client , Or if the media data playback ends, then to the first user terminal and the second user terminal to send consulting information about whether to add the other party as a friend,
若接收到所述第一用户端和第二用户端基于所述咨询信息的是否将对方加为好友的确认信息,则将所述第一用户和第二用户建立为好友关系,并向所述第一用户端和第二用户端发送已经建立好友关系的通知。If the first user terminal and the second user terminal receive the confirmation information of whether to add the other party as a friend based on the consultation information, the first user and the second user are established as a friend relationship, and the The first client and the second client send a notification that the friend relationship has been established.
进一步的,上述方法中,向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息之后,还包括:Further, in the above method, after sending the consultation information of whether to add the other party as a friend to the first client and the second client, respectively, the method further includes:
若接收到所述第一用户端和第二用户端中的其中至少一方,基于所述咨询信息的是否将对方加为好友的拒绝信息,则结束所述联系,并分别向第一用户端和第二用户端发送结束联系的通知。If at least one of the first user end and the second user end is received, based on the consultation information, whether to add the other party as a friend, then the contact is ended, and the first user end and the The second client sends a notification to end the contact.
进一步的,上述方法中,建立所述第一用户端和所述第二用户所在的第二用户端的联系,包括:Further, in the above method, establishing a connection between the first user terminal and the second user terminal where the second user is located includes:
分别向所述第一用户端和第二用户端发送建立联系的请求;Sending a request to establish a connection to the first client and the second client respectively;
若接收到所述第一用户端和第二用户端,基于所述请求发送的同意反馈,则建立所述第一用户端和第二用户端的联系。If the first user end and the second user end are received, and the consent feedback sent based on the request is received, the connection between the first user end and the second user end is established.
根据本发明的另一面,还提供一种基于第一用户端的社交方法,其中,该方法包括:According to another aspect of the present invention, there is also provided a social networking method based on a first user terminal, wherein the method includes:
从服务端接收媒体资源的标识清单;Receive a list of identifiers of media resources from the server;
获取第一用户从所述媒体资源的标识清单中选择的媒体资源标识并发送给所述服务端;Acquiring the media resource identifier selected by the first user from the list of identifiers of the media resource and sending it to the server;
通过所述服务端与第二用户所在的第二用户端建立联系,其中,所述第二用户端由所述服务端获取,所述第二用户端对应的第二用户选择的媒体资源标识与所述第一用户的选择媒体资源标识相同。The server establishes a connection with the second user terminal where the second user is located, wherein the second user terminal is obtained by the server, and the media resource identifier selected by the second user corresponding to the second user terminal and The selected media resource identifiers of the first users are the same.
进一步的,上述方法中,所述第二用户包括在预设时间段内选择的媒体资源标识与所述第一用户选择媒体资源标识相同的其他用户。Further, in the above method, the second user includes other users whose media resource identifier selected within a preset time period is the same as the media resource identifier selected by the first user.
进一步的,上述方法中,通过所述服务端与第二用户所在的第二用户端建立联系之后,还包括:Further, in the above method, after establishing contact with the second user terminal where the second user is located through the server terminal, the method further includes:
从所述服务端接收与所述第二用户所选择的相同的媒体资源标识对应的媒体数据,并播放所述媒体数据。Receiving media data corresponding to the same media resource identifier selected by the second user from the server, and playing the media data.
进一步的,上述方法中,播放所述媒体数据之后,还包括:Further, in the above method, after playing the media data, it further includes:
向所述服务端发送所述媒体数据的结束播放请求,从所述服务端接收基于所述结束播放请求的是否将对方加为好友的咨询信息;或,Sending the end playback request of the media data to the server, and receiving consultation information from the server whether to add the other party as a friend based on the end playback request; or,
当所述媒体数据播放结束,从所述服务端接收基于所述媒体数据播放结束的是否将对方加为好友的咨询信息;When the playback of the media data ends, receiving from the server, based on the end of the media data playback, consultation information on whether to add the other party as a friend;
基于所述咨询信息向所述服务端发送是否将对方加为好友的确认信息,从所述服务端接收基于所述确认信息返回的所述第一用户和第二用户已经建立好友关系的通知,并保持与第二用户端的所述联系。Sending, based on the consultation information, confirmation information on whether to add the other party as a friend to the server, and receiving from the server a notification that the first user and the second user have established a friend relationship based on the confirmation information, And keep the said contact with the second client.
进一步的,上述方法中,从所述服务端接收基于所述结束播放请求的是否将对方加为好友的咨询信息,或从所述服务端接收基于所述媒体数据播放结束的是否将对方加为好友的咨询信息之后,还包括:Further, in the above method, the inquiry information of whether to add the other party as a friend based on the end playback request is received from the server, or whether to add the other party as a friend based on the end of the media data playback is received from the server. After the friend's consultation information, it also includes:
向所述服务端发送基于所述咨询信息的是否将对方加为好友的拒绝信息,从所述服务端接收基于所述拒绝信息返回的结束联系的通知。Sending rejection information based on the consultation information whether to add the other party as a friend to the server, and receiving a notification of contact termination based on the rejection information returned from the server.
进一步的,上述方法中,通过所述服务端与第二用户所在的第二用户端建立联系,包括:Further, in the above method, establishing contact with the second user terminal where the second user is located through the server terminal includes:
从所述服务端接收建立所述联系的请求;Receiving a request to establish the contact from the server;
向所述服务端的发送基于所述建立所述联系的请求的同意反馈;Sending a consent feedback based on the request to establish the contact to the server;
通过所述服务端基于所述同意反馈与第二用户端建立联系。The server establishes a connection with the second user terminal based on the consent feedback.
根据本发明的另一面,还提供一种基于第二用户端的社交方法,其中,该方法包括:According to another aspect of the present invention, there is also provided a second user terminal-based social networking method, wherein the method includes:
获取第二用户选择的媒体资源标识;Acquiring the media resource identifier selected by the second user;
通过服务端与第一用户所在的第一用户端建立联系,其中,所述第二用户端由所述服务端获取,所述第二用户端对应的第二用户选择的媒体资源标识与所述第一用户的选择媒体资源标识相同。The server establishes a connection with the first user terminal where the first user is located, wherein the second user terminal is obtained by the server, and the media resource identifier selected by the second user corresponding to the second user terminal is associated with the The selected media resource identifiers of the first user are the same.
进一步的,上述方法中,获取第二用户选择的媒体资源标识,包括:Further, in the above method, obtaining the media resource identifier selected by the second user includes:
从所述服务端接收媒体资源的标识清单;Receiving an identification list of media resources from the server;
获取第二用户从所述媒体资源的标识清单中选择的媒体资源标识并发送给所述服务端。Acquire the media resource identifier selected by the second user from the list of identifiers of the media resource and send it to the server.
进一步的,上述方法中,所述第二用户包括在预设时间段内选择的媒体资源标识与所述第一用户选择媒体资源标识相同的其他用户。Further, in the above method, the second user includes other users whose media resource identifier selected within a preset time period is the same as the media resource identifier selected by the first user.
进一步的,上述方法中,通过服务端与第一用户所在的第一用户端建立联系之后,还包括:Further, in the above method, after establishing contact with the first user terminal where the first user is located through the server terminal, the method further includes:
从所述服务端接收与所述第一用户所选择的相同的媒体资源标识对应的媒体数据,并播放所述媒体数据。Receiving media data corresponding to the same media resource identifier selected by the first user from the server, and playing the media data.
进一步的,上述方法中,通过服务端与第一用户所在的第一用户端建立联系之后,还包括:Further, in the above method, after establishing contact with the first user terminal where the first user is located through the server terminal, the method further includes:
向所述服务端发送所述媒体数据的结束播放请求,从所述服务端的接收基于所述结束播放请求的是否将对方加为好友的咨询信息;或,Sending an end playback request of the media data to the server, and receiving consultation information from the server based on the end playback request whether to add the other party as a friend; or,
当所述媒体数据播放结束,从所述服务端接收基于所述媒体数据播放结束的是否将对方加为好友的咨询信息;When the playback of the media data ends, receiving from the server, based on the end of the media data playback, consultation information on whether to add the other party as a friend;
向所述服务端发送基于所述咨询信息的是否将对方加为好友的确认信息,从所述服务端接收发送第一用户和第二用户已经建立好友关系的通知。Sending confirmation information of whether to add the other party as a friend based on the consultation information to the server, and receiving and sending a notification from the server that the first user and the second user have established a friend relationship.
进一步的,上述方法中,从所述服务端的接收是否将对方加为好友的咨询信息之后,还包括:Further, in the above method, after receiving the inquiry information from the server on whether to add the other party as a friend, the method further includes:
向所述服务端发送基于所述咨询信息的是否将对方加为好友的拒绝信息,从所述服务端接收基于所述拒绝信息的结束联系的通知。Sending rejection information based on the consultation information whether to add the other party as a friend to the server, and receiving a notification of ending contact based on the rejection information from the server.
进一步的,上述方法中,通过服务端与第一用户所在的第一用户端建立联系,包括:Further, in the above method, establishing contact with the first user terminal where the first user is located through the server terminal includes:
从所述服务端接收建立所述联系的请求;Receiving a request to establish the contact from the server;
向所述服务端发送基于所述请求的同意反馈;Sending consent feedback based on the request to the server;
通过所述服务端基于所述同意反馈与所述第一用户端建立联系。Establishing contact with the first user terminal through the server terminal based on the consent feedback.
根据本发明的另一面,还提供一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现上述任一项所述的方法。According to another aspect of the present invention, there is also provided a computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement any of the methods described above.
根据本发明的另一面,还提供一种用于在网络设备端信息处理的设备,该设备包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该设备执行上述任一项所述的方法。According to another aspect of the present invention, there is also provided a device for information processing on a network device side. The device includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions When executed by the processor, the device is triggered to execute any of the methods described above.
与现有技术相比,本发明可以实现第一和第二用户选择相同的媒体资源标识时,为他们自动建立所述第一用户和第二用户的联系渠道,方便第一用户和第二用户在通过联系渠道进行自由交流,还可以扩大第一用户和第二用户的社交范围。Compared with the prior art, the present invention can automatically establish a contact channel between the first user and the second user when the first and second users select the same media resource identifier, which is convenient for the first user and the second user Free communication through contact channels can also expand the social scope of the first user and the second user.
附图说明Description of the drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, purposes and advantages of the present invention will become more apparent:
图1示出根据本发明的社交方法一实施例的流程图;Fig. 1 shows a flowchart of an embodiment of a social networking method according to the present invention;
图2示出根据本发明的社交方法一实施例的第一界面图;Figure 2 shows a first interface diagram of an embodiment of the social networking method according to the present invention;
图3示出根据本发明的社交方法一实施例的第二界面图;FIG. 3 shows a second interface diagram of an embodiment of the social networking method according to the present invention;
图4示出根据本发明的社交方法一实施例的第三界面图;FIG. 4 shows a third interface diagram of an embodiment of the social networking method according to the present invention;
图5示出根据本发明的社交方法一实施例的第四界面图;FIG. 5 shows a fourth interface diagram of an embodiment of the social networking method according to the present invention;
图6示出根据本发明的社交方法一实施例的第五界面图;FIG. 6 shows a fifth interface diagram of an embodiment of the social networking method according to the present invention;
图7示出根据本发明的社交方法一实施例的第六界面图;Fig. 7 shows a sixth interface diagram of an embodiment of the social networking method according to the present invention;
图8示出根据本发明的社交方法一实施例的第七界面图。Fig. 8 shows a seventh interface diagram of an embodiment of the social networking method according to the present invention.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference signs in the drawings represent the same or similar components.
具体实施方式detailed description
下面结合附图对本发明作进一步详细描述。The present invention will be further described in detail below in conjunction with the accompanying drawings.
在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration of this application, the terminal, the device of the service network, and the trusted party all include one or more processors (CPU), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include non-transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
本发明提供一种基于服务端的社交方法,该方法包括:The present invention provides a server-based social networking method, which includes:
步骤101,向第一用户所在的第一用户端发送媒体资源的标识清单;Step 101: Send an identification list of media resources to a first user terminal where the first user is located;
在此,所述媒体资源可以包括文章、音乐、视频等等;所述标识用于区分不同媒体资源,可以是媒体资源的名称、符号、标记等等;所述标识清单可以是如图1和2所示的音乐列表形式,还可以是用于罗列媒体资源的标识的其他各种界面表现形式;Here, the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
步骤102,通过所述第一用户端获取所述第一用户从所述媒体资源的标识清单中选择的媒体资源标识;Step 102: Obtain the media resource identifier selected by the first user from the list of identifiers of the media resource through the first user terminal;
步骤103,获取选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户;Step 103: Obtain a second user whose selected media resource identifier is the same as the first user selected media resource identifier;
在此,第一用户选择好媒体资源标识后,服务端可以为第一用户在第一用户之外的其他用户端范围内寻找选择相同媒体资源标识的第二用户,以便于基于所述媒体资源标识为第一用户和第二用户建立联系;例如,如图1和3所示,我为第一用户,用户A为第二用户,我和用户A选择了播放同一首音乐6Here, after the first user selects the media resource identifier, the server can search for a second user who selects the same media resource identifier for the first user in the range of other user terminals other than the first user, so as to facilitate based on the media resource Identifies the connection between the first user and the second user; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I have chosen to play the same music 6
步骤104,建立所述第一用户端和所述第二用户所在的第二用户端的联系系。Step 104: Establish a connection system between the first user terminal and the second user terminal where the second user is located.
在此,所述联系可以包括在所述第一用户端和第二用户端之间建立的虚拟沟通渠道,第一用户和第二用户通过该虚拟沟通渠道进行沟通和通信。Here, the contact may include a virtual communication channel established between the first user terminal and the second user terminal, and the first user and the second user communicate and communicate through the virtual communication channel.
本实施例可以实现第一和第二用户选择相同的媒体资源标识时,为他们自动建立所述第一用户和第二用户的联系渠道,方便第一用户和第二用户在通过联系渠道进行自由交流,还可以扩大第一用户和第二用户的社交范围。This embodiment can realize that when the first and second users select the same media resource identifier, the contact channel between the first user and the second user is automatically established for them, so that the first user and the second user are free to use the contact channel. Communication can also expand the social scope of the first user and the second user.
例如,如图1和4所示,可以为我和用户A建立自动聊天室,我和用户A即可进入该聊天室进行聊天。For example, as shown in Figures 1 and 4, an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
本发明的基于服务端的社交方法一实施例中,步骤103,获取选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户之前,还包括:In an embodiment of the server-based social networking method of the present invention, in step 103, before obtaining a second user whose selected media resource identifier is the same as the first user selected by the first user, the method further includes:
向第二用户所在的第二用户端发送媒体资源的标识清。Send the identification of the media resource to the second client where the second user is located.
在此,可以像第一用户端一样为第二用户端发送供播放的媒体资源的标识清单,例如,第二用户接收到如图1和2所示的音乐列表后,可以从音乐列表中选择自己喜欢的音乐,例如可以从音乐列表中选择音乐6的媒体资源标识,服务端接收到音乐6的媒体资源标识后,可以向所述第二用户发送其所选择的音乐6对应的音乐数据,第二用户接收到服务端发送端音乐数据后,即可进行播放,从而可以实现第二用户同第一用户一样,便捷地从服务端选择想要播放的媒体数据。Here, the identification list of the media resources for playback can be sent to the second client just like the first client. For example, after the second user receives the music list shown in Figures 1 and 2, he can select from the music list For your favorite music, for example, you can select the media resource identifier of Music 6 from the music list. After receiving the media resource identifier of Music 6, the server can send the music data corresponding to the selected Music 6 to the second user. After the second user receives the music data sent by the server, it can play it, so that the second user can easily select the media data to be played from the server just like the first user.
本发明的基于服务端的社交方法一实施例中,步骤103,获取选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户,包括:In an embodiment of the server-based social networking method of the present invention, step 103, obtaining a second user whose selected media resource identifier is the same as the first user selected media resource identifier, includes:
获取在预设时间段内选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户。Acquire a second user whose media resource identifier selected within a preset time period is the same as the media resource identifier selected by the first user.
在此,通常来说如果第一用户选择的媒体资源标识后,在之后的一段时间内,第一用户有需要跟作出与自己一样选择的第二用户建立联系的必要性是较 高的,但随着时间但推移,这种必要性可能会逐渐减弱。Here, generally speaking, if the media resource selected by the first user is identified, it is necessary for the first user to establish contact with the second user who has made the same choice as himself for a period of time, but Over time, this necessity may gradually diminish.
所以可以设置预设时间段,当所述第一用户选择的媒体资源标识后,获取在预设时间段内选择与所述第一用户选择的媒体资源标识相同的第二用户,从而保证后续为第一用户和第二用户建立的联系更有必要。Therefore, a preset time period can be set. After the media resource identifier selected by the first user, the second user selected within the preset time period that is the same as the media resource identifier selected by the first user is obtained, so as to ensure that the follow-up is The connection established between the first user and the second user is more necessary.
本发明的基于服务端的社交方法一实施例中,步骤104,建立所述第一用户端和所述第二用户所在的第二用户端的联系,包括:In an embodiment of the server-based social networking method of the present invention, step 104, establishing a connection between the first user end and the second user end where the second user is located includes:
建立所述第一用户和第二用户的社交空间。Establish a social space for the first user and the second user.
在此,所述社交空间可以是聊天室、沟通群等具有私密性的虚拟沟通空间。Here, the social space may be a private virtual communication space such as chat rooms and communication groups.
所述社交空间是基于所述媒体数据为第一用户和第二用户建立私密的社交空间,其中,社交空间的成员只有第一用户和第二用户,第一用户和第二用户在该社交空间中的社交信息,无法被社交空间之外的其他用户获取,所以社交空间具有私密性。The social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space The social information in, cannot be obtained by other users outside the social space, so the social space is private.
本发明的基于服务端的社交方法一实施例中,步骤104,建立所述第一用户端和所述第二用户所在的第二用户端的联系之后,还包括:In an embodiment of the server-based social networking method of the present invention, step 104, after establishing a connection between the first user end and the second user end where the second user is located, further includes:
步骤105,向所述第一用户端和第二用户端发送所选择的相同的媒体资源标识对应的媒体数据,以供所述第一用户和第二用户播放所述媒体数据。Step 105: Send media data corresponding to the same selected media resource identifier to the first user terminal and the second user terminal, so that the first user and the second user can play the media data.
在此,第一用户接收的如图1和2所示的音乐列表后,可以从音乐列表中选择自己喜欢的音乐,例如可以从音乐列表中选择音乐6的媒体资源标识,服务端接收到音乐6的媒体资源标识后,可以向所述第一用户端发送其所选择的音乐6对应的音乐数据,第一用户接收到服务端发送端音乐数据后,即可进行播放。Here, after the first user receives the music list shown in Figures 1 and 2, he can select his favorite music from the music list. For example, he can select the media resource identifier of Music 6 from the music list, and the server receives the music After the media resource identification of 6, the music data corresponding to the selected music 6 can be sent to the first user end, and the first user can play the music data after receiving the music data from the server sending end.
本发明的基于服务端的社交方法一实施例中,步骤105,向所述第一用户端和第二用户端发送所选择的相同的媒体资源标识对应的媒体数据之后,还包括:In an embodiment of the server-based social networking method of the present invention, step 105, after sending the selected media data corresponding to the same media resource identifier to the first client and the second client, further includes:
若接收到所述第一用户端和第二用户端中的其中至少一方,结束所述媒体数据播放的请求,则停止向所述第一用户端发送其所选择的媒体资源标识对应的媒体数据,或若所述媒体数据播放结束,则向所述第一用户和第二用户分别发送是否将对方加为好友的咨询信息,If at least one of the first client and the second client is received to end the media data playback request, stop sending the media data corresponding to the selected media resource identifier to the first client , Or if the playback of the media data ends, the first user and the second user are respectively sent consultation information whether to add the other party as a friend,
若接收到所述第一用户端和第二用户端基于所述咨询信息的是否将对方 加为好友的确认信息,则将所述第一用户和第二用户建立为好友关系,并向所述第一用户端和第二用户端发送已经建立好友关系的通知。If the first user terminal and the second user terminal receive the confirmation information of whether to add the other party as a friend based on the consultation information, the first user and the second user are established as a friend relationship, and the The first client and the second client send a notification that the friend relationship has been established.
在此,第一用户和第二用户的社交空间的维持时间首先设定为所述媒体数据的播放期间,因为,第一用户和第二用户的社交空间是基于播放相同的媒体数据建立的,那么,当第一用户和第二用户的其中一方结束所述媒体数据的播放时,供第一用户和第二用户进行交流的联系渠道可能不需要维持,此时可以向所述第一用户和第二用户分别发送是否将对方加为好友的咨询信息,如果,所述第一用户和第二用户基于所述咨询信息的确认互相将对方加为好友,则服务端可以将所述第一用户和第二用户建立为好友关系,并向所述第一用户端和第二用户端发送已经建立好友关系的通知,保持联系渠道,从而实现在媒体数据播放结束后,所述第一用户和第二用户仍旧可以继续保持联系沟通。Here, the maintenance time of the social space of the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on playing the same media data, Then, when one of the first user and the second user ends the playing of the media data, the contact channel for the first user and the second user to communicate may not need to be maintained. At this time, the first user and The second user respectively sends consultation information about whether to add the other party as a friend. If the first user and the second user add each other as a friend based on the confirmation of the consultation information, the server can add the first user Establish a friend relationship with the second user, and send a notification that the friend relationship has been established to the first user terminal and the second user terminal, and maintain the contact channel, so that after the media data is played, the first user and the second user Second, users can still keep in touch and communication.
例如,如图1和5所示,当用户我播放音乐6结束时,服务端可以向我的用户端发送是否继续与用户A保持联系的咨询信息;如图1和6所示,如果我的用户端向服务端发送确认保持联系的反馈信息,并且A的用户端也向服务端发送确认保持联系的反馈信息,则服务端可以将我和用户A建立为好友关系,并向我的用户端和A的用户端发送已经建立好友关系的通知,保持联系渠道。For example, as shown in Figures 1 and 5, when the user I play music 6 ends, the server can send to my user side the consultation information whether to continue to keep in touch with user A; as shown in Figures 1 and 6, if my The client sends a feedback message confirming to keep in touch with the server, and the client of A also sends a feedback message confirming to keep in touch with the server, the server can establish a friend relationship between me and user A and send it to my client Send a notification that a friend relationship has been established with the client of A, and keep the contact channel.
本发明的基于服务端的社交方法一实施例中,向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息之后,还包括:In an embodiment of the server-based social networking method of the present invention, after sending the consultation information on whether to add the other party as a friend to the first user end and the second user end respectively, the method further includes:
若接收到所述第一用户和第二用户中的其中至少一方,基于所述咨询信息的是否将对方加为好友的拒绝信息,则结束所述联系,并分别向第一用户端和第二用户端发送结束联系的通知。If at least one of the first user and the second user receives rejection information based on the consultation information on whether to add the other party as a friend, the contact is ended, and the first user and the second user are notified respectively. The client sends a notification to end the contact.
在此,服务端向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息之后,如果服务端接收到所述第一用户和第二用户中的其中至少一方,基于所述咨询信息的是否将对方加为好友的拒绝信息,则服务端可以关闭联系渠道,并向所述第一用户和第二用户发送所述社交空间关闭的信息,之后第一用户和第二用户就无法再保持联系,从而实现所述第一用户和第二用户在媒体数据播放结束后,没有必要再维持联系时,可以及时关闭第一用户和第二用户之间的联系渠道,避免对第一用户和第二用户造成不必要的打扰。Here, after the server sends to the first user terminal and the second user terminal the consultation information on whether to add the other party as a friend, if the server receives at least one of the first user and the second user, Based on the refusal information of whether to add the other party as a friend based on the consultation information, the server can close the contact channel and send the information that the social space is closed to the first user and the second user, and then the first user and the second user The second user can no longer keep in touch, so that the first user and the second user can close the contact channel between the first user and the second user in time when there is no need to maintain contact after the media data is played. Cause unnecessary disturbance to the first user and the second user.
例如,如图1和7所示,如果我的用户端向服务端返回了拒绝将对方加为 好友的信息,则服务端基于拒绝信息,关闭所述联系渠道,并将我的用户端界面由社交空间界面退回到最初端音乐播放列表端界面;For example, as shown in Figures 1 and 7, if my client returns to the server a message that refuses to add the other party as a friend, the server closes the contact channel based on the rejection message, and changes my client interface to The social space interface returns to the initial music playlist interface;
又如,如图1和8所示,如果我的用户端向服务端返回了确认将对方加为好友的信息,但A的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述社交空间,并将用户我和A的用户端显示界面由联系渠道界面退回到最初端音乐播放列表端界面。For another example, as shown in Figures 1 and 8, if my client returns to the server a message confirming that the other party is added as a friend, but the client of A returns a message to the server that refuses to add the other party as a friend, then Based on the rejection information, the server closes the social space, and returns the user-side display interface of users I and A from the contact channel interface to the original music playlist interface.
本发明的基于服务端的社交方法一实施例中,步骤104,建立所述第一用户端和所述第二用户所在的第二用户端的联系,包括:In an embodiment of the server-based social networking method of the present invention, step 104, establishing a connection between the first user end and the second user end where the second user is located includes:
分别向所述第一用户端和第二用户端发送建立联系的请求;Sending a request to establish a connection to the first client and the second client respectively;
若接收到所述第一用户端和第二用户端,基于所述请求发送的同意反馈,则建立所述第一用户端和第二用户端的联系。If the first user end and the second user end are received, and the consent feedback sent based on the request is received, the connection between the first user end and the second user end is established.
在此,在建立所述第一用户和第二用户的联系渠道之前,通过分别向所述第一用户端和第二用户端发送建立所述联系的请求,在所述第一用户和第二用户都同意的情况下,建立所述第一用户和第二用户的联系渠道,可以保证第一用户和第二用户的联系渠道建立得更为可靠。Here, before establishing the contact channel of the first user and the second user, by sending a request for establishing the contact to the first user terminal and the second user terminal, respectively, the first user and the second user If the users agree, establishing the contact channel between the first user and the second user can ensure that the contact channel between the first user and the second user is established more reliably.
本发明的基于服务端的社交方法一实施例中,该方法包括:In an embodiment of the server-based social networking method of the present invention, the method includes:
步骤S11,向第一用户端发送供播放的媒体资源的标识清单;Step S11, sending an identification list of media resources for playing to the first client;
在此,所述媒体资源可以包括文章、音乐、视频等等;所述标识用于区分不同媒体资源,可以是媒体资源的名称、符号、标记等等;所述标识清单可以是如图1和2所示的音乐列表形式,还可以是用于罗列媒体资源的标识的其他各种界面表现形式;Here, the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
步骤S12,获取所述第一用户通过第一用户端从所述媒体资源的标识清单中选择的媒体资源标识,向所述第一用户端发送其所选择的媒体资源标识对应的媒体数据,以供所述第一用户播放所述媒体数据;Step S12: Obtain the media resource identifier selected by the first user from the list of media resource identifiers through the first user terminal, and send the media data corresponding to the selected media resource identifier to the first user terminal to For the first user to play the media data;
在此,第一用户端接收的如图1和2所示的音乐列表后,第一用可以从音乐列表中选择自己喜欢的音乐,例如可以从音乐列表中选择音乐6的媒体资源标识,服务端接收到音乐6的媒体资源标识后,可以向所述第一用户端发送其所选择的音乐6对应的音乐数据,第一用户接收到服务端发送端音乐数据后,即可进行播放;Here, after the first user terminal receives the music list as shown in Figs. 1 and 2, the first user can select his favorite music from the music list, for example, he can select the media resource identifier of Music 6 from the music list, and serve After receiving the media resource identifier of the music 6, the terminal may send the music data corresponding to the selected music 6 to the first user terminal, and the first user can play the music data after receiving the music data from the server sending terminal;
步骤S13,搜索播放所述第一用户所选择的媒体资源标识对应的媒体数据的第二用户;Step S13, searching for a second user who plays the media data corresponding to the media resource identifier selected by the first user;
在此,第一用户选择好媒体资源标识对应的媒体数据后,服务端可以为第一用户在第一用户之外的其他用户端范围内寻找播放相同媒体数据的第二用户,以便于基于所述媒体数据为第一用户和第二用户建立私密的社交空间;例如,如图1和3所示,我为第一用户,用户A为第二用户,我和用户A选择了播放同一首音乐6;Here, after the first user selects the media data corresponding to the media resource identifier, the server can search for a second user who plays the same media data within the range of other user terminals other than the first user for the first user, so as to facilitate The aforementioned media data establishes a private social space for the first user and the second user; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I choose to play the same music 6;
步骤S14,建立所述第一用户和第二用户的社交空间,并向所述第一用户端和第二用户端发送社交空间开放社交的信息。Step S14: Establish a social space for the first user and the second user, and send information that the social space is open for social interaction to the first user terminal and the second user terminal.
在此,所述社交空间可以是聊天室、沟通群等具有私密性的虚拟沟通空间。Here, the social space may be a private virtual communication space such as chat rooms and communication groups.
所述社交空间是基于所述媒体数据为第一用户和第二用户建立私密的社交空间,其中,社交空间的成员只有第一用户和第二用户,第一用户和第二用户在该社交空间中的社交信息,无法被社交空间之外的其他用户获取,所以社交空间具有私密性。The social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space The social information in, cannot be obtained by other users outside the social space, so the social space is private.
本实施例可以实现第一和第二用户播放相同的媒体数据时,为他们自动建立所述第一用户和第二用户的社交空间,并向所述第一用户端和第二用户端发送社交空间开放社交的信息,方便第一用户和第二用户在社交空间中进行自由交流,还可以扩大第一用户和第二用户的社交范围。This embodiment can realize that when the first and second users play the same media data, the social space of the first user and the second user is automatically created for them, and the social space is sent to the first user terminal and the second user terminal. The space opens up social information, which facilitates free communication between the first user and the second user in the social space, and can also expand the social scope of the first user and the second user.
例如,如图1和4所示,可以为我和用户A建立自动聊天室,我和用户A即可进入该聊天室进行聊天。For example, as shown in Figures 1 and 4, an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
本发明的基于服务端的社交方法一实施例中,步骤S13,搜索播放所述第一用户所选择的媒体资源标识对应的媒体数据的第二用户之前,还包括:In an embodiment of the server-based social networking method of the present invention, in step S13, before searching for a second user who plays the media data corresponding to the media resource identifier selected by the first user, the method further includes:
步骤S131,向第二用户端发送供播放的媒体资源的标识清单;Step S131: Send an identification list of media resources for playing to the second client;
步骤S132,获取所述第二用户通过所述第二用户端从所述媒体资源的标识清单中选择的媒体资源标识,向所述第二用户端发送所选择的媒体资源标识对应的媒体数据,以供所述第二用户播放所述媒体数据。Step S132: Obtain the media resource identifier selected by the second user from the list of media resource identifiers through the second user terminal, and send the media data corresponding to the selected media resource identifier to the second user terminal. For the second user to play the media data.
在此,可以像第一用户端一样为第二用户端发送供播放的媒体资源的标识清单,例如,第二用户接收到如图1和2所示的音乐列表后,可以从音乐列表中选择自己喜欢的音乐,例如可以从音乐列表中选择音乐6的媒体资源标识, 服务端接收到音乐6的媒体资源标识后,可以向所述第二用户发送其所选择的音乐6对应的音乐数据,第二用户接收到服务端发送端音乐数据后,即可进行播放,从而可以实现第二用户同第一用户一样,便捷地从服务端获取想要播放的媒体数据。Here, the identification list of the media resources for playback can be sent to the second client just like the first client. For example, after the second user receives the music list shown in Figures 1 and 2, he can select from the music list For your favorite music, for example, you can select the media resource identifier of Music 6 from the music list. After receiving the media resource identifier of Music 6, the server can send the music data corresponding to the selected Music 6 to the second user. After the second user receives the music data from the sending end of the server, it can play, so that the second user can easily obtain the media data that he wants to play from the server just like the first user.
本发明的基于服务端的社交方法一实施例中,建立所述第一用户和第二用户的社交空间之后,还包括:In an embodiment of the server-based social networking method of the present invention, after establishing the social space of the first user and the second user, the method further includes:
步骤S15,若接收到所述第一用户端和第二用户端中的其中至少一方,结束所述媒体数据播放的请求,则停止向所述第一用户端发送其所选择的媒体资源标识对应的媒体数据,并向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息,Step S15: If at least one of the first user terminal and the second user terminal is received to end the media data playback request, stop sending the media resource identifier corresponding to the selected media resource to the first user terminal Media data of, and send to the first user terminal and the second user terminal respectively consulting information about whether to add the other party as a friend,
步骤S16,若接收到所述第一用户端和第二用户端基于所述咨询信息的是否将对方加为好友的确认信息,则将所述第一用户和第二用户建立为好友关系,并向所述第一用户端和第二用户端发送已经建立好友关系的通知,保持开放所述社交空间。Step S16, if the first user terminal and the second user terminal receive the confirmation information of whether to add each other as a friend based on the consultation information, the first user and the second user are established as a friend relationship, and Send a notification that a friend relationship has been established to the first user terminal and the second user terminal, and keep the social space open.
在此,第一用户和第二用户的社交空间的维持时间首先设定为所述媒体数据的播放期间,因为,第一用户和第二用户的社交空间是基于播放相同的媒体数据建立的,那么,当第一用户和第二用户的其中一方结束所述媒体数据的播放时,供第一用户和第二用户进行交流的社交空间可能不需要维持,此时可以向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息,如果,所述第一用户和第二用户基于所述咨询信息的确认互相将对方加为好友,则服务端可以将所述第一用户和第二用户建立为好友关系,并向所述第一用户端和第二用户端发送已经建立好友关系的通知,保持开放所述社交空间,从而实现在媒体数据播放结束后,所述第一用户和第二用户仍旧可以继续保持联系沟通。Here, the maintenance time of the social space of the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on playing the same media data, Then, when one of the first user and the second user ends the playback of the media data, the social space for the first user and the second user to communicate may not need to be maintained, and at this time, the first user can be And the second user terminal respectively send consultation information about whether to add the other party as a friend. If the first user and the second user add each other as a friend based on the confirmation of the consultation information, the server can add the first user A user and a second user establish a friendship relationship, and send a notification that the friendship relationship has been established to the first user terminal and the second user terminal to keep the social space open, so that after the media data is played, the The first user and the second user can still continue to communicate.
例如,如图1和5所示,当用户我播放音乐6结束时,服务端可以向我的用户端发送是否继续与用户A保持联系的咨询信息;如图1和6所示,如果我的用户端向服务端发送确认保持联系的反馈信息,并且A的用户端也向服务端发送确认保持联系的反馈信息,则服务端可以将我和用户A建立为好友关系,并向我和用户A发送已经建立好友关系的通知,保持开放所述社交空间。For example, as shown in Figures 1 and 5, when the user I play music 6 ends, the server can send to my user side the consultation information whether to continue to keep in touch with user A; as shown in Figures 1 and 6, if my The user side sends the feedback information confirming to keep in touch with the server, and the user terminal of A also sends the feedback information confirming to keep in touch with the server, the server can establish a friendship relationship between me and user A, and send me and user A Send a notification that a friend relationship has been established, and keep the social space open.
本发明的基于服务端的社交方法一实施例中,步骤S15,向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息之后,还包括:In an embodiment of the server-based social networking method of the present invention, in step S15, after sending to the first user end and the second user end the consultation information on whether to add the other party as a friend, it further includes:
步骤S17,若接收到所述第一用户端和第二用户端中的其中至少一方,基于所述咨询信息的是否将对方加为好友的拒绝信息,则关闭所述社交空间,并向所述第一用户端和第二用户端发送所述社交空间关闭的信息。Step S17, if at least one of the first user end and the second user end is received, based on the consultation information, whether to add the other party as a friend or not, then close the social space and report to the The first user terminal and the second user terminal send information that the social space is closed.
在此,服务端向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息之后,如果服务端接收到所述第一用户和第二用户中的其中至少一方,基于所述咨询信息的是否将对方加为好友的拒绝信息,则服务端可以关闭所述社交空间,并向所述第一用户和第二用户发送所述社交空间关闭的信息,之后第一用户和第二用户就无法再保持联系,从而实现所述第一用户和第二用户在媒体数据播放结束后,没有必要再维持联系时,可以及时关闭第一用户和第二用户的社交空间,避免对第一用户和第二用户造成不必要的打扰。Here, after the server sends to the first user terminal and the second user terminal the consultation information on whether to add the other party as a friend, if the server receives at least one of the first user and the second user, Based on the refusal information of whether to add the other party as a friend based on the consultation information, the server can close the social space and send the information that the social space is closed to the first user and the second user, and then the first user The first user and the second user can no longer keep in touch, so that the first user and the second user can close the social space of the first user and the second user in time when there is no need to maintain contact after the media data is played. Cause unnecessary disturbance to the first user and the second user.
例如,如图1和7所示,如果我的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述社交空间,并将用户我的社交空间界面退回到最初端音乐播放列表端界面;For example, as shown in Figures 1 and 7, if my client returns to the server a message that refuses to add the other party as a friend, then the server closes the social space based on the rejection information, and changes the user’s my social space interface Return to the initial music playlist interface;
又如,如图1和8所示,如果我的用户端向服务端返回了确认将对方加为好友的信息,但A的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述社交空间,并将用户我和用户A的社交空间界面退回到最初端音乐播放列表端界面。For another example, as shown in Figures 1 and 8, if my client returns to the server a message confirming that the other party is added as a friend, but the client of A returns a message to the server that refuses to add the other party as a friend, then Based on the rejection information, the server closes the social space, and returns the social space interface of user me and user A to the initial music playlist interface.
本发明的基于服务端的社交方法一实施例中,步骤S14,建立所述第一用户和第二用户的社交空间,并向所述第一用户和第二用户发送社交空间建立的信息,包括:In an embodiment of the server-based social networking method of the present invention, step S14, establishing the social space of the first user and the second user, and sending the social space establishment information to the first user and the second user, includes:
步骤S141,分别向所述第一用户端和第二用户端发送建立所述社交空间的请求;Step S141, sending a request for establishing the social space to the first user terminal and the second user terminal respectively;
步骤S142,若接收到所述第一用户端和第二用户端,基于所述请求发送的同意反馈,则建立所述第一用户和第二用户的社交空间,并向所述第一用户端和第二用户端发送社交空间建立的信息。Step S142, if the first user terminal and the second user terminal are received, based on the consent feedback sent based on the request, establish a social space for the first user and the second user, and send the information to the first user terminal And the second user terminal sends the information of the social space establishment.
在此,在建立所述第一用户和第二用户的社交空间之前,通过分别向所述第一用户和第二用户发送建立所述社交空间的请求,在所述第一用户和第二用 户都同意的情况下,建立所述第一用户和第二用户的社交空间,可以保证第一用户和第二用户的社交空间建立得更为可靠。Here, before establishing the social space of the first user and the second user, by sending a request for establishing the social space to the first user and the second user, respectively, the first user and the second user If both agree, the establishment of the social spaces of the first user and the second user can ensure that the social spaces of the first user and the second user are established more reliably.
本发明的基于服务端的社交方法一实施例中,步骤S14,建立所述第一用户和第二用户的社交空间,并向所述第一用户端和第二用户端发送社交的信息之后,还包括:In an embodiment of the server-based social networking method of the present invention, in step S14, the social space of the first user and the second user is established, and after sending social information to the first user and the second user, further include:
步骤S181,若接收到所述第一用户端和第二用户端中的其中至少一方发送的退出所述社交空间的请求,Step S181: If a request to exit the social space sent by at least one of the first user terminal and the second user terminal is received,
步骤S182,若所述社交空间中的人数为2个,则基于所述退出所述社交空间的请求关闭所述社交空间,并向所述第一用户端和第二用户端发送所述社交空间关闭的信息;Step S182: If the number of people in the social space is 2, close the social space based on the request to exit the social space, and send the social space to the first user terminal and the second user terminal Closed information;
步骤S183,若所述社交空间中的人数至少为3个,则将所述第一用户或第二用户从所述社交空间删除,并向所述第一用户或第二用户发送已经退出所述社交空间的信息;或将所述第一用户和第二用户从所述社交空间删除,并向所述第一用户端和第二用户端发送已经退出所述社交空间的信息。Step S183: If the number of people in the social space is at least 3, delete the first user or the second user from the social space, and send to the first user or the second user that they have logged out Information about the social space; or delete the first user and the second user from the social space, and send the first user terminal and the second user terminal the information that they have exited the social space.
在此,当第一用户和第二用户建立社交空间空间后,为了方便第一用户和第二用户随时结束社交联系,服务端可以在接收到所述第一用户和第二用户中的其中至少一方发送的退出所述社交空间的请求将第一用户和/或第二用户从所述社交空间中退出,或者直接将所述社交空间关闭。Here, after the first user and the second user establish a social space, in order to facilitate the first user and the second user to terminate the social connection at any time, the server may receive at least one of the first user and the second user A request sent by a party to exit the social space will log the first user and/or the second user out of the social space, or directly close the social space.
其中,若所述社交空间中的人数为2个,例如,社交空间中有一个第一用户和一个第二用户,只要有第一用户和第二用户中的其中至少一方发送退出所述社交空间的请求,则其中一方退出后,此时社交空间空间会中剩余的用户端数量变成1或0,因为用户数太少,社交空间没有必要维持,则服务端可以基于所述退出所述社交空间的请求关闭所述社交空间,并向所述第一用户和第二用户发送所述社交空间关闭的信息;Wherein, if the number of people in the social space is two, for example, there is a first user and a second user in the social space, as long as at least one of the first user and the second user sends to exit the social space If one of the parties withdraws, the number of remaining users in the social space will become 1 or 0. Because the number of users is too small and the social space is not necessary to maintain, the server can log out of the social The request of the space to close the social space, and send the information that the social space is closed to the first user and the second user;
另外,若所述社交空间中的人数至少为3个,例如,社交空间中有一个第一用户和二个第二用户,只要有第一用户和第二用户中的其中至少一个用户发送退出所述社交空间的请求,3个用户中有一个用户退出,社交空间中还剩2个用户,则服务端可以将所述第一用户或第二用户从所述社交空间删除,并向所述第一用户或第二用户发送已经退出所述社交空间的信息;In addition, if the number of people in the social space is at least three, for example, if there is a first user and two second users in the social space, as long as at least one of the first user and the second user sends an exit According to the request of the social space, if one of the three users exits, and there are two users left in the social space, the server can delete the first user or the second user from the social space and send it to the first user. A user or a second user sends information that they have exited the social space;
另外,若所述社交空间中的人数至少为3个,例如,社交空间中有一个第一用户和二个第二用户,其中有2或3个用户向服务端发送的退出所述社交空间的请求,社交空间中还剩1或0个用户,因为用户数太少,社交空间没有必要维持,则服务端可以将所述第一用户和第二用户从所述社交空间删除,并向所述第一用户和第二用户发送已经退出所述社交空间的信息。In addition, if the number of people in the social space is at least three, for example, there are one first user and two second users in the social space, among which 2 or 3 users send to the server to exit the social space. Request, there are 1 or 0 users left in the social space. Because the number of users is too small and the social space is not necessary to maintain, the server can delete the first user and the second user from the social space and send it to the The first user and the second user send information that they have exited the social space.
本发明还提供一种基于第一用户端的社交方法,该方法包括:The present invention also provides a social networking method based on the first user terminal, the method including:
步骤201,从服务端接收媒体资源的标识清单;Step 201: Receive an identification list of media resources from the server;
在此,所述媒体资源可以包括文章、音乐、视频等等;所述标识用于区分不同媒体资源,可以是媒体资源的名称、符号、标记等等;所述标识清单可以是如图1和2所示的音乐列表形式,还可以是用于罗列媒体资源的标识的其他各种界面表现形式;Here, the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
步骤202,获取第一用户从所述媒体资源的标识清单中选择的媒体资源标识并发送给所述服务端;Step 202: Obtain and send the media resource identifier selected by the first user from the list of identifiers of the media resource to the server;
在此,第一用户接收的如图1和2所示的音乐列表后,可以从音乐列表中选择自己喜欢的音乐,例如可以从音乐列表中选择音乐6的媒体资源标识;Here, after the first user receives the music list shown in FIGS. 1 and 2, he can select his favorite music from the music list, for example, he can select the media resource identifier of music 6 from the music list;
步骤203,通过所述服务端与第二用户所在的第二用户端建立联系,其中,所述第二用户由所述服务端获取,所述第二用户对应的第二用户选择的媒体资源标识与所述第一用户的选择媒体资源标识相同。Step 203: Establish a connection with a second user terminal where the second user is located through the server, where the second user is obtained by the server, and the media resource identifier selected by the second user corresponding to the second user The same as the selected media resource identifier of the first user.
在此,第一用户选择好媒体资源标识后,服务端可以为第一用户在第一用户之外的其他用户端范围内寻找选择相同媒体资源标识的第二用户,以便于基于所述媒体数据为第一用户和第二用户建立联系;例如,如图1和3所示,我为第一用户,用户A为第二用户,我和用户A选择了选择同一首音乐6。Here, after the first user selects the media resource identifier, the server can search for a second user who selects the same media resource identifier for the first user in the range of other user terminals except the first user, so as to facilitate based on the media data Establish a connection between the first user and the second user; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I have selected the same music6.
所述联系可以包括在所述第一用户和第二用户之间建立的虚拟沟通渠道,第一用户和第二用户通过该虚拟沟通渠道进行沟通和通信。The contact may include a virtual communication channel established between the first user and the second user, and the first user and the second user communicate and communicate through the virtual communication channel.
本实施例可以实现第一和第二用户选择相同的媒体资源标识时,为他们自动建立所述第一用户和第二用户的联系渠道,方便第一用户和第二用户在通过联系渠道进行自由交流,还可以扩大第一用户和第二用户的社交范围。This embodiment can realize that when the first and second users select the same media resource identifier, the contact channel between the first user and the second user is automatically established for them, so that the first user and the second user are free to use the contact channel. Communication can also expand the social scope of the first user and the second user.
例如,如图1和4所示,可以为我和用户A建立自动聊天室,我和用户A 即可进入该聊天室进行聊天。For example, as shown in Figures 1 and 4, an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
本发明的基于第一用户端的社交方法一实施例中,所述第二用户包括在预设时间段内选择的媒体资源标识与所述第一用户选择媒体资源标识相同的其他用户。In an embodiment of the first user terminal-based social networking method of the present invention, the second user includes other users whose media resource identifiers selected within a preset time period are the same as the media resource identifiers selected by the first user.
在此,通常来说如果第一用户选择的媒体资源标识后,在之后的一段时间内,用户有需要跟作出与自己一样选择的第二用户建立联系的必要性是较高的,但随着时间但推移,这种必要性可能会逐渐减弱。Here, generally speaking, if the media resource selected by the first user is identified, it is necessary for the user to establish contact with the second user who made the same choice as the user for a period of time, but with Over time, this necessity may gradually diminish.
所以可以设置预设时间段,当所述第一用户选择的媒体资源标识后,获取在预设时间段内与所述第一用户选择的媒体资源标识选择相同的第二用户,从而保证后续为第一用户和第二用户建立的联系更有必要。Therefore, a preset time period can be set. After the media resource identifier selected by the first user, the second user who selected the same media resource identifier as the first user selected within the preset time period is obtained, thereby ensuring that the subsequent The connection established between the first user and the second user is more necessary.
本发明的基于第一用户端的社交方法一实施例中,步骤203,通过所述服务端与第二用户建立联系,包括:In an embodiment of the social networking method based on the first user terminal of the present invention, step 203, establishing contact with the second user through the server terminal, includes:
通过所述服务端与第二用户建立社交空间。A social space is established with the second user through the server.
在此,所述社交空间可以是聊天室、沟通群等具有私密性的虚拟沟通空间。Here, the social space may be a private virtual communication space such as chat rooms and communication groups.
所述社交空间是基于所述媒体数据为第一用户和第二用户建立私密的社交空间,其中,社交空间的成员只有第一用户和第二用户,第一用户和第二用户在该社交空间中的社交信息,无法被社交空间之外的其他用户获取,所以社交空间具有私密性。The social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space The social information in, cannot be obtained by other users outside the social space, so the social space is private.
本发明的基于第一用户端的社交方法一实施例中,步骤203,通过所述服务端与第二用户所在的第二用户端建立联系之后,还包括:In an embodiment of the social networking method based on the first user terminal of the present invention, step 203, after establishing contact with the second user terminal where the second user is located through the server terminal, further includes:
步骤204,从所述服务端接收与所述第二用户所选择的相同的媒体资源标识对应的媒体数据,并播放所述媒体数据。Step 204: Receive media data corresponding to the same media resource identifier selected by the second user from the server, and play the media data.
在此,服务端接收到音乐6的媒体资源标识后,可以向所述第一用户发送其所选择的音乐6对应的音乐数据,第一用户接收到服务端发送端音乐数据后,即可进行播放。Here, after the server receives the media resource identifier of Music 6, it can send the music data corresponding to the selected Music 6 to the first user. After the first user receives the music data from the server sender, it can proceed. Play.
本发明的基于第一用户端的社交方法一实施例中,步骤204,播放所述媒体数据之后,还包括:In an embodiment of the social networking method based on the first user terminal of the present invention, step 204, after the media data is played, further includes:
步骤205,向所述服务端发送所述媒体数据的结束播放请求,从所述服务端接收基于所述结束播放请求的是否将对方加为好友的咨询信息;或,Step 205: Send an end playback request of the media data to the server, and receive consultation information from the server on whether to add the other party as a friend based on the end playback request; or,
步骤206,当所述媒体数据播放结束,从所述服务端接收基于所述媒体数据播放结束的是否将对方加为好友的咨询信息;Step 206: When the playback of the media data ends, receiving from the server, based on the completion of the media data playback, consultation information on whether to add the other party as a friend is received;
步骤207,基于所述咨询信息向所述服务端发送是否将对方加为好友的确认信息,从所述服务端接收基于所述确认信息返回的所述第一用户和第二用户发送已经建立好友关系的通知,并保持与第二用户端的所述联系。Step 207: Send confirmation information whether to add the other party as a friend to the server based on the consultation information, and receive from the server the first user and the second user that are returned based on the confirmation information and send the established friend Notification of the relationship, and maintain the contact with the second client.
在此,第一用户和第二用户的社交空间的维持时间首先设定为所述媒体数据的播放期间,因为,第一用户和第二用户的社交空间是基于选择相同的媒体资源标识建立的,那么,当第一用户和第二用户的其中一方结束所述媒体数据的播放时,供第一用户和第二用户进行交流的联系渠道可能不需要维持,此时可以向所述第一用户和第二用户分别发送是否将对方加为好友的咨询信息,如果,所述第一用户和第二用户基于所述咨询信息的确认互相将对方加为好友,则服务端可以将所述第一用户和第二用户建立为好友关系,并向所述第一用户和第二用户发送已经建立好友关系的通知,保持开放所述联系渠道,从而实现在媒体数据播放结束后,所述第一用户和第二用户仍旧可以继续保持联系沟通。Here, the maintenance time of the social space of the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on selecting the same media resource identifier , Then, when one of the first user and the second user ends the playback of the media data, the contact channel for the first user and the second user to communicate may not need to be maintained, and the first user can And the second user respectively send consultation information about whether to add the other party as a friend. If the first user and the second user add each other as a friend based on the confirmation of the consultation information, the server can add the first The user and the second user establish a friend relationship, and send a notification that the friend relationship has been established to the first user and the second user, and keep the contact channel open, so that after the media data is played, the first user And the second user can still continue to communicate.
例如,如图1和5所示,当用户我播放音乐6结束时,服务端可以向用户我发送是否继续与用户A保持联系的咨询信息;如图1和6所示,如果我的用户端向服务端发送确认保持联系的反馈信息,并且用户A也向服务端发送确认保持联系的反馈信息,则服务端可以将我和用户A建立为好友关系,并向我和用户A发送已经建立好友关系的通知,保持开放所述联系渠道。For example, as shown in Figures 1 and 5, when the user I play music 6 ends, the server can send the user I whether to continue to keep in touch with user A consultation information; as shown in Figures 1 and 6, if my client Send feedback information confirming to keep in touch with the server, and user A also sends feedback confirming to keep in touch with the server, the server can establish a friend relationship between me and user A, and send me and user A have established friends Notification of the relationship, keep the said contact channel open.
本发明的基于第一用户端的社交方法一实施例中,步骤206,从所述服务端接收基于所述结束播放请求的是否将对方加为好友的咨询信息,或从所述服务端接收基于所述媒体数据播放结束的是否将对方加为好友的咨询信息之后,还包括:In an embodiment of the socialization method based on the first user terminal of the present invention, step 206 is to receive from the server, based on the end playback request, consultation information on whether to add the other party as a friend, or receive from the server based on all information. After the media data playback is over, after the consultation information on whether to add the other party as a friend, it also includes:
向所述服务端发送基于所述咨询信息的是否将对方加为好友的拒绝信息,从所述服务端接收基于所述拒绝信息返回的结束联系的通知。Sending rejection information based on the consultation information whether to add the other party as a friend to the server, and receiving a notification of contact termination based on the rejection information returned from the server.
在此,服务端向所述第一用户和第二用户分别发送是否将对方加为好友的咨询信息之后,如果服务端接收到所述第一用户和第二用户中的其中至少一方,基于所述咨询信息的是否将对方加为好友的拒绝信息,则服务端可以关闭所述社交空间,并向所述第一用户和第二用户发送所述联系渠道关闭的信息,之后 第一用户和第二用户就无法再保持联系,从而实现所述第一用户和第二用户在媒体数据播放结束后,没有必要再维持联系时,可以及时关闭第一用户和第二用户之间的联系渠道,避免对第一用户和第二用户造成不必要的打扰。Here, after the server sends to the first user and the second user the consulting information on whether to add the other party as a friend, if the server receives at least one of the first user and the second user, based on all In the consultation information, whether to add the other party as a friend or not, the server can close the social space, and send the information that the contact channel is closed to the first user and the second user, and then the first user and the second user The second user can no longer keep in touch, so that the first user and the second user can close the contact channel between the first user and the second user in time when there is no need to maintain contact after the media data is played. Cause unnecessary disturbance to the first user and the second user.
例如,如图1和7所示,如果我的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述联系渠道,并将我的用户端界面由社交空间界面退回到最初端音乐播放列表端界面;For example, as shown in Figures 1 and 7, if my client returns to the server a message that refuses to add the other party as a friend, the server closes the contact channel based on the rejection message, and changes my client interface to The social space interface returns to the initial music playlist interface;
又如,如图1和8所示,如果我的用户端向服务端返回了确认将对方加为好友的信息,但A的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述社交空间,并将用户我和A的用户端界面由社交空间界面退回到最初端音乐播放列表端界面。For another example, as shown in Figures 1 and 8, if my client returns to the server a message confirming that the other party is added as a friend, but the client of A returns a message to the server that refuses to add the other party as a friend, then Based on the rejection information, the server closes the social space, and returns the user-side interface of users I and A from the social space interface to the initial-end music playlist interface.
本发明的基于第一用户端的社交方法一实施例中,步骤203,通过所述服务端与第二用户所在的第二用户端建立联系,包括:In an embodiment of the social networking method based on the first user terminal of the present invention, step 203, establishing contact with the second user terminal where the second user is located through the server terminal, includes:
从所述服务端接收建立所述联系的请求;Receiving a request to establish the contact from the server;
向所述服务端发送基于所述建立所述联系的请求的同意反馈;Sending consent feedback based on the request to establish the contact to the server;
通过所述服务端基于所述同意反馈与第二用户端建立联系。The server establishes a connection with the second user terminal based on the consent feedback.
在此,在建立所述第一用户和第二用户的联系之前,通过分别向所述第一用户和第二用户发送建立所述联系的请求,在所述第一用户和第二用户都同意的情况下,建立所述第一用户和第二用户的联系,可以保证第一用户和第二用户的联系建立得更为可靠。Here, before establishing the connection between the first user and the second user, by sending a request for establishing the connection to the first user and the second user, respectively, the first user and the second user agree In the case of establishing the connection between the first user and the second user, it can be ensured that the connection between the first user and the second user is established more reliably.
本发明的基于第一用户端的社交方法一实施例中,该方法包括:In an embodiment of the first user terminal-based social networking method of the present invention, the method includes:
步骤S21,从服务端接收供播放的媒体资源的标识清单;Step S21, receiving an identification list of media resources for playing from the server;
在此,所述媒体资源可以包括文章、音乐、视频等等;所述标识用于区分不同媒体资源,可以是媒体资源的名称、符号、标记等等;所述标识清单可以是如图1和2所示的音乐列表形式,还可以是用于罗列媒体资源的标识的其他各种界面表现形式;Here, the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
步骤S22,从所述媒体资源的标识清单中选择的媒体资源标识并发送给所述服务端,从所述服务端接收所选择的媒体资源标识对应的媒体数据并进行播放;Step S22: The media resource identifier selected from the list of media resource identifiers is sent to the server, and the media data corresponding to the selected media resource identifier is received from the server and played;
在此,第一用户端接收的如图1和2所示的音乐列表后,可以从音乐列表 中选择自己喜欢的音乐,例如可以从音乐列表中选择音乐6的媒体资源标识,服务端接收到音乐6的媒体资源标识后,可以向所述第一用户端发送其所选择的音乐6对应的音乐数据,第一用户接收到服务端发送端音乐数据后,即可进行播放;Here, after the first client receives the music list shown in Figures 1 and 2, he can select his favorite music from the music list. For example, he can select the media resource identifier of Music 6 from the music list, and the server receives After the media resource of the music 6 is identified, the music data corresponding to the selected music 6 can be sent to the first user end, and the first user can play it after receiving the music data from the server sending end;
步骤S23,从所述服务端接收第一用户和第二用户的社交空间开放的信息,其中,所述第二用户由所述服务端搜索播放所述第一用户所选择的媒体资源标识对应的媒体数据的其他用户得到,所述第一用户和第二用户的社交空间由所述服务端建立。Step S23, receiving information about the opening of the social space of the first user and the second user from the server, where the second user searches and plays the media resource identifier selected by the first user by the server Other users of the media data obtain, and the social spaces of the first user and the second user are established by the server.
在此,第一用户选择好媒体资源标识对应的媒体数据后,服务端可以为第一用户在第一用户之外的其他用户端范围内寻找播放相同媒体数据的第二用户,以便于基于所述媒体数据为第一用户和第二用户建立私密的社交空间;例如,如图1和3所示,我为第一用户,用户A为第二用户,我和用户A选择了播放同一首音乐6;Here, after the first user selects the media data corresponding to the media resource identifier, the server can search for a second user who plays the same media data within the range of other user terminals other than the first user for the first user, so as to facilitate The aforementioned media data establishes a private social space for the first user and the second user; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I choose to play the same music 6;
所述社交空间可以是聊天室、沟通群等具有私密性的虚拟沟通空间。The social space may be a private virtual communication space such as chat rooms and communication groups.
所述社交空间是基于所述媒体数据为第一用户和第二用户建立私密的社交空间,其中,社交空间的成员只有第一用户和第二用户,第一用户和第二用户在该社交空间中的社交信息,无法被社交空间之外的其他用户获取,所以社交空间具有私密性。The social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space The social information in, cannot be obtained by other users outside the social space, so the social space is private.
本实施例可以实现第一和第二用户播放相同的媒体数据时,为他们自动建立所述第一用户和第二用户的社交空间,并向所述第一用户和第二用户发送社交的信息,方便第一用户和第二用户在社交空间中进行自由交流,还可以扩大第一用户和第二用户的社交范围。This embodiment can realize that when the first and second users play the same media data, the social space of the first user and the second user is automatically created for them, and social information is sent to the first user and the second user , It is convenient for the first user and the second user to communicate freely in the social space, and can also expand the social scope of the first user and the second user.
例如,如图1和4所示,可以为我和用户A建立自动聊天室,我和用户A即可进入该聊天室进行聊天。For example, as shown in Figures 1 and 4, an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
本发明端基于第一用户端的社交方法一实施例中,步骤S23,从所述服务端接收第一用户和第二用户的社交空间建立的信息之后,还包括:In an embodiment of the social networking method based on the first user terminal of the present invention, step S23, after receiving the information of the social space establishment of the first user and the second user from the server, further includes:
步骤S24,向所述服务端发送所述媒体数据的结束播放请求;Step S24: Send a request to end playing the media data to the server;
步骤S25,从所述服务端接收基于所述结束播放请求的是否将对方加为好友的咨询信息,Step S25, receiving consultation information from the server on whether to add the other party as a friend based on the end playback request,
步骤S26,基于所述咨询信息向所述服务端发送是否将对方加为好友的确认信息,从所述服务端接收基于所述确认信息返回的所述第一用户和第二用户发送已经建立好友关系的通知,并保持在所述社交空间中与第二用户端进行社交沟通。Step S26, based on the consultation information, send confirmation information on whether to add the other party as a friend to the server, and receive from the server the first user and the second user that are returned based on the confirmation information and send the established friend Notification of the relationship, and maintain social communication with the second user terminal in the social space.
在此,第一用户和第二用户的社交空间的维持时间首先设定为所述媒体数据的播放期间,因为,第一用户和第二用户的社交空间是基于播放相同的媒体数据建立的,那么,当第一用户和第二用户的其中一方结束所述媒体数据的播放时,供第一用户和第二用户进行交流的社交空间可能不需要维持,此时可以向所述第一用户和第二用户分别发送是否将对方加为好友的咨询信息,如果,所述第一用户和第二用户基于所述咨询信息的确认互相将对方加为好友,则服务端可以将所述第一用户和第二用户建立为好友关系,并向所述第一用户和第二用户发送已经建立好友关系的通知,保持开放所述社交空间,从而实现在媒体数据播放结束后,所述第一用户和第二用户仍旧可以继续保持联系沟通。Here, the maintenance time of the social space of the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on playing the same media data, Then, when one of the first user and the second user ends the playback of the media data, the social space for the first user and the second user to communicate may not need to be maintained. At this time, the first user and The second user respectively sends consultation information about whether to add the other party as a friend. If the first user and the second user add each other as a friend based on the confirmation of the consultation information, the server can add the first user Establish a friend relationship with the second user, and send a notification that the friend relationship has been established to the first user and the second user, and keep the social space open, so that after the media data is played, the first user and The second user can still continue to communicate.
例如,如图1和5所示,当用户我播放音乐6结束时,服务端可以向我的用户端发送是否继续与用户A保持联系的咨询信息;如图1和6所示,如果我的用户端向服务端发送确认保持联系的反馈信息,并且A的用户端也向服务端发送确认保持联系的反馈信息,则服务端可以将我和用户A建立为好友关系,并向我和A的用户端发送已经建立好友关系的通知,保持开放所述社交空间。For example, as shown in Figures 1 and 5, when the user I play music 6 ends, the server can send to my user side the consultation information whether to continue to keep in touch with user A; as shown in Figures 1 and 6, if my The user side sends the feedback information confirming to keep in touch with the server, and the user side of A also sends the feedback information confirming to keep in touch with the server, the server can establish a friendship between me and user A, and send a message to me and A’s The user terminal sends a notification that the friend relationship has been established, and keeps the social space open.
本发明端基于第一用户的社交方法一实施例中,步骤S25,从所述服务端接收基于所述结束播放请求的是否将对方加为好友的咨询信息之后,还包括:In an embodiment of the socialization method based on the first user at the end of the present invention, step S25, after receiving the inquiry information from the server on whether to add the other party as a friend based on the end playback request, further includes:
步骤S27,向所述服务端发送基于所述咨询信息的是否将对方加为好友的拒绝信息,从所述服务端接收基于所述拒绝信息返回的所述社交空间关闭的信息。Step S27, sending rejection information based on the consultation information whether to add the other party as a friend to the server, and receiving from the server information that the social space is closed based on the rejection information.
在此,服务端向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息之后,如果服务端接收到所述第一用户和第二用户中的其中至少一方,基于所述咨询信息的是否将对方加为好友的拒绝信息,则服务端可以关闭所述社交空间,并向所述第一用户端和第二用户端发送所述社交空间关闭的信息,之后第一用户和第二用户就无法再保持联系,从而实现所述第一用户和第二用户在媒体数据播放结束后,没有必要再维持联系时,可以及时关闭第一 用户和第二用户的社交空间,避免对第一用户和第二用户造成不必要的打扰。Here, after the server sends to the first user terminal and the second user terminal the consultation information on whether to add the other party as a friend, if the server receives at least one of the first user and the second user, Based on the refusal information of whether to add the other party as a friend based on the consultation information, the server can close the social space, and send the information that the social space is closed to the first user end and the second user end. The first user and the second user can no longer keep in touch, so that the first user and the second user can close the social space of the first user and the second user in time when there is no need to maintain contact after the media data is played. , To avoid unnecessary disturbance to the first user and the second user.
例如,如图1和7所示,如果我的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述社交空间,并将我的用户端界面由社交空间界面退回到最初端音乐播放列表端界面;For example, as shown in Figures 1 and 7, if my client returns to the server a message that refuses to add the other party as a friend, the server closes the social space based on the rejection information, and changes my client interface to The social space interface returns to the initial music playlist interface;
又如,如图1和8所示,如果我的用户端向服务端返回了确认将对方加为好友的信息,但A的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述社交空间,并将用户我和A的用户端界面由社交空间界面退回到最初端音乐播放列表端界面。For another example, as shown in Figures 1 and 8, if my client returns to the server a message confirming that the other party is added as a friend, but the client of A returns a message to the server that refuses to add the other party as a friend, then Based on the rejection information, the server closes the social space, and returns the user-side interface of users I and A from the social space interface to the initial-end music playlist interface.
本发明端基于第一用户端的社交方法一实施例中,步骤S23,从所述服务端接收第一用户和第二用户的社交的信息,包括:In an embodiment of the socialization method based on the first user terminal of the present invention, step S23, receiving social information of the first user and the second user from the server includes:
步骤S231,从所述服务端接收建立所述社交空间的请求;Step S231, receiving a request for establishing the social space from the server;
步骤S232,向所述服务的发送基于所述建立所述社交空间的请求的同意反馈;Step S232, sending a consent feedback based on the request to establish the social space to the service;
步骤S24,从所述服务端接收基于所述同意反馈的第一用户和第二用户的社交空间开放社交的信息。Step S24, receiving information from the server that the social spaces of the first user and the second user are open for social interaction based on the consent feedback.
在此,在建立所述第一用户和第二用户的社交空间之前,通过分别向所述第一用户和第二用户发送建立所述社交空间的请求,在所述第一用户和第二用户都同意的情况下,建立所述第一用户和第二用户的社交空间,可以保证第一用户和第二用户的社交空间建立得更为可靠。Here, before establishing the social space of the first user and the second user, by sending a request for establishing the social space to the first user and the second user, respectively, the first user and the second user If both agree, the establishment of the social spaces of the first user and the second user can ensure that the social spaces of the first user and the second user are established more reliably.
本发明端基于第一用户端的社交方法一实施例中,步骤S23,从所述服务端接收第一端用户和第二用户的社交空间开放社交的信息之后,还包括:In an embodiment of the socialization method based on the first user end of the present invention, in step S23, after receiving from the server the information about the social opening of the social space of the first end user and the second user, the method further includes:
步骤S28,向所述服务端发送的退出所述社交空间的请求,Step S28, sending a request to exit the social space to the server,
步骤S29,从所述服务端接收基于所述退出所述社交空间的请求的所述社交空间关闭的信息或所述第一用户已经退出所述社交空间的信息。Step S29, receiving information that the social space is closed based on the request for exiting the social space or information that the first user has exited the social space from the server.
在此,当第一用户和第二用户建立社交空间空间后,为了方便第一用户和第二用户随时结束社交联系,服务端可以在接收到所述第一用户和第二用户中的其中至少一方发送的退出所述社交空间的请求将第一用户和/或第二用户从所述社交空间中退出,或者直接将所述社交空间关闭。Here, after the first user and the second user establish a social space, in order to facilitate the first user and the second user to terminate the social connection at any time, the server may receive at least one of the first user and the second user A request sent by a party to exit the social space will log the first user and/or the second user out of the social space, or directly close the social space.
其中,若所述社交空间中的人数为2个,例如,社交空间中有一个第一用 户和一个第二用户,只要有第一用户和第二用户中的其中至少一方发送退出所述社交空间的请求,则其中一方退出后,此时社交空间空间会中剩余的用户端数量变成1或0,因为用户数太少,社交空间没有必要维持,则服务端可以基于所述退出所述社交空间的请求关闭所述社交空间,并向所述第一用户和第二用户发送所述社交空间关闭的信息;Wherein, if the number of people in the social space is two, for example, there is a first user and a second user in the social space, as long as at least one of the first user and the second user sends to exit the social space If one of the parties withdraws, the number of remaining users in the social space will become 1 or 0. Because the number of users is too small and the social space is not necessary to maintain, the server can log out of the social The request of the space to close the social space, and send the information that the social space is closed to the first and second users;
另外,若所述社交空间中的人数至少为3个,例如,社交空间中有一个第一用户和二个第二用户,只要有第一用户和第二用户中的其中至少一个用户发送退出所述社交空间的请求,3个用户中有一个用户退出,社交空间中还剩2个用户,则服务端可以将所述第一用户或第二用户从所述社交空间删除,并向所述第一用户或第二用户发送已经退出所述社交空间的信息;In addition, if the number of people in the social space is at least three, for example, if there is a first user and two second users in the social space, as long as at least one of the first user and the second user sends an exit According to the request of the social space, if one of the three users exits, and there are two users left in the social space, the server can delete the first user or the second user from the social space and send it to the first user. A user or a second user sends information that they have exited the social space;
另外,若所述社交空间中的人数至少为3个,例如,社交空间中有一个第一用户和二个第二用户,其中有2或3个用户向服务端发送的退出所述社交空间的请求,社交空间中还剩1或0个用户,因为用户数太少,社交空间没有必要维持,则服务端可以将所述第一用户和第二用户从所述社交空间删除,并向所述第一用户和第二用户发送已经退出所述社交空间的信息。In addition, if the number of people in the social space is at least three, for example, there are one first user and two second users in the social space, among which 2 or 3 users send to the server to exit the social space. Request, there are 1 or 0 users left in the social space. Because the number of users is too small and the social space is not necessary to maintain, the server can delete the first user and the second user from the social space and send it to the The first user and the second user send information that they have exited the social space.
本发明还提供一种基于第二用户端的社交方法,该方法包括:The present invention also provides a social networking method based on a second user terminal, the method including:
步骤301,获取第二用户选择的选择媒体资源标识;Step 301: Obtain the selected media resource identifier selected by the second user;
在此,所述媒体资源可以包括文章、音乐、视频等等;所述标识用于区分不同媒体资源,可以是媒体资源的名称、符号、标记等等;所述标识清单可以是如图1和2所示的音乐列表形式,还可以是用于罗列媒体资源的标识的其他各种界面表现形式;Here, the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
步骤302,通过服务端与第一用户所在的第一用户端建立联系,其中,所述第二用户由所述服务端获取,所述第二用户对应的第二用户选择的媒体资源标识与所述第一用户的选择媒体资源标识相同。Step 302: Establish a connection with the first user terminal where the first user is located through the server, where the second user is obtained by the server, and the media resource identifier selected by the second user corresponding to the second user is related to the The selected media resource identifiers of the first user are the same.
在此,第一用户接收的如图1和2所示的音乐列表后,可以从音乐列表中选择自己喜欢的音乐,例如可以从音乐列表中选择音乐6的媒体资源标识,服务端接收音乐6的媒体资源标识;Here, after the first user receives the music list as shown in Figures 1 and 2, he can select his favorite music from the music list. For example, he can select the media resource identifier of music 6 from the music list, and the server receives music 6 The media resource identifier of;
第一用户选择好媒体资源标识后,服务端可以为第一用户在第一用户之外 的其他用户端范围内寻找播放相同媒体资源标识的第二用户,以便于基于所述媒体资源标识为第一用户和第二用户建立私密的社交空间;例如,如图1和3所示,我为第一用户,用户A为第二用户,我和用户A选择了播放同一首音乐6。After the first user selects the media resource identifier, the server can search for a second user who plays the same media resource identifier within the scope of other user terminals other than the first user for the first user, so that based on the media resource identifier as the first user A user and a second user establish a private social space; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I choose to play the same music 6.
所述联系可以包括在所述第一用户和第二用户之间建立的虚拟沟通渠道,第一用户和第二用户通过该虚拟沟通渠道进行沟通和通信。The contact may include a virtual communication channel established between the first user and the second user, and the first user and the second user communicate and communicate through the virtual communication channel.
本实施例可以实现第一和第二用户选择相同的媒体资源标识时,为他们自动建立所述第一用户和第二用户的联系渠道,方便第一用户和第二用户在通过联系渠道进行自由交流,还可以扩大第一用户和第二用户的社交范围。This embodiment can realize that when the first and second users select the same media resource identifier, the contact channel between the first user and the second user is automatically established for them, so that the first user and the second user are free to use the contact channel. Communication can also expand the social scope of the first user and the second user.
例如,如图1和4所示,可以为我和用户A建立自动聊天室,我和用户A即可进入该聊天室进行聊天。For example, as shown in Figures 1 and 4, an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
本发明的基于第二用户端的社交方法一实施例中,步骤301,选择媒体资源标识,包括:In an embodiment of the second user terminal-based social networking method of the present invention, step 301, selecting a media resource identifier, includes:
从所述服务端接收媒体资源的标识清单;Receiving an identification list of media resources from the server;
获取第二用户从所述媒体资源的标识清单中选择的媒体资源标识并发送给所述服务端。Acquire the media resource identifier selected by the second user from the list of identifiers of the media resource and send it to the server.
在此,可以像第一用户端一样为第二用户端发送供播放的媒体资源的标识清单,例如,第二用户接收到如图1和2所示的音乐列表后,可以从音乐列表中选择自己喜欢的音乐,例如可以从音乐列表中选择音乐6的媒体资源标识发送给服务端,从而可以实现第二用户同第一用户一样,便捷地从服务端获取想要选择的媒体数据。Here, the identification list of the media resources for playback can be sent to the second client just like the first client. For example, after the second user receives the music list shown in Figures 1 and 2, he can select from the music list For your favorite music, for example, you can select the media resource identifier of Music 6 from the music list and send it to the server, so that the second user can easily obtain the desired media data from the server just like the first user.
本发明的基于第二用户端的社交方法一实施例中,所述第二用户包括在预设时间段内与所述第一用户选择的媒体资源标识选择相同的其他用户。In an embodiment of the second user terminal-based social networking method of the present invention, the second user includes other users who have the same selection of the media resource identifier selected by the first user within a preset time period.
在此,通常来说如果第一用户选择的媒体资源标识后,在之后的一段时间内,用户有需要跟作出与自己一样选择的第二用户建立联系的必要性是较高的,但随着时间但推移,这种必要性可能会逐渐减弱。Here, generally speaking, if the media resource selected by the first user is identified, it is necessary for the user to establish contact with the second user who made the same choice as the user for a period of time, but with Over time, this necessity may gradually diminish.
所以可以设置预设时间段,当所述第一用户选择的媒体资源标识后,获取在预设时间段内与所述第一用户选择的媒体资源标识选择相同的第二用户,从而保证后续为第一用户和第二用户建立的联系更有必要。Therefore, a preset time period can be set. After the media resource identifier selected by the first user, the second user who selected the same media resource identifier as the first user selected within the preset time period is obtained, thereby ensuring that the subsequent The connection established between the first user and the second user is more necessary.
本发明的基于第二用户端的社交方法一实施例中,步骤302,通过服务端与第一用户所在的第一用户端建立联系,包括:In an embodiment of the second user terminal-based social networking method of the present invention, step 302, establishing a connection with the first user terminal where the first user is located through the server terminal, includes:
通过服务端与第一用户建立社交空间。Establish a social space with the first user through the server.
在此,所述社交空间可以是聊天室、沟通群等具有私密性的虚拟沟通空间。Here, the social space may be a private virtual communication space such as chat rooms and communication groups.
所述社交空间是基于所述媒体数据为第一用户和第二用户建立私密的社交空间,其中,社交空间的成员只有第一用户和第二用户,第一用户和第二用户在该社交空间中的社交信息,无法被社交空间之外的其他用户获取,所以社交空间具有私密性。The social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space The social information in, cannot be obtained by other users outside the social space, so the social space is private.
本发明的基于第二用户端的社交方法一实施例中,步骤302,通过服务端与第一用户所在的第一用户端建立联系之后,还包括:In an embodiment of the second user terminal-based social networking method of the present invention, step 302, after establishing contact with the first user terminal where the first user is located through the server terminal, further includes:
从所述服务端接收与所述第一用户所选择的相同的媒体资源标识对应的媒体数据,并播放所述媒体数据。Receiving media data corresponding to the same media resource identifier selected by the first user from the server, and playing the media data.
在此,服务端接收到音乐6的媒体资源标识后,可以向所述第二用户发送其所选择的音乐6对应的音乐数据,第二用户接收到服务端发送端音乐数据后,即可进行播放。Here, after the server receives the media resource identifier of Music 6, it can send the music data corresponding to the selected Music 6 to the second user. After the second user receives the music data from the server sender, it can proceed. Play.
本发明的基于第二用户端的社交方法一实施例中,步骤302,通过服务端与第一用户所在的第一用户端建立联系之后,还包括:In an embodiment of the second user terminal-based social networking method of the present invention, step 302, after establishing contact with the first user terminal where the first user is located through the server terminal, further includes:
步骤303,向所述服务端发送所述媒体数据的结束播放请求从所述服务端的接收基于所述结束播放请求的是否将对方加为好友的咨询信息;或,Step 303: Send the end playback request of the media data to the server and receive from the server consultation information based on the end playback request whether to add the other party as a friend; or,
步骤304,当所述媒体数据播放结束,从所述服务端接收基于所述媒体数据播放结束的是否将对方加为好友的咨询信息;Step 304: When the playback of the media data ends, receiving from the server, based on the completion of the media data playback, consultation information on whether to add the other party as a friend is received;
步骤305,向所述服务端发送基于所述咨询信息的是否将对方加为好友的确认信息,从所述服务端接收发送第一用户和第二用户已经建立好友关系的通知。Step 305: Send confirmation information based on the consultation information whether to add the other party as a friend to the server, and receive and send a notification from the server that the first user and the second user have established a friend relationship.
在此,第一用户和第二用户的联系的维持时间首先设定为所述媒体数据的播放期间,因为,第一用户和第二用户的社交空间是基于选择相同的媒体资源标识建立的,那么,当第一用户和第二用户的其中一方结束所述媒体数据的播放时,供第一用户和第二用户进行交流的社交空间可能不需要维持,此时可以向所述第一用户和第二用户分别发送是否将对方加为好友的咨询信息,如果, 所述第一用户端和第二用户端基于所述咨询信息的确认互相将对方加为好友,则服务端可以将所述第一用户和第二用户建立为好友关系,并向所述第一用户和第二用户发送已经建立好友关系的通知,保持开放所述社交空间,从而实现在媒体数据播放结束后,所述第一用户和第二用户仍旧可以继续保持联系沟通。Here, the maintenance time of the connection between the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on selecting the same media resource identifier, Then, when one of the first user and the second user ends the playback of the media data, the social space for the first user and the second user to communicate may not need to be maintained. At this time, the first user and The second user respectively sends consultation information about whether to add the other party as a friend. If the first user end and the second user end add each other as a friend based on the confirmation of the consultation information, the server can add the A user and a second user establish a friendship relationship, and send a notification that the friendship relationship has been established to the first user and the second user, and keep the social space open, so that after the media data is played, the first user The user and the second user can still continue to maintain contact and communication.
例如,如图1和5所示,当用户我播放音乐6结束时,服务端可以向用户我发送是否继续与用户A保持联系的咨询信息;如图1和6所示,如果我的用户端向服务端发送确认保持联系的反馈信息,并且用户A也向服务端发送确认保持联系的反馈信息,则服务端可以将我和用户A建立为好友关系,并向我和A的用户端发送已经建立好友关系的通知,保持开放所述联系渠道。For example, as shown in Figures 1 and 5, when the user I play music 6 ends, the server can send the user I whether to continue to keep in touch with user A consultation information; as shown in Figures 1 and 6, if my client Send a feedback message confirming to keep in touch with the server, and user A also sends a feedback message confirming to keep in touch with the server, the server can establish a friend relationship between me and user A, and send a message to me and A’s client. A notification of establishing a friendship relationship and keep the contact channel open.
本发明的基于第二用户端的社交方法一实施例中,步骤302,从所述服务端的接收是否将对方加为好友的咨询信息之后,还包括:In an embodiment of the social networking method based on the second user terminal of the present invention, step 302, after receiving the inquiry information from the server about whether to add the other party as a friend, further includes:
向所述服务端发送基于所述咨询信息的是否将对方加为好友的拒绝信息,从所述服务端接收基于所述拒绝信息的结束联系的通知。Sending rejection information based on the consultation information whether to add the other party as a friend to the server, and receiving a notification of ending contact based on the rejection information from the server.
在此,服务端向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息之后,如果服务端接收到所述第一用户和第二用户中的其中至少一方,基于所述咨询信息的是否将对方加为好友的拒绝信息,则服务端可以关闭所述联系渠道,并向所述第一用户端和第二用户端发送所述联系渠道关闭的信息,之后第一用户和第二用户就无法再保持联系,从而实现所述第一用户和第二用户在媒体数据播放结束后,没有必要再维持联系是,可以及时关闭第一用户和第二用户之间的联系渠道,避免对第一用户和第二用户造成不必要的打扰。Here, after the server sends to the first user terminal and the second user terminal the consultation information on whether to add the other party as a friend, if the server receives at least one of the first user and the second user, Based on the refusal information of whether to add the other party as a friend based on the consultation information, the server can close the contact channel, and send the information that the contact channel is closed to the first user end and the second user end. One user and the second user can no longer keep in touch, so that after the media data is played, the first user and the second user do not need to keep in touch, and the communication between the first user and the second user can be closed in time. Contact channels to avoid unnecessary interruption to the first user and the second user.
例如,如图1和7所示,如果我的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述联系渠道,并将我的用户端界面由社交空间界面退回到最初端音乐播放列表端界面;For example, as shown in Figures 1 and 7, if my client returns to the server a message that refuses to add the other party as a friend, the server closes the contact channel based on the rejection message, and changes my client interface to The social space interface returns to the initial music playlist interface;
又如,如图1和8所示,如果我的用户端向服务端返回了确认将对方加为好友的信息,但A的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述联系渠道,并将用户我和A的用户端界面由社交空间界面退回到最初端音乐播放列表端界面。For another example, as shown in Figures 1 and 8, if my client returns to the server a message confirming that the other party is added as a friend, but the client of A returns a message to the server that refuses to add the other party as a friend, then Based on the rejection information, the server closes the contact channel, and returns the user-end interface of users I and A from the social space interface to the original music playlist interface.
本发明的基于第二用户端的社交方法一实施例中,通过服务端与第一用户 所在的第一用户端建立联系,包括:In an embodiment of the second user terminal-based social networking method of the present invention, establishing a connection with the first user terminal where the first user is located through the server includes:
从所述服务端接收建立所述联系的请求;Receiving a request to establish the contact from the server;
向所述服务端发送基于所述请求的同意反馈;Sending consent feedback based on the request to the server;
通过所述服务端基于所述同意反馈与所述第一用户端建立联系。Establishing contact with the first user terminal through the server terminal based on the consent feedback.
在此,在建立所述第一用户和第二用户的联系渠道之前,通过分别向所述第一用户和第二用户发送建立所述联系的请求,在所述第一用户和第二用户都同意的情况下,建立所述第一用户和第二用户的联系,可以保证第一用户和第二用户的联系建立得更为可靠。Here, before establishing the contact channel of the first user and the second user, by sending a request to establish the contact to the first user and the second user, In the case of consent, establishing the connection between the first user and the second user can ensure that the connection between the first user and the second user is established more reliably.
本发明的基于第二用户端的社交方法一实施例中,该方法包括:In an embodiment of the second user terminal-based social networking method of the present invention, the method includes:
步骤S31,从服务端接收媒体数据并进行播放;Step S31, receiving media data from the server and playing it;
步骤S32,从服务端接收第一用户和第二用户的社交的信息,其中,所述第二用户由所述服务端搜索播放所述第一用户所选择的媒体资源标识对应的媒体数据的其他用户得到,所述第一用户和第二用户的社交空间由所述服务端建立。Step S32, receiving social information of the first user and the second user from the server, where the second user searches and plays other media data corresponding to the media resource identifier selected by the first user by the server. The user obtains that the social space of the first user and the second user is established by the server.
在此,所述媒体资源可以包括文章、音乐、视频等等;所述标识用于区分不同媒体资源,可以是媒体资源的名称、符号、标记等等;所述标识清单可以是如图1和2所示的音乐列表形式,还可以是用于罗列媒体资源的标识的其他各种界面表现形式;Here, the media resource may include articles, music, videos, etc.; the identifier is used to distinguish different media resources, and may be the name, symbol, mark, etc. of the media resource; the identifier list may be as shown in Figure 1 and The music list form shown in 2 can also be other various interface expression forms used to list the logos of media resources;
第一用户接收的如图1和2所示的音乐列表后,可以从音乐列表中选择自己喜欢的音乐,例如可以从音乐列表中选择音乐6的媒体资源标识,服务端接收到音乐6的媒体资源标识后,可以向所述第一用户发送其所选择的音乐6对应的音乐数据,第一用户接收到服务端发送端音乐数据后,即可进行播放;After the first user receives the music list shown in Figures 1 and 2, he can select his favorite music from the music list. For example, he can select the media resource identifier of Music 6 from the music list, and the server receives the media of Music 6 After the resource identification, the music data corresponding to the music 6 selected by the first user can be sent to the first user, and the first user can play it after receiving the music data from the server sending end;
第一用户选择好媒体资源标识对应的媒体数据后,服务端可以为第一用户在第一用户之外的其他用户端范围内寻找播放相同媒体数据的第二用户,以便于基于所述媒体数据为第一用户和第二用户建立私密的社交空间;例如,如图1和3所示,我为第一用户,用户A为第二用户,我和用户A选择了播放同一首音乐6;After the first user selects the media data corresponding to the media resource identifier, the server can search for a second user who plays the same media data within the range of other user terminals other than the first user for the first user, so as to facilitate based on the media data Create a private social space for the first user and the second user; for example, as shown in Figures 1 and 3, I am the first user, user A is the second user, and user A and I choose to play the same music 6;
所述社交空间可以是聊天室、沟通群等具有私密性的虚拟沟通空间。The social space may be a private virtual communication space such as chat rooms and communication groups.
所述社交空间是基于所述媒体数据为第一用户和第二用户建立私密的社 交空间,其中,社交空间的成员只有第一用户和第二用户,第一用户和第二用户在该社交空间中的社交信息,无法被社交空间之外的其他用户获取,所以社交空间具有私密性。The social space is to establish a private social space for the first user and the second user based on the media data, wherein the members of the social space are only the first user and the second user, and the first user and the second user are in the social space The social information in, cannot be obtained by other users outside the social space, so the social space is private.
本实施例可以实现第一和第二用户播放相同的媒体数据时,为他们自动建立所述第一用户和第二用户的社交空间,并向所述第一用户和第二用户发送社交的信息,方便第一用户和第二用户在社交空间中进行自由交流,还可以扩大第一用户和第二用户的社交范围。This embodiment can realize that when the first and second users play the same media data, the social space of the first user and the second user is automatically created for them, and social information is sent to the first user and the second user , It is convenient for the first user and the second user to communicate freely in the social space, and can also expand the social scope of the first user and the second user.
例如,如图1和4所示,可以为我和用户A建立自动聊天室,我和用户A即可进入该聊天室进行聊天。For example, as shown in Figures 1 and 4, an automatic chat room can be established for user A and me, and user A and I can enter the chat room to chat.
本发明的基于第二用户的社交方法一实施例中,步骤S31,从服务端接收媒体数据并进行播放,包括:In an embodiment of the second user-based social networking method of the present invention, step S31, receiving and playing media data from the server, includes:
从所述服务端接收供播放的媒体资源的标识清单;Receiving an identification list of media resources for playing from the server;
从所述媒体资源的标识清单中选择的媒体资源标识并发送给所述服务端;The media resource identifier selected from the list of identifiers of the media resource and sent to the server;
从所述服务端接收所选择的媒体资源标识对应的媒体数据并进行播放。The media data corresponding to the selected media resource identifier is received from the server and played.
在此,可以像第一用户端一样为第二用户端发送供播放的媒体资源的标识清单,例如,第二用户接收到如图1和2所示的音乐列表后,可以从音乐列表中选择自己喜欢的音乐,例如可以从音乐列表中选择音乐6的媒体资源标识,服务端接收到音乐6的媒体资源标识后,可以向所述第二用户发送其所选择的音乐6对应的音乐数据,第二用户接收到服务端发送端音乐数据后,即可进行播放,从而可以实现第二用户同第一用户一样,便捷地从服务端获取想要播放的媒体数据。Here, the identification list of the media resources for playback can be sent to the second client just like the first client. For example, after the second user receives the music list shown in Figures 1 and 2, he can select from the music list For your favorite music, for example, you can select the media resource identifier of Music 6 from the music list. After receiving the media resource identifier of Music 6, the server can send the music data corresponding to the selected Music 6 to the second user. After the second user receives the music data from the sending end of the server, it can play, so that the second user can easily obtain the media data that he wants to play from the server just like the first user.
本发明的基于第二用户的社交方法一实施例中,步骤S32,从服务端接收第一用户和第二用户的社交的信息之后,还包括:In an embodiment of the second user-based social networking method of the present invention, step S32, after receiving the social information of the first user and the second user from the server, further includes:
步骤S33,向所述服务端发送所述媒体数据的结束播放请求;Step S33: Send a request to end playback of the media data to the server;
步骤S34,从所述服务端的接收基于所述结束播放请求的是否将对方加为好友的咨询信息,Step S34, receiving, from the server, consulting information based on the end playback request whether to add the other party as a friend,
步骤S35,向所述服务端发送基于所述咨询信息的是否将对方加为好友的确认信息,从所述服务端接收发送第一用户和第二用户已经建立好友关系的通知,并保持在所述社交空间与所述第一用户进行社交沟通。Step S35: Send to the server a confirmation message based on the consultation information on whether to add the other party as a friend, receive and send a notification from the server that the first user and the second user have established a friend relationship, and keep it at all The social space performs social communication with the first user.
在此,第一用户和第二用户的社交空间的维持时间首先设定为所述媒体数据的播放期间,因为,第一用户和第二用户的社交空间是基于播放相同的媒体数据建立的,那么,当第一用户和第二用户的其中一方结束所述媒体数据的播放时,供第一用户和第二用户进行交流的社交空间可能不需要维持,此时可以向所述第一用户和第二用户分别发送是否将对方加为好友的咨询信息,如果,所述第一用户和第二用户基于所述咨询信息的确认互相将对方加为好友,则服务端可以将所述第一用户和第二用户建立为好友关系,并向所述第一用户和第二用户发送已经建立好友关系的通知,保持开放所述社交空间,从而实现在媒体数据播放结束后,所述第一用户和第二用户仍旧可以继续保持联系沟通。Here, the maintenance time of the social space of the first user and the second user is first set as the playing period of the media data, because the social space of the first user and the second user is established based on playing the same media data, Then, when one of the first user and the second user ends the playback of the media data, the social space for the first user and the second user to communicate may not need to be maintained. At this time, the first user and The second user respectively sends consultation information about whether to add the other party as a friend. If the first user and the second user add each other as a friend based on the confirmation of the consultation information, the server can add the first user Establish a friend relationship with the second user, and send a notification that the friend relationship has been established to the first user and the second user, and keep the social space open, so that after the media data is played, the first user and The second user can still continue to communicate.
例如,如图1和5所示,当用户我播放音乐6结束时,服务端可以向用户我发送是否继续与用户A保持联系的咨询信息;如图1和6所示,如果我的用户端向服务端发送确认保持联系的反馈信息,并且用户A也向服务端发送确认保持联系的反馈信息,则服务端可以将我和用户A建立为好友关系,并向我和用户A发送已经建立好友关系的通知,保持开放所述社交空间。For example, as shown in Figures 1 and 5, when the user I play music 6 ends, the server can send the user I whether to continue to keep in touch with user A consultation information; as shown in Figures 1 and 6, if my client Send feedback information confirming to keep in touch with the server, and user A also sends feedback confirming to keep in touch with the server, the server can establish a friend relationship between me and user A, and send me and user A have established friends Notification of relationship, keep the social space open.
本发明的基于第二用户的社交方法一实施例中,步骤S34,从所述服务端的接收是否将对方加为好友的咨询信息之后,还包括:In an embodiment of the second user-based social networking method of the present invention, in step S34, after receiving the inquiry information from the server on whether to add the other party as a friend, the method further includes:
步骤S37,向所述服务端发送基于所述咨询信息的是否将对方加为好友的拒绝信息,从所述服务端接收基于所述拒绝信息的所述社交空间关闭的信息。Step S37: Sending rejection information based on the consultation information on whether to add the other party as a friend to the server, and receiving from the server information that the social space is closed based on the rejection information.
在此,服务端向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息之后,如果服务端接收到所述第一用户和第二用户中的其中至少一方,基于所述咨询信息的是否将对方加为好友的拒绝信息,则服务端可以关闭所述社交空间,并向所述第一用户和第二用户发送所述社交空间关闭的信息,之后第一用户和第二用户就无法再保持联系,从而实现所述第一用户和第二用户在媒体数据播放结束后,没有必要再维持联系是,可以及时关闭第一用户和第二用户的社交空间,避免对第一用户和第二用户造成不必要的打扰。Here, after the server sends to the first user terminal and the second user terminal the consultation information on whether to add the other party as a friend, if the server receives at least one of the first user and the second user, Based on the refusal information of whether to add the other party as a friend based on the consultation information, the server can close the social space and send the information that the social space is closed to the first user and the second user, and then the first user It is no longer possible to keep in touch with the second user, so that the first user and the second user do not need to keep in touch after the media data is played, and the social space of the first user and the second user can be closed in time to avoid Cause unnecessary disturbance to the first user and the second user.
例如,如图1和7所示,如果我的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述社交空间,并将用户我的社交空间界面退回到最初端音乐播放列表端界面;For example, as shown in Figures 1 and 7, if my client returns to the server a message that refuses to add the other party as a friend, then the server closes the social space based on the rejection information, and changes the user’s my social space interface Return to the initial music playlist interface;
又如,如图1和8所示,如果我的用户端向服务端返回了确认将对方加为 好友的信息,但A的用户端向服务端返回了拒绝将对方加为好友的信息,则服务端基于拒绝信息,关闭所述社交空间,并将用户我和用户A的社交空间界面退回到最初端音乐播放列表端界面。For another example, as shown in Figures 1 and 8, if my client returns to the server a message confirming that the other party is added as a friend, but the client of A returns a message to the server that refuses to add the other party as a friend, then Based on the rejection information, the server closes the social space, and returns the social space interface of user me and user A to the initial music playlist interface.
本发明的基于第二用户的社交方法一实施例中,步骤S32,从服务端接收第一用户和第二用户的社交的信息,包括:In an embodiment of the second user-based social interaction method of the present invention, step S32, receiving social information of the first user and the second user from the server, includes:
步骤S321,从所述服务端接收建立所述社交空间的请求;Step S321, receiving a request for establishing the social space from the server;
步骤S322,向所述服务端发送基于所述请求的同意反馈;Step S322, sending consent feedback based on the request to the server;
步骤S323,从所述服务端接收基于所述同意反馈的社交的信息。Step S323, receiving social information based on the consent feedback from the server.
在此,在建立所述第一用户和第二用户的社交空间之前,通过分别向所述第一用户和第二用户发送建立所述社交空间的请求,在所述第一用户和第二用户都同意的情况下,建立所述第一用户和第二用户的社交空间,可以保证第一用户和第二用户的社交空间建立得更为可靠。Here, before establishing the social space of the first user and the second user, by sending a request for establishing the social space to the first user and the second user, respectively, the first user and the second user If both agree, the establishment of the social spaces of the first user and the second user can ensure that the social spaces of the first user and the second user are established more reliably.
本发明的基于第二用户的社交空间开放社交方法一实施例中,步骤S32,从服务端接收第一用户和第二用户的社交空间开放社交的信息之后,还包括:In an embodiment of the method for opening a social space based on a second user of the present invention, step S32, after receiving from the server the information about the opening of the social space of the first user and the second user, further includes:
步骤S38,向所述服务端发送的退出所述社交空间的请求,Step S38, sending a request to exit the social space to the server,
步骤S39,从所述服务端接收基于退出所述社交空间的请求的所述社交空间关闭的信息或第二用户已经退出所述社交空间的信息。Step S39, receiving information that the social space is closed based on the request for exiting the social space or information that the second user has exited the social space from the server.
在此,当第一用户和第二用户建立社交空间空间后,为了方便第一用户和第二用户随时结束社交联系,服务端可以在接收到所述第一用户端和第二用户端中的其中至少一方发送的退出所述社交空间的请求将第一用户和/或第二用户从所述社交空间中退出,或者直接将所述社交空间关闭。Here, after the first user and the second user establish a social space space, in order to facilitate the first user and the second user to end the social contact at any time, the server may receive the information from the first user and the second user. The request for exiting the social space sent by at least one party will log the first user and/or the second user out of the social space, or directly close the social space.
其中,若所述社交空间中的人数为2个,例如,社交空间中有一个第一用户和一个第二用户,只要有第一用户和第二用户中的其中至少一方发送退出所述社交空间的请求,则其中一方退出后,此时社交空间空间会中剩余的用户端数量变成1或0,因为用户数太少,社交空间没有必要维持,则服务端可以基于所述退出所述社交空间的请求关闭所述社交空间,并向所述第一用户和第二用户发送所述社交空间关闭的信息;Wherein, if the number of people in the social space is two, for example, there is a first user and a second user in the social space, as long as at least one of the first user and the second user sends to exit the social space If one of the parties withdraws, the number of remaining users in the social space will become 1 or 0. Because the number of users is too small and the social space is not necessary to maintain, the server can log out of the social The request of the space to close the social space, and send the information that the social space is closed to the first user and the second user;
另外,若所述社交空间中的人数至少为3个,例如,社交空间中有一个第一用户和二个第二用户,只要有第一用户和第二用户中的其中至少一个用户发 送退出所述社交空间的请求,3个用户中有一个用户退出,社交空间中还剩2个用户,则服务端可以将所述第一用户或第二用户从所述社交空间删除,并向所述第一用户或第二用户发送已经退出所述社交空间的信息;In addition, if the number of people in the social space is at least three, for example, if there is a first user and two second users in the social space, as long as at least one of the first user and the second user sends an exit According to the request of the social space, if one of the three users exits, and there are two users left in the social space, the server can delete the first user or the second user from the social space and send it to the first user. A user or a second user sends information that they have exited the social space;
另外,若所述社交空间中的人数至少为3个,例如,社交空间中有一个第一用户和二个第二用户,其中有2或3个用户向服务端发送的退出所述社交空间的请求,社交空间中还剩1或0个用户,因为用户数太少,社交空间没有必要维持,则服务端可以将所述第一用户和第二用户从所述社交空间删除,并向所述第一用户和第二用户发送已经退出所述社交空间的信息。In addition, if the number of people in the social space is at least three, for example, there are one first user and two second users in the social space, among which 2 or 3 users send to the server to exit the social space. Request, there are 1 or 0 users left in the social space. Because the number of users is too small and the social space is not necessary to maintain, the server can delete the first user and the second user from the social space and send it to the The first user and the second user send information that they have exited the social space.
本发明还提供一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现上述任一项实施例所述的方法。The present invention also provides a computer-readable medium on which computer-readable instructions are stored, and the computer-readable instructions can be executed by a processor to implement the method described in any one of the foregoing embodiments.
本发明还提供一种用于在网络设备端信息处理的设备,该设备包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该设备执行上述任一项实施例所述的方法。The present invention also provides a device for information processing on the network device side, the device including a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor At this time, the device is triggered to execute the method described in any of the foregoing embodiments.
本发明的各设备和存储介质实施例的详细内容,具体可参见各方法实施例的对应部分,在此,不再赘述。For details of the device and storage medium embodiments of the present invention, refer to the corresponding parts of the method embodiments for details, which will not be repeated here.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application also intends to include these modifications and variations.
需要注意的是,本发明可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本发明的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本发明的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本发明的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present invention can be implemented in software and/or a combination of software and hardware. For example, it can be implemented by an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In an embodiment, the software program of the present invention may be executed by a processor to realize the steps or functions described above. Similarly, the software program (including related data structure) of the present invention can be stored in a computer-readable recording medium, such as a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present invention may be implemented by hardware, for example, as a circuit that cooperates with a processor to execute each step or function.
另外,本发明的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本发明的方法和/或技术方案。而调用本发明的方法的程序指令,可能被存储在固定的或可 移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。在此,根据本发明的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本发明的多个实施例的方法和/或技术方案。In addition, a part of the present invention can be applied as a computer program product, such as computer program instructions, when executed by a computer, the method and/or technical solution according to the present invention can be invoked or provided through the operation of the computer. The program instructions for invoking the method of the present invention may be stored in a fixed or removable recording medium, and/or transmitted through a data stream in a broadcast or other signal bearing medium, and/or stored in a The program instructions run in the working memory of the computer equipment. Here, an embodiment according to the present invention includes a device including a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, trigger The operation of the device is based on the aforementioned methods and/or technical solutions according to multiple embodiments of the present invention.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present invention is defined by the appended claims rather than the above description, and therefore it is intended to fall within the claims. All changes within the meaning and scope of equivalent elements of are included in the present invention. Any reference signs in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claims can also be implemented by one unit or device through software or hardware. Words such as first and second are used to denote names, but do not denote any specific order.

Claims (22)

  1. 一种基于服务端的社交方法,其中,该方法包括:A server-based social networking method, wherein the method includes:
    向第一用户所在的第一用户端发送媒体资源的标识清单;Sending an identification list of media resources to the first client where the first user is located;
    通过所述第一用户端获取所述第一用户从所述媒体资源的标识清单中选择的媒体资源标识;Acquiring, through the first user terminal, the media resource identifier selected by the first user from the list of identifiers of the media resource;
    获取选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户;Acquiring a second user whose selected media resource identifier is the same as the media resource identifier selected by the first user;
    建立所述第一用户端和所述第二用户所在的第二用户端的联系。Establish a connection between the first client and the second client where the second user is located.
  2. 根据权利要求1所述的方法,其中,获取选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户之前,还包括:The method according to claim 1, wherein before acquiring the second user whose selected media resource identifier is the same as the first user selected by the first user, the method further comprises:
    向第二用户所在的第二用户端发送媒体资源的标识清单。Send an identification list of the media resources to the second client where the second user is located.
  3. 根据权利要求1所述的方法,其中,获取选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户,包括:The method according to claim 1, wherein acquiring the second user whose selected media resource identifier is the same as the first user selected media resource identifier comprises:
    获取在预设时间段内选择的媒体资源标识与所述第一用户选择媒体资源标识相同的第二用户。Acquire a second user whose media resource identifier selected within a preset time period is the same as the media resource identifier selected by the first user.
  4. 根据权利要求1所述的方法,其中,建立所述第一用户端和所述第二用户所在的第二用户端的联系之后,还包括:The method according to claim 1, wherein after establishing the connection between the first user terminal and the second user terminal where the second user is located, the method further comprises:
    向所述第一用户端和第二用户端发送所选择的相同的媒体资源标识对应的媒体数据,以供所述第一用户和第二用户播放所述媒体数据。Sending the media data corresponding to the same selected media resource identifier to the first user terminal and the second user terminal, so that the first user and the second user can play the media data.
  5. 根据权利要求4所述的方法,其中,向所述第一用户端和第二用户端发送所选择的相同的媒体资源标识对应的媒体数据之后,还包括:The method according to claim 4, wherein after sending the selected media data corresponding to the same media resource identifier to the first client and the second client, the method further comprises:
    若接收到所述第一用户端和第二用户端中的其中至少一方,结束所述媒体数据播放的请求,则停止向所述第一用户端发送其所选择的媒体资源标识对应的媒体数据,或若所述媒体数据播放结束,则向所述第一用户端和第二用户端分别发送是否将对方加为好友的咨询信息,If at least one of the first client and the second client is received to end the media data playback request, stop sending the media data corresponding to the selected media resource identifier to the first client , Or if the media data playback ends, then to the first user terminal and the second user terminal to send consulting information about whether to add the other party as a friend,
    若接收到所述第一用户端和第二用户端基于所述咨询信息的是否将对方加为好友的确认信息,则将所述第一用户和第二用户建立为好友关系,并向所述第一用户端和第二用户端发送已经建立好友关系的通知。If the first user terminal and the second user terminal receive the confirmation information of whether to add the other party as a friend based on the consultation information, the first user and the second user are established as a friend relationship, and the The first client and the second client send a notification that the friend relationship has been established.
  6. 根据权利要求5所述的方法,其中,向所述第一用户端和第二用户端分别 发送是否将对方加为好友的咨询信息之后,还包括:The method according to claim 5, wherein after sending to the first user end and the second user end the consulting information on whether to add the other party as a friend, respectively, the method further comprises:
    若接收到所述第一用户端和第二用户端中的其中至少一方,基于所述咨询信息的是否将对方加为好友的拒绝信息,则结束所述联系,并分别向第一用户端和第二用户端发送结束联系的通知。If at least one of the first user end and the second user end is received, based on the consultation information, whether to add the other party as a friend, then the contact is ended, and the first user end and the The second client sends a notification to end the contact.
  7. 根据权利要求1所述的方法,其中,建立所述第一用户端和所述第二用户所在的第二用户端的联系,包括:The method according to claim 1, wherein establishing a connection between the first user terminal and the second user terminal where the second user is located comprises:
    分别向所述第一用户端和第二用户端发送建立联系的请求;Sending a request to establish a connection to the first client and the second client respectively;
    若接收到所述第一用户端和第二用户端,基于所述请求发送的同意反馈,则建立所述第一用户端和第二用户端的联系。If the first user end and the second user end are received, and the consent feedback sent based on the request is received, the connection between the first user end and the second user end is established.
  8. 一种基于第一用户端的社交方法,其中,该方法包括:A social networking method based on a first user terminal, wherein the method includes:
    从服务端接收媒体资源的标识清单;Receive a list of identifiers of media resources from the server;
    获取第一用户从所述媒体资源的标识清单中选择的媒体资源标识并发送给所述服务端;Acquiring the media resource identifier selected by the first user from the list of identifiers of the media resource and sending it to the server;
    通过所述服务端与第二用户所在的第二用户端建立联系,其中,所述第二用户端由所述服务端获取,所述第二用户端对应的第二用户选择的媒体资源标识与所述第一用户的选择媒体资源标识相同。The server establishes a connection with the second user terminal where the second user is located, wherein the second user terminal is obtained by the server, and the media resource identifier selected by the second user corresponding to the second user terminal and The selected media resource identifiers of the first users are the same.
  9. 根据权利要求8所述的方法,其中,所述第二用户包括在预设时间段内选择的媒体资源标识与所述第一用户选择媒体资源标识相同的其他用户。The method according to claim 8, wherein the second user includes other users whose media resource identifiers selected within a preset time period are the same as the media resource identifiers selected by the first user.
  10. 根据权利要求8所述的方法,其中,通过所述服务端与第二用户所在的第二用户端建立联系之后,还包括:The method according to claim 8, wherein after establishing contact with the second user terminal where the second user is located through the server terminal, the method further comprises:
    从所述服务端接收与所述第二用户所选择的相同的媒体资源标识对应的媒体数据,并播放所述媒体数据。Receiving media data corresponding to the same media resource identifier selected by the second user from the server, and playing the media data.
  11. 根据权利要求10所述的方法,其中,播放所述媒体数据之后,还包括:The method according to claim 10, wherein after playing the media data, the method further comprises:
    向所述服务端发送所述媒体数据的结束播放请求,从所述服务端接收基于所述结束播放请求的是否将对方加为好友的咨询信息;或,Sending the end playback request of the media data to the server, and receiving consultation information from the server whether to add the other party as a friend based on the end playback request; or,
    当所述媒体数据播放结束,从所述服务端接收基于所述媒体数据播放结束的是否将对方加为好友的咨询信息;When the playback of the media data ends, receiving from the server, based on the end of the media data playback, consultation information on whether to add the other party as a friend;
    基于所述咨询信息向所述服务端发送是否将对方加为好友的确认信息,从所述服务端接收基于所述确认信息返回的所述第一用户和第二用户已经建立好友关 系的通知,并保持与第二用户端的所述联系。Sending, based on the consultation information, confirmation information on whether to add the other party as a friend to the server, and receiving from the server a notification that the first user and the second user have established a friend relationship based on the confirmation information, And keep the said contact with the second client.
  12. 根据权利要求11所述的方法,其中,从所述服务端接收基于所述结束播放请求的是否将对方加为好友的咨询信息,或从所述服务端接收基于所述媒体数据播放结束的是否将对方加为好友的咨询信息之后,还包括:11. The method according to claim 11, wherein the inquiry information of whether to add the other party as a friend based on the end playback request is received from the server, or whether the media data playback is completed is received from the server. After adding the other party as a friend, it also includes:
    向所述服务端发送基于所述咨询信息的是否将对方加为好友的拒绝信息,从所述服务端接收基于所述拒绝信息返回的结束联系的通知。Sending rejection information based on the consultation information whether to add the other party as a friend to the server, and receiving a notification of contact termination based on the rejection information returned from the server.
  13. 根据权利要求8所述的方法,其中,通过所述服务端与第二用户所在的第二用户端建立联系,包括:The method according to claim 8, wherein establishing contact with the second user terminal where the second user is located through the server terminal comprises:
    从所述服务端接收建立所述联系的请求;Receiving a request to establish the contact from the server;
    向所述服务端的发送基于所述建立所述联系的请求的同意反馈;Sending a consent feedback based on the request to establish the contact to the server;
    通过所述服务端基于所述同意反馈与第二用户端建立联系。The server establishes a connection with the second user terminal based on the consent feedback.
  14. 一种基于第二用户端的社交方法,其中,该方法包括:A social networking method based on a second user terminal, wherein the method includes:
    获取第二用户选择的媒体资源标识;Acquiring the media resource identifier selected by the second user;
    通过服务端与第一用户所在的第一用户端建立联系,其中,所述第二用户端由所述服务端获取,所述第二用户端对应的第二用户选择的媒体资源标识与所述第一用户的选择媒体资源标识相同。The server establishes a connection with the first user terminal where the first user is located, wherein the second user terminal is obtained by the server, and the media resource identifier selected by the second user corresponding to the second user terminal is associated with the The selected media resource identifiers of the first user are the same.
  15. 根据权利要求14所述的方法,其中,获取第二用户选择的媒体资源标识,包括:The method according to claim 14, wherein acquiring the media resource identifier selected by the second user comprises:
    从所述服务端接收媒体资源的标识清单;Receiving an identification list of media resources from the server;
    获取第二用户从所述媒体资源的标识清单中选择的媒体资源标识并发送给所述服务端。Acquire the media resource identifier selected by the second user from the list of identifiers of the media resource and send it to the server.
  16. 根据权利要求14所述的方法,其中,所述第二用户包括在预设时间段内选择的媒体资源标识与所述第一用户选择媒体资源标识相同的其他用户。The method according to claim 14, wherein the second user includes other users whose media resource identifier selected within a preset time period is the same as the media resource identifier selected by the first user.
  17. 根据权利要求14所述的方法,其中,通过服务端与第一用户所在的第一用户端建立联系之后,还包括:The method according to claim 14, wherein after establishing contact with the first user terminal where the first user is located through the server terminal, the method further comprises:
    从所述服务端接收与所述第一用户所选择的相同的媒体资源标识对应的媒体数据,并播放所述媒体数据。Receiving media data corresponding to the same media resource identifier selected by the first user from the server, and playing the media data.
  18. 根据权利要求17所述的方法,其中,通过服务端与第一用户所在的第一用户端建立联系之后,还包括:The method according to claim 17, wherein after establishing contact with the first user terminal where the first user is located through the server terminal, the method further comprises:
    向所述服务端发送所述媒体数据的结束播放请求,从所述服务端的接收基于所述结束播放请求的是否将对方加为好友的咨询信息;或,Sending an end playback request of the media data to the server, and receiving consultation information from the server based on the end playback request whether to add the other party as a friend; or,
    当所述媒体数据播放结束,从所述服务端接收基于所述媒体数据播放结束的是否将对方加为好友的咨询信息;When the playback of the media data ends, receiving from the server, based on the end of the media data playback, consultation information on whether to add the other party as a friend;
    向所述服务端发送基于所述咨询信息的是否将对方加为好友的确认信息,从所述服务端接收发送第一用户和第二用户已经建立好友关系的通知。Sending confirmation information of whether to add the other party as a friend based on the consultation information to the server, and receiving and sending a notification from the server that the first user and the second user have established a friend relationship.
  19. 根据权利要求18所述的方法,其中,从所述服务端的接收是否将对方加为好友的咨询信息之后,还包括:18. The method according to claim 18, wherein after receiving the inquiry information from the server on whether to add the other party as a friend, the method further comprises:
    向所述服务端发送基于所述咨询信息的是否将对方加为好友的拒绝信息,从所述服务端接收基于所述拒绝信息的结束联系的通知。Sending rejection information based on the consultation information whether to add the other party as a friend to the server, and receiving a notification of ending contact based on the rejection information from the server.
  20. 根据权利要求14所述的方法,其中,通过服务端与第一用户所在的第一用户端建立联系,包括:The method according to claim 14, wherein establishing contact with the first user terminal where the first user is located through the server terminal comprises:
    从所述服务端接收建立所述联系的请求;Receiving a request to establish the contact from the server;
    向所述服务端发送基于所述请求的同意反馈;Sending consent feedback based on the request to the server;
    通过所述服务端基于所述同意反馈与所述第一用户端建立联系。Establishing contact with the first user terminal through the server terminal based on the consent feedback.
  21. 一种计算机可读介质,其上存储有计算机可读指令,所述计算机可读指令可被处理器执行以实现权利要求1至20中任一项所述的方法。A computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 1 to 20.
  22. 一种用于在网络设备端信息处理的设备,该设备包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该设备执行权利要求1至20中任一项所述的方法。A device for information processing at the end of a network device. The device includes a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, the The device executes the method of any one of claims 1-20.
PCT/CN2020/081554 2019-03-29 2020-03-27 Social contact method and device WO2020200064A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910248474.0 2019-03-29
CN201910248474.0A CN110011902A (en) 2019-03-29 2019-03-29 Social contact method and equipment

Publications (1)

Publication Number Publication Date
WO2020200064A1 true WO2020200064A1 (en) 2020-10-08

Family

ID=67168860

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/081554 WO2020200064A1 (en) 2019-03-29 2020-03-27 Social contact method and device

Country Status (2)

Country Link
CN (1) CN110011902A (en)
WO (1) WO2020200064A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110011902A (en) * 2019-03-29 2019-07-12 上海掌门科技有限公司 Social contact method and equipment
CN111314205B (en) * 2020-01-16 2023-06-27 广州酷狗计算机科技有限公司 Instant messaging matching method, device, system, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143234A (en) * 2011-04-11 2011-08-03 成都天语星空科技有限公司 Network-based method for synchronous interaction
CN105872443A (en) * 2016-03-30 2016-08-17 乐视控股(北京)有限公司 Same video based chatting method and system, and server
US20170357385A1 (en) * 2007-02-23 2017-12-14 Daniel Kaufman Systems and methods for interactively displaying user images
CN110011902A (en) * 2019-03-29 2019-07-12 上海掌门科技有限公司 Social contact method and equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160171511A1 (en) * 2013-08-02 2016-06-16 Prospero Analytics, Inc. Real-time data analytics for enhancing sales and other support functions
CN104685854B (en) * 2015-01-07 2020-10-27 加一联创电子科技有限公司 Method and system for providing social service based on music information
CN104836725B (en) * 2015-03-31 2018-11-02 北京奇艺世纪科技有限公司 Method and device for adding good friend user

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170357385A1 (en) * 2007-02-23 2017-12-14 Daniel Kaufman Systems and methods for interactively displaying user images
CN102143234A (en) * 2011-04-11 2011-08-03 成都天语星空科技有限公司 Network-based method for synchronous interaction
CN105872443A (en) * 2016-03-30 2016-08-17 乐视控股(北京)有限公司 Same video based chatting method and system, and server
CN110011902A (en) * 2019-03-29 2019-07-12 上海掌门科技有限公司 Social contact method and equipment

Also Published As

Publication number Publication date
CN110011902A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
US11895206B2 (en) Contextual connection invitations
US9407590B2 (en) Monitoring hashtags in micro-blog posts to provide one or more crowd-based features
US9674241B2 (en) System and method for maintaining associations within a social network for a user
US10623461B2 (en) Systems and methods for distributing a playlist within a music service
US8719375B2 (en) Remote data access techniques for portable devices
US7614081B2 (en) Managing and sharing identities on a network
US8984072B2 (en) System and method for providing recommendations to a user in a viewing social network
US8688841B2 (en) System and method for content rights based on existence of a voice session
US9224150B2 (en) Identifying highly valued recommendations of users in a media recommendation network
US7684815B2 (en) Implicit group formation around feed content for mobile devices
CA2665230C (en) Enhanced content sharing framework
US8484311B2 (en) Pruning an aggregate media collection
US20160142889A1 (en) Methods and systems relating to visual communications
US20120278393A1 (en) Method and system for aggregating media collections between participants of a sharing network
US20090265416A1 (en) Aggregating media collections between participants of a sharing network utilizing bridging
US20170353405A1 (en) System and method for providing digital media content with a conversational messaging environment
KR20080080582A (en) Remote access and social networking using presentce-based applications
US20150154304A1 (en) System and method for providing knowledge sharing service based on user relationship information of social network service
JP2010529550A (en) How to synchronize content between a content directory service and a control point
WO2020200064A1 (en) Social contact method and device
US10122673B2 (en) Methods and systems for aggregating user generated content
WO2013029442A1 (en) Buddy status prompting method and system in sns network, client and server
WO2013102545A1 (en) Method for instant communicating between instant messaging clients
Sou et al. Nearby x music: A mobile social service in proximity based on youtube hashtag and playlist
WO2016062205A1 (en) Method and device for providing user information in instant communication application

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

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 (EPO FORM 1205A DATED 02/02/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20782947

Country of ref document: EP

Kind code of ref document: A1