CN114401413B - Interactive prompt method and device for virtual space, electronic equipment and storage medium - Google Patents

Interactive prompt method and device for virtual space, electronic equipment and storage medium Download PDF

Info

Publication number
CN114401413B
CN114401413B CN202111509246.8A CN202111509246A CN114401413B CN 114401413 B CN114401413 B CN 114401413B CN 202111509246 A CN202111509246 A CN 202111509246A CN 114401413 B CN114401413 B CN 114401413B
Authority
CN
China
Prior art keywords
virtual space
service type
type information
target
current
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
CN202111509246.8A
Other languages
Chinese (zh)
Other versions
CN114401413A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111509246.8A priority Critical patent/CN114401413B/en
Publication of CN114401413A publication Critical patent/CN114401413A/en
Application granted granted Critical
Publication of CN114401413B publication Critical patent/CN114401413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The disclosure relates to an interaction prompt method, an interaction prompt device, electronic equipment and a storage medium of a virtual space, wherein the method comprises the following steps: the method comprises the steps of obtaining current service type information and historical service type information corresponding to an online virtual space, determining a target updating virtual space from the online virtual space based on the current service type information and the historical service type information, and generating a current interaction tag of the target updating virtual space based on the current service type information corresponding to the target updating virtual space. And forwarding the current interaction label to a target object in the session group corresponding to the target updating virtual space, and prompting the service type information corresponding to the virtual space to update to the current service type information, so that the target object can participate in the interaction of the target updating virtual space from the session group. According to the method, the current interaction label of the part of the virtual space is updated after the virtual space needing label updating is determined, so that the consumption of server resources is reduced, and the effectiveness of updating the current interaction label is improved.

Description

Interactive prompt method and device for virtual space, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of live broadcasting, in particular to an interactive prompting method and device for a virtual space, electronic equipment and a storage medium.
Background
The chat room is used as a multi-person real-time audio/video interactive playing method provided by live broadcast service, and is a typical social relationship driven interactive scene. The group chat service can aggregate a plurality of users, and is an ideal place for precipitating the relationship of chat room services.
In the related art, under the condition that the frequency of the timing polling task is low, the frequency of the interactive operation type update of the chat room in the group chat is low, and the user cannot be timely notified of the interactive operation update of the chat room, so that the effectiveness of the live broadcast service is reduced. And in the case of a higher frequency of the timing polling task, more resources are easily consumed.
Disclosure of Invention
The disclosure provides an interactive prompting method, an interactive prompting device, electronic equipment and a storage medium for a virtual space, so as to at least solve the problems that the frequency setting of a timing polling task and the reduction of resource consumption in the related technology and the effectiveness of live broadcast service cannot be considered. The technical scheme of the present disclosure is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided an interactive prompt method for a virtual space, the method including;
Acquiring current service type information and historical service type information corresponding to an online virtual space, wherein the online virtual space is a space for executing interactive operation of at least two objects;
determining a target updated virtual space from the online virtual space based on the current service type information and the historical service type information;
generating a current interaction tag of the target update virtual space based on the current service type information corresponding to the target update virtual space;
forwarding the current interaction tag to a target object in a session group corresponding to the target update virtual space, wherein the current interaction tag is used for prompting the update of the service type information corresponding to the virtual space to the current service type information.
As an optional embodiment, said determining a target updated virtual space from said online virtual space based on said current traffic type information and said historical traffic type information comprises:
comparing the current service type information with the historical service type information to obtain a type comparison result;
and under the condition that the type comparison result indicates that the current service type information and the historical service type information are not matched, taking an online virtual space corresponding to the unmatched type comparison result as the target updated virtual space.
As an optional embodiment, after comparing the current service type information with the historical service type information to obtain a type comparison result, the method further includes:
and under the condition that the type comparison result indicates that the current service type information and the historical service type information are matched, taking a historical interaction tag corresponding to the historical service type information as the current interaction tag.
As an optional embodiment, before the generating the current interaction label of the target update virtual space based on the current service type information corresponding to the target update virtual space, the method further includes:
acquiring the running state of the target updated virtual space;
and executing the current service type information corresponding to the target update virtual space based on the condition that the running state of the target update virtual space meets the starting state, and generating the current interaction label of the target update virtual space.
As an alternative embodiment, the method further comprises:
acquiring the running state of the online virtual space;
taking the online virtual space as a virtual space to be processed and generating closing prompt information corresponding to the virtual space to be processed under the condition that the running state of the online virtual space meets the preset condition;
And forwarding the closing prompt information to a target object in the session group corresponding to the virtual space to be processed.
As an alternative embodiment, the method further comprises:
receiving a virtual space creation request sent by a target terminal, wherein the target terminal is a terminal with virtual space management authority;
generating a newly added online virtual space corresponding to the target terminal based on the service type information in the virtual space creation request;
and storing the service type information in the virtual space creation request.
As an alternative embodiment, the method further comprises:
receiving a service type updating request sent by a target terminal;
updating the virtual space corresponding to the target terminal based on the updated service type information in the service type updating request to obtain an updated virtual space;
and storing the updated service type information.
As an optional embodiment, the sending the current interaction tag to the target object in the session group corresponding to the target update virtual space includes:
writing the current interaction label into a partition corresponding to the session group in a preset message queue, sending the current interaction label to a communication server corresponding to the session group by the message queue, and forwarding the current interaction label to a target object in the session group by the communication server.
As an optional embodiment, the target update virtual space includes a plurality of virtual spaces, and forwarding the current interaction label to the target object in the session group corresponding to the target update virtual space includes:
writing the current interaction label of the virtual space corresponding to each session group into a partition corresponding to each session group in a preset message queue, wherein the message queue sends the current interaction label of each virtual space to a communication server corresponding to each session group in parallel, and the communication server forwards the current interaction label corresponding to each session group to a target object in each session group.
According to a second aspect of embodiments of the present disclosure, there is provided an interactive alert device for a virtual space, the device comprising;
the service type acquisition module is configured to acquire current service type information and historical service type information corresponding to an online virtual space, wherein the online virtual space is a space in which at least two objects execute interactive operation;
a target space determination module configured to perform a determination of a target updated virtual space from the online virtual space based on the current traffic type information and the historical traffic type information;
The interactive label generating module is configured to execute the current interactive label based on the current service type information corresponding to the target updated virtual space, and generate the target updated virtual space;
the prompt information sending module is configured to forward the current interaction tag to a target object in a session group corresponding to the target update virtual space, and the current interaction tag is used for prompting the service type information corresponding to the virtual space to be updated to the current service type information.
As an alternative embodiment, the target space determination module includes:
the comparison unit is configured to perform comparison between the current service type information and the historical service type information to obtain a type comparison result;
and a target space determining unit configured to perform, when the type comparison result indicates that the current service type information and the historical service type information do not match, updating the virtual space with an online virtual space corresponding to the type comparison result that does not match as the target.
As an alternative embodiment, the apparatus further comprises:
and the historical interaction tag processing unit is configured to execute the historical interaction tag corresponding to the historical business type information as the current interaction tag when the type comparison result indicates that the current business type information and the historical business type information are matched.
As an alternative embodiment, the apparatus further comprises:
the first running state acquisition module is configured to acquire the running state of the target updated virtual space;
and the interactive label generating module is configured to execute the current interactive label based on the current service type information corresponding to the target update virtual space and generate the target update virtual space under the condition that the running state of the target update virtual space meets the starting state.
As an alternative embodiment, the apparatus further comprises:
the second running state acquisition module is configured to acquire the running state of the online virtual space;
the to-be-processed virtual space determining module is configured to execute the on-line virtual space as the to-be-processed virtual space and generate closing prompt information corresponding to the to-be-processed virtual space under the condition that the running state of the on-line virtual space meets the preset condition;
and the closing prompt information forwarding module is configured to forward the closing prompt information to a target object in the session group corresponding to the virtual space to be processed.
As an alternative embodiment, the apparatus further comprises:
The system comprises a creation request receiving module, a virtual space management module and a virtual space management module, wherein the creation request receiving module is configured to execute receiving of a virtual space creation request sent by a target terminal, and the target terminal is a terminal with virtual space management authority;
the virtual space generation module is configured to execute the generation of a newly added online virtual space corresponding to the target terminal based on the service type information in the virtual space creation request;
and the service type storage module is configured to store the service type information in the virtual space creation request.
As an alternative embodiment, the apparatus further comprises:
the updating request receiving module is configured to execute a service type updating request sent by the receiving target terminal;
the service type updating module is configured to execute updating of the virtual space corresponding to the target terminal based on the updating service type information in the service type updating request to obtain an updated virtual space;
and the updating service type storage module is configured to store the updating service type information.
As an optional embodiment, the prompt message sending module includes:
the information forwarding unit is configured to write the current interaction tag into a partition corresponding to the session group in a preset message queue, the message queue sends the current interaction tag to a communication server corresponding to the session group, and the communication server forwards the current interaction tag to a target object in the session group.
As an optional embodiment, the target update virtual space includes a plurality of virtual spaces, and the hint information sending module includes:
the concurrency forwarding unit is configured to execute the partition corresponding to each session group in a preset message queue, write the current interaction label of the virtual space corresponding to each session group, send the current interaction label of each virtual space to the communication server corresponding to the session group in parallel, and forward the current interaction label corresponding to each session group to the target object in each session group by the communication server.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device comprising;
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the interactive prompting method for a virtual space as described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the interactive prompt method of a virtual space as described above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the interactive prompting method for a virtual space described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the method comprises the steps of obtaining current service type information and historical service type information corresponding to an online virtual space, determining a target updating virtual space from the online virtual space based on the current service type information and the historical service type information, and generating a current interaction tag of the target updating virtual space based on the current service type information corresponding to the target updating virtual space. And forwarding the current interaction label to a target object in the session group corresponding to the target updating virtual space, and prompting the service type information corresponding to the virtual space to update to the current service type information, so that the target object can participate in the interaction of the target updating virtual space from the session group. According to the method, the current interaction label of the part of the virtual space is updated after the virtual space needing label updating is determined, so that the consumption of server resources is reduced, and the effectiveness of updating the current interaction label is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is an application scenario diagram illustrating an interactive prompt method for a virtual space according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method of interactive hinting for a virtual space, according to an exemplary embodiment.
FIG. 3 is a flow chart illustrating a method of interactive hinting for a virtual space to determine a target update virtual space in accordance with an exemplary embodiment.
Fig. 4 is a flowchart illustrating a method for prompting interaction of a virtual space to determine whether to generate a current interaction tag based on an operation state corresponding to a target updated virtual space according to an exemplary embodiment.
FIG. 5 is a flowchart illustrating a method for interactive hinting of virtual space for determining a virtual space to be processed in accordance with an exemplary embodiment.
Fig. 6 is a flowchart illustrating a method of interactive hinting for virtual space to create a virtual space, according to an exemplary embodiment.
Fig. 7 is a flowchart illustrating a method for interactive alert in a virtual space to update a service type according to an exemplary embodiment.
FIG. 8 is a block diagram illustrating an interactive alert device for a virtual space according to an exemplary embodiment.
Fig. 9 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a schematic diagram of an application scenario of an interactive prompting method for a virtual space according to an exemplary embodiment, where the application scenario includes a server 110 and a client 120, and the server 110 periodically acquires current service type information and historical service type information corresponding to an online virtual space, and determines a target update virtual space from the online virtual space based on the current service type information and the historical service type information, as shown in fig. 1. The server 110 generates a current interaction tag of the target update virtual space based on the current service type information corresponding to the target update virtual space, and forwards the current interaction tag to the client 120 corresponding to the target object in the session group corresponding to the target update virtual space, so as to prompt the target object to enter the target update virtual space. Upon receiving the current interaction tag, the client 120 may enter the target update virtual space from the session group.
In the disclosed embodiment, the server 110 may include one independently operating server, or a distributed server, or a server cluster composed of a plurality of servers. The server 110 may include a network communication unit, a processor, a memory, and the like. Specifically, the server 110 may periodically obtain current service type information and historical service type information corresponding to the online virtual space, and determine the target updated virtual space from the online virtual space based on the current service type information and the historical service type information. The server 110 may also generate a current interaction tag for the target update virtual space based on the current traffic type information corresponding to the target update virtual space.
In the embodiment of the present application, the client 120 includes a smart phone, a desktop computer, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, or other types of physical devices, and may also include software running in the physical devices, such as an application program, etc. The operating system running on the entity device in the embodiment of the present application may include, but is not limited to, an android system, an IOS system, linux, unix, windows, and the like. The client 120 includes a UI (User Interface) layer through which the User terminal 120 externally provides a display of a current interactive tag, and additionally receives the current interactive tag transmitted from the server 110 based on an API (Application Programming Interface, application program Interface).
Fig. 2 is a flowchart illustrating a method of interactive hinting for a virtual space, as shown in fig. 2, for use in a live server, according to an exemplary embodiment, comprising the following steps.
S210, acquiring current service type information and historical service type information corresponding to an online virtual space, wherein the online virtual space is a space for executing interactive operation of at least two objects;
as an alternative embodiment, the current service type information is a type of an interactive operation currently performed in the online virtual space, and the history service type information is a type of an interactive operation performed in the online virtual space during a previous history period. The historical traffic type information is traffic type information preceding the current traffic type information. There are at least two objects in the online virtual space, which may be a main cast-end object and a spectator-end object, or an administrator object and a spectator-end object. The online virtual space may be a virtual space created based on a request of a chatroom or an administrator terminal, such as a chat room. The types of services interoperating in the online virtual space may include KTV, auditorium, voice chat room, etc. different types. The online virtual space and the service type of the interactive operation can be in one-to-one correspondence, for example, the KTV service corresponds to one chat room, and the auditorium service corresponds to another chat room. The online virtual space may also be a fixed virtual space in which different service types are switched. For example, after setting up a chat room, a KTV function is selected at the time of the chat room, or a change to a auditorium function is made.
S220, determining a target updated virtual space from the online virtual space based on the current service type information and the historical service type information;
as an alternative embodiment, it is determined whether the type of the interactive operation in the online virtual space is updated according to the comparison result between the current service type information and the historical service type information, and the online virtual space is regarded as a target updated virtual space in the case that the interactive operation in the online virtual space is updated.
As an alternative embodiment, referring to fig. 3, determining a target update virtual space from an online virtual space based on current traffic type information and historical traffic type information includes:
s310, comparing the current service type information with the historical service type information to obtain a type comparison result;
s320, under the condition that the type comparison result indicates that the current service type information and the historical service type information are not matched, taking the online virtual space corresponding to the unmatched type comparison result as a target to update the virtual space.
As an alternative embodiment, the historical service type information may be the last service type information of the current service type information. And comparing the current service type information with the last service type information of the current service type information to obtain a type comparison result. Under the condition that the type comparison result indicates that the current service type information and the historical service type information are not matched, the interactive operation in the online virtual space is changed, so that the service type is updated, for example, under the condition that the current service type information in the online virtual space corresponding to a certain anchor terminal is KTV and the historical service type information is a showing hall, the fact that the current service type information and the historical service type information are not matched can determine that the anchor terminal is switched to the KTV service from the showing hall service, and the interactive operation between the anchor and audience in the chat room is changed. Therefore, in the case that the type comparison result indicates that the current service type information and the history service type information are not matched, the online virtual space corresponding to the type comparison result which is not matched can be taken as the target updated virtual space.
Because the type of the interactive operation in the target update virtual space is changed, a current interactive label of the target update virtual space can be generated according to the current service type information corresponding to the target update virtual space, and then the target object in the session group corresponding to the target update virtual space is prompted based on the current interactive label. For example, when the current service type information in the chat room corresponding to a certain anchor terminal is KTV and the history service type information is the auditorium, it is determined that the anchor terminal switches from the auditorium service to the KTV service, and the chat room may be set as the target update virtual space. And generating a current interaction tag of the target update virtual space based on current service type information corresponding to the target update virtual space, namely KTV service type, wherein the current interaction tag can display that the service type in the target update virtual space is KTV service type, and sending the current interaction tag to a session group corresponding to the target update virtual space, namely a session group corresponding to the anchor end, wherein a chat room which can be displayed as the current anchor is KTV service type now, so that an object interested in the KTV service in the session group can be added into the chat room of the anchor.
As an alternative embodiment, the determining target update virtual space may be set as a timing polling task, current service type information and historical service type information corresponding to the online virtual space are acquired according to a preset period, and the target update virtual space is determined from the online virtual space based on the current service type information and the historical service type information acquired in each period.
When the timing polling task is executed each time, a comparison result between the historical service type information and the current service type information in the online virtual space is determined, and when the comparison result meets a preset condition, namely, the historical service type information and the current service type information are not matched, a subsequent updating prompt step is continuously executed, and if the comparison result does not meet the preset condition, the subsequent updating prompt step is not continuously executed.
By comparing the current service type information with the historical service type information, determining a target update virtual space according to the comparison result, wherein the target update virtual space is the virtual space updated by the service type of the interactive operation, and executing the subsequent update prompting step on the target update virtual space, the problem that resources are consumed by frequent polling can be avoided, and the problem that the update prompting cannot effectively support live broadcast service due to too low frequency of the timing polling can be avoided, so that the resource consumption can be reduced, and the efficiency of the interactive prompting can be improved.
As an alternative embodiment, referring to fig. 3, after comparing the current service type information with the historical service type information to obtain a type comparison result, the method further includes:
s330, under the condition that the type comparison result indicates that the current service type information and the historical service type information are matched, taking the historical interaction label corresponding to the historical service type information as the current interaction label.
As an optional embodiment, in the case that the type comparison result indicates that the current service type information and the historical service type information are matched, it is indicated that the interactive operation in the online virtual space is unchanged and no service type is updated, for example, in the case that the current service type information in the online virtual space corresponding to a certain anchor terminal is a showing hall and the historical service type information is also a showing hall, the current service type information is matched with the historical service type information, and it can be determined that the anchor terminal does not switch the service type corresponding to the interactive operation in the chat room. Therefore, when the type comparison result indicates that the current service type information and the historical service type information are matched, the historical interaction label corresponding to the historical service type information can be used as the current interaction label, and when the historical interaction label is set as the current interaction label, the subsequent updating prompt step is not executed.
When the service type of the interactive operation in the online virtual space is determined to be not updated by comparing the current service type information with the historical service type information, a subsequent update prompting step can be omitted, so that the occupation of server resources is avoided, and the resource consumption is reduced.
As an optional embodiment, referring to fig. 4, before generating the current interaction label of the target update virtual space based on the current service type information corresponding to the target update virtual space, the method further includes:
s410, acquiring the running state of a target updated virtual space;
s420, executing the current service type information corresponding to the target update virtual space under the condition that the running state of the target update virtual space meets the starting state, and generating a current interaction label of the target update virtual space;
s430, under the condition that the running state of the target update virtual space meets the closing state, the current interaction label of the target update virtual space is not generated.
As an alternative embodiment, the running state of the target update virtual space may be determined prior to generating the current interaction tag of the target update virtual space. The operational state may include various states of on, off, active, inactive, etc. Wherein the active state or the inactive state may be determined by updating the number of objects in the virtual space by the target.
And under the condition that the running state of the target updating virtual space meets the starting state, continuously executing the current business type information corresponding to the target updating virtual space, and generating the current interaction label of the target updating virtual space. The current interaction tag of the target update virtual space can be generated only when the target update virtual space is in an active state or an inactive state under the condition that the running state of the target update virtual space meets the starting state.
Under the condition that the running state of the target updating virtual space meets the closing state, the step of generating the current interaction label of the target updating virtual space based on the current service type information corresponding to the target updating virtual space can be omitted. For example, after determining that the interactive chat room is updated, detecting that the chat room has been closed, it is not necessary to generate a current interactive label corresponding to the chat room.
After the target update virtual space is determined, the running state of the target update virtual space can be detected, the current interaction label is generated if the target update virtual space is in the on state, and the current interaction label is not generated if the target update virtual space is in the off state, so that the resource consumption is further reduced, and the effectiveness of generating the current interaction label is improved.
S230, generating a current interaction tag of the target update virtual space based on current service type information corresponding to the target update virtual space;
as an alternative embodiment, the current interaction tag is information identifying the current interaction operation in the target update virtual space, so the current interaction tag may be generated based on the current service type information corresponding to the target update virtual space. For example, if the current service type in the target update virtual space is KTV service, after generating the current interaction tag, the current interaction tag identifies that the interaction operation in the target update virtual space is the interaction operation corresponding to KTV service.
S240, forwarding a current interaction tag to a target object in a session group corresponding to the target update virtual space, wherein the current interaction tag is used for prompting the service type information corresponding to the virtual space to be updated to current service type information.
As an optional embodiment, the session group corresponding to the target update virtual space may be a session group established for the target terminal, for example, a group chat established by a host, or a group chat established by an administrator, etc., and the target object in the session group may be a user corresponding to the target terminal and a user corresponding to the viewer, forward the current interaction tag to the target object in the session group, and prompt that the service type information corresponding to the virtual space is updated to the current service type information, so as to attract the target object to enter the target update virtual space. For example, if a user is interested in KTV service types and sees that the current interactive label of the chat room corresponding to a certain session group is KTV service, the user may generate interest and join the chat room.
As an alternative embodiment, referring to fig. 5, the method further includes:
s510, acquiring the running state of an online virtual space;
s520, taking the online virtual space as a virtual space to be processed and generating closing prompt information corresponding to the virtual space to be processed under the condition that the running state of the online virtual space meets the preset condition;
s530, forwarding closing prompt information to a target object in the session group corresponding to the virtual space to be processed.
As an alternative embodiment, the live server may also periodically clean up the inactive online virtual space or the closed-loop online virtual space. When the running state of the online virtual space is acquired, the running state of the online virtual space can be acquired according to a preset period, and the virtual space to be processed is determined regularly.
The running state of the online virtual space may be determined by an activity level of the objects in the online virtual space, the activity level may be determined by a number of the objects in the online virtual space, and in case that the number of the objects in the online virtual space is less than a preset number threshold, it may be determined that the running state of the online virtual space satisfies a preset condition.
And under the condition that the number of the objects in the online virtual space is smaller than a preset number threshold value, the condition that the activity degree of the objects in the online virtual space is lower is indicated, the online virtual space can be determined to be the virtual space to be processed, and closing prompt information corresponding to the virtual space to be processed is generated. And sending closing prompt information to a target object in the session group corresponding to the virtual space to be processed, wherein the closing prompt information is used for prompting that the virtual space to be processed is about to be closed. The target object may be a user corresponding to the anchor end or a user corresponding to the administrator terminal, and a user corresponding to the audience end.
As an optional embodiment, when the anchor side has abnormal off-broadcasting conditions, if the anchor side requests that the virtual space created by the live broadcast server is still on-line, the anchor side occupies the live broadcast server resource. Therefore, the live broadcast server needs to acquire online virtual spaces with the activity level lower than a preset threshold at regular time, take the online virtual spaces as the virtual spaces to be processed, and send closing prompt information to session groups corresponding to the virtual spaces to be processed. After the closing prompt information is sent, if the response information fed back by the anchor terminal is not received within the preset time, the virtual space to be processed can be directly closed.
Closing prompt is carried out on the live broadcasting room in the inactive state which meets the preset condition at regular time, and the live broadcasting room in the inactive state is cleaned, so that occupation of server resources is reduced, and efficiency of live broadcasting business is improved.
As an alternative embodiment, referring to fig. 6, the method further includes:
s610, receiving a virtual space creation request sent by a target terminal, wherein the target terminal is a terminal with virtual space management authority;
s620, generating a newly added online virtual space corresponding to the target terminal based on the service type information in the virtual space creation request;
s630, storing service type information in the virtual space creation request.
As an optional embodiment, when the target terminal creates the virtual space, the target terminal sends a virtual space creation request to the live broadcast server, where the virtual space creation request includes service type information, and the live broadcast server may generate a newly added online virtual space corresponding to the service type information based on the service type information, where the newly added online virtual space is a virtual space corresponding to the target terminal. The live server may store the traffic type information in the virtual space creation request. When the service type information is updated, the live broadcast server can also store the updated service type information. The target terminal is a terminal with virtual space management authority, and can be a main broadcasting terminal or an administrator terminal.
As an alternative embodiment, instead of comparing the current service type information with the historical service type information in real time when the live server stores the service type information, the live server stores only the service type information. The live broadcast server can acquire the current service type information and the historical service type information of the virtual space when the timing polling task is started, and compare the current service type information with the historical service type information. For example, the live broadcast server stores service type information a1 corresponding to the virtual space of the anchor a, when the timing polling task is not started, the live broadcast server does not generate a current interaction tag based on the service type information a1, when the timing polling task is started, the live broadcast server acquires service type information a2 corresponding to the virtual space of the anchor a, compares the service type information a2 with the service type information a1, and generates the current interaction tag of the virtual space of the anchor a based on the service type information a2 under the condition that the service type information a1 and the service type information a2 are not matched.
As an optional embodiment, after creating the virtual space, the live broadcast server may generate an initial interaction tag based on the first stored service type information when the service type information is stored for the first time, and forward the initial interaction tag to the target object in the session group corresponding to the virtual space, so as to prompt the target object that the anchor end creates the virtual space.
After the virtual space is created, the corresponding service type information can be stored, but the comparison of the service type information is not performed, and the comparison of the service type information is performed only when the timing polling task is triggered, so that the occupation of server resources is reduced, and the efficiency of interaction prompt is improved.
As an alternative embodiment, referring to fig. 7, the method further includes:
s710, receiving a service type update request sent by a target terminal;
s720, updating the virtual space corresponding to the target terminal based on the updated service type information in the service type updating request to obtain an updated virtual space;
and S730, storing the updated service type information.
As an optional embodiment, when the target terminal needs to update the service type in the virtual space, the target terminal may send a service type update request to the live broadcast server, and the live broadcast server responds to the service type update request and updates the virtual space corresponding to the target terminal based on the updated service type information in the service type update request to obtain an updated virtual space corresponding to the updated service type information. The live server may also store updated traffic type information. The target terminal is a terminal with virtual space management authority, and can be a main broadcasting terminal or an administrator terminal.
As an alternative embodiment, the live server does not compare the current service type information with the historical service type information in real time as well, when storing updated service type information. The live broadcast server can acquire the current service type information and the historical service type information of the virtual space when the timing polling task is started, and compare the current service type information with the historical service type information. For example, the live broadcast server stores the service type information B1 corresponding to the virtual space of the anchor B, updates the service type information B2 later, and does not generate the current interaction tag based on the service type information B2 when the timing polling task is not started.
After the virtual space is created, the service type information corresponding to the virtual space can be updated, but the comparison of the service type information is not performed, only the updated service type information is stored, and the comparison of the service type information is performed only when the timing polling task is triggered, so that the occupation of server resources is reduced, and the efficiency of interactive prompt is improved.
As an optional embodiment, sending the current interaction tag to the target object in the session group corresponding to the target update virtual space includes:
Writing the current interaction label into a partition corresponding to the session group in a preset message queue, sending the current interaction label to a communication server corresponding to the session group by the message queue, and forwarding the current interaction label to a target object in the session group by the communication server.
As an alternative embodiment, when the current interaction tag is sent to the target object, message transfer can be performed through a preset message queue. The live broadcast server can serve as a producer to write the current interaction tag into a preset message queue. The method comprises the steps that a partition with the same identifier as a session group label corresponding to a target updated virtual space is arranged in a preset message queue, and when a live broadcast server requests to write a current interaction label into the message queue, the current interaction label carries the identifier of the session group, so that the current interaction label can be written into the partition corresponding to the same identifier. The communication server is a server storing the session group. And the communication server is used as a consumer to read the current interaction tag from a preset message queue, and sends the current interaction tag to the terminal of each target object in the session group corresponding to the target update virtual space. The preset message queue may be a kafka (kafka) message queue.
Through setting the message queue to transfer the message, the live broadcast server is used as a producer to write the current interaction tag into the message queue, and the communication server is used as a consumer to read the current interaction tag from the message queue, so that the online virtual space is decoupled from the session group, flexibility and expandability of the live broadcast service are improved, the information sent into the partition by the live broadcast server can be kept in the same sequence through the partition with the same identification as the session group in the message queue, and the information acquired from the partition and sent into the session group by the communication server can be kept in the same sequence, thereby avoiding the problem of sending the current interaction tag to the wrong session group, and further improving the accuracy of the current interaction tag.
As an optional embodiment, the target update virtual space includes a plurality of virtual spaces, and forwarding the current interaction tag to the target object in the session group corresponding to the target update virtual space includes:
writing the current interaction label of the virtual space corresponding to each session group into a partition corresponding to each session group in a preset message queue, transmitting the current interaction label of each virtual space in parallel to a communication server corresponding to the session group by the message queue, and forwarding the current interaction label corresponding to each session group to a target object in each session group by the communication server.
As an optional embodiment, in the case that the live broadcast server writes a plurality of current interaction tags into the message queue at a time, and the communication server reads a plurality of current interaction tags into the message queue at a time, concurrent consumption may be performed in the communication server, and a plurality of current interaction tags are obtained. The communication server can be provided with a related thread pool, and the related thread pool can store the current interaction labels with the same identification in the same memory queue according to the input sequence and consume the current interaction labels according to the input sequence. Therefore, the current interaction labels of the same session group are stored in the memory queues corresponding to the session group according to the input. For example, a certain session group corresponds to a current interaction tag x1 and a current interaction tag x2, where the current interaction tag x1 is information that is input to a memory queue corresponding to the session group first, and the current interaction tag x2 is information that is input to the memory queue corresponding to the session group later, so that the current interaction tag x1 is output first, the current interaction tag x1 is sent to a target object corresponding to the session group, then the current interaction tag x2 is output, and the current interaction tag x2 is sent to the target object corresponding to the session group.
Under the condition of reading a plurality of current interaction labels, the communication server can improve the efficiency of obtaining the current interaction labels in a concurrent reading mode, and the reading of the current interaction labels of the same session group is orderly based on the related thread pool, so that the accuracy of interaction prompt is improved.
As an optional embodiment, the interaction prompting method of the virtual space may be applied to live broadcast scenes corresponding to the group chat and the chat room, the virtual space may be the chat room, the session group may be the group chat, and the target object may be the user. The anchor terminal sends a chat room creation request to the live broadcast server, and the live broadcast server stores the service type information in the chat room creation request after creating the chat room. When the chat room is created for the first time, the live broadcast server can generate an initial interaction label based on the service type information in the chat room creation request, and send the initial interaction label to the terminals of all users in the group chat corresponding to the chat room in the communication server to prompt that the chat room has been created for the object in the group chat corresponding to the chat room.
The anchor terminal can switch the service types in the chat room, send a service type update request to the live broadcast server, and the live broadcast server updates the chat room corresponding to the anchor terminal based on the update service type information in the service type update request to obtain an updated chat room. The live server stores the updated service type information. When the anchor switches the service types, if the timing polling task is not triggered, the live broadcast server only stores the updated service type information and does not compare the service type information before and after updating.
Under the condition of triggering the timing polling task, the live broadcast server can acquire the current service type information and the historical service type information corresponding to the chat room. The current service type information is the service type information obtained by the latest update, and the historical service type information is the last service type information of the current service type information.
The live broadcast server compares the current service type information with the historical service type information, takes the chat room with the unmatched service type as a target updated chat room under the condition that the current service type information and the historical service type information are unmatched, and generates a current interaction label of the target updated chat room based on the current service type information corresponding to the target updated chat room. The live broadcast server transmits the current interaction label to the communication server, and the communication server transmits the current interaction label to the terminals of all users in the group chat corresponding to the target updated chat room to prompt all the users in the group chat to enter the target updated chat room. The content that the current interactive label can display is that the service type is updated, at this time, if a user is interested in the updated service type information in the group chat, the user can enter the target updated chat room to participate in the interactive activity of the target updated chat room.
Under the condition that the current service type information and the historical service type information are matched, only the historical interaction label corresponding to the historical service type information is required to be set as the current interaction label, and interaction prompt is not required to be sent to a communication server for users in a session group.
The embodiment of the disclosure provides an interactive prompting method for a virtual space, which comprises the following steps: the method comprises the steps of obtaining current service type information and historical service type information corresponding to an online virtual space, determining a target updating virtual space from the online virtual space based on the current service type information and the historical service type information, and generating a current interaction tag of the target updating virtual space based on the current service type information corresponding to the target updating virtual space. And forwarding the current interaction label to a target object in the session group corresponding to the target updating virtual space, and prompting the service type information corresponding to the virtual space to update to the current service type information, so that the target object can participate in the interaction of the target updating virtual space from the session group. According to the method, the current interaction label of the part of the virtual space is updated after the virtual space needing label updating is determined, so that the consumption of server resources is reduced, and the effectiveness of updating the current interaction label is improved.
FIG. 8 is a block diagram of an interactive alert device for a virtual space, according to an example embodiment. Referring to fig. 8, the apparatus includes:
the service type obtaining module 810 is configured to obtain current service type information and historical service type information corresponding to an online virtual space, where the online virtual space is a space where at least two objects perform interactive operations;
a target space determination module 820 configured to perform determining a target updated virtual space from the online virtual space based on the current traffic type information and the historical traffic type information;
the interaction tag generation module 830 is configured to perform generation of a current interaction tag of the target update virtual space based on the current service type information corresponding to the target update virtual space;
the prompt information sending module 840 is configured to perform forwarding of a current interaction tag to a target object in the session group corresponding to the target update virtual space, where the current interaction tag is used to prompt the update of the service type information corresponding to the virtual space to the current service type information.
As an alternative embodiment, the target space determination module includes:
the comparison unit is configured to execute comparison of the current service type information and the historical service type information to obtain a type comparison result;
And a target space determining unit configured to perform updating of the virtual space with the online virtual space corresponding to the type comparison result, which is not matched, as a target, in a case where the type comparison result indicates that the current service type information and the history service type information are not matched.
As an alternative embodiment, the apparatus further comprises:
and the history interaction tag processing unit is configured to execute the history interaction tag corresponding to the history service type information as the current interaction tag when the type comparison result indicates that the current service type information and the history service type information are matched.
As an alternative embodiment, the apparatus further comprises:
the first running state acquisition module is configured to acquire the running state of the target updated virtual space;
the interactive label generating module is configured to execute the current interactive label based on the current service type information corresponding to the target update virtual space and generate the target update virtual space under the condition that the running state of the target update virtual space meets the starting state.
As an alternative embodiment, the apparatus further comprises:
the second running state acquisition module is configured to acquire the running state of the online virtual space;
The to-be-processed virtual space determining module is configured to execute taking the online virtual space as the to-be-processed virtual space and generating closing prompt information corresponding to the to-be-processed virtual space under the condition that the running state of the online virtual space meets the preset condition;
and the closing prompt information forwarding module is configured to forward the closing prompt information to a target object in the session group corresponding to the virtual space to be processed.
As an alternative embodiment, the apparatus further comprises:
the system comprises a creation request receiving module, a virtual space management module and a virtual space management module, wherein the creation request receiving module is configured to receive a virtual space creation request sent by a target terminal, and the target terminal is a terminal with virtual space management authority;
the virtual space generation module is configured to execute the generation of a newly added online virtual space corresponding to the target terminal based on the service type information in the virtual space creation request;
and the service type storage module is configured to store the service type information in the virtual space creation request.
As an alternative embodiment, the apparatus further comprises:
the updating request receiving module is configured to execute a service type updating request sent by the receiving target terminal;
the service type updating module is configured to execute updating service type information in the service type updating request, and update the virtual space corresponding to the target terminal to obtain an updated virtual space;
And the updating service type storage module is configured to store the updating service type information.
As an alternative embodiment, the prompt message sending module includes:
the information forwarding unit is configured to write the current interaction label into a partition corresponding to the session group in a preset message queue, the message queue sends the current interaction label to a communication server corresponding to the session group, and the communication server forwards the current interaction label to a target object in the session group.
As an optional embodiment, the target update virtual space includes a plurality of virtual spaces, and the prompt information sending module includes:
the concurrency forwarding unit is configured to execute the partition corresponding to each session group in a preset message queue, write the current interaction label of the virtual space corresponding to each session group, send the current interaction label of each virtual space to the communication server corresponding to the session group in parallel, and forward the current interaction label corresponding to each session group to the target object in each session group by the communication server.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 9 is a block diagram of an electronic device, which may be a server, for interactive hints for a virtual space, the internal structure of which may be as shown in fig. 9, according to an example embodiment. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the electronic device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of interactive hinting of a virtual space.
It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the disclosed aspects and is not limiting of the electronic device to which the disclosed aspects apply, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory 904 including instructions executable by the processor 920 of the electronic device 900 to perform the above-described method. Alternatively, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, which comprises a computer program, which when executed by a processor implements the interactive prompting method of virtual space described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. An interactive prompt method for a virtual space, which is characterized by comprising the following steps:
acquiring current service type information and historical service type information corresponding to an online virtual space, wherein the online virtual space is a space in which at least two objects execute interactive operations, the current service type information is the type of the interactive operations currently executed in the online virtual space, and the historical service type information is the type of the interactive operations executed in the online virtual space in a previous historical time period;
comparing the current service type information with the historical service type information to obtain a type comparison result;
when the type comparison result indicates that the current service type information and the historical service type information are not matched, taking an online virtual space corresponding to the unmatched type comparison result as the target updated virtual space;
generating a current interaction tag of the target update virtual space based on the current service type information corresponding to the target update virtual space;
forwarding the current interaction tag to a target object in a session group corresponding to the target update virtual space, wherein the current interaction tag is used for prompting the update of the service type information corresponding to the virtual space to the current service type information.
2. The interactive prompt method of claim 1, wherein after comparing the current service type information with the historical service type information to obtain a type comparison result, the method further comprises:
and under the condition that the type comparison result indicates that the current service type information and the historical service type information are matched, taking a historical interaction tag corresponding to the historical service type information as the current interaction tag.
3. The method for prompting interaction in a virtual space according to claim 1, wherein before generating a current interaction tag of the target updated virtual space based on the current service type information corresponding to the target updated virtual space, the method further comprises:
acquiring the running state of the target updated virtual space;
and executing the current service type information corresponding to the target update virtual space based on the condition that the running state of the target update virtual space meets the starting state, and generating the current interaction label of the target update virtual space.
4. The interactive alert method of a virtual space according to claim 1, further comprising:
Acquiring the running state of the online virtual space;
taking the online virtual space as a virtual space to be processed and generating closing prompt information corresponding to the virtual space to be processed under the condition that the running state of the online virtual space meets the preset condition;
and forwarding the closing prompt information to a target object in the session group corresponding to the virtual space to be processed.
5. The interactive alert method of a virtual space according to claim 1, further comprising:
receiving a virtual space creation request sent by a target terminal, wherein the target terminal is a terminal with virtual space management authority;
generating a newly added online virtual space corresponding to the target terminal based on the service type information in the virtual space creation request;
and storing the service type information in the virtual space creation request.
6. The interactive alert method of a virtual space according to claim 1, further comprising:
receiving a service type updating request sent by a target terminal;
updating the virtual space corresponding to the target terminal based on the updated service type information in the service type updating request to obtain an updated virtual space;
And storing the updated service type information.
7. The method of claim 1, wherein forwarding the current interaction tag to the target object in the session group corresponding to the target updated virtual space comprises:
writing the current interaction label into a partition corresponding to the session group in a preset message queue, sending the current interaction label to a communication server corresponding to the session group by the message queue, and forwarding the current interaction label to a target object in the session group by the communication server.
8. The method of claim 7, wherein the target updated virtual space comprises a plurality of virtual spaces, and forwarding the current interaction label to the target object in the session group corresponding to the target updated virtual space comprises:
writing the current interaction label of the virtual space corresponding to each session group into a partition corresponding to each session group in a preset message queue, wherein the message queue sends the current interaction label of each virtual space to a communication server corresponding to each session group in parallel, and the communication server forwards the current interaction label corresponding to each session group to a target object in each session group.
9. An interactive alert device for a virtual space, the device comprising:
the service type acquisition module is configured to acquire current service type information and historical service type information corresponding to an online virtual space, wherein the online virtual space is a space in which at least two objects execute interactive operations, the current service type information is a type of the interactive operations currently executed in the online virtual space, and the historical service type information is a type of the interactive operations executed in the online virtual space in a previous historical time period;
a target space determination module configured to perform a determination of a target updated virtual space from the online virtual space based on the current traffic type information and the historical traffic type information;
the interactive label generating module is configured to execute the current interactive label based on the current service type information corresponding to the target updated virtual space, and generate the target updated virtual space;
the prompt information sending module is configured to execute forwarding of the current interaction tag to a target object in a session group corresponding to the target update virtual space, wherein the current interaction tag is used for prompting that the service type information corresponding to the virtual space is updated to the current service type information;
The target space determination module includes:
the comparison unit is configured to perform comparison between the current service type information and the historical service type information to obtain a type comparison result;
and a target space determining unit configured to perform, when the type comparison result indicates that the current service type information and the historical service type information do not match, updating the virtual space with an online virtual space corresponding to the type comparison result that does not match as the target.
10. The interactive alert device of virtual space according to claim 9, further comprising:
and the historical interaction tag processing unit is configured to execute the historical interaction tag corresponding to the historical business type information as the current interaction tag when the type comparison result indicates that the current business type information and the historical business type information are matched.
11. The interactive alert device of virtual space according to claim 9, further comprising:
the first running state acquisition module is configured to acquire the running state of the target updated virtual space;
And the interactive label generating module is configured to execute the current interactive label based on the current service type information corresponding to the target update virtual space and generate the target update virtual space under the condition that the running state of the target update virtual space meets the starting state.
12. The interactive alert device of virtual space according to claim 9, further comprising:
the second running state acquisition module is configured to acquire the running state of the online virtual space;
the to-be-processed virtual space determining module is configured to execute the on-line virtual space as the to-be-processed virtual space and generate closing prompt information corresponding to the to-be-processed virtual space under the condition that the running state of the on-line virtual space meets the preset condition;
and the closing prompt information forwarding module is configured to forward the closing prompt information to a target object in the session group corresponding to the virtual space to be processed.
13. The interactive alert device of virtual space according to claim 9, further comprising:
the system comprises a creation request receiving module, a virtual space management module and a virtual space management module, wherein the creation request receiving module is configured to execute receiving of a virtual space creation request sent by a target terminal, and the target terminal is a terminal with virtual space management authority;
The virtual space generation module is configured to execute the generation of a newly added online virtual space corresponding to the target terminal based on the service type information in the virtual space creation request;
and the service type storage module is configured to store the service type information in the virtual space creation request.
14. The interactive alert device of virtual space according to claim 9, further comprising:
the updating request receiving module is configured to execute a service type updating request sent by the receiving target terminal;
the virtual space updating module is configured to execute updating of the virtual space corresponding to the target terminal based on the updating service type information in the service type updating request to obtain an updated virtual space;
and the updating service type storage module is configured to store the updating service type information.
15. The interactive alert device of claim 9, wherein the alert information transmitting module comprises:
the information forwarding unit is configured to write the current interaction tag into a partition corresponding to the session group in a preset message queue, the message queue sends the current interaction tag to a communication server corresponding to the session group, and the communication server forwards the current interaction tag to a target object in the session group.
16. The interactive alert device of claim 15, wherein the target updated virtual space comprises a plurality of virtual spaces, the alert message sending module comprising:
the concurrency forwarding unit is configured to execute the partition corresponding to each session group in a preset message queue, write the current interaction label of the virtual space corresponding to each session group, send the current interaction label of each virtual space to the communication server corresponding to the session group in parallel, and forward the current interaction label corresponding to each session group to the target object in each session group by the communication server.
17. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the interactive prompting method of a virtual space according to any one of claims 1 to 8.
18. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the interactive prompting method of a virtual space according to any one of claims 1 to 8.
CN202111509246.8A 2021-12-10 2021-12-10 Interactive prompt method and device for virtual space, electronic equipment and storage medium Active CN114401413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111509246.8A CN114401413B (en) 2021-12-10 2021-12-10 Interactive prompt method and device for virtual space, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111509246.8A CN114401413B (en) 2021-12-10 2021-12-10 Interactive prompt method and device for virtual space, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114401413A CN114401413A (en) 2022-04-26
CN114401413B true CN114401413B (en) 2023-09-05

