CN115297336A - Task processing method and device, electronic equipment, storage medium and program product - Google Patents

Task processing method and device, electronic equipment, storage medium and program product Download PDF

Info

Publication number
CN115297336A
CN115297336A CN202210800280.9A CN202210800280A CN115297336A CN 115297336 A CN115297336 A CN 115297336A CN 202210800280 A CN202210800280 A CN 202210800280A CN 115297336 A CN115297336 A CN 115297336A
Authority
CN
China
Prior art keywords
task
target
execution
user
candidate
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.)
Granted
Application number
CN202210800280.9A
Other languages
Chinese (zh)
Other versions
CN115297336B (en
Inventor
曹宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210800280.9A priority Critical patent/CN115297336B/en
Publication of CN115297336A publication Critical patent/CN115297336A/en
Application granted granted Critical
Publication of CN115297336B publication Critical patent/CN115297336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/47815Electronic shopping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4784Supplemental services, e.g. displaying phone caller identification, shopping application receiving rewards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/482End-user interface for program selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a task processing method and device, electronic equipment, a computer readable storage medium and a computer program product, and relates to the technical field of network live broadcast. The method comprises the following steps: responding to task execution operation of a first user account, and acquiring a pre-configured task configuration file; the task configuration file comprises task execution logics corresponding to a plurality of parallel interactive activities, and the interactive activities are isolated from each other; determining a target task type corresponding to task execution operation according to the task configuration file; determining target execution logic matched with the target task type from the task configuration file; and triggering the execution target execution logic to obtain a task execution result of the task execution operation. The method and the device can generate a task implementation scheme of the first user account of the plurality of parallel interactive activities through configuration, and can realize service isolation and resource isolation among different interactive activities.

Description

Task processing method and device, electronic equipment, storage medium and program product
Technical Field
The present disclosure relates to the field of webcast technologies, and in particular, to a task processing method, a task processing apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
Background
With the rapid development of network communication technology, live webcasting becomes a new online interaction mode, and live webcasting is favored by more and more audiences due to the characteristics of instantaneity, interactivity and the like. The first user task in the web broadcast marketing and collecting activity can comprise a watching task, a gift sending task and the like. After completing the focus task or the watching task, the audience needs to select the recommended anchor as a second user to complete the whole task flow.
However, the existing live broadcast implementation scheme does not support multi-activity parallel, different first user tasks need to be completed according to different events, and independent implementation codes need to be rewritten for each activity; in addition, the existing live broadcast implementation scheme does not support flexible change of the second user recommendation strategy, the access modes of each task type are not uniform enough, and the functions are not complete enough.
Disclosure of Invention
The present disclosure provides a task processing method, a task processing apparatus, an electronic device, a computer-readable storage medium, and a computer program product, which at least solve a problem in the related art that a first user task scheme supporting multiple parallel interactive activities cannot be implemented. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a task processing method, including: responding to task execution operation of a first user account, and acquiring a pre-configured task configuration file; the task configuration file comprises task execution logics corresponding to a plurality of parallel interactive activities, and the interactive activities are isolated from each other; determining a target task type corresponding to the task execution operation according to the task configuration file; determining target execution logic matched with the target task type from the task configuration file; and triggering and executing the target execution logic to obtain a task execution result of the task execution operation.
In an exemplary embodiment of the present disclosure, the method further includes: determining candidate activity information corresponding to a plurality of candidate interactive activities, and generating a main configuration activity list based on the candidate activity information; determining a first user task set corresponding to each candidate interactive activity, wherein each first user task set comprises at least one first user task; receiving file configuration operation aiming at a plurality of candidate interactive activities, and generating resource configuration information corresponding to each candidate interactive activity; the resource configuration information is used for carrying out resource isolation on a plurality of parallel candidate interaction activities; and determining task execution logic corresponding to each first user task, and generating the task configuration file according to the main configuration activity list, the task execution logic and the resource configuration information.
In an exemplary embodiment of the present disclosure, the receiving a file configuration operation for a plurality of candidate interactive activities, and generating resource configuration information corresponding to each of the candidate interactive activities includes: determining a plurality of interactive activities to be isolated based on the main configuration activity list, and acquiring an activity identifier corresponding to each interactive activity to be isolated; and receiving file configuration operation performed on each interactive activity to be isolated, and generating resource configuration information by combining the activity identification.
In an exemplary embodiment of the present disclosure, the task execution logic includes an initial recommendation policy; the determining task execution logic corresponding to each first user task includes: determining a candidate recommendation strategy set corresponding to the first user task; the candidate recommendation strategy set comprises one or more candidate recommendation strategies and recommendation strategy information of each candidate recommendation strategy; selecting one candidate recommendation strategy from the candidate recommendation strategy set as an initial recommendation strategy, and generating initial recommendation strategy information of the initial recommendation strategy; generating the task execution logic according to the initial recommendation strategy information; the initial recommendation strategy information is used for calling the initial recommendation strategy.
In an exemplary embodiment of the present disclosure, the method further includes: responding to the updating operation aiming at the initial recommendation strategy information to obtain updated recommendation strategy information; and calling a corresponding update recommendation strategy based on the update recommendation strategy information so as to execute the update recommendation strategy through the task execution logic.
In an exemplary embodiment of the present disclosure, the determining, by the task configuration file, a target task type corresponding to the task execution operation includes: acquiring a target activity identifier and a task type identifier corresponding to the task execution operation; determining target interaction activities matched with the task execution operations from the routing configuration file according to the target activity identifiers; and determining the target task type matched with the task execution operation under the target interaction activity according to the task type identifier.
In an exemplary embodiment of the disclosure, the determining, from the task profile, the target execution logic that matches the target task type includes: determining a task filtering condition matched with the target task type according to the task configuration file; if the task execution operation does not need to be processed back to the source according to the task filtering condition, calling the target execution logic based on the task configuration file; if the fact that the task execution operation needs to be subjected to source returning processing is determined according to the task filtering condition, calling execution source returning processing logic to obtain a source returning processing result; and calling a corresponding target execution logic according to the return source processing result.
In an exemplary embodiment of the disclosure, the invoking executes back to the source processing logic, comprising: determining a second user account corresponding to the task execution operation, and acquiring a second user recommendation list matched with the task execution operation; if the second user account is determined to be in the second user recommendation list, determining the relevance of the task operation of the first user account in a preset time interval and the second user account; the second user account is of a different user type than the first user account; and if the task operation of the first user account in a preset time interval is determined to be unrelated to the second user account, generating a trigger instruction of the target execution logic.
In an exemplary embodiment of the disclosure, before the obtaining of the second user recommendation list matching the task execution operation, the method further includes: acquiring a recommendation scheme identifier corresponding to the task execution operation, and calling a matched second user recommendation strategy based on the recommendation scheme identifier; and determining a first number of candidate second user accounts according to the second user recommendation strategy, and generating a second user recommendation list based on the first number of candidate second user accounts.
In an exemplary embodiment of the present disclosure, the triggering execution of the target execution logic to obtain a task execution result of the task execution operation includes: responding to a trigger instruction of the target execution logic, and acquiring the current task quantity corresponding to the first user account; acquiring a quantity threshold value, and if the current task quantity is less than or equal to the quantity threshold value, sending a task reward to the first user account; and updating the current task quantity to obtain the task execution result.
According to a second aspect of the embodiments of the present disclosure, there is provided a task processing device including: the configuration file acquisition module is configured to execute task execution operation responding to the first user account and acquire a pre-configured task configuration file; the task configuration file comprises task execution logics corresponding to a plurality of parallel interactive activities, and the interactive activities are isolated from each other; the task type determining module is configured to determine a target task type corresponding to the task execution operation according to the task configuration file; an execution logic determination module configured to execute target execution logic determined from the task profile to match the target task type; and the task execution module is configured to execute the target execution logic in a triggering mode so as to obtain a task execution result of the task execution operation.
In an exemplary embodiment of the present disclosure, the task processing device further includes a configuration file generation module configured to perform: determining candidate activity information corresponding to a plurality of candidate interactive activities, and generating a main configuration activity list based on the candidate activity information; determining a first user task set corresponding to each candidate interaction activity, wherein each first user task set comprises at least one first user task; receiving file configuration operation aiming at a plurality of candidate interactive activities, and generating resource configuration information corresponding to each candidate interactive activity; the resource configuration information is used for carrying out resource isolation on a plurality of parallel candidate interaction activities; and determining task execution logic corresponding to each first user task, and generating the task configuration file according to the main configuration activity list, the task execution logic and the resource configuration information.
In an exemplary embodiment of the present disclosure, the configuration file generating module further includes a configuration information generating unit configured to perform: determining a plurality of interactive activities to be isolated based on the main configuration activity list, and acquiring an activity identifier corresponding to each interactive activity to be isolated; and receiving file configuration operation performed on each interactive activity to be isolated, and generating resource configuration information by combining the activity identification.
In an exemplary embodiment of the present disclosure, the task execution logic includes an initial recommendation policy; the configuration file generation module further comprises an execution logic determination unit configured to perform: determining a candidate recommendation strategy set corresponding to the first user task; the candidate recommendation strategy set comprises one or more candidate recommendation strategies and recommendation strategy information of each candidate recommendation strategy; selecting one candidate recommendation strategy from the candidate recommendation strategy set as an initial recommendation strategy, and generating initial recommendation strategy information of the initial recommendation strategy; generating the task execution logic according to the initial recommendation strategy information; the initial recommendation strategy information is used for calling the initial recommendation strategy.
In an exemplary embodiment of the present disclosure, the task processing device further includes a recommendation policy update module configured to perform: responding to the updating operation aiming at the initial recommendation strategy information to obtain updated recommendation strategy information; and calling a corresponding update recommendation strategy based on the update recommendation strategy information so as to execute the update recommendation strategy through the task execution logic.
In an exemplary embodiment of the present disclosure, the task profile includes a routing profile, the task type determination module includes a task type determination unit configured to perform: acquiring a target activity identifier and a task type identifier corresponding to the task execution operation; determining target interaction activity matched with the task execution operation from the routing configuration file according to the target activity identification; and determining the target task type matched with the task execution operation under the target interaction activity according to the task type identifier.
In an exemplary embodiment of the present disclosure, the execution logic determination module includes an execution logic determination unit configured to perform: determining a task filtering condition matched with the target task type according to the task configuration file; if the task execution operation does not need to be processed back to the source according to the task filtering condition, calling the target execution logic based on the task configuration file; if the fact that the task execution operation needs to be subjected to source returning processing is determined according to the task filtering condition, calling execution source returning processing logic to obtain a source returning processing result; and calling a corresponding target execution logic according to the return source processing result.
In an exemplary embodiment of the disclosure, the execution logic determination unit includes a back-to-source processing subunit configured to perform: determining a second user account corresponding to the task execution operation, and acquiring a second user recommendation list matched with the task execution operation; if the second user account is determined to be in the second user recommendation list, determining the relevance of the task operation of the first user account in a preset time interval and the second user account; the second user account is of a different user type than the first user account; and if the task operation of the first user account in a preset time interval is determined to be unrelated to the second user account, generating a trigger instruction of the target execution logic.
In an exemplary embodiment of the present disclosure, the execution logic determination unit further includes a list generation subunit configured to perform: acquiring a recommendation scheme identifier corresponding to the task execution operation, and calling a matched second user recommendation strategy based on the recommendation scheme identifier; and determining a first number of candidate second user accounts according to the second user recommendation strategy, and generating a second user recommendation list based on the first number of candidate second user accounts.
In an exemplary embodiment of the present disclosure, the task execution module includes a task execution unit configured to perform: responding to a trigger instruction of the target execution logic, and acquiring the current task quantity corresponding to the first user account; acquiring a quantity threshold value, and if the current task quantity is less than or equal to the quantity threshold value, sending a task reward to the first user account; and updating the current task quantity to obtain the task execution result.
According to a third aspect of the present disclosure, there is provided an electronic device comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the above task processing methods.
According to a fourth aspect 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 any one of the above-mentioned task processing methods.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program/instructions, wherein the computer program/instructions, when executed by a processor, implement the task processing method of any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: on one hand, a task configuration file is generated in a pre-configuration mode, and a first user task scheme supporting a plurality of parallel interaction activities can be realized through configuration operation. On the other hand, different interactive activities can be configured in an isolation mode through the task configuration file, and service isolation and resource isolation among a plurality of parallel interactive activities are effectively achieved.
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 an interface diagram of a first user task corresponding to a first user account in a live webcast scenario.
FIG. 2 is a flow diagram illustrating a method of task processing according to an exemplary embodiment.
FIG. 3 is a flowchart illustrating a method of task progress recording according to an example embodiment.
FIG. 4 is a flow diagram illustrating a recommendation of a second user account in accordance with an exemplary embodiment.
Fig. 5 is a block diagram illustrating a task processing device according to an example embodiment.
Fig. 6 schematically shows a block diagram of an electronic device according to an exemplary 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 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 current webcast schemes, different audience tasks can be performed according to different events. Referring to fig. 1, fig. 1 is a schematic interface diagram of viewer tasks corresponding to viewers in a live webcasting scenario. For example, the spectator may perform spectator tasks such as attending a bouquet, sending an active gift, drawing a magic box, etc., to receive corresponding task rewards. However, live webcasting requires rewriting of independent implementation code for each activity when a different live activity is launched. For example, the current live activity is a "goddess" activity, and the logic implementation code needs to be rewritten as the next change to a "new on spring" activity. In addition, when the viewer completes the task, it is common to implement an implementation that takes a randomly drawn anchor in a fixed anchor pool as the target anchor. Therefore, in the existing live webcasting scheme, audience task modules supporting multiple activities in parallel cannot be realized, and the realization schemes of different activities are not universal, so that similar codes need to be copied in each activity, and the problem of code redundancy is caused; in addition, the existing live webcasting scheme has almost no recommendation logic of a target anchor.
Based on this, according to the embodiments of the present disclosure, a task processing method, a task processing apparatus, an electronic device, a computer-readable storage medium, and a computer program product are provided.
Fig. 2 is a flowchart illustrating a task processing method according to an exemplary embodiment, and the task processing method is used in a computer device as shown in fig. 2, wherein the computer device described in the present disclosure may include a mobile terminal device such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), and a fixed terminal device such as a desktop computer. The exemplary embodiment is illustrated by applying the method to a computer device, and it is understood that the method may also be applied to a server, and may also be applied to a system including a computer device and a server, and is implemented by interaction of the computer device and the server. The method specifically comprises the following steps.
In step S210, in response to a task execution operation of the first user account, a pre-configured task configuration file is acquired; the task configuration file comprises task execution logics corresponding to a plurality of parallel interactive activities, and the interactive activities are isolated from each other.
In step S220, a target task type corresponding to the task execution operation is determined according to the task configuration file.
In step S230, a target execution logic matching the target task type is determined from the task profile.
In step S240, the execution target execution logic is triggered to obtain a task execution result of the task execution operation.
According to the task processing method in the present exemplary embodiment, on one hand, a task configuration file is generated in a pre-configured manner, and a first user task scheme supporting multiple parallel interactive activities can be implemented through configuration operations. On the other hand, different interactive activities can be configured in an isolation mode through the task configuration file, and service isolation and resource isolation among a plurality of parallel interactive activities are effectively achieved.
Next, a task processing method in the present exemplary embodiment will be further described.
In step S210, in response to a task execution operation of the first user account, a pre-configured task configuration file is acquired; the task configuration file comprises task execution logics corresponding to a plurality of parallel interactive activities, and the interactive activities are isolated from each other.
In some exemplary embodiments of the present disclosure, the first user account may be a user account corresponding to the first user. The first user may be an executing user of the task performing operation. In a live webcast scenario, the first user may be a viewer in a live webcast platform, e.g., the first user may be a viewer participating in a live interaction during a live process. The task execution operation may be a related operation performed by the first user account for an interactive activity promoted in the network platform. The task configuration file may be a configuration file containing task execution logic corresponding to the interactive activity. The interactive activity may be an activity set in the network platform for determining to send a virtual reward to the first user account according to an interactive behavior between the first user account and the platform. The first user task may be an interactive task that the first user account defined in the interactive activity may operate. The task execution logic may be execution logic employed in executing different first user tasks. The task resource may be various resources used in the task execution process of the first user, for example, the task resource may include a network resource, a database resource, and the like.
In a live network scenario, the first user account may perform various first user tasks, such as an attention task and a gift-giving task in fig. 1, through a live network platform. In online shopping, the first user task may include a browsing item information task, an attention store task, and the like. Taking a live network scene as an example, when the live network platform receives the task execution operation, the live network platform responds to the received task execution operation and acquires a pre-configured task configuration file. The task configuration file can be a file generated by a developer of the network live broadcast platform according to the configuration of the execution process of the interactive activity.
Those skilled in the art will readily appreciate that the task processing method in the present disclosure may be applied to various different application scenarios and application platforms, such as a live webcast scenario, a shopping webcast scenario, a video platform, and the like, and the present disclosure does not make any special limitation on the specific application scenarios and application platforms. The application will take a live webcast scene as an example, and a task processing method in the disclosure will be described in detail.
The task configuration file comprises task execution logic of various task execution operations performed by the first user account. Because in the network live broadcast platform, a plurality of parallel interactive activities can be simultaneously carried out in the same time period, for example, the live broadcast platform can simultaneously carry out the 'goddess' activity and the 'fitness court' activity, and other time-limited interactive activities which are simultaneously carried out. At this time, the task configuration file simultaneously contains the task execution logic corresponding to the parallel interaction activities; and the task resources between the task execution logics corresponding to the parallel interaction activities in the task configuration file are mutually isolated. The specific generation process of the task configuration file may be performed by the following process.
In an exemplary embodiment of the present disclosure, candidate activity information corresponding to each of a plurality of candidate interactive activities is determined, and a master configuration activity list is generated based on the plurality of candidate activity information; determining a first user task set corresponding to each candidate interaction activity, wherein each first user task set comprises at least one first user task; receiving file configuration operation aiming at a plurality of candidate interactive activities, and generating resource configuration information corresponding to each candidate interactive activity; the resource configuration information is used for carrying out resource isolation on a plurality of parallel candidate interaction activities; and determining task execution logic corresponding to each first user task, and generating a task configuration file according to the main configuration activity list, the task execution logic and the resource configuration information.
The candidate interactive activities may be interactive activities set by each platform according to interactive demands at different periods, for example, the candidate interactive activities may be interactive activities set based on live demands at different periods in live webcasting, and a plurality of parallel candidate interactive activities may be set in a certain live webcasting period. The candidate activity information may be all relevant information of the candidate interactive activity, for example, the candidate activity information may include an activity name, an activity period, and the like of the candidate interactive activity. The master configuration activity list may be a configuration list comprising a plurality of concurrent interactive activities. The first set of user tasks may be a set of first user tasks involved in a candidate interactive activity. The first user task may be an interactive task that is preset in the live webcast and is required to be completed by the first user. The file configuration operation may be a configuration operation performed by a developer for configuration information of the candidate interactive activity. The resource configuration information may be related configuration information corresponding to the first user task when the first user task uses the service resource in the execution process, and the resource configuration information is used for resource isolation of the plurality of first user tasks.
The network live broadcast platform can determine a plurality of candidate interaction activities in the live broadcast process, for example, the candidate interaction activities currently performed by the network live broadcast platform include candidate interaction activity 1, candidate interaction activity 2, \8230andcandidate interaction activity n. For each candidate interactive activity, candidate activity information for the candidate interactive activity may be determined, for example, each candidate interactive activity may include an activity period (i.e., from an activity start time to an activity end time), an activity identification (e.g., an activity name or an activity ID), and the like. For example, the task configuration file may include a main configuration part live.
{ "biz": "biz 1",// candidate interaction Activity 1
"efficientTimeIntervals'": [ "20211009120000-20230101120000" ]// effective time },
{ "biz": "biz 2",// candidate Interactive Activity 2
"efficientTimeIntervals":["20220219000000-20220227120000"]},
{ "biz": "biz 3",// candidate Interactive Activity 3
"efficientTimeIntervals":["20220223000000-20220309000000"]},
The biz can represent an activity identifier corresponding to the candidate interactive activity, and the activity identifier is used for uniquely distinguishing a certain candidate interactive activity; the effective time may be used to indicate an activity period for which the candidate interactive activity lasts.
And after all candidate interactive activities are determined, configuring a plurality of sub-items of the candidate interactive activities to realize a first user task scheme of parallel multi-activity. Specifically, for each candidate interactive activity, a first set of user tasks included in the candidate interactive activity may be determined. Taking candidate interaction activity 1 as an example, the first user task set corresponding to candidate interaction activity 1 may include first user task 1, first user task 2, \ 8230, first user task m and other m first user tasks. The method comprises the steps that a developer can perform file configuration operation on a plurality of candidate interactive activities needing to be parallel in a live broadcast platform, resource configuration information corresponding to the plurality of parallel candidate interactive activities is generated, and the generated resource configuration information can perform resource isolation on the plurality of candidate interactive activities.
In addition, after a plurality of candidate interactive activities which need to be parallel are determined, a first user task under each candidate interactive activity and a task execution logic corresponding to each first user task can be determined, and the task execution logic can be used for determining a corresponding task execution result according to the task execution logic when the live broadcast platform receives related task execution operation. Specifically, the task execution logic may include: the content of activity type (typeKey), activity name (name), activity description (description), display text of various page controls in the operation process of a first user task, and the like; the method can also comprise recommendation strategy information (recoService) corresponding to the first user task; it may also include task counting logic after completing a certain task operation, and processing logic for issuing a task reward. Wherein typeKey can represent task type, for example sendGift can represent the task of delivering active gifts. Taking the first user task in the candidate interactive activity 1 (biz 1) as an example for illustration, the candidate interactive activity 1 may include an attention task and a gift sending task (sendGift), and thus, task execution logic of the attention task and the gift sending task may be determined separately.
After determining the candidate activity information, the task execution logic, and the resource configuration information, a task configuration file for supporting a plurality of parallel interaction activities may be generated based on the above. Through a file configuration mode, if other parallel activities are newly added in the live broadcast platform, a first user task scheme supporting a plurality of parallel activities can be realized only through configuration operation, almost re-development is needed, the development efficiency is improved, and redundant codes are reduced.
Further, in some other scenarios of this embodiment, if a new interactive activity is started in the live webcast platform, and if no new task execution logic is generated in the newly added interactive activity, the first user task module of the interactive activity may be generated through a simple configuration operation, so that the development efficiency may be effectively improved.
In an exemplary embodiment of the disclosure, interactive activities to be isolated are determined based on a master configuration activity list, and activity identifiers corresponding to the interactive activities to be isolated are obtained; and receiving file configuration operation performed on each interactive activity to be isolated, and generating resource configuration information by combining the activity identification.
The interactive activity to be isolated may be an interactive activity requiring resource isolation configuration. The activity identifier may be an identifier used for distinguishing different interactive activities, and each interactive activity corresponds to a unique activity identifier. The file configuration operation may be a configuration operation performed by a developer in a corresponding configuration file based on the activity identification.
When the live broadcast platform server receives the file configuration operation of a developer, a plurality of candidate interactive activities needing to be processed in parallel are determined from the plurality of candidate interactive activities based on the file configuration operation of the developer and are used as the interactive activities to be isolated. The file configuration operation includes a configuration operation to configure a file name. After determining the interactive activity to be isolated, the name of the configuration file corresponding to the interactive activity to be isolated can be determined. The configuration file name can be determined based on the main configuration name template and the activity identification, the activity identification corresponding to the interactive activity to be isolated, namely biz 1/2/\ 8230, can be obtained from the candidate activity information, and/n can be the activity identification corresponding to each interactive activity to be isolated. For example, the style of the profile name may be live.
After the configuration file name is determined, a file configuration operation may be performed for each interactive activity to be isolated, for example, in the configuration process, multiple parallel interactive activities to be isolated may all be configured as resource isolation and service isolation. The file configuration operation may be performed through an isolation field, which specifically includes: "redisConfig": "LiveActivitSupport", "resource isolation redis cluster". "redisConfig" may be used to indicate dependent resource isolation, preventing resources from affecting each other. After the file configuration operation is completed, corresponding resource configuration information may be generated. Therefore, through the configuration mode, service isolation, resource isolation and the like can be realized by using a mode of biz splicing activity main configuration names, for example, a plurality of parallel interactive activities are respectively isolated in different redis databases, so that the interactive activities isolated from each other can respectively use different resources in the implementation process.
In an exemplary embodiment of the disclosure, a candidate recommendation policy set corresponding to a first user task is determined; the candidate recommendation strategy set comprises one or more candidate recommendation strategies and recommendation strategy information of each candidate recommendation strategy; selecting a candidate recommendation strategy from the candidate recommendation strategy set as an initial recommendation strategy, and generating initial recommendation strategy information of the initial recommendation strategy; generating a task execution logic according to the initial recommendation strategy information; the initial recommendation policy information is used to invoke an initial recommendation policy.
The candidate recommendation policy set may be a set composed of preconfigured candidate recommendation policies. The candidate recommendation policies may be pre-configured policies for making anchor recommendations. The recommendation strategy information may be related information corresponding to the candidate recommendation strategy, and the corresponding candidate recommendation strategy may be called through the recommendation strategy information in the task configuration file. The initial recommendation policy may be a policy pre-configured in the task profile for anchor recommendation. The initial recommendation policy information may be related information corresponding to the initial recommendation policy.
When judging whether certain first user tasks are completed or not, a specific anchor needs to be linked for judgment, and anchor recommendation is linked with the task recording progress of the first user account so as to determine a task execution result. The task execution logic of the first user task generally includes a second user recommendation policy corresponding thereto, and this embodiment is mainly described by a process of determining the second user recommendation policy corresponding to the first user task. When determining the second user recommendation strategy, determining a candidate recommendation strategy set corresponding to the first user task; the set of candidate recommendation policies typically includes one or more candidate recommendation policies, and recommendation policy information for each candidate recommendation policy. The recommendation policy information mainly contains interface information that can invoke these candidate recommendation policies.
For example, the candidate recommendation strategy may include determining the anchor needing to be recommended from a fixed anchor list; the method also can comprise the steps of obtaining a anchor of topN from a certain list as the anchor needing to be recommended, and also can pre-configure an anchor white list to determine the anchor in the anchor white list as the anchor needing to be recommended; the anchor who has completed the assigned breading task can also be taken as the anchor that needs to be recommended. In addition, in some other second user recommendation strategies, a certain number of anchor broadcasters can be randomly selected from the live broadcast square as the anchor broadcasters to be recommended. In this embodiment, the specific manner of the candidate recommendation policy is not limited in any way.
Selecting a candidate recommendation strategy from the candidate recommendation strategy set as an initial recommendation strategy, and generating initial recommendation strategy information of the initial recommendation strategy; generating a task execution logic according to the initial recommendation strategy information; the initial recommendation policy information is used to invoke an initial recommendation policy. For the first user task, one candidate recommendation strategy can be selected from the candidate recommendation strategy set to serve as an initial recommendation strategy corresponding to the first user task, and initial recommendation strategy information corresponding to the initial recommendation strategy is configured in the task configuration file, so that in the task execution process, the corresponding initial recommendation strategy can be called through the initial recommendation strategy information.
In an exemplary embodiment of the present disclosure, in response to an update operation for the initial recommendation policy information, update recommendation policy information is obtained; and calling the corresponding update recommendation strategy based on the update recommendation strategy information so as to execute the update recommendation strategy through the task execution logic.
The update recommendation policy may be a recommendation policy determined after the initial policy information is updated.
During the activity period of the interactive activity, the recommendation strategy corresponding to the first user task will change correspondingly because the actual business requirement may change. In this case, according to the changed service requirement, the initial recommendation policy information in the task configuration file may be updated to generate corresponding updated recommendation policy information. Specifically, because the task configuration file is provided with a 'recorservice' configuration field, different recommendation strategies of different task types can be flexibly switched and configured by changing the value of the configuration field, so as to realize hot update of the recommendation strategies.
After the update recommendation strategy information is obtained, based on the update recommendation strategy information in the task configuration file, a corresponding update recommendation strategy can be called, and the update recommendation strategy is executed through the whole task execution logic.
In step S220, a target task type corresponding to the task execution operation is determined according to the task configuration file.
In some exemplary embodiments of the present disclosure, the target task type may be a specific type of the first user task corresponding to the task performing operation.
Referring to fig. 3, fig. 3 is a flowchart illustrating a task progress recording method according to an example embodiment. Taking a live webcast platform as an example, when a first user (i.e., a live audience) account performs various task execution operations through the live webcast platform, various task completion listeners in the live webcast platform monitor the task execution operations from the live audience in real time. For example, a live viewer can perform watching task operations, attention task operations, fan group task operations, and the like through a live webcasting platform. When monitoring a task execution operation, each task completion monitor generates a relevant execution parameter corresponding to the task execution operation; the execution parameters may include a task operation type, a viewer identifier, a second user identifier (anchor identifier), a task count (typically 1), and the like corresponding to the task execution operation. And matching the generated execution parameters with a first user task type configured in advance in the task configuration file, so as to determine a target task type corresponding to the first user task operation.
In an exemplary embodiment of the present disclosure, a target activity identifier and a task type identifier corresponding to a task execution operation are obtained; determining target interaction activities matched with the task execution operation from the routing configuration file according to the target activity identifiers; and determining a target task type matched with the task execution operation under the target interaction activity according to the task type identifier.
The target activity identifier may be a unique identifier of a target task corresponding to the task execution operation. The task type identification may be an identification employed to mark a specific type of the target task. The routing profile may be a profile employed to match a target activity and task type corresponding to the task execution operation. The target activity may be an interactive activity that matches the task execution operation. The target task type may be a specific type of a target task corresponding to the task execution operation.
And after the task completion monitor generates execution parameters, acquiring a target activity identifier and a task type identifier corresponding to the task execution operation from the execution parameters. With continued reference to fig. 3, since the task configuration file may include a routing configuration file, according to the target activity identifier, a target activity matching the task execution operation may be determined from the routing configuration file, for example, a biz matching the task execution operation may be determined from the task configuration file. After the matched target activity is determined, task type (typeKey) matching operation can be further executed, and the target task type matched with the task execution operation can be determined according to the task type identifier.
In step S230, a target execution logic matching the target task type is determined from the task profile.
In some exemplary embodiments of the present disclosure, the target execution logic may be execution logic employed to process task execution operations for the first user account.
After the target task type matched with the task execution operation is determined, the target execution logic matched with the target task type can be obtained from the task configuration file. For example, when the first user account performs a task operation of focusing attention on one candidate interactive activity 1, the matched target task type may be "SendGift", a target execution logic corresponding to "SendGift" is obtained from the task configuration file, and the task execution operation is processed by using the target execution logic.
In an exemplary embodiment of the disclosure, determining a task filtering condition matched with a target task type according to a task configuration file; if the task execution operation does not need to be processed back to the source according to the task filtering condition, calling a target execution logic based on the task configuration file; if the fact that the task execution operation needs to be subjected to source returning processing is determined according to the task filtering condition, calling an execution source returning processing logic to obtain a source returning processing result; and calling the corresponding target execution logic according to the return source processing result.
The task filtering condition may be a specific condition adopted to filter and filter the task execution operation of the first user account. The back-source processing may be a processing procedure of further checking the task execution operation to determine whether a task completion condition is satisfied. The back source processing logic may be execution logic employed in performing back source processing. The back-source processing result may be a result obtained after the back-source processing is performed.
With continued reference to fig. 3, when the task execution logic is used to process the task execution operation, the task filtering condition matching the target task type may be determined from the task configuration file, that is, the configuration is obtained and then filtering is performed. For example, the task filter condition may include a time interval filter condition, a anchor filter condition, a viewer filter condition, and a judgment condition whether the task is completed. The time interval filter condition may be used to determine whether the task execution operation is within a valid time interval. The anchor filter condition may be used to determine whether the anchor acted on by the task execution operation is a specified anchor. The audience filtering condition may be used to determine whether the user account is a user account that satisfies the task execution condition, for example, an audience with a certain user level may be required to perform a certain task.
Since some task execution operations may depend on a particular anchor, the anchor recommended by the live webcast platform is mainly presented by the second user recommendation list. In this case, it can be determined whether the task execution operation requires the back source processing by the task filter condition. If the task execution operation does not need to be processed back to the source according to the task filtering condition, the target execution logic corresponding to the task execution operation can be called from the task configuration file so as to process the task execution operation. For example, when the audience completes the task execution operation, a virtual reward, such as a virtual coin, may be directly issued to the account number of the first user account.
If the fact that the task execution operation needs to be subjected to source returning processing is determined according to the task filtering condition, the execution source returning processing logic is called, source returning processing and checking are carried out through the source returning processing logic, and a corresponding source returning processing result is obtained. After the return source processing result is obtained, the corresponding target execution logic can be called to process the task execution operation. Through the processing procedure, the whole processing procedure of the task execution operation can be completed.
In an exemplary embodiment of the disclosure, a second user account corresponding to a task execution operation is determined, and a second user recommendation list matched with the task execution operation is obtained; if the second user account is determined to be in the second user recommendation list, determining the relevance of the task operation of the first user account in a preset time interval and the second user account; the second user account is of a different user type than the first user account; and if the task operation of the first user account in the preset time interval is not associated with the second user account, generating a trigger instruction of the target execution logic.
The second user account may be a user account related to the task execution operation, for example, in a live webcast scenario, the second user account may be a main webcast account corresponding to the task execution operation. The second user account is different from the first user account in user type, for example, the first user account is a live audience, the second user account is a main broadcast in a live platform, the first user and the second user use different user operation interfaces to perform different user operations, and the second user account cannot perform task execution operation performed by the first user account. The second user recommendation list may be a recommendation list consisting of all the anchor recommendations to the viewer of the first user account.
The specific process of performing source return processing on the task execution operation is as follows: when a task execution operation of a first user account involves a certain main broadcast, an account number of the main broadcast may be determined as a second user account number corresponding to the task execution operation. And acquiring a second user recommendation list (namely a recommendation pool snapshot) corresponding to the task execution operation, wherein the second user recommendation list can be used for determining whether the current task execution operation is valid, and the task execution operation of the first user account is considered to be valid only if the second user account is in the second user recommendation list.
And determining whether the second user account is the anchor account in the second user recommendation list, and if the second user account is in the second user recommendation list, determining whether the task operation of the first user account in the preset event interval is associated with the second user. For example, it may be obtained whether the first user account has performed similar task operations with respect to the second user account at the current time point from 00.
If the first user account has performed similar task operations for the anchor within a specified time interval, the current task execution operation of the first user account is considered invalid, and a task reward cannot be issued for the first user account. If the first user account does not perform similar task operations on the anchor within a specified time interval, the first user account may be considered to successfully complete the current task execution operation, so that a trigger instruction of the target execution logic may be generated, and the target execution logic is called by the trigger instruction to perform subsequent processing on the task execution operation. The validity of the task execution operation can be further checked by the back source processing procedure.
In an exemplary embodiment of the disclosure, a recommendation scheme identifier corresponding to a task execution operation is acquired, and a matched second user recommendation strategy is called based on the recommendation scheme identifier; and determining a first number of candidate second user accounts according to a second user recommendation strategy, and generating a second user recommendation list based on the first number of candidate second user accounts.
The recommendation scheme identifier may be a scheme identifier used for determining the second user recommendation policy. The second user recommendation policy may be a specific policy employed for making the anchor recommendation. The first amount may be a specific value that is preset. The candidate second user account may be an anchor contained in the second user recommendation list.
The second user recommendation list obtained may be performed by the following procedure. Referring to fig. 4, fig. 4 is a flow diagram illustrating a method for recommending a second user account, according to an example embodiment. When a first user account finishes the click operation of recommending a second user (anchor) account, a network live broadcast platform responds to the click operation of the first user account to generate an operation parameter corresponding to the click operation of the first user account; the operation parameters may include a target activity identifier and a target task type corresponding to a click operation of the first user account. After the target activity identifier and the target task type are obtained, the processing process of matching the activity and the task type can be carried out according to the routing configuration file, and the task type matched with the clicking operation is determined.
According to the determined task type, the corresponding recommended scheme identifier can be obtained from the task execution logic corresponding to the task type. And calling a second user recommendation strategy corresponding to the recommendation scheme identifier according to the recommendation scheme identifier, for example, configuring various personalized filtering recommendation strategies in a network live broadcast platform in advance, namely a second user recommendation strategy set. The corresponding second user recommendation policy may be called from the second user recommendation policy set according to the recommendation scheme identifier, and a first number of candidate second user accounts may be determined through the second user recommendation policy, for example, the first number may be 5, 10, 20, and the like. After determining the first number of candidate second user accounts, a corresponding second user recommendation list may be generated.
In addition, in some scenarios, a first number of candidate second user accounts cannot be determined by using a preconfigured personalized second user recommendation policy, at this time, anchor recommendation may be performed by using a default second user recommendation policy configured in a live broadcast platform, for example, a certain number of anchor may be directly obtained from a live broadcast square as candidate second user accounts to obtain a first number of candidate second user accounts, and a corresponding second user recommendation list is generated. After generating the second user recommendation list, the second user recommendation list may be recorded in redis configured by the activity dimension (i.e., a recommendation snapshot).
In step S240, the execution target execution logic is triggered to obtain a task execution result of the task execution operation.
In some exemplary embodiments of the present disclosure, the task execution result may be a specific result obtained after a response process is performed on the task execution operation.
When the task execution operation is processed, the obtained target execution logic can be triggered to be executed, the processing process related to the task execution operation is carried out, and the corresponding task execution result is obtained. For example, the target execution logic may be configured to execute issuing of the activity reward, and related operations such as task counting and database counting after the activity reward is issued, and may also be configured to determine various types of prompt information displayed to the audience of the first user account through the network live broadcast platform after the task execution operation of the first user account is completed.
In an exemplary embodiment of the disclosure, in response to a trigger instruction of a target execution logic, acquiring a current task number corresponding to a first user account; acquiring a quantity threshold value, and if the current task quantity is less than or equal to the quantity threshold value, sending a task reward to the first user account; and updating the current task quantity to obtain a task execution result.
The current task number may be the number of tasks currently completed by the first user account. The quantity threshold may be a specific value that is compared to the current number of tasks. The task reward may be a virtual reward obtained after the first user account completes a task execution operation meeting the condition.
When the task execution operation of the first user account is determined to be valid, a trigger instruction of the target execution logic may be acquired. Responding to the trigger instruction, acquiring the current task quantity corresponding to the first user account, namely the current task operation times of the first user account, and storing the current task quantity in a pre-configured redis database; the redis database is a database which performs business isolation by taking activities as dimensions. And performing number overflow check on the current task number, acquiring a preset number threshold value, and comparing the current task number with the acquired number threshold value. If the current task number is less than or equal to the number threshold, the task execution operation of the first user account in the specified time interval is considered not to exceed the operation number upper limit, and the task execution operation is effective, so that the task reward can be sent to the first user account. Meanwhile, in the process of issuing the task rewards, a single machine blocking type current limiting mode can be adopted to prevent the workflow of task rewards issuing operation. After the task reward is issued, prompt information (such as toast information) can be issued to the audience terminal of the first user account at the same time, and the current task number is updated, generally, the current task number is added by 1 to mark the end of the task execution operation process, so as to obtain a final task execution result.
The task processing method disclosed by the invention is used for responding to the task execution operation of the first user account and acquiring a pre-configured task configuration file; the task configuration file comprises task execution logics corresponding to a plurality of parallel interactive activities, and the interactive activities are isolated from each other; determining a target task type corresponding to task execution operation according to the task configuration file; determining target execution logic matched with the target task type from the task configuration file; and triggering the execution target execution logic to obtain a task execution result of the task execution operation. On one hand, a task configuration file is generated in a pre-configuration mode, and a first user task scheme supporting a plurality of parallel interaction activities can be realized through configuration operation. On the other hand, different interactive activities can be configured in an isolation mode through the task configuration file, and service isolation and resource isolation among a plurality of parallel interactive activities are effectively achieved. In yet another aspect, a hot update of a recommended policy may be implemented by updating recommended policy information in a task profile. On the other hand, as the task logic under different interactive activities can be completed through configuration, when no additional special execution logic is added in the newly added interactive activity, a new first user task scheme can be generated through simple configuration.
FIG. 5 is a block diagram illustrating a task processing device according to an example embodiment. Referring to fig. 5, the task processing device 500 includes a configuration file acquiring module 510, a task type determining module 520, an execution logic determining module 530, and a task executing module 540.
Specifically, the configuration file obtaining module 510 is configured to execute a task execution operation in response to the first user account, and obtain a pre-configured task configuration file; the task configuration file comprises task execution logics corresponding to a plurality of parallel interactive activities, and the interactive activities are isolated from each other; a task type determining module 520 configured to determine a target task type corresponding to a task execution operation according to the task configuration file; an execution logic determination module 530 configured to execute target execution logic determined from the task profile to match the target task type; and the task execution module 540 is configured to execute the execution triggering target execution logic to obtain a task execution result of the task execution operation.
In an exemplary embodiment of the present disclosure, the task processing apparatus further includes a configuration file generation module configured to perform: determining candidate activity information corresponding to the candidate interaction activities, and generating a main configuration activity list based on the candidate activity information; determining a first user task set corresponding to each candidate interactive activity, wherein each first user task set comprises at least one first user task; receiving file configuration operation aiming at a plurality of candidate interactive activities, and generating resource configuration information corresponding to each candidate interactive activity; the resource configuration information is used for carrying out resource isolation on a plurality of parallel candidate interaction activities; and determining task execution logic corresponding to each first user task, and generating a task configuration file according to the main configuration activity list, the task execution logic and the resource configuration information.
In an exemplary embodiment of the present disclosure, the configuration file generation module further includes a configuration information generation unit configured to perform: determining a plurality of interactive activities to be isolated based on the main configuration activity list, and acquiring an activity identifier corresponding to each interactive activity to be isolated; and receiving file configuration operation performed on each interactive activity to be isolated, and generating resource configuration information by combining the activity identification.
In an exemplary embodiment of the present disclosure, the task execution logic includes an initial recommendation policy; the configuration file generation module further comprises an execution logic determination unit configured to perform: determining a candidate recommendation strategy set corresponding to a first user task; the candidate recommendation strategy set comprises one or more candidate recommendation strategies and recommendation strategy information of each candidate recommendation strategy; selecting a candidate recommendation strategy from the candidate recommendation strategy set as an initial recommendation strategy, and generating initial recommendation strategy information of the initial recommendation strategy; generating a task execution logic according to the initial recommendation strategy information; the initial recommendation policy information is used to invoke an initial recommendation policy.
In an exemplary embodiment of the present disclosure, the task processing device further includes a recommendation policy updating module configured to perform: responding to the updating operation aiming at the initial recommendation strategy information to obtain the updated recommendation strategy information; and calling the corresponding update recommendation strategy based on the update recommendation strategy information so as to execute the update recommendation strategy through the task execution logic.
In an exemplary embodiment of the present disclosure, the task configuration file includes a routing configuration file, the task type determination module includes a task type determination unit configured to perform: acquiring a target activity identifier and a task type identifier corresponding to task execution operation; determining target interaction activity matched with the task execution operation from the routing configuration file according to the target activity identification; and determining a target task type matched with the task execution operation under the target interaction activity according to the task type identifier.
In an exemplary embodiment of the present disclosure, the execution logic determination module includes an execution logic determination unit configured to perform: determining a task filtering condition matched with the target task type according to the task configuration file; if the task execution operation does not need to be processed back to the source according to the task filtering condition, calling a target execution logic based on the task configuration file; if the fact that the task execution operation needs to be subjected to source returning processing is determined according to the task filtering condition, calling an execution source returning processing logic to obtain a source returning processing result; and calling the corresponding target execution logic according to the return source processing result.
In an exemplary embodiment of the present disclosure, the execution logic determination unit includes a back-to-source processing subunit configured to perform: determining a second user account corresponding to the task execution operation, and acquiring a second user recommendation list matched with the task execution operation; if the second user account is determined to be in the second user recommendation list, determining the relevance of the task operation of the first user account in a preset time interval and the second user account; and if the task operation of the first user account in the preset time interval is not associated with the second user account, generating a trigger instruction of the target execution logic.
In an exemplary embodiment of the present disclosure, the execution logic determination unit further includes a list generation subunit configured to perform: acquiring a recommendation scheme identifier corresponding to the task execution operation, and calling a matched second user recommendation strategy based on the recommendation scheme identifier; and determining a first number of candidate second user accounts according to the second user recommendation strategy, and generating a second user recommendation list based on the first number of candidate second user accounts.
In an exemplary embodiment of the present disclosure, the task execution module includes a task execution unit configured to perform: responding to a trigger instruction of the target execution logic, and acquiring the current task quantity corresponding to the first user account; acquiring a quantity threshold value, and if the current task quantity is less than or equal to the quantity threshold value, sending a task reward to the first user account; and updating the current task quantity to obtain a task execution result.
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.
An electronic device 600 according to such an embodiment of the disclosure is described below with reference to fig. 6. The electronic device 600 shown in fig. 6 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: the at least one processing unit 610, the at least one memory unit 620, a bus 630 connecting different system components (including the memory unit 620 and the processing unit 610), and a display unit 640.
Wherein the memory unit stores program code that may be executed by the processing unit 610 to cause the processing unit 610 to perform steps according to various exemplary embodiments of the present disclosure as described in the "exemplary methods" section above in this specification.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 621 and/or a cache memory unit 622, and may further include a read-only memory unit (ROM) 623.
The storage unit 620 may include a program/utility 624 having a set (at least one) of program modules 625, such program modules 625 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment.
Bus 630 may represent one or more of any of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 670 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. As shown, the network adapter 660 communicates with the other modules of the electronic device 600 over the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others. In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of an apparatus to perform the above-described task processing method is also provided. 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 an exemplary embodiment, there is also provided a computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the task processing method of any one of the above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This 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 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 (10)

1. A task processing method, comprising:
responding to task execution operation of a first user account, and acquiring a pre-configured task configuration file; the task configuration file comprises task execution logics corresponding to a plurality of parallel interactive activities, and the interactive activities are isolated from each other;
determining a target task type corresponding to the task execution operation according to the task configuration file;
determining target execution logic matched with the target task type from the task configuration file;
and triggering and executing the target execution logic to obtain a task execution result of the task execution operation.
2. The method of claim 1, further comprising:
determining candidate activity information corresponding to a plurality of candidate interactive activities, and generating a main configuration activity list based on the candidate activity information;
determining a first user task set corresponding to each candidate interactive activity, wherein each first user task set comprises at least one first user task;
receiving file configuration operation aiming at a plurality of candidate interactive activities, and generating resource configuration information corresponding to each candidate interactive activity; the resource configuration information is used for carrying out resource isolation on a plurality of parallel candidate interaction activities;
and determining task execution logic corresponding to each first user task, and generating the task configuration file according to the main configuration activity list, the task execution logic and the resource configuration information.
3. The method of claim 2, wherein the task execution logic comprises an initial recommendation policy; the determining task execution logic corresponding to each first user task includes:
determining a candidate recommendation strategy set corresponding to the first user task; the candidate recommendation strategy set comprises one or more candidate recommendation strategies and recommendation strategy information of each candidate recommendation strategy;
selecting one candidate recommendation strategy from the candidate recommendation strategy set as an initial recommendation strategy, and generating initial recommendation strategy information of the initial recommendation strategy;
generating the task execution logic according to the initial recommendation strategy information; the initial recommendation strategy information is used for calling the initial recommendation strategy.
4. The method according to claim 1, wherein the task configuration file comprises a routing configuration file, and the determining a target task type corresponding to the task execution operation according to the task configuration file comprises:
acquiring a target activity identifier and a task type identifier corresponding to the task execution operation;
determining target interaction activities matched with the task execution operations from the routing configuration file according to the target activity identifiers;
and determining the target task type matched with the task execution operation under the target interaction activity according to the task type identifier.
5. The method of claim 1, wherein determining the target execution logic from the task profile that matches the target task type comprises:
determining a task filtering condition matched with the target task type according to the task configuration file;
if the task execution operation does not need to be processed back to the source according to the task filtering condition, calling the target execution logic based on the task configuration file;
if the fact that the task execution operation needs to be subjected to source returning processing is determined according to the task filtering condition, calling execution source returning processing logic to obtain a source returning processing result;
and calling a corresponding target execution logic according to the return source processing result.
6. The method of claim 1, wherein triggering execution of the target execution logic to obtain a task execution result of the task execution operation comprises:
responding to a trigger instruction of the target execution logic, and acquiring the current task quantity corresponding to the first user account;
acquiring a quantity threshold value, and if the current task quantity is less than or equal to the quantity threshold value, sending a task reward to the first user account;
and updating the current task quantity to obtain the task execution result.
7. A task processing apparatus, characterized by comprising:
the configuration file acquisition module is configured to execute task execution operation responding to the first user account and acquire a pre-configured task configuration file; the task configuration file comprises task execution logics corresponding to a plurality of parallel interactive activities, and the interactive activities are isolated from each other;
the task type determining module is configured to determine a target task type corresponding to the task execution operation according to the task configuration file;
an execution logic determination module configured to execute target execution logic determined from the task profile to match the target task type;
and the task execution module is configured to execute the target execution logic in a triggering mode so as to obtain a task execution result of the task execution operation.
8. 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 task processing method of any one of claims 1 to 6.
9. A computer-readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the task processing method of any one of claims 1 to 6.
10. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the task processing method of any of claims 1 to 6.
CN202210800280.9A 2022-07-06 2022-07-06 Task processing method and device, electronic equipment, storage medium and program product Active CN115297336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210800280.9A CN115297336B (en) 2022-07-06 2022-07-06 Task processing method and device, electronic equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210800280.9A CN115297336B (en) 2022-07-06 2022-07-06 Task processing method and device, electronic equipment, storage medium and program product

Publications (2)

Publication Number Publication Date
CN115297336A true CN115297336A (en) 2022-11-04
CN115297336B CN115297336B (en) 2024-03-19

Family

ID=83821616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210800280.9A Active CN115297336B (en) 2022-07-06 2022-07-06 Task processing method and device, electronic equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN115297336B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683692A (en) * 2018-03-16 2018-10-19 阿里巴巴集团控股有限公司 A kind of service request processing method and device
CN110995781A (en) * 2019-11-01 2020-04-10 腾讯科技(深圳)有限公司 Praise information processing method, device and system
CN111858125A (en) * 2020-07-31 2020-10-30 中国工商银行股份有限公司 Task processing method and device, electronic equipment and readable storage medium
CN112306685A (en) * 2020-10-29 2021-02-02 北京字节跳动网络技术有限公司 Task isolation method and device, electronic equipment and computer readable medium
CN112306715A (en) * 2020-10-30 2021-02-02 北京字节跳动网络技术有限公司 Event processing method and device
CN113238849A (en) * 2021-05-31 2021-08-10 杭州网易云音乐科技有限公司 Timed task processing method and device, storage medium and electronic equipment
CN114047918A (en) * 2021-11-01 2022-02-15 腾讯科技(深圳)有限公司 Task processing method, device, equipment, storage medium and product
US20220159315A1 (en) * 2020-04-03 2022-05-19 Beijing Dajia Internet Information Technology Co., Ltd. Method, apparatus and system for configuring live stream task goal
CN114547523A (en) * 2022-03-01 2022-05-27 百果园技术(新加坡)有限公司 Method, device, equipment and storage medium for performing activity navigation in live broadcast room

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683692A (en) * 2018-03-16 2018-10-19 阿里巴巴集团控股有限公司 A kind of service request processing method and device
CN110995781A (en) * 2019-11-01 2020-04-10 腾讯科技(深圳)有限公司 Praise information processing method, device and system
US20220159315A1 (en) * 2020-04-03 2022-05-19 Beijing Dajia Internet Information Technology Co., Ltd. Method, apparatus and system for configuring live stream task goal
CN111858125A (en) * 2020-07-31 2020-10-30 中国工商银行股份有限公司 Task processing method and device, electronic equipment and readable storage medium
CN112306685A (en) * 2020-10-29 2021-02-02 北京字节跳动网络技术有限公司 Task isolation method and device, electronic equipment and computer readable medium
CN112306715A (en) * 2020-10-30 2021-02-02 北京字节跳动网络技术有限公司 Event processing method and device
CN113238849A (en) * 2021-05-31 2021-08-10 杭州网易云音乐科技有限公司 Timed task processing method and device, storage medium and electronic equipment
CN114047918A (en) * 2021-11-01 2022-02-15 腾讯科技(深圳)有限公司 Task processing method, device, equipment, storage medium and product
CN114547523A (en) * 2022-03-01 2022-05-27 百果园技术(新加坡)有限公司 Method, device, equipment and storage medium for performing activity navigation in live broadcast room

Also Published As

Publication number Publication date
CN115297336B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
CN107066272B (en) Page updating method and device
JP6293269B2 (en) Content viewing confirmation apparatus and method
CN103841134B (en) Based on API transmission, the method for receive information, apparatus and system
CN110830735B (en) Video generation method and device, computer equipment and storage medium
CN113835777B (en) Mobile application activity detector
US20120116751A1 (en) Providing message text translations
US20160132314A1 (en) Remote configuration management of applications
CN102971705A (en) Applications including multiple experience modules
CN102077233A (en) Extended user profile
WO2011058757A1 (en) Data entry system
WO2007132677A1 (en) Service providing device
JP2023516801A (en) Information recommendation method, device, electronic device and program
RU2498397C2 (en) System and method for efficient use of transport device in electronic network
US9065870B2 (en) Method and system for pairing a medium to a user account
CN109284154A (en) Desktop starter template renewal method and device, server and storage medium
WO2017165253A1 (en) Modular communications
CN115297336B (en) Task processing method and device, electronic equipment, storage medium and program product
US20220038444A1 (en) Cloud device, application processing method, electronic device and storage medium
CN113900764A (en) Page data acquisition method, page data display method and device
CN114217715A (en) Rich media playing page control method and device, electronic equipment and storage medium
JP2017021775A (en) System, method and program for distributing output screen of terminal device
JP2001331591A (en) Method and device for structuring scenario associtation type electronic commerce system
CN101836231A (en) Personalizable cards shared via a computerized card service
US20230237118A1 (en) Web page processing apparatus, web page processing method, and recording medium
US10346872B2 (en) System, method, and recording medium for splitting and merging advertisements to a plurality of devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant