CN115225602B - Social application processing method and system - Google Patents

Social application processing method and system Download PDF

Info

Publication number
CN115225602B
CN115225602B CN202210758631.4A CN202210758631A CN115225602B CN 115225602 B CN115225602 B CN 115225602B CN 202210758631 A CN202210758631 A CN 202210758631A CN 115225602 B CN115225602 B CN 115225602B
Authority
CN
China
Prior art keywords
user
online
exposure window
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.)
Active
Application number
CN202210758631.4A
Other languages
Chinese (zh)
Other versions
CN115225602A (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

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 system, wherein the method applied to a first user client comprises the following steps: sending a user request for a second user to a server, and receiving a preset number of second user video data and online states returned by the server; marking the online state of the second user in an exposure window when the second user data is displayed in the exposure window, wherein the exposure window is a window which is exposed on a screen of the first user terminal and is visible to the first user; monitoring a real-time online status of the second user in the exposure window; and re-marking the presence status of the second user in the exposure window according to the new presence status of the second user in response to a change in the presence status of the second user in the exposure window. The method and the device can acquire and mark the online state of the user in the exposure window in real time, help the user to know the social object before the user establishes the social relationship, reduce invalid social contact, and improve 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, social activities of people are developed from offline to online. At present, various social applications provide a convenient online social platform or social application for people, and people can be contacted with other people anytime and anywhere to establish a dialogue. However, when people establish social relations with other users by using a social platform or a social application, a phenomenon that a user cannot respond in real time due to the fact that social objects are not online when the user sends social invitations to other users often occurs, and the phenomenon not only breaks social planning of the user, reduces social efficiency of the user, but also affects experience of the user on the social application. For social contact with strange social objects, since the strange social objects cannot be intuitively understood from the current social application before the social relationship is established, a phenomenon that the social relationship is not properly canceled after the social relationship is established may occur. The repeated ineffective social contact prolongs the time for the user to find the proper social contact object, reduces the social contact efficiency and brings potential safety hazard.
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 acquire 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 preset amount of second user data returned by the server, wherein the second user data comprise video data and online states of the second user;
when second user data is broadcast in an 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 a screen of a first user terminal and is visible to the first user;
monitoring a real-time online status of the second user in the exposure window; and
And in response to the presence state of the second user in the exposure window changing, re-marking the presence state of the second user in the exposure window according to the new presence state of the second user.
On the other hand, the invention also provides a social application processing system which is positioned at a client and comprises a client communication module, a user request module, a data display module, a state marking module and a first state monitoring module, wherein the client communication module is communicated 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 preset amount of second user data returned by the server and play the second user video in an exposure window, wherein the exposure window is a data display window exposed on a screen of the first user terminal and visible to the first user; the state marking module is connected with the data display module and is configured to mark the online state of the second user in the exposure window; the first state monitoring module is configured to monitor the real-time presence state of the second user in the exposure window, and notify the state marking module to update the presence state of the second user in the exposure window according to the new presence state of the second user when the presence state of the second user in the exposure window changes.
On the other hand, the invention also provides a video social application processing method, which is applied to the server and comprises the following steps:
Acquiring a preset number of second user data when receiving a user request of a first user client, and sending the second user data to the first user client, wherein the second user data comprises video data and an online state of the second user;
Monitoring a real-time online status of a second user sent to the first user client; and
And responding to the change of the online state of the second user and/or responding to the state query request of the first user client, and 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 a client; the user data providing module is connected with the server side communication module, and is configured to obtain a preset number of second user data when receiving a user request of a first user client side, and send the second user data to the first user client side through the server side communication module, wherein the second user data comprises video data and an online state of the second user; the second state monitoring module is connected with the server-side communication module and is configured to monitor the real-time online state of a second user sent to the first user client, change the online state of the second user and/or respond to a state query request of the first user client to send the latest online state of the second user to the first user client through the server-side communication module.
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 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 even if the social object is in an offline state, the user can still watch the video of the interaction scene, so that the user can be effectively helped to know the social object, and the invalid social contact is further reduced, so that the social contact efficiency is improved, and the video social contact application related to the invention has high efficiency and strong availability for the user.
Drawings
Preferred embodiments of the present invention will be described in further detail below with reference to the attached drawing figures, wherein:
FIG. 1 is a functional block diagram of a video social application processing system in accordance with one embodiment of the present invention;
FIG. 2 is a flow chart of a method of processing a video social application applied at a first user client in accordance with one embodiment of the invention;
FIG. 3 is a flow chart of monitoring and processing the real-time presence of a second user in an exposure window according to one embodiment of the invention;
FIG. 4 is a flow chart of monitoring and processing the real-time presence of a second user in an exposure window according to another embodiment of the invention;
FIG. 5 is a flow chart of a video social application processing method applied at a server according to one embodiment of the invention;
FIG. 6 is a flow chart of providing a matching second user to a first user using a matching policy in accordance with one embodiment of the present invention;
FIG. 7 is a schematic block diagram of a video social application processing system applied to a client in accordance with an embodiment of the 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 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 one embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the following detailed description, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration specific embodiments of the application. In the drawings, like reference numerals describe substantially similar components throughout the different views. Various specific embodiments of the application are described in sufficient detail below to enable those skilled in the art to practice the teachings of the application. It is to be understood that other embodiments may be utilized or structural, logical, or electrical changes may be made to embodiments of the present application.
FIG. 1 is a schematic block diagram of a video social application processing system according to one embodiment of the invention, the video social application processing system including a client and a server, wherein the client includes a first client and a second client, respectively, to correspond to two different users. The second user sends the video to the service end, the first user sends the video data of the second user to the first user when using the social application, and the first user can watch the video of the second user and establish video communication with the second user or send message communication with the second user. In one embodiment, the first user is a general user, the second user is a host, and the server transmits video data of the host to the general user in a feed stream form, or the first user obtains the video data of the host from the server through other host exposure entries provided by the client. Referring to fig. 1, a first user client 10 is running in a first user device 1, and a second user client 30 is running in a second user device 3, where the first user device 1 and the second user device 3 may be devices such as a smart phone, a tablet computer, a desktop computer, and the like having a camera, a microphone, and a processor. The server 20 operates in the server 2. The server 2 may be any server or server cluster.
FIG. 2 is a flow chart of a video social application processing method applied at a first user client according to one embodiment of the invention, including the steps of:
Step S110, a user request for a second user is sent to the server side, and a preset amount of second user data returned by the server side is received, wherein the second user data comprises an online state. When a first user logs in to a feed stream interface of a client and a specific exposure entry, the first user client sends a user request for a second user to a server. The second user request includes the identity of the first user. The server receives a user request of a second user and returns second user data to the server, 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, data for multiple second users is typically returned at once. The first user client caches the video data and continuously plays the video data at 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 which is not played in the current buffer reaches a preset number, such as any one of 1 to 5, the first user client sends the user request for the second user to the server again, so that new second user data can be obtained when the second user video data of the current buffer is played, and the playing of the video is continuous and does not get stuck.
Step S120, playing the second user video in the exposure window of the first user device. 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 an initial state, the first user terminal screen displays only one video of the second user, and when the first user performs a screen operation, such as a sliding operation, the current screen displays videos of two second users when transitioning from the current second user to the next second user. In one embodiment, when the server side performs sorting for the returned preset number of second users, playing the second user videos one by one according to the sorting when playing the second user videos.
Step S130, marking the online status of the second user in the exposure window. And when the 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 second user online state. The presence status of the second user is marked, for example, in the exposure window with a specific identification, which may be an identification of a specific color and/or shape.
Step S140, monitoring the real-time online status of the second user in the exposure window. See in particular fig. 3 and the description of fig. 3.
Step S150, determining whether the presence status of the second user in the exposure window has changed, and if so, re-marking the presence status of the second user in the exposure window according to the new presence status of the second user in step S160. If no change occurs, the process returns to step S140.
When monitoring the real-time online state of the second user, in one mode, the server side sends the real-time online state of the second user with the online state changed to the first user client side in a pushing mode. In another approach, the first user client periodically pulls the real-time online status of the second user in the exposure window from the server in a pull manner. For distinction, in this embodiment, the updated second user online state actively sent by the server is referred to as a first online state, and the second user online state obtained by the first user client from the server in a pull manner is referred to as a second online state.
FIG. 3 is a flow chart of monitoring and processing the real-time presence of a second user in an exposure window according to one embodiment of the invention. In this embodiment, the server sends, in a push manner, the real-time online state of the second user whose online state has changed to the first user client, and corresponding to the manner, the method for the first user client to monitor the real-time online state of the second user in the exposure window specifically includes the following steps:
in step S141a, server data is received.
In step S142a, it is monitored whether there is the first presence state of the second user that has been received in the received data. If so, step S143a is performed, and if not, step S142a is returned.
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 determined that the real-time online state 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 state is played, if not, updating the online state of the second user in the cache to the first online state in step S145a, and ending the flow. 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 presence state is discarded at step S146a and the process ends.
Fig. 4 is a flow chart of monitoring and processing the real-time presence 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 pull manner. Corresponding to the mode, the method for monitoring the real-time online state of the second user in the exposure window by the first user client specifically comprises the following steps:
in step S141b, the first user client sends a presence query request to the server at regular time, where the presence 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 a second presence status of the second user provided by the server in response to the presence status query request.
Step S143b, determining whether the second presence status of the second user is the same as the presence status of the mark in the exposure window, where the second presence status is different from the presence status of the mark in the exposure window, and in step S160, updating the presence status of the second user in the exposure window to the second presence status. If the same, indicating that the second user' S presence state has not changed, the second presence state is discarded at step S144 b.
It should be appreciated by those skilled in the art that the two monitoring methods may be combined together, so that the change of the online state of the second user may be monitored more accurately, and marked in real time in the exposure window, so that the first user may determine whether the second user as the social object is online in real time in the social process, thereby avoiding ineffective social interaction.
In this embodiment, when the server returns the second user data, the returned video data is real-time video data when the second user is online, such as when the online is idle or busy. When the second user goes offline, the returned video data is the offline video prerecorded by the second user. The pre-recorded offline video content represents a scene of a video call/interaction with the user by the second user.
The first user client is provided with a connection identifier of the video call, such as a telephone on button and a telephone off button, in the exposure window. When the first user has a willingness to establish a social relationship with the current second user after seeing the video of the second user in the exposure window, the user can click a telephone connection button to connect video call. If the mark of the current second user on-line state in the exposure window is on-line idle, the first user can quickly connect the video call with the second user, and if the mark of the second user on-line state in the exposure window is on-line busy, the first user can see the picture of the second user on-line with other people and is in a state of waiting connection. If the mark of the current second user on-line state in the exposure window is off-line, the first user can see the video which is prerecorded by the second user and is communicated/interacted with the second user, and when the first user clicks the telephone on button, the first user is in a state of waiting to be on, and can simultaneously send a friend application or a message. The first user can see the real second user image no matter whether the second user is online or not before the first user establishes the social relationship with the second user, so that the first user is facilitated to know the second user, and the social relationship with the first user can be established according to the online state, so that the ineffective social relationship is reduced.
FIG. 5 is a flowchart of a video social application processing method applied at a server according to one embodiment of the invention, including the steps of:
Step S210, data and/or a request from the first user client is received. In the social process, data transmission is performed between the server and the client as required. 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 number of second user data, and sending the second user data to the first user client, where the second user data includes video data of the second user and an online state. In the invention, the server monitors the online state of the second user, for example, monitors whether the second user is online or offline and is in a call state currently. In one embodiment, the second user client actively reports its online status, and the server records and maintains the online status actively reported by the second user client. And when the second user is applying the social application, the second user client sends the real-time video data of the second user to the server. The server caches the real-time video data. The server may employ different policies to determine the second user that returned data to the first user client. For example, the server randomly determines n second users in online state. The method has the advantages that the second user provided for the first user is in an online state, so that the first user and the second user can conveniently establish a social relationship in real time. For another example, a matching policy is employed to provide a matching second user to the first user. When the server side provides the second user data in a feed stream mode, a plurality of (e.g. 10-20) second user data can be provided for the first user at a time according to the setting. In addition, when the determined second user is in an online state, the video data in the sent second user data are real-time video data of the second user, and when the determined second user is in an offline state, the video data in the sent second user data are offline videos prerecorded by the second user, wherein the scenes of video conversation/interaction between the second user and the user are represented.
Step S230, monitoring the 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 maintained online state of the second user client changes for a period of time after the second user data is sent away. Another way is to receive a status query request sent by the first user client at regular time, and read the current online status maintained according to the status 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 maintained internally to the first user client. If no change occurs, the process returns to step S230.
Step S260, determining whether a status query request sent by the first user client in a timing manner is received, and if the status query request is received, sending the latest online status of the second user client maintained internally to the first user client in step S270.
In the above-mentioned flow, the updated latest online state of the second user actively sent by the server in step S250 is referred to as a first online state, and the latest online state of the second user client sent by the server in step S270 according to the state query request of the first user client is referred to as a second online state. If the status query request is not received, the process returns to step S230.
FIG. 6 is a flow chart of providing a matching second user to a first user using a matching policy according to one embodiment of the present invention, in step S220, when a matching second user is provided to a first user using a matching policy, the second user may be matched to the first user using an online status and a recommendation attribute, comprising the steps of:
Step S221, acquiring recommendation attribute information of the first user. The recommended attributes include one or more of geographic area, language used, and cultural attributes. In this embodiment, taking the example that the recommended attribute includes a geographic area, a usage language and a cultural attribute, when a user request of a first user client is received, a first user identity is extracted from the first user request, and a user database is queried according to the first user identity. The invention stores all user-related characteristic data in the user database. Such as personal information of the user, information of the user equipment, behavioral data of the user for a period of time, etc., the present embodiment uses the language and cultural attributes as recommended attributes, so that the geographical area where the first user is located can be obtained by querying the user database, and the language and cultural attributes used by the geographical area can be obtained.
Step S222, inquiring the recommendation attribute information of the second user, and acquiring a plurality of available second users matched with the recommendation attribute information of the first user. For example, a second user who is the same geographic area as the first user is located, a second user who is the same language as the first user is queried, and a second user who is the same cultural attribute as the first user is queried. If the second number of users is numerous, the priority of the query may be set, e.g., the priority of the query decreases in order according to geographic area, usage language, and cultural attributes. Firstly, obtaining a user group in the same geographical area as the first user, inquiring a second user with the same language as the first user in the geographical area, further reducing the number of available second users to obtain a language user group, and inquiring the second user with the same cultural attribute as the first user in the second user group to obtain a finally available second user. If the number of users is not large, the users obtained respectively according to the geographic area, the using language and the cultural attribute are combined into the available user group.
Step S223, querying the presence states of the plurality of available second users, thereby determining the presence state of each of the available second users.
Step S224, sorting the plurality of available second users. In the sorting process, the online state can be used as a first priority, and the recommendation attribute can be used as a second priority for sorting. For example, online free available second users are selected first, the available second users are orderly ranked according to geographic areas, using language and cultural attributes, if the number of the available second users is insufficient, online busy available second users are selected again, the available second users are orderly ranked according to geographic areas, using language and cultural attributes, if the number of the available second users is insufficient, offline available second users are selected again, and the available second users are orderly ranked according to geographic areas, using language and cultural attributes. Of course, other factors such as interests, hobbies or some filtering conditions may be referred to for filtering when matching, for example, the same second user stops pushing to the first user for a period of time when the preset recommended number of times is satisfied, or the second user is blacked by the first user.
In step S225, the second user with the highest ranking preset number (e.g., 10) is determined as the second user returned to the first user.
Through the matching strategy, the second user which is matched with the first user can be provided for the first user, and the possibility of establishing social contact can be increased, so that 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 in accordance with one embodiment of the 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, see fig. 1, where the client communication module 11 communicates with a server 20, and is used for transmitting data, requests, and so on with the server. The user request module 12 is connected to the client communication module, and is configured to send a user request for the second user to the server 20 by the client communication module 11. For example, when a first user logs into the client, or when the second user data in the current cache is less than a preset number, a 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 number 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 the 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 presence status in the exposure window based on the second user presence status returned by the server 20. The first status monitoring module 15 monitors the real-time presence status of the second user in the exposure window, and when the presence status of the second user in the exposure window changes, notifies the status marking module 14 to re-mark the presence status of the second user in the exposure window according to the new presence status of the second user.
FIG. 8 is a functional block diagram of a first condition monitoring module according to one embodiment of the 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 of the second user (hereinafter referred to as the first online status) 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 state receiving unit 151 receives the first presence state of the second user sent by the server. The state updating unit 152 is connected to the state receiving unit 151, and is configured to update the current presence state of the second user in the cache to the first presence state. The user confirmation unit 153 is connected to the status updating unit 152, and is configured to determine whether a second user whose presence status is updated is located in the exposure window, and send a re-marking notification to the status marking module 14 when the second user whose presence status is updated is located in the exposure window, where the re-marking notification includes the first presence status of the second user. After receiving the notification, the status marking module 14 marks the presence status of the second user in the exposure window as the first presence status.
In another embodiment, as shown in the dashed box part of fig. 8, the first status monitoring module further includes a status request unit 154 and a status comparison unit 155, where the status request unit 154 periodically generates a status inquiry request, and periodically sends, through the client communication module 11, a status inquiry request to the server 20, where the status inquiry request includes the second user identifier in the exposure window. Correspondingly, when the state receiving unit receives the second presence state of the second user, which is provided by the server side in response to the presence state query request, the second presence state is sent to the state comparing unit 155. The state comparing unit 155 is connected to the state receiving unit 151, and is configured to compare whether the second presence state of the second user is the same as the presence state of the mark in the exposure window; a re-tagging notification is sent to the status tagging module 14 when the second presence status of the second user is not the same as the presence status tagged in the exposure window, the re-tagging notification including the second presence 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 invention. Referring to fig. 1, in this 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. Wherein the server communication module 211 communicates 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 number of second user data when receiving a user request from 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 state of the second user. The server 20 communicates with the second user client 30, 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 is currently in a call state, in one embodiment, the second user client 30 actively reports its online status, and the server 20 records and maintains the online status actively reported by the second user client. The second user client 30 sends the real-time video data of the second user to the server when the second user is applying the social application. The server 20 buffers its real-time video data. The server 20 may employ different policies to determine the second user who is returning data to the first user client. For example, the server randomly determines n second users in online state. For another example, a matching policy is employed to provide a matching second user to the first user. When the server side provides the second user data in a feed stream mode, a plurality of (e.g. 10-20) second user data can 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 presence status of a second user sent to the first user client, change the presence status of the second user, and send the latest presence status of the second user to the first user client 10 via the server communication module 21.
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 status reported by a preset number of second user clients that have been sent to a first user client, and sends the new presence status of the second user to the first user client 10 as a first presence status via the server communication module 21 when the presence status reported by the second user client changes. Further, the second status monitoring module 23 further includes a first status query unit 232, when receiving the presence status query request sent by the first user client 10 via the server communication module 21, queries the presence status of the second user according to the second user identifier in the presence status query request, and sends the presence status of the second user as the second presence status to the first user client via the server communication module 21. In this embodiment, the presence status of the second user is sent to the first user client in a push manner by the status monitoring unit 231, and the presence status of the second user is sent to the first user client in a pull manner by the first status querying unit 232 in response to the first user client, so that the presence status of the second user in the exposure window of the first user client can be kept in a real-time status.
Fig. 11 is a functional block diagram of the user data providing module according to one embodiment of the present invention, in which the user data providing module 22 employs a matching policy to provide the first user with the second user data. 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 acquiring unit 224. Wherein the recommendation attribute extraction unit 221 obtains recommendation attribute information of the first user when receiving a user request of the first user client, including one or more of a geographical area, a usage language and a cultural 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 that are matched with the recommended attribute information of the first user, where when there are a plurality of recommended attributes, matching may be performed sequentially according to the order of geographic area, language used, and cultural attribute. A preset number of second users is then determined from the plurality of available second users. The second status querying unit 223 is connected to the attribute matching unit 222, and is configured to query the online statuses of the plurality of available second users. The data acquisition unit 224 is connected to the attribute matching unit 222 and the second status query unit 223, and is configured to read the preset number of second user data, and include the online status of the second user in each second user data. When a plurality of second user data is sent to the first user, it may also be ordered. For example, the user data providing module 23 further comprises a ranking unit 225 connected to the attribute matching unit 222 and the second status querying unit 223 for ranking the matched plurality of available second users with the presence status and the recommended attribute as a first-level and a second-level ranking priority, respectively; correspondingly, the attribute matching unit 222 determines a preset number of second users in order of the order 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, if the online status is online, real-time video data is obtained, and if the online status is offline, pre-recorded offline video is obtained. In addition, the database of the server side also stores the offline video prerecorded by the second user, which shows the video call/interaction scene between the second user and the user, 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 the modes of direct video call or friend application transmission, etc., so that the first user can not miss the opportunity of establishing social relationship with the second user because the second user is offline.
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 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 even if the social object is in an offline state, the user can still watch the video of the social object, 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 for illustrating the present invention and not for limiting the present invention, and various changes and modifications may be made by one skilled in the relevant art without departing from the scope of the present invention, therefore, all equivalent technical solutions shall fall within the scope of the present disclosure.

Claims (22)

1. A social application processing method applied to a first user client, comprising:
sending a user request for a second user to a server and receiving preset amount of second user data returned by the server, wherein the second user data comprise video data and online states of the second user;
When a second user video is played in an 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 a screen of a first user terminal and is visible to the first user;
monitoring a real-time online status of the second user in the exposure window; and
In response to a change in the presence state of the second user in the exposure window, re-marking the presence state of the second user in the exposure window according to the new presence state of the second user;
the first user client caches video data in the second user data with preset quantity returned by the server;
Wherein the step of monitoring the real-time online status of the second user in the exposure window comprises: receiving a first online state of a second user sent by a server, and determining that the real-time online state of the second user in an exposure window is changed when the video of the second user in the first online state is received in the exposure window; when a second user in a first online state is received and is not located in an exposure window, if the data of the second user in the first online state is not played, updating the online state of the second user in a cache into the first online state;
When the online state of the second user in the exposure window is online idle, the first user can send a video call connection request to connect the video call with the second user; when the online state of the second user in the exposure window is online busy, displaying a picture of the video call between the second user and other people in the exposure window; and when the online state of the second user in the exposure window is offline, playing the pre-recorded offline video of the second user in the exposure window, wherein the pre-recorded offline video content represents a scene of the video call between the second user and the user.
2. The method of claim 1, wherein when a preset number of second user data returned by the server has a ranking, playing the second user data in an exposure window according to the ranking.
3. The method of claim 1, wherein the step of monitoring the real-time presence 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 presence state being different from the presence state identified in the exposure window, updating the presence state of the second user in the exposure window to the second presence state.
4. A social application processing system at a first user client, comprising:
The user request module is used for sending a user request for the second user to the server and receiving preset amount of second user data returned by the server, wherein the preset amount of second user data comprises video data and online state of the second user;
A data display module including an exposure window exposed on the first user terminal screen for displaying video data for the first user;
the state marking module is used for marking the online state of the second user in the exposure window when the second user video is played in the exposure window;
A first state monitoring module configured to monitor a real-time presence state of a second user in the exposure window, and to notify the state marking module to update the presence state of the second user in the exposure window according to the new presence state of the second user when the presence state of the second user in the exposure window changes; when the video of the second user in the first online state sent by the server is received and is in the exposure window, determining that the real-time online state of the second user in the exposure window is changed; when a second user in a first online state is received and is not located in an exposure window, if the data of the second user in the first online state is not played, updating the online state of the second user in a cache to the first online state;
the video data caching module is used for caching video data in the second user data with preset quantity returned by the server side;
The video call module is used for connecting the video call with the second user according to the video call connection request of the first user;
The online state comprises online idle, online busy and offline states; when the online state of the second user in the exposure window is online idle, the first user can send a video call connection request to connect the video call with the second user; when the online state of the second user in the exposure window is online busy, displaying a picture of the video call between the second user and other people in the exposure window; and when the online state of the second user in the exposure window is offline, playing the pre-recorded offline video of the second user in the exposure window, wherein the pre-recorded offline video content represents a scene of the video call between the second user and the user.
5. The system of claim 4, wherein the data display module plays the video of the second user in the exposure window according to the order when the preset amount of the second user data returned by the server has the order.
6. The system of claim 4, wherein the first status monitoring module further comprises:
a state request unit configured to periodically send a presence query request to a server through a client communication module, the presence query request including a second user identifier in an exposure window; correspondingly, the state receiving unit receives a second online state of a second user provided by the server in response to the online state query request; and
A status comparing unit, connected to the status receiving unit, configured to compare whether the second presence status of the second user is the same as the presence status of the mark in the exposure window; and sending a re-marking notification to a state marking module when the second presence state of the second user is different from the presence state marked in the exposure window, wherein the re-marking notification comprises the second presence state of the second user.
7. A social application processing method is applied to a server and comprises the following steps:
The method comprises the steps that a server side obtains second user data with preset quantity when receiving a user request of a first user client side, and sends the second user data to the first user client side, wherein the second user data comprises video data and online states of a second user;
the server monitors the real-time online state of a second user sent to the first user client; and
Responding to the change of the online state of a second user and/or responding to a state query request of a first user client, and sending the latest online state of the second user to the first user client by a server;
The second user data is used for marking the online state of the second user in an exposure window of the first user client when the second user video is played in the exposure window, wherein the exposure window is a data display window which is exposed on a screen of the first user terminal and is visible to the first user; the second user data is also used for the first user client to monitor the real-time online state of the second user in the exposure window and to re-mark the online state of the second user in the exposure window according to the new online state of the second user in response to the change of the online state of the second user in the exposure window; the first user client caches video data in the second user data with preset quantity returned by the server; wherein the step of the first user client monitoring the real-time online status of the second user in the exposure window comprises: receiving a first online state of a second user sent by the server, and determining that the real-time online state of the second user in the exposure window is changed when the video of the second user in the first online state is received in the exposure window; when a second user in a first online state is received and is not located in an exposure window, if the data of the second user in the first online state is not played, updating the online state of the second user in a cache into the first online state; when the online state of the second user in the exposure window is online idle, the first user can send a video call connection request to connect the video call with the second user; when the online state of the second user in the exposure window is online busy, displaying a picture of the video call between the second user and other people in the exposure window; and when the online state of the second user in the exposure window is offline, playing the pre-recorded offline video of the second user in the exposure window, wherein the pre-recorded offline video content represents a scene of the video call between the second user and the user.
8. The method of claim 7, wherein monitoring the real-time presence status of the second user sent to the first user client comprises:
The method comprises the steps that a server monitors the online states reported by the clients of a preset number of second users, which are sent to a first user client, and sends 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 client change.
9. The method of claim 7 or 8, wherein the step of monitoring the real-time presence status of the second user sent to the first user client comprises:
When receiving a presence state query request sent by a first user client, a server queries the presence state of a corresponding second user according to a second user identifier in the presence state query request, and sends the presence state of the second user as a second presence state to the first user client.
10. The method of claim 7, wherein the step of the server obtaining a preset number of second users upon receiving the 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 online status of the plurality of available second users; and
A preset number of second users is determined from a plurality of available second users.
11. The method of claim 10, wherein after querying for presence status of the plurality of available second users further comprises: and the server orders the plurality of available second users, and correspondingly, when the preset number of second users are determined, the preset number of second users are determined according to the order from high to low.
12. The method of claim 11, wherein when ordering the plurality of available second users further comprises: the server uses the online state and the recommended attribute as a first-level ranking priority and a second-level ranking priority respectively, and ranks the plurality of available second users according to the ranking priority.
13. The method of claim 12, wherein the online status comprises online idle, online busy, and offline, the ranking priority of the online status decreasing in order of online idle, online busy, and offline.
14. The method of claim 12, wherein the recommended attributes include one or more of a geographic area, a usage language, and a cultural attribute, and when the geographic area, the usage language, and the cultural attribute are included, the ranking priority of the recommended attributes decreases sequentially by geographic area, the usage language, and the cultural attribute.
15. A social application processing apparatus for application to a server, comprising:
the acquisition module is used for acquiring a preset number of second user data when receiving a user request of the first user client;
The sending module is used for sending the second user data to the first user client, wherein the second user data comprises video data and an online state of the second user;
the monitoring module is used for monitoring the real-time online state of the second user sent to the first user client;
The sending module is further used for responding to the change of the online state of the second user and/or responding to the state query request of the first user client, and sending the latest online state of the second user to the first user client;
The second user data is used for marking the online state of the second user in an exposure window of the first user client when the second user video is played in the exposure window, wherein the exposure window is a data display window which is exposed on a screen of the first user terminal and is visible to the first user; the second user data is also used for the first user client to monitor the real-time online state of the second user in the exposure window and to re-mark the online state of the second user in the exposure window according to the new online state of the second user in response to the change of the online state of the second user in the exposure window; the first user client caches video data in the second user data with preset quantity returned by the sending module; wherein the step of the first user client monitoring the real-time online status of the second user in the exposure window comprises: receiving a first online state of a second user sent by the sending module, and determining that the real-time online state of the second user in the exposure window is changed when the video of the second user in the first online state is received in the exposure window; when a second user in a first online state is received and is not located in an exposure window, if the data of the second user in the first online state is not played, updating the online state of the second user in a cache into the first online state; when the online state of the second user in the exposure window is online idle, the first user can send a video call connection request to connect the video call with the second user; when the online state of the second user in the exposure window is online busy, displaying a picture of the video call between the second user and other people in the exposure window; and when the online state of the second user in the exposure window is offline, playing the pre-recorded offline video of the second user in the exposure window, wherein the pre-recorded offline video content represents a scene of the video call between the second user and the user.
16. The apparatus of claim 15, wherein the monitoring module further comprises:
the online state monitoring sub-module is used for monitoring online states reported by the clients of a preset number of second users which are sent to the first user client, and the sending module is used for sending the new online state of the second users to the first user client as a first online state when the online state reported by the second user client changes.
17. The apparatus of claim 15 or 16, wherein the monitoring module further comprises:
and the online state query sub-module is used for querying the online state of a corresponding second user according to a second user identifier in the online state query request when receiving the online state query request sent by the first user client, and enabling the sending module to send the online state of the second user to the first user client as a second online state.
18. The apparatus of claim 15, wherein the acquisition module comprises:
the recommendation attribute acquisition sub-module is used for acquiring recommendation attributes of the first user;
The recommendation attribute query sub-module is used for querying the recommendation attribute of the second user and acquiring a plurality of available second users matched with the recommendation attribute of the first user;
the online state inquiry sub-module is used for inquiring the online states of the plurality of available second users;
a determination sub-module for determining a preset number of second users from a plurality of available second users.
19. The apparatus of claim 18, further comprising: and the ordering module is used for ordering the plurality of available second users, and correspondingly determining the preset number of second users according to the order from high to low when determining the preset number of second users.
20. The apparatus of claim 19, wherein the ranking module is further configured to rank the plurality of available second users by ranking priority with presence status and recommendation attributes as a first level and a second level ranking priority, respectively.
21. The apparatus of claim 20, wherein the online status comprises online idle, online busy, and offline, the ranking priority of the online status decreasing in order of online idle, online busy, and offline.
22. The apparatus of claim 20, wherein the recommended attributes comprise one or more of a geographic area, a usage language, and a cultural attribute, and when the geographic area, the usage language, and the cultural attribute are included, the ranking priority of the recommended attributes decreases sequentially by geographic area, the usage language, and the cultural attribute.
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 CN115225602A (en) 2022-10-21
CN115225602B true 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 (10)

* 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
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

Family Cites Families (1)

* 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

Patent Citations (10)

* 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
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
"Multi-user cooperative mobile video streaming: Performance analysis and online mechanism design";L Gao;《IEEE》;20180508;全文 *
"抖音直播怎么做?新人直播必学的十二技巧";昵称68918425;《360个人图书馆》;正文11小节 *
基于云部署的在线直播教育系统设计;张丁;;电子技术与软件工程;20170401(第07期);全文 *

Also Published As

Publication number Publication date
CN115225602A (en) 2022-10-21

Similar Documents

Publication Publication Date Title
US20200336778A1 (en) Contextual based information aggregation system
JP6827515B2 (en) Viewing time clustering for video search
US10664872B2 (en) Systems and methods for generating network intelligence through real-time analytics
US7536417B2 (en) Real-time analysis of web browsing behavior
CN113923518B (en) Tracking pixels and COOKIE for television event viewing
US9397974B1 (en) Microblogging system and method for resending posts
US20150289021A1 (en) System and method for collecting viewer opinion information
CN111046292B (en) Live broadcast recommendation method and device, computer readable storage medium and electronic equipment
WO2018133566A1 (en) Method and device for determining freshness of promotional information, electronic device, and storage medium
CN113596519A (en) Method for regulating and controlling live streaming of monitoring equipment and electronic equipment
CN115225602B (en) Social application processing method and system
US9226033B2 (en) Information processing apparatus and method for providing information
CN114631324B (en) System and method for delivering target content in real time in streaming content
US7779115B2 (en) Method and apparatus for processing client capability information over a network
CN112169312A (en) Queuing scheduling method, device, equipment and storage medium for cloud game service
JP6273403B2 (en) Information processing apparatus, information processing method, and information processing program
CN114969493A (en) Content recommendation method and related device
CN115277620B (en) Social application processing method and system
US20200160387A1 (en) Subsequent offer selection based on user reaction to previous offers
CN115225603B (en) User matching method and system in social application
CN113468348A (en) Multimedia playing method and device, electronic equipment and storage medium
CN117009557A (en) Multimedia system data processing method and processing device
CN115408593A (en) Live broadcast processing method and device, electronic equipment and computer readable medium
CN113746648A (en) Information processing method, device and storage medium
CN115277620A (en) Social application processing method and 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