CN115297336B - 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
CN115297336B
CN115297336B CN202210800280.9A CN202210800280A CN115297336B CN 115297336 B CN115297336 B CN 115297336B CN 202210800280 A CN202210800280 A CN 202210800280A CN 115297336 B CN115297336 B CN 115297336B
Authority
CN
China
Prior art keywords
task
user
candidate
target
activity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210800280.9A
Other languages
Chinese (zh)
Other versions
CN115297336A (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

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)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a task processing method, a task processing device, electronic equipment, a computer readable storage medium and a computer program product, and relates to the technical field of network live broadcasting. 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 logic corresponding to each of the plurality of parallel interaction activities, and the interaction 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 the execution target execution logic to obtain a task execution result of the task execution operation. The method and the device can be used for configuring the task implementation scheme of the first user account for generating a plurality of parallel interactive activities, and can realize business 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 network live broadcasting technology, and in particular, to a task processing method, a task processing device, an electronic device, a computer readable storage medium, and a computer program product.
Background
With the rapid development of network communication technology, network live broadcast becomes an emerging online interaction mode, and the network live broadcast is favored by more and more audiences due to the characteristics of real-time property, interactivity and the like. The first user task in the live campaigns may include a viewing task, a gifting task, etc. After the audience completes the attention task or the watching task, the audience needs to select the recommended anchor as a second user to complete the whole task flow.
However, existing live implementations do not support multi-activity parallelism, requiring different first user tasks to be completed according to different events, each activity requiring re-writing of independent implementation code; in addition, the existing live broadcast implementation scheme does not support flexible change of the second user recommendation strategy, the access mode of each task type is not uniform enough, and the function is not perfect enough.
Disclosure of Invention
The disclosure provides a task processing method, a task processing device, an electronic device, a computer readable storage medium and a computer program product, which are used for at least solving the problem that a first user task scheme supporting a plurality of parallel interaction activities cannot be realized in the related art. The technical scheme of the present disclosure is as follows:
According to a first aspect of an embodiment 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 logic corresponding to each of a plurality of parallel interaction activities, and the interaction 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 above method further includes: determining candidate activity information corresponding to each of a plurality of candidate interactive activities, and generating a main configuration activity list based on the plurality of candidate activity information; determining first user task sets respectively corresponding to the candidate interaction activities, wherein each first user task set comprises at least one first user task; receiving file configuration operations aiming at a plurality of candidate interaction activities, and generating resource configuration information corresponding to each candidate interaction activity; the resource allocation 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, generating resource configuration information corresponding to each candidate interactive activity, includes: determining a plurality of interaction activities to be isolated based on the main configuration activity list, and acquiring activity identifiers corresponding to the interaction activities to be isolated; and receiving file configuration operation for each interaction activity to be isolated, and generating resource configuration information by combining the activity identifiers.
In one 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 policy information is used for calling the initial recommendation policy.
In an exemplary embodiment of the present disclosure, the above method further includes: responding to the updating operation aiming at the initial recommendation strategy information to obtain the updating recommendation strategy information; and calling a corresponding update recommendation policy based on the update recommendation policy information to execute the update recommendation policy through the task execution logic.
In an exemplary embodiment of the present disclosure, the task configuration file includes a routing configuration file, and the determining, according to 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 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 identification.
In an exemplary embodiment of the disclosure, the determining, from the task profile, target execution logic that matches the target task type includes: determining task filtering conditions matched with the target task types according to the task configuration file; if the task execution operation is determined to be not required to be processed in a source returning mode according to the task filtering condition, invoking the target execution logic based on the task configuration file; if the task execution operation is determined to need to carry out the source return processing according to the task filtering condition, calling and executing a source return processing logic to obtain a source return processing result; and calling corresponding target execution logic according to the source return processing result.
In one exemplary embodiment of the present disclosure, the call execution back to the source processing logic comprises: 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 between 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.
In an exemplary embodiment of the disclosure, before the obtaining the second user recommendation list matched with 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 number corresponding to the first user account; acquiring a quantity threshold, and if the current task quantity is smaller than or equal to the quantity threshold, sending a task reward to the first user account; and updating the current task number 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 logic corresponding to each of a plurality of parallel interaction activities, and the interaction activities are isolated from each other; the task type determining module is configured to execute the task type corresponding to the task executing operation according to the task configuration file; an execution logic determination module configured to execute target execution logic that determines from the task profile that matches the target task type; and the task execution module is configured to execute the 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 device further includes a profile generation module configured to perform: determining candidate activity information corresponding to each of a plurality of candidate interactive activities, and generating a main configuration activity list based on the plurality of candidate activity information; determining first user task sets respectively corresponding to the candidate interaction activities, wherein each first user task set comprises at least one first user task; receiving file configuration operations aiming at a plurality of candidate interaction activities, and generating resource configuration information corresponding to each candidate interaction activity; the resource allocation 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 profile generation module further includes a configuration information generation unit configured to perform: determining a plurality of interaction activities to be isolated based on the main configuration activity list, and acquiring activity identifiers corresponding to the interaction activities to be isolated; and receiving file configuration operation for each interaction activity to be isolated, and generating resource configuration information by combining the activity identifiers.
In one exemplary embodiment of the present disclosure, the task execution logic includes an initial recommendation policy; the profile generation module further includes an execution logic determination unit configured to execute: 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 policy information is used for calling the initial recommendation policy.
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 the updating recommendation strategy information; and calling a corresponding update recommendation policy based on the update recommendation policy information to execute the update recommendation policy through the task execution logic.
In an exemplary embodiment of the present disclosure, the task profile includes a routing profile, and 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 activities 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 identification.
In one exemplary embodiment of the present disclosure, the execution logic determination module includes an execution logic determination unit configured to perform: determining task filtering conditions matched with the target task types according to the task configuration file; if the task execution operation is determined to be not required to be processed in a source returning mode according to the task filtering condition, invoking the target execution logic based on the task configuration file; if the task execution operation is determined to need to carry out the source return processing according to the task filtering condition, calling and executing a source return processing logic to obtain a source return processing result; and calling corresponding target execution logic according to the source return processing result.
In one exemplary embodiment of the present disclosure, the execution logic determination unit includes a back source processing subunit configured to execute: 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 between 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.
In an exemplary embodiment of the present disclosure, the execution logic determining unit further comprises a list generating 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 one exemplary embodiment of the present disclosure, the task execution module includes a task execution unit configured to execute: responding to a trigger instruction of the target execution logic, and acquiring the current task number corresponding to the first user account; acquiring a quantity threshold, and if the current task quantity is smaller than or equal to the quantity threshold, sending a task reward to the first user account; and updating the current task number 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 instructions to implement a task processing method as described in any one of the above.
According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform any one of the task processing methods described above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program/instruction, characterized in that the computer program/instruction, when executed by a processor, implements 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 the one hand, a task configuration file is generated in a pre-configured mode, and a first user task scheme supporting a plurality of parallel interaction activities can be realized through configuration operation. On the other hand, the isolation modes of different interaction activities can be configured through the task configuration file, so that service isolation and resource isolation among a plurality of parallel interaction activities are effectively realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is an interface schematic diagram of a first user task corresponding to a first user account in a live webcast scenario.
FIG. 2 is a flow chart 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 exemplary embodiment.
FIG. 4 is a flowchart illustrating a method of recommending a second user account according to an exemplary embodiment.
FIG. 5 is a block diagram of a task processing device, according to an example embodiment.
Fig. 6 schematically illustrates a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In the current network live solution, different audience tasks can be generally completed according to different events. Referring to fig. 1, fig. 1 is an interface schematic diagram of a viewer task corresponding to a viewer in a network live scenario. For example, the spectators may perform spectator tasks such as focusing on the anchor, delivering an active gift, drawing a magic box, etc., to obtain corresponding task rewards. However, webcasting requires re-writing of separate implementation code for each campaign while pushing out different live campaigns. For example, the current live activity is a "goddess festival" activity, and the next time it is changed to a "new in spring" activity, the logic implementation code needs to be rewritten. In addition, when the audience completes the task, it is common to employ a randomly drawn anchor in a fixed anchor pool as the target anchor implementation. Therefore, in the existing network live broadcast scheme, the audience task module capable of supporting a plurality of activities in parallel cannot be realized, and the implementation schemes of different activities are not universal, so that similar codes are required to be copied for each activity, and the problem of code redundancy is generated; in addition, existing live webcast schemes have little recommendation logic for the target anchor.
Based on this, according to an embodiment of the present disclosure, a task processing method, a task processing device, an electronic apparatus, a computer-readable storage medium, and a computer program product are proposed.
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 (Personal Digital Assistant, PDA), and a fixed terminal device such as a desktop computer. The present exemplary embodiment is illustrated with the method applied 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 implemented through interaction of the computer device and the server. The method specifically comprises the following steps.
In step S210, a task execution operation in response to the first user account is performed, and a pre-configured task configuration file is obtained; the task configuration file comprises task execution logic corresponding to each of the plurality of parallel interaction activities, and the interaction 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, 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 preconfigured manner, and a first user task scheme supporting multiple parallel interaction activities can be implemented through configuration operation. On the other hand, the isolation modes of different interaction activities can be configured through the task configuration file, so that service isolation and resource isolation among a plurality of parallel interaction activities are effectively realized.
Next, a task processing method in the present exemplary embodiment will be further described.
In step S210, a task execution operation in response to the first user account is performed, and a pre-configured task configuration file is obtained; the task configuration file comprises task execution logic corresponding to each of the plurality of parallel interaction activities, and the interaction 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 execution operation. In a webcast scenario, the first user may be a viewer in a webcast platform, e.g., the first user may be a viewer participating in a live interaction during a live broadcast. The task execution operation may be a related operation performed by the first user account for the interactive activity pushed in the network platform. The task profile may be a profile that contains task execution logic corresponding to the interactive activity. The interaction activity may be an activity set in the network platform to send a virtual reward to the first user account according to the interaction behavior of the first user account and the platform. The first user task may be an interactive task that may be operated by a first user account defined in the interactive activity. The task execution logic may be execution logic employed in performing the different first user tasks. The task resources may be various resources used in the execution process of the first user task, for example, the task resources may include network resources, database resources, and the like.
In a webcast scenario, the first user account may perform various first user tasks, such as the attention task, the gift task, etc. in fig. 1, through the webcast platform. In online shopping, the first user task may include a browse item information task, a pay attention to store task, and the like. Taking a live network scene as an example, when the live network platform receives the task execution operation, responding to the received task execution operation and acquiring a pre-configured task configuration file. The task configuration file may be a file configured by a developer of the network living broadcast platform according to an 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 a variety of different application scenarios and application platforms, such as a live webcast scenario, a shopping network scenario, an audio-visual platform, etc., and the present disclosure is not limited to any specific application scenario and application platform. The application will take a live network scenario as an example, and describe the task processing method in the present disclosure in detail.
The task configuration file contains task execution logic of various task execution operations performed by the first user account. Because in the network live platform, a plurality of parallel interaction activities can be performed simultaneously in the same time period, for example, a 'goddess festival' activity and a 'body building special field' activity can be performed simultaneously in the live platform, and other simultaneous time-limited interaction activities can be performed simultaneously. At this time, the task configuration file simultaneously contains task execution logic corresponding to each of the parallel interaction activities; and task resources among 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 can be performed through the following process.
In one 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 first user task sets corresponding to candidate interaction activities respectively, wherein each first user task set comprises at least one first user task; receiving file configuration operations aiming at a plurality of candidate interaction activities, and generating resource configuration information corresponding to each candidate interaction activity; the resource allocation 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 interaction activities may be interaction activities set by each platform according to interaction requirements of different periods, for example, the candidate interaction activities may be interaction activities set based on live broadcast requirements of different periods in a live broadcast, and in a certain live broadcast period, a plurality of parallel candidate interaction activities may be set. 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, etc. of the candidate interactive activity. The master configuration activity list may be a configuration list comprising a plurality of parallel interactive activities. The first set of user tasks may be a set of first user tasks included under a candidate interactive activity. The first user task may be an interaction task that is preset in the network living broadcast and that needs to be completed by the first user. The file configuration operation may be a configuration operation performed by a developer with respect to configuration information of the candidate interactive activity. The resource configuration information may be related configuration information corresponding to the service resources used by the first user task in the execution process, where the resource configuration information is used for performing resource isolation on the plurality of first user tasks.
The network live platform may determine a plurality of candidate interactive activities in the live broadcast process, for example, the candidate interactive activities currently performed by the network live platform include candidate interactive activity 1, candidate interactive activity 2, … candidate interactive activity n. Candidate activity information for each candidate interactive activity may be determined, e.g., each candidate interactive activity may include an activity period (i.e., starting from an activity start time to an activity end time), an activity identification (e.g., an activity name or activity ID), etc. For example, the task configuration file may include a main configuration portion live.
{ "biz": "biz 1",// candidate Interdynamic 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"]},
Wherein, biz can represent the activity identification corresponding to the candidate interaction activity, and the activity identification is used for uniquely distinguishing a certain candidate interaction activity; efficientTimeInterval, i.e., the effective time, may be used to represent the activity period for which the candidate interactive activity is sustained.
After all candidate interactive activities are determined, a plurality of sub-items of the candidate interactive activities are configured to realize a first user task scheme of parallel multi-activities. Specifically, for each candidate interactive activity, a first set of user tasks may be determined that the candidate interactive activity comprises. Taking the candidate interactive activity 1 as an example, the first user task set corresponding to the candidate interactive activity 1 may include m first user tasks, such as the first user task 1, the first user tasks 2, …, the first user task m, and the like. The developer can perform file configuration operation on a plurality of candidate interaction activities which are in a live platform and need to be parallel, resource configuration information corresponding to the plurality of parallel candidate interaction activities is generated, and the generated resource configuration information can perform resource isolation on the plurality of candidate interaction activities.
In addition, after determining that multiple candidate interaction activities need to be parallel, a first user task under each candidate interaction activity and 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 method comprises the following steps of (1) content such as an activity type (typeKey), an activity name (name), an activity description (description), display text of various page controls in the operation process of a first user task and the like; recommended policy information (recoService) corresponding to the first user task may also be included; processing logic such as task count logic after completion of a task operation, and issuing a task reward may also be included. Wherein typeKey may represent the task type, e.g., sendGift may represent the send-to-active gift task. Taking the first user task in the candidate interactive activity 1 (biz 1) as an example, the candidate interactive activity 1 may include a focused task and a giftwork task (sendGift), and thus task execution logic of the focused task and the giftwork task may be determined respectively.
After determining the candidate activity information, task execution logic, and resource configuration information, a task configuration file for implementing support for multiple parallel interactive activities may be generated based on the foregoing. Through the file configuration mode, if other parallel activities are newly added in the live platform, the first user task scheme supporting a plurality of parallel activities can be realized only through configuration operation, and the development is almost required to be redeveloped, so that the development efficiency is improved, and redundant codes are reduced.
Further, in some other scenarios of this embodiment, if a new interaction activity is started in the network live platform, and if no new task execution logic is generated in the new interaction activity, the first user task module of the interaction activity may be generated through a simple configuration operation, which may effectively improve development efficiency.
In an exemplary embodiment of the present disclosure, determining to-be-isolated interaction activities based on a main configuration activity list, and obtaining activity identifiers corresponding to each to-be-isolated interaction activity; and receiving file configuration operation aiming at each interaction activity to be isolated, and generating resource configuration information by combining the activity identification.
The interaction activity to be isolated can be an interaction activity needing to be subjected to resource isolation configuration. The activity identifier may be an identifier used to distinguish different interactive activities, where 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 the developer, a plurality of candidate interaction activities needing parallel processing are determined from a plurality of candidate interaction activities based on the file configuration operation of the developer and serve as interaction activities to be isolated. The file configuration operation includes a configuration operation of configuring a file name. After the interaction activities to be isolated are determined, the configuration file names corresponding to the interaction activities to be isolated can be determined. The configuration file name can be determined based on the master configuration name template and the activity identification, and the activity identification corresponding to the interaction activity to be isolated can be obtained from the candidate activity information, namely biz1/2/…/n can be the activity identification corresponding to each interaction activity to be isolated. For example, the style of the profile name may be live.
After the configuration file name is determined, file configuration operation can be performed for each interaction activity to be isolated, for example, in the configuration process, a plurality of parallel interaction activities to be isolated can be configured into resource isolation and service isolation. The file configuration operation may be performed through an isolation field, specifically: "redisConfig": "LiveActivitySupport",// data isolation redis clusters. "redisConfig" may be used to represent dependent isolation of resources, preventing the 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 the mode of the biz splicing activity main configuration name, for example, a plurality of parallel interaction activities are respectively isolated in different redis databases, so that the mutually isolated interaction activities can respectively use different resources in the realization process.
In one exemplary embodiment of the present 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 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 formed by pre-configured candidate recommendation policies. The candidate recommendation policies may be pre-configured policies for making anchor recommendations. The recommendation policy information may be related information corresponding to the candidate recommendation policy, and the corresponding candidate recommendation policy may be invoked through the recommendation policy information in the task configuration file. The initial recommendation policy may be a policy pre-configured in the task profile for making anchor recommendations. The initial recommendation policy information may be related information corresponding to the initial recommendation policy.
When judging whether certain first user tasks are completed, a specific anchor needs to be linked to judge, and anchor recommendation is linked with the task recording progress of the first user account to determine task execution results. The task execution logic of the first user task generally includes a second user recommendation policy corresponding thereto, and the present 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 policy, determining a candidate recommendation policy set corresponding to the first user task; one or more candidate recommendation policies are typically included in the candidate recommendation policy set, along with 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 policy may include determining a anchor to be recommended from a fixed anchor list; the method can also comprise the steps of acquiring a topN anchor from a certain list as an anchor to be recommended, and pre-configuring an anchor white list to determine the anchor in the anchor white list as the anchor to be recommended; the anchor who has completed the assigned powder expansion task can also be used as the anchor which needs to be recommended. In addition, in some other second user recommendation strategies, a certain number of anchor in the live broadcast square can be randomly selected as the anchor to be recommended. The specific manner of candidate recommendation strategies in this embodiment 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 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, a 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 a 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 one exemplary embodiment of the present disclosure, updated recommendation policy information is obtained in response to an update operation for the initial recommendation policy information; and calling a corresponding update recommendation policy based on the update recommendation policy information to execute the update recommendation policy through the task execution logic.
The updated recommendation policy may be a recommendation policy determined by updating the initial policy information.
In the activity period of the interactive activity, the actual service requirement may change, so that the recommendation strategy corresponding to the first user task also changes correspondingly. In this case, the update operation may be performed on the initial recommendation policy information in the task configuration file according to the changed service requirement, so as to generate corresponding update recommendation policy information. Specifically, as the configuration field of recoService is set in the task configuration file, 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 the hot update of the recommendation strategies.
After the update recommendation policy information is obtained, a corresponding update recommendation policy can be called based on the update recommendation policy information in the task configuration file, and the update recommendation policy 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 example embodiments of the present disclosure, the target task type may be a specific type of the first user task corresponding to the task execution operation.
Referring to fig. 3, fig. 3 is a flowchart illustrating a task progress recording method according to an exemplary embodiment. Taking the network live broadcast platform as an example, when the account number of the first user (i.e. the live broadcast audience) performs various task execution operations through the network live broadcast platform, various task completion monitors in the network live broadcast platform monitor the task execution operations from the live broadcast audience in real time. For example, a live audience may perform viewing task operations, attention task operations, fan group task operations, etc. through a web live platform. When each task completion monitor monitors a task execution operation, generating relevant execution parameters corresponding to the task execution operation; the execution parameters may include a task operation type corresponding to the task execution operation, a viewer identifier, a second user identifier (anchor identifier), a task count (typically 1), and the like. And matching the generated execution parameters with a first user task type which is pre-configured in the task configuration file, and determining 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 task execution operations from the routing configuration file according to the target activity identifications; and determining a target task type matched with the task execution operation under the target interaction activity according to the task type identification.
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 tag a specific type of target task. The routing profile may be a profile employed for matching the 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 target task corresponding to the task execution operation.
After the task completion monitor generates the execution parameters, the target activity identification and the task type identification corresponding to the task execution operation are obtained from the execution parameters. With continued reference to fig. 3, since a routing profile may be included in the task profile, a target activity that matches the task execution operation may be determined from the routing profile based on the target activity identification, such as determining the biz that matches the task profile. After the matched target activity is determined, a task type (typeKey) matching operation can be further executed, and the target task type matched with the task executing operation can be determined according to the task type identification.
In step S230, a target execution logic matching the target task type is determined from the task profile.
In some example embodiments of the present disclosure, the target execution logic may be execution logic employed for processing task execution operations of the first user account.
After determining the target task type matching the task execution operation, target execution logic matching the target task type may be obtained from the task configuration file. For example, when the first user account performs a focused task operation of the candidate interactive activity 1, the matched target task type may be "SendGift", and the target execution logic corresponding to "SendGift" is obtained from the task configuration file, and the target execution logic is used to process the task execution operation.
In one exemplary embodiment of the present disclosure, task filtering conditions matching a target task type are determined from a task profile; if the task execution operation is determined to be unnecessary to be processed in a source returning mode according to the task filtering condition, invoking target execution logic based on a task configuration file; if the task execution operation is determined to need to carry out the back source processing according to the task filtering condition, calling and executing the back source processing logic to obtain a back source processing result; and calling corresponding target execution logic according to the back source processing result.
The task filtering condition may be a specific condition adopted for filtering and screening the task execution operation of the first user account. The back-source processing may be a process of further checking the task execution operation to determine whether the 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 performing the back source processing.
With continued reference to fig. 3, when the task execution logic is used to process the task execution operation, the task filtering condition matched with the target task type may be determined from the task configuration file first, that is, the configuration may be acquired and then filtered. For example, the task filter conditions may include a time interval filter condition, a anchor filter condition, a viewer filter condition, and a judgment condition of whether a task is completed. The time interval filtering 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 on which the task execution operation acts is a designated anchor. The audience filtering condition may be used to determine whether the user account is a user account that satisfies a task performance condition, such as a task requiring an audience with a certain user rating.
Since certain task performance operations may depend on a particular anchor, the anchor recommended by the live webcast platform is primarily presented through the second user recommendation list. In this case, it may be determined whether the task execution operation requires the back-source processing by the task filtering condition. If it is determined that the task execution operation does not need the source returning processing according to the task filtering condition, target execution logic corresponding to the task execution operation can be called from the task configuration file to process the task execution operation. For example, when the audience member completes the task execution operation, a virtual reward, such as a virtual coin, may be issued directly to the account number of the first user account.
And if the task execution operation is determined to need to carry out the back source processing according to the task filtering condition, calling and executing the back source processing logic, carrying out the back source processing and checking through the back source processing logic, and obtaining a corresponding back source processing result. After the back source processing result is obtained, the corresponding target execution logic can be called to process the task execution operation. Through the above processing procedure, the whole processing procedure of the task execution operation can be completed.
In an exemplary embodiment of the present disclosure, determining a second user account corresponding to a task execution operation, and obtaining 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 between the task operation of the first user account in the preset time interval and the second user account; the second user account is different from the first user account in user type; 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 network scene, the second user account may be a anchor 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 host 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 operations performed by the first user account. The second user recommendation list may be a recommendation list consisting of all the anchor recommended to the viewer side of the first user account.
The specific process of carrying out the source returning treatment on the task execution operation is as follows: when the task execution operation of the first user account involves a certain anchor, the anchor account may be determined as a second user account corresponding to the task execution operation. And acquiring a second user recommendation list (i.e. 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 effective, and the task execution operation of the first user account is considered to be effective only if the second user account is in the second user recommendation list.
And determining whether the second user account is a anchor account in a 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 a preset event interval has relevance with the second user. For example, it may be obtained whether the first user account has performed a similar task operation for the second user account within the current time point of the day from 00:00, i.e. it is determined whether the task operation of the viewer has an association with the second user account.
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 for the anchor within the designated time interval, the first user account can be considered to successfully complete the current task execution operation, so that a trigger instruction of the target execution logic can be generated, and the target execution logic is called by the trigger instruction to perform subsequent processing on the task execution operation. The effectiveness of the task execution operation can be further checked through the back-source processing procedure.
In one exemplary embodiment of the present disclosure, a recommendation scheme identifier corresponding to a task execution operation is obtained, and a matched second user recommendation policy is invoked based on the recommendation scheme identifier; and determining a first number of candidate second user accounts according to the second user recommendation policy, and generating a second user recommendation list based on the first number of candidate second user accounts.
Wherein the recommendation scheme identification may be a scheme identification employed 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 number may be a specific value set in advance. The candidate second user account may be a host contained in the second user recommendation list.
The acquired second user recommendation list may be performed by the following procedure. Referring to fig. 4, fig. 4 is a flow chart illustrating a method of recommending a second user account according to an exemplary embodiment. When a first user account finishes click operation of recommending a second user (anchor) account, the network live broadcast platform responds to the click operation of the first user account and generates operation parameters 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 the click operation of the first user account. After the target activity identifier and the target task type are obtained, the matching activity and the processing process of matching the task type can be carried out according to the routing configuration file, and the task type matched with the clicking operation can be determined.
According to the determined task type, a corresponding recommendation scheme identification can be obtained from task execution logic corresponding to the task type. And invoking a second user recommendation strategy corresponding to the recommendation scheme identification, wherein a plurality of personalized filtering recommendation strategies, namely a second user recommendation strategy set, are preconfigured in the network live platform. According to the recommendation scheme identification, a corresponding second user recommendation strategy can be called from the second user recommendation strategy set, and a first number of candidate second user accounts is determined through the second user recommendation strategy, for example, the first number can 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, the first number of candidate second user accounts cannot be determined by adopting a preconfigured personalized second user recommendation policy, at this time, a preset second user recommendation policy configured in the live broadcast platform may be used to conduct anchor recommendation, for example, a certain number of anchors may be directly obtained from a live broadcast square as candidate second user accounts, so as to obtain the first number of candidate second user accounts, and a corresponding second user recommendation list is generated. After the second user recommendation list is generated, the second user recommendation list (i.e., the recommendation snapshot) may be recorded in redis configured through the active dimension.
In step S240, 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 the response processing to the task execution operation.
When the task execution operation is processed, the obtained target execution logic can be triggered and executed to perform a processing procedure related to the task execution operation, and a corresponding task execution result is obtained. For example, the target execution logic may be configured to execute related operations such as issuing an activity reward, and task count and database count after issuing the activity reward, and may also be configured to determine various prompt information displayed to a viewer end of the first user account through the network live platform after the task execution operation of the first user account is completed.
In an exemplary embodiment of the present disclosure, a current task number corresponding to a first user account is obtained in response to a trigger instruction of a target execution logic; acquiring a quantity threshold, and if the current task quantity is smaller than or equal to the quantity threshold, sending a task reward to a first user account; and updating the current task number to obtain a task execution result.
The current task number may be a number of tasks that the first user account has currently completed. The number threshold may be a specific value that is compared to the current number of tasks. The task rewards can be virtual rewards obtained after the first user account completes the task execution operation meeting the conditions.
When the task execution operation of the first user account is determined to be effective, a trigger instruction of the target execution logic can be acquired. Responding to the trigger instruction, acquiring the current task number corresponding to the first user account, namely the number of task operations currently performed by the first user account, and storing the current task number in a preconfigured redis database; wherein, the redis database is a database which uses the activity as dimension to carry out business isolation. And performing times overflow check on the current task number, acquiring a pre-configured number threshold, and comparing the current task number with the acquired number threshold. 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 designated time interval is considered not to exceed the upper operation frequency limit, and the task execution operation is effective at this time, so that a 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 flow of the task rewards issuing operation. After the task rewards are issued, prompt information (such as task information) can be issued to the audience side of the first user account at the same time, the current task number is updated, generally, the current task number is increased by 1, the end of the task execution operation process is marked, and a final task execution result is obtained.
According to the task processing method, task execution operation of a first user account is responded, and a pre-configured task configuration file is obtained; the task configuration file comprises task execution logic corresponding to each of the plurality of parallel interaction activities, and the interaction 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 the execution target execution logic to obtain a task execution result of the task execution operation. On the one hand, a task configuration file is generated in a pre-configured mode, and a first user task scheme supporting a plurality of parallel interaction activities can be realized through configuration operation. On the other hand, the isolation modes of different interaction activities can be configured through the task configuration file, so that service isolation and resource isolation among a plurality of parallel interaction activities are effectively realized. In yet another aspect, a thermal update of the recommended policies may be implemented by updating the recommended policy information in the task profile. On the other hand, as the task logic under different interaction activities can be completed through configuration, when no special execution logic is added in the new interaction activities, a new first user task scheme can be generated through simple configuration.
FIG. 5 is a block diagram of a task processing device, according to an example embodiment. Referring to fig. 5, the task processing device 500 includes a profile acquisition module 510, a task type determination module 520, an execution logic determination module 530, and a task execution module 540.
Specifically, the configuration file obtaining module 510 is configured to perform 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 logic corresponding to each of the plurality of parallel interaction activities, and the interaction activities are isolated from each other; the task type determining module 520 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 530 configured to execute target execution logic that determines from the task profile that matches the target task type; the task execution module 540 is configured to execute the trigger execution 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 device further includes a profile generation module configured to perform: determining candidate activity information corresponding to each of the plurality of candidate interactive activities, and generating a main configuration activity list based on the plurality of candidate activity information; determining first user task sets corresponding to candidate interaction activities respectively, wherein each first user task set comprises at least one first user task; receiving file configuration operations aiming at a plurality of candidate interaction activities, and generating resource configuration information corresponding to each candidate interaction activity; the resource allocation 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, the resource configuration information and the generated task configuration file.
In an exemplary embodiment of the present disclosure, the profile generation module further includes a configuration information generation unit configured to perform: determining a plurality of interaction activities to be isolated based on a main configuration activity list, and acquiring activity identifiers corresponding to the interaction activities to be isolated; and receiving file configuration operation aiming at each interaction activity to be isolated, and generating resource configuration information by combining the activity identification.
In one exemplary embodiment of the present disclosure, the task execution logic includes an initial recommendation policy; the profile generation module further includes an execution logic determination unit configured to execute: 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 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 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 update module configured to perform: responding to the updating operation aiming at the initial recommendation strategy information to obtain the update recommendation strategy information; and calling a corresponding update recommendation policy based on the update recommendation policy information to execute the update recommendation policy through the task execution logic.
In one exemplary embodiment of the present disclosure, the task profile comprises a routing profile, and the task type determination module comprises a task type determination unit configured to perform: acquiring a target activity identifier and a task type identifier corresponding to a task execution operation; determining target interaction activities matched with task execution operations from the routing configuration file according to the target activity identifications; and determining a target task type matched with the task execution operation under the target interaction activity according to the task type identification.
In one exemplary embodiment of the present disclosure, the execution logic determination module includes an execution logic determination unit configured to execute: determining task filtering conditions matched with the target task types according to the task configuration file; if the task execution operation is determined to be unnecessary to be processed in a source returning mode according to the task filtering condition, invoking target execution logic based on a task configuration file; if the task execution operation is determined to need to carry out the back source processing according to the task filtering condition, calling and executing the back source processing logic to obtain a back source processing result; and calling corresponding target execution logic according to the back source processing result.
In one exemplary embodiment of the present disclosure, the execution logic determination unit includes a back-source processing subunit configured to execute: 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 between the task operation of the first user account in the 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 determining unit further includes a list generating subunit configured to execute: 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 policy, and generating a second user recommendation list based on the first number of candidate second user accounts.
In one exemplary embodiment of the present disclosure, the task execution module includes a task execution unit configured to execute: responding to a trigger instruction of target execution logic, and acquiring the current task number corresponding to the first user account; acquiring a quantity threshold, and if the current task quantity is smaller than or equal to the quantity threshold, sending a task reward to a first user account; and updating the current task number to obtain a task execution result.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
An electronic device 600 according to such an embodiment of the present disclosure is described below with reference to fig. 6. The electronic device 600 shown in fig. 6 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
As shown in fig. 6, the electronic device 600 is in the form of a general purpose computing device. Components of 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 the different system components (including the memory unit 620 and the processing unit 610), a display unit 640.
Wherein the storage unit stores program code that is executable by the processing unit 610 such that the processing unit 610 performs steps according to various exemplary embodiments of the present disclosure described in the above-described "exemplary methods" section of the present specification.
The storage unit 620 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 621 and/or cache memory 622, and may further include Read Only Memory (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 or some combination of which may include an implementation of a network environment.
Bus 630 may represent one or more 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.), one or more devices that enable a user to interact with the electronic device 600, and/or any devices (e.g., routers, modems, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 650. Also, electronic device 600 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 660. As shown, network adapter 660 communicates with other modules of electronic device 600 over bus 630. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 600, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like. In an exemplary embodiment, a computer readable storage medium is also provided, such as a memory, comprising instructions executable by a processor of an apparatus to perform the task processing method described above. Alternatively, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, a computer program product is also provided, comprising a computer program/instruction, characterized in that the computer program/instruction, when executed by a processor, implements the task processing method according to any of the preceding claims.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method of task processing, 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 logic corresponding to each of a plurality of parallel interaction activities, and the interaction 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;
triggering and executing the target execution logic to obtain a task execution result of the task execution operation;
the task configuration file is generated by the following steps:
determining candidate activity information corresponding to each of a plurality of candidate interactive activities, and generating a main configuration activity list based on the plurality of candidate activity information;
determining first user task sets respectively corresponding to the candidate interaction activities, wherein each first user task set comprises at least one first user task;
receiving file configuration operations aiming at a plurality of candidate interaction activities, and generating resource configuration information corresponding to each candidate interaction activity; the resource allocation 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.
2. The method of claim 1, wherein the receiving a file configuration operation for a plurality of candidate interactive activities, generating resource configuration information corresponding to each candidate interactive activity, comprises:
Determining a plurality of interaction activities to be isolated based on the main configuration activity list, and acquiring activity identifiers corresponding to the interaction activities to be isolated;
and receiving file configuration operation for each interaction activity to be isolated, and generating resource configuration information by combining the activity identifiers.
3. The method of claim 1, 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 policy information is used for calling the initial recommendation policy.
4. A method according to claim 3, characterized in that the method further comprises:
responding to the updating operation aiming at the initial recommendation strategy information to obtain the updating recommendation strategy information;
And calling a corresponding update recommendation policy based on the update recommendation policy information to execute the update recommendation policy through the task execution logic.
5. The method according to claim 1, wherein the task profile includes a routing profile, and the determining, according to the task profile, 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 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 identification.
6. The method of claim 1, wherein the determining, from the task profile, target execution logic that matches the target task type comprises:
determining task filtering conditions matched with the target task types according to the task configuration file;
if the task execution operation is determined to not need the source returning processing according to the task filtering condition, the target execution logic is called based on the task configuration file, wherein the source returning processing is a processing process for checking the task execution operation to determine whether the task execution operation meets a task completion condition;
If the task execution operation is determined to need to carry out the source return processing according to the task filtering condition, calling and executing a source return processing logic to obtain a source return processing result;
and calling corresponding target execution logic according to the source return processing result.
7. The method of claim 6, wherein the invoking performs back to 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 between 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.
8. The method of claim 7, wherein prior to the obtaining the second list of user recommendations that match the task execution operation, the method further comprises:
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.
9. The method of claim 1, wherein the 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 number corresponding to the first user account;
acquiring a quantity threshold, and if the current task quantity is smaller than or equal to the quantity threshold, sending a task reward to the first user account;
and updating the current task number to obtain the task execution result.
10. A task processing device, 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 logic corresponding to each of a plurality of parallel interaction activities, and the interaction activities are isolated from each other;
The task type determining module is configured to execute the task type corresponding to the task executing operation according to the task configuration file;
an execution logic determination module configured to execute target execution logic that determines from the task profile that matches the target task type;
the task execution module is configured to execute the target execution logic to obtain a task execution result of the task execution operation;
the configuration file generation module is configured to execute the steps of determining candidate activity information corresponding to each of a plurality of candidate interaction activities, and generating a main configuration activity list based on the plurality of candidate activity information;
determining first user task sets respectively corresponding to the candidate interaction activities, wherein each first user task set comprises at least one first user task;
receiving file configuration operations aiming at a plurality of candidate interaction activities, and generating resource configuration information corresponding to each candidate interaction activity; the resource allocation 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.
11. 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 9.
12. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the task processing method according to any one of claims 1 to 9.
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 CN115297336A (en) 2022-11-04
CN115297336B true 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 (8)

* 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
CN112306715A (en) * 2020-10-30 2021-02-02 北京字节跳动网络技术有限公司 Event processing method and device
CN112306685A (en) * 2020-10-29 2021-02-02 北京字节跳动网络技术有限公司 Task isolation method and device, electronic equipment and computer readable medium
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757131B (en) * 2020-04-03 2021-06-11 北京达佳互联信息技术有限公司 Task target setting method, device and system applied to live broadcast and electronic equipment

Patent Citations (8)

* 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
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
CN115297336A (en) 2022-11-04

Similar Documents

Publication Publication Date Title
US20180043264A1 (en) Game Accessing Method and Processing Method, Server, Terminal, and System
CN111814089B (en) Page rendering method and device, rendering server and storage medium
CN110830735B (en) Video generation method and device, computer equipment and storage medium
US20180276720A1 (en) Advertising creative processing method, advertising creative processing apparatus, and storage medium
US10198238B2 (en) Data transmission method, and relevant device and system
US20090055725A1 (en) System and Method for Generating Creatives Using Composite Templates
CN103765387A (en) Distributed resource management in a portable computing device
CN112689155B (en) Virtual resource pushing method and device and server
JP2017539103A (en) Method, apparatus, server, and system for synchronizing member gain among multiple apparatuses
CN111625353B (en) Virtual resource distribution processing method, device, server and storage medium
JP2022021294A (en) Method and device for user communication in live broadcasting room, electronic apparatus, storage medium and computer program
JP2023516801A (en) Information recommendation method, device, electronic device and program
CN115412774A (en) Interactive processing method, device, electronic equipment, storage medium and program product
CN113476853A (en) Data processing method and device for interactive tasks, electronic equipment and storage medium
CN115297336B (en) Task processing method and device, electronic equipment, storage medium and program product
WO2023071956A1 (en) Model training method and apparatus, and electronic device
CN114157627B (en) Group processing method, device, electronic equipment and medium
CN112231011B (en) Activiti-based flow chart adjustment method and device, electronic equipment and storage medium
CN115131067A (en) Data processing method and device, electronic equipment 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
KR101385608B1 (en) Transaction pursuit system and control method thereof
JP2015197905A (en) Content distribution method and system
CN115511516A (en) Resource acquisition method, device, server and storage medium
CN114363307B (en) Information processing method and system

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