WO2022247216A1 - 虚拟对象的处理方法、装置、电子设备和存储介质 - Google Patents

虚拟对象的处理方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2022247216A1
WO2022247216A1 PCT/CN2021/135806 CN2021135806W WO2022247216A1 WO 2022247216 A1 WO2022247216 A1 WO 2022247216A1 CN 2021135806 W CN2021135806 W CN 2021135806W WO 2022247216 A1 WO2022247216 A1 WO 2022247216A1
Authority
WO
WIPO (PCT)
Prior art keywords
multimedia content
virtual object
content consumption
task
client
Prior art date
Application number
PCT/CN2021/135806
Other languages
English (en)
French (fr)
Inventor
王程龙
沈悦新
Original Assignee
北京卓越乐享网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京卓越乐享网络科技有限公司 filed Critical 北京卓越乐享网络科技有限公司
Publication of WO2022247216A1 publication Critical patent/WO2022247216A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • G06Q20/123Shopping for digital content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Definitions

  • the present application relates to the field of computer technology, and in particular to a virtual object processing method, device, electronic equipment and storage medium.
  • multimedia content playback has become more and more popular among users, and has gradually become one of the mainstream expressions of the Internet.
  • the user's stickiness to the multimedia content playing application program is usually increased by distributing virtual objects.
  • the method of distributing virtual objects by the multimedia content playing system usually adopts the method of purchasing or directly free of charge, and the method for users to obtain virtual objects is single.
  • the anchor client establishes a live channel through the Internet, the anchor client uploads the online live content to the server, and the server broadcasts the online live content to the audience clients who log into the live channel end.
  • a virtual gift giving function is set up. For example, viewers recharge tokens in the audience client, and consume tokens to buy virtual gifts for anchors.
  • the embodiments of the present application provide a virtual object processing method, device, electronic device, and storage medium, so as to partially or completely solve the above-mentioned technical problems.
  • a method for processing a virtual object comprising:
  • a virtual object processing device comprising:
  • An information acquisition module configured to acquire configuration information of a virtual object, and determine a multimedia content consumption task for the virtual object
  • a progress monitoring module configured to execute the multimedia content consumption task, and monitor the execution progress of the multimedia content consumption task
  • the data update module is configured to perform data update matching the execution progress on the virtual object displayed in the user interface according to the execution progress.
  • an electronic device including:
  • memory for storing processor-executable instructions
  • the processor is configured to execute the instructions, so as to implement the method as described in the first aspect above.
  • a computer-readable storage medium when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the method as described in the first aspect above .
  • FIG. 1 is a flow chart of a method for processing a virtual object provided by an exemplary embodiment of the present application
  • Fig. 2 is a schematic diagram of an Internet live broadcast scene provided by an exemplary embodiment of the present application
  • FIG. 3 is a flowchart of another virtual object processing method provided by an exemplary embodiment of the present application.
  • Fig. 4 is a schematic diagram of a live broadcast screen provided by an exemplary embodiment of the present application.
  • Fig. 5 is a schematic diagram of another live screen provided by an exemplary embodiment of the present application.
  • Fig. 6 is a schematic diagram of a virtual object processing device provided by an exemplary embodiment of the present application.
  • Fig. 7 is a schematic diagram of an electronic device provided by an exemplary embodiment of the present application.
  • first, second, third, etc. may be used in this application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present application, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word “if” as used herein may be interpreted as “at” or “when” or “in response to a determination.”
  • Figure 1 is a flowchart of a method for processing a virtual object provided in the embodiment of the present application, the method includes the following steps 101 to 103:
  • the configuration information of the virtual object is used to configure the virtual object.
  • the virtual object is a virtual item that can be transferred between different users watching the multimedia content.
  • the virtual object is a virtual gift, a token, and the like.
  • the virtual objects can be virtual gifts given by the audience to the host, such as virtual flowers, virtual cars, etc.
  • the multimedia content consumption task is a task aimed at obtaining virtual objects, that is, the virtual objects can be obtained by completing the multimedia content consumption task.
  • Multimedia content includes video, audio, text, images, etc.
  • Multimedia content consumption includes watching video, listening to audio, reading text, viewing images, and interacting between users based on multimedia content.
  • the client playing the multimedia content executes the multimedia content consumption task.
  • the execution progress of the multimedia content consumption task is monitored.
  • the data of the virtual object displayed in the user interface is updated, so that the data of the virtual object in the user interface matches the execution progress, that is, As the execution progress changes, the data of the virtual object displayed in the user interface changes accordingly.
  • the user interface is an interface for playing multimedia content.
  • the user interface is a live broadcast interface displayed after entering a live broadcast room.
  • the virtual object processing method provided by the embodiment of the present application, after determining the multimedia content consumption task of the virtual object, monitors the execution progress of the multimedia content consumption task during the execution of the multimedia content consumption task, and displays it in the user interface according to the execution progress
  • the data of the virtual object is updated so that the data of the virtual object matches the execution progress. It can be seen that by executing the multimedia content consumption task, the data of the virtual object can be updated according to the execution progress, and the virtual object can be obtained after the execution of the multimedia content consumption task is completed, thereby increasing the acquisition method of the virtual object, and making the acquisition and execution of the virtual object
  • the progress of the multimedia content consumption task is related, which can improve the user interaction effect.
  • the multimedia content consumption task includes: a multimedia content consumption task based on interaction information between different users watching the multimedia content, and/or a multimedia content consumption task based on playback attribute information of the multimedia content.
  • different users may interact with each other, such as the interaction between the anchor and the audience, or the interaction between the audience and the audience in the webcast.
  • the interaction between users is used as a reference for execution progress, that is, the data of virtual objects is updated based on the interaction between users.
  • the multimedia content consumption task based on the playback attribute information of multimedia content uses the playback attribute information of multimedia content as the execution progress reference, that is, to update the data of the virtual object based on the playback attribute information of the multimedia content.
  • Multimedia content consumption tasks include multimedia content consumption tasks based on interactive information between different users watching multimedia content, multimedia content consumption tasks based on multimedia content playback attribute information, or a combination of the above two tasks.
  • Content consumption tasks can meet the needs of different scenarios.
  • the multimedia content consumption task based on the interaction information between different users watching the multimedia content includes: a task of completing a preset interactive operation, and/or a task whose completion frequency of the interactive operation is greater than a preset frequency threshold.
  • the task execution is completed after the preset interactive operation is completed.
  • the preset interactive operation includes giving a designated virtual gift to the host, giving a virtual gift to a designated host, giving a virtual gift to the host whose value is greater than the set value, and so on.
  • the preset interactive operations include operations such as liking the anchor, posting comments, posting barrage, and giving gifts to the anchor.
  • the multimedia content consumption task includes the task of completing the preset interactive operation, the task whose completion frequency of the interactive operation is greater than the preset frequency threshold, or the combination of the above two tasks.
  • the data of the virtual object is updated according to the interaction between users, so that the user can pass.
  • the interactive acquisition of virtual objects can stimulate the interaction between users, thereby improving the interaction effect between the anchor and the audience or between the audience and the audience during the webcasting process.
  • the multimedia content consumption task based on the playback attribute information of the multimedia content includes: a task in which the playback duration of the multimedia content is longer than a preset duration threshold, and/or a task in which the multimedia content playback client is playing the multimedia content for the first time.
  • the execution of the multimedia content consumption task is completed after the playing time of the multimedia content is longer than the preset time threshold.
  • the preset duration threshold is 10 minutes, and when the duration of playing the multimedia content reaches 10 minutes, the multimedia content consumption task is completed.
  • the playback duration of the multimedia content described in the embodiments of the present application may be the duration of continuous playback of the multimedia content.
  • the playback of the multimedia content is interrupted. For example, after exiting the live broadcast room and re-entering the live broadcast room, the multimedia content playback The duration will be reset to zero and then recalculated.
  • the playback duration of the multimedia content can also be the cumulative playback duration of the multimedia content. If the playback of the multimedia content is interrupted at this time, for example, after exiting the live broadcast room and re-entering the live broadcast room, the playback duration of the multimedia content is accumulated on the basis of the original duration.
  • the multimedia content playing client it is the task of playing the multimedia content for the first time, and when the multimedia content playing client plays the multimedia content for the first time, the execution of the multimedia content consumption task is completed.
  • the playback client plays the multimedia content for the first time
  • the data of the virtual object is updated, and the function of updating the data of the virtual object after completing the multimedia content consumption task is promoted to the user, so that more users can consume the multimedia content by performing the multimedia content consumption task.
  • the data of the virtual object is updated, so that the user interaction effect can be improved.
  • the image data and/or corresponding to the virtual object displayed in the user interface may be updated according to the execution progress or property data, updated to match the execution progress.
  • the image data corresponding to the virtual object is updated according to the execution progress, and the execution progress is indicated through the update of the image data in the user interface, so that the viewer of the user interface can intuitively determine the execution progress of the multimedia content consumption task, ensuring user experience.
  • the attribute data corresponding to the virtual object is updated according to the execution progress, so that the user can determine the attribute of the virtual object according to the attribute data of the virtual object, and then determine the execution progress of the multimedia content consumption task and the number of virtual objects, etc., so as to ensure the user experience.
  • updating the image data corresponding to the virtual object includes gradually reducing the mask layer covered on the image of the virtual object in the user interface according to the execution progress, so that after the execution of the multimedia content consumption task is completed, the user The complete image of the virtual object is displayed in the interface.
  • the image of the virtual object is displayed in the user interface, and the execution progress of the multimedia content consumption task is indicated by gradually reducing the mask layer covered on the image of the virtual object.
  • the mask layer covered on the image of the virtual object is gradually reduced, and the area of the mask layer is gradually reduced, so that the image of the virtual object gradually appears in the user interface, so that the user interface
  • the viewer can determine the execution progress of the multimedia content consumption task according to the area of the mask layer or the image area of the virtual object, so that the user can intuitively determine how long it will take to obtain the virtual object, thereby improving the user's Use experience.
  • updating the image data corresponding to the virtual object includes gradually closing the outline of the image of the virtual object in the user interface according to the execution progress, so as to display the virtual object in the user interface after the execution of the multimedia content consumption task is completed. full image of .
  • the outline of the image of the virtual object is gradually closed in the user interface.
  • the outline of the image of the virtual object is closed, and the image of the virtual object is displayed in the user interface.
  • Complete image that is, with the execution of multimedia content consumption tasks, the contour line of the virtual object is gradually closed, so that the image of the virtual object gradually appears in the user interface, so that the viewer of the user interface can determine the multimedia content according to the wheel route of the image of the virtual object.
  • the execution progress of content consumption tasks thereby improving user experience.
  • updating the image data corresponding to the virtual object includes displaying a progress bar matching the execution progress on the image of the virtual object in the user interface according to the execution progress.
  • a progress bar matching the execution progress is displayed on the image of the virtual object. Since the progress bar matches the execution progress, the execution progress of the multimedia content consumption task can be determined according to the progress bar, so that the user How long it takes to obtain the virtual object can be intuitively determined, thereby improving user experience.
  • the progress bar is displayed on the image of the virtual object, and the association between the progress bar and the virtual object is established, so that the progress bar can indicate the acquisition progress of the virtual object more intuitively.
  • different forms may be used to display the execution progress of the multimedia content consumption task.
  • the number of virtual objects is less than 1, the gift image including the virtual object is displayed in the user interface, and the execution progress of the multimedia content consumption task is indicated by gradually reducing the mask layer covered on the gift image.
  • the number of virtual objects is greater than or equal to 1, a progress bar is displayed on the image of the virtual object, and the execution progress of the multimedia content consumption task is indicated by the progress bar.
  • the execution progress of the multimedia content consumption task is indicated by the area of the mask layer; when the number of virtual objects is greater than or equal to 1, the execution progress of the multimedia content consumption task is indicated by the length of the progress bar, It is convenient for the user to determine whether there is a virtual object that can be gifted, and it is convenient for the number of virtual objects to be displayed for the user to check.
  • an image of a virtual object is displayed on the user interface after each multimedia content consumption task is completed, and when the number of virtual objects is N, an image of the virtual object is displayed on the user interface N virtual object images, so that the viewer of the user interface can determine the number of virtual objects according to the number of virtual object images in the user interface.
  • updating the attribute data corresponding to the virtual object includes sending a task completion instruction to the server after the multimedia content consumption task is executed according to the execution progress; receiving an object synchronization instruction from the server in response to the task completion instruction , the object synchronization instruction includes the number of updated virtual objects; according to the object synchronization instruction, the number of virtual objects is updated, and the updated number of virtual objects is displayed in the user interface based on the image of the virtual object.
  • the multimedia content consumption task After the multimedia content consumption task is completed, send a task completion command to the server, so that the server can update the number of virtual objects in response to the task completion command, and issue an object synchronization command including the number of updated virtual objects, and then the multimedia content
  • the playback terminal updates the number of virtual objects according to the object synchronization instruction, and displays the updated number of virtual objects in the user interface, so that the viewer of the user interface can easily determine the number of virtual objects, so that the user can give the virtual object as a gift, Guarantee the user experience.
  • the client that plays multimedia content when the client that plays multimedia content fails to send the task completion command to the server, the client that plays multimedia content will play the multimedia content again next time.
  • the configuration information of the virtual object includes at least one of material information of the virtual object, multimedia content consumption task information of the virtual object, value information of the virtual object, and accumulable quantity information of the virtual object. Furthermore, the virtual object to be processed can be determined according to the configuration information of the virtual object, and a multimedia content consumption task for the virtual object to be processed can be generated.
  • the material information of the virtual object provides material for the image displaying the virtual object, and can identify the virtual object, and the virtual object to be processed can be determined according to the material information of the virtual object. Therefore, according to the material information of the virtual object, the virtual object to be processed can be accurately determined, and then the multimedia content consumption task can be accurately determined, so as to ensure the accuracy of data update of the virtual object according to the execution progress of the multimedia content consumption task.
  • the value information of the virtual object identifies whether the virtual object has value or no value. If the virtual object is valuable, it can be withdrawn with the virtual object, or although it cannot be withdrawn with the virtual object, the virtual object can increase the heat value of the user. For example, the higher the heat value of the user, the user's multimedia content will be preferentially recommended to other users. In a scenario where two users compete against each other, the user with the higher heat value will win.
  • Virtual gifts can be obtained by completing multimedia content consumption tasks, and virtual objects can be used to withdraw cash or increase the user's multimedia content priority, so that virtual objects have actual value, prompting users to complete multimedia content consumption tasks to obtain virtual objects, thereby improving user interaction effects .
  • the accumulable quantity information of the virtual object includes the accumulable quantity of the virtual object. After the quantity of the virtual object reaches the accumulable quantity, the quantity of the virtual object is no longer accumulated. When the virtual object is given to the user, the quantity of the virtual object is less than the accumulable After accumulating the quantity, the quantity of the virtual object can be accumulated again to the accumulative quantity.
  • the operation of obtaining the configuration information of the virtual object is performed.
  • the client in the system opens the function of completing multimedia content consumption tasks to obtain virtual objects, realizes the regional management of the client, and improves the convenience of managing the client.
  • Verify the risk level of the user corresponding to the client When the risk level of the user corresponding to the client meets the specified level, the client can obtain the configuration information of the virtual object, and then obtain the virtual object by completing the multimedia content consumption task, so that it can block Users with a high risk level acquire virtual objects, while users with a low risk level only open the function of completing multimedia content consumption tasks to obtain virtual objects, reducing the risk of stealing virtual objects.
  • verifying whether the client playing the multimedia content is located in the operating area includes: according to the IP address of the client, the longitude and latitude information of the client, the identification information of the device where the client is located, the geographical area information of the client and the language used by the client At least one of the information, verifying whether the client is located within the operating area.
  • the operating area can be flexibly constructed according to the needs, so as to realize the client's Regional management improves the convenience of client management.
  • verifying the risk level of the user corresponding to the client includes: detecting whether the user has preset risky operation behavior according to the identification information of the device where the client is located and/or the identification information of the user corresponding to the client, and according to the detection The results determine the user's risk level.
  • the risky operation behavior of the user can be detected more comprehensively, and then the risk level of the user can be accurately determined according to the detected risky operation behavior, so as to ensure the user-based risk Hierarchical shielding completes multimedia content consumption tasks to obtain the accuracy of virtual object functions, ensuring user experience.
  • the preset risk operation behavior includes at least one of the device where the client is located corresponding to multiple client accounts, the user publishing illegal content through the client, and the user viewing illegal content through the client.
  • the risk level of the user can be determined more accurately, thereby blocking high-risk users.
  • Risk level Users use the function of completing multimedia content consumption tasks to obtain virtual objects, prompting users to use the client normally, and thus building a good multimedia content playback environment.
  • the following takes the virtual object as a virtual gift in the webcast, and the multimedia content consumption task as an example where the playing time of the live screen is longer than the preset duration threshold.
  • the processing method of the provided virtual object is described in detail.
  • FIG. 2 is a schematic diagram of a live network architecture according to an exemplary embodiment of the present application.
  • the live network architecture may include a server and multiple terminals.
  • the server may be called a background server, a component server, etc., and is used to provide background services for webcasting.
  • the server may include a server, a server cluster, or a cloud platform, or it may be a program that executes a service.
  • the terminal may be an intelligent terminal with a webcast function, for example, the intelligent terminal may be a smart phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a multimedia player, a wearable device, and the like.
  • PDA Personal Digital Assistant
  • terminals can be divided into anchor terminals and audience terminals.
  • An anchor client is installed in the anchor terminal, and an audience client is installed in the audience terminal.
  • the anchor client and viewer client may be the same live video application, that is, the live video application has both a live mode and a viewer mode; the anchor client and viewer client may also be different types of live video applications.
  • the anchor client and the viewer client are the same live video application, when the live video application enters the anchor mode, the live video application can be called the anchor client; when the live video application enters the audience mode, A live video application may be referred to as a viewer client.
  • the audience terminal installed with the audience client can watch the live video on the anchor client.
  • the anchor terminal and audience terminal can be connected to the server through wired network, wireless network or data transmission line.
  • viewers can log in to the server of the live broadcast network architecture through the audience client on the audience terminal, and the anchor can log in to the server of the live broadcast network architecture through the anchor client on the anchor terminal, and the audience and the anchor enter the same live channel .
  • the anchor client uploads the online live broadcast content to the server, and the server sends the online live broadcast content to the audience client who has logged into the online live broadcast channel for the audience of the audience client to watch.
  • Viewers of the audience client can not only watch the live content uploaded by the host client, but also interact with the host or other viewers of the host channel through the server, for example, viewers can give gifts to their favorite hosts.
  • the audience client provides token recharge and virtual gift purchase functions. After the audience recharges tokens in the audience client, the audience consumes tokens to buy virtual gifts and present them to the anchor. It can be seen that at present, virtual gifts can only be purchased by recharging, and there is only one way to obtain virtual gifts. However, some viewers will not recharge to buy virtual gifts and give them to the anchor, resulting in poor interaction between the anchor and the audience.
  • the present application provides a method for processing virtual objects.
  • the solution provided by this application can be applied to the above-mentioned live broadcast network scenarios.
  • the solution provided by this application can also be applied to other scenarios, such as video-on-demand scenarios, video recording scenarios, etc., which will not be repeated here.
  • Figure 3 is a flowchart of a method for processing a virtual object provided by an embodiment of the present application, which is implemented by a live broadcast client, and the method includes steps 301 to 309:
  • the IP address of the live broadcast client verify whether the live broadcast client is located in the operating area.
  • the operating area is an area where the interaction effect between the anchor and the audience is poor.
  • the virtual gift giving function is opened to the live broadcast clients located in the operating area. Only those located in the operating area Only live broadcast clients can obtain virtual gifts by completing multimedia content consumption tasks.
  • the identification information of the device where the live broadcast client is located and the identification information of the user corresponding to the live broadcast client detect whether there are multiple client accounts corresponding to the device where the live broadcast client is located, the user publishes illegal content through the live broadcast client, and the user passes through the live broadcast client.
  • the live broadcast client watches risky operations such as illegal content, and determines the user's risk level based on the detection results.
  • the function of obtaining virtual gifts realizes the regionalized management of the client and the personalized management of the user, so as to improve the convenience and effectiveness of managing the client and the user, and can effectively promote the interaction between the anchor and the audience.
  • the live broadcast client is located in the operating area, and the risk level of the user corresponding to the live broadcast client meets the specified level, acquire configuration information of the virtual gift.
  • the configuration information of the virtual gift includes material information of the virtual gift, multimedia content consumption task information of the virtual gift, value information of the virtual gift and accumulable quantity information of the virtual gift.
  • the virtual gift to be processed can be accurately identified according to the material information included in the configuration information of the virtual gift, that is, the virtual gift given after completing the multimedia content consumption task, so as to ensure the normal implementation of subsequent steps.
  • the virtual gift to be processed is determined, and the multimedia content consumption task of the virtual gift to be processed is determined.
  • the virtual gift to be processed is a support stick
  • the multimedia content consumption task of the virtual gift to be processed is that the playing time of the live broadcast screen is longer than 10 minutes.
  • the live broadcast client executes multimedia content consumption tasks in response to user triggers. For example, the live broadcast client starts to display the live broadcast screen in response to the user's playback trigger operation.
  • the execution progress of the multimedia content consumption task is monitored. For example, monitor the duration of the live broadcast client to play the live video.
  • the image of the virtual gift is displayed on the live broadcast interface, and the image of the virtual gift is updated to match the execution progress according to the execution progress.
  • FIG. 4 is a schematic diagram of a live broadcast screen provided by an embodiment of the present application
  • a gift image 401 including a virtual gift is displayed on the live broadcast screen, and the gift image 401 is covered with Masking mask 402 .
  • start the first countdown timer whose countdown duration is equal to the duration threshold
  • the remaining countdown duration of the first countdown timer is equal to the duration threshold
  • the mask layer 402 covered on the gift image 401 is completely removed. According to the area of the mask layer 402 on the gift image 401, the execution progress of the multimedia content consumption task can be determined, so that the user can intuitively determine how long it will take to obtain the virtual gift, thereby improving the user experience.
  • the live broadcast client can execute the multimedia content consumption task multiple times, so as to obtain a virtual gift after completing the multimedia content consumption task each time.
  • the multimedia content consumption task is a task whose playback time of the multimedia content is longer than the preset duration threshold
  • the multimedia content consumption task will be completed every time a duration threshold passes, and the completion time of the previous multimedia content consumption task will be the next multimedia content consumption task.
  • the mask layer 402 is also cyclically covered on the gift image 401.
  • the gift image 401 is completely covered by the mask layer 402.
  • the area of the mask layer 402 gradually decreases, and when the multimedia content consumption task is completed, the mask layer 402 on the gift image 401 is removed.
  • the gift image includes a virtual gift image.
  • the gift image is an image formed by superimposing a virtual gift image on a solid-color background.
  • the gift image is an image of a cheering stick superimposed on a solid-color background. The resulting image.
  • both the gift image 401 and the mask layer 402 are circular images.
  • some areas of the mask layer 402 are removed, so that the area of the mask layer 402 gradually decreases, and the removed area on the mask layer 402 is a fan-shaped area, and the apex of the fan-shaped area
  • the mask layer 402 whose area gradually decreases at this time can simulate the rotation of the clock, making the execution progress of the multimedia content consumption task more intuitive, thereby improving user experience.
  • the area of the mask layer can also be reduced in other forms, for example, gradually reduced in areas of shapes such as bars and rings.
  • the countdown duration of the first countdown timer is equal to the preset duration threshold, and the area covered by the mask on the gift image decreases as the remaining countdown duration of the first countdown timer decreases.
  • the second The remaining countdown duration of a countdown timer and the remaining area of the mask layer can satisfy the following relationship:
  • S is used to represent the remaining area of the mask layer
  • S 0 is used to represent the area of the gift image
  • t is used to represent the remaining countdown duration of the first countdown timer
  • T is used to represent the duration threshold.
  • the remaining area of the mask layer and the remaining countdown duration of the first countdown timer satisfy the above-mentioned linear relationship, and the first countdown timer starts counting down when starting to play the live image, so the area of the mask layer increases with the duration of the live image. Increase and decrease evenly, and then according to the area of the mask layer, the remaining time for completing the multimedia content consumption task can be estimated to improve the user experience.
  • Figure 5 is a schematic diagram of another live screen provided by the embodiment of the present application.
  • a task progress image 501 is displayed on a virtual gift 401.
  • start the second countdown timer whose countdown duration is equal to the duration threshold, and increase the length of the progress bar 502 displayed along the outline of the task progress image 501 in the live broadcasting screen in response to the reduction of the remaining countdown duration of the second countdown timer.
  • the progress bar 502 is closed along the outline of the task progress image 501 .
  • the task progress image 501 is displayed in the live broadcast image.
  • the length of the progress bar 502 is zero.
  • a progress bar with a gradually increasing length is displayed along the outline of the task progress image 501 502
  • the progress bar 502 closes along the outline of the task progress image 501, that is, when the execution of the multimedia content consumption task is completed, the progress bar 502 circles the outline of the task progress image 501 once . Therefore, according to the length of the progress bar 502, the execution progress of the multimedia content consumption task can be determined, so that the user can more intuitively determine how long it will take to obtain the virtual gift, thereby improving the user experience.
  • the multimedia content consumption task can be performed multiple times, so as to obtain a virtual gift after completing the multimedia content consumption task each time. For example, if the multimedia content consumption task is a task whose playback time of the multimedia content is longer than the preset duration threshold, the multimedia content consumption task will be completed every time a duration threshold passes, and the completion time of the previous multimedia content consumption task will be the next multimedia content consumption task. The start moment of the content consumption task. Due to the circular completion of the multimedia content consumption task, the progress bar 502 also appears on the outline of the task progress image 501 in a cycle. At the beginning of each multimedia content consumption task, the length of the progress bar 502 is zero. Increase, the progress bar 502 extends along the outline of the task progress image 501, the length of the progress bar 502 increases gradually, and the progress bar 502 closes along the outline of the task progress image 501 when the multimedia content consumption task is completed.
  • the task progress image is a shape image with continuous contour lines.
  • the task progress image is a circular image, and when the progress bar is closed along the contour line of the task progress image, the progress bar is circular.
  • the task progress image can also be an image of other shapes, such as a rectangle, a five-pointed star, a triangle, an ellipse or other irregular shapes.
  • different forms may be used to display the execution progress of the multimedia content consumption task.
  • the number of virtual gifts is less than 1, in the process of playing the live broadcast, the gift image including the virtual gift is displayed on the live broadcast screen, and the execution of the multimedia content consumption task is indicated by reducing the area of the mask covering the gift image Progress, see the change of the mask mask in Figure 4 for details.
  • a progress bar is displayed on the live broadcast screen to indicate the execution progress of the multimedia content consumption task. For details, see the change of the progress bar in FIG. 5 .
  • the execution progress of the multimedia content consumption task is displayed through the area of the mask layer; when the number of virtual gifts is greater than or equal to 1, the execution progress of the multimedia content consumption task is displayed through the length of the progress bar. It is convenient for the user to determine whether there is a given virtual gift, and it is convenient for the number of virtual gifts to be displayed for the user to check.
  • a task completion command is sent to the server, so that the server updates the number of virtual gifts of the live broadcast client. For example, after detecting that the live broadcast client plays the live video for 10 minutes, a task completion instruction is sent to the server.
  • the task completion command is sent to the server to make the server update the number of virtual gifts on the live client, so that the number of virtual gifts on the server and the live client are synchronized, thereby ensuring that the audience can pass
  • the server sends a virtual gift to the anchor.
  • the accumulable quantity of the virtual gift is included in the accumulable quantity information of the virtual gift, and the accumulable quantity of the virtual gift Cumulative quantity information is included in the configuration information of the virtual gift. If the number of virtual gifts has reached the accumulative number of virtual gifts, no task completion instructions will be sent to the server. Control the number of virtual gifts on the live broadcast client to be less than or equal to the accumulative amount, avoid users from hoarding a large number of virtual gifts and not give them away, and ensure the effectiveness of issuing virtual gifts to promote the interaction between the anchor and the audience.
  • the live broadcast client After receiving the object synchronization instruction, the live broadcast client updates the number of virtual gifts according to the object synchronization instruction, and displays the updated number of virtual gifts on the live broadcast screen. For example, as shown in FIG. 5 , after the number of virtual gifts is updated, the updated number of virtual gifts is displayed on the task progress image 501 .
  • the playback client completes the multimedia content consumption task and obtains a virtual gift.
  • the playback terminal The number of virtual gifts increased. Display the updated number of virtual gifts on the task progress image. After the progress bar is closed along the outline of the task progress image, the number of virtual gifts on the task progress image will increase accordingly, allowing users to view the execution progress and virtual The number of gifts is more consistent and convenient.
  • the multimedia content consumption task is to play the live video when the length reaches the preset duration threshold.
  • the live broadcast client updates the image of the virtual gift displayed in the live video according to the playing time.
  • the live broadcast client sends a task completion command to the server, so that the server updates the number of virtual gifts on the live broadcast client, that is, increases The number of virtual gifts on the live broadcast client.
  • the live broadcast client updates the number of virtual gifts and displays the updated number of virtual gifts on the live broadcast screen.
  • Figure 6 is a schematic diagram of a virtual object processing device provided by the embodiment of the present application, the device includes:
  • An information acquisition module 601 configured to acquire configuration information of the virtual object, and determine a multimedia content consumption task for the virtual object;
  • the data update module 603 is configured to perform data update matching the execution progress on the virtual objects displayed in the user interface according to the execution progress.
  • the multimedia content consumption task includes: a multimedia content consumption task based on interaction information between different users watching the multimedia content, and/or a multimedia content consumption task based on playback attribute information of the multimedia content.
  • the multimedia content consumption task based on interaction information between different users watching multimedia content includes: a task of completing a preset interactive operation, and/or a task whose completion frequency of an interactive operation is greater than a preset frequency threshold Task:
  • the multimedia content consumption task based on the playback attribute information of the multimedia content includes: a task in which the playback duration of the multimedia content is longer than a preset duration threshold, and/or a task in which the playback client of the multimedia content is playing the multimedia content for the first time.
  • the data update module 603 is configured to update the image data and/or attribute data corresponding to the virtual object displayed in the user interface according to the execution progress to match the execution progress.
  • the data update module 603 is configured to gradually reduce the mask layer covered on the image of the virtual object in the user interface according to the execution progress, so that after the execution of the multimedia content consumption task is completed, the user interface display the complete image of the virtual object; or, according to the execution progress, gradually close the outline of the image of the virtual object in the user interface, so that the complete image of the virtual object is displayed in the user interface after the execution of the multimedia content consumption task is completed; or, According to the execution progress, a progress bar matching the execution progress is displayed on the image of the virtual object in the user interface.
  • the data update module 603 is configured to send a task completion instruction to the server after the execution of the multimedia content consumption task is completed according to the execution progress; receive an object synchronization instruction from the server in response to the task completion instruction,
  • the object synchronization instruction includes the number of updated virtual objects; according to the object synchronization instruction, the number of virtual objects is updated, and the updated number of virtual objects is displayed in the user interface based on the image of the virtual object.
  • the information acquisition module 601 is configured to acquire configuration information of the virtual object, where the configuration information includes: material information of the virtual object, multimedia content consumption task information of the virtual object, value information of the virtual object, and virtual At least one of the accumulable quantity information of the object; according to the configuration information, determine the virtual object to be processed, and generate a multimedia content consumption task for the virtual object to be processed.
  • the device for processing the virtual object further includes: a verification module;
  • the verification module is used to verify whether the client playing the multimedia content is located in the operating area, and/or verify the risk level of the user corresponding to the client; if the client is located in the operating area, and/or the risk level of the user meets the If the level is specified, the trigger information acquisition module 601 executes the operation of acquiring the configuration information of the virtual object.
  • the verification module is configured to, according to at least one of the IP address of the client, the latitude and longitude information of the client, the identification information of the device where the client is located, the geographical area information of the client, and the language information used by the client, Verify that the client is within the operating region.
  • the verification module is used to detect whether the user has preset risky operation behavior according to the identification information of the device where the client is located and/or the identification information of the user corresponding to the client, and determine the user's risk level.
  • the preset risk operation behavior includes at least one of the following: the device where the client is located corresponds to multiple client accounts, the user publishes illegal content through the client, and the user watches illegal content through the client.
  • FIG. 7 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the specific embodiment of the present application does not limit the specific implementation of the electronic device.
  • the electronic device may include: a processor (processor) 702, a communication interface (Communications Interface) 704, a memory (memory) 706, and a communication bus 708.
  • processor processor
  • Communication interface Communication Interface
  • memory memory
  • the processor 702 , the communication interface 704 , and the memory 706 communicate with each other through the communication bus 708 .
  • the communication interface 704 is used for communicating with other electronic devices or servers.
  • the processor 702 is configured to execute the program 710, specifically, may execute relevant steps in the above-mentioned embodiment of the method for processing a virtual object.
  • the program 710 may include program codes including computer operation instructions.
  • the processor 702 may be a central processing unit CPU, or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
  • the one or more processors included in the smart device may be of the same type, such as one or more CPUs, or may be different types of processors, such as one or more CPUs and one or more ASICs.
  • the memory 706 is used to store the program 710 .
  • the memory 706 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the program 710 may be specifically configured to enable the processor 702 to execute the method for processing a virtual object in any of the foregoing embodiments.
  • each step in the program 710 refers to the corresponding descriptions in the corresponding steps and units in the above embodiment of the virtual object processing method, and details are not repeated here.
  • the specific working process of the above-described devices and modules can refer to the corresponding process description in the foregoing method embodiments, and details are not repeated here.
  • the execution progress of the multimedia content consumption task is monitored, and the virtual object displayed in the user interface is processed according to the execution progress.
  • the data is updated so that the data of the virtual object matches the execution progress. It can be seen that by executing the multimedia content consumption task, the data of the virtual object can be updated according to the execution progress, and the virtual object can be obtained after the execution of the multimedia content consumption task is completed, thereby increasing the acquisition method of the virtual object, and making the acquisition and execution of the virtual object
  • the progress of the multimedia content consumption task is related, which can improve the user interaction effect.
  • Embodiments of the present application may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having program code embodied therein.
  • Computer usable storage media includes both volatile and non-permanent, removable and non-removable media, and may be implemented by any method or technology for information storage.
  • Information may be computer readable instructions, data structures, modules of a program, or other data.
  • Examples of storage media for computers include, but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read only memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • Flash memory or other memory technology
  • CD-ROM Compact Disc Read-Only Memory
  • DVD Digital Versatile Disc
  • Magnetic tape cartridge tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to
  • An embodiment of the present application also provides a computer program, which, when executed by a processor, implements the method for processing a virtual object in any of the above embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请提供了一种虚拟对象的处理方法、装置、电子设备和存储介质,所述方法包括:获取虚拟对象的配置信息,并确定针对所述虚拟对象的多媒体内容消费任务;执行所述多媒体内容消费任务,并监测所述多媒体内容消费任务的执行进度;根据所述执行进度,对用户界面中展示的所述虚拟对象进行与所述执行进度相匹配的数据更新。应用本申请方案,可以解决虚拟礼物获取方式单一的问题,提高主播与观众之间的互动体验。

Description

虚拟对象的处理方法、装置、电子设备和存储介质 技术领域
本申请涉及计算机技术领域,尤其涉及一种虚拟对象的处理方法、装置、电子设备和存储介质。
背景技术
随着计算机技术和互联网技术的不断发展与进步,多媒体内容播放越来越受到用户的喜爱,并且逐渐成为互联网的主流表达方式之一。多媒体内容播放系统中,通常会通过派发虚拟对象,增加用户对多媒体内容播放应用程序的粘附度。但是多媒体内容播放系统派发虚拟对象的方式通常采用购买或直接免费的方式,用户获取虚拟对象的方式单一。
示例性地,在直播等多媒体内容播放系统中,主播客户端通过互联网建立直播频道,主播客户端向服务端上传在线直播内容,服务端将该在线直播内容广播至登陆进入该直播频道的观众客户端。为了增加主播与观众之间互动的趣味性,设置了虚拟礼物赠送功能。例如,观众在观众客户端内充值代币,消耗代币购买虚拟礼物赠送给主播。
因此,如何实现多样化地获取虚拟对象成为亟待解决的技术问题。
发明内容
有鉴于此,本申请实施例提供了一种虚拟对象的处理方法、装置、电子设备和存储介质,以部分或全部解决上述技术问题。
根据本申请实施例的第一方面,提供一种虚拟对象的处理方法,所述方法包括:
获取虚拟对象的配置信息,并确定针对所述虚拟对象的多媒体内容消费任务;
执行所述多媒体内容消费任务,并监测所述多媒体内容消费任务的执行进度;
根据所述执行进度,对用户界面中展示的所述虚拟对象进行与所述执行进度相匹配的数据更新。
根据本申请实施例的第二方面,提供一种虚拟对象的处理装置,所述装置包括:
信息获取模块,用于获取虚拟对象的配置信息,并确定针对所述虚拟对象的多媒体内容消费任务;
进度监测模块,用于执行所述多媒体内容消费任务,并监测所述多媒体内容消费任务的执行进度;
数据更新模块,用于根据所述执行进度,对用户界面中展示的所述虚拟对象进行与所述执行进度相匹配的数据更新。
根据本申请实施例的第三方面,提供一种电子设备,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为执行所述指令,以实现如上述第一方面所述的方法。
根据本申请实施例的第四方面,提供一种计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行如上述第一方面所述的方法。
基于上述技术方案,确定虚拟对象的多媒体内容消费任务后,在执行多媒体内容消费任务的过程中,监测多媒体内容消费任务的执行进度,并根据执行进度对用户界面中展示的虚拟对象进行数据更新,使得虚拟对象的数据与执行进度相匹配。可见,通过执行多媒体内容消费任务,可根据执行进度对虚拟对象的数据进行更新,在多媒体内容消费任务执行完成后获得虚拟对象,从而增加了虚拟对象的获取方式,且令虚拟对象的获取与执行多媒体内容消费任务的进度相关,进而可以提高用户互动效果。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一示例性实施例提供的一种虚拟对象的处理方法的流程图;
图2是本申请一示例性实施例提供的一种互联网直播场景的示意图;
图3是本申请一示例性实施例提供的另一种虚拟对象的处理方法的流程图;
图4是本申请一示例性实施例提供的一种直播画面的示意图;
图5是本申请一示例性实施例提供的另一种直播画面的示意图;
图6是本申请一示例性实施例提供的一种虚拟对象的处理装置的示意图;
图7是本申请一示例性实施例提供的一种电子设备的示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区 分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
如图1所示,图1是本申请实施例提供的一种虚拟对象的处理方法的流程图,该方法包括如下步骤101至步骤103:
101、获取虚拟对象的配置信息,并确定针对虚拟对象的多媒体内容消费任务。
虚拟对象的配置信息用于配置虚拟对象,虚拟对象为可在观看多媒体内容的不同用户之间转移的虚拟物品,比如虚拟对象为虚拟礼物、代币等。在网络直播场景中,虚拟对象可为观众赠送给主播的虚拟礼物,比如虚拟鲜花、虚拟汽车等。
多媒体内容消费任务为针对获取虚拟对象的任务,即完成多媒体内容消费任务可获得虚拟对象。多媒体内容包括视频、音频、文本、图像等,多媒体内容消费包括观看视频、收听音频、阅读文本、查看图像、基于多媒体内容的用户间交互等。
102、执行多媒体内容消费任务,并监测多媒体内容消费任务的执行进度。
在确定多媒体内容消费任务后,播放多媒体内容的客户端执行多媒体内容消费任务。在执行多媒体内容消费任务的过程中,监测多媒体内容消费任务的执行进度。
103、根据执行进度,对用户界面中展示的虚拟对象进行与执行进度相匹配的数据更新。
在监测多媒体内容消费任务的执行进度的过程中,根据多媒体内容消费任务的执行进度,对用户界面中展示的虚拟对象进行数据更新,使用户界面中虚拟对象的数据与执行进度相匹配,即随着执行进度的变化,用户界面中展示的虚拟对象的数据发生相应的变化。
关于用户界面,用户界面是播放多媒体内容的界面,比如在网络直播场景中,用户界面为进入直播间后所展示的直播界面。
本申请实施例提供的虚拟对象的处理方法,确定虚拟对象的多媒体内容消费任务后,在执行多媒体内容消费任务的过程中,监测多媒体内容消费任务的执行进度,并根据执行进度对用户界面中展示的虚拟对象进行数据更新,使得虚拟对象的数据与执行进度相匹配。可见,通过执行多媒体内容消费任务,可根据执行进度对虚拟对象的数据进行更新,在多媒体内容消费任务执行完成后获得虚拟对象,从而增加了虚拟对象的获取方式,且令虚拟对象的获取与执行多媒体内容消费任务的进度相关,进而可以提高用户互动效果。
在一种可能的实现方式中,多媒体内容消费任务包括:基于观看多媒体内容的不同用户之间的交互信息的多媒体内容消费任务,和/或基于多媒体内容的播放属性信息的多媒体内容消费任务。
在多个用户观看多媒体内容的过程中,不同用户之间可以进行交互,比如网络直播中主播与观众之间的交互,或者观众与观众之间的交互。基于观看多媒体内容的不同用户之间的交互信息的多媒体内容消费任务,以用户之间的交 互作为执行进度的参考,即基于用户之间的交互对虚拟对象的数据进行更新。
不同的多媒体内容播放过程具有不同的播放属性信息,比如多媒体内容的播放时长、多媒体内容的播放次数等,基于多媒体内容的播放属性信息的多媒体内容消费任务,以多媒体内容的播放属性信息作为执行进度的参考,即基于多媒体内容的播放属性信息对虚拟对象的数据进行更新。
多媒体内容消费任务包括基于观看多媒体内容的不同用户之间的交互信息的多媒体内容消费任务、基于多媒体内容的播放属性信息的多媒体内容消费任务或者上述两个任务的结合,通过提供多种形式的多媒体内容消费任务,能够满足不同场景的需求。
在一些例子中,基于观看多媒体内容的不同用户之间的交互信息的多媒体内容消费任务包括:完成预设交互操作的任务,和/或交互操作的完成频率大于预设频率阈值的任务。
对于完成预设交互操作的任务,在完成预设的交互操作后,任务执行完成。比如,预设交互操作包括向主播赠送指定虚拟礼物、向指定主播赠送虚拟礼物、向主播赠送虚拟礼物的价值大于设定价值等。
对于交互操作的完成频率大于预设频率阈值的任务,在预设的交互操作的完成频率大于预设频率阈值后,任务执行完成。预设交互操作包括给主播点赞、发表评论、发表弹幕、给主播赠送礼物等操作。
多媒体内容消费任务包括完成预设交互操作的任务、交互操作的完成频率大于预设频率阈值的任务或者上述两个任务的结合,根据用户之间的交互对虚拟对象的数据进行更新,使得用户通过交互获得虚拟对象,能够激励用户之间的交互,从而能够提高网络直播过程中主播与观众或者观众与观众之间的交互效果。
在一些例子中,基于多媒体内容的播放属性信息的多媒体内容消费任务包括:多媒体内容的播放时长大于预设的时长阈值的任务,和/或多媒体内容的播放客户端为首次播放多媒体内容的任务。
对于多媒体内容的播放时长大于预设时长阈值的任务,在多媒体内容的播放时长大于预设时长阈值后,多媒体内容消费任务执行完成。比如,预设的时长阈值为10min,当播放多媒体内容的时长达到10min时,完成多媒体内容消费任务。将多媒体内容的播放时长作为更新虚拟对象的数据的条件,在用户观看多媒体内容一定时长后,向用户赠送虚拟对象,可以激励用户观看多媒体内容,从而提高多媒体内容提供平台的流量,促进多媒体内容提供平台的发展。
需要说明的是,本申请实施例中所述的多媒体内容的播放时长,可以是连续播放多媒体内容的时长,此时中断多媒体内容的播放,比如退出直播间后重新进入直播间,多媒体内容的播放时长会清零后重新计算。多媒体内容的播放时长也可以是累计播放多媒体内容的时长,此时中断多媒体内容的播放,比如退出直播间后重新进入直播间,多媒体内容的播放时长在原有时长的基础上进行累计。
对于多媒体内容的播放客户端为首次播放多媒体内容的任务,在多媒体内容的播放客户首次播放多媒体内容时,多媒体内容消费任务执行完成。在播放 客户端首次播放多媒体内容时,对虚拟对象的数据进行更新,向用户推广完成多媒体内容消费任务可以对虚拟对象的数据进行更新的功能,以使更多用户通过执行多媒体内容消费任务而对虚拟对象的数据进行更新,从而可以提高用户互动效果。
在一种可能的实现方式中,根据执行进度对用户界面中展示的虚拟对象进行与执行进度相匹配的数据更新时,可以根据执行进度,对用户界面中展示的虚拟对象对应的图像数据和/或属性数据,进行与执行进度相匹配的更新。
根据执行进度对虚拟对象对应的图像数据进行更新,通过用户界面中图像数据的更新指示执行进度,使用户界面的观看者能够直观的确定多媒体内容消费任务的执行进度,保证用户的使用体验。
根据执行进度对虚拟对象对应的属性数据进行更新,方便用户根据虚拟对象的属性数据确定虚拟对象的属性,进而确定多媒体内容消费任务的执行进度以及虚拟对象的数量等,保证用户的使用体验。
在一些例子中,对虚拟对象对应的图像数据进行更新,包括根据执行进度,在用户界面中逐渐减小虚拟对象的图像上覆盖的遮罩蒙层,以在多媒体内容消费任务执行完成后在用户界面中展示虚拟对象的完整图像。在执行多媒体内容消费任务的过程中,在用户界面中展示虚拟对象的图像,通过逐渐减小虚拟对象的图像上所覆盖遮罩蒙层,指示多媒体内容消费任务的执行进度。
根据多媒体内容消费任务的执行进度,逐渐减小虚拟对象的图像上覆盖的遮罩蒙层,遮罩蒙层的面积逐渐减小,使虚拟对象的图像逐渐在用户界面中显现,使得用户界面的观看者可以根据遮罩蒙层的面积或虚拟对象的图像的面积,确定多媒体内容消费任务的执行进度,以使用户可以直观地确定还需要多长时间才能够获得虚拟对象,从而能够提高用户的使用体验。
在一些例子中,对虚拟对象对应的图像数据进行更新,包括根据执行进度,在用户界面中逐渐闭合虚拟对象的图像的轮廓线,以在多媒体内容消费任务执行完成后在用户界面中展示虚拟对象的完整图像。
在执行多媒体内容消费任务的过程中,在用户界面中逐渐闭合虚拟对象的图像的轮廓线,当多媒体内容消费任务执行完成后,虚拟对象的图像的轮廓线闭合,在用户界面中展示虚拟对象的完整图像,即随着多媒体内容消费任务的执行,虚拟对象的轮廓线逐渐闭合,使虚拟对象的图像逐渐在用户界面中显现,使得用户界面的观看者可以根据虚拟对象的图像的轮路线确定多媒体内容消费任务的执行进度,从而提高用户的使用体验。
在一些例子中,对虚拟对象对应的图像数据进行更新,包括根据执行进度,在用户界面中虚拟对象的图像上展示与执行进度相匹配的进度条。
根据多媒体内容消费任务的执行进度,在虚拟对象的图像上展示与执行进度相匹配的进度条,由于进度条与执行进度相匹配,从而可以根据进度条确定多媒体内容消费任务的执行进度,使得用户可以直观地确定还需要多长时间才能够获得虚拟对象,从而能够提高用户的使用体验。将进度条展示在虚拟对象的图像上,建立进度条与虚拟对象之间的关联,使得进度条可以更加直观的指示虚拟对象的获取进度。
可选地,根据虚拟对象的数量不同,可采用不同的形式展示多媒体内容消费任务的执行进度。当虚拟对象的数量小于1时,在用户界面中展示包括虚拟对象的礼物图像,通过逐渐减小礼物图像上所覆盖的遮罩蒙层,指示多媒体内容消费任务的执行进度。当虚拟对象的数量大于或等于1时,在虚拟对象的图像上展示进度条,通过进度条指示多媒体内容消费任务的执行进度。
在虚拟对象的数量小于1时,通过遮罩蒙层的面积指示多媒体内容消费任务的执行进度,在虚拟对象的数量大于或等于1时,通过进度条的长度指示多媒体内容消费任务的执行进度,方便用户确定是否有可赠送的虚拟对象,而且便于对虚拟对象的数量进行显示,方便用户查看。
可选地,由于虚拟对象的数量可能为多个,每次完成多媒体内容消费任务后,在用户界面中展示一个虚拟对象的图像,当虚拟对象的数量为N个时,则在用户界面中展示N个虚拟对象的图像,以使用户界面的观看者可以根据用户界面中虚拟对象的图像的数量,确定虚拟对象的数量。
在一些例子中,对虚拟对象对应的属性数据进行更新,包括根据执行进度,在多媒体内容消费任务执行完成后,向服务端发送任务完成指令;接收来自服务端响应于任务完成指令的对象同步指令,对象同步指令包括更新的虚拟对象的数量;根据对象同步指令,更新虚拟对象的数量,并在用户界面中基于虚拟对象的图像展示更新后的虚拟对象的数量。
在多媒体内容消费任务完成后,向服务端发送任务完成指令,以使服务端响应于任务完成指令更新虚拟对象的数量,并下发包括更新的虚拟对象的数量的对象同步指令,进而多媒体内容的播放终端根据对象同步指令,更新虚拟对象的数量,并在用户界面中展示更新后的虚拟对象的数量,以使用户界面的观看者能够方便地确定虚拟对象的数量,以方便用户赠送虚拟对象,保证用户的使用体验。
需要说明的是,由于网络抖动、网络异常等原因,导致播放多媒体内容的客户端未能成功将任务完成指令发送给服务端时,播放多媒体内容的播放客户端会在下次播放多媒体内容时,再次向服务端发送任务完成指令。由于播放客户端可以多次完成多媒体内容消费任务,每次完成多媒体内容消费任务后向服务端发送任务完成指令,如果多次完成多媒体内容消费任务后均未能成功向服务端发送任务完成指令,在播放客户端再次播放多媒体内容时,将此前未能成功发送给服务端的各任务完成指令打包后发送给服务端,保证每次完成多媒体内容消费任务后,均能够对虚拟内容进行数据更新,保证用户体验。
在一种可能的实现方式中,虚拟对象的配置信息包括虚拟对象的素材信息、虚拟对象的多媒体内容消费任务信息、虚拟对象的价值信息和虚拟对象的可累计数量信息中的至少一个。进而可根据虚拟对象的配置信息,确定待处理的虚拟对象,并生成针对待处理的虚拟对象的多媒体内容消费任务。
虚拟对象的素材信息,为展示虚拟对象的图像提供素材,并可以标识虚拟对象,根据虚拟对象的素材信息可以确定待处理的虚拟对象。因此,根据虚拟对象的素材信息,能够准确确定待处理的虚拟对象,进而准确确定多媒体内容消费任务,保证根据多媒体内容消费任务的执行进度对虚拟对象进行数据更新 的准确性。
虚拟对象的价值信息标识虚拟对象有价值或无价值。如果虚拟对象是有价值的,可以凭虚拟对象进行提现,或者虽然凭虚拟对象无法进行提现,但虚拟对象可以提升用户的热力值。比如,用户的热力值越高,则会优先向其他用户推荐该用户的多媒体内容。在两个用户进行PK的场景中,热力值较高的用户会胜出。虚拟礼物可以通过完成多媒体内容消费任务获得,凭虚拟对象可以提现或提升用户的多媒体内容的优先级,使虚拟对象具有实际价值,促使用户完成多媒体内容消费任务以获得虚拟对象,进而提高用户交互效果。
虚拟对象的可累计数量信息包括虚拟对象的可累计数量,在虚拟对象的数量达到可累计数量后,虚拟对象的数量不再进行累计,当虚拟对象被赠送给用户,导致虚拟对象的数量小于可累计数量后,可再次累计虚拟对象的数量至可累计数量。通过设置虚拟对象的可累计数量,避免用户通过挂机或后台运行等方式无上限获取虚拟对象,进而出现恶意刷虚拟对象的问题,影响虚拟对象在用户交互中的价值。
在一种可能的实现方式中,在获取虚拟对象的配置信息之前,校验播放多媒体内容的客户端是否位于运营区域内,和/或校验客户端对应的用户的风险等级;如果客户端位于运营区域内,和/或用户的风险等级符合规定等级,则执行获取虚拟对象的配置信息的操作。
校验播放多媒体内容的客户端是否位于运营区域内,仅有客户端位于运营区域内时,才能够获取虚拟对象的配置信息,进而通过完成多媒体内容消费任务而获得虚拟对象,即仅对运营区域内的客户端开放完成多媒体内容消费任务获得虚拟对象的功能,实现客户端的区域化管理,提高对客户端进行管理的方便性。
校验客户端对应的用户的风险等级,客户端对应的用户的风险等级符合规定等级时,客户端才能够获得虚拟对象的配置信息,进而通过完成多媒体内容消费任务而获得虚拟对象,从而可以屏蔽高风险等级的用户获取虚拟对象,而仅对低风险等级的用户开放完成多媒体内容消费任务获得虚拟对象的功能,降低盗刷虚拟对象的风险。
在一些例子中,校验播放多媒体内容的客户端是否位于运营区域内包括:根据客户端的IP地址、客户端的经纬度信息、客户端所在设备的标识信息、客户端的地理区域信息和客户端使用的语种信息中的至少一个,校验客户端是否位于运营区域内。
基于客户端的IP地址、客户端的经纬度信息、客户端所在设备的标识信息、客户端的地理区域信息、客户端播放多媒体内容使用的语种等多个维度,可以根据需求灵活构建运营区域,从而实现客户端的区域化管理,提高对客户端进行管理的方便性。
在一些例子中,校验客户端对应的用户的风险等级包括:根据客户端所在的设备的标识信息和/或客户端对应的用户的标识信息,检测用户是否存在预设风险操作行为,根据检测结果确定用户的风险等级。
根据客户端所在设备的标识信息和客户端对应的用户的标识信息,可以更 加全面的检测用户存在的风险操作行为,进而根据检测到的风险操作行为准确确定用户的风险等级,保证基于用户的风险等级屏蔽完成多媒体内容消费任务获得虚拟对象的功能的准确性,保证用户的使用体验。
在一些例子中,预设风险操作行为包括客户端所在设备对应有多个客户端账号、用户通过客户端发布违规内容和用户通过客户端观看违规内容中至少一个。
根据客户端所在设备对应有多个客户端账号、用户通过客户端发布违规内容和用户通过客户端观看违规内容等预设风险操作行为,可以更加准确地对用户的风险等级进行确定,从而屏蔽高风险等级用户使用完成多媒体内容消费任务获得虚拟对象的功能,促使用户正常使用客户端,从而构建良好的多媒体内容播放环境。
为了更好理解本申请所公开的虚拟对象的处理方法,下面以虚拟对象为网络直播中的虚拟礼物,多媒体内容消费任务为直播画面的播放时长大于预设的时长阈值为例,对本申请实施例提供的虚拟对象的处理方法进行详细说明。
如图2所示,图2是本申请根据一示例性实施例示出的一种直播网络架构示意图。该直播网络架构可以包括服务端及多个终端。其中,服务端可以称为后台服务器、组件服务器等,用于提供网络直播的后台服务。服务端可以包括服务器、服务器集群或云平台,也可以是执行服务的程序。终端可以是具有网络直播功能的智能终端,例如,智能终端可以是智能手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、多媒体播放器、可穿戴设备等等。在直播网络架构中,终端可以分为主播终端和观众终端。主播终端中安装有主播客户端,观众终端中安装有观众客户端。主播客户端和观众客户端可以是同一种视频直播应用程序,即视频直播应用程序既具有直播模式,又具有观众模式;主播客户端和观众客户端也可以是不同种视频直播应用程序。针对主播客户端和观众客户端为同一种视频直播应用程序的情况,当视频直播应用程序进入主播模式时,可以将视频直播应用程序称为主播客户端;当视频直播应用程序进入观众模式时,可以将视频直播应用程序称为观众客户端。安装有观众客户端的观众终端可以观看主播客户端上的直播视频。主播终端和观众终端可以通过有线网络、无线网络或数据传输线等方式与服务端连接。
在直播网络架构中,观众可以通过观众终端上的观众客户端登陆直播网络架构的服务端,主播可以通过主播终端上的主播客户端登陆直播网络架构的服务端,且观众和主播进入同一直播频道。主播客户端向服务端上传在线直播内容,由服务端将该在线直播内容发送给登陆进入该在线直播频道的观众客户端,供观众客户端的观众观看。观众客户端的观众不仅可以观看主播客户端上传的直播内容,还可以通过服务端与该主播频道的主播或其他观众进行交互,例如观众可以向喜爱的主播赠送礼物等。
相关技术中,观众客户端提供代币充值和虚拟礼物购买功能,观众在观众客户端内充值代币后,消耗代币购买虚拟礼物赠送给主播。可见,目前虚拟礼物仅能够通过充值购买,虚拟礼物的获取方式单一,而部分观众并不会充值购买虚拟礼物赠送给主播,导致主播与观众之间的互动效果较差。
为了解决上述问题,本申请提供一种虚拟对象的处理方法。本申请提供的方案可以应用于上述直播网络场景中,当然可以理解,本申请提供的方案还可以应用于其他场景中,比如视频点播场景、视频录播场景等,此处不再一一赘述。
如图3所示,图3是本申请实施例提供的一种虚拟对象的处理方法的流程图,该实施例由直播客户端实现,该方法包括步骤301至步骤309:
301、校验直播客户端是否位于运营区域内,且校验直播客户端对应的用户的风险等级。
根据直播客户端的IP地址、直播客户端的经纬度信息、直播客户端所在设备的标识信息、直播客户端的地理区域信息和直播客户端使用的语种信息,验证直播客户端是否位于运营区域内。比如,运营区域为主播与观众之间互动效果较差的地区,为了提高主播与观众之间的互动效果,向位于运营区域内的直播客户端开放虚拟礼物赠送功能,仅有位于运营区域内的直播客户端才能够通过完成多媒体内容消费任务而获得虚拟礼物。
根据直播客户端所在设备的标识信息和直播客户端对应的用户的标识信息,检测直播客户端是否存在直播客户端所在设备对应有多个客户端账号、用户通过直播客户端发布违规内容、用户通过直播客户端观看违规内容等风险操作行为,根据检测结果确定用户的风险等级。
校验直播客户端是否位于运营区域内,并校验直播客户端对应的用户的风险等级,可以仅向运营区域内且对应用户的风险等级符合规定等级的客户端,开放通过完成多媒体内容消费任务而获得虚拟礼物的功能,实现客户端的区域化管理和用户的个性化管理,以提高对客户端和用户进行管理的方便性和有效性,并能够有效促进主播与观众之间的交互效果。
302、如果直播客户端位于运营区域内,且直播客户端对应的用户的风险等级符合规定等级,则获取虚拟礼物的配置信息。
根据对直播客户端和用户的校验结果,如果直播客户端位于运营区域内,且直播客户端对应的用户的风险等级符合规定等级,则获取虚拟礼物的配置信息。虚拟礼物的配置信息包括虚拟礼物的素材信息、虚拟礼物的多媒体内容消费任务信息、虚拟礼物的价值信息和虚拟礼物的可累计数量信息。
由于直播客户端提供多种虚拟礼物,根据虚拟礼物的配置信息包括的素材信息可以准确识别待处理的虚拟礼物,即在完成多媒体内容消费任务后赠送的虚拟礼物,保证后续步骤的正常实施。
303、根据虚拟礼物的配置信息,确定虚拟礼物的多媒体内容消费任务。
根据虚拟礼物的配置信息,确定待处理的虚拟礼物,并确定待处理的虚拟礼物的多媒体内容消费任务。比如,待处理的虚拟礼物为应援棒,待处理的虚拟礼物的多媒体内容消费任务为直播画面的播放时长大于10min。
304、执行多媒体内容消费任务。
直播客户端响应用户的触发,执行多媒体内容消费任务。比如,直播客户端响应用户的播放触发操作,开始展示直播画面。
305、监测多媒体内容消费任务的执行进度。
在直播客户端执行多媒体内容消费任务的过程中,监测多媒体内容消费任务的执行进度。比如,监测直播客户端播放直播画面的时长。
306、根据执行进度,对直播界面中展示的虚拟礼物的图像数据进行更新。
在直播界面中展示虚拟礼物的图像,根据执行进度,对虚拟礼物的图像进行与执行进度相匹配的更新。
在一种可能的实现方式中,如图4所示,图4是本申请实施例提供的一种直播画面的示意图,在直播画面中展示包括虚拟礼物的礼物图像401,礼物图像401上覆盖有遮罩蒙层402。在开始播放直播画面时,启动倒计时时长等于时长阈值的第一倒计时器,响应于第一倒计时器的剩余倒计时时长的减少,逐渐减小礼物图像401上的遮罩蒙层402。在第一倒计时器的剩余倒计时时长等于时长阈值时,礼物图像401上覆盖的遮罩蒙层402被全部去除。根据礼物图像401上遮罩蒙层402的面积,可以确定多媒体内容消费任务的执行进度,使得用户可以直观地确定还需要多长时间才能够获得虚拟礼物,从而能够提高用户的使用体验。
可以理解的是,直播客户端可以多次执行多媒体内容消费任务,以在每次完成多媒体内容消费任务后获得虚拟礼物。例如,多媒体内容消费任务为多媒体内容的播放时长大于预设的时长阈值的任务,则每经过一个时长阈值便完成一次多媒体内容消费任务,前一次多媒体内容消费任务的完成时刻,即为后一次多媒体内容消费任务的开始时刻。由于循环完成多媒体内容消费任务,所以遮罩蒙层402也循环覆盖在礼物图像401上,在每次多媒体内容消费任务的开始时刻,礼物图像401被遮罩蒙层402完全覆盖,随着多媒体内容消费任务的执行,遮罩蒙层402的面积逐渐减小,在多媒体内容消费任务的完成时刻,礼物图像401上的遮罩蒙层402被去除。
关于礼物图像,礼物图像包括虚拟礼物的图像,比如礼物图像是在纯色背景上叠加虚拟礼物的图像而形成的图像,当虚拟礼物为应援棒时,礼物图像是在纯色背景上叠加应援棒的图像所形成的图像。
可选地,礼物图像401和遮罩蒙层402均为圆形图像。随着播放直播画面时长的增加,遮罩蒙层402的部分区域被去除,使遮罩蒙层402的面积逐渐减小,遮罩蒙层402上被去除的区域为扇形区域,扇形区域的顶点在遮罩蒙层的圆心,此时面积逐渐减小的遮罩蒙层402可以模拟时钟的转动,使得多媒体内容消费任务的执行进度更加直观,从而能够提高用户的使用体验。当然,遮罩蒙层的面积还可以按其他形式减小,比如按条形、环形等形状区域逐步减小。
可选地,第一倒计时器的倒计时时长等于预设的时长阈值,礼物图像上所覆盖遮罩蒙层的面积,随第一倒计时器的剩余倒计时时长减少而减小,在此基础上,第一倒计时器的剩余倒计时时长与遮罩蒙层的剩余面积可以满足如下关系:
Figure PCTCN2021135806-appb-000001
其中,S用于表征遮罩蒙层的剩余面积,S 0用于表征礼物图像的面积,t用于表征第一倒计时器的剩余倒计时时长,T用于表征时长阈值。
遮罩蒙层的剩余面积与第一倒计时器的剩余倒计时时长,满足上述线性关 系,而第一倒数计时器在开始播放直播画面时开始倒计时,因此遮罩蒙层的面积随播放直播画面时长的增加而均匀减小,进而根据遮罩蒙层的面积可以预估完成多媒体内容消费任务的剩余时间,提升用户的使用体验。
在另一种可能的实现方式中,如图5所示,图5是本申请实施例提供的另一种直播画面的示意图,在直播画面中虚拟礼物401上展示任务进度图像501,在开始播放直播画面时,启动倒计时时长等于时长阈值的第二倒计时器,响应于第二倒计时器的剩余倒计时时长的减少,增加在直播画面中沿任务进度图像501的轮廓线展示的进度条502的长度。在第二倒计时器的剩余倒计时时长等于时长阈值时,进度条502沿任务进度图像501的轮廓线闭合。
在直播画面中展示任务进度图像501,开始播放直播画面的时刻,进度条502的长度为零,随着播放直播画面时长的增加,沿任务进度图像501的轮廓线展示长度逐渐增大的进度条502,当播放直播画面的时长等于预设的时长阈值时,进度条502沿任务进度图像501的轮廓线闭合,即多媒体内容消费任务执行完成时,进度条502绕任务进度图像501的轮廓线一周。因此,根据进度条502的长度,可以确定多媒体内容消费任务的执行进度,使得用户能够更加直观地确定还需要多长时间才能够获得虚拟礼物,进而提高用户的使用体验。
可以理解的是,可以多次执行多媒体内容消费任务,以在每次完成多媒体内容消费任务后获得虚拟礼物。例如,多媒体内容消费任务为多媒体内容的播放时长大于预设的时长阈值的任务,则每经过一个时长阈值便完成一次多媒体内容消费任务,前一次多媒体内容消费任务的完成时刻,即为后一次多媒体内容消费任务的开始时刻。由于循环完成多媒体内容消费任务,所以进度条502也循环在任务进度图像501的轮廓线出现,在每次多媒体内容消费任务的开始时刻,进度条502的长度为零,随着播放直播画面时长的增加,进度条502沿任务进度图像501的轮廓线延伸,进度条502的长度逐渐增加,在多媒体内容消费任务完成的时刻,进度条502沿任务进度图像501的轮廓线闭合。
需要说明的是,任务进度图像是轮廓线连续的形状图像,比如任务进度图像为圆形图像,在进度条沿任务进度图像的轮廓线闭合时,进度条为圆环形。当然,任务进度图像还可以使其他形状图像,比如矩形、五角星、三角形、椭圆形或其他不规则形状。
可选地,根据虚拟礼物的数量不同,可采用不同的形式展示多媒体内容消费任务的执行进度。当虚拟礼物的数量小于1时,播放直播画面的过程中,在直播画面中展示包括虚拟礼物的礼物图像,通过减小礼物图像上所覆盖遮罩蒙层的面积,指示多媒体内容消费任务的执行进度,具体参见图4中遮罩蒙层的变化。当虚拟礼物的数量大于或等于1时,在直播画面中展示进度条,通过进度条指示多媒体内容消费任务的执行进度,具体参见图5中进度条的变化。
在虚拟礼物的数量小于1时,通过遮罩蒙层的面积展示多媒体内容消费任务的执行进度,在虚拟礼物的数量大于或等于1时,通过进度条的长度展示多媒体内容消费任务的执行进度,方便用户确定是否有赠送的虚拟礼物,而且便于对虚拟礼物的数量进行显示,方便用户查看。
307、在多媒体内容消费任务执行完成后,向服务端发送任务完成指令。
根据多媒体内容消费任务的执行进度,在多媒体内容消费任务执行完成后,向服务端发送任务完成指令,使服务端对直播客户端的虚拟礼物的数量进行更新。比如,在检测到直播客户端播放直播画面的时长达到10min后,向服务端发送任务完成指令。
在多媒体内容消费任务执行完成后,向服务端发送任务完成指令,使服务端对直播客户端的虚拟礼物的数量进行更新,使得服务端和直播客户端上虚拟礼物的数量同步,从而保证观众能够通过服务端向主播赠送虚拟礼物。
可选地,在多媒体内容消费任务执行完成后,检测虚拟礼物的数量是否已经达到虚拟礼物的可累计数量,其中虚拟礼物的可累计数量包括在虚拟礼物的可累计数量信息中,虚拟礼物的可累计数量信息包括在虚拟礼物的配置信息中。如果虚拟礼物的数量已经达到虚拟礼物的可累计数量,则不再向服务端发送任务完成指令。控制直播客户端的虚拟礼物的数量小于或等于可累计数量,避免用户大量囤积虚拟礼物而不赠送,保证发放虚拟礼物对于促进主播与观众间交互效果的有效性。
308、接收来自服务端的对象同步指令。
向服务端发送任务完成指令,以使服务端对直播客户端的虚拟礼物的数量进行更新,并向直播客户端下发包括更新后的虚拟礼物的数量的对象同步指令,直播客户端接收该对象同步指令。
309、根据对象同步指令,对虚拟礼物的数量进行更新,并在直播画面中展示更新后的虚拟礼物的数量。
接收到对象同步指令后,直播客户端根据对象同步指令对虚拟礼物的数量进行更新,并在直播画面中展示更新后的虚拟礼物的数量。比如,如图5所示,在更新虚拟礼物的数量后,将更新后的虚拟礼物的数量展示在任务进度图像501上。
随着播放直播画面时长的增加,进度条沿任务进度图像的轮廓线长度增加,当进度条沿任务进度图像的轮廓线闭合时,播放客户端执行完成多媒体内容消费任务而获得虚拟礼物,播放终端的虚拟礼物的数量增加。将更新后的虚拟礼物的数量展示在任务进度图像上,进度条沿任务进度图像的轮廓线闭合后,任务进度图像上虚拟礼物的数量相应增加,使得用户查看多媒体内容消费任务的执行进度和虚拟礼物的数量更加连贯和方便。
在本申请实施例中,多媒体内容消费任务为播放直播画面的长度达到预设时长阈值,直播客户端播放直播画面的过程中,根据播放的时长对直播画面中展示的虚拟礼物的图像进行更新,以指示多媒体内容消费任务的执行进度,在播放直播画面的时长达到预设时长阈值后,直播客户端向服务端发送任务完成指令,使服务端对直播客户端的虚拟礼物的数量进行更新,即增加直播客户端的虚拟礼物的数量,直播客户端在接收到服务端下发的对象同步指令后,更新虚拟礼物的数量,并在直播画面中展示更新后的虚拟礼物的数量。可见,通过观看直播可以获得虚拟礼物,进而可以将虚拟礼物赠送给主播,因此增加了虚拟礼物的获取方式,用户不需要充值也可以获得虚拟礼物并赠送给主播,进而可以提高主播与观众之间的互动效果。
如图6所示,图6是本申请实施例提供的一种虚拟对象的处理装置的示意图,该装置包括:
信息获取模块601,用于获取虚拟对象的配置信息,并确定针对虚拟对象的多媒体内容消费任务;
进度监测模块602,用于执行多媒体内容消费任务,并监测多媒体内容消费任务的执行进度;
数据更新模块603,用于根据执行进度,对用户界面中展示的虚拟对象进行与执行进度相匹配的数据更新。
在一种可能的实现方式中,多媒体内容消费任务包括:基于观看多媒体内容的不同用户之间的交互信息的多媒体内容消费任务,和/或基于多媒体内容的播放属性信息的多媒体内容消费任务。
在一种可能的实现方式中,基于观看多媒体内容的不同用户之间的交互信息的多媒体内容消费任务包括:完成预设交互操作的任务,和/或交互操作的完成频率大于预设频率阈值的任务;基于多媒体内容的播放属性信息的多媒体内容消费任务包括:多媒体内容的播放时长大于预设的时长阈值的任务,和/或多媒体内容的播放客户端为首次播放多媒体内容的任务。
在一种可能的实现方式中,数据更新模块603用于根据执行进度,对用户界面中展示的虚拟对象对应的图像数据和/或属性数据,进行与执行进度相匹配的更新。
在一种可能的实现方式中,数据更新模块603用于根据执行进度,在用户界面中逐渐减小虚拟对象的图像上覆盖的遮罩蒙层,以在多媒体内容消费任务执行完成后在用户界面中展示虚拟对象的完整图像;或者,根据执行进度,在用户界面中逐渐闭合虚拟对象的图像的轮廓线,以在多媒体内容消费任务执行完成后在用户界面中展示虚拟对象的完整图像;或者,根据执行进度,在用户界面中虚拟对象的图像上展示与执行进度相匹配的进度条。
在一种可能的实现方式中,数据更新模块603用于根据执行进度,在多媒体内容消费任务执行完成后,向服务端发送任务完成指令;接收来自服务端响应于任务完成指令的对象同步指令,对象同步指令包括更新的虚拟对象的数量;根据对象同步指令,更新虚拟对象的数量,并在用户界面中基于虚拟对象的图像展示更新后的虚拟对象的数量。
在一种可能的实现方式中,信息获取模块601用于获取虚拟对象的配置信息,其中,配置信息包括:虚拟对象的素材信息、虚拟对象的多媒体内容消费任务信息、虚拟对象的价值信息和虚拟对象的可累计数量信息中的至少一个;根据配置信息,确定待处理的虚拟对象,并生成针对待处理的虚拟对象的多媒体内容消费任务。
在一种可能的实现方式中,该虚拟对象的处理装置还包括:校验模块;
校验模块,用于校验播放多媒体内容的客户端是否位于运营区域内,和/或校验客户端对应的用户的风险等级;如果客户端位于运营区域内,和/或用户的风险等级符合规定等级,则触发信息获取模块601执行获取虚拟对象的配置信息的操作。
在一种可能的实现方式中,校验模块用于根据客户端的IP地址、客户端的经纬度信息、客户端所在设备的标识信息、客户端的地理区域信息和客户端使用的语种信息中的至少一个,校验客户端是否位于运营区域内。
在一种可能的实现方式中,校验模块用于根据客户端所在的设备的标识信息和/或客户端对应的用户的标识信息,检测用户是否存在预设风险操作行为,根据检测结果确定用户的风险等级。
在一种可能的实现方式中,预设风险操作行为包括以下至少之一:客户端所在设备对应有多个客户端账号、用户通过客户端发布违规内容、用户通过客户端观看违规内容。
需要说明的是,上述装置中各个模块的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。
参照图7,示出了本申请实施例提供的一种电子设备的结构示意图,本申请具体实施例并不对电子设备的具体实现做限定。
如图7所示,该电子设备可以包括:处理器(processor)702、通信接口(Communications Interface)704、存储器(memory)706、以及通信总线708。
其中:
处理器702、通信接口704、以及存储器706通过通信总线708完成相互间的通信。
通信接口704,用于与其它电子设备或服务器进行通信。
处理器702,用于执行程序710,具体可以执行上述虚拟对象的处理方法实施例中的相关步骤。
具体地,程序710可以包括程序代码,该程序代码包括计算机操作指令。
处理器702可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。智能设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。
存储器706,用于存放程序710。存储器706可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
程序710具体可以用于使得处理器702执行前述任一实施例中的虚拟对象的处理方法。
程序710中各步骤的具体实现可以参见上述虚拟对象的处理方法实施例中的相应步骤和单元中对应的描述,在此不赘述。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的设备和模块的具体工作过程,可以参考前述方法实施例中的对应过程描述,在此不再赘述。
通过本实施例的电子设备,确定虚拟对象的多媒体内容消费任务后,在执行多媒体内容消费任务的过程中,监测多媒体内容消费任务的执行进度,并根据执行进度对用户界面中展示的虚拟对象进行数据更新,使得虚拟对象的数据与执行进度相匹配。可见,通过执行多媒体内容消费任务,可根据执行进度对 虚拟对象的数据进行更新,在多媒体内容消费任务执行完成后获得虚拟对象,从而增加了虚拟对象的获取方式,且令虚拟对象的获取与执行多媒体内容消费任务的进度相关,进而可以提高用户互动效果。
本申请实施例可采用在一个或多个其中包含有程序代码的存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机可用存储介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括但不限于:相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。
本申请实施例还提供了一种计算机程序,当计算机程序被处理器执行时,实现上述任一实施例中的虚拟对象的处理方法。
本领域技术人员在考虑说明书及实践这里申请的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未申请的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (13)

  1. 一种虚拟对象的处理方法,所述方法包括:
    获取虚拟对象的配置信息,并确定针对所述虚拟对象的多媒体内容消费任务;
    执行所述多媒体内容消费任务,并监测所述多媒体内容消费任务的执行进度;
    根据所述执行进度,对用户界面中展示的所述虚拟对象进行与所述执行进度相匹配的数据更新。
  2. 根据权利要求1所述的方法,其中,所述多媒体内容消费任务包括:基于观看多媒体内容的不同用户之间的交互信息的多媒体内容消费任务,和/或基于多媒体内容的播放属性信息的多媒体内容消费任务。
  3. 根据权利要求2所述的方法,其中,
    所述基于观看多媒体内容的不同用户之间的交互信息的多媒体内容消费任务包括:完成预设交互操作的任务,和/或所述交互操作的完成频率大于预设频率阈值的任务;
    所述基于多媒体内容的播放属性信息的多媒体内容消费任务包括:多媒体内容的播放时长大于预设的时长阈值的任务,和/或多媒体内容的播放客户端为首次播放多媒体内容的任务。
  4. 根据权利要求1所述的方法,其中,所述根据所述执行进度,对用户界面中展示的所述虚拟对象进行与所述执行进度相匹配的数据更新,包括:
    根据所述执行进度,对用户界面中展示的所述虚拟对象对应的图像数据和/或属性数据,进行与所述执行进度相匹配的更新。
  5. 根据权利要求4所述的方法,其中,所述根据所述执行进度,对所述用户界面中展示的所述虚拟对象对应的图像数据,进行与所述执行进度相匹配更新,包括:
    根据所述执行进度,在所述用户界面中逐渐减小所述虚拟对象的图像上覆盖的遮罩蒙层,以在所述多媒体内容消费任务执行完成后在所述用户界面中展示所述虚拟对象的完整图像;或者,
    根据所述执行进度,在所述用户界面中逐渐闭合所述虚拟对象的图像的轮廓线,以在所述多媒体内容消费任务执行完成后在所述用户界面中展示所述虚拟对象的完整图像;或者,
    根据所述执行进度,在所述用户界面中所述虚拟对象的图像上展示与所述执行进度相匹配的进度条。
  6. 根据权利要求4所述的方法,其中,所述根据所述执行进度,对所述用户界面中展示的所述虚拟对象对应的属性数据,进行与所述执行进度相匹配更新,包括:
    根据所述执行进度,在所述多媒体内容消费任务执行完成后,向服务端发送任务完成指令;
    接收来自所述服务端响应于所述任务完成指令的对象同步指令,所述对象 同步指令包括更新的所述虚拟对象的数量;
    根据所述对象同步指令,更新所述虚拟对象的数量,并在所述用户界面中基于所述虚拟对象的图像展示更新后的所述虚拟对象的数量。
  7. 根据权利要求1所述的方法,其中,所述获取虚拟对象的配置信息,并确定针对所述虚拟对象的多媒体内容消费任务,包括:
    获取虚拟对象的配置信息,其中,所述配置信息包括:所述虚拟对象的素材信息、所述虚拟对象的多媒体内容消费任务信息、所述虚拟对象的价值信息和所述虚拟对象的可累计数量信息中的至少一个;
    根据所述配置信息,确定待处理的虚拟对象,并生成针对所述待处理的虚拟对象的多媒体内容消费任务。
  8. 根据权利要求1所述的方法,其中,在所述获取虚拟对象的配置信息之前,所述方法还包括:
    校验播放多媒体内容的客户端是否位于运营区域内,和/或校验所述客户端对应的用户的风险等级;
    如果所述客户端位于所述运营区域内,和/或所述用户的风险等级符合规定等级,则执行所述获取虚拟对象的配置信息的操作。
  9. 根据权利要求8所述的方法,其中,所述校验播放多媒体内容的客户端是否位于运营区域内,包括:
    根据所述客户端的IP地址、所述客户端的经纬度信息、所述客户端所在设备的标识信息、所述客户端的地理区域信息和所述客户端使用的语种信息中的至少一个,校验所述客户端是否位于运营区域内。
  10. 一种虚拟对象的处理装置,所述装置包括:
    信息获取模块,用于获取虚拟对象的配置信息,并确定针对所述虚拟对象的多媒体内容消费任务;
    进度监测模块,用于执行所述多媒体内容消费任务,并监测所述多媒体内容消费任务的执行进度;
    数据更新模块,用于根据所述执行进度,对用户界面中展示的所述虚拟对象进行与所述执行进度相匹配的数据更新。
  11. 一种电子设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;
    所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如权利要求1-11中任一项所述的虚拟对象的处理方法对应的操作。
  12. 一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-11中任一项所述的虚拟对象的处理方法。
  13. 一种计算机程序,当所述计算机程序被处理器执行时,实现如权利要求1-11中任一项所述的虚拟对象的处理方法。
PCT/CN2021/135806 2021-05-25 2021-12-06 虚拟对象的处理方法、装置、电子设备和存储介质 WO2022247216A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110572984.0A CN113315985B (zh) 2021-05-25 2021-05-25 虚拟对象的处理方法、装置、电子设备和存储介质
CN202110572984.0 2021-05-25

Publications (1)

Publication Number Publication Date
WO2022247216A1 true WO2022247216A1 (zh) 2022-12-01

Family

ID=77374647

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135806 WO2022247216A1 (zh) 2021-05-25 2021-12-06 虚拟对象的处理方法、装置、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN113315985B (zh)
WO (1) WO2022247216A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117336519A (zh) * 2023-11-30 2024-01-02 江西拓世智能科技股份有限公司 基于ai数字人的多直播间同步直播的方法及装置

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315985B (zh) * 2021-05-25 2023-04-07 北京达佳互联信息技术有限公司 虚拟对象的处理方法、装置、电子设备和存储介质
CN113873281A (zh) * 2021-09-28 2021-12-31 北京达佳互联信息技术有限公司 信息展示方法、装置、终端及存储介质
CN114025181B (zh) * 2021-10-08 2023-09-19 北京达佳互联信息技术有限公司 一种信息显示方法、装置、电子设备及存储介质
CN114286195B (zh) * 2021-12-23 2023-10-13 广州津虹网络传媒有限公司 直播礼物资源更新方法及其装置、设备、介质、产品
CN114627225A (zh) * 2022-03-16 2022-06-14 北京字跳网络技术有限公司 图形渲染方法、装置及存储介质
CN115119058B (zh) * 2022-06-27 2024-02-23 北京达佳互联信息技术有限公司 多媒体资源任务的通知方法、装置、设备及存储介质
CN115374141B (zh) * 2022-09-20 2024-05-10 支付宝(杭州)信息技术有限公司 虚拟形象的更新处理方法及装置
CN116389784A (zh) * 2023-06-06 2023-07-04 北京达佳互联信息技术有限公司 信息展示方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790456A (zh) * 2016-12-08 2017-05-31 广州爱九游信息技术有限公司 游戏任务活动参与方法、装置及服务端
CN108156530A (zh) * 2017-12-29 2018-06-12 天脉聚源(北京)科技有限公司 互动奖励的方法和装置
CN110399197A (zh) * 2019-07-30 2019-11-01 北京达佳互联信息技术有限公司 任务显示的方法、终端、服务器及介质
CN112383786A (zh) * 2020-11-03 2021-02-19 广州繁星互娱信息科技有限公司 直播互动方法、装置、系统、终端及存储介质
CN113315985A (zh) * 2021-05-25 2021-08-27 北京达佳互联信息技术有限公司 虚拟对象的处理方法、装置、电子设备和存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8299318B2 (en) * 2007-07-05 2012-10-30 Ceres, Inc. Nucleotide sequences and corresponding polypeptides conferring modulated plant characteristics
CN109218842B (zh) * 2018-10-31 2021-05-14 广州方硅信息技术有限公司 虚拟礼物互动方法、装置、计算机存储介质和终端
CN110784736B (zh) * 2019-11-26 2022-04-12 网易(杭州)网络有限公司 直播间的虚拟物品赠送方法及装置、电子设备、存储介质
CN112346632B (zh) * 2020-11-11 2022-04-05 腾讯科技(深圳)有限公司 虚拟道具处理方法、装置、电子设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790456A (zh) * 2016-12-08 2017-05-31 广州爱九游信息技术有限公司 游戏任务活动参与方法、装置及服务端
CN108156530A (zh) * 2017-12-29 2018-06-12 天脉聚源(北京)科技有限公司 互动奖励的方法和装置
CN110399197A (zh) * 2019-07-30 2019-11-01 北京达佳互联信息技术有限公司 任务显示的方法、终端、服务器及介质
CN112383786A (zh) * 2020-11-03 2021-02-19 广州繁星互娱信息科技有限公司 直播互动方法、装置、系统、终端及存储介质
CN113315985A (zh) * 2021-05-25 2021-08-27 北京达佳互联信息技术有限公司 虚拟对象的处理方法、装置、电子设备和存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117336519A (zh) * 2023-11-30 2024-01-02 江西拓世智能科技股份有限公司 基于ai数字人的多直播间同步直播的方法及装置
CN117336519B (zh) * 2023-11-30 2024-04-26 江西拓世智能科技股份有限公司 基于ai数字人的多直播间同步直播的方法及装置

Also Published As

Publication number Publication date
CN113315985B (zh) 2023-04-07
CN113315985A (zh) 2021-08-27

Similar Documents

Publication Publication Date Title
WO2022247216A1 (zh) 虚拟对象的处理方法、装置、电子设备和存储介质
US12011660B2 (en) Augmenting video games with add-ons
US11954675B2 (en) Systems and methods for implementing blockchain-based content engagement platforms utilizing media wallets
US9390447B1 (en) Insertion of media recommendations
JP2022095765A (ja) タグコンテンツおよびソーシャルネットワークコンテンツに基くクラウドで実行されたミニゲームをランク付けするシステムおよび方法
US9244993B1 (en) Management of application state data
CN104202668B (zh) 视频广告的过滤方法和装置
CN106487781A (zh) 基于直播的资源数据处理方法、装置和系统
US20190166394A1 (en) Generating and presenting directional bullet screen
WO2017156984A1 (zh) 一种移动终端的视频更新推送方法以及客户端
CN107577766B (zh) 一种网页3d目标的加载方法及装置
JP7419554B2 (ja) ゲーム内プレイヤー支援用に事前に記録されたゲームプレイビデオのサーフェシング
CN108174227A (zh) 虚拟物品的显示方法、装置及存储介质
CN114584821A (zh) 视频处理方法及装置
KR20210105558A (ko) 영상과 관련된 사용자 반응에 기반하여 컨텐츠를 제공하는 방법, 장치, 및 컴퓨터 프로그램
CN113099247B (zh) 虚拟资源处理方法、装置、服务器、存储介质及程序产品
CN109640118A (zh) 一种交互信息的显示方法、装置及设备
US20150074268A1 (en) Mediacard systems and methods
WO2021088973A1 (zh) 直播流显示方法、装置、电子设备及可读存储介质
US20210264540A1 (en) Appearing Social Media APP
US20160335645A1 (en) Predicting content consumption
CN115828003A (zh) 一种信息显示方法、装置、存储介质及计算机设备
JP7165112B2 (ja) コンピュータプログラム、情報処理方法および動画配信システム
US20230336844A1 (en) System and methods to enhance interactive program watching
US20230394093A1 (en) Methods and systems for prioritizing digital media content within a digital media content gallery

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21942779

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21942779

Country of ref document: EP

Kind code of ref document: A1