CN114779936A - Information display method and device, electronic equipment and storage medium - Google Patents

Information display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114779936A
CN114779936A CN202210447568.2A CN202210447568A CN114779936A CN 114779936 A CN114779936 A CN 114779936A CN 202210447568 A CN202210447568 A CN 202210447568A CN 114779936 A CN114779936 A CN 114779936A
Authority
CN
China
Prior art keywords
behavior
virtual space
interactive
information
target
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.)
Pending
Application number
CN202210447568.2A
Other languages
Chinese (zh)
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 CN202210447568.2A priority Critical patent/CN114779936A/en
Publication of CN114779936A publication Critical patent/CN114779936A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Abstract

The disclosure provides an information display method, an information display device, electronic equipment and a storage medium, and belongs to the technical field of multimedia. The method comprises the following steps: acquiring interaction behavior information of at least one virtual space, wherein the interaction behavior information is used for representing various interaction behaviors in the at least one virtual space; determining a target interaction behavior from the multiple interaction behaviors based on the interaction behavior information, wherein the target interaction behavior is the interaction behavior with the behavior occurrence frequency not less than the occurrence frequency threshold; and sending a prompt instruction of the target interaction behavior to at least one audience client in at least one virtual space, wherein the prompt instruction is used for instructing the at least one audience client to display a prompt control, and a behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior are displayed in the prompt control. The method enables the audience to trigger the interaction behavior through the behavior entrance of the interaction behavior displayed on the audience client, is convenient and quick, and can remarkably improve the interaction amount of at least one virtual space.

Description

Information display method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of multimedia technologies, and in particular, to an information display method and apparatus, an electronic device, and a storage medium.
Background
In recent years, live broadcast has become a popular trend and is spread in the mass life. Generally, a live broadcast platform provides multiple interactive modes for a virtual space, and the multiple interactive modes comprise paying attention to a main broadcast, adding a pink silk ball, sharing the virtual space, delivering a gift or shopping and the like. The audience can interact in the virtual space by clicking the control corresponding to the interactive mode. For example, the viewer focuses on the anchor of the virtual space by clicking on a focus button. However, the audience can only interact by triggering the control corresponding to the interaction behavior, and the playing method is single. How to enrich the playing methods of the audience participating in the interaction in the virtual space becomes the key point of the research in the industry.
Disclosure of Invention
The present disclosure provides an information display method, an information display apparatus, an electronic device, and a storage medium, which can significantly improve the amount of interaction in a virtual space. The technical scheme of the disclosure is as follows:
according to an aspect of the embodiments of the present disclosure, there is provided an information display method including:
acquiring interaction behavior information of at least one virtual space, wherein the interaction behavior information is used for representing various interaction behaviors in the at least one virtual space;
determining a target interaction behavior from the multiple interaction behaviors based on the interaction behavior information, wherein the target interaction behavior refers to the interaction behavior with behavior occurrence times not less than an occurrence time threshold;
and sending a prompt instruction of the target interaction behavior to at least one audience client of the at least one virtual space, wherein the prompt instruction is used for instructing the at least one audience client to display a prompt control, and a behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior are displayed in the prompt control.
According to another aspect of the embodiments of the present disclosure, there is provided an information display method including:
acquiring a prompt instruction of a target interaction behavior in a virtual space;
displaying a prompt control in the virtual space based on the prompt instruction of the target interaction behavior, wherein a behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior are displayed in the prompt control;
and executing the target interaction behavior in the virtual space in response to the triggering operation of the behavior entry.
According to another aspect of the embodiments of the present disclosure, there is provided an information display device including:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is configured to acquire interactive behavior information of at least one virtual space, and the interactive behavior information is used for representing various interactive behaviors in the at least one virtual space;
the first determining unit is configured to determine a target interaction behavior from the multiple interaction behaviors based on the interaction behavior information, wherein the target interaction behavior is an interaction behavior with behavior occurrence times not less than an occurrence time threshold;
a sending unit, configured to execute a prompt instruction for sending the target interaction behavior to at least one viewer client in the at least one virtual space, where the prompt instruction is used to instruct the at least one viewer client to display a prompt control, and a behavior entry of the target interaction behavior and a behavior occurrence frequency of the target interaction behavior are displayed in the prompt control.
In some embodiments, the first obtaining unit includes:
a first determining subunit configured to perform, for any one of the at least one virtual space, determining a current operation time period based on an operation time period of the virtual space and a first segment time period, the first segment time period representing a time period of each operation time period;
a first obtaining subunit configured to perform obtaining of the interaction behavior information of the virtual space in the current operation time period.
In some embodiments, the apparatus further comprises:
the second acquisition unit is configured to execute acquisition of first behavior distribution information of multiple interactive behaviors of the virtual space in a historical operation process, wherein the first behavior distribution information is used for representing the distribution situation of the behavior occurrence times of the corresponding interactive behaviors in the historical operation process;
and the second determining unit is configured to execute first behavior distribution information based on the multiple interactive behaviors, and determine the first segment time length according to the incidence relation between the behavior occurrence times and the time length of the interactive behaviors in the virtual space.
In some embodiments, the apparatus further comprises:
and the third determining unit is configured to determine the threshold of the occurrence times of the multiple interactive behaviors in each operation time period according to the frequency of the multiple interactive behaviors in the virtual space based on the first behavior distribution information of the virtual space in the historical operation process.
In some embodiments, the first determining subunit is further configured to perform determining the current time period based on a target time period and a second segment time period, the second segment time period representing a time period of each time period within the target time period;
the first acquiring subunit is further configured to perform acquisition of interaction behavior information of the at least one virtual space that is running in the current time period.
In some embodiments, the second obtaining unit is further configured to perform obtaining second behavior distribution information of a plurality of interactive behaviors in the historical duration period, where the second behavior distribution information is used to indicate a distribution of behavior occurrence times of corresponding interactive behaviors in the historical duration period;
the second determining unit is further configured to execute second behavior distribution information based on the multiple interactive behaviors, and determine the second segment duration according to the incidence relation between the occurrence times and durations of the behaviors of the interactive behaviors.
In some embodiments, the first obtaining unit is further configured to perform obtaining a number of occurrences of a plurality of interactive behaviors in the at least one virtual space within a historical period of time;
the third determining unit is further configured to perform determining a threshold value of the occurrence times of the multiple interactive behaviors in the current time period based on the occurrence times of the multiple interactive behaviors.
In some embodiments, the third determining unit is further configured to, for any interactive behavior, obtain at least one behavior occurrence number of the interactive behavior in the at least one virtual space within the historical time period; and taking the average value of the at least one behavior occurrence frequency as the threshold value of the occurrence frequency of the interactive behavior in the current time period.
In some embodiments, the first obtaining unit is further configured to perform obtaining of the interaction behavior information of the at least one virtual space belonging to the target type.
In some embodiments, the second obtaining unit is further configured to perform obtaining third behavior distribution information of at least one virtual space belonging to the target type, where the third behavior distribution information is used to indicate a distribution of behavior occurrence times of corresponding interactive behaviors;
the third determining unit is further configured to perform determining a threshold of occurrence times of the multiple interactive behaviors based on third behavior distribution information of the multiple interactive behaviors.
In some embodiments, the first determining unit includes:
the second acquiring subunit is configured to execute, in response to the occurrence frequency of the at least two interactive behaviors being not less than the corresponding occurrence frequency threshold, acquiring the behavior priority of the at least two interactive behaviors;
the second determining subunit is configured to determine, as the target interactive behavior, an interactive behavior with the highest priority in the at least two interactive behaviors.
In some embodiments, the sending unit includes:
a third obtaining subunit, configured to execute obtaining of jump information of a behavior entry of the target interaction behavior;
a generating subunit, configured to execute a prompt instruction based on the jump information of the behavior entry and the behavior occurrence number of the target interaction behavior, and generate the target interaction behavior;
a transmitting subunit configured to perform transmitting the cue instructions to at least one viewer client of the at least one virtual space.
In some embodiments, the prompt for the target interaction behavior further comprises at least one of:
behavior identification of the target interaction behavior;
the first description information of the target interaction behavior is used for describing the behavior occurrence times of the target interaction behavior;
second description information of the target interaction behavior, wherein the second description information is used for describing a behavior entry of the target interaction behavior;
and when the target interaction behavior is a gift giving gift, the gift identification is associated with the target interaction behavior.
In some embodiments, the transmitting subunit includes:
a first acquisition subunit configured to execute a transmission number threshold for acquiring a prompt instruction transmitted to the at least one virtual space within a unit time;
a second acquiring subunit configured to perform acquiring the sent times of the cue instruction in the at least one virtual space in the unit time;
a sending subunit configured to execute sending the cue instruction to at least one viewer client of the at least one virtual space if the sent number is less than the sent number threshold.
In some embodiments, the sending subunit is configured to, in a case that the sent number is smaller than the sending number threshold, obtain a sending time interval between a last time when the cue instruction was sent and a current time in the at least one virtual space; and sending the prompt instruction to at least one viewer client of the at least one virtual space under the condition that the sending time interval is not less than a first freezing time length, wherein the first freezing time length is the minimum interval time length for sending the prompt instruction.
According to another aspect of the embodiments of the present disclosure, there is provided an information display device including:
the acquisition unit is configured to execute a prompt instruction for acquiring the target interaction behavior in the virtual space;
the display unit is configured to execute a prompt instruction based on the target interaction behavior, and display a prompt control in the virtual space, wherein a behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior are displayed in the prompt control;
an execution unit configured to execute the target interaction behavior in the virtual space in response to a trigger operation on the behavior entry.
In some embodiments, the obtaining unit is configured to execute, in response to receiving a prompt instruction of at least two interactive behaviors in the virtual space, obtaining behavior priorities of the at least two interactive behaviors; determining the interaction behavior with the highest action priority in the at least two interaction behaviors as the target interaction behavior; and acquiring a prompt instruction of the target interaction behavior.
In some embodiments, the display unit includes:
a first obtaining subunit, configured to perform obtaining a prompt time threshold of a prompt control in the virtual space in a unit time;
a second acquiring subunit configured to perform acquiring the number of times a prompt control in the virtual space has been prompted within the unit time;
a display subunit configured to perform, in a case where the prompted number is smaller than the prompted number threshold, displaying the prompt control in the virtual space.
In some embodiments, the display subunit is configured to execute, in a case that the prompted number is smaller than the prompt number threshold, acquiring a prompt time interval between the time of the last prompting control in the virtual space and the current time; and under the condition that the prompt time interval is not less than a second freezing time length, displaying the prompt control in the virtual space, wherein the second freezing time length is the minimum interval time length for displaying the prompt control.
In some embodiments, the execution unit is configured to execute, in response to a trigger operation on the behavior entry, displaying an object presentation page, where the object presentation page is used to present an object published by the virtual space; and responding to the acquisition operation of any object, and executing the target interaction behavior in the virtual space.
According to another aspect of the embodiments of the present disclosure, there is provided an electronic device including:
one or more processors;
a memory for storing the processor executable program code;
wherein the processor is configured to execute the program code to implement the above-described information display method.
According to another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium in which program codes, when executed by a processor of an electronic device, enable the electronic device to perform the above-described information display method.
According to another aspect of the embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the above-described information display method.
According to the scheme provided by the embodiment of the disclosure, the interactive behavior information representing various interactive behaviors in at least one virtual space is obtained, and under the condition that the behavior occurrence frequency of any interactive behavior exceeds the occurrence frequency threshold, the server can send the prompt instruction of the interactive behavior to the audience client side of the at least one virtual space, so that the behavior entry containing the interactive behavior and the prompt control of the behavior occurrence frequency are displayed on the audience client side, the audience can trigger the interactive behavior through the behavior entry, the triggering mode is convenient and fast, the interactive amount of the virtual space can be remarkably improved, and the atmosphere of the virtual space is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory 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 present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic diagram illustrating an implementation environment of an information display method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating an information display method according to an example embodiment.
Fig. 3 is a flow chart illustrating another method of displaying information according to an example embodiment.
FIG. 4 is an interactive flow diagram illustrating a method of displaying information, according to an exemplary embodiment.
Fig. 5 is a schematic diagram illustrating an information display method according to an example embodiment.
FIG. 6 is a diagram illustrating a prompt control, according to an exemplary embodiment.
FIG. 7 is a diagram illustrating a display of a cueing control in virtual space in accordance with an exemplary embodiment.
Fig. 8 is an interaction flow diagram illustrating another method of displaying information in accordance with an example embodiment.
Fig. 9 is an interaction flow diagram illustrating another method of displaying information, according to an example embodiment.
Fig. 10 is a block diagram illustrating an information display apparatus according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating another information display apparatus according to an example embodiment.
Fig. 12 is a block diagram illustrating another information display apparatus according to an example embodiment.
Fig. 13 is a block diagram illustrating another information display apparatus according to an example embodiment.
Fig. 14 is a block diagram illustrating a terminal according to an example embodiment.
FIG. 15 is a block diagram illustrating a server in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood, the technical solutions in 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 above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are examples of apparatus and methods consistent with certain aspects of the present disclosure, as recited in the claims below.
It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals referred to in this disclosure are authorized by the user or fully authorized by various parties, and the collection, use and processing of the relevant data is required to comply with relevant laws and regulations and standards in relevant countries and regions. For example, the interactive behavior information referred to in this disclosure is obtained with sufficient authorization.
To facilitate understanding, terms related to the present disclosure are explained below.
kafka: the system is a distributed, high-throughput and high-expansibility message queue system. The method can process all the action flow data of a user in a website, and is mainly applied to a log collection system and a message system.
Redis (Remote Dictionary Server): is a key-value storage system. It supports relatively more stored value types, including string, list, set, sorted set, and hash.
incr + +: is a storage command in redis storage, and each time the command is executed, the value of the digital value stored in the key is increased by one. If the key does not exist, the value of the key is initialized to 0, and then the corresponding operation is performed. If the value contains the type of error, or the value of the string type cannot be represented as a number, an error is returned.
Fig. 1 is a schematic diagram illustrating an implementation environment of an information display method according to an exemplary embodiment. Taking the electronic device as an example provided as a server, referring to fig. 1, the implementation environment includes: a terminal 101 and a server 102.
The terminal 101 is at least one of a smartphone, a smartwatch, a desktop computer, a laptop computer, an MP3 player, an MP4 player, a laptop, and the like. An application is installed and run on the terminal 101, and a user can log in the application through the terminal 101 to acquire a service provided by the application. The terminal 101 can be connected to the server 102 through a wireless network or a wired network, and can further receive a prompt instruction of the target interaction behavior sent by the server 102.
The terminal 101 generally refers to one of a plurality of terminals, and the present embodiment is illustrated with the terminal 101. Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminals may be several, or the number of the terminals may be several tens or several hundreds, or more, and the number of the terminals and the type of the device are not limited in the embodiments of the present disclosure.
The server 102 is at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 102 can be connected with the terminal 101 and other terminals through a wireless network or a wired network, and the server 102 can send a prompt instruction of the target interactive behavior to the terminal 101, so that the terminal 101 can display a behavior entry and behavior occurrence times of the target interactive behavior based on the prompt instruction. In some embodiments, the number of the servers may be more or less, and the embodiments of the present disclosure do not limit this. Of course, the server 102 may also include other functional servers to provide more comprehensive and diverse services.
Fig. 2 is a flowchart illustrating an information display method according to an exemplary embodiment, referring to fig. 2, the information display method is applied to a server, and includes the following steps:
in step S201, the server obtains interaction behavior information of at least one virtual space, where the interaction behavior information is used to represent a plurality of interaction behaviors in the at least one virtual space.
In an embodiment of the present disclosure, the at least one virtual space is a virtual space that operates in dependence on the server. The at least one virtual space may be one virtual space, multiple virtual spaces within the same time period, or multiple virtual spaces of the same type, or multiple virtual spaces of different types, which is not limited in the embodiments of the present disclosure. The virtual space may be a live room or a virtual room, which is not limited by the embodiments of the present disclosure. The multiple interactive behaviors include paying attention to the anchor of the virtual space, adding a gummy ball, sharing the virtual space, giving a gift, or shopping, and the like, which is not limited in the embodiment of the disclosure. For any virtual space, the audience of the virtual space can perform the above-mentioned various interactive behaviors in the virtual space through the audience client, so as to realize interaction with the main player in the virtual space. And the server obtains the interactive behavior information of the virtual space by recording the multiple interactive behaviors in the virtual space and the occurrence times of each interactive behavior in the virtual space.
For example, the viewer in the virtual space can trigger the operation corresponding to the anchor, the operation corresponding to adding the fan cluster, and the operation corresponding to sharing the virtual space through the viewer client, so that the viewer client executes the interactive behavior of the anchor, the fan cluster and the virtual space. The server can record the interactive behavior appearing in the virtual space to obtain the interactive behavior information of the virtual space. The interactive behavior information can not only represent three interactive behaviors of paying attention to the anchor in the virtual space, adding the pink silk ball, sharing the virtual space and the like, but also represent the corresponding occurrence times of the three interactive behaviors in the virtual space.
In step S202, the server determines a target interactive behavior from the multiple interactive behaviors based on the interactive behavior information, where the target interactive behavior is an interactive behavior whose behavior occurrence number is not less than an occurrence number threshold.
In the embodiment of the present disclosure, for any interactive behavior, the behavior occurrence number of the interactive behavior refers to the occurrence number recorded in the interaction information of the at least one virtual space. The occurrence threshold is used for screening the target interaction behaviors of which the occurrence times meet the conditions. The threshold value of the occurrence times of the multiple interactive behaviors may be equal or unequal, and this is not limited in the embodiment of the present disclosure. The threshold values of the occurrence times of the same kind of interaction behaviors in different virtual spaces may be equal or different, which is not limited in the embodiments of the present disclosure. For any interactive behavior, under the condition that the occurrence frequency of the interactive behavior is not less than the occurrence frequency threshold of the interactive behavior, the interactive behavior is represented to frequently occur in the at least one virtual space, and then the interactive behavior is determined as the target interactive behavior.
For example, the interactive behavior information represents three interactive behaviors of focusing on a main broadcasting, adding a pink silk ball and sharing a virtual space in the virtual space. Wherein the occurrence frequency of the anchor-concerned behavior is 100 times, the occurrence frequency of the behavior of adding the vermicelli dough is 90 times, and the occurrence frequency of the behavior of sharing the virtual space is 86 times. The threshold number of occurrences for the above three interactive behaviors is 95. And determining that the target interactive behavior is the attention anchor from the three interactive behaviors because the occurrence frequency of the behavior of the attention anchor is not less than the occurrence frequency threshold.
In step S203, the server sends a prompt instruction of the target interaction behavior to at least one viewer client in at least one virtual space, where the prompt instruction is used to instruct the at least one viewer client to display a prompt control, and a behavior entry of the target interaction behavior and a behavior occurrence frequency of the target interaction behavior are displayed in the prompt control.
In an embodiment of the disclosure, the viewer client is a client used by a viewer of the at least one virtual space. And under the condition that the target interactive behaviors are determined, the server can respectively send prompt instructions of the target interactive behaviors to the audience client terminals used by the audiences of the at least one virtual space. For any audience client, the audience client can display a prompt control based on the prompt instruction, the prompt control is used for presenting the behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior to the audience in the virtual space so as to prompt the audience in the virtual space that the target interaction behavior frequently occurs, and prompt the audience to execute the target interaction behavior by triggering the behavior entry to quickly imitate other audiences.
According to the scheme provided by the embodiment of the disclosure, the interactive behavior information representing various interactive behaviors in at least one virtual space is obtained, and under the condition that the behavior occurrence frequency of any interactive behavior exceeds the occurrence frequency threshold, the server can send the prompt instruction of the interactive behavior to the audience client side of the at least one virtual space, so that the behavior entry containing the interactive behavior and the prompt control of the behavior occurrence frequency are displayed on the audience client side, the audience can trigger the interactive behavior through the behavior entry, the triggering mode is convenient and fast, the interactive amount of the virtual space can be remarkably improved, and the atmosphere of the virtual space is further improved.
In some embodiments, obtaining the interaction behavior information of at least one virtual space comprises:
for any virtual space in at least one virtual space, determining a current operation time period based on the operation time length of the virtual space and a first segment time length, wherein the first segment time length represents the time length of each operation time period;
and acquiring the interaction behavior information of the virtual space in the current operation time period.
According to the scheme provided by the embodiment of the disclosure, for any virtual space, the running process of the virtual space is segmented according to the first segmentation duration, the interaction behavior information of the virtual space is obtained in a segmented manner, and a prompt instruction can be timely sent to the audience client side under the condition that the target interaction behavior is determined based on the interaction behavior information of the current running time period, so that the audience can timely know that the target interaction behavior frequently appears in the virtual space, and the audience is promoted to trigger the operation corresponding to the target interaction behavior based on the audience client side.
In some embodiments, the method further comprises:
acquiring first behavior distribution information of multiple interactive behaviors of a virtual space in a historical operation process, wherein the first behavior distribution information is used for representing the distribution condition of the behavior occurrence times of the corresponding interactive behaviors in the historical operation process;
and determining the first segment time length according to the incidence relation between the behavior occurrence times and the time length of the interactive behaviors in the virtual space based on the first behavior distribution information of the multiple interactive behaviors.
According to the scheme provided by the embodiment of the disclosure, the first segment time length can be determined according to the incidence relation between the occurrence times and the time length of the interactive behaviors in the virtual space by acquiring the first behavior distribution information of the multiple interactive behaviors in the historical operation process of the virtual space, so that the interaction amount of the virtual space can be improved after the operation process of the virtual space is divided based on the first segment time length.
In some embodiments, the method further comprises:
and determining the occurrence frequency threshold of various interactive behaviors in each operation time period according to the occurrence frequency of various interactive behaviors in the virtual space based on the first behavior distribution information of the virtual space in the historical operation process.
According to the scheme provided by the embodiment of the disclosure, the occurrence frequency threshold of each interactive behavior is determined according to the occurrence frequency of the multiple interactive behaviors through behavior distribution information of the multiple interactive behaviors in the historical operation process, so that the occurrence frequency threshold can reflect the common occurrence frequency of each interactive behavior in the virtual space, the target interactive behavior determined based on the occurrence frequency threshold is more consistent with the interactive condition of the virtual space, and the interaction amount of the virtual space can be improved through the prompt instruction of the target interactive behavior.
In some embodiments, obtaining the interaction behavior information of at least one virtual space comprises:
determining a current time period based on the target time period and a second segment time period, wherein the second segment time period represents the time of each time period in the target time period;
and acquiring interaction behavior information of at least one virtual space running in the current time period.
According to the scheme provided by the embodiment of the disclosure, the target time length period is divided according to the sectional time length, the interactive behavior information of at least one virtual space is obtained in a sectional mode, the target interactive behavior in the current time length can be determined based on the interactive behavior information in the current time length, and therefore the client side of the audience is prompted timely according to the target interactive behavior in the current time length, so that the audience can conveniently adopt the target interactive behavior for interaction, and the man-machine interaction efficiency is improved.
In some embodiments, the method further comprises:
acquiring second behavior distribution information of multiple interactive behaviors in the historical time period, wherein the second behavior distribution information is used for representing the distribution condition of the behavior occurrence times of the corresponding interactive behaviors in the historical time period;
and determining a second segment time length according to the incidence relation between the occurrence times and the time length of the behavior of the interactive behavior based on the second behavior distribution information of the multiple interactive behaviors.
According to the scheme provided by the embodiment of the disclosure, the second segment duration can be determined according to the incidence relation between the occurrence frequency and the duration of the behavior of the interactive behavior in the at least one virtual space by acquiring the second behavior distribution information of the multiple interactive behaviors in the at least one virtual space in the historical duration period, so that the mutual amount of the virtual space can be improved after the target duration period is divided based on the second segment duration.
In some embodiments, the method further comprises:
acquiring the behavior occurrence times of various interactive behaviors in at least one virtual space in a historical time period;
and determining the occurrence frequency threshold of the multiple interactive behaviors in the current time period based on the occurrence frequency of the multiple interactive behaviors.
According to the scheme provided by the embodiment of the disclosure, the occurrence frequency threshold of each interactive behavior is determined through the occurrence frequency of a plurality of interactive behaviors in at least one virtual space in a historical time period, so that the occurrence frequency threshold can reflect the common occurrence frequency of each interactive behavior in the at least one virtual space, the target interactive behavior determined based on the occurrence frequency threshold is more consistent with the interactive condition of the at least one virtual space in the current time period, and the interaction amount of the at least one virtual space can be improved by the prompt instruction of the target interactive behavior.
In some embodiments, determining the threshold number of occurrences of the plurality of interactive behaviors in the current time period based on the number of occurrences of the behavior of the plurality of interactive behaviors includes:
for any interactive behavior, acquiring at least one behavior occurrence frequency of the interactive behavior in at least one virtual space in a historical time period;
and taking the mean value of the occurrence times of the at least one behavior as the threshold value of the occurrence times of the interactive behaviors in the current time period.
According to the scheme provided by the embodiment of the disclosure, the occurrence frequency threshold of the interactive behavior is determined through the mean value of the occurrence frequencies of the behavior of the interactive behavior in the at least one virtual space, so that the occurrence frequency threshold can reflect the average occurrence frequency of the interactive behavior in the at least one virtual space, and the target interactive behavior determined based on the occurrence frequency threshold is more consistent with the interaction situation of the at least one virtual space in the current time period, which is related to the interactive behavior, so that the interaction amount of the at least one virtual space can be improved through the prompt instruction of the target interactive behavior.
In some embodiments, obtaining the interaction behavior information of at least one virtual space comprises:
and determining the interaction behavior information of at least one virtual space belonging to the target type.
According to the scheme provided by the embodiment of the disclosure, the interaction behavior information of the virtual space belonging to the target type is acquired according to the type of the virtual space, and the target interaction behavior in the virtual space belonging to the target type can be determined based on the interaction behavior information, so that the target interaction behaviors determined by different types of virtual spaces have diversity.
In some embodiments, the method further comprises:
acquiring third behavior distribution information of at least one virtual space belonging to the target type, wherein the third behavior distribution information is used for representing the distribution condition of behavior occurrence times of corresponding interactive behaviors;
and determining the occurrence frequency threshold of the multiple interactive behaviors based on the third behavior distribution information of the multiple interactive behaviors.
According to the scheme provided by the embodiment of the disclosure, the occurrence frequency threshold of the interactive behavior is determined according to the distribution condition of the occurrence frequency of the behavior of the interactive behavior in the at least one virtual space, so that the occurrence frequency threshold can reflect the common occurrence frequency of each interactive behavior in the virtual space of the target type, the target interactive behavior determined based on the occurrence frequency threshold better conforms to the interaction condition of the virtual space of the target type, and the interaction amount of the virtual space of the target type can be improved by the prompt instruction of the target interactive behavior.
In some embodiments, determining the target interaction behavior from a plurality of interaction behaviors based on the interaction behavior information comprises:
responding to the situation that the occurrence times of at least two interactive behaviors are not less than the corresponding occurrence time threshold value, and acquiring the behavior priority of the at least two interactive behaviors;
and determining the interaction behavior with the highest action priority in the at least two interaction behaviors as the target interaction behavior.
According to the scheme provided by the embodiment of the disclosure, by setting the behavior priority, under the condition that the occurrence frequency of two or more interactive behaviors is not less than the corresponding occurrence frequency threshold, the interactive behavior with the highest behavior priority is determined from the two or more interactive behaviors as the target interactive behavior. The higher the behavior priority of the interactive behavior is, the greater the contribution of the interactive behavior to the virtual space is generally represented, so that the contribution to the virtual space can be improved by sending a prompt instruction of the target interactive behavior with the highest behavior priority to the client.
In some embodiments, sending a cue instruction to at least one viewer client of at least one virtual space based on the target interaction behavior comprises:
acquiring jump information of a behavior entry of a target interaction behavior;
generating a prompt instruction of the target interaction behavior based on the jump information of the behavior entry and the behavior occurrence frequency of the target interaction behavior;
the cueing instructions are transmitted to at least one viewer client of the at least one virtual space.
According to the scheme provided by the embodiment of the disclosure, the prompt instruction of the target interaction behavior is generated through the jump information and the behavior occurrence frequency of the behavior entry of the target interaction behavior, so that the behavior entry and the behavior occurrence frequency can be presented to the audience of at least one virtual space by the audience client, the audience can visually know the behavior occurrence frequency of the target interaction behavior in the at least one virtual space, the audience is further promoted to trigger the target interaction behavior through the behavior entry, and the triggering mode is convenient and fast.
In some embodiments, the prompt for target interaction behavior further comprises at least one of:
behavior identification of the target interaction behavior;
first description information of the target interaction behavior, wherein the first description information is used for describing the behavior occurrence times of the target interaction behavior;
second description information of the target interaction behavior, wherein the second description information is used for describing a behavior entry of the target interaction behavior;
and when the target interactive behavior is a gift, the gift identification is associated with the target interactive behavior.
According to the scheme provided by the embodiment of the disclosure, the prompt instruction is generated through at least one item of the behavior identifier of the target interaction behavior, the first description information, the second description information and the gift identifier associated with the target interaction behavior, so that the audience client can obtain richer information related to the target interaction behavior, and therefore, the audience is promoted to execute the operation corresponding to the target interaction behavior through the audience account.
In some embodiments, sending cue instructions to at least one viewer client of at least one virtual space comprises:
acquiring a sending time threshold value for sending a prompt instruction to the at least one virtual space in unit time;
acquiring the sent times of the prompt instruction in at least one virtual space in unit time;
and in the case that the sent times are less than the sent times threshold value, sending a prompt instruction to at least one viewer client of the at least one virtual space.
According to the scheme provided by the embodiment of the disclosure, by setting the sending time threshold for sending the prompt instruction to the at least one virtual space in unit time, the prompt instruction of the target interaction behavior can be avoided being frequently sent, so that not only can the running consumption be reduced, but also the experience of the audience in the virtual space can be improved.
In some embodiments, in the event the number of sent times is less than the number of sent times threshold, sending a cue instruction to at least one viewer client of the at least one virtual space comprises:
under the condition that the sent times are smaller than the threshold value of the sent times, the sending time interval between the last time of sending the prompt instruction and the current time of at least one virtual space is obtained;
and under the condition that the sending time interval is not less than a first freezing time length, sending a prompt instruction to at least one viewer client of at least one virtual space, wherein the first freezing time length is a minimum interval time length for sending the prompt instruction.
According to the scheme provided by the embodiment of the disclosure, the first freezing time length is set, the minimum interval time length of the prompt instruction of the target interaction behavior sent twice in the adjacent time is ensured, the prompt instruction of the target interaction behavior is avoided being frequently sent, the operation consumption can be reduced, and the experience of audiences in a virtual space can be improved.
Fig. 3 is a flowchart illustrating another information display method according to an exemplary embodiment, referring to fig. 3, the information display method applied to a terminal, including the steps of:
in step S301, the terminal obtains a prompt instruction of a target interaction behavior in the virtual space.
In the embodiment of the present disclosure, the terminal is the terminal 101 shown in fig. 1, and the terminal 101 is installed with a viewer client capable of displaying an application program of a virtual space, and the viewer client can be used for viewing the virtual space. The target interaction behavior may be to pay attention to the anchor of the virtual space, join the masquerade, share the virtual space, give a gift, or shop, and the like, which is not limited in the embodiment of the present disclosure. When a viewer watches a virtual space through a viewer client in the terminal 101, the terminal 101 can receive a prompt instruction of a target interaction behavior sent by the server based on the viewer client.
For example, taking the virtual space as a live room, the target interactive behavior is anchor attention. When a viewer watches the live broadcast through a viewer client installed on the terminal, the terminal can receive a prompt instruction corresponding to the attention anchor sent by the server based on the viewer client.
In step S302, the terminal displays a prompt control in the virtual space based on the prompt instruction of the target interaction behavior, where the prompt control displays a behavior entry of the target interaction behavior and a behavior occurrence frequency of the target interaction behavior.
In the embodiment of the present disclosure, the prompt control may be a button, a pop-up window, or a floating window, which is not limited in the embodiment of the present disclosure. The prompt control may be displayed at any position in the virtual space, such as the top of the virtual space, the left side of the virtual space, or the bottom of the comment area in the virtual space, which is not limited in this disclosure. The behavior entry may be a link text of the target interaction behavior, or may also be a jump button of the target interaction behavior, which is not limited in this disclosure. And the audience client installed on the terminal can present the behavior entry and the behavior occurrence frequency of the target interaction behavior in the prompt control of the virtual space based on the prompt instruction of the target interaction behavior. In the process of watching, the audience in the virtual space can visually see the behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior through the prompt control displayed in the virtual space.
In step S303, in response to the triggering operation on the behavior entry, the terminal executes the target interaction behavior in the virtual space.
In the embodiment of the present disclosure, the audience in the virtual space can intuitively know the condition that other audiences trigger the target interaction behavior in the virtual space by the behavior occurrence frequency of the target interaction behavior displayed in the virtual space. After knowing the occurrence number of the target interaction behavior, the audience in the virtual space can simulate other audiences by triggering the behavior entrance, and the target interaction behavior is executed based on the audience client.
According to the scheme provided by the embodiment of the disclosure, the prompt instruction of the target interaction behavior is obtained, so that the behavior entry containing the target interaction behavior and the prompt control of the behavior occurrence times can be displayed, audiences can execute the target interaction behavior by triggering the behavior entry, the triggering mode is convenient and fast, the interaction amount of the virtual space can be remarkably improved, and the atmosphere of the virtual space is further improved.
In some embodiments, obtaining a prompt instruction for a target interaction behavior in a virtual space includes:
responding to a received prompt instruction of at least two interactive behaviors in the virtual space, and acquiring behavior priorities of the at least two interactive behaviors;
determining the interaction behavior with the highest action priority in the at least two interaction behaviors as a target interaction behavior;
and determining a prompt instruction of the target interaction behavior based on the target interaction behavior.
According to the scheme provided by the embodiment of the disclosure, by setting the behavior priority, under the condition that the prompt instructions of two or more kinds of interaction behaviors are received, the prompt instruction of the interaction behavior with the highest behavior priority can be determined. Since the higher the priority of the interactive behavior is, the greater the contribution of the interactive behavior to the virtual space is, the contribution to the virtual space can be increased by the prompt instruction of the target interactive behavior with the highest priority.
In some embodiments, displaying a cueing control in the virtual space based on the cueing instructions comprises:
acquiring a prompting frequency threshold value of a prompting control in the virtual space in unit time;
acquiring the number of times of prompting of a prompting control in the virtual space in unit time;
and displaying the prompt control in the virtual space under the condition that the prompted times are smaller than the prompt time threshold value.
According to the scheme provided by the embodiment of the disclosure, the prompt times threshold of the prompt control in the virtual space in unit time is set, so that the prompt control frequently displaying the target interaction behavior can be avoided, the operation consumption can be reduced, and the experience of audiences in the virtual space can be improved.
In some embodiments, in the event that the number of reminders is less than the number of reminders threshold, displaying a reminder box in virtual space includes:
under the condition that the prompted times are smaller than a prompted time threshold value, acquiring a prompted time interval between the last time of prompting the control in the virtual space and the current time;
and under the condition that the prompting time interval is not less than a second freezing time length, displaying a prompting control in the virtual space, wherein the second freezing time length is the minimum interval time length for displaying the prompting control.
According to the scheme provided by the embodiment of the disclosure, the second freezing duration is set, so that the minimum interval duration of the prompt control for displaying the target interaction behavior twice is ensured, the prompt control for frequently displaying the target interaction behavior is avoided, the operation consumption can be reduced, and the experience of audiences in a virtual space can be improved.
In some embodiments, the target interaction behavior is used to obtain objects published by a virtual space;
in response to a triggering operation on the behavior entry, executing a target interaction behavior in the virtual space, comprising:
responding to the trigger operation of the behavior entry, and displaying an object display page, wherein the object display page is used for displaying the issued objects in the virtual space;
and responding to the acquisition operation of any object, and executing the target interaction behavior in the virtual space.
According to the scheme provided by the embodiment of the disclosure, the target interaction behavior is executed when the published object of the virtual space is acquired through the display object display page, the operation mode is convenient and fast, the interaction amount of the virtual space can be obviously improved, and the atmosphere of the virtual space is further improved.
Fig. 2 and fig. 3 are basic flow charts of the present disclosure, in which a server can process a plurality of virtual spaces synchronously based on a scheme provided by an embodiment of the present disclosure, and the scheme provided by the present disclosure is further described below by taking an example of sending a prompt instruction to a viewer client of a single virtual space based on interaction behavior information of the virtual space, and fig. 4 is an interaction flow chart of an information display method according to an exemplary embodiment. The information display method is applied to a server and a terminal, and referring to fig. 4, the method comprises the following steps:
in step S401, for any virtual space in at least one virtual space, the server determines a current operation time period based on an operation time period of the virtual space and a first segment time period, where the first segment time period represents a time period of each operation time period.
In the embodiment of the disclosure, the server can divide the operation process of the virtual space into a plurality of operation time segments by adopting a time division rule based on the first division time length. Wherein the time segmentation rule is a ratio of a difference between the current time and the start time to the first segmentation duration. Wherein, the difference between the current time and the starting time is the running time length. The server can determine the current operation time period through the operation time length and the first segment time length. The first segment duration is determined based on a historical operating process of the virtual space or set by an anchor of the virtual space, which is not limited by the embodiment of the present disclosure.
In some embodiments, the server is capable of determining the first segment duration based on historical operational procedures of the virtual space. Correspondingly, the process of the server determining the first segment duration is as follows: the server acquires first behavior distribution information of multiple interactive behaviors of the virtual space in a historical operation process. And then the server determines a first segment time length according to the incidence relation between the occurrence times and the time length of the interactive behaviors in the virtual space based on the first behavior distribution information of the multiple interactive behaviors. The first behavior distribution information is used for representing the distribution situation of the behavior occurrence times of the corresponding interaction behaviors in the historical operation process. According to the scheme provided by the embodiment of the disclosure, the first segment time length can be determined according to the incidence relation between the occurrence times and the time length of the interactive behaviors in the virtual space by acquiring the first behavior distribution information of the multiple interactive behaviors in the historical operation process of the virtual space, so that the interaction amount of the virtual space can be improved after the virtual space is divided based on the first segment time length.
For example, taking the example that the virtual space is a live broadcast room, the server obtains first behavior distribution information of multiple interactive behaviors in a historical live broadcast process of the live broadcast room in about 6 months, and then determines the occurrence frequency of each interactive behavior within 1 minute, 2 minutes and 10 minutes respectively. Taking data in 1 minute of the live broadcasting room as an example, the server determines that the anchor action appears for 2 times in 1 minute and covers 37.8 percent of audiences in the live broadcasting room; share live room behavior occurs 3 times, covering 44.4% of the audience in the live room; gift giving behavior occurs 2 times, covering 45.5% of the audience in the live broadcast room; the join fan cluster behavior occurred 2 times covering 20.18% of the viewers in the live room. The first segment duration can be obtained by establishing the incidence relation between the different durations and the occurrence frequency of the interaction behavior. It should be noted that, the time lengths of 1 minute, 2 minutes, 10 minutes, and the like are exemplified in the present disclosure, the manner of obtaining the first segment time length is not limited in the embodiments of the present disclosure, for example, the server can also determine the first segment time length by calculating characteristic values, such as a maximum value, a median, and an arithmetic mean.
It should be noted that the server can also determine the general first segment duration based on the behavior distribution information of the plurality of virtual spaces, so as to decouple the first segment duration from the virtual spaces, improve the general applicability of the first segment duration, and reduce the resource consumption for calculating the first segment duration for each virtual space.
It should be noted that, the server can also determine the threshold of the occurrence times of the multiple interactive behaviors in each operation time period according to the frequency of the multiple interactive behaviors in the virtual space based on the first behavior distribution information of the virtual space in the historical operation process. According to the scheme provided by the embodiment of the disclosure, the occurrence frequency threshold of each interactive behavior is determined according to the occurrence frequency of the multiple interactive behaviors through the first behavior distribution information of the multiple interactive behaviors in the historical operation process, so that the occurrence frequency threshold can reflect the common occurrence frequency of each interactive behavior in the virtual space, the target interactive behavior determined based on the occurrence frequency threshold is more consistent with the interactive condition of the virtual space, and the interaction amount of the virtual space can be improved by the prompt instruction of the target interactive behavior.
For example, taking the example that the virtual space is a live broadcast room, and the data of multiple live broadcast rooms in 1 minute is taken as an example, for a live broadcast peak period (such as 19-20 points per day), the occurrence frequency of different interactive behaviors in the live broadcast room is determined based on behavior distribution information of multiple interactive behaviors in the historical live broadcast process of multiple live broadcast rooms in the last 6 months. For the action of paying attention to the anchor, the live broadcasting days related to the action of paying attention to the anchor in one minute are 229.8 ten thousand, wherein the occurrence frequency of the action of paying attention to the anchor in 90% of live broadcasting rooms is less than or equal to 5 times; for the live broadcast room sharing behavior, the live broadcast days with the live broadcast room sharing behavior in one minute are all 81.2 ten thousand, wherein the occurrence frequency of 83% of the live broadcast room sharing behavior is less than or equal to 5 times. The server can determine the occurrence frequency threshold of each interactive behavior based on the occurrence frequency of each interactive behavior in the plurality of live broadcast rooms.
In some embodiments, the first segment duration is set by an anchor of the virtual space, and the server can directly obtain the first segment duration of the virtual space. Correspondingly, the process of the server determining the first segment duration is as follows: in response to the setting operation of the first segment duration, the server displays a setting page, and the setting page comprises an input control used for setting the first segment duration. In response to a triggering operation on the input control, the server determines a first segment duration of the virtual space. The method is simple to operate and low in operation consumption.
In step S402, the server obtains interaction behavior information of the virtual space in the current running time period, where the interaction behavior information is used to represent a plurality of interaction behaviors in the virtual space.
In the embodiment of the present disclosure, the audience in the virtual space can perform the above-mentioned various interactive behaviors in the virtual space through the audience client, so as to interact with the anchor in the virtual space. For any interactive behavior, the server can receive behavior information of the interactive behavior every time the interactive behavior occurs in the virtual space. And the server records the behavior occurrence times of the interactive behavior in the virtual space based on the behavior information of the interactive behavior. Thus, the server can acquire interactive behavior information representing a plurality of interactive behaviors in the virtual space.
For example, fig. 5 is a schematic diagram illustrating one method of displaying information, according to an example embodiment. Referring to fig. 5, the viewer can trigger a variety of interactive actions. For any interactive behavior, each time the viewer triggers the interactive behavior, the service corresponding to the interactive behavior produces a message. The message may be a kafka message. And the server records the behavior occurrence times of the interactive behavior in the virtual space based on the message of the interactive behavior. The recording mode can be an incr + + mode of redis storage. The number of occurrences of the interactive behavior is increased by one for each message acquired. The server uses String structure for storage. Each interactive behavior and the number of times of occurrence of the interactive behavior are stored in the server in the form of key-value pairs (key-values). A key (key) in the key-value pair is composed of a behavior prefix, a virtual space id (identity document), and a corresponding running time period. The key may have the structure: share _ livestreamId _ timeShare. Wherein, share is a behavior prefix, which represents a behavior of sharing a virtual space, livestreamId represents a virtual space identifier, and timestamp represents an operating time period. The value (value) in a key-value pair is the number of occurrences of the interaction behavior within the corresponding run time period. Based on the stored information, the server can acquire interactive behavior information representing a plurality of interactive behaviors in the virtual space.
It should be noted that the server is also capable of setting an expiration time (expiretime) of the stored key-value pairs. When the storage time of the key-value pair is not less than the expiration time, the server can delete the key-value pair. The method can save the memory of the server. The expiration time may be 18 hours, 20 hours, 24 hours, or the like, which is not limited in this disclosure.
In some embodiments, the server is capable of obtaining interactive behavior information for multiple virtual spaces simultaneously. The server records the behavior occurrence times of each interactive behavior in the plurality of virtual spaces. The server executes the corresponding operations of steps S403-S406 based on the interaction behavior information of the plurality of virtual spaces. In short, for any interactive behavior, in the case that the occurrence number of the interactive behavior is not less than the threshold value of the occurrence number of the interactive behavior, the server takes the interactive behavior as the target interactive behavior. And the server acquires the virtual space ID corresponding to the target interaction behavior based on the target interaction behavior. Then, the server determines a corresponding virtual space based on the virtual space ID, and sends a prompt instruction of the target interaction behavior to the audience client of the virtual space.
For example, with continued reference to fig. 5, the server records the occurrence number of behaviors of each of the interactive behaviors in the plurality of virtual spaces to obtain the interactive behavior information of the plurality of virtual spaces. The server divides the virtual space into a plurality of tasks by adopting a bucket dividing mode based on a slicing task computing framework. Each task records the interactive behavior in the virtual space that the task manages. The server scans the global virtual space and judges whether an interactive behavior meeting the trigger condition exists. Wherein the global virtual space refers to all virtual spaces managed by the server. The triggering condition is that the occurrence frequency of the interactive behavior is not less than the threshold value of the occurrence frequency of the interactive behavior. After determining the target interaction behavior, the server sends a prompt instruction of the target interaction behavior to the audience client side of the virtual space through a task corresponding to the virtual space where the interaction behavior is located.
The following describes in detail a process in which the server sends a prompt instruction of a target interactive behavior to a viewer client in the virtual space based on the interactive behavior information.
In step S403, the server determines a target interactive behavior from the multiple interactive behaviors based on the interactive behavior information, where the target interactive behavior is an interactive behavior whose behavior occurrence number is not less than an occurrence number threshold.
In the embodiment of the present disclosure, when the occurrence number of the behavior of the interactive behavior is not less than the occurrence number threshold, it is described that the interactive behavior frequently occurs in the virtual space. And the server determines frequently-occurring interactive behaviors as target interactive behaviors from the multiple interactive behaviors based on the interactive behavior information. And when the occurrence frequency of only one interactive behavior in the multiple interactive behaviors is not less than the threshold value of the occurrence frequency of the interactive behavior, the server determines that the interactive behavior is the target interactive behavior. And when the occurrence frequency of the multiple interactive behaviors in the multiple interactive behaviors is not less than the corresponding occurrence frequency threshold, the server determines that the multiple interactive behaviors are all target interactive behaviors.
In some embodiments, each of the interactive behaviors has a corresponding behavior priority, and when the occurrence frequency of the behavior in which the multiple interactive behaviors exist is not less than the corresponding occurrence frequency threshold, the server can determine the target interactive behavior based on the behavior priority. Correspondingly, the process of the server determining the target interaction behavior from the multiple interaction behaviors is as follows: and responding to the situation that the occurrence times of the at least two interactive behaviors are not less than the corresponding occurrence time threshold value, and the server acquires the behavior priority of the at least two interactive behaviors. And the server determines the interaction behavior with the highest action priority in the at least two interaction behaviors as the target interaction behavior. The server sets a priority parameter for each interactive behavior in advance. For any interactive behavior, the larger the priority parameter of the interactive behavior is, the higher the behavior priority of the interactive behavior is, or the larger the priority parameter of the interactive behavior is, the smaller the behavior priority of the interactive behavior is, which is not limited in the embodiment of the present disclosure. Wherein the server can set the priority parameter of the interaction behavior at a configuration management center (Kconf).
For example, taking the virtual space as a live broadcast room, the occurrence frequency of the behavior concerning the anchor and the occurrence frequency of the behavior sharing the live broadcast room are not less than the corresponding threshold values of the occurrence frequencies. The larger the priority parameter of the interactive behavior, the smaller the behavior priority of the interactive behavior. The priority parameter of the concerned anchor is 4, the priority parameter of the sharing live broadcast room is 3, and the priority of the behavior of the concerned anchor is lower than that of the behavior of the sharing live broadcast room. The server determines that the shared live room is the target interaction behavior.
It should be noted that the threshold of the occurrence times of the multiple interactive behaviors may be the same value or different values, which is not limited in the embodiment of the present disclosure.
For example, taking the virtual space as a live broadcast room as an example, the multiple interactive behaviors are three interactive behaviors of focusing on a main broadcast, adding a pink silk community, and sharing the live broadcast room in the live broadcast room respectively. The threshold of the occurrence times of the anchor is 100 times, the threshold of the occurrence times of the added vermicelli balls is 90 times, and the threshold of the occurrence times of the shared live broadcasting room is 80 times.
In step S404, the server obtains the jump information of the behavior entry of the target interaction behavior.
In the embodiment of the present disclosure, after determining the target interaction behavior, in order to provide a behavior entry of the target interaction behavior to the viewer client, the server needs to obtain jump information of the behavior entry. The jump information is used for executing the target interaction behavior by the audience client when the audience client triggers the behavior entrance. The jump information is also stored in the server in the form of a character string.
In some embodiments, when the target interaction behavior is shopping, the server can obtain address information of a shopping page corresponding to the virtual space. The server takes the address information of the shopping page as the jumping information of the behavior entrance of shopping. When the audience of the virtual space triggers the behavior entrance of shopping, the audience client can display the corresponding shopping page based on the address information of the shopping page. So that the viewer client can perform a shopping behavior based on the shopping operation in the shopping page.
In some embodiments, when the target interaction behavior is gift giving, the server can obtain address information of the gift corresponding to the virtual space. The server takes the address information of the gift as the jump information of the behavior entry giving the gift. If the gift is stored in the account of the audience account number of the virtual space, when the audience of the virtual space triggers a behavior entry for presenting the gift by the audience client logged in with the audience account number, the audience client can directly present the gift to the virtual space based on the address information of the gift.
In some embodiments, when the target interaction behavior is gift giving, the server is further capable of obtaining address information of a gift page corresponding to the virtual space. The server takes the address information of the gift page as the jump information of the behavior entry giving the gift. If the gift is not stored in the account of the audience account number of the virtual space, when the audience of the virtual space triggers a behavior entry giving the gift by logging in the audience client of the audience account number, the audience client can display the corresponding gift page based on the address information of the gift page. So that the viewer can gift the gift to the virtual space based on the gift page redeeming the gift. Alternatively, the viewer can select other gifts stored in the account based on the gift page, and the viewer client gifts the gift to the virtual space based on the selected gift.
In step S405, the server generates a prompt instruction of the target interaction behavior based on the jump information of the behavior entry and the behavior occurrence frequency of the target interaction behavior, where the prompt instruction is used to instruct at least one viewer client to display a prompt control, and the prompt control displays the behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior.
In the embodiment of the present disclosure, the prompt instruction of the target interaction behavior includes jump information of a behavior entry of the target interaction behavior and a behavior occurrence number of the target interaction behavior. And the audience client can display the behavior entry and the behavior occurrence times of the target interactive behavior based on the prompt instruction. The server can set jump information of a behavior entry in the prompt instruction and the occurrence number of behaviors in the prompt instruction through a command statement.
In some embodiments, the prompt instruction for the target interaction behavior may further include a behavior identifier for the target interaction behavior. The behavior identification may be an ID of the target interaction behavior. The server can set the behavior identifier in the prompt instruction through the command statement.
In some embodiments, the prompt instruction for the target interaction behavior may further include first descriptive information of the target interaction behavior. The first description information is used for describing the behavior occurrence times of the target interaction behavior. The server can be enabled by command statements, for example, taking the virtual space as a live room, and FIG. 6 is a schematic diagram of a cueing control shown in accordance with an exemplary embodiment. Referring to fig. 6, the diagram includes prompt controls corresponding to multiple interactive behaviors, and the example of the prompt control of the shared live broadcast room is described. The first description information is the case information describing the behavior occurrence times of the target interaction behavior. The first description information is that 'currently XX people are sharing live rooms'.
In some embodiments, the prompt instruction for the target interaction behavior may further include second description information of the target interaction behavior. The second description information is used for describing a behavior entrance of the target interaction behavior. The server can set the second description information in the prompt instruction through the command statement. For example, continuing with FIG. 6, a cue control for sharing live rooms is still used as an example. The second description information is the case information of the behavior entrance for describing the target interaction behavior. The second descriptor is "i also share".
In some embodiments, when the target interactive behavior is a gift, the prompt instruction of the target interactive behavior may further include a gift identification associated with the target interactive behavior. Wherein the gift identification is an ID of the gift. The server can set the gift identification associated with the target interaction behavior in the prompt instruction through the command statement. For example, with continued reference to FIG. 6, the bottom-most cueing control in the figure is the cueing control for gifting a gift. The gift is a donut. The server generates a prompt instruction to gift based on the ID of the gift. The viewer client is capable of displaying the gift based on the prompt instruction.
The server can generate a prompt instruction of the target interaction behavior based on the jump information of the behavior entry, the behavior occurrence frequency of the target interaction behavior and the plurality of information in the embodiment. The viewer client is capable of displaying information in the cue instructions based on the cue instructions. In the above embodiment, at least one piece of information may generate a prompt instruction of the target interaction behavior together with the jump information of the behavior entry and the behavior occurrence frequency of the target interaction behavior.
For example, the server generates a prompt instruction of the target interaction behavior based on the jump information of the behavior entry, the behavior occurrence frequency of the target interaction behavior, the behavior identifier of the target interaction behavior, the first description information of the target interaction behavior, the second description information of the target interaction behavior, and the gift identifier associated with the target interaction behavior. Or the server generates a prompt instruction of the target interaction behavior based on the jump information of the behavior entry, the behavior occurrence frequency of the target interaction behavior and the behavior identification of the target interaction behavior.
In step S406, the server sends a prompt instruction to at least one viewer client of the virtual space.
In the embodiment of the present disclosure, after the prompt instruction of the target interaction behavior is generated, the server sends the prompt instruction to at least one viewer client in the virtual space to prompt the viewer in the virtual space that the target interaction behavior frequently occurs in the virtual space.
In some embodiments, the server can preset a threshold number of transmissions of the cue instructions, based on which the cue instructions are transmitted to the at least one viewer client of the virtual space. Correspondingly, the process of sending the prompt instruction by the server is as follows: first, the server acquires a transmission number threshold for transmitting a presentation command to the virtual space in a unit time. Then, the server acquires the sent times of the prompt instruction in the virtual space in the unit time. Then, in the case that the number of sent times is less than the threshold number of sent times, the server sends a prompt instruction to at least one viewer client of the virtual space. Wherein, the first two steps are not divided in sequence.
The unit time may be 6 hours, 12 hours, 24 hours, or the like, which is not limited in the embodiment of the disclosure. The threshold number of transmissions may be 3 times, 5 times, 10 times, or the like, which is not limited in this disclosure. Each interactive behavior corresponds to a threshold number of transmissions. The sending times thresholds of the multiple interactive behaviors are not related to each other, and may be equal to each other or unequal to each other, which is not limited in the embodiment of the disclosure. The server can set the unit time and the transmission number threshold at the configuration management center. The sending time threshold is used for controlling the sending frequency of the prompt instruction for sending the target interaction behavior. The sending frequency may be to send the hint command 3 times at most every 6 hours, to send the hint command 3 times at most every 24 hours, or to send the hint command 5 times at most every 12 hours, etc., which is not limited in this disclosure.
For example, the unit time is 24 hours, and the transmission number threshold of the anchor of the virtual space of interest is 3. The number of times the server has transmitted the cue instruction of the anchor focusing on the virtual space to the virtual space within 24 hours is 2. As can be seen, the number of sent times is less than the number of sent times threshold. After determining that the target interactive behavior is the anchor of interest, the server can still send a prompt instruction of the anchor of the virtual space of interest to the viewer client. The server can set the unit time and the transmission number threshold by a command statement.
It should be noted that the threshold of the sending times may also be a sending frequency of the prompt instruction for controlling sending of various interactive behaviors to the virtual space. For example, the unit time is 24 hours, and the transmission number threshold is 10 times. The total number of times of sending of the cue instruction of the anchor paying attention to the virtual space, the cue instruction of sharing the virtual space, and the cue instruction of giving a gift to the virtual space by the server within 24 hours is 9. It follows that the number of transmissions is less than the number of transmissions threshold. After determining the target interactive behavior, the server can still send a prompt instruction of the target interactive behavior to the audience client.
It should be noted that the server can also set the presentation time of the prompt control corresponding to the prompt instruction in the virtual space each time. For example, the server can set the display duration of each time the prompt control is displayed in the virtual space to 10 seconds through the command statement.
It should be noted that the server can also set the display times of the prompt control in the virtual space. For example, the server sets the number of display times to 1 time by a command sentence.
In some embodiments, the server is further capable of presetting a first freeze duration of a cue instruction, the cue instruction being transmitted to at least one viewer client of the virtual space based on the first freeze duration. And the first freezing duration is the minimum interval duration for sending the prompt instruction. Correspondingly, the process of sending the prompt instruction by the server is as follows: and under the condition that the sent times are smaller than the threshold value of the sent times, the server acquires the sending time interval between the last time of sending the prompt instruction in the virtual space and the current time. And under the condition that the sending time interval is not less than the first freezing duration, the server sends a prompt instruction to at least one viewer client of the virtual space. Wherein the first freezing time period may be 8 seconds, 10 seconds, or 15 seconds, which is not limited by the embodiment of the present disclosure. The server can set the first freeze duration at a configuration management center.
For any interactive behavior, the first freezing duration may be a minimum interval duration for sending a prompt instruction of the interactive behavior. Each interaction corresponds to a first freeze duration. The first freezing durations of the multiple interactive behaviors are not related to each other, and may be equal to or unequal to each other, which is not limited by the embodiments of the present disclosure. For example, the first freeze duration of the anchor is 10 seconds. And under the condition that the sent times of the prompt command of the attention anchor are smaller than the threshold value of the sent times, the server acquires that the sending time interval between the last time of sending the prompt command of the attention anchor and the current time is 15 seconds. It follows that the transmission time interval is not less than the first freeze duration. The server can send a prompt instruction of the attention anchor to the audience client after determining that the target interactive behavior is the attention anchor. For example, the server can set the first freeze duration to 10 seconds through a command statement.
It should be noted that the first freeze duration may also be a minimum interval duration for sending prompt instructions for various interactive behaviors. The plurality of interactive behaviors correspond to a first freeze duration. For example, the first freeze duration of the plurality of interactive activities is 10 seconds. And under the condition that the sent times of the prompt instructions of certain interactive behaviors are smaller than the sending time threshold, the server acquires that the sending time interval between the last time of sending the prompt instructions and the current time is 15 seconds. The last sent prompt instruction may be a prompt instruction of the interactive behavior, or may be a prompt instruction of another interactive behavior. The transmission time interval is not less than the first freeze duration. After determining the target interaction behavior, the server can send a prompt instruction of the target interaction behavior to the audience client.
In step S407, the terminal obtains a prompt instruction of the target interaction behavior in the virtual space.
In the embodiment of the disclosure, a spectator client installed on a terminal receives a prompt instruction of an interactive behavior sent by a server, and the interactive behavior is a target interactive behavior. The viewer client installed on the terminal can directly execute step S408 based on the prompt instruction of the target interaction behavior.
In some embodiments, a viewer client installed on the terminal receives a prompt instruction of a plurality of interactive behaviors sent by the server, wherein the plurality of interactive behaviors are all target interactive behaviors. The viewer client installed on the terminal can directly execute step S408 based on the prompt instructions of the multiple interactive behaviors, and display the multiple prompt instructions of the multiple interactive behaviors in the virtual space.
In some embodiments, each interactive behavior corresponds to a behavior priority, and when a viewer client installed on the terminal receives prompt instructions of multiple interactive behaviors sent by the server, the viewer client installed on the terminal can obtain the prompt instruction of a target interactive behavior from the prompt instructions of the multiple interactive behaviors based on the behavior priorities. Correspondingly, the process of the terminal acquiring the prompt instruction of the target interaction behavior in the virtual space is as follows: firstly, in response to receiving a prompt instruction of at least two interactive behaviors in the virtual space, a viewer client installed on a terminal acquires behavior priorities of the at least two interactive behaviors. And then, the audience client installed on the terminal determines the interaction behavior with the highest action priority in the at least two interaction behaviors as the target interaction behavior. And then, a viewer client installed on the terminal acquires a prompt instruction of the target interaction behavior.
The behavior priority of the multiple interactive behaviors may be obtained by the terminal from the server through the cold start interface, or may be set by the terminal in advance on a local audience client, which is not limited in the embodiment of the present disclosure. The manner of the terminal presetting the behavior priority is the same as the manner of the server setting the priority in step S403, and is not described herein again.
In step S408, the terminal displays a prompt control in the virtual space based on the prompt instruction of the target interaction behavior, where the prompt control displays a behavior entry of the target interaction behavior and a behavior occurrence frequency of the target interaction behavior.
In the embodiment of the present disclosure, the prompt control of the target interaction behavior is displayed at any position in the virtual space, such as the top of the virtual space, the left side of the virtual space, or the lower side of the comment area in the virtual space, which is not limited by the embodiment of the present disclosure. For example, FIG. 7 is a schematic diagram illustrating a display of a cueing control in virtual space in accordance with an exemplary embodiment. Referring to FIG. 7, a prompt control for a target interaction behavior is displayed below the comment area in the virtual space and above the input box at the bottom of the virtual space.
In some embodiments, the terminal performs enhancement processing on the behavior occurrence times of the target interaction behavior, so that the behavior occurrence times can be highlighted in the prompt control. For example, with continued reference to FIG. 6, the behavior occurrences in the hint control shown in the figure are all enhanced.
The prompt control of the target interaction behavior can display at least one of behavior identification of the target interaction behavior, first description information of the target interaction behavior, second description information of the target interaction behavior, gift identification related to the target interaction behavior and other various information besides the behavior entry and the behavior occurrence frequency of the target interaction behavior. For example, taking the virtual space as a live broadcast room as an example, with reference to fig. 6, a prompt control corresponding to a plurality of interactive behaviors is included in the drawing, and a description is given by taking a prompt control focusing on a main broadcast as an example. In the figure, "92" is the behavior occurrence number of the target interaction behavior, "XX is currently focusing on the anchor" is the first description information of the target interaction behavior, "i is also focusing on" is the second description information of the target interaction behavior, "i is also focusing on" is the behavior entry of the target interaction behavior for the jump button displayed below.
In some embodiments, after receiving the prompt instruction of the target interaction behavior, the viewer client installed on the terminal can directly display the prompt control in the virtual space. And the audience client installed on the terminal prompts the audience of the virtual space to frequently appear the target interaction behavior by displaying the behavior appearance times of the target interaction behavior, and promotes the audience to trigger the target interaction behavior through the behavior entrance of the displayed target interaction behavior.
In some embodiments, the viewer client installed on the terminal is further capable of displaying a prompt control corresponding to the interactive behavior in the virtual space according to a prompt time threshold of the interactive behavior. Correspondingly, the process that the audience client installed on the terminal displays the prompt control in the virtual space is as follows: firstly, a spectator client installed on a terminal acquires a prompting frequency threshold value of a prompting control in a virtual space in unit time. Then, the audience client installed on the terminal obtains the prompted times of the prompt control in the virtual space in unit time. Then, in the case that the number of times of prompting is less than the threshold value of the number of times of prompting, a viewer client installed on the terminal displays a prompt control in the virtual space. Wherein, the first two steps are not divided into a certain sequence.
The unit time may be 6 hours, 12 hours, 24 hours, or the like, which is not limited in the embodiments of the present disclosure. The threshold number of transmissions may be 3 times, 5 times, 10 times, etc., and this is not limited in this disclosure. The threshold of the number of times of prompting may be obtained by a viewer client installed on the terminal from the server through a cold start interface of the terminal, or may be set locally in advance by the terminal, which is not limited in the embodiment of the present disclosure.
And for any interactive behavior, the prompt frequency threshold is used for controlling the prompt frequency of the prompt control of the target interactive behavior in the virtual space. Each interactive behavior corresponds to a threshold of prompting times. The threshold values of the number of prompts of the multiple interactive behaviors are not related to each other, and may be equal to each other or unequal to each other, which is not limited in the embodiment of the disclosure. For example, the unit time is 24 hours, and the cue count threshold of the cue control of the anchor focusing on the virtual space is 3 times. The terminal displays the prompting control in the virtual space for 2 times in 24 hours. It can be seen that the number of times of prompting is less than the threshold number of times of prompting. And after determining that the target interactive behavior is the anchor of the concerned virtual space, the audience client installed on the terminal can display a prompt control of the anchor of the concerned virtual space in the virtual space.
It should be noted that the threshold of the number of times of prompting can also be used to control the prompting frequency of the prompting control for various interactive behaviors in the virtual space in unit time. For example, the unit time is 24 hours, and the threshold value of the number of times of presentation is 10 times. The terminal displays the total number of times of cued of the cue control focusing on the anchor, the cue control sharing the virtual space, and the cue control giving the gift in the virtual space for 24 hours is 9 times. It can be seen that the number of times of prompting is less than the threshold number of times of prompting. And after the target interaction behavior is determined, a viewer client installed on the terminal can display the prompt control of the attention anchor in the virtual space.
In some embodiments, the viewer client installed on the terminal is further capable of displaying a prompt control corresponding to the interactive behavior in the virtual space through the second freeze duration of the interactive behavior. And the second freezing duration is the minimum interval duration of the display prompt control. Correspondingly, the process that the audience client installed on the terminal displays the prompt control in the virtual space is as follows: under the condition that the prompted times are smaller than the prompted times threshold, a spectator client installed on the terminal acquires the prompted time interval between the last time of prompting the control in the virtual space and the current time; and under the condition that the prompting time interval is not less than the second freezing duration, a viewer client installed on the terminal displays the prompting control in the virtual space. Wherein the second freeze time period may be 8 seconds, 10 seconds, or 15 seconds, which is not limited by the embodiment of the present disclosure. The second freeze duration may be obtained by the terminal from the server through the cold start interface, or may be preset by the terminal on the local viewer client, which is not limited in this embodiment of the disclosure.
For any interactive behavior, the second freeze duration may be a minimum interval duration of a prompt control displaying the interactive behavior. Each interaction corresponds to a second freeze duration. The second freezing durations of the multiple interactive behaviors are not related to each other, and may be equal to or unequal to each other, which is not limited by the embodiments of the present disclosure. For example, taking the example where the virtual space is a live room, the second freeze duration for the anchor is 10 seconds. And under the condition that the prompted times of the prompt control of the attention anchor are smaller than the prompt time threshold, the prompt time interval between the time when the audience client installed on the terminal acquires the prompt control of the attention anchor displayed last time and the current time is 15 seconds. As can be seen, the cue time interval is not less than the second freeze duration. And after the target interactive behavior is determined to be the attention anchor by the audience client installed on the terminal, displaying a prompt control of the attention anchor in the live broadcasting room.
It should be noted that the second freeze duration may also be a minimum interval duration of a prompt control displaying various interactive behaviors. The plurality of interactive behaviors correspond to a second freeze duration. For example, the second freeze duration of the plurality of interactive activities is 10 seconds. And under the condition that the prompted times of the prompt control of certain interactive behavior are smaller than the prompt time threshold, a viewer client installed on the terminal acquires the prompt time interval between the last time of displaying the prompt control and the current time to be 15 seconds. The last displayed prompt control can be the prompt control of the interaction behavior or the prompt controls of other interaction behaviors. The cue time interval is not less than the second freeze duration. And after determining the target interaction behavior, a viewer client installed on the terminal can display the prompt control of the attention anchor in the virtual space.
It should be noted that the prompt control of the interactive behavior includes the display duration of the control. The display durations of the controls corresponding to the multiple interactive behaviors may be equal or unequal, which is not limited in the embodiment of the disclosure. And the audience client installed on the terminal displays the prompt control of the interactive behavior in the virtual space based on the display duration of the control corresponding to the interactive behavior. For example, taking the virtual space as a live broadcast room as an example, the display time length of the control corresponding to the anchor main of interest is 10 seconds, and a viewer client installed on the terminal displays a prompt control of the anchor main of interest for 10 seconds in the live broadcast room. After 10 seconds, the anchor-focused prompt control is no longer displayed.
In step S409, in response to the trigger operation on the behavior entry, the terminal executes the target interaction behavior in the virtual space.
In the embodiment of the disclosure, for some interactive behaviors, in response to a trigger operation on a behavior portal, a viewer client installed on a terminal directly executes a target interactive behavior in a virtual space. The interactive behaviors can be interactive behaviors such as anchor paying attention to the virtual space, joining a spaghball, sharing the virtual space and giving gifts.
In some embodiments, when the target interaction behavior is shopping, a viewer client installed on the terminal displays a page for displaying the goods, and executes the target interaction behavior based on the page. Correspondingly, the process that the audience client installed on the terminal executes the target interaction behavior in the virtual space is as follows: and responding to the triggering operation of the behavior entrance, and displaying an object display page by a viewer client installed on the terminal. The object display page is used for displaying the objects issued by the virtual space. And responding to the acquisition operation of any object, and executing target interaction behavior in the virtual space by a viewer client installed on the terminal. The target interaction behavior can be used for acquiring an object issued by a virtual space.
For example, in response to a trigger operation of a behavior entry for shopping, a viewer client installed on the terminal displays an object presentation page. The object display page displays at least one commodity issued by the virtual space. The spectator of the virtual space can select the target commodity on the object presentation page, so that the spectator client installed on the terminal can execute the shopping behavior in the virtual space based on the target commodity.
In step S410, in response to the execution operation of the target interactive behavior, the terminal sends behavior information of the target interactive behavior to the server.
In the embodiment of the present disclosure, the behavior information can represent the appearance of the target interaction behavior in the virtual space. The target interaction behavior can be triggered by a spectator client installed on the terminal by spectators in the virtual space, and corresponding behavior information can be generated every time the target interaction behavior is triggered. For example, with continued reference to fig. 5, the behavior information is a kafka message.
In step S411, the server receives the behavior information of the target interaction behavior, and records the target interaction behavior based on the behavior information.
In the embodiment of the present disclosure, the server can record the behavior occurrence frequency of the target interaction behavior in the virtual space based on the behavior information, so as to obtain the interaction behavior information of the virtual space.
It should be noted that, in order to describe the present solution more clearly, the overall flow of the present solution is set forth below. With continued reference to fig. 5, a viewer client installed on a terminal by a viewer of a virtual space can trigger a variety of interactive activities. Every time the audience of the virtual space triggers an interactive behavior, the server can acquire a kafka message corresponding to the interactive behavior based on the service corresponding to the interactive behavior. And the server records the behavior occurrence times of the interactive behavior in the virtual space by adopting a redis storage mode based on the kafka message corresponding to the interactive behavior. And the server divides all the managed virtual spaces into a plurality of tasks based on the slicing task computing framework. Each task records the interactive behavior in the virtual space that the task manages. And the server respectively records the behavior occurrence times of each interactive behavior in a plurality of virtual spaces through a plurality of slicing tasks. And the server scans all the virtual spaces through the plurality of slicing tasks, and after a triggering condition is reached, the server sends a prompt instruction to the audience client side of the virtual space through the task corresponding to the virtual space where the target interaction behavior is located. The triggering condition is that the interactive behaviors with the behavior occurrence times not less than the occurrence time threshold exist in the multiple interactive behaviors. And after receiving the prompt instruction, a viewer client installed on the terminal displays a prompt control of the prompt instruction in the virtual space. The audience in the virtual space can trigger the behavior entrance of the interactive behavior through the prompt control, so that the interactive behavior is triggered.
The scheme provided by the embodiment of the disclosure, through obtaining the interactive behavior information representing various interactive behaviors in the virtual space, under the condition that the occurrence frequency of any interactive behavior exceeds the occurrence frequency threshold, the server can send the prompt instruction of the interactive behavior to the audience client side in the virtual space, so that the action entry containing the interactive behavior and the prompt control of the occurrence frequency of the action are displayed on the audience client side, the audience can trigger the interactive behavior through the action entry, the triggering mode is convenient and fast, the interaction amount of the virtual space can be remarkably improved, and the atmosphere of the virtual space is further improved.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present disclosure, and are not described in detail herein.
The server can also process the multiple virtual spaces according to the time period based on the scheme provided by the embodiment of the present disclosure, which is further explained below by taking an example of sending a prompt instruction to the viewer clients of the multiple virtual spaces based on the interaction behavior information of the multiple virtual spaces, and fig. 8 is an interaction flowchart of another information display method shown according to an exemplary embodiment. The information display method is applied to a server and a terminal, and referring to fig. 8, the method comprises the following steps:
in step S801, the server determines a current time period based on the target time period and a second segment time period, which represents the time period of each time period within the target time period.
In the embodiment of the present disclosure, the target duration period is a current duration period in which at least one virtual space is located. The server can acquire the interaction behavior information of the at least one virtual space in a segmented manner within the target duration period. The target time period may be 24 hours, 36 hours, or 48 hours, and the like, which is not limited in the embodiment of the disclosure. The server can periodically divide the target duration by a plurality of time periods based on the second segment duration using a time division rule. Wherein the time-segmentation rule is a ratio of a difference between a current time and a starting time of the target duration period to a second segmentation duration. The server can determine the current time period through the difference value and the second segment time length. The second segment duration is determined based on the distribution of the behavior occurrence times of the interactive behavior in the historical duration period, or the second segment duration is set by the anchor of the virtual space, which is not limited in the embodiment of the present disclosure.
In some embodiments, the server is capable of determining the second segment duration based on a distribution of behavior occurrences of the interactive behavior over the historical duration period. Correspondingly, the process of the server determining the second segment duration is as follows: and the server acquires second behavior distribution information of the multiple interactive behaviors in the historical duration period. Then, the server determines a second segment time length according to the incidence relation between the occurrence times and the time length of the behavior of the interactive behavior based on second behavior distribution information of the multiple interactive behaviors. And the second behavior distribution information is used for representing the distribution condition of the behavior occurrence times of the corresponding interactive behaviors in the historical duration period. According to the scheme provided by the embodiment of the disclosure, the second segment time length can be determined according to the incidence relation between the occurrence times and the time length of the interactive behaviors in the virtual space by acquiring the second behavior distribution information of the multiple interactive behaviors in the historical time length period, so that the mutual amount of the at least one virtual space can be improved after the target time length period is divided based on the second segment time length.
For example, taking the example that the virtual space is a live broadcast room, the server obtains behavior distribution information of multiple interactive behaviors in each day of at least one live broadcast room for approximately 6 months, and then determines the occurrence frequency of each interactive behavior within 1 hour, 2 hours, and 3 hours, respectively. Taking the data of the at least one live broadcast room in 1 hour as an example, the server determines that the attention anchor behavior in the at least one live broadcast room occurs 10 times in 1 hour and covers 25.8 percent of audiences in the at least one live broadcast room; sharing live room behavior occurs 15 times, covering 38.4% of viewers in the at least one live room; gift-giving behavior occurs 10 times covering 40.5% of the audience in the at least one live room; the join fan cluster behavior occurred 9 times covering 18.8% of the audience in the at least one live room. The second segment duration can be obtained by establishing the incidence relation between the different durations and the occurrence times of the interaction behavior. It should be noted that, the time duration of 1 hour, 2 hours, 3 hours, and the like are exemplified in the present disclosure, the manner of obtaining the segment time duration is not limited in the embodiments of the present disclosure, for example, the server can also determine the segment time duration by calculating a characteristic value, such as a maximum value, a median, and an arithmetic mean.
It should be noted that the server is further capable of obtaining the behavior occurrence times of the multiple interactive behaviors in the at least one virtual space in the historical time period. Then, the server determines the threshold of the occurrence times of the multiple interactive behaviors in the current time period based on the behavior occurrence times of the multiple interactive behaviors. The historical time period may be a time period in the historical time period, or may be a time period before the time sequence of the current time period in the target time period, which is not limited in this embodiment of the present disclosure. According to the scheme provided by the embodiment of the disclosure, the occurrence frequency threshold of each interactive behavior is determined through the occurrence frequency of a plurality of interactive behaviors in at least one virtual space in a historical time period, so that the occurrence frequency threshold can reflect the common occurrence frequency of each interactive behavior in the at least one virtual space, the target interactive behavior determined based on the occurrence frequency threshold is more consistent with the interactive condition of the at least one virtual space in the current time period, and the interaction amount of the at least one virtual space can be improved by the prompt instruction of the target interactive behavior.
Wherein, for any interactive behavior, the server can obtain the occurrence frequency of at least one behavior of the interactive behavior in at least one virtual space in a historical time period. Then, the server takes the average value of the occurrence times of the at least one action as the threshold value of the occurrence times of the interactive action in the current time period. According to the scheme provided by the embodiment of the disclosure, the occurrence frequency threshold of the interactive behavior is determined through the mean value of the occurrence frequencies of the behavior of the interactive behavior in the at least one virtual space, so that the occurrence frequency threshold can reflect the average occurrence frequency of the interactive behavior in the at least one virtual space, and the target interactive behavior determined based on the occurrence frequency threshold is more consistent with the interaction situation of the at least one virtual space in the current time period, which is related to the interactive behavior, so that the interaction amount of the at least one virtual space can be improved through the prompt instruction of the target interactive behavior.
The server may further use the median of the at least one behavior occurrence frequency as the threshold of the occurrence frequency of the interaction behavior in the current time period, or use the maximum of the at least one behavior occurrence frequency as the threshold of the occurrence frequency of the interaction behavior in the current time period, which is not described herein again.
In step S802, the server obtains interaction behavior information of at least one virtual space running in a current time period, where the interaction behavior information is used to represent multiple interaction behaviors in the at least one virtual space.
In the embodiment of the present disclosure, the audience of at least one currently running virtual space can perform the above-mentioned various interactive behaviors in the corresponding virtual space through the audience client, so as to realize interaction with the anchor in the virtual space. For any interactive behavior, the server can receive behavior information of the interactive behavior every time the interactive behavior occurs in the at least one virtual space. And the server records the behavior occurrence times of the interactive behavior in the corresponding virtual space based on the behavior information of the interactive behavior. Thereby, the server can acquire interactive behavior information representing a plurality of interactive behaviors in the at least one virtual space.
In step S803, the server determines a target interactive behavior from the multiple interactive behaviors based on the interactive behavior information, where the target interactive behavior is an interactive behavior whose behavior occurrence number is not less than an occurrence number threshold.
In the embodiment of the present disclosure, when the occurrence number of the behavior of the interactive behavior is not less than the occurrence number threshold, it is stated that the interactive behavior frequently occurs in the at least one virtual space. And the server determines frequently-occurring interactive behaviors as target interactive behaviors from multiple interactive behaviors based on the interactive behavior information. The manner of determining the target interaction behavior in step S803 is similar to that in step S403, and is not described herein again.
In step S804, the server obtains the jump information of the behavior entry of the target interaction behavior.
In an embodiment of the present disclosure, the jump information is used for executing the target interaction behavior by the viewer client when the viewer client triggers the behavior entry. After determining the target interaction behavior, the server needs to obtain jump information of a behavior entry in order to provide the behavior entry of the target interaction behavior to the viewer client. The manner of acquiring the skip information in step S804 is similar to that in step S404, and is not described herein again.
In step S805, the server generates a prompt instruction of the target interaction behavior based on the jump information of the behavior entry and the behavior occurrence frequency of the target interaction behavior, where the prompt instruction is used to instruct at least one viewer client to display a prompt control, and the prompt control displays the behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior.
In the embodiment of the present disclosure, the prompt instruction of the target interaction behavior includes jump information of a behavior entry of the target interaction behavior and a behavior occurrence number of the target interaction behavior. The manner of generating the target interaction behavior in step S805 is similar to that in step S405, and is not described herein again.
In step S806, the server sends a prompt instruction to at least one viewer client of the at least one virtual space.
In the embodiment of the present disclosure, after the prompt instruction of the target interactive behavior is generated, the server sends a prompt instruction to at least one viewer client of at least one virtual space to prompt a viewer of the at least one virtual space that the target interactive behavior frequently occurs in the at least one virtual space. The manner of sending the prompt command in step S806 is similar to that in step S406, and is not described herein again.
In step S807, the terminal acquires a prompt instruction of a target interaction behavior in the virtual space.
In the embodiment of the disclosure, a spectator client installed on a terminal receives a prompt instruction of an interactive behavior sent by a server, and the interactive behavior is a target interactive behavior. The manner of obtaining the prompt instruction in step S807 is similar to that in step S407, and is not described herein again.
In step S808, the terminal displays a prompt control in the virtual space based on the prompt instruction of the target interaction behavior, where the prompt control displays a behavior entry of the target interaction behavior and a behavior occurrence frequency of the target interaction behavior.
In the embodiment of the disclosure, the prompt control of the target interaction behavior is displayed at any position in the virtual space. The manner of displaying the prompt control in step S808 is similar to that in step S408, and is not described herein again.
In step S809, in response to the trigger operation on the behavior entry, the terminal executes the target interaction behavior in the virtual space.
In the embodiment of the disclosure, for some interactive behaviors, in response to a trigger operation on a behavior portal, a viewer client installed on a terminal directly executes a target interactive behavior in a virtual space. The manner of executing the target interaction behavior in step S809 is similar to that in step S409, and is not described herein again.
In step S810, in response to the execution operation of the target interaction behavior, the terminal sends behavior information of the target interaction behavior to the server.
In the embodiment of the present disclosure, the target interaction behavior can be triggered by the audience client installed on the terminal by the audience in the virtual space, and corresponding behavior information is generated every time the target interaction behavior is triggered. The manner of sending the behavior information in step S810 is similar to that in step S410, and is not described herein again.
In step S811, the server receives the behavior information of the target interaction behavior, and records the target interaction behavior based on the behavior information.
In the embodiment of the present disclosure, the server can record the behavior occurrence times of the target interaction behavior in the virtual space based on the behavior information, so as to obtain the interaction behavior information of the virtual space. Therefore, the server can acquire the interactive behavior information of at least one virtual space. The way of recording the target interaction behavior in step S811 is similar to that in step S411, and is not described herein again.
According to the scheme provided by the embodiment of the disclosure, the interactive behavior information representing various interactive behaviors in at least one virtual space is acquired, and under the condition that the behavior occurrence frequency of any interactive behavior exceeds the occurrence frequency threshold, the server can send the prompt instruction of the interactive behavior to the audience client side of the at least one virtual space, so that the behavior entry containing the interactive behavior and the prompt control of the behavior occurrence frequency are displayed on the audience client side, the audience can trigger the interactive behavior through the behavior entry, the triggering mode is convenient and fast, the interactive amount of the at least one virtual space can be remarkably improved, and the atmosphere of the at least one virtual space is further improved.
The server can also process the multiple virtual spaces according to the types to which the virtual spaces belong based on the scheme provided by the embodiment of the present disclosure, which is further explained below by taking an example of sending a prompt instruction to the viewer clients of the multiple virtual spaces based on the interaction behavior information of the virtual spaces belonging to the target type, and fig. 9 is an interaction flowchart of another information display method shown according to an exemplary embodiment. The information display method is applied to a server and a terminal, and referring to fig. 9, the method comprises the following steps:
in step S901, the server obtains a threshold of occurrence times of a plurality of interactive behaviors in at least one virtual space belonging to a target type.
In the embodiment of the present disclosure, the audience belonging to at least one virtual space of the target type can perform various interactive behaviors in the corresponding virtual space through the audience client. In order to determine a target interactive behavior from a plurality of interactive behaviors, the server can determine an occurrence number threshold of the interactive behavior, and based on the occurrence number threshold, the interactive behavior of which the occurrence number is not less than the occurrence number threshold is taken as the target interactive behavior. The server can obtain third behavior distribution information of at least one virtual space belonging to the target type, and then, the server determines the occurrence frequency threshold of the multiple interactive behaviors based on the third behavior distribution information of the multiple interactive behaviors. Wherein, the third behavior distribution information is used for representing the distribution situation of the behavior occurrence times of the corresponding interactive behavior. According to the scheme provided by the embodiment of the disclosure, the occurrence frequency threshold of the interactive behavior is determined according to the distribution condition of the occurrence frequency of the behavior of the interactive behavior in the at least one virtual space, so that the occurrence frequency threshold can reflect the common occurrence frequency of each interactive behavior in the virtual space of the target type, the target interactive behavior determined based on the occurrence frequency threshold better conforms to the interaction condition of the virtual space of the target type, and the interaction amount of the virtual space of the target type can be improved by the prompt instruction of the target interactive behavior.
In step S902, the server obtains interaction behavior information of at least one virtual space belonging to the target type, where the interaction behavior information is used to represent a plurality of interaction behaviors in the at least one virtual space.
In the embodiment of the present disclosure, the server may obtain the interactive behavior information based on a plurality of interactive behaviors occurring in the at least one virtual space of the target type. The number of types of the target type may be 1, 2 or more, which is not limited by the embodiment of the present disclosure. The server can acquire the interaction behavior information of one type of virtual space or acquire the interaction behavior information of multiple types of virtual spaces based on the type of the virtual space. The interactive behavior information includes a plurality of interactive behaviors and behavior occurrence times corresponding to the plurality of interactive behaviors. According to the scheme provided by the embodiment of the disclosure, the interaction behavior information of the virtual space belonging to the target type is obtained according to the type of the virtual space, and the target interaction behavior in the virtual space belonging to the target type can be determined based on the interaction behavior information, so that the target interaction behaviors determined by different types of virtual spaces have diversity.
In step S903, the server determines a target interactive behavior from the multiple interactive behaviors based on the interactive behavior information, where the target interactive behavior is an interactive behavior whose behavior occurrence number is not less than an occurrence number threshold.
In step S904, the server obtains the jump information of the behavior entry of the target interaction behavior.
In step S905, the server generates a prompt instruction of the target interaction behavior based on the jump information of the behavior entry and the behavior occurrence frequency of the target interaction behavior, where the prompt instruction is used to instruct at least one viewer client to display a prompt control, and the prompt control displays the behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior.
In step S906, the server sends a prompt instruction to at least one viewer client of the at least one virtual space.
In step S907, the terminal obtains a prompt instruction of a target interaction behavior in the virtual space.
In step S908, the terminal displays a prompt control in the virtual space based on the prompt instruction of the target interaction behavior, where the prompt control displays a behavior entry of the target interaction behavior and a behavior occurrence frequency of the target interaction behavior.
In step S909, in response to the trigger operation on the behavior entry, the terminal executes the target interactive behavior in the virtual space.
In step S910, in response to the execution operation of the target interactive behavior, the terminal sends behavior information of the target interactive behavior to the server.
In step S911, the server receives the behavior information of the target interaction behavior, and records the target interaction behavior based on the behavior information.
In the embodiment of the present disclosure, the manners adopted in steps S903 to S911 are similar to the manners adopted in steps S403 to S411, and are not described herein again.
According to the scheme provided by the embodiment of the disclosure, by acquiring the interaction behavior information representing a plurality of interaction behaviors in at least one virtual space belonging to the target type, under the condition that the occurrence frequency of any one interaction behavior exceeds the occurrence frequency threshold, the server can send the prompt instruction of the interaction behavior to the audience client side of the at least one virtual space belonging to the target type, so that the behavior entry containing the interaction behavior and the prompt control of the occurrence frequency of the behavior are displayed on the audience client side, and therefore, the audience can trigger the interaction behavior through the behavior entry, the triggering mode is convenient and fast, the interaction amount of the virtual space belonging to the target type can be remarkably improved, and the atmosphere of the virtual space belonging to the target type is further improved.
Fig. 10 is a block diagram illustrating an information display apparatus according to an exemplary embodiment. Referring to fig. 10, the apparatus includes:
a first obtaining unit 1001 configured to perform obtaining of interaction behavior information of at least one virtual space, the interaction behavior information being used for representing a plurality of interaction behaviors in the at least one virtual space;
a first determining unit 1002 configured to perform determining a target interaction behavior from a plurality of interaction behaviors based on the interaction behavior information, where the target interaction behavior is an interaction behavior whose occurrence number of behaviors is not less than an occurrence number threshold;
a sending unit 1003 configured to execute a prompt instruction for sending the target interaction behavior to at least one viewer client in the at least one virtual space, where the prompt instruction is used to instruct the at least one viewer client to display a prompt control, where a behavior entry of the target interaction behavior and a behavior occurrence number of the target interaction behavior are displayed in the prompt control.
The device provided by the embodiment of the disclosure, through obtaining the interactive behavior information representing a plurality of interactive behaviors in at least one virtual space, under the condition that the behavior occurrence frequency of any interactive behavior exceeds the occurrence frequency threshold, the server can send the prompt instruction of the interactive behavior to the audience client side of the at least one virtual space, so that the behavior entry containing the interactive behavior and the prompt control of the behavior occurrence frequency are displayed on the audience client side, the audience can trigger the interactive behavior through the behavior entry, the triggering mode is convenient and fast, the interaction amount of at least one virtual space can be obviously improved, and further the atmosphere of the at least one virtual space is improved.
In some embodiments, FIG. 11 is a block diagram illustrating another information display device, according to an example embodiment. Referring to fig. 11, the first obtaining unit 1001 includes:
a first determining subunit 1101 configured to perform, for any one of the at least one virtual space, determining a current operation period based on an operation period of the virtual space and a first segment period, the segment period representing a period of each operation period;
the first obtaining subunit 1102 is configured to perform obtaining of the interaction behavior information of the virtual space in the current operation time period.
In some embodiments, the apparatus further comprises:
a second obtaining unit 1004 configured to perform obtaining of driver behavior distribution information of a plurality of interactive behaviors of the virtual space in the historical operation process, where the first behavior distribution information is used to represent a distribution situation of behavior occurrence times of corresponding interactive behaviors in the historical operation process;
a second determining unit 1005 configured to execute first behavior distribution information based on the plurality of interactive behaviors, and determine a first segment duration according to an association relationship between behavior occurrence times and durations of the interactive behaviors in the virtual space.
In some embodiments, the apparatus further comprises:
a third determining unit 1006, configured to determine a threshold of occurrence times of the multiple interactive behaviors in each operating time period according to the frequency of occurrence of the multiple interactive behaviors in the virtual space based on the first behavior distribution information of the virtual space in the historical operating process.
In some embodiments, the first determining subunit 1101 is further configured to perform determining the current time period based on the target time period and a second segment time period, the second segment time period representing a time period of each time period within the target time period;
the first obtaining subunit 1102 is further configured to perform obtaining of interaction behavior information of at least one virtual space that is running in a current time period.
In some embodiments, the second obtaining unit 1004 is further configured to perform obtaining second behavior distribution information of the multiple interactive behaviors in the historical duration period, where the second behavior distribution information is used to indicate a distribution of behavior occurrence times of corresponding interactive behaviors in the historical duration period;
the second determining unit 1005 is further configured to execute second behavior distribution information based on the plurality of interactive behaviors, and determine a second segment duration according to an association relationship between the occurrence frequency and the duration of the behaviors of the interactive behaviors.
In some embodiments, the first obtaining unit 1001 is further configured to perform obtaining a number of occurrences of a plurality of interactive behaviors in the at least one virtual space in a historical time period;
the third determining unit 1006 is further configured to determine the threshold of the occurrence times of the multiple interactive behaviors in the current time period based on the occurrence times of the multiple interactive behaviors.
In some embodiments, the third determining unit 1006 is further configured to, for any interactive behavior, obtain at least one behavior occurrence number of the interactive behavior in the at least one virtual space in a historical time period; and taking the mean value of the occurrence times of the at least one behavior as the threshold value of the occurrence times of the interactive behaviors in the current time period.
In some embodiments, the first obtaining unit 1001 is further configured to perform obtaining the interaction behavior information of at least one virtual space belonging to the target type.
In some embodiments, the second obtaining unit 1004 is further configured to perform obtaining third behavior distribution information of at least one virtual space belonging to the target type, where the third behavior distribution information is used to indicate a distribution of behavior occurrence times of corresponding interactive behaviors;
the third determining unit 1006 is further configured to perform determining a threshold value of the occurrence times of the multiple interactive behaviors based on the third behavior distribution information of the multiple interactive behaviors.
In some embodiments, the first determining unit 1002 includes:
a second obtaining subunit 1103 configured to perform, in response to the occurrence frequency of the at least two types of interaction behaviors being not less than the corresponding occurrence frequency threshold, obtaining behavior priorities of the at least two types of interaction behaviors;
a second determining subunit 1104 configured to perform determining, as the target interactive behavior, the interactive behavior with the highest priority of the at least two interactive behaviors.
In some embodiments, the sending unit 1003 includes:
a third obtaining subunit 1105, configured to execute skipping information of a behavior entry for obtaining a target interaction behavior;
a generating subunit 1106, configured to execute the jump information based on the behavior entry and the behavior occurrence frequency of the target interaction behavior, and generate a prompt instruction of the target interaction behavior;
a sending subunit 1107 configured to perform sending of cue instructions to at least one viewer client of the at least one virtual space.
In some embodiments, the prompt for target interaction behavior further comprises at least one of:
behavior identification of the target interaction behavior;
the first description information of the target interaction behavior is used for describing the behavior occurrence times of the target interaction behavior;
second description information of the target interaction behavior, wherein the second description information is used for describing a behavior entrance of the target interaction behavior;
and when the target interactive behavior is a gift, the gift identification is associated with the target interactive behavior.
In some embodiments, the sending subunit 1107 includes:
a first obtaining sub-unit 11071 configured to execute a sending number threshold for obtaining sending of a cue instruction to at least one virtual space within a unit time;
a second acquiring sub-unit 11072 configured to execute acquiring the number of times the cue instruction has been sent in at least one virtual space within a unit time;
a sending sub-unit 11073 configured to execute sending of a cue instruction to at least one viewer client of at least one virtual space in case that the sent number is smaller than the threshold number of sending times.
In some embodiments, the sending subunit 11073 is configured to execute, in a case that the sent number is smaller than the sent number threshold, obtaining a sending time interval between the time of last sending the cue instruction and the current time of at least one virtual space; and under the condition that the sending time interval is not less than a first freezing time length, sending a prompt instruction to at least one viewer client of at least one virtual space, wherein the first freezing time length is the minimum interval time length for sending the prompt instruction.
It should be noted that, when the device provided in the foregoing embodiment displays the prompt control of the interactive behavior, the division of each functional unit is exemplified, and in practical applications, the function distribution may be completed by different functional units according to needs, that is, the internal structure of the electronic device is divided into different functional units, so as to complete all or part of the functions described above. In addition, the information display apparatus and the information display method provided by the above embodiments belong to the same concept, and the implementation process thereof is described in detail in the method embodiments, which is not described herein again.
With regard to the apparatus in the above embodiment, the manner in which the respective modules perform operations has been described in the embodiment related to the method, and will not be described here.
Fig. 12 is a block diagram illustrating another information display device according to an example embodiment. Referring to fig. 12, the apparatus includes an obtaining unit 1201 configured to execute a prompt instruction for obtaining a target interaction behavior in a virtual space;
the display unit 1202 is configured to execute a prompt instruction based on the target interaction behavior, and display a prompt control in the virtual space, where a behavior entry of the target interaction behavior and behavior occurrence times of the target interaction behavior are displayed in the prompt control;
an execution unit 1203 configured to execute the target interaction behavior in the virtual space in response to a trigger operation on the behavior entry.
The device provided by the embodiment of the disclosure enables a behavior entry containing the target interaction behavior and a prompt control of the occurrence frequency of the behavior to be displayed by acquiring the prompt instruction of the target interaction behavior, so that audiences can execute the target interaction behavior by triggering the behavior entry, the triggering mode is convenient and fast, the interaction amount of a virtual space can be remarkably improved, and the atmosphere of the virtual space is further improved.
In some embodiments, fig. 13 is a block diagram illustrating another information display device, according to an example embodiment. Referring to fig. 13, the obtaining unit 1201 is configured to execute a prompt instruction for obtaining at least two interactive behaviors in the virtual space, and obtain behavior priorities of the at least two interactive behaviors; determining the interaction behavior with the highest action priority in the at least two interaction behaviors as a target interaction behavior; and acquiring a prompt instruction of the target interaction behavior.
In some embodiments, the display unit 1202 includes:
a first obtaining subunit 1301 configured to perform obtaining a prompt time threshold of a prompt control in a virtual space in a unit time;
a second obtaining subunit 1302, configured to perform obtaining the number of times that a prompt control in a virtual space is prompted within a unit time;
and a display subunit 1303 configured to display a prompt control in the virtual space if the number of times that has been prompted is less than the prompt number threshold.
In some embodiments, the display subunit 1303 is configured to execute, in a case that the number of times that has been prompted is less than the number-of-times threshold, acquiring a prompt time interval between the time of the last prompt control in the virtual space and the current time; and under the condition that the prompting time interval is not less than a second freezing time length, displaying a prompting control in the virtual space, wherein the second freezing time length is the minimum interval time length of the displaying of the prompting control.
In some embodiments, the executing unit 1203 is configured to execute, in response to a triggering operation on the behavior entry, displaying an object showing page, where the object showing page is used for showing an object published by the virtual space; and responding to the acquisition operation of any object, and executing the target interaction behavior in the virtual space.
It should be noted that, when the device provided in the foregoing embodiment displays the prompt control of the interactive behavior, the division of each functional unit is exemplified, and in practical applications, the function distribution may be completed by different functional units according to needs, that is, the internal structure of the electronic device is divided into different functional units, so as to complete all or part of the functions described above. In addition, the information display device and the information display method provided by the above embodiments belong to the same concept, and the implementation process thereof is described in detail in the method embodiments and is not described herein again.
With regard to the apparatus in the above embodiment, the manner in which the respective modules perform operations has been described in the embodiment related to the method, and will not be described here.
When the electronic device is provided as a terminal, fig. 14 is a block diagram of a terminal 1400 shown according to an example embodiment. Fig. 14 shows a block diagram of a terminal 1400 provided in an exemplary embodiment of the present disclosure. The terminal 1400 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer or a desktop computer. Terminal 1400 can also be referred to as user equipment, a portable terminal, a laptop terminal, a desktop terminal, or other names.
In general, terminal 1400 includes: a processor 1401, and a memory 1402.
Processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1401 may also include a main processor, which is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, processor 1401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1402 may include one or more computer-readable storage media, which may be non-transitory. Memory 1402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1402 is used to store at least one program code for execution by processor 1401 to implement the information display method provided by the method embodiments of the present disclosure.
In some embodiments, terminal 1400 may further optionally include: a peripheral device interface 1403 and at least one peripheral device. The processor 1401, the memory 1402, and the peripheral interface 1403 may be connected by buses or signal lines. Each peripheral device may be connected to the peripheral device interface 1403 by a bus, signal line, or circuit board. The peripheral device includes: at least one of radio frequency circuitry 1404, a display 1405, a camera assembly 1406, audio circuitry 1407, a positioning assembly 1408, and a power supply 1409.
The peripheral device interface 1403 can be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, memory 1402, and peripheral interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 1401, the memory 1402, and the peripheral device interface 1403 can be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1404 communicates with a communication network and other communication devices by electromagnetic signals. The rf circuit 1404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1404 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1404 may also include NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display 1405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1405 is a touch display screen, the display screen 1405 also has the ability to capture touch signals at or above the surface of the display screen 1405. The touch signal may be input to the processor 1401 for processing as a control signal. At this point, the display 1405 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 1405 may be one, providing the front panel of the terminal 1400; in other embodiments, display 1405 may be at least two, respectively disposed on different surfaces of terminal 1400 or in a folded design; in still other embodiments, display 1405 may be a flexible display disposed on a curved surface or on a folded surface of terminal 1400. Even further, the display 1405 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display 1405 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
Camera assembly 1406 is used to capture images or video. Optionally, camera assembly 1406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, the main camera and the wide-angle camera are fused to realize panoramic shooting and a VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, camera assembly 1406 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1401 for processing or inputting the electric signals to the radio frequency circuit 1404 to realize voice communication. The microphones may be provided in a plurality, respectively, at different portions of the terminal 1400 for the purpose of stereo sound collection or noise reduction. The microphone may also be an array microphone or an omni-directional acquisition microphone. The speaker is then used to convert electrical signals from the processor 1401 or the radio frequency circuit 1404 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1407 may also include a headphone jack.
The positioning component 1408 serves to locate the current geographic position of the terminal 1400 for navigation or LBS (Location Based Service). The Positioning component 1408 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union galileo System.
Power supply 1409 is used to supply power to the various components of terminal 1400. The power source 1409 may be alternating current, direct current, disposable or rechargeable. When the power source 1409 comprises a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1400 also includes one or more sensors 1410. The one or more sensors 1410 include, but are not limited to: acceleration sensor 1411, gyro sensor 1412, pressure sensor 1413, fingerprint sensor 1414, optical sensor 1415, and proximity sensor 1416.
The acceleration sensor 1411 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal 1400. For example, the acceleration sensor 1411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1401 can control the display 1405 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1411. The acceleration sensor 1411 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 1412 may detect a body direction and a rotation angle of the terminal 1400, and the gyro sensor 1412 and the acceleration sensor 1411 may cooperate to collect a 3D motion of the user on the terminal 1400. The processor 1401 can implement the following functions according to the data collected by the gyroscope sensor 1412: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1413 may be disposed on the side frames of terminal 1400 and/or underlying display 1405. When the pressure sensor 1413 is disposed on the side frame of the terminal 1400, the user's holding signal of the terminal 1400 can be detected, and the processor 1401 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1413. When the pressure sensor 1413 is disposed at the lower layer of the display 1405, the processor 1401 controls the operability control on the UI interface according to the pressure operation of the user on the display 1405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1414 is used for collecting a fingerprint of a user, and the processor 1401 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 1414, or the fingerprint sensor 1414 identifies the identity of the user according to the collected fingerprint. Upon identifying the user as a trusted identity, processor 1401 authorizes the user to perform sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for, and changing settings, among others. Fingerprint sensor 1414 may be disposed on the front, back, or side of terminal 1400. When a physical key or vendor Logo is provided on terminal 1400, fingerprint sensor 1414 may be integrated with the physical key or vendor Logo.
The optical sensor 1415 is used to collect ambient light intensity. In one embodiment, processor 1401 may control the display brightness of display 1405 based on the ambient light intensity collected by optical sensor 1415. When the ambient light intensity is higher, the display brightness of the display screen 1405 is increased; when the ambient light intensity is low, the display brightness of the display screen 1405 is reduced. In another embodiment, the processor 1401 can also dynamically adjust the shooting parameters of the camera assembly 1406 according to the intensity of the ambient light collected by the optical sensor 1415.
Proximity sensor 1416, also known as a distance sensor, is typically disposed on the front panel of terminal 1400. The proximity sensor 1416 is used to collect the distance between the user and the front surface of the terminal 1400. In one embodiment, when proximity sensor 1416 detects that the distance between the user and the front face of terminal 1400 is gradually decreasing, processor 1401 controls display 1405 to switch from the bright screen state to the dark screen state; when the proximity sensor 1416 detects that the distance between the user and the front surface of the terminal 1400 is gradually increased, the processor 1401 controls the display 1405 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 14 is not intended to be limiting with respect to terminal 1400 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
When the electronic device is provided as a server, fig. 15 is a block diagram of a server 1500 according to an exemplary embodiment, where the server 1500 may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 1501 and one or more memories 1502, where at least one program code is stored in the memory 1502, and the at least one program code is loaded and executed by the processors 1501 to implement the information display methods provided by the above method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server 1500 may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium including instructions, such as the memory 1402 or the memory 1502 including instructions executable by the processor 1401 of the terminal 1400 or the processor 1501 of the server 1500 to perform the above-described information display method. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A computer program product comprising a computer program/instructions which, when executed by a processor, implements the above-described information display method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, 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 will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited by the appended claims.

Claims (10)

1. An information display method, characterized in that the method comprises:
acquiring interaction behavior information of at least one virtual space, wherein the interaction behavior information is used for representing various interaction behaviors in the at least one virtual space;
determining a target interaction behavior from the multiple interaction behaviors based on the interaction behavior information, wherein the target interaction behavior is an interaction behavior with the behavior occurrence frequency not less than an occurrence frequency threshold value;
and sending a prompt instruction of the target interaction behavior to at least one audience client side of the at least one virtual space, wherein the prompt instruction is used for instructing the at least one audience client side to display a prompt control, and a behavior entry of the target interaction behavior and behavior occurrence times of the target interaction behavior are displayed in the prompt control.
2. The information display method according to claim 1, wherein the obtaining of the interactive behavior information of the at least one virtual space includes:
for any virtual space in the at least one virtual space, determining a current operation time period based on an operation time period of the virtual space and a first segment time period, wherein the first segment time period represents the time period of each operation time period;
and acquiring the interactive behavior information of the virtual space in the current operation time period.
3. The information display method according to claim 2, characterized in that the method further comprises:
acquiring first behavior distribution information of multiple interactive behaviors of the virtual space in a historical operation process, wherein the first behavior distribution information is used for representing the distribution condition of the occurrence times of the behaviors of the corresponding interactive behaviors in the historical operation process;
and determining the first segment time length according to the incidence relation between the behavior occurrence times and the time length of the interactive behaviors in the virtual space based on the first behavior distribution information of the multiple interactive behaviors.
4. The information display method according to claim 3, characterized in that the method further comprises:
and determining the occurrence frequency threshold of the multiple interactive behaviors in each operation time period according to the occurrence frequency of the multiple interactive behaviors in the virtual space based on the first behavior distribution information of the virtual space in the historical operation process.
5. An information display method, characterized in that the method comprises:
acquiring a prompt instruction of a target interaction behavior in a virtual space;
displaying a prompt control in the virtual space based on the prompt instruction of the target interaction behavior, wherein a behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior are displayed in the prompt control;
and executing the target interaction behavior in the virtual space in response to the triggering operation of the behavior entry.
6. An information display apparatus, characterized in that the apparatus comprises:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is configured to acquire interactive behavior information of at least one virtual space, and the interactive behavior information is used for representing various interactive behaviors in the at least one virtual space;
the first determining unit is configured to determine a target interaction behavior from the multiple interaction behaviors based on the interaction behavior information, wherein the target interaction behavior is an interaction behavior with behavior occurrence frequency not less than an occurrence frequency threshold;
a sending unit, configured to execute a prompt instruction for sending the target interaction behavior to at least one viewer client in the at least one virtual space, where the prompt instruction is used to instruct the at least one viewer client to display a prompt control, and a behavior entry of the target interaction behavior and a behavior occurrence frequency of the target interaction behavior are displayed in the prompt control.
7. An information display apparatus, characterized in that the apparatus comprises:
the acquisition unit is configured to execute a prompt instruction for acquiring the target interaction behavior in the virtual space;
the display unit is configured to execute a prompt instruction based on the target interaction behavior, and display a prompt control in the virtual space, wherein a behavior entry of the target interaction behavior and the behavior occurrence frequency of the target interaction behavior are displayed in the prompt control;
an execution unit configured to execute the target interaction behavior in the virtual space in response to a trigger operation on the behavior entry.
8. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing the processor executable program code;
wherein the processor is configured to execute the program code to implement the information display method of any one of claims 1 to 4 or to implement the information display method of claim 5.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information display method of any one of claims 1 to 4, or implement the information display method of claim 5.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the information display method according to any one of claims 1 to 4, or implements the information display method according to claim 5.
CN202210447568.2A 2022-04-26 2022-04-26 Information display method and device, electronic equipment and storage medium Pending CN114779936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210447568.2A CN114779936A (en) 2022-04-26 2022-04-26 Information display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210447568.2A CN114779936A (en) 2022-04-26 2022-04-26 Information display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114779936A true CN114779936A (en) 2022-07-22

Family

ID=82433597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210447568.2A Pending CN114779936A (en) 2022-04-26 2022-04-26 Information display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114779936A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297339A (en) * 2022-08-25 2022-11-04 北京达佳互联信息技术有限公司 Object interaction method and device based on virtual space, electronic equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297339A (en) * 2022-08-25 2022-11-04 北京达佳互联信息技术有限公司 Object interaction method and device based on virtual space, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN109600678B (en) Information display method, device and system, server, terminal and storage medium
CN109660817B (en) Video live broadcast method, device and system
CN110278464B (en) Method and device for displaying list
CN109729372B (en) Live broadcast room switching method, device, terminal, server and storage medium
CN110139116B (en) Live broadcast room switching method and device and storage medium
CN110418152B (en) Method and device for carrying out live broadcast prompt
CN111741334B (en) Live broadcast data generation method, live broadcast data display method, device and equipment
CN110533585B (en) Image face changing method, device, system, equipment and storage medium
CN111918086A (en) Video connection method, device, terminal, server and readable storage medium
CN114116053B (en) Resource display method, device, computer equipment and medium
CN113395566B (en) Video playing method and device, electronic equipment and computer readable storage medium
CN113490010B (en) Interaction method, device and equipment based on live video and storage medium
CN111787347A (en) Live broadcast time length calculation method, live broadcast display method, device and equipment
CN110662105A (en) Animation file generation method and device and storage medium
CN113204671A (en) Resource display method, device, terminal, server, medium and product
CN114302160B (en) Information display method, device, computer equipment and medium
CN111126958A (en) Schedule creating method, schedule creating device, schedule creating equipment and storage medium
CN113613028A (en) Live broadcast data processing method, device, terminal, server and storage medium
CN114779936A (en) Information display method and device, electronic equipment and storage medium
CN110769311A (en) Method, device and system for processing live data stream
CN112911337B (en) Method and device for configuring video cover pictures of terminal equipment
CN114245218A (en) Audio and video playing method and device, computer equipment and storage medium
CN113485596A (en) Virtual model processing method and device, electronic equipment and storage medium
CN114245148A (en) Live broadcast interaction method, device, terminal, server and storage medium
CN113051494A (en) Information display method and device, electronic equipment and storage medium

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