Family

ID=81226594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111509246.8A Active CN114401413B (en) 2021-12-10 2021-12-10 Interactive prompt method and device for virtual space, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114401413B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136867A (en) * 2006-08-30 2008-03-05 腾讯科技(深圳)有限公司 Method and device for transmitting prompt message to client terminal of chat room
CN101720063A (en) * 2009-12-02 2010-06-02 中兴通讯股份有限公司 Group creating method and device and chat room function implementing method and system
CN109618176A (en) * 2018-12-14 2019-04-12 广州虎牙信息科技有限公司 A kind of processing method of live broadcast service, equipment and storage medium
CN110062248A (en) * 2019-04-30 2019-07-26 广州酷狗计算机科技有限公司 Recommend the method and apparatus of direct broadcasting room
CN110263854A (en) * 2019-06-20 2019-09-20 广州酷狗计算机科技有限公司 Live streaming label determines method, apparatus and storage medium
CN111104551A (en) * 2019-11-25 2020-05-05 网易(杭州)网络有限公司 Live broadcast room label determination method and device, storage medium and electronic equipment
CN111901619A (en) * 2020-07-23 2020-11-06 北京达佳互联信息技术有限公司 Message pushing method and device
CN112616068A (en) * 2020-12-31 2021-04-06 北京达佳互联信息技术有限公司 Task processing method and device, electronic equipment and storage medium
CN113395537A (en) * 2021-06-16 2021-09-14 北京百度网讯科技有限公司 Method and device for recommending live broadcast room
CN113691878A (en) * 2021-10-25 2021-11-23 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN113747207A (en) * 2021-08-11 2021-12-03 北京达佳互联信息技术有限公司 Data transmission method and device, electronic equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136867A (en) * 2006-08-30 2008-03-05 腾讯科技(深圳)有限公司 Method and device for transmitting prompt message to client terminal of chat room
CN101720063A (en) * 2009-12-02 2010-06-02 中兴通讯股份有限公司 Group creating method and device and chat room function implementing method and system
CN109618176A (en) * 2018-12-14 2019-04-12 广州虎牙信息科技有限公司 A kind of processing method of live broadcast service, equipment and storage medium
CN110062248A (en) * 2019-04-30 2019-07-26 广州酷狗计算机科技有限公司 Recommend the method and apparatus of direct broadcasting room
CN110263854A (en) * 2019-06-20 2019-09-20 广州酷狗计算机科技有限公司 Live streaming label determines method, apparatus and storage medium
CN111104551A (en) * 2019-11-25 2020-05-05 网易(杭州)网络有限公司 Live broadcast room label determination method and device, storage medium and electronic equipment
CN111901619A (en) * 2020-07-23 2020-11-06 北京达佳互联信息技术有限公司 Message pushing method and device
CN112616068A (en) * 2020-12-31 2021-04-06 北京达佳互联信息技术有限公司 Task processing method and device, electronic equipment and storage medium
CN113395537A (en) * 2021-06-16 2021-09-14 北京百度网讯科技有限公司 Method and device for recommending live broadcast room
CN113747207A (en) * 2021-08-11 2021-12-03 北京达佳互联信息技术有限公司 Data transmission method and device, electronic equipment and storage medium
CN113691878A (en) * 2021-10-25 2021-11-23 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114401413A (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN101196912B (en) Method and apparatus for application state synchronization
CN108156507B (en) Virtual article presenting method, device and storage medium
CN111770355B (en) Media server determination method, device, server and storage medium
CN112752114B (en) Method and device for generating live broadcast playback interactive message, server and storage medium
CN110944219B (en) Resource allocation method, device, server and storage medium
CN109547807B (en) Information processing method and device based on live broadcast and server
CN105162879B (en) Realize the method, apparatus and system of multimachine room data consistency
CN110659121A (en) Task data acquisition method and device, task configuration method and device and server
CN111625353B (en) Virtual resource distribution processing method, device, server and storage medium
CN113596488B (en) Live broadcast room display method and device, electronic equipment and storage medium
CN110311959A (en) The method, apparatus and data processing system of message push and renewal of the page
CN113051458A (en) Data processing method and device, electronic equipment and storage medium
CN111246238A (en) Live broadcast method, device, storage medium and live broadcast system
CN113781119A (en) Virtual resource sending method and device, electronic equipment and storage medium
CN115412774A (en) Interactive processing method, device, electronic equipment, storage medium and program product
CN114401413B (en) Interactive prompt method and device for virtual space, electronic equipment and storage medium
CN108966034B (en) Virtual article display method, device and storage medium
CN112395297A (en) Method, device and server for synchronizing work information
CN111176837A (en) Information display method and device, electronic equipment and storage medium
CN113346973B (en) Event prompting method and device, electronic equipment and computer readable storage medium
CN109348249B (en) Method and device for determining user acquisition number of digital album and storage medium
CN114040214A (en) Live broadcast room recommendation method and device, electronic equipment and storage medium
CN108683612B (en) Message acquisition method and device
CN108289226B (en) Method, server and system for showing digital movie video data
CN110198459B (en) Method, device, server and storage medium for playing display information

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