CN115225602A - Social application processing method and system - Google Patents

Social application processing method and system Download PDF

Info

Publication number
CN115225602A
CN115225602A CN202210758631.4A CN202210758631A CN115225602A CN 115225602 A CN115225602 A CN 115225602A CN 202210758631 A CN202210758631 A CN 202210758631A CN 115225602 A CN115225602 A CN 115225602A
Authority
CN
China
Prior art keywords
user
online
status
state
online state
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202210758631.4A
Other languages
Chinese (zh)
Other versions
CN115225602B (en
Inventor
杨鹏
王清华
黄德辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Newborn Town Network Technology Beijing Co ltd
Original Assignee
Newborn Town Network Technology Beijing Co ltd
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 Newborn Town Network Technology Beijing Co ltd filed Critical Newborn Town Network Technology Beijing Co ltd
Priority to CN202210758631.4A priority Critical patent/CN115225602B/en
Publication of CN115225602A publication Critical patent/CN115225602A/en
Application granted granted Critical
Publication of CN115225602B publication Critical patent/CN115225602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a social application processing method and a social application processing system, wherein the method applied to a first user client comprises the following steps: sending a user request for a second user to the server, and receiving preset amount of second user video data and online states returned by the server; when the exposure window displays the second user data, marking the online state of the second user at the exposure window, wherein the exposure window is a window which is exposed on the screen of the first user terminal and is visible for the first user; monitoring a real-time online status of a second user in the exposure window; and in response to the change in the online status of the second user in the exposure window, relabeling the online status of the second user in the exposure window according to the new online status of the second user. The method and the device can obtain and mark the online state of the user in the exposure window in real time, help the user to know the social contact object before the user establishes the social contact relation, reduce invalid social contact, and improve the social contact efficiency.

Description

Social application processing method and system
Technical Field
The invention relates to the technical field of internet application, in particular to a social application processing method and system.
Background
With the development of science and technology and the change of living habits, the social activities of people are developed from off-line to on-line. At present, various social applications provide a convenient online social platform or social application for people, and people can get contact with other people anytime and anywhere to establish a conversation. However, when people establish a social relationship with other users by using a social platform or a social application, a phenomenon that the users cannot respond in real time due to the fact that social objects are not online when sending out social invitations to the other users often occurs, and this phenomenon not only disturbs social planning of the users and reduces social efficiency of the users, but also affects experience of the users on the social application. For social contact with a strange social object, since the strange social object cannot be intuitively known from the current social application before the social relationship is established, there is a phenomenon that the social relationship is found to be inappropriately cancelled after the social relationship is established. The repeated invalid social contact prolongs the time for the user to find a suitable social contact object, reduces the social contact efficiency and brings potential safety hazards.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a social application processing method and a social application processing system, which enable a user to know the image of a social object and obtain the online state of the social object in real time so as to improve the effective social efficiency of the user.
In order to solve the above technical problem, according to an aspect of the present invention, there is provided a social application processing method, applied to a first user client, including the steps of:
sending a user request for a second user to a server, and receiving a preset amount of second user data returned by the server, wherein the second user data comprises video data and an online state of the second user;
when second user data are broadcasted in an exposure window, marking the online state of a second user in the exposure window, wherein the exposure window is a data display window which is exposed on a first user terminal screen and is visible for the first user;
monitoring a real-time online status of a second user in the exposure window; and
in response to a change in the presence status of the second user in the exposure window, the presence status of the second user in the exposure window is relabeled according to the new presence status of the second user.
In another aspect, the present invention further provides a social application processing system, located at a client, including a client communication module, a user request module, a data display module, a status marking module, and a first status monitoring module, where the client communication module is in communication with a server; the user request module is connected with the client communication module and is configured to send a user request for a second user to a server through the client communication module; the data display module is connected with the client communication module and is configured to receive a preset amount of second user data returned by the server and play a second user video in an exposure window, wherein the exposure window is a data display window which is exposed on a first user terminal screen and is visible for a first user; the state marking module is connected with the data display module and is configured to mark the online state of a second user in an exposure window; the first state monitoring module is configured to monitor the real-time online state of the second user in the exposure window, and when the online state of the second user in the exposure window changes, the state marking module is informed to update the online state of the second user in the exposure window according to the new online state of the second user.
On the other hand, the invention also provides a video social application processing method which is applied to a server and comprises the following steps:
the method comprises the steps of obtaining a preset amount of second user data when a user request of a first user client is received, and sending the second user data to the first user client, wherein the second user data comprises video data and an online state of a second user;
monitoring a real-time online status of a second user sent to the first user client; and
and in response to the change of the online state of the second user and/or in response to the state query request of the first user client, sending the latest online state of the second user to the first user client.
On the other hand, the invention also provides a video social application processing system which is positioned at a server and comprises a server communication module, a user data providing module and a second state monitoring module, wherein the server communication module is communicated with the client; the user data providing module is connected with the server communication module, is configured to obtain a preset amount of second user data when receiving a user request of a first user client, and sends the second user data to the first user client through the server communication module, wherein the second user data comprises video data and an online state of a second user; the second state monitoring module is connected with the server communication module and configured to monitor the real-time online state of the second user sent to the first user client, and send the latest online state of the second user to the first user client through the server communication module when the online state of the second user changes and/or in response to a state query request of the first user client.
According to the invention, the online state of the user in the exposure window can be obtained in real time through the cooperation of the client and the server, so that invalid social contact of the user is reduced or avoided, and the social contact efficiency is improved. On the other hand, before the user establishes the social relationship, the user can view the video of the social object, and even if the social object is in an offline state, the user can still see the video of the interaction scene, so that the user can be effectively helped to know the social object, invalid social contact is further reduced, and the social efficiency is improved.
Drawings
Preferred embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, in which:
FIG. 1 is a functional block diagram of a video social application processing system according to one embodiment of the present invention;
FIG. 2 is a flowchart of a method for processing a video social application applied to a first user client according to one embodiment of the present invention;
FIG. 3 is a flow diagram of monitoring and processing a real-time online status of a second user in an exposure window, according to one embodiment of the invention;
FIG. 4 is a flow diagram of monitoring and processing a real-time online status of a second user in an exposure window, according to another embodiment of the invention;
FIG. 5 is a flowchart of a method for processing a video social application at a server according to an embodiment of the present invention;
FIG. 6 is a flow diagram of providing a first user with a matching policy with a matching second user, according to one embodiment of the invention;
FIG. 7 is a schematic block diagram of a video social application processing system applied to a client according to an embodiment of the present invention;
FIG. 8 is a functional block diagram of a first condition monitoring module according to one embodiment of the present invention;
FIG. 9 is a functional block diagram of a video social application processing system applied to a server according to one embodiment of the present invention;
FIG. 10 is a functional block diagram of a second condition monitoring module according to one embodiment of the present invention; and
fig. 11 is a functional block diagram of the user data providing module according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the following detailed description, reference is made to the accompanying drawings that form a part hereof and in which is shown by way of illustration specific embodiments of the application. In the drawings, like numerals describe substantially similar components throughout the different views. Various specific embodiments of the present application are described in sufficient detail to enable those skilled in the art, having the benefit of this disclosure, to practice the subject application. It is to be understood that other embodiments may be utilized and structural, logical or electrical changes may be made to the embodiments of the present application.
Fig. 1 is a schematic block diagram of a video social application processing system according to an embodiment of the present invention, where the video social application processing system includes a client and a server, where the client includes a first client and a second client, respectively corresponding to two different users. The second user sends the video to the server, when the first user uses the social application, the server sends the video data of the second user to the first user, and the first user can watch the video of the second user and establish a video call with the second user or send message communication with the second user. In one embodiment, the first user is a normal user, the second user is a main broadcast, the server transmits video data of the main broadcast to the normal user in a feed stream mode, or the first user obtains the video data of the main broadcast from the server through other main broadcast exposure entrances provided by the client. Referring to fig. 1, a first user client 10 operates in a first user device 1, and a second user client 30 operates in a second user device 3, where the first user device 1 and the second user device 3 may be devices having a camera, a microphone, and a processor, such as a smart phone, a tablet computer, and a desktop computer. The server 20 operates in the server 2. The server 2 may be any kind of server or server cluster.
Fig. 2 is a flowchart of a processing method of a video social application applied to a first user client according to an embodiment of the present invention, including the following steps:
step S110, sending a user request to the server to the second user, and receiving a preset amount of second user data returned by the server, where the second user data includes an online status. When a first user logs in a feed stream interface and a specific exposure entrance of a client, the first user client sends a user request for a second user to a server. The second user request comprises the identity of the first user. And the server returns second user data to the second user after receiving the user request of the second user, wherein the returned second user data comprises second user video data, a second user identity, an online state and some other data. In one embodiment, when the server returns data, it will typically return data for multiple second users at once. The first user client caches the video data and continuously plays the video data on the first user equipment according to the screen page turning operation or the user switching operation of the first user. In one embodiment, when the second user data that is not played in the current cache reaches a preset amount, for example, any one of 1 to 5, the first user client sends a user request for the second user to the server again, so that new second user data can be obtained when the video data of the second user that is currently cached is played completely, and the video is played continuously without being blocked.
In step S120, the second user video is played in the exposure window of the first user equipment. Wherein the exposure window is a window which is exposed on the screen of the first user terminal and is visible for the first user. For example, in the initial state, the first user terminal screen displays only one second user video, and when the first user performs a screen operation such as a swipe operation, the current screen displays two second user videos when transitioning from the current second user to the next second user. In one embodiment, when the server ranks the returned preset number of second users, the second user videos are played one by one according to the ranking when the second user videos are played.
In step S130, the online status of the second user is marked in the exposure window. And when a second user video is played in the exposure window based on the screen operation of the user, marking in the exposure window according to the received online state of the second user. The online status of the second user is marked, for example in an exposure window, with a specific identification, which may be an identification of a specific color and/or shape.
Step S140, the real-time online status of the second user in the exposure window is monitored. Reference is made in detail to fig. 3 and the description of fig. 3.
Step S150, determining whether the online status of the second user in the exposure window changes, and if so, re-marking the online status of the second user in the exposure window according to the new online status of the second user in step S160. If no change has occurred, return to step S140.
In monitoring the real-time presence status of the second user, in one approach, the server sends the real-time presence status of the second user with a change in presence status to the first user client in a push manner. In another mode, the first user client periodically pulls the real-time online state of the second user in the exposure window from the server in a pulling mode. For the sake of distinction, in this embodiment, the updated second user online status actively sent by the server is referred to as a first online status, and the second user online status obtained by the first user client from the server in a pull manner is referred to as a second online status.
FIG. 3 is a flow diagram of monitoring and processing the real-time online status of a second user in an exposure window, according to one embodiment of the invention. In this embodiment, the server sends the real-time online status of the second user whose online status has changed to the first user client in a push manner, and the method for the first user client to monitor the real-time online status of the second user in the exposure window specifically includes the following steps:
in step S141a, server data is received.
Step S142a, monitoring whether there is the first online status of the second user that has been received in the received data. If yes, step S143a is executed, and if not, the process returns to step S142a.
In step S143a, it is determined whether the video of the second user having received the first online status is already in the exposure window. If it is already in the exposure window, it is determined that the real-time online status of the second user in the exposure window has changed, step S160 is performed. If the second user who received the first online status is not located in the exposure window, step S44a is performed.
Step S144a, determining whether the data of the second user received the first online status has been played, if not, updating the online status of the second user in the cache to the first online status in step S145a, and ending the process. And when the second user is in the exposure window, marking in the exposure window according to the first online state. If so, the first online status is discarded in step S146a, and the process ends.
FIG. 4 is a flow diagram of monitoring and processing a real-time online status of a second user in an exposure window, according to another embodiment of the invention. In this embodiment, the first user client periodically pulls the real-time online status of the second user in the exposure window from the server in a pulling manner. Corresponding to the above manner, the method for monitoring the real-time online status of the second user in the exposure window by the first user client specifically includes the following steps:
step S141b, the first user client sends an online status query request to the server at regular time, where the online status query request includes the second user identifier in the exposure window. For example, the presence query request is sent every 5 seconds.
Step S142b, receiving the second online status of the second user provided by the server in response to the online status query request.
Step S143b, determining whether the second online status of the second user is the same as the online status marked in the exposure window, and the second online status is not the same as the online status marked in the exposure window, in step S160, updating the online status of the second user in the exposure window to the second online status. If the same, indicating that the presence status of the second user has not changed, then the second presence status is discarded in step S144 b.
It should be understood by those skilled in the art that the above two monitoring manners may also be combined, so that the change of the online status of the second user can be monitored more accurately, and the second user is marked in the exposure window in real time, so that the first user can determine in real time whether the second user is online in the social process, thereby avoiding invalid social contacts.
In this embodiment, when the server returns the second user data, and when the second user is online, such as when the second user is idle or busy, the returned video data is real-time video data. And when the second user is offline, returning the video data of the offline video prerecorded by the second user. The prerecorded offline video content represents a scene where a second user and the user are in video call/interaction.
The first user client sets a connection identifier of the video call, such as a call connection button and a call hang-up button, in the exposure window. When the first user sees the video of the current second user in the exposure window and then has a desire to establish a social relationship with the first user, the first user can click a call connection button to carry out video call connection. If the mark of the current online state of the second user in the exposure window is online idle, the first user can quickly connect the video call with the second user, and if the mark of the online state of the second user in the exposure window is online busy, the first user can see the picture of the video call between the second user and other people and is in a waiting connection state. If the current online state of the second user is marked as offline in the exposure window, the first user can see a video prerecorded by the second user and used for talking/interacting with the second user, and when the first user clicks a call connection button, the first user is in a state of waiting for connection and can simultaneously send a friend application or leave a message. Before the first user establishes a social relationship with the second user, the second user can see a real second user image no matter whether the second user is on line or not, so that the first user can know the second user conveniently, and a social contact mode can be determined according to the on-line state, and invalid social contact is reduced.
FIG. 5 is a flowchart of a video social application processing method applied to a server according to an embodiment of the present invention, including the following steps:
step S210, receiving data and/or request from the first user client. In the social process, data transmission is carried out between the server and the client according to needs. When a user request of a first user client is received, the user request is analyzed to determine the identity of the first user and the request content. Step S220 is performed when the requested content is the second user data.
Step S220, obtaining a preset amount of second user data, and sending the second user data to the first user client, where the second user data includes video data and online status of the second user. In the invention, the server monitors the online state of the second user, for example, whether the second user is online or offline and whether the second user is currently in a call state. In one embodiment, the second user client actively reports the online state of the second user client, and the server records and maintains the online state actively reported by the second user client. And when the second user applies the social application, the second user client sends the real-time video data of the second user to the server. And the server caches the real-time video data. The server may employ different policies to determine the second user that returns data to the first user client. For example, the server randomly determines n second users in an online state. The method has the advantages that the second users provided for the first user are all in an online state, and the first user and the second user can conveniently establish a social relationship in real time. As another example, a matching policy is employed to provide a matching second user to a first user. When the server provides the second user data in a feed stream manner, a plurality of (e.g., 10-20) second user data may be provided to the first user at a time according to the setting. In addition, when the second user is determined to be in an online state, the video data in the sent second user data is real-time video data of the second user, and when the second user is determined to be in an offline state, the video data in the sent second user data is offline video pre-recorded by the second user, and the video data shows a scene that the second user and the user perform video call/interaction.
Step S230, monitoring a real-time online status of the second user sent to the first user client. The monitoring includes two ways, one is to monitor whether the second user client online status maintained changes within a period of time after sending the second user data away. The other mode is that a state query request sent by a first user client side at regular time is received, and the maintained current online state is read according to the state query request.
Step S240, determining whether the online status of the second user client changes, and if so, in step S250, sending the latest online status of the second user client, which is maintained inside, to the first user client. If no change has occurred, return is made to step S230.
Step S260, determining whether a status query request sent by the first user client at regular time is received, and if the status query request is received, sending the latest online status of the second user client maintained inside to the first user client in step S270.
In the above process, the updated latest online status of the second user actively sent by the server in step S250 is referred to as a first online status, and the latest online status of the second user client sent according to the status query request of the first user client in step S270 is referred to as a second online status. If the status inquiry request is not received, it returns to step S230.
Fig. 6 is a flowchart of providing a matching second user to a first user by using a matching policy according to an embodiment of the present invention, and in step S220, when providing a matching second user to a first user by using a matching policy, the method may match the first user with the second user by using an online status and a recommendation attribute, which specifically includes the following steps:
step S221, acquiring recommendation attribute information of the first user. The recommended attributes include one or more of geographic area, language of use, and cultural attributes. In this embodiment, for example, the recommended attribute includes a geographic area, a language used, and a culture attribute, when a user request of the first user client is received, the first user identity is extracted from the recommended attribute, and the user database is queried according to the first user identity. The invention stores all the characteristic data related to the user in the user database. Such as user personal information, user device information, behavior data of the user over time, etc., the present embodiment takes geographical area, language and cultural attributes used as recommended attributes, so that the geographical area where the first user is located, the language and cultural attributes used by the first user can be obtained by querying the user database.
Step S222, querying the recommended attribute information of the second user, and acquiring a plurality of available second users matched with the recommended attribute information of the first user. For example, a second user in the same geographic area as the first user is queried, a second user in the same language as the first user is queried, and a second user in the same cultural attribute as the first user is queried. If the number of the second users is large, the query priority can be set, for example, the query priority is reduced according to the geographic region, the used language and the cultural attribute. The method comprises the steps of firstly obtaining a geographical area user group which is the same as the geographical area where a first user is located, inquiring a second user which is the same as the language used by the first user in the geographical area user group, further reducing the number of available second users to obtain a language user group, and inquiring a second user which is the same as the first user in culture attribute in the second user group to obtain the finally available second user. And if the number of the users is not large, combining the user groups respectively obtained according to the geographic area, the using language and the cultural attribute into the available user groups.
In step S223, the online status of the plurality of available second users is queried, so as to determine the online status of each available second user.
Step S224, a plurality of available second users are ranked. During sorting, the online state can be used as a first priority, and the recommended attribute can be used as a second priority for sorting. For example, the available second users which are online and idle are selected, the available second users which are online and idle are sequentially ranked according to the geographic area, the language used by the user and the cultural attribute, if the number of the available second users is not enough, the available second users which are online and busy are selected, the available second users which are online and busy are sequentially ranked according to the geographic area, the language used by the user and the cultural attribute, if the number of the available second users is not enough, the available second users which are offline are selected, and the available second users which are offline are sequentially ranked according to the geographic area, the language used by the user and the cultural attribute. Of course, other factors, such as interests, hobbies, or some filtering conditions may also be referred to for filtering during matching, for example, the same second user stops pushing for a period of time to the first user when a preset number of recommendations is met, or the second user is blacked by the first user.
In step S225, the highest ranked preset number (e.g., 10) of second users is determined as the second users returning to the first user.
Through the matching strategy, a second user which is more matched with the first user can be provided for the first user, the possibility of establishing social contact can be increased, and the efficiency of achieving effective social contact is further improved.
FIG. 7 is a schematic block diagram of a video social application processing system applied to a client according to one embodiment of the present invention. In this embodiment, the video social application processing system is located in the first user client 10, and includes a client communication module 11, a user request module 12, a data display module 13, a status marking module 14, and a first status monitoring module 15, referring to fig. 1, where the client communication module 11 is in communication with the server 20 for transmitting data, requests, and the like with the server. The user request module 12 is connected to the client communication module, and is configured to send a user request for a second user to the server 20 through the client communication module 11. For example, when the first user logs in the client, or when the second user data currently cached is less than a preset amount, the user request is generated to the server 20. The data display module 13 is connected to the client communication module 11, and is configured to receive a preset amount of second user video data returned by the server and play the second user video data in an exposure window, where the exposure window is a window exposed on a screen of the first user terminal and visible to the first user. The status marking module 14 is connected to the data display module 13, and marks the second user online status in the exposure window based on the second user online status returned by the server 20. The first status monitoring module 15 monitors the real-time online status of the second user in the exposure window, and notifies the status marking module 14 to re-mark the online status of the second user in the exposure window according to the new online status of the second user when the online status of the second user in the exposure window changes.
FIG. 8 is a functional block diagram of a first condition monitoring module according to one embodiment of the present invention. In the present embodiment, the first status monitoring module 15 includes a status receiving unit 151, a status updating unit 152, and a user confirming unit 153. In this embodiment, the server actively sends the changed online status (hereinafter referred to as a first online status) of the second user to the client, and the first status monitoring module 15 of the client monitors whether the first online status is received, and performs corresponding processing. Specifically, the status receiving unit 151 is configured to receive the first online status of the second user sent by the server. The status updating unit 152 is connected to the status receiving unit 151, and is configured to update the current online status of the second user in the cache to be the first online status. The user confirming unit 153 is connected to the status updating unit 152, and is configured to determine whether a second user currently updating the online status is located in the exposure window, and send a re-marking notification to the status marking module 14 when the second user currently updating the online status is located in the exposure window, where the re-marking notification includes the first online status of the second user. After the status marking module 14 receives the notification, the online status of the second user in the exposure window is marked as the first online status.
In another embodiment, as shown in the dashed frame portion in fig. 8, the first status monitoring module further includes a status requesting unit 154 and a status comparing unit 155, where the status requesting unit 154 periodically generates a line status query request, and periodically sends the line status query request to the server 20 through the client communication module 11, where the line status query request includes the second user identifier in the exposure window. Correspondingly, when the status receiving unit receives the sent second presence status of the second user, which is provided by the server in response to the presence status query request, the second presence status is sent to the status comparing unit 155. The status comparing unit 155 is connected to the status receiving unit 151, and configured to compare whether the second online status of the second user is the same as the online status of the mark in the exposure window; and when the second online status of the second user is not the same as the online status marked in the exposure window, sending a re-marking notification to the status marking module 14, where the re-marking notification includes the second online status of the second user.
FIG. 9 is a schematic block diagram of a video social application processing system applied to a server according to one embodiment of the present invention. Referring to fig. 1, in the present embodiment, the video social application processing system includes a server communication module 21, a user data providing module 22, and a second status monitoring module 23. The server communication module 211 is in communication with the first user client 10 and the second user client 30, and is configured to transmit data with the clients. The user data providing module 22 is connected to the server communication module 21, and obtains a preset amount of second user data when receiving a user request of a first user client, and sends the second user data to the first user client through the server communication module 21, where the second user data includes an online status of a second user. The server 20 communicates with the second user client 30, and monitors and maintains the online status of the second user reported by the second user client 30, for example, monitors whether the second user is online or offline, and whether the second user is currently in a call state. When the second user is applying the social application, the second user client 30 sends the real-time video data of the second user to the server. The server 20 buffers its real-time video data. The server 20 may use different policies to determine the second user to return data to the first user client. For example, the server randomly determines n second users in an online state. As another example, a matching policy is employed to provide a matching second user to a first user. When the server provides the second user data in a feed stream manner, a plurality of (e.g., 10-20) second user data may be provided to the first user at a time according to the setting. The second status monitoring module 23 is connected to the server communication module 21, and configured to monitor a real-time online status of a second user sent to the first user client, and send a latest online status of the second user to the first user client 10 through the server communication module 21 when the online status of the second user changes.
Fig. 10 is a schematic block diagram of a second status monitoring module according to an embodiment of the present invention, where the second status monitoring module 23 includes a status monitoring unit 231, and the status monitoring unit 231 monitors the presence statuses reported by a preset number of second user clients that have been sent to the first user client, and sends the new presence status of the second user as the first presence status to the first user client 10 through the server communication module 21 when the presence statuses reported by the second user clients change. Further, the second status monitoring module 23 further includes a first status query unit 232, which, when receiving an online status query request sent by a first user client 10 via the server communication module 21, queries an online status of a corresponding second user according to a second user identifier in the online status query request, and sends the online status of the second user as a second online status to the first user client via the server communication module 21. In this embodiment, the status monitoring unit 231 sends the online status of the second user to the first user client in a push manner, and the first status query unit 232 sends the online status of the second user to the first user client in response to a pull manner of the first user client, so that the online status of the second user in the exposure window of the first user client can be maintained in a real-time status.
Fig. 11 is a schematic block diagram of the user data providing module according to an embodiment of the present invention, in which the user data providing module 22 provides the second user data to the first user by using the matching policy. The user data providing module 22 includes a recommended attribute extracting unit 221, an attribute matching unit 222, a second status inquiring unit 223, and a data obtaining unit 224. The recommendation attribute extraction unit 221 obtains recommendation attribute information of the first user when receiving a user request of the first user client, where the recommendation attribute information includes one or more of a geographic area, a language used, and a culture attribute. The attribute matching unit 222 is connected to the recommended attribute extracting unit 221, and is configured to query recommended attribute information of a second user, and obtain a plurality of available second users matched with the recommended attribute information of the first user, where when there are a plurality of recommended attributes, matching may be performed in sequence according to a sequence of a geographic area, a language used, and a culture attribute. A preset number of second users is then determined from the plurality of available second users. The second status query unit 223 is connected to the attribute matching unit 222 for querying the online status of the plurality of available second users. The data obtaining unit 224 is connected to the attribute matching unit 222 and the second status query unit 223, and is configured to read the data of the preset number of second users, and include the online status of the second user in each second user data. The plurality of second user data may also be sorted when sent to the first user. For example, the user data providing module 23 further includes a sorting unit 225, which is connected to the attribute matching unit 222 and the second status querying unit 223, and sorts the matched plurality of available second users with the online status and the recommended attribute as a first-level sorting priority and a second-level sorting priority, respectively; correspondingly, the attribute matching unit 222 determines a preset number of second users in the order of the ranking from high to low. The data obtaining unit 224 is connected to the attribute matching unit 222, and obtains video data of the second user according to the determined second user, and obtains real-time video data if the online status is online, and obtains a prerecorded offline video if the online status is offline. In addition, an offline video prerecorded by the second user is also stored in the database of the server, which represents a scene that the second user and the user perform video call/interaction, even if the second user is in an offline state, the second user can be recommended to the first user matched with the second user, and the first user can establish connection with the second user through direct video call or sending friend applications and other modes, so that the first user does not miss the opportunity of establishing social relationship with the second user due to the offline state of the second user.
According to the invention, the online state of the user in the exposure window can be obtained in real time through the cooperation of the client and the server, so that invalid social contact of the user is reduced or avoided, and the social contact efficiency is improved. On the other hand, before the user establishes the social relationship, the user can watch the video of the social object, and the video of the social object can still be watched even if the social object is in an offline state, so that the user can be effectively helped to know the social object, invalid social contact is further reduced, and the social efficiency is improved.
The above embodiments are provided only for illustrating the present invention and not for limiting the present invention, and those skilled in the art can make various changes and modifications without departing from the scope of the present invention, and therefore, all equivalent technical solutions should fall within the scope of the present invention.

Claims (22)

1. A social application processing method applied to a first user client comprises the following steps:
sending a user request for a second user to the server, and receiving a preset amount of second user data returned by the server, wherein the second user data comprises video data and an online state of the second user;
when the second user video is played in the exposure window, marking the online state of the second user in the exposure window, wherein the exposure window is a data display window which is exposed on the screen of the first user terminal and is visible for the first user;
monitoring a real-time online status of a second user in the exposure window; and
in response to a change in the presence status of the second user in the exposure window, the presence status of the second user in the exposure window is relabeled according to the new presence status of the second user.
2. The method of claim 1, wherein when the preset amount of second user data returned by the server has a ranking, playing the second user data in the exposure window according to the ranking.
3. The method of claim 1, wherein the step of monitoring the real-time online status of the second user in the exposure window comprises:
updating the current online state of a second user to be a first online state when the first online state of the second user sent by a server is received;
judging whether the video of the second user is played in an exposure window; and
and responding to the video of the second user being played in the exposure window, and updating the online state of the second user in the exposure window to the first online state.
4. The method of claim 1 or 3, wherein the step of monitoring the real-time online status of the second user in the exposure window comprises:
sending an online state query request to a server, wherein the online state query request comprises a second user identifier in an exposure window;
receiving a second online state of the second user, which is returned by the server and provided by responding to the online state query request;
judging whether the second online state of the second user is the same as the online state of the mark in the exposure window; and
and in response to the second online state being different from the online state identified in the exposure window, updating the online state of the second user in the exposure window to the second online state.
5. The method of claim 1, wherein the second user video data is real-time video data of a second user when the online status of the second user is online free or online busy; and when the online state of the second user is offline, the second user video data is an offline video prerecorded by the second user, wherein the prerecorded offline video content represents a scene of a video call between the second user and the user.
6. A social application processing system, located at a client, comprising:
a client communication module configured to communicate with a server;
a user request module connected with the client communication module and configured to send a user request for a second user to a server via the client communication module;
the data display module is connected with the client communication module and is configured to receive a preset amount of second user data returned by the server and play a second user video in an exposure window, wherein the exposure window is a data display window which is exposed on a first user terminal screen and is visible for a first user;
a status marking module, coupled to the data display module, configured to mark a second user online status in an exposure window; and
and the first state monitoring module is configured to monitor the real-time online state of the second user in the exposure window, and when the online state of the second user in the exposure window changes, the state marking module is informed to update the online state of the second user in the exposure window according to the new online state of the second user.
7. The system of claim 6, wherein when the preset amount of second user data returned by the server has a ranking, the data display module plays the video of the second user in the exposure window according to the ranking.
8. The system of claim 6, wherein the first status monitoring module comprises:
the state receiving unit is configured to receive the first online state of the second user sent by the server;
the state updating unit is connected with the state receiving unit and is configured to update the current online state of the second user to be a first online state; and
and the user confirmation unit is connected with the state updating unit and is configured to judge whether the data of the second user of which the online state is updated currently is displayed in the exposure window or not, and when the data of the second user of which the online state is updated currently is displayed in the exposure window, the user confirmation unit sends a re-marking notification to the state marking module, wherein the re-marking notification comprises the first online state of the second user.
9. The system of claim 6 or 8, wherein the first status monitoring module further comprises:
the state request unit is configured to send an online state query request to the server periodically through the client communication module, wherein the online state query request comprises a second user identifier in the exposure window; correspondingly, the state receiving unit receives a second online state of the second user, which is provided by the server in response to the online state query request; and
a status comparing unit connected with the status receiving unit and configured to compare whether a second online status of the second user is the same as an online status of a mark in an exposure window; and when the second online state of the second user is different from the online state marked in the exposure window, sending a re-marking notification to a state marking module, wherein the re-marking notification comprises the second online state of the second user.
10. A social application processing method is applied to a server side and comprises the following steps:
the method comprises the steps of obtaining a preset amount of second user data when a user request of a first user client is received, and sending the second user data to the first user client, wherein the second user data comprises video data and an online state of a second user;
monitoring a real-time online status of a second user sent to the first user client; and
and in response to the change of the online state of the second user and/or in response to the state query request of the first user client, sending the latest online state of the second user to the first user client.
11. The method of claim 10, wherein monitoring the real-time presence status of the second user sent to the first user client comprises:
and monitoring the online states reported by the clients of a preset number of second users sent to the first user client, and sending the new online states of the second users to the first user client as first online states when the online states reported by the second user clients change.
12. The method of claim 10 or 11, wherein the step of monitoring the real-time presence status of the second user sent to the first user client comprises:
when an online state query request sent by a first user client is received, querying the online state of a corresponding second user according to a second user identifier in the online state query request, and sending the online state of the second user to the first user client as a second online state.
13. The method of claim 10, wherein the step of retrieving a preset number of second users upon receiving a user request of the first user client comprises:
acquiring a recommendation attribute of a first user;
inquiring the recommendation attribute of a second user, and acquiring a plurality of available second users matched with the recommendation attribute of the first user;
querying the presence status of the plurality of available second users; and
a preset number of second users is determined from the plurality of available second users.
14. The method of claim 13, further comprising, after querying for presence status of the plurality of available second users: and sequencing the plurality of available second users, and correspondingly, determining the preset number of second users according to the sequence from high to low when determining the preset number of second users.
15. The method of claim 14, wherein in ranking the plurality of available second users further comprises: and respectively taking the online state and the recommendation attribute as a first-level sequencing priority and a second-level sequencing priority, and sequencing the plurality of available second users according to the sequencing priorities.
16. The method of claim 15, wherein the presence status includes online free, online busy, and offline, and the ordering priority of the presence status decreases in order of online free, online busy, and offline.
17. The method of claim 15, wherein the recommendation attribute includes one or more of a geographic region, a language of use, and a cultural attribute, and when the geographic region, the language of use, and the cultural attribute are included, the priority of the recommendation attribute decreases in order of the geographic region, the language of use, and the cultural attribute.
18. A social application processing system, located at a server, comprising:
a server communication module configured to communicate with a client;
the user data providing module is connected with the server communication module, is configured to obtain a preset amount of second user data when receiving a user request of a first user client, and sends the second user data to the first user client through the server communication module, wherein the second user data comprises video data and an online state of a second user; and
and the second state monitoring module is connected with the server communication module and is configured to monitor the real-time online state of the second user sent to the first user client, and when the online state of the second user changes and/or responds to a state query request of the first user client, the latest online state of the second user is sent to the first user client through the server communication module.
19. The system of claim 18, wherein the second status monitoring module comprises:
and the state monitoring unit is configured to monitor the online states reported by the clients of a preset number of second users which have been sent to the first user client, and when the online states reported by the second user clients change, the new online states of the second users are used as first online states and are sent to the first user client through the server communication module.
20. The system of claim 18 or 19, wherein the second status monitoring module comprises:
and the first state query unit is configured to query the online state of a corresponding second user according to a second user identifier in an online state query request when the online state query request sent by a first user client is received through the server communication module, and send the online state of the second user as a second online state to the first user client through the server communication module.
21. The system of claim 18, wherein the user data providing module comprises:
the recommendation attribute extraction unit is configured to acquire the recommendation attribute of the first user when receiving a user request of the first user client;
the attribute matching unit is connected with the recommended attribute extracting unit and is configured to inquire the recommended attribute of a second user, acquire a plurality of available second users matched with the recommended attribute of the first user and determine a preset number of second users from the plurality of available second users;
a second status query unit, connected to the attribute matching unit, configured to query the online status of the plurality of available second users; and
and the data acquisition unit is connected with the attribute matching unit and the second state query unit, is configured to read the video data of the preset number of second users, and comprises the online state of the second users in each second user data.
22. The system of claim 21, wherein the user data providing module further comprises a ranking unit, connected to the attribute matching unit and the second status querying unit, configured to rank the matched plurality of available second users as a first-level and a second-level ranking priority, respectively, for online status and recommended attributes; correspondingly, the attribute matching unit determines a preset number of second users in the sequence from high to low.
CN202210758631.4A 2022-06-29 2022-06-29 Social application processing method and system Active CN115225602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210758631.4A CN115225602B (en) 2022-06-29 2022-06-29 Social application processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210758631.4A CN115225602B (en) 2022-06-29 2022-06-29 Social application processing method and system

Publications (2)

Publication Number Publication Date
CN115225602A true CN115225602A (en) 2022-10-21
CN115225602B CN115225602B (en) 2024-05-17

Family

ID=83609084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210758631.4A Active CN115225602B (en) 2022-06-29 2022-06-29 Social application processing method and system

Country Status (1)

Country Link
CN (1) CN115225602B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917899A (en) * 2015-06-19 2015-09-16 努比亚技术有限公司 Call prompting method and device
US20160294885A1 (en) * 2007-09-19 2016-10-06 Alex Fiero Live Video Communications System
CN107071501A (en) * 2017-04-25 2017-08-18 北京潘达互娱科技有限公司 Direct broadcasting room display methods and device
CN107396198A (en) * 2017-07-24 2017-11-24 维沃移动通信有限公司 A kind of video call method and mobile terminal
CN108668174A (en) * 2017-03-28 2018-10-16 张克 It is a kind of to realize video resource and the social method blended and video social activity emerging system
CN109089168A (en) * 2018-10-10 2018-12-25 腾讯科技(深圳)有限公司 Video sharing method, apparatus, system and storage medium
CN111405224A (en) * 2020-02-14 2020-07-10 北京大米科技有限公司 Online interaction control method and device, storage medium and electronic equipment
CN111652569A (en) * 2020-04-29 2020-09-11 北京网聘咨询有限公司 Online recruitment video interview implementation method, device, system and storage medium
CN112203151A (en) * 2020-10-09 2021-01-08 北京字跳网络技术有限公司 Video processing method and device
WO2022007618A1 (en) * 2020-07-08 2022-01-13 聚好看科技股份有限公司 Video call method and display device
CN114430494A (en) * 2020-10-29 2022-05-03 腾讯科技(深圳)有限公司 Interface display method, device, equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160294885A1 (en) * 2007-09-19 2016-10-06 Alex Fiero Live Video Communications System
CN104917899A (en) * 2015-06-19 2015-09-16 努比亚技术有限公司 Call prompting method and device
CN108668174A (en) * 2017-03-28 2018-10-16 张克 It is a kind of to realize video resource and the social method blended and video social activity emerging system
CN107071501A (en) * 2017-04-25 2017-08-18 北京潘达互娱科技有限公司 Direct broadcasting room display methods and device
CN107396198A (en) * 2017-07-24 2017-11-24 维沃移动通信有限公司 A kind of video call method and mobile terminal
CN109089168A (en) * 2018-10-10 2018-12-25 腾讯科技(深圳)有限公司 Video sharing method, apparatus, system and storage medium
CN111405224A (en) * 2020-02-14 2020-07-10 北京大米科技有限公司 Online interaction control method and device, storage medium and electronic equipment
CN111652569A (en) * 2020-04-29 2020-09-11 北京网聘咨询有限公司 Online recruitment video interview implementation method, device, system and storage medium
WO2022007618A1 (en) * 2020-07-08 2022-01-13 聚好看科技股份有限公司 Video call method and display device
CN112203151A (en) * 2020-10-09 2021-01-08 北京字跳网络技术有限公司 Video processing method and device
CN114430494A (en) * 2020-10-29 2022-05-03 腾讯科技(深圳)有限公司 Interface display method, device, equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
L GAO: ""Multi-user cooperative mobile video streaming: Performance analysis and online mechanism design"", 《IEEE》, 8 May 2018 (2018-05-08) *
张丁;: "基于云部署的在线直播教育系统设计", 电子技术与软件工程, no. 07, 1 April 2017 (2017-04-01) *
昵称68918425: ""抖音直播怎么做?新人直播必学的十二技巧"", 《360个人图书馆》, pages 11 *

Also Published As

Publication number Publication date
CN115225602B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
US11727048B2 (en) Methods, systems, and media for presenting recommended content based on social cues
US10664872B2 (en) Systems and methods for generating network intelligence through real-time analytics
US8255950B1 (en) Dynamic identification of other viewers of a television program to an online viewer
WO2016177287A1 (en) Interaction information processing method, client terminal, service platform and storage medium
CN106878769B (en) Live video quality monitoring method and device
CN103916718B (en) The method and system of video playing is carried out based on video clip
US8930966B2 (en) Searching social connections of a user
US20150289021A1 (en) System and method for collecting viewer opinion information
US20020178163A1 (en) System and method for searching, finding and contacting dates on the internet in instant messaging networks and/or in other methods that enable immediate finding and creating immediate contact
EP2168051A1 (en) Method, system and apparatus for sorting topics within a group
JP2003284008A (en) System, apparatus, method, and program for information providings recording medium recording information providing program, apparatus, method, and program for information utilizing, and recording medium recording information utilizing program
CN110659121A (en) Task data acquisition method and device, task configuration method and device and server
CN113596488B (en) Live broadcast room display method and device, electronic equipment and storage medium
CN113596519A (en) Method for regulating and controlling live streaming of monitoring equipment and electronic equipment
CN111046292A (en) Live broadcast recommendation method and device, computer-readable storage medium and electronic device
US9226033B2 (en) Information processing apparatus and method for providing information
CN115225602B (en) Social application processing method and system
CN112169312A (en) Queuing scheduling method, device, equipment and storage medium for cloud game service
CN108683926B (en) Client quit control method, client, server, equipment and medium
JP2009251717A (en) Advertisement distribution device, system, and method
CN115277620B (en) Social application processing method and system
CN115225603B (en) User matching method and system in social application
CN114969493A (en) Content recommendation method and related device
CN115277620A (en) Social application processing method and system
JP2013141133A (en) Interlock information distribution server device, computer program, and interlock information providing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant