CN115580732A - Task control display and processing method and device, electronic equipment and storage medium - Google Patents
Task control display and processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115580732A CN115580732A CN202211065815.9A CN202211065815A CN115580732A CN 115580732 A CN115580732 A CN 115580732A CN 202211065815 A CN202211065815 A CN 202211065815A CN 115580732 A CN115580732 A CN 115580732A
- Authority
- CN
- China
- Prior art keywords
- control
- task
- task control
- virtual space
- information
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4784—Supplemental services, e.g. displaying phone caller identification, shopping application receiving rewards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure relates to a method and a device for displaying and processing task controls, electronic equipment and a storage medium, relates to the technical field of computers, and at least solves the problem that the experience of watching live content by a user account is influenced due to less interaction in a virtual space in the related art. In the method, the terminal equipment displays at least one target task control on a media page of a virtual space, can respond to the operation of clicking the target task control by a user account, displays an interactive task corresponding to the target task control and related to the virtual space on the media page, and enables a user to interact with an anchor account through the interactive task.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying and processing a task control, an electronic device, and a storage medium.
Background
In the related technology, the anchor account can be shared live in a live broadcast room of the live broadcast platform, and the user account can watch the live broadcast content of the anchor account in the live broadcast room.
However, in the current live broadcast room of the live broadcast platform, the user account can only interact with the anchor account by sending the live broadcast room barrage and giving a virtual gift to the anchor account, and the common and simple interaction mode is difficult to meet the higher and higher interaction requirements of the user account. Meanwhile, as the interactive content is relatively single, the user account may gradually lose interest in the live content, thereby affecting the experience of the user account in watching the live content.
Disclosure of Invention
The disclosure provides a task control display and processing method and device, electronic equipment and a storage medium, and aims to at least solve the problem that the experience of watching live content by a user account is influenced due to less interaction in a virtual space in the related technology.
The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for displaying a task control is provided, including: displaying at least one target task control on a media page of a virtual space; the target task control is used for providing an entrance of an interactive task related to the virtual space; responding to the operation of clicking the target task control by the user account, and displaying an interactive task corresponding to the target task control and related to the virtual space on the media page; the interaction task is used for representing the operation completed when the user account interacts with the anchor account in the virtual space.
Optionally, the method further includes: receiving control information of at least one target task control sent by a server, wherein the control information comprises material information and attribute information; the material information is used for representing one or more of a content title, a background color and an icon when the target task control is displayed; the attribute information is used to represent one or more of a positional order and a priority of the target task control when displayed. Wherein, the displaying at least one target task control on the media page in the virtual space includes: and displaying at least one target task control with a content title, a background color and an icon on a media page of the virtual space according to the material information and the attribute information in the control information.
Optionally, the displaying at least one target task control on the media page in the virtual space includes: and displaying at least one target task control with the priority greater than or equal to the preset priority on the media page of the virtual space.
Optionally, the displaying at least one target task control on the media page in the virtual space includes: displaying at least one target task control in an expanded state on a media page of a virtual space according to a position sequence corresponding to the target task control; the expanded state is used to represent the display of each target task control on the media page. And the above method further comprises: and responding to the operation of switching the display mode of the control by the user account, and displaying at least one target task control in a folded state or a rolling state.
Optionally, the displaying at least one target task control on the media page in the virtual space includes: displaying the target task controls in a folded state on a media page of the virtual space according to the position sequence corresponding to the target task controls; the folding state is used for displaying a preset number of target task controls on the media page. The method further comprises the following steps: and responding to the operation of switching the display mode of the control by the user account, and displaying at least one target task control in an expansion state or a rolling state.
Optionally, the "displaying at least one target task control on a media page in a virtual space" includes: displaying the target task control in a rolling state on a media page of the virtual space according to the position sequence corresponding to the target task control; the scroll state is used to indicate that each target task control is scrolled through in turn on the media page. The method further comprises the following steps: and responding to the operation of switching the display mode of the control by the user account, and displaying at least one target task control in an expanded state or a folded state.
Optionally, the "displaying at least one target task control on a media page in a virtual space" includes: acquiring a target display mark of a target task control; when the target display mark exists in all the display marks acquired by the terminal equipment, updating display data in a control template corresponding to the target display mark according to control information of a target task control; and displaying at least one target task control on a media page of the virtual space by using the updated control template.
Optionally, the "displaying at least one target task control on a media page in a virtual space" includes: when the target display marks do not exist in all the display marks, acquiring a control template corresponding to the target display marks; updating display data in the control template according to the control information of the target task control; and displaying at least one target task control on a media page of the virtual space by using the updated control template.
Optionally, before the "displaying at least one target task control on the media page of the virtual space", the method further includes: acquiring service information set by a user account on terminal equipment; the service information is used for expressing the recommendation requirement or shielding requirement of the user account on the virtual space on the terminal equipment; and sending the service information to a server, wherein the server is used for acquiring a target task control corresponding to the virtual space according to the service information, and increasing the user accounts for setting the service information in a preset user list under the condition that the number of the user accounts stored in the preset user list corresponding to the target task control is smaller than the preset number.
According to a second aspect of the embodiments of the present disclosure, there is provided another method for processing a task control, including: acquiring at least one target task control corresponding to a virtual space on terminal equipment; the target task control is used for providing an entrance of an interactive task related to the virtual space; the interaction task is used for expressing the operation completed when the user account interacts with the anchor account in the virtual space; and sending control information of at least one target task control to the terminal equipment, wherein the terminal equipment is used for displaying the at least one target task control on a media page of the virtual space according to the control information, and is used for responding to the operation of clicking the target task control by the user account and displaying an interactive task corresponding to the target task control and related to the virtual space on the media page.
Optionally, the "acquiring at least one target task control corresponding to the virtual space on the terminal device" includes: acquiring a room type corresponding to the virtual space; determining whether the room type is a preset room type; and if the room type is the preset room type, acquiring at least one target task control corresponding to the virtual space.
Optionally, the "acquiring at least one target task control corresponding to the virtual space on the terminal device" includes: periodically acquiring a room identification number of a virtual space or a room type corresponding to the virtual space; acquiring a task control corresponding to the virtual space according to the room identification number or the room type; and screening out at least one target task control from all task controls corresponding to the virtual space.
Optionally, the "screening out at least one target task control from all task controls corresponding to the virtual space" includes: determining whether the task control is overdue or not according to the control information of the task control aiming at each task control; and if the task controls are expired, deleting the expired task controls from all the task controls to obtain at least one target task control.
Optionally, the "deleting an expired task control from all task controls to obtain at least one target task control" includes: deleting overdue task controls from all task controls to obtain a first task control; for each first task control, determining whether a user account currently in the virtual space is in a preset user list of the first task control; storing at least one user account which shields or cannot watch the first task control in a preset user list; and if the user account is in the preset user list, deleting the first task control corresponding to the preset user list from all the first task controls to obtain at least one target task control.
Optionally, the sending control information of the target task control to the terminal device includes: and sending the control information of at least one target task control to at least one terminal device in a broadcasting mode.
Optionally, the "acquiring at least one target task control corresponding to the virtual space on the terminal device" includes: monitoring a distributed message of a user account entering a virtual space; acquiring account information of a user account according to the distributed message; acquiring a task control corresponding to account information; the account information includes one or more of an account identification number, an account type, and an account label; and screening out at least one target task control from all task controls corresponding to the account information.
Optionally, the "screening out at least one target task control from all task controls corresponding to the account information" includes: determining whether the user account is in a preset user list of the task controls or not for each task control in all the task controls; storing at least one user account which shields or cannot watch the task control in a preset user list; and if the user account is in the preset user list, deleting the task controls corresponding to the preset user list from all the task controls to obtain at least one target task control.
Optionally, the "deleting the task control corresponding to the preset user list from all task controls to obtain at least one target task control" includes: deleting task controls corresponding to a preset user list from all task controls to obtain second task controls; determining whether controls to be deleted exist in all the second task controls; the account type corresponding to the control to be deleted is inconsistent with the account type of the user account; and if the controls to be deleted exist in all the second task controls, deleting the controls to be deleted in all the second task controls to obtain at least one target task control.
Optionally, the sending control information of at least one target task control to the terminal device includes: and sending the control information of at least one target task control to at least one terminal device in a unicast mode.
Optionally, the control information includes material information and attribute information; the material information is used for representing one or more of a content title, a background color and an icon when the target task control is displayed; the attribute information is used to represent one or more of a positional order and a priority of the target task control when displayed.
Optionally, before the step of obtaining the target task control corresponding to the virtual space on the terminal device, the method further includes: determining room information or account information of a user account corresponding to a virtual space to be configured; the room information comprises a room identification number or a room type, and the account information comprises one or more of an account identification number, an account type and an account tag; acquiring control information of a control to be configured corresponding to room information or account information; configuring a task control corresponding to the virtual space according to control information of a control to be configured corresponding to the room information, wherein the task control has the control information after being configured; or configuring the task control corresponding to the account information according to the control information of the control to be configured corresponding to the account information, wherein the task control has the control information after being configured.
Optionally, the method further includes: receiving service information set on the terminal equipment by a user account sent by the terminal equipment; the service information is used for expressing the recommendation requirement or shielding requirement of the user account on the virtual space on the terminal equipment; acquiring at least one target task control corresponding to the virtual space according to the service information; if the number of the user accounts stored in the preset user list corresponding to the target task control is smaller than the preset number, adding the user account for setting the service information in the preset user list, and the terminal equipment corresponding to the user account in the preset user list cannot receive the target task control.
According to a third aspect of the embodiments of the present disclosure, there is provided a processing apparatus for task controls, including: the system comprises a control display unit and a task display unit; the control display unit is used for displaying at least one target task control on a media page of the virtual space; the target task control is used for providing an entrance of an interactive task related to the virtual space; the task display unit is used for responding to the operation of clicking the target task control by the user account and displaying an interactive task corresponding to the target task control and related to the virtual space on the media page; the interaction task is used for representing the operation completed when the user account interacts with the anchor account in the virtual space.
Optionally, the display device further includes an information receiving unit; the information receiving unit is used for receiving control information of at least one target task control sent by the server, and the control information comprises material information and attribute information; the material information is used for representing one or more of a content title, a background color and an icon when the target task control is displayed; the attribute information is used for representing one or more of position sequence and priority when the target task control is displayed; and the control display unit is specifically used for displaying at least one target task control with a content title, a background color and an icon on the media page of the virtual space according to the material information and the attribute information in the control information.
Optionally, the control display unit is specifically configured to: and displaying at least one target task control with the priority greater than or equal to the preset priority on the media page of the virtual space.
Optionally, the control display unit is specifically configured to: displaying at least one target task control in an expanded state on a media page of a virtual space according to a position sequence corresponding to the target task control; the expansion state is used for showing that each target task control is displayed on the media page; and responding to the operation of switching the display mode of the control by the user account, and displaying at least one target task control in a folded state or a rolling state.
Optionally, the control display unit is specifically configured to: displaying the target task control in a folded state according to the position sequence corresponding to the target task control on a media page of the virtual space; the folding state is used for displaying a preset number of target task controls on the media page; and responding to the operation of switching the display mode of the control by the user account, and displaying at least one target task control in an expansion state or a rolling state.
Optionally, the control display unit is specifically configured to: displaying the target task control in a rolling state on a media page of the virtual space according to the position sequence corresponding to the target task control; the scrolling state is used for showing that each target task control is sequentially displayed in a scrolling mode on the media page; and responding to the operation of switching the display mode of the control of the user account, and displaying at least one target task control in an expanded state or a folded state.
Optionally, the control display unit is specifically configured to: acquiring a target display mark of a target task control; when the target display mark exists in all the display marks acquired by the terminal equipment, updating display data in a control template corresponding to the target display mark according to control information of a target task control; and displaying at least one target task control on a media page of the virtual space by using the updated control template.
Optionally, the control display unit is specifically configured to: when the target display marks do not exist in all the display marks, acquiring a control template corresponding to the target display marks; updating display data in the control template according to the control information of the target task control; and displaying at least one target task control on a media page of the virtual space by using the updated control template.
Optionally, the display device further includes: a service information acquisition unit and a service information sending unit; the service information acquisition unit is used for acquiring service information set on the terminal equipment by the user account; the service information is used for expressing the recommendation requirement or shielding requirement of the user account on the virtual space on the terminal equipment; and the server is used for acquiring a target task control corresponding to the virtual space according to the service information, and increasing the user accounts for setting the service information in a preset user list under the condition that the number of the user accounts stored in the preset user list corresponding to the target task control is smaller than the preset number.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a processing apparatus for task controls, including: the control acquiring unit and the information sending unit; the control acquiring unit is used for acquiring at least one target task control corresponding to the virtual space on the terminal equipment; the target task control is used for providing an entrance of an interactive task related to the virtual space; the interaction task is used for representing the operation completed when the user account and the anchor account interact in the virtual space; the information sending unit is used for sending control information of at least one target task control to the terminal equipment, the terminal equipment is used for displaying the at least one target task control on a media page of the virtual space according to the control information, and is used for responding to the operation of clicking the target task control by a user account and displaying an interactive task corresponding to the target task control and related to the virtual space on the media page.
Optionally, the control obtaining unit is specifically configured to: acquiring a room type corresponding to the virtual space; determining whether the room type is a preset room type; and when the room type is a preset room type, acquiring at least one target task control corresponding to the virtual space.
Optionally, the control obtaining unit is specifically configured to: periodically acquiring a room identification number of a virtual space or a room type corresponding to the virtual space; acquiring a task control corresponding to the virtual space according to the room identification number or the room type; and screening out at least one target task control from all task controls corresponding to the virtual space.
Optionally, the control obtaining unit is specifically configured to: determining whether the task control is overdue or not according to the control information of the task control aiming at each task control; and when the task controls are overdue, deleting the overdue task controls from all the task controls to obtain at least one target task control.
Optionally, the control obtaining unit is specifically configured to: deleting expired task controls from all task controls to obtain a first task control; for each first task control, determining whether a user account currently in the virtual space is in a preset user list of the first task control; storing at least one user account which shields or cannot watch the first task control in a preset user list; and when the user account is in the preset user list, deleting the first task control corresponding to the preset user list from all the first task controls to obtain at least one target task control.
Optionally, the information sending unit is specifically configured to: and sending the control information of at least one target task control to at least one terminal device in a broadcasting mode.
Optionally, the control obtaining unit is specifically configured to: monitoring a distributed message of a user account entering a virtual space; acquiring account information of a user account according to the distributed message; acquiring a task control corresponding to account information; the account information includes one or more of an account identification number, an account type, and an account label; and screening out at least one target task control from all task controls corresponding to the account information.
Optionally, the control obtaining unit is specifically configured to: determining whether the user account is in a preset user list of the task controls or not for each task control in all the task controls; storing at least one user account which shields or cannot watch the task control in a preset user list; and when the user account is in the preset user list, deleting the task controls corresponding to the preset user list from all the task controls to obtain at least one target task control.
Optionally, the control acquiring unit is specifically configured to: deleting task controls corresponding to a preset user list from all task controls to obtain second task controls; determining whether controls to be deleted exist in all the second task controls; the account type corresponding to the control to be deleted is inconsistent with the account type of the user account; and when the controls to be deleted exist in all the second task controls, deleting the controls to be deleted in all the second task controls to obtain at least one target task control.
Optionally, the information sending unit is specifically configured to: and sending the control information of at least one target task control to at least one terminal device in a unicast mode.
Optionally, the control information includes material information and attribute information; the material information is used for representing one or more of a content title, a background color and an icon when the target task control is displayed; the attribute information is used to represent one or more of a positional order and a priority of the target task control when displayed.
Optionally, the processing apparatus further includes: the device comprises a first information acquisition unit, a second information acquisition unit and an information configuration unit; the system comprises a first information acquisition unit, a second information acquisition unit and a virtual space configuration unit, wherein the first information acquisition unit is used for determining room information or account information of a user account corresponding to a virtual space to be configured; the room information comprises a room identification number or a room type, and the account information comprises one or more of an account identification number, an account type and an account tag; the second information acquisition unit is used for acquiring control information of a control to be configured corresponding to the room information or the account information; the information configuration unit is used for configuring the task control corresponding to the virtual space according to the control information of the control to be configured corresponding to the room information, and the task control has the control information after being configured; or configuring the task control corresponding to the account information according to the control information of the control to be configured corresponding to the account information, wherein the task control has the control information after being configured.
Optionally, the processing device further includes: the system comprises a service information receiving unit, a task control acquiring unit and a list setting unit; the service information receiving unit is used for receiving service information which is sent by the terminal equipment and set on the terminal equipment by a user account; the service information is used for expressing the recommendation requirement or shielding requirement of the user account on the virtual space on the terminal equipment; the task control acquiring unit is used for acquiring at least one target task control corresponding to the virtual space according to the service information; and the list setting unit is used for increasing the user accounts for setting the service information in the preset user list when the number of the user accounts stored in the preset user list corresponding to the target task control is smaller than the preset number, and the terminal equipment corresponding to the user accounts in the preset user list cannot receive the target task control.
According to a fifth aspect of an embodiment of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the display method of the task control of the first aspect or implement the processing method of the task control of the second aspect.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method for displaying a task control of the first aspect or perform the method for processing a task control of the second aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product, which includes computer instructions, and the computer instructions, when executed by a processor, implement the method for displaying the task control of the first aspect, or implement the method for processing the task control of the second aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
and the terminal equipment receives the control information sent by the server and displays the target task control on the media page of the virtual space according to the control information. Therefore, the user account can enter the interaction task by clicking the target task control on the media page, and then the interaction task is completed, so that the interaction with the anchor account is realized. The scheme increases the interactive tasks except for sending the bullet screen and giving the gift, and improves the experience of watching the live broadcast content by the user account while increasing the interestingness.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the 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 a communication system displaying task controls according to an embodiment of the present disclosure;
FIG. 2 is a flowchart illustrating a task control display method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a media page provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of another media page provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of another media page provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating yet another media page provided by an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of another media page provided by an embodiment of the present disclosure;
FIG. 8 is a flowchart illustrating a method for displaying a task control according to an embodiment of the present disclosure;
FIG. 9 is a flowchart illustrating a method for displaying a task control according to an embodiment of the present disclosure;
fig. 10 is a flowchart illustrating a method for processing a task control according to an embodiment of the present disclosure;
FIG. 11 is a flowchart illustrating a processing method of another task control according to an embodiment of the present disclosure;
FIG. 12 is a flowchart illustrating a processing method of another task control according to an embodiment of the present disclosure;
FIG. 13 is a flowchart illustrating a processing method of another task control according to an embodiment of the present disclosure;
FIG. 14 is a flowchart illustrating a processing method of another task control according to an embodiment of the present disclosure;
FIG. 15 is a flowchart illustrating a processing method of another task control according to an embodiment of the present disclosure;
FIG. 16 is a flowchart illustrating a processing method of another task control according to an embodiment of the present disclosure;
FIG. 17 is a flowchart illustrating a processing method of another task control according to an embodiment of the present disclosure;
FIG. 18 is a flowchart illustrating a processing method of another task control according to an embodiment of the present disclosure;
fig. 19 is a schematic flowchart illustrating signaling issued by a server according to an embodiment of the present disclosure;
fig. 20 is a block diagram illustrating a processing apparatus of a task control according to an embodiment of the present disclosure;
FIG. 21 is a block diagram illustrating a display device of a task control according to an embodiment of the present disclosure;
fig. 22 shows a schematic structural diagram of a server provided by an embodiment of the present disclosure.
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 in the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," in an embodiment of the present disclosure is not to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion. It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing 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 merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the embodiments of the present disclosure, "at least one" means one or more. "plurality" means two or more. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and/or components.
In the related art, in order to meet more entertainment requirements of user accounts, more and more content community applications are configured with a live broadcast function. Such as a courier application, may provide a live platform for user accounts and anchor accounts. The anchor account can be used for live broadcast sharing in a live broadcast room of the live broadcast platform, and the user account can watch live broadcast content of the anchor account in the live broadcast room. In the live broadcast room, some interactions can be performed between the user account and the anchor account, for example, the user account gives some virtual gifts to the anchor account, or some barrage messages are sent on a live broadcast page; the anchor account may indicate a thank you to the user account presenting the virtual gift in the live room, or communicate with the user account by answering a barrage message, etc. Therefore, the user account and the anchor account can interact with each other, and the anchor account can also increase benefits by receiving the virtual gifts of the user account. However, in the current live broadcast room of the live broadcast platform, the user account can only realize the interaction with the anchor account by sending the live broadcast room barrage and giving a virtual gift to the anchor account, and the like, and the interaction mode is generally simple, and only can improve the income of the anchor account, so that the higher and higher interaction requirements and income requirements of the user account are difficult to meet. If the interaction mode on the live platform is more and more difficult to meet the requirement of the user account, the user account gradually loses interest in the live content, and the experience of the user account in watching the live content is influenced. Moreover, if the user account loses interest in the live content, the user account is gradually lost from the live platform, and accordingly, the profit of the anchor account is reduced.
In order to solve the problems in the related art, in the embodiment of the disclosure, a method for displaying and processing task controls is provided, where a server acquires target task controls corresponding to each live broadcast room on a live broadcast platform, and sends control information of the target task controls to a terminal device to which the live broadcast platform is installed. And after receiving the control information, the terminal equipment displays the target task control on a live broadcast page of the live broadcast room according to the control information. The target task control displayed on the live broadcast page is used for providing an entrance of an interactive task, specific requirements of the interactive task can be observed after the user account clicks the target task control on the live broadcast page, and the user account can execute corresponding operation to meet the requirements of the interactive task, so that interaction with the anchor account is realized. By the task control display and processing method in the embodiment of the disclosure, more interaction modes can be added to the user account, so that the interest of the user account in using a live broadcast platform is increased, and the experience of the user account in watching live broadcast content is improved.
The following describes a method for displaying and processing a task control according to an embodiment of the present disclosure with reference to the accompanying drawings. The task control display and processing method in the embodiment of the disclosure can be applied to a communication system for displaying task controls.
Fig. 1 illustrates a schematic diagram of a communication system displaying task controls according to an embodiment of the present disclosure. As shown in fig. 1, the communication system may include at least one terminal device 100 and at least one server 110. The terminal device 100 communicates with the server 110, and the specific communication mode may include a wired communication mode or a wireless communication mode. And, the terminal device 100 may also perform data interaction with the server 110. The terminal device 100 is installed with a content community application having a live broadcast function, such as a express application.
In the communication system of the task control shown in fig. 1, the user account can log in a live application on the terminal device 100 and view live content of the anchor account in a virtual space of the anchor account. The anchor account may log in a live application on the terminal device 101 and live in the virtual space. Specifically, when the anchor account performs live broadcast, the terminal device 100 in which the anchor account is located generates push stream information of live broadcast content, and sends the push stream information to the server 110. After receiving the push stream information uploaded by the terminal device 100 where the anchor account is located, the server 110 sends the push stream information to the terminal device 100 where the user account is located, and the terminal device 100 where the user account is located parses the push stream information and displays the parsed live content picture on the media page in the virtual space.
The terminal device 100 may be any computer device, where the computer device includes, but is not limited to, a mobile phone, a tablet computer, a desktop computer, a notebook computer, a vehicle-mounted terminal, a palm terminal, an Augmented Reality (AR) device, a Virtual Reality (VR) device, and the like, which can be installed and used in a live application (such as a fast hand), and the specific form of the terminal device is not particularly limited in the embodiment of the present disclosure. The system can be used for man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction or handwriting equipment and the like.
The server 110 may be a server, or may also be a server cluster composed of a plurality of servers or a cloud computing service center, which is not limited in this disclosure. The server 110 may further store data related to a live application installed on the terminal device 100, and may send corresponding data to the terminal device 100 when receiving a data acquisition request sent by the terminal device 100. For example, after the user account enters the virtual space, the terminal device 100 may send a task control request to the server 110, and the server 110 sends control information of a task control corresponding to the virtual space to the terminal device 100 according to the task control request.
The task control display and processing method provided by the embodiment of the present disclosure may be applied to the terminal device and the server in the communication system of the task control shown in fig. 1. Fig. 2 shows a flowchart of a method for displaying a task control according to an embodiment of the present disclosure. When the display method of the task control is applied to the terminal device, as shown in fig. 2, the method may include the following steps:
s101, the terminal equipment displays at least one target task control on a media page of the virtual space.
The target task control is used for providing an entrance of an interactive task related to the virtual space. The interactive tasks are set according to services provided by the virtual space or services required by the user account, and the interactive tasks represent operations completed when the user account and the anchor account interact in the virtual space. In addition, the interaction between the user account and the anchor account can also be understood as the interaction between the user object using the account and the anchor object. The interaction in the embodiment of the present disclosure may be completed by the user account alone in the virtual space, or may be completed by the user account and the anchor account together.
Illustratively, for a virtual space providing a service type such as a show, the virtual space is configured with a viewing interaction task related to the show, for example, "the viewing duration is 1 minute and 100 coins are collected", and the like. Correspondingly, the watching interaction task is correspondingly configured with a task control. The task control can be displayed on a media page of a virtual space of the terminal device, and after the user account clicks the task control, specific task contents can be seen, so that whether the watching interaction task is finished or not can be selected according to the requirement of the user.
The virtual space in the embodiment of the present disclosure refers to a live broadcast room on the live broadcast platform, and the media page of the virtual space refers to a live broadcast page in the live broadcast room.
In some embodiments, the terminal device may receive control information of at least one target task control sent by the server, where the control information includes material information, attribute information, and the like. And, the material information may be used to represent a display form of the target task control, such as one or more of a content title, a background color, and an icon when the target task control is displayed, and the attribute information may be used to represent a display order of the task control, such as one or more of a position order and a priority when the target task control is displayed. The terminal equipment can specifically display the target task control according to the attribute information and the material information. Therefore, the control information is beneficial to acquiring and displaying the target task control.
In some embodiments, the terminal device may display, when the task widget is targeted, at least one target task widget having a content title, a background color, and an icon on a media page in the virtual space according to the material information and the attribute information in the widget information. Or, the terminal device may further display at least one target task control with a priority greater than or equal to a preset priority on the media page of the virtual space when the target task control is executed. When a plurality of target task controls are available, the controls capable of being displayed on the virtual space media page are limited, and all the target task controls cannot be displayed, so that the terminal device can screen out the target task controls with the priority greater than or equal to the preset priority from all the obtained target task controls according to the priority in the attribute information of the target task controls, and then display the target task controls on the media page. Therefore, when the target task controls are too many, only the target task controls with the priority meeting the requirements are displayed, and the occupation of too much display space on the media page is avoided.
Illustratively, the terminal device receives control information corresponding to the task control 1, the task control 2 and the task control 3, and determines that the priorities of the task control 1, the task control 2 and the task control 3 are a first level, a third level and a sixth level respectively according to attribute information in the control information. If the predetermined priority is the fourth level, then it may be determined that the first and third levels are each greater than the predetermined priority and the sixth level is less than the predetermined priority. The server may further determine that the task controls with the priority greater than or equal to the preset priority are task control 1 and task control 2, respectively.
The display order of the task controls refers to the position order of display, namely, each task control is displayed in the order of the place on the media page. For example, still taking the task control 1, the task control 2, and the task control 3 as an example, it may be determined that the position order of the task control 1, the task control 2, and the task control 3 is the third bit, the first bit, and the fourth bit, respectively, according to the respective attribute information of the task control. And sequencing according to the position sequence, wherein the task control 2, the task control 1 and the task control 3 can be displayed on the media page firstly.
It should be noted that after comprehensively considering the influence factors such as the liked degree, the importance degree, the matching degree with the current period, and the like of each interactive task, the technician or the operator finally determines the order of the task controls corresponding to each interactive task control when displaying. As to how the display sequence is set, the embodiment of the present disclosure is not particularly limited.
In some embodiments, the terminal device may display at least one target task control in an expanded state on a media page in the virtual space according to a position order corresponding to the target task control when displaying the target task control. Wherein the expanded state is used to represent the display of each target task control on the media page. Therefore, the terminal equipment can better display the target task control and other display controls together on the media page, and the user account can better view the content of the media page conveniently.
And when the target task control is displayed in the expanded state, the terminal equipment can also respond to the operation of switching the display mode of the control by the user account and display at least one target task control in a folded state or a rolling state. Illustratively, as shown in fig. 3, still taking the position order of the task control 1, the task control 2, and the task control 3 as the third position, the first position, and the fourth position, respectively, as an example, when the right-side position of the media page is displayed in the expanded state, the task control 2, the task control 1, and the task control 3 may be displayed in a vertical row.
In other embodiments, to facilitate the operation requirements and viewing requirements of the user account, the task controls may also be displayed above the bullet screen display area on the media page in a horizontal row, or the task controls may also be displayed on the left side of the media page in a vertical row. The display position of the task control is not specifically limited in the embodiments of the present disclosure.
In some embodiments, the terminal device may display the target task control in a folded state according to a position sequence corresponding to the target task control on a media page of the virtual space when displaying the target task control. The folded state is used for displaying a preset number of target task controls on the media page, and excessive display space is avoided being occupied.
And when the target task control is displayed in a folded state, the terminal equipment can respond to the operation of switching the display mode of the control by the user account and display at least one target task control in an unfolded state or a rolling state. Illustratively, as shown in fig. 4, still taking the position order of the task control 1, the task control 2, and the task control 3 as the third position, the first position, and the fourth position, respectively, as an example, when the preset number is 2, the task control 2 and the task control 1 may be displayed in sequence in a vertical row at the right side of the media page when displayed in a folded state, without displaying the task control 3. At this time, the task control 2 and the task control 1 may be merged into another task control 21. When the user account clicks the task control 21, the terminal device may further display all task controls on the media page in response to the click operation, that is, sequentially display the task control 1, the task control 2, and the task control 3 on the media page.
In some embodiments, the terminal device may display the target task control in a scroll state according to a position sequence corresponding to the target task control on a media page in the virtual space when displaying the target task control. The scrolling state is used for displaying each target task control in a scrolling mode on the media page in sequence, and excessive display space is avoided being occupied.
And when the target task control is displayed in a rolling state, the terminal equipment can respond to the operation of switching the display mode of the control by the user account and display at least one target task control in an unfolding state or a folding state. Illustratively, as shown in fig. 5, still taking the position orders of the task control 1, the task control 2, and the task control 3 as the third bit, the first bit, and the fourth bit, respectively, as an example, when displayed in a scrolling state at the right position of the media page, the task control 3 may be displayed again at the same position after the task control 2,2s is displayed first and after the task control 1,2s is displayed again at the same position. The time interval of scrolling may be set to 1s, 2s, 3s, etc., and is not particularly limited in the embodiments of the present disclosure.
Therefore, when other display controls are more on the media page, the target task control can be displayed in a folded state or a rolling state, and excessive display space is avoided; and when other display controls on the media page are fewer, the target task control can be displayed in an expanded state, so that all the target task controls can be better displayed. The multiple display modes can facilitate the terminal equipment to better display the target task control and other display controls together on the media page, and also facilitate the user account to better view the content of the media page.
And S102, the terminal equipment responds to the operation of clicking the target task control by the user account, and displays an interactive task corresponding to the target task control and related to the virtual space on the media page.
After the target task control is displayed on the media page of the virtual space, the user account can click the target task control on the media page, the terminal device can respond to the click operation and further display task content of an interactive task corresponding to the target task control on the media page, and after the user account views the content, the user account can execute corresponding operation according to own requirements.
Illustratively, fig. 6 shows a schematic diagram of a media page provided by an embodiment of the present disclosure. As shown in fig. 6, a task control 1 and a task control 2 are displayed on a media page (i.e., a live page) of a live room a (i.e., a virtual space a) of a chat room type, the task control 1 can be clicked on the media page while a user account of a terminal device is currently used, and the terminal device can continue to display specific task content at a position of the task control 1 in response to the clicking operation. Referring to fig. 7, the task content of the task control 1 may be "the viewing duration is longer than 1 minute to receive 100 coins", the task content of the task control 2 may be "the number of praises exceeds 10 to receive 100 coins", and the like. The user account may continue to watch for 1 minute in this live room a if it wants to obtain 100 coins in this live room a. When the watching duration meets the condition, the user account can obtain corresponding rewards, so that the interaction between the user account and the main broadcasting account in the live broadcasting room A is realized.
It should be noted that, the "gold coin" mentioned in the above embodiments refers to a virtual resource that is awarded or stimulated by application software such as a live platform for a user account, and may correspond to different names in different application software, such as "fast hand coin", "experience value", and the like.
In the scheme of the embodiment, the terminal device displays the target task control on the media page of the virtual space. Therefore, the user account can enter the interaction task by clicking the target task control on the media page, and then the interaction task is completed, so that the interaction with the anchor account is realized. The scheme increases the interactive tasks except for sending the barrage and giving the gift, and improves the experience of watching the live broadcast content by the user account while increasing the interestingness.
In the embodiment of the present disclosure, when the terminal device displays the target task control, a preset control template may also be used for displaying, for example, a KDS (kaleidoscope, a cross-platform dynamic solution set applied by fast hand for self-research) template, and the like. Therefore, in some embodiments, referring to fig. 8, the step S101 may further specifically include the following steps:
s201, the terminal device obtains a target display mark of the target task control.
Typically, each task control corresponds to a control template, and the task controls have display markup associated with the control template. The terminal equipment can acquire a control template for displaying the target task control according to the target display mark of the target task control.
S202, when the target display mark exists in all the display marks acquired by the terminal equipment, the terminal equipment updates the display data in the control template corresponding to the target display mark according to the control information of the target task control.
In some embodiments, some task controls may have been displayed or some task controls are being displayed on the media page, and whether displayed or being displayed, the terminal device acquires the control templates corresponding to the task controls. And if the control template corresponding to the currently acquired target task control is acquired by the terminal equipment, the terminal equipment does not need to acquire the control again.
And S203, the terminal equipment displays at least one target task control on the media page of the virtual space by using the updated control template.
In the above-mentioned embodiment, when displaying the target task control, the terminal device needs to display through the corresponding control template, and the display parameters or the display data in the template are the control information corresponding to the target task control, for example, the content title, the background color, the icon, the corresponding task address, and the like in the attribute information. Each target task control corresponds to one control template, and the terminal device can correspondingly obtain the control template according to the target display mark of the target task control, so that the target task control can be favorably displayed. If other display controls currently displayed on the media page already use the control template corresponding to the target task control, the terminal device does not need to acquire the control template again, and only needs to update the display data in the control template, so that repeated operation of acquiring the control template is avoided, and the display of the target task control is accelerated.
In some embodiments, when the terminal device displays the target task control on the media page in the virtual space, the terminal device may further obtain a control template corresponding to the target display mark when the target display mark does not exist in all the display marks. And updating display data in the control template according to the control information of the target task control. And finally, displaying at least one target task control on the media page of the virtual space by using the updated control template. In this implementation manner, if other display controls currently displayed on the media page do not use the control template corresponding to the target task control, the terminal device needs to acquire the control template corresponding to the target task control, and update the display data in the control template according to the control information of the target task control, so as to facilitate display of the target task control.
In some embodiments, referring to fig. 9, before the terminal device displays the target task control on the media page in the virtual space, the method may further include the following steps:
s301, the terminal device obtains the service information set on the terminal device by the user account.
The service information is used for representing the recommendation requirement and/or shielding requirement of the user account on the virtual space on the terminal equipment. The application software providing the virtual space may prompt the user account to set viewing preferences, such as setting a room type of the virtual space desired to be viewed, setting a certain virtual space desired to be viewed, setting a room type of the virtual space not desired to be viewed, and the like.
If the virtual space which the user account wants to watch is set, the virtual space can be regarded as meeting the recommendation requirement of the user account; and if the virtual space which is not wanted to be viewed is set by the user account, the virtual space can be regarded as not meeting the recommendation requirement of the user account, but meeting the shielding requirement of the user account.
S302, the terminal equipment sends the service information to the server.
The server is used for acquiring a target task control corresponding to the virtual space according to the service information, and increasing the user accounts for setting the service information in a preset user list under the condition that the number of the user accounts stored in the preset user list corresponding to the target task control is smaller than the preset number.
The service information may specifically include recommended content and/or masked content set by the user account, where the recommended content may include room information of a virtual space that the user account wants to view, and the masked content may include room information of a virtual space that the user account does not want to view. In addition, the service information may include account information of the user account.
After receiving the service information, the server can determine the task control corresponding to the virtual space which the user account wants to watch or the task control corresponding to the virtual space which the user account does not want to watch according to the room type in the service information. And if the number of the stored user accounts in the preset user list corresponding to the task control is smaller than the preset number, the server adds the user accounts for setting the service information in the preset user list.
The preset user list in the embodiment of the present disclosure refers to a "black list" in the related art, that is, all user accounts stored in the preset user list cannot view the task control or do not want to view the task control, and all user accounts not on the preset user list can view the task control. In fact, the preset user list may also refer to a "white list" in the related art, that is, the task control can be viewed by the user accounts stored in the preset user list, and the task control cannot be viewed by the user accounts not on the preset user list.
Illustratively, the terminal device obtains service information set by a user account a, where the service information includes a live broadcast room a that the user account a wants to watch and a live broadcast room B that the user account a does not want to watch. After receiving the service information, the server determines a task control 1 and a task control 2 of the interactive task corresponding to the live broadcast room A, and obtains a task control 3 of the interactive task corresponding to the live broadcast room B. Then, when the preset user list is a "black list", the server may add a user account a to the preset user list corresponding to the task control 3; when the preset user list is a "white list", the server may add the user account a to the preset user lists corresponding to the task control 1 and the task control 2, respectively.
In addition, if the number of the stored user accounts in the preset user list corresponding to the task control is equal to the preset number, which indicates that the preset user list is full, the user account with the service information set therein may be added to the preset user list by deleting the user account stored first and updating the preset user list at that time.
In the scheme of the embodiment, the preset user list corresponding to each task control can be set according to the service requirement of the user account for the task control. If the user account selects to shield a certain virtual space on the terminal device, the server acquires the interactive task corresponding to the virtual space and the task control corresponding to the interactive task, and then adds the user account in a preset user list corresponding to the acquired task control. In this way, when the server acquires the task control again for the user account, the server does not issue the task control to the terminal device for display because the user account exists in the preset user list corresponding to the task control. Therefore, the target task control acquired by the terminal equipment can be ensured to meet the requirements of the user group account.
Fig. 10 shows a flowchart of a processing method of a task control according to an embodiment of the present disclosure. When the processing method of the task control is applied to the server, as shown in fig. 10, the method may include the following steps:
s1, a server obtains at least one target task control corresponding to a virtual space on terminal equipment.
And when the target task control is displayed on the terminal equipment, an entrance of an interactive task related to the virtual space can be provided.
In some embodiments, before the server acquires the at least one target task control corresponding to the virtual space, the server needs to determine room information of the virtual space, so that the server acquires the corresponding at least one target task control according to the room information. Therefore, the terminal device also needs to transmit the room information of the virtual space to the server first. Wherein the room information includes one or both of a room identification number and a room type of the virtual space.
S2, the server obtains control information corresponding to at least one target task control.
The control information is information which is configured for each task control in advance by the server, and specifically may include material information, attribute information, and the like of the task control. Illustratively, if the server acquires 4 target task controls corresponding to the virtual space, the server further needs to continuously acquire control information corresponding to the 4 target task controls.
And S3, the server sends the acquired control information corresponding to the at least one target task control to the terminal equipment.
Specifically, the server may generate a corresponding signaling according to the control information, and send the signaling to the terminal device.
In the above embodiment, the server provides the target task control corresponding to the interactive task to the terminal device, so that the terminal device can display the target task control on the media page in the virtual space. Therefore, the user account can enter the interaction task by clicking the target task control on the media page, and then the interaction task is completed, so that the interaction with the anchor account is realized. The scheme increases the interactive tasks except for sending the bullet screen and giving the gift, and improves the experience of watching the live broadcast content by the user account while increasing the interestingness.
In an actual application scenario, the user account may not complete the interactive task in all virtual spaces, that is, some virtual spaces may not support the interactive task. In the embodiment of the disclosure, for a virtual space that can support an interactive task, the server may obtain a corresponding target task control, and for a virtual space that does not support an interactive task, the server may not obtain a corresponding target task control. Based on this, referring to fig. 11, in some embodiments, the step S1 may further specifically include the following steps:
s11, the server obtains the room type corresponding to the virtual space.
Specifically, the server may first obtain an Identity (ID) of a room in the virtual space, where the ID is a unique identifier, a number, or an account number for marking the virtual space. The server can inquire the room type corresponding to the virtual space according to the room identification number of the virtual space. The room identification number and the room type are pre-configured in the server in a corresponding association relationship. For example, before the server acquires the target task control corresponding to the live broadcast room a, it needs to acquire the room identification number of the live broadcast room a first, for example, the room identification number is 09034, and then the server may query the room type associated with 09034.
S12, the server determines whether the room type is a preset room type.
The virtual spaces on the application software can respectively provide different service contents, and the virtual spaces can be divided into different room types according to the different service contents. For example, a virtual space of live game content is provided, whose room type may be game type; or, a virtual space for chatting live content is provided, and the room type of the virtual space can be a chat room type; or, a virtual space for selling live contents is provided, and the room type of the virtual space can be an e-commerce type; still alternatively, a virtual space of landscape, people, content recommendations is provided, whose room type may be a show type.
In an actual application scenario, the user account may send a bullet screen or give a gift to the anchor account in each type of virtual space. However, the user account may prefer to have other interactive tasks with the anchor account in a virtual space of the show type or chat room type, to obtain his own benefits or rewards, etc. Therefore, in the embodiment of the present disclosure, the show type and the chat room type may be set as preset room types, and then in step S12, it is determined whether the room type of the virtual space is the show type or the chat room type. It should be noted that, the setting of the show type and the chat room type and the preset room type in the embodiment of the present disclosure is only an example, and in some other embodiments, if other room types than the above room types are newly added or the requirement of the user account changes, other room types may also be set as the preset room type.
And S13, under the condition that the room type is the preset room type, the server acquires at least one target task control corresponding to the virtual space.
In addition, under the condition that the room type is not the preset room type, the server does not correspondingly acquire the target task control corresponding to the virtual space. When the server determines that the room type of the virtual space is the preset room type, it is described that the virtual space supports the interactive task of the embodiment of the present disclosure, and when the server determines that the room type of the virtual space is not the preset room type, it is described that the virtual space does not support the interactive task of the embodiment of the present disclosure.
Illustratively, still taking preset room types as a show room type and a chat room type as examples, if the server determines that the room type of the virtual space is the show room type, the server continues to acquire a target task control corresponding to the virtual space; and if the server determines that the room type of the virtual space is the game type, the server does not acquire the target task control corresponding to the virtual space.
Based on the content of the above steps S11 to S13, in the scheme of the embodiment of the present disclosure, the room type supporting the interactive task is set as the preset room type, and the server correspondingly obtains the target task control corresponding to the virtual space only when it is determined that the virtual space on the terminal device belongs to the preset room type, so that it can be satisfied that the user account completes the interactive task in the virtual space of the specific room type.
According to the task control processing method, when the target task control corresponding to the virtual space is obtained, the target task control can be obtained for the virtual space, and also can be obtained for the user account entering the virtual space to view the content, so that the server can send the target task control to the terminal device from the virtual space dimension or from the user account dimension respectively.
When the server obtains at least one corresponding target task control for the virtual space, as shown in fig. 12, the step S1 may further specifically include the following steps:
s14, the server periodically acquires the room identification number of the virtual space and/or the room type corresponding to the virtual space.
The server can establish a scanning task, and periodically scan the virtual space on the terminal device by using the scanning task, so as to obtain the room identification number and/or the room type of the virtual space. In the periodic scanning operation, the scanning period may be set according to the actual requirement or service requirement of the application scenario, and may be set to 10s in the embodiment of the present disclosure.
When the server configures an interactive task and a task control for each virtual space in advance according to the service content, the server may configure one or more task controls for each virtual space, and may also configure the same one or more task controls for virtual spaces belonging to the same room type.
Illustratively, when the interactive task and the task control are configured in advance, a task control 1, a task control 2 and a task control 3 may be configured for a live broadcast room a, a task control 1 and a task control 4 may be configured for a live broadcast room B, and a task control 1, a task control 2 and a task control 4 may be configured for a live broadcast room C. The same task control 1 and task control 2 can be configured for the live broadcast room D and live broadcast room E belonging to the same room type, and the same task control 3 and task control 4 can be configured for the live broadcast room F and live broadcast room G belonging to another room type.
Then, in the process of acquiring the target task control by the server, the server may acquire the target task control corresponding to a single virtual space according to the room identification number, and may also acquire the target task control corresponding to the same type of virtual space according to the room type. In addition, the server can also obtain the room identification number and the room type at the same time, and then obtain the corresponding target task control according to any one of the room identification number and the room type.
And S15, the server acquires the task control corresponding to the virtual space according to the room identification number or the room type.
The virtual space needs to be oriented to a large number of user accounts, the interaction requirements of each user account for the virtual space are different, and in order to meet the interaction requirements of all the user accounts as far as possible, one virtual space can generally correspond to a plurality of interaction tasks and a plurality of task controls.
In step S15, the server needs to first obtain all task controls corresponding to the virtual space, and then screen out a target task control meeting the requirement from all task controls, see step S16 below.
S16, screening out at least one target task control from all the task controls corresponding to the virtual space by the server.
The purpose of the filtering is to select a target task control which is not expired and meets the requirements of the user account. In some embodiments, the control information of the task control may include a validity period of the task control, and the server may determine whether the task control is expired according to the validity period; or, when the user account uses the application software on the terminal device, the service information such as the viewing preference of the user account for the virtual space or the preference for the interactive task is set, and the server may determine whether the task control obtained in step S15 meets the requirement of the user account according to the service information.
Based on the contents of the foregoing steps S14 to S16, in the solution of the embodiment of the present disclosure, the server may periodically scan the virtual space, so as to obtain the room identification number or the room type of the virtual space. From the perspective of the virtual space, the server may acquire, for each or each virtual space, all task controls corresponding to the virtual space according to the room identification number of each virtual space or the room type of each virtual space. The acquisition mode only needs to consider the interactive task requirement of the virtual space, and then more acquired task controls or interactive tasks can be obtained. And then all task controls are screened, so that the target task control can be obtained more accurately.
Fig. 13 is a flowchart illustrating a processing method of another task control according to an embodiment of the present disclosure. In some embodiments, referring to fig. 13, the step S16 may further specifically include the following steps:
s161, the server determines whether the task control is overdue according to the control information of the task control for each task control.
The control information of the task control may include attribute information, and the attribute information may further include a validity period of the task control. If the current date of the task control acquired by the server exceeds the validity period of the task control, the task control is overdue; and if the current date does not exceed the validity period of the task control, the task control is not expired. Illustratively, the validity period of the task control 1 is 2022, 1 and 31 days, and the server acquires the task control 1 at 26 days, 2 and 2 months of 2022, obviously, the current date of acquiring the task control 1 by the server exceeds the validity period of the task control 1, and the task control 1 is expired.
And S162, if the task controls are overdue, the server deletes the overdue task controls from all the task controls to obtain at least one target task control.
Based on the contents of the steps S161 to S162, in the solution of the embodiment of the present disclosure, the server deletes the expired task control from all task controls corresponding to the virtual space, and only retains the target task control that is not expired, thereby ensuring that all the target task controls received by the terminal device can be effectively displayed.
Fig. 14 is a flowchart illustrating a processing method of another task control provided by an embodiment of the present disclosure. In some embodiments, referring to fig. 14, the step S162 may further specifically include the following steps:
s1621, the server deletes the expired task control from all the task controls to obtain a first task control.
S1622, the server determines, for each first task control, whether a user account currently in the virtual space is in a preset user list of the first task control.
And at least one user account which shields or cannot watch the first task control is stored in the preset user list.
S1623, if the user account is in the preset user list, the server deletes the first task control corresponding to the preset user list from all the first task controls to obtain at least one target task control.
For example, after the step S1621, the first task controls obtained by the server and corresponding to the live broadcast studio a are: task control 1, task control 3, and task control 4. If the user account is in the preset user list of the task control 4, the server needs to delete the task control 4 from the first task control. And finally, the obtained target task controls are a task control 1 and a task control 3.
Based on the contents of the steps S1621-S1623, in the scheme of the embodiment of the present disclosure, each task control corresponds to a preset user list, and if a user account that cannot be viewed or does not want to be viewed is stored in the preset user list, the server deletes a first task control from all first task controls as long as the current user account in the virtual space is in the preset user list of the first task control, and the terminal device does not receive the first task control. This approach also ensures that the user account on the terminal device does not view the task controls and interactive tasks that should not be seen or not be seen.
In addition, the same virtual space can be displayed on different terminal devices respectively, but since the virtual spaces are the same, the task controls displayed in the same virtual space on different terminal devices are also the same. Therefore, in the above scheme in which the server acquires the corresponding target task control for the virtual space itself, after acquiring the control information corresponding to the target task control, the server sends the control information to at least one terminal device displaying the virtual space in a broadcast manner. Therefore, the same target task control can be displayed in the same virtual space on different terminal devices.
When the server acquires a corresponding target task control for a user account entering the virtual space to view content, referring to fig. 15, the step S1 may further specifically include the following steps:
s17, the server monitors the distributed message of the user account entering the virtual space.
In the embodiment of the disclosure, the server may monitor the distributed message of the user account entering the virtual space based on the distributed message system such as kafka. The kafka is a high-throughput distributed message publishing and subscribing system in the related technology, and when massive user accounts enter a virtual space at the same time in a peak period, the kafka supports instantaneous high-concurrency message acquisition and sending, and is beneficial for a server to acquire the message of the user account entering the virtual space in real time.
And S18, the server acquires the account information of the user account according to the distributed message.
And S19, the server acquires the task control corresponding to the account information.
Wherein the account information includes one or more of an account identification number, an account type, and an account label. The account identification number is also called an account ID, and is a unique identification, number or account number for marking a user account, and is used for distinguishing the user account. The account types may include general accounts, important accounts, and the like.
The account labels may be set according to the types of the user accounts, or may be set according to actual application scenarios, and the user accounts are summarized under a certain account label, and each account label may include user accounts of the same account type, or may include user accounts of different account types.
When the server pre-configures the interaction task and the task control, because different user accounts have different requirements for the interaction task, the server may configure one or more task controls for each user account, may also configure the same one or more task controls for user accounts belonging to the same account type, and may also configure the same one or more task controls for user accounts belonging to the same account label.
For example, when the interactive task and the task control are configured in advance, the task control 1, the task control 2, and the task control 3 may be configured for the user account a, the task control 1 and the task control 4 may be configured for the user account b, and the task control 1, the task control 2, and the task control 4 may be configured for the user account c. The same task control 1 and task control 2 may be configured for a user account d and a user account e belonging to the same account type, and the same task control 3 and task control 4 may be configured for a user account f and a user account g belonging to another account type. The same task control 1 and the same task control 4 can be configured for a user account h and a user account i which belong to the same account label, and the same task control 2 and the same task control 3 can be configured for a user account j and a user account k which belong to another account label.
Then, in the process of acquiring the target task control by the server, the server may acquire the target task control corresponding to a single user account according to the account identification number. And acquiring a target task control corresponding to the same type of user account according to the account type. And acquiring a target task control corresponding to the user account with the same label according to the account label.
In addition, the server can also obtain the account identification number, the account type and the account label at the same time, and then obtain the corresponding target task control according to any one of the account identification number, the account type and the account label. It should be noted that the user account needs to view the target task control in the virtual space, and therefore, even if the server acquires the target task control for the user account, the target task control can be regarded as the target task control corresponding to the virtual space.
S20, the server screens out at least one target task control from all task controls corresponding to the account information.
The purpose of the screening is to select a target task control which meets the requirements of the user account and meets the account type of the user account.
Based on the contents of the steps S17 to S20, in the solution of the embodiment of the present disclosure, the server may monitor the distributed message that the user account enters the virtual space, and from the perspective of the user account, obtain the account information of the user account according to the distributed message, and obtain all task controls corresponding to the user account. The task control or the interactive task acquired by the acquisition mode can better meet the requirement of the user account on the interactive task. And then all task controls are screened, so that the target task control can be obtained more accurately.
Fig. 16 is a flowchart illustrating a processing method of another task control provided by an embodiment of the present disclosure. As shown in fig. 16, the step S20 may further specifically include the following steps:
s211, the server determines whether the user account is in a preset user list of the task controls or not according to each task control in all the task controls.
And at least one user account which shields or cannot watch the task control is stored in the preset user list.
S212, if the user account is in the preset user list, the server deletes the task control corresponding to the preset user list from all task controls to obtain at least one target task control.
Based on the contents of steps S211 to S212, in the scheme of the embodiment of the present disclosure, each task control corresponds to a preset user list, and if a user account that cannot be viewed or does not want to view the task control is stored in the preset user list, the server deletes the task control from all task controls as long as the current user account in the virtual space is in the preset user list of a certain task control, and thus the terminal device does not receive the task control. This way it is also ensured that the user account on the terminal device does not view the task controls and the interactive tasks that should not or not be seen.
Fig. 17 is a flowchart illustrating a processing method of another task control according to an embodiment of the present disclosure. As shown in fig. 17, the step S212 may further include the following steps:
s2121, the server deletes the task controls corresponding to the preset user list from all the task controls to obtain second task controls.
And S2122, the server determines whether controls to be deleted exist in all the second task controls.
And the account type corresponding to the control to be deleted is inconsistent with the account type of the user account. In some embodiments, when the server configures the interactive task and the task control in advance, the server configures a user account that can view the task control, for example, the first type and the second type of user account can view the task control 1, while the third type of user account cannot view the task control 1, so that the account types corresponding to the task control 1 are the first type and the second type.
In step S2122, when the account type of the user account currently entering the virtual space is consistent with the account type corresponding to the task control acquired by the server, it is indicated that the user account can view the task control; and when the account type of the user account is inconsistent with the account type corresponding to the task control acquired by the server, indicating that the user account cannot view the task control.
And S2123, if the controls to be deleted exist in all the second task controls, the server deletes the controls to be deleted in all the second task controls to obtain at least one target task control.
Illustratively, all the second task controls acquired by the server are respectively a task control 1, a task control 2 and a task control 3, and if the account type corresponding to the task control 2 is inconsistent with the account type of the user account, the task control 2 is a control to be deleted. The server needs to delete the task control 2. And finally, the obtained target task controls are a task control 1 and a task control 3.
Based on the contents of the steps S2121-S2123, in the scheme of the embodiment of the present disclosure, after the server filters the task control through the preset user name list, the server may further continue to delete the control to be deleted from the obtained second task control, where an account type corresponding to the control to be deleted is inconsistent with an account type of the user account, and this way may further ensure that the target task control meets the account type requirement of the user account, so that the obtained target task control is more accurate.
In addition, different user accounts usually log in different terminal devices, and the target task controls obtained by the server each time meet the requirements of different user accounts, so that the target task controls displayed on the virtual space of the terminal device used by the user account are also different. Therefore, in the above scheme in which the server acquires the corresponding target task control for the user account which enters the virtual space to view the content, after acquiring the control information corresponding to the target task control, the server sends the control information of the target task control to the terminal device used by at least one user account in a unicast manner. Therefore, different user accounts can see different target task controls on the terminal equipment.
The control information referred to in the foregoing embodiments of the present disclosure includes material information and attribute information. The material information is used for representing one or more of a content title, a background color, an icon and a task address corresponding to the task control when the task control is displayed. The attribute information is used for representing one or more of the position sequence, the priority and the validity period of the task control when the task control is displayed. The server can screen out the target task control according to the validity period and the like in the attribute information. Therefore, the control information is beneficial to obtaining the target task control.
As in the foregoing embodiment, before acquiring a target task control, the server needs to configure each task control to have control information, so that in a subsequent process of acquiring the target task control for a virtual space or for a user account, the server can accurately acquire the target task control corresponding to the virtual space. Based on this, before the step S1, referring to fig. 18, the server may also perform pre-configuration for each task control according to control information set by a technician or an operator. The method specifically comprises the following steps:
s1-1, the server determines room information corresponding to a virtual space to be configured or account information of a user account.
When setting the control information, a technician or an operator will generally indicate the control information of the task control set for which virtual space, which type of virtual space, or for which user account, which type of user account, etc. Therefore, the server acquires the room information of the virtual space or the account information of the user account, which is beneficial to acquiring the corresponding task control and configuring the corresponding control information for the corresponding task control. Wherein the room information includes a room identification number and/or a room type, and the account information includes one or more of an account identification number, an account type, and an account label.
S1-2, the server obtains control information of a control to be configured corresponding to the room information or the account information.
The control information here refers to material information and attribute information set by a technician or an operator on a front-end configuration page such as a terminal device. And the terminal equipment sends the control information to the server after the control information is set by a technician or an operator.
S1-3, the server configures the task control corresponding to the virtual space according to the control information of the control to be configured corresponding to the room information, and the task control has the control information after being configured.
Or the server may also configure the task control corresponding to the account information according to the control information of the control to be configured corresponding to the account information, where the task control has the control information after being configured.
After the server acquires the control information, the legitimacy of the control information can be judged, namely whether the control information meets the material standard specification, the display standard specification and the like is judged. And under the condition that the control information is legal, the server stores the control information into a database and configures the control information to the corresponding task control. In the case of illegal control information, the server will not store the control information.
Based on the contents of the steps S1-1 to S1-3, in the solution of the embodiment of the present disclosure, the server may perform pre-configuration on the task control corresponding to a certain virtual space, a certain type of virtual space, a certain user account, a certain type of user account, or a user account belonging to a certain label according to control information and the like set by a technician and the like. Furthermore, each task control is guaranteed to have control information.
In the embodiment of the disclosure, the number of active users per day of the live broadcast platform can reach hundred million, and in order to improve the calculation speed, the analysis speed and the like of user account data, a calculation task of data fragmentation can be adopted in the server, so that high concurrent processing of massive user account data is realized, and the operation of the live broadcast platform on the terminal device is more stable.
As in the foregoing embodiment, the preset user list corresponding to the task control also needs to be configured in advance, and based on this, before step S1, the server may further receive service information set on the terminal device by the user account sent by the terminal device. After receiving the service information, the server can determine the task control corresponding to the virtual space which the user account wants to watch or the task control corresponding to the virtual space which the user account does not want to watch according to the room type in the service information. And if the number of the stored user accounts in the preset user list corresponding to the task control is smaller than the preset number, the server adds the user accounts for setting the service information in the preset user list.
In addition, if the number of the stored user accounts in the preset user list corresponding to the task control is equal to the preset number, which indicates that the preset user list is full, the user account with the service information set therein may be added to the preset user list by deleting the user account stored first and updating the preset user list at that time.
In the above embodiment, the preset user list corresponding to each task control may be set according to a service requirement of the user account for the task control. If the user account selects to shield a certain virtual space on the terminal device, the server acquires the interactive task corresponding to the virtual space and the task control corresponding to the interactive task, and then adds the user account in a preset user list corresponding to the acquired task control. In this way, when the server acquires the task control again for the user account, the server does not issue the task control to the terminal device for display because the user account exists in the preset user list corresponding to the task control. Therefore, the target task control acquired by the terminal equipment can be ensured to meet the requirements of the user group account.
As can be seen from the content of the foregoing embodiment, in the method for displaying task controls according to the embodiment of the present disclosure, a server may obtain task controls corresponding to a virtual space from a dimension of the virtual space (e.g., a live broadcast room) and a dimension of a user account. When the server sends control information to the terminal device respectively according to the two dimensions, different signaling can be formed according to the difference of the dimensions. For example, referring to fig. 19, which is a schematic flow chart combining the schemes of the foregoing steps S14 to S16 and the schemes of S17 to S20, in fig. 19, a technician or an operator may be regarded as a service party providing a live broadcast platform, before a server acquires and issues a target task control, the service party needs to configure a task control (which may also be referred to as a registration pendant) first, and the configured control information is stored in a configuration file (i.e., a configuration file such as kconf) of the server.
In the process of sending the target task control to the terminal device from the user account dimension, the server monitors a user account (namely a room entering consumer) entering a live broadcast room, and then the server judges whether the room type of the current live broadcast room supports the task control issuing. And under the condition of supporting the task control issuing, the server inquires the task control matched with the current user account according to the control information in the configuration file. Thereafter, task controls that have expired are filtered. And then judging whether the account label of the current user account meets the account label requirement of the unexpired task control or not. And if the account label of the current user account meets the account label requirement of the unexpired task control, the server assembles a control IM (instant messaging) signaling according to the control information of the unexpired task control.
In the process of sending the target task control to the terminal device from the dimension of the live broadcast room, the server firstly obtains a shielding requirement or a recommendation requirement and the like configured in advance by a user account, and configures a preset user list for the related task control. After the task control is configured, the server periodically scans the live broadcast room and determines whether the room type of the current live broadcast room supports the task control issuing. And under the condition of supporting the task control issuing, the server inquires the task control matched with the current live broadcast room according to the control information in the configuration file. Thereafter, task controls that have expired are filtered. And judging whether the current user account exists in a preset user list corresponding to the task control. And if the current user account does not exist in a preset user list corresponding to the task control, the server assembles a control status signal signaling according to the control information of the task control.
In the embodiment of the disclosure, the control information includes material information and attribute information, and after receiving the control information, the terminal device displays the target task control on the media page in the virtual space according to the material information and the attribute information in the control information. In some cases, the terminal device may receive more target task controls, but the display space on the media page is limited, and each target task control cannot be displayed on the media page.
Fig. 20 is a block diagram illustrating a structure of a processing device of a task control according to an embodiment of the present disclosure. As shown in fig. 20, the apparatus includes a control acquisition unit 210 and an information transmission unit 211. The control obtaining unit 210 is configured to obtain at least one target task control corresponding to a virtual space on the terminal device. For example, step S1 in the previous embodiment is performed. The information sending unit 211 is configured to send control information of at least one target task control to the terminal device, and the terminal device is configured to display the at least one target task control on a media page in the virtual space according to the control information. For example, the aforementioned step S3 is performed.
Optionally, the control obtaining unit 210 is specifically configured to: acquiring a room type corresponding to the virtual space; determining whether the room type is a preset room type; and if the room type is the preset room type, acquiring at least one target task control corresponding to the virtual space. For example, the aforementioned steps S11-S13 are performed.
Optionally, the control obtaining unit 210 is further specifically configured to: periodically acquiring a room identification number of the virtual space and/or a room type corresponding to the virtual space; acquiring a task control corresponding to the virtual space according to the room identification number or the room type; and screening out at least one target task control from all task controls corresponding to the virtual space. For example, the aforementioned steps S14-S16 are performed.
Optionally, the control obtaining unit 210 is further specifically configured to: determining whether the task control is overdue or not according to the control information of the task control aiming at each task control; and if the task controls are overdue, deleting the overdue task controls from all the task controls to obtain at least one target task control. For example, the aforementioned steps S161-S162 are performed.
Optionally, the control obtaining unit 210 is further specifically configured to: deleting expired task controls from all task controls to obtain a first task control; for each first task control, determining whether a user account currently in the virtual space is in a preset user list of the first task control; and when the user account is in the preset user list, deleting the first task control corresponding to the preset user list from all the first task controls to obtain at least one target task control. For example, the aforementioned steps S1621-S1623 are performed.
Optionally, the information sending unit 211 is specifically configured to: and sending the control information of at least one target task control to at least one terminal device in a broadcasting mode.
Optionally, the control obtaining unit 210 is further specifically configured to: monitoring a distributed message of a user account entering a virtual space; acquiring account information of a user account according to the distributed message; acquiring a task control corresponding to account information; and screening out at least one target task control from all task controls corresponding to the account information. For example, the aforementioned steps S17-S20 are performed.
Optionally, the control obtaining unit 210 is further specifically configured to: determining whether the user account is in a preset user list of the task controls or not for each task control in all the task controls; and if the user account is in the preset user list, deleting the task controls corresponding to the preset user list from all the task controls to obtain at least one target task control. For example, the aforementioned steps S211-S212 are performed.
Optionally, the control obtaining unit 210 is further specifically configured to: deleting task controls corresponding to a preset user list from all task controls to obtain second task controls; determining whether controls to be deleted exist in all the second task controls; and if the controls to be deleted exist in all the second task controls, deleting the controls to be deleted in all the second task controls to obtain at least one target task control. For example, the aforementioned steps S2121-S2123 are performed.
Optionally, the information sending unit 211 is further specifically configured to: and sending the control information of at least one target task control to at least one terminal device in a unicast mode.
Optionally, the control information includes material information and attribute information; the material information is used for representing one or more of a content title, a background color and an icon when the target task control is displayed; the attribute information is used to represent one or more of a positional order and a priority of the target task control when displayed.
Optionally, the apparatus further comprises: the device comprises a first information acquisition unit, a second information acquisition unit and an information configuration unit. The first information acquisition unit is used for determining room information or account information of a user account corresponding to the virtual space to be configured. For example, the aforementioned step S1-1 is performed. And the second information acquisition unit is used for acquiring the control information of the control to be configured corresponding to the room information or the account information. For example, the aforementioned step S1-2 is performed. The information configuration unit is used for configuring the task control corresponding to the virtual space according to the control information of the control to be configured corresponding to the room information, and the task control has the control information after being configured; or configuring the task control corresponding to the account information according to the control information of the control to be configured corresponding to the account information, wherein the task control has the control information after being configured. For example, the aforementioned steps S1-3 are performed.
Optionally, the apparatus further comprises: the system comprises a service information receiving unit, a task control acquiring unit and a list setting unit. The service information receiving unit is used for receiving service information which is sent by the terminal equipment and set on the terminal equipment by the user account. And the task control acquiring unit is used for acquiring at least one target task control corresponding to the virtual space according to the service information. And the list setting unit is used for adding a user account for setting service information in the preset user list when the number of the stored user accounts in the preset user list corresponding to the target task control is smaller than the preset number, and the terminal equipment corresponding to the user account in the preset user list cannot receive the target task control.
Fig. 21 is a block diagram illustrating a structure of a display device of a task control according to an embodiment of the present disclosure. As shown in fig. 21, the apparatus includes a control display unit 220 and a task display unit 221. The control display unit 220 is configured to display at least one target task control on a media page in the virtual space. For example, the related content in the aforementioned step S101 is executed. And the task display unit 221 is configured to display, in response to an operation of clicking the target task control by the user account, an interactive task related to the virtual space and corresponding to the target task control on the media page. For example, the related content in the foregoing step S102 is executed.
Optionally, the display device of the task control further includes an information receiving unit, configured to receive control information of at least one target task control sent by the server, where the control information includes material information and attribute information. And a control display unit 220, specifically configured to display at least one target task control having a content title, a background color, and an icon on a media page in the virtual space according to the material information and the attribute information in the control information.
Optionally, the control display unit 220 is further specifically configured to: and displaying at least one target task control with the priority greater than or equal to the preset priority on the media page of the virtual space.
Optionally, the control display unit 220 is further specifically configured to: displaying at least one target task control in an expanded state on a media page of a virtual space according to a position sequence corresponding to the target task control; the expansion state is used for showing that each target task control is displayed on the media page; and responding to the operation of switching the display mode of the control by the user account, and displaying at least one target task control in a folded state or a rolling state.
Optionally, the control display unit 220 is further specifically configured to: displaying the target task control in a folded state according to the position sequence corresponding to the target task control on a media page of the virtual space; the folding state is used for displaying a preset number of target task controls on the media page; and responding to the operation of switching the display mode of the control by the user account, and displaying at least one target task control in an expansion state or a rolling state. Optionally, the control display unit 220 is further specifically configured to: displaying the target task control in a rolling state on a media page of the virtual space according to the position sequence corresponding to the target task control; the scrolling state is used for showing that each target task control is sequentially displayed on the media page in a scrolling mode; and responding to the operation of switching the display mode of the control by the user account, and displaying at least one target task control in an expanded state or a folded state.
Optionally, the control display unit 220 is further specifically configured to: acquiring a target display mark of a target task control; when the target display mark exists in all the display marks acquired by the terminal equipment, updating display data in a control template corresponding to the target display mark according to control information of a target task control; and displaying at least one target task control on a media page of the virtual space by using the updated control template. For example, the related contents in the aforementioned steps S201 to S203 are performed.
Optionally, the control display unit 220 is specifically configured to: when the target display marks do not exist in all the display marks, acquiring a control template corresponding to the target display marks; updating display data in the control template according to the control information of the target task control; and displaying at least one target task control on a media page of the virtual space by using the updated control template.
Optionally, the apparatus further comprises: the system comprises a service information acquisition unit and a service information sending unit. The service information acquiring unit is used for acquiring service information set on the terminal equipment by the user account. For example, the aforementioned step S301 is performed. And the server is used for acquiring a target task control corresponding to the virtual space according to the service information, and adding a user account for setting the service information in a preset user list when the number of the user accounts stored in the preset user list corresponding to the target task control is smaller than the preset number. For example, the aforementioned step S302 is performed.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here. The terminal device may also be referred to as an electronic device. The server may also be used as an electronic device.
Fig. 22 shows a schematic structural diagram of a server provided by an embodiment of the present disclosure. As shown in fig. 22, the server 110 may include at least one processor 1101 and a memory 1102 for storing instructions executable by the processor 1101. The processor 1101 is configured to execute instructions in the memory 1102 to implement the display and processing method of the task control in the above embodiment.
Additionally, the server 110 may include a communication bus 1103 and at least one communication interface 1104. The processor 1101 may be a Central Processing Unit (CPU), a micro-processing unit, an ASIC, or one or more integrated circuits for controlling the execution of programs in accordance with the disclosed aspects. The communication bus 1103 may include a path that conveys information between the aforementioned components. Communication interface 1104, which may be any transceiver or other communication network, may be used for communicating with other devices or communication networks, such as ethernet, radio Access Network (RAN), wireless Local Area Networks (WLAN), etc.
The memory 1102 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and connected to the processing unit by a bus. The memory may also be integrated with the processing unit. The memory 1102 is used for storing instructions for implementing aspects of the present disclosure and is controlled by the processor 1101. The processor 1101 is configured to execute instructions stored in the memory 1102 to implement the functions of the disclosed method.
In particular implementations, processor 1101 may include one or more CPUs, as one embodiment. In particular implementations, server 110 may include multiple processors, such as processor 1101 and processor 1105 in FIG. 22, for example, as an embodiment. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In particular implementations, server 110 may also include an output device 1106 and an input device 1107 as one embodiment. An output device 1106 is in communication with the processor 1101 and can display information in a variety of ways. For example, the output device 1106 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, a Cathode Ray Tube (CRT) display device, a projector (projector), or the like. An input device 1107 is in communication with the processor 1101 and may accept input from a user in a variety of ways. For example, the input device 1107 may be a mouse, keyboard, touch screen device, or sensing device, among others.
Those skilled in the art will appreciate that the architecture shown in FIG. 22 is not limiting of server 110, and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components may be used.
In addition, a computer-readable storage medium including computer instructions is further provided in the embodiments of the present disclosure, and when the instructions in the computer-readable storage medium are executed by the processor of the electronic device or the server, the electronic device or the server is enabled to perform the method for displaying and processing the task control provided in the embodiments. 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.
In addition, a computer program product is further provided in an embodiment of the present disclosure, and includes computer instructions, when the computer instructions are run on the electronic device or the server, the electronic device or the server is caused to execute the method for displaying and processing the task control provided in the foregoing embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any 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 in 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 only by the appended claims.
Claims (26)
1. A task control display method is characterized by comprising the following steps:
displaying at least one target task control on a media page of a virtual space; the target task control is used for providing an entrance of an interactive task related to the virtual space;
responding to the operation of clicking the target task control by a user account, and displaying an interactive task corresponding to the target task control and related to the virtual space on the media page; the interaction task is used for representing the operation completed when the user account interacts with the anchor account in the virtual space.
2. The method for displaying task controls according to claim 1, further comprising:
receiving control information of at least one target task control sent by a server, wherein the control information comprises material information and attribute information; the material information is used for representing one or more of a content title, a background color and an icon when the target task control is displayed; the attribute information is used for representing one or more of position sequence and priority when the target task control is displayed;
the displaying at least one target task control on a media page of a virtual space includes:
and displaying at least one target task control with a content title, a background color and an icon on a media page of a virtual space according to the material information and the attribute information in the control information.
3. The method for displaying task controls according to claim 2, wherein displaying at least one target task control on a media page of a virtual space comprises:
and displaying at least one target task control with the priority greater than or equal to the preset priority on the media page of the virtual space.
4. The method for displaying task controls according to claim 2, wherein displaying at least one target task control on a media page in a virtual space includes:
displaying the at least one target task control in an expanded state on a media page of the virtual space according to the position sequence corresponding to the target task control; the expanded state is used for representing that each target task control is displayed on the media page;
the method further comprises the following steps:
and responding to the operation of switching the display mode of the control of the user account, and displaying the at least one target task control in a folded state or a rolling state.
5. The method for displaying task controls according to claim 2, wherein displaying at least one target task control on a media page of a virtual space comprises:
displaying the target task control in a folded state according to the position sequence corresponding to the target task control on a media page of a virtual space; the folding state is used for displaying a preset number of target task controls on the media page;
the method further comprises the following steps:
and responding to the operation of switching the display mode of the control of the user account, and displaying the at least one target task control in an expansion state or a rolling state.
6. The method for displaying task controls according to claim 2, wherein displaying at least one target task control on a media page of a virtual space comprises:
displaying the target task control in a rolling state according to the position sequence corresponding to the target task control on a media page of a virtual space; the scrolling state is used for showing that each target task control is sequentially scrolled and displayed on the media page;
the method further comprises the following steps:
and responding to the operation of switching the display mode of the user account control, and displaying the at least one target task control in an expanded state or a folded state.
7. The method for displaying task controls according to claim 2, wherein displaying at least one target task control on a media page of a virtual space comprises:
acquiring a target display mark of the target task control;
when the target display mark exists in all display marks acquired by the terminal equipment, updating display data in a control template corresponding to the target display mark according to the control information of the target task control;
and displaying at least one target task control on a media page of the virtual space by using the updated control template.
8. The method for displaying task controls according to claim 7, wherein displaying at least one target task control on a media page in a virtual space comprises:
when the target display mark does not exist in all the display marks, acquiring a control template corresponding to the target display mark;
updating display data in the control template according to the control information of the target task control;
and displaying at least one target task control on a media page of the virtual space by using the updated control template.
9. The method for displaying task controls according to claim 1, further comprising, before displaying at least one target task control on a media page in the virtual space:
acquiring service information set by the user account on terminal equipment; the service information is used for representing the recommendation requirement or shielding requirement of the user account on the virtual space on the terminal equipment;
and sending the service information to a server, wherein the server is used for acquiring a target task control corresponding to the virtual space according to the service information, and increasing the user accounts for setting the service information in a preset user list under the condition that the number of the user accounts stored in the preset user list corresponding to the target task control is smaller than the preset number.
10. A task control processing method is characterized by comprising the following steps:
acquiring at least one target task control corresponding to a virtual space on terminal equipment; the target task control is used for providing an entrance of an interactive task related to the virtual space; the interaction task is used for representing the operation completed when the user account interacts with the anchor account in the virtual space;
sending control information of at least one target task control to the terminal equipment; the terminal equipment is used for displaying at least one target task control on a media page of the virtual space according to the control information, responding to the operation of clicking the target task control by a user account, and displaying an interactive task corresponding to the target task control and related to the virtual space on the media page.
11. The method for processing task controls according to claim 10, wherein the obtaining at least one target task control corresponding to a virtual space on a terminal device includes:
acquiring a room type corresponding to the virtual space;
determining whether the room type is a preset room type;
and if the room type is a preset room type, acquiring at least one target task control corresponding to the virtual space.
12. The method for processing task controls according to claim 10 or 11, wherein the obtaining at least one target task control corresponding to a virtual space on a terminal device includes:
periodically acquiring a room identification number of the virtual space or a room type corresponding to the virtual space;
acquiring a task control corresponding to the virtual space according to the room identification number or the room type;
and screening out at least one target task control from all task controls corresponding to the virtual space.
13. The method for processing task controls according to claim 12, wherein the screening out at least one target task control from all task controls corresponding to the virtual space includes:
determining whether the task control is overdue or not according to control information of the task control for each task control;
and if the task controls are overdue, deleting the overdue task controls from all the task controls to obtain at least one target task control.
14. The method for processing task controls according to claim 13, wherein deleting the task controls that are expired from among all the task controls to obtain at least one target task control comprises:
deleting the expired task controls from all the task controls to obtain a first task control;
for each first task control, determining whether a user account currently in the virtual space is in a preset user list of the first task control; at least one user account which shields or cannot watch the first task control is saved in the preset user list;
and if the user account is in the preset user list, deleting the first task control corresponding to the preset user list from all the first task controls to obtain at least one target task control.
15. The method for processing task controls according to claim 14, wherein the sending control information of the target task control to the terminal device includes:
and sending the control information of at least one target task control to at least one terminal device in a broadcasting mode.
16. The method for processing task controls according to claim 10 or 11, wherein the obtaining at least one target task control corresponding to a virtual space on a terminal device includes:
monitoring a distributed message of the user account entering the virtual space;
acquiring account information of the user account according to the distributed message;
acquiring a task control corresponding to the account information; the account information includes one or more of an account identification number, an account type, and an account label;
and screening out at least one target task control from all task controls corresponding to the account information.
17. The method for processing task controls according to claim 16, wherein screening out at least one target task control from all task controls corresponding to the account information includes:
determining whether the user account is in a preset user list of the task controls or not for each task control in all the task controls; at least one user account which shields or cannot watch the task control is saved in the preset user list;
and if the user account is in the preset user list, deleting the task controls corresponding to the preset user list from all the task controls to obtain at least one target task control.
18. The method for processing task controls according to claim 17, wherein deleting the task controls corresponding to the preset user list from among all the task controls to obtain at least one target task control includes:
deleting the task controls corresponding to the preset user list from all task controls to obtain second task controls;
determining whether controls to be deleted exist in all the second task controls; the account type corresponding to the control to be deleted is inconsistent with the account type of the user account;
and if the controls to be deleted exist in all the second task controls, deleting the controls to be deleted in all the second task controls to obtain at least one target task control.
19. The method for processing task controls according to claim 18, wherein the sending control information of at least one target task control to the terminal device includes:
and sending the control information of at least one target task control to at least one terminal device in a unicast mode.
20. The method for processing task widgets of claim 10, wherein the widget information comprises material information and attribute information; the material information is used for representing one or more of a content title, a background color and an icon when the target task control is displayed; the attribute information is used for representing one or more of a position sequence and a priority when the target task control is displayed.
21. The method for processing task controls according to claim 10, further comprising, before the obtaining of the target task control corresponding to the virtual space on the terminal device:
determining room information corresponding to the virtual space to be configured or account information of the user account; the room information comprises a room identification number or a room type, and the account information comprises one or more of an account identification number, an account type, and an account label;
acquiring control information of a control to be configured corresponding to the room information or the account information;
configuring a task control corresponding to the virtual space according to control information of the control to be configured corresponding to the room information, wherein the task control has the control information after being configured;
or configuring a task control corresponding to the account information according to the control information of the control to be configured corresponding to the account information, wherein the task control has the control information after being configured.
22. The method for processing task controls according to claim 10, further comprising:
receiving service information which is sent by the terminal equipment and set on the terminal equipment by the user account; the service information is used for representing the recommendation requirement or shielding requirement of the user account on the virtual space on the terminal equipment;
acquiring at least one target task control corresponding to the virtual space according to the service information;
if the number of the user accounts stored in a preset user list corresponding to the target task control is smaller than the preset number, adding the user account for setting the service information in the preset user list, and the terminal equipment corresponding to the user account in the preset user list cannot receive the target task control.
23. A display device for task controls, comprising: the system comprises a control display unit and a task display unit;
the control display unit is used for displaying at least one target task control on a media page of the virtual space; the target task control is used for providing an entrance of an interactive task related to the virtual space;
the task display unit is used for responding to the operation of clicking the target task control by a user account and displaying an interactive task corresponding to the target task control and related to the virtual space on the media page; the interaction task is used for representing the operation completed when the user account interacts with the anchor account in the virtual space.
24. A processing apparatus for task controls, comprising: the control acquiring unit and the information sending unit;
the control acquiring unit is used for acquiring at least one target task control corresponding to a virtual space on the terminal equipment; the target task control is used for providing an entrance of an interactive task related to the virtual space; the interaction task is used for representing the operation completed when the user account interacts with the anchor account in the virtual space;
the information sending unit is used for sending control information of at least one target task control to the terminal equipment, the terminal equipment is used for displaying the at least one target task control on a media page of the virtual space according to the control information, and is used for responding to an operation of clicking the target task control by a user account and displaying an interactive task corresponding to the target task control and related to the virtual space on the media page.
25. An electronic device, comprising:
a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the display method of the task control according to any one of claims 1 to 9 or to implement the processing method of the task control according to any one of claims 10 to 22.
26. 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 method for displaying a task control according to any one of claims 1 to 9, or perform the method for processing a task control according to any one of claims 10 to 22.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211065815.9A CN115580732A (en) | 2022-09-01 | 2022-09-01 | Task control display and processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211065815.9A CN115580732A (en) | 2022-09-01 | 2022-09-01 | Task control display and processing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115580732A true CN115580732A (en) | 2023-01-06 |
Family
ID=84578935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211065815.9A Pending CN115580732A (en) | 2022-09-01 | 2022-09-01 | Task control display and processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115580732A (en) |
-
2022
- 2022-09-01 CN CN202211065815.9A patent/CN115580732A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109831532B (en) | Data sharing method, device, equipment and medium | |
CN110489663B (en) | Social content control method and device and computer equipment | |
WO2024022403A1 (en) | Task processing method and apparatus, device, and storage medium | |
US12073052B2 (en) | Information display method and device, terminal and storage medium | |
US20230297767A1 (en) | Document editing method and apparatus, and electronic device | |
US20080178095A1 (en) | Method Of Changing Idle Screen Template Type Of Mobile Communication Termianl, Computer Readable Recording Medium In Which Program For Executing The Same Is Recorded And Mobile Communication Terminal Having Function Thereof | |
CN103092902A (en) | Information processing apparatus, information processing method, and program | |
CN112947918A (en) | Data display method and device | |
CN111090533A (en) | Notice information sending method and device, electronic equipment and storage medium | |
CN114840163A (en) | Interactive information display method, device and equipment | |
CN113556279B (en) | Message sending method, device, equipment and storage medium | |
CN115022269A (en) | Message processing method, device, equipment and medium | |
US20100011050A1 (en) | Content Management that Addresses Levels of Functionality | |
CN115580732A (en) | Task control display and processing method and device, electronic equipment and storage medium | |
CN115525834A (en) | Method for screening and displaying messages, computer device and recording medium | |
CN110300321B (en) | Banner display method and device | |
CN113051477A (en) | Content recommendation method and device, electronic equipment and medium | |
CN113312196A (en) | Address synchronization method and device | |
KR20210089420A (en) | Method, system, and computer program for creating group using specialized tag | |
CN110457547A (en) | Search term recommendation and methods of exhibiting and relevant apparatus | |
US20240220086A1 (en) | Information interaction method and apparatus, and electronic device | |
CN116739612B (en) | Method for displaying rights and interests information and electronic equipment | |
CN115037716B (en) | Information processing method, device, terminal and storage medium | |
KR20210009990A (en) | Personal secretary system using application data interworking of mobile communication terminal | |
JP2022148850A (en) | Information processing method |
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 |