WO2023138672A1 - 任务处理方法、设备、存储介质及程序产品 - Google Patents

任务处理方法、设备、存储介质及程序产品 Download PDF

Info

Publication number
WO2023138672A1
WO2023138672A1 PCT/CN2023/073256 CN2023073256W WO2023138672A1 WO 2023138672 A1 WO2023138672 A1 WO 2023138672A1 CN 2023073256 W CN2023073256 W CN 2023073256W WO 2023138672 A1 WO2023138672 A1 WO 2023138672A1
Authority
WO
WIPO (PCT)
Prior art keywords
task processing
task
client
data corresponding
processing data
Prior art date
Application number
PCT/CN2023/073256
Other languages
English (en)
French (fr)
Inventor
杜炯
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023138672A1 publication Critical patent/WO2023138672A1/zh

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • Embodiments of the present disclosure relate to the technical field of computer and network communication, and in particular, to a task processing method, device, storage medium, and program product.
  • the anchor can create a live broadcast room and live broadcast tasks, and other users can also enter the live broadcast room to participate in live broadcast tasks and watch the results of live broadcast tasks.
  • the results of live broadcast tasks are usually judged subjectively by humans.
  • the host can judge the task results by listening and watching in real time.
  • the inventor found at least the following problems in the prior art: the existing methods are subjective and cannot guarantee the accuracy of the results of live broadcast tasks. In addition, the method of judging by watching the whole live broadcast content takes a long time and is inefficient.
  • Embodiments of the present disclosure provide a task processing method, device, storage medium, and program product to overcome the problems that the existing methods are more subjective and cannot guarantee the accuracy of the results of live broadcast tasks, and the method of judging by watching the whole live broadcast content takes a long time and has low efficiency.
  • an embodiment of the present disclosure provides a task processing method, including:
  • an embodiment of the present disclosure provides a task processing method applied to a first client, including:
  • an embodiment of the present disclosure provides a task processing device, including:
  • An acquisition module configured to acquire the task processing factor sent by the first client
  • a rule generating module configured to generate task processing rules according to the task processing factors
  • a data determination module configured to determine task processing data corresponding to a plurality of second client terminals
  • a result determining module configured to determine a task processing result according to the task processing rules and task processing data
  • the first sending module is configured to send the task processing result to the third client.
  • an embodiment of the present disclosure provides a task processing device, including:
  • a display module configured to display a task setting interface
  • the second sending module is configured to send the task processing factor to the server in response to the task processing factor setting operation acting on the task setting interface, so that the server generates a task processing rule according to the task processing factor, thereby determining a task processing result according to the task processing rule and task processing data corresponding to a plurality of second client terminals, and sending the task processing result to a third client terminal.
  • an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;
  • the memory stores computer-executable instructions
  • the processor executes the computer-executable instructions stored in the memory, so that the processor executes the task processing method described in the above first aspect and various possible designs of the first aspect.
  • an embodiment of the present disclosure provides an electronic device, including: a display, a processor, and a memory;
  • the memory stores computer-executable instructions; the display is connected to the processor for receiving selected operations and displaying task sorting results;
  • the processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the task processing method as described in the second aspect above.
  • the embodiments of the present disclosure provide a computer-readable storage medium, in which computer-executable instructions are stored.
  • the processor executes the computer-executable instructions, the task processing method described in the above first aspect and various possible designs of the first aspect is implemented, or the task processing method described in the above second aspect is implemented.
  • an embodiment of the present disclosure provides a computer program product, including a computer program.
  • the computer program is executed by a processor, the task processing method described in the above first aspect and various possible designs of the first aspect is implemented, or the task processing method described in the above second aspect is implemented.
  • an embodiment of the present disclosure provides a computer program, which implements the task processing method described in the first aspect and various possible designs of the first aspect when the computer program is executed by a processor, or implements the task processing method described in the second aspect above.
  • FIG. 1 is a schematic diagram of an application scenario of a task processing method provided by an embodiment of the present disclosure
  • FIG. 2 is a first schematic flow diagram of a task processing method provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of the principle of a task processing method provided by an embodiment of the present disclosure
  • FIG. 4 is a second schematic flow diagram of a task processing method provided by an embodiment of the present disclosure.
  • FIG. 5 is a first schematic diagram of a task setting interface provided by an embodiment of the present disclosure.
  • FIG. 6 is a second schematic diagram of a task setting interface provided by an embodiment of the present disclosure.
  • FIG. 7 is a third schematic diagram of a task setting interface provided by an embodiment of the present disclosure.
  • FIG. 8 is a structural block diagram 1 of a task processing device provided by an embodiment of the present disclosure.
  • FIG. 9 is a second structural block diagram of a task processing device provided by an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present disclosure.
  • Live broadcasts are usually presented in the form of live broadcast rooms. For example, talk show live room, KTV live room, etc.
  • KTV live room can be created by the host, and then other users can enter the live room to sing the songs they ordered in turn.
  • the anchor can determine the task results from the performance tasks of himself or other users to optimize the subsequent live broadcast content.
  • the anchor can judge the result of the performance task by listening and watching in real time.
  • the existing judgment methods are more subjective, lack data support, and cannot guarantee the accuracy of the judgment, and watching the whole live broadcast content takes time and is less efficient.
  • the inventors of the present application found that corresponding task processing rules can be generated according to the task processing factors selected by the user, so as to realize fast multi-dimensional determination of task results. Based on this, the embodiments of the present disclosure provide a task processing method, which can realize multi-dimensional determination of task results, greatly reduce subjectivity in the mining process, and improve the accuracy and efficiency of task processing.
  • FIG. 1 is a schematic diagram of an application scenario of a task processing method provided by an embodiment of the present disclosure.
  • the first client 101, the second client 102 and the third client 103 are all connected to the task processing device 105, the first client is, for example, the broadcaster, the second client is, for example, the guest, and the third client is, for example, the audience.
  • the first user terminal 101 is used to create a live broadcast room in response to the instruction input by the host, so that the performance user can enter the live broadcast room through the second user terminal 102 to perform, and is also used to send the selected task processing factor to the task processing device 105 in response to the host's setting operation of the task processing factor on the task setting interface.
  • the second client 102 is configured to record the performance task of the performance user in response to the start or end instruction input by the performance user, and may also send the start time and end time of the performance task to the task processing device 105 .
  • the third client terminal 103 is configured to generate task processing data corresponding to a plurality of second client terminals 102 in response to an interactive instruction of a viewing user who enters the live broadcast room to watch a performance task.
  • the third client 103 may directly send the task processing data to the task processing device 105 or first store the task processing data in the server, and then send the task processing data to the task processing device 105 through the server.
  • the task processing device 105 is configured to acquire a task processing factor sent by the first client 101, generate a task processing rule according to the task processing factor, determine a plurality of task processing data corresponding to the second client 102, determine a task processing result according to the task processing rule and the task processing data, and send the task processing result to the third client 103.
  • the division of the first client terminal 101, the second client terminal 102 and the third client terminal 103 is functionally
  • the same hardware terminal can carry the functions realized by at least one of the above-mentioned client terminals at the same time.
  • the third client terminal 103 may be the first client terminal 101 applied by the broadcaster, the second client terminal 102 applied by the performing user, or a terminal applied by the viewing user. This embodiment does not limit this.
  • the first client 101 creates a live broadcast room in response to the instructions input by the host, and sends the task processing factor selected by the host to the task processing device 105 in response to the host's setting operation of the task processing factor on the task setting interface.
  • the second client 102 responds to the start or end instruction input by the performance user, records the performance task of the performance user, and can send the start time and end time of the performance task to the task processing device 105. , generating task processing data corresponding to multiple second client terminals 102, which may also be directly or indirectly sent to the task processing device 105 through devices such as a server.
  • the task processing device 105 acquires the task processing factor sent by the first client 101, generates a task processing rule according to the task processing factor, determines task processing data corresponding to a plurality of second client terminals 102, determines a task processing result according to the task processing rule and the task processing data, and sends the task processing result to the third client 103. For example, it can be sent to the host's first client 101, so that the host can quickly discover valuable hot content according to the task processing results, optimize the live program, and increase the popularity of the live room.
  • the task processing method provided in this embodiment generates corresponding task processing rules based on the task processing factors sent by the first client, and obtains corresponding task processing results according to the generated task processing rules, which can realize multi-dimensional determination of task results, greatly reduce subjectivity in the mining process, and improve the accuracy and efficiency of task processing.
  • FIG. 2 is a schematic flowchart of a task processing method provided by an embodiment of the present disclosure. The method of this embodiment may be applied to the task processing device 104 shown in FIG. 1, and the task processing method includes:
  • the task processing factor may be the type of task processing data acquired during the playing of the performance task, and the type may include the type of interaction data (number of likes/level, number of comments/level), resource type (type of gift), etc.
  • the performance task may be various types of performances, such as songs, dances, talk shows or cross talk, etc., which is not limited in this embodiment.
  • corresponding task processing rules may be generated, for example, N performance tasks are determined according to the magnitude of comments, where N is a positive integer.
  • the task processing rule is the judgment condition for the user to determine the task processing result
  • the task processing factor is the judgment factor corresponding to the task processing rule, which is used to generate the judgment condition.
  • the task processing factors may include multiple factors, and generating the task processing rules according to the task processing factors may include: performing weighted summation of various factors in the task processing factors to generate the task processing rules.
  • the task processing factor may include two factors: the amount/magnitude of comments and the amount/magnitude of likes. Then the amount/magnitude of comments and the amount/magnitude of likes can be weighted and summed to obtain the task processing rules.
  • the task processing data corresponding to the respective performance tasks of multiple second client terminals can be calculated according to the task processing rules. For example, assuming that the task processing rules are based on the weighted sum of comment levels and like levels for task screening or sorting, then for each performance task, the comment level and like level obtained during the performance task broadcasting process can be obtained, and the weighted sum of the two can be used as the task processing data of the performance task.
  • the task processing data such as the amount of comments corresponding to the task
  • the accumulation of comments can be completed, and the current accumulated value can be determined as the amount of comments of the performance task.
  • each live room task includes a plurality of performance tasks, and the task processing data corresponding to the live room is obtained, and the live room is the live room where the first client, the second user end, and the third user end are located; according to the task processing data corresponding to the live room, the task start time and task end time corresponding to each second client terminal, the task processing data corresponding to multiple second client terminals is determined.
  • the task processing data corresponding to the live broadcast room includes a plurality of live broadcast moments and corresponding task processing data; the plurality of live broadcast moments include task start time and task end time corresponding to each second client; determining task processing data corresponding to multiple second client terminals according to the task processing data corresponding to the live broadcast room, task start time and task end time corresponding to each second client end, including: determining the task processing data corresponding to the task end time and the task processing data corresponding to the task start time according to the multiple live broadcast moments and corresponding task processing data; The difference between the processing data and the task processing data corresponding to the task start time is determined as the task processing data.
  • multiple performance tasks come from multiple live broadcast rooms, and the performance tasks include live room identifiers.
  • the corresponding live room can be identified for each live room.
  • the task processing data generated in the live room is accumulated to obtain the cumulative value of the task processing data; the cumulative value includes the generation time of the task processing data; and the start time and end time of each performance task in the live room are acquired.
  • the accumulated value under the live room ID, and the start time and end time of each performance task determine the task processing data corresponding to each performance task under each live room ID.
  • the first accumulated value of the accumulated values under the live room identifier corresponding to the start time of the performance task and the second accumulated value of the accumulated values under the live room identifier corresponding to the end time of the performance task are obtained; the difference between the first accumulated value and the second accumulated value is determined as the task processing data of the performance task.
  • the top N performance tasks are screened according to the relationship between the comment levels corresponding to multiple performance tasks.
  • Each performance task can be processed according to the task processing rule and the determined task processing data corresponding to each performance task, and the task processing result can be obtained, for example, the top N performance tasks among multiple performance tasks can be obtained.
  • the task processing result can be sent to a third client terminal, and the third client terminal can be the first client terminal corresponding to the anchor, or the second client terminal corresponding to the performing user, or the third client terminal corresponding to the viewing user.
  • this embodiment generates corresponding task processing rules based on the task processing factors sent by the first client, and obtains corresponding task processing results according to the generated task processing rules, which can realize multi-dimensional determination of task results, greatly reduce the subjectivity in the mining process, and improve the accuracy and efficiency of task processing.
  • step 204 may include: processing data according to the task processing rule and the task corresponding to each second client Determine the task execution results corresponding to each second client; and sort according to the task execution results corresponding to the second clients to obtain the task ranking results.
  • the first client sends the task processing factor and comment level selected by the host to the rule generation module of the task processing device;
  • the second client can send the start time and end time of the performance task to the task processing device after the current performance task ends, and the viewing user terminal sends the user comment event (comment occurrence time) to the real-time calculation module of the task processing device.
  • the real-time calculation module accumulates the comment events since the start of the live broadcast room to obtain the cumulative value of the comment volume, and stores the cumulative value of the comment volume in the storage module.
  • the rule generation module generates task processing rules according to the comment volume, and stores the task processing rules in the storage module.
  • the processing module and the sorting module obtain the task processing rules and the cumulative value of the comment volume.
  • the processing module obtains the first cumulative value and the second cumulative value according to the start time and end time of the performance task, and calculates the difference between the first cumulative value and the second cumulative value to obtain the comment volume of the performance task.
  • the comment volume is the task processing data of the performance task , after obtaining the comment volume of each performance task in the current ranking list, that is, the comment volume of the historical performance task, the sorting module sorts the multiple comment volumes according to the task processing rules, that is, according to the high and low ranking rules of the comment volume, obtains the task sorting results, and sends the task sorting results to the first client, so that the anchor can quickly mine valuable hot content according to the task sorting results, optimize the live broadcast programs, and increase the popularity of the live broadcast room.
  • the embodiment of the present disclosure adds the introduction of real-time update of task ranking results. After obtaining the task ranking results, it may further include: determining the task processing data of the current performance task according to the task processing rules and the start time and end time of the current performance task; comparing the task processing data of the current performance task with the task processing data corresponding to each performance task in the task ranking results, and updating the task ranking results according to the comparison results.
  • step 201 of the above embodiment may further include: calling the task processing rule set last time as the current task processing rule to generate a task sorting result.
  • the method further includes: storing the task processing rule as the current task processing rule.
  • the task processing rule generated according to the task processing factor selected by the user may be stored as the current task processing rule, and the task sorting result is generated according to the current task processing rule. If the host temporarily exits the live broadcast room and then returns to the live broadcast room, or if the user re-creates the live broadcast room after the live broadcast in the current live room is over, and performs a new live broadcast, the current task processing rules can be called to generate task sorting results. If the user reselects the task processing factor, the newly generated task processing rule is determined as the current task processing rule.
  • the task processing method provided in this embodiment can store task processing rules in response to a user's saving request, which is convenient for users to use and improves user experience.
  • Step 201 specifically includes: determining the target sequence length of the task sorting result, and generating task processing rules according to the task processing factor and the target sequence length.
  • the user when there are many performance tasks to be sorted, for example, the user selects multiple live broadcasts, that is, performance tasks in multiple live broadcast rooms participate in the sorting, or there are many performance tasks in the current live broadcast room, the user can customize the display quantity corresponding to the task results to improve user experience.
  • FIG. 4 is a schematic flowchart of a task processing method provided by an embodiment of the present disclosure.
  • the method of this embodiment can be applied to the first client 101 shown in Figure 1, and the task processing method includes:
  • the host can set the task processing factor in the task setting interface, as shown in Figure 5, the task setting interface can include multiple task processing factors, such as the amount of comments, likes, gifts, etc., and can also include various combinations, such as comprehensive 1, which includes the amount of comments and likes. Assuming that the user selects the amount of comments as a task processing factor to generate task processing rules according to the amount of comments, the task processing rules can be to sort the performance tasks in descending order of the amount of comments of the performance tasks.
  • the task processing factors may include multiple factors
  • the generating task processing rules for multiple performance tasks may include: performing weighted summation of various factors in the selected task processing factors to generate the task processing rules.
  • the task processing rules can be set to filter performance tasks based on the weighted sum of comments and likes of performance tasks.
  • a multi-selection control can be set.
  • the task processing rule can be set to filter performance tasks based on the weighted sum of comments and likes.
  • the embodiments of the present disclosure do not limit this.
  • the scope of multiple performance tasks can be set by default, for example, it can be set by default that the current live broadcast room has completed the performance tasks from the second client terminals participating in the performance of the live broadcast room, or the default setting is the same type of performance tasks on the live broadcast platform of the day, etc.
  • the selection control of the time dimension may be pushed to the user. For example, in response to the user's touch operation on the selection control of the time dimension, all the performance tasks of the anchor from the start date to the end date may be obtained as multiple performance tasks of the second client.
  • a plurality of performance tasks may be obtained in response to a selected operation on the processing range factor acting on the task setting interface.
  • the processing scope factor may include at least one of the following: live broadcast room identifier, anchor account, participating performer account, start and end dates.
  • selection controls for processing range factors may be pushed to the user: live broadcast room identification control, participating performance account control, anchor account control, start and end date control.
  • live room identification control Taking the live room identification control as an example, multiple live room identification controls (nostalgic live broadcast, annual meeting live broadcast, mid-autumn live broadcast, hip-hop live broadcast) can be displayed.
  • the user can select only one of the above controls or two or more at the same time, for example, only the logo of the live broadcast room can be selected, or both the anchor account and the start and end period can be selected.
  • the disclosed tasks are not limited to performance tasks, but can also be activity tasks and game tasks etc.
  • FIG. 8 is a structural block diagram 1 of a task processing device provided in an embodiment of the present disclosure.
  • the task processing device 80 includes: an acquisition module 801 , a rule generation module 802 , a data determination module 803 , a result determination module 804 and a first sending module 805 .
  • the acquiring module 801 is configured to acquire the task processing factor sent by the first client;
  • a rule generating module 802 configured to generate task processing rules according to the task processing factors
  • a data determination module 803, configured to determine task processing data corresponding to multiple second client terminals
  • a result determining module 804 configured to determine a task processing result according to the task processing rules and task processing data
  • the first sending module 805 is configured to send the task processing result to the third client.
  • the task processing results include task sorting results; the result determination module 804 is specifically configured to: determine the task execution results corresponding to each second client according to the task processing rules and task processing data corresponding to each second client; and sort according to the task execution results corresponding to the second client to obtain task ranking results.
  • the task processing factors include multiple factors
  • the rule generation module 802 is specifically configured to: perform weighted summation of each factor in the task processing factors to generate the task processing rules.
  • the data determination module 803 is specifically configured to: acquire the task start time and task end time corresponding to each second client in the plurality of second clients; and determine the task processing data corresponding to the plurality of second clients according to the task start time and task end time corresponding to each second client.
  • the device 80 further includes: a storage module, configured to store the task processing rules.
  • the device 80 further includes: a sequence length determination module configured to determine the target sequence length of the task sorting result; the rule generation module 802 is specifically configured to: generate a task processing rule according to the task processing factor and the target sequence length.
  • the task is a live broadcast room task
  • the data determination module 803 is specifically configured to: obtain task processing data corresponding to the live broadcast room, where the live broadcast room is the live broadcast room where the first client, the second client, and the third client are located; determine task processing data corresponding to multiple second client terminals according to the task processing data corresponding to the live broadcast room, the task start time and the task end time corresponding to each second client terminal.
  • the task processing data corresponding to the live broadcast room includes multiple live broadcast moments and corresponding task processing data; the multiple live broadcast moments include task start time and task end time corresponding to each second client; the data determination module 803 is specifically configured to: determine the task processing data corresponding to the task end time and the task processing data corresponding to the task start time according to the multiple live broadcast moments and the corresponding task processing data; .
  • the device provided in this embodiment can be used to execute the technical solution of the above-mentioned method embodiment with the task processing device as the execution subject, and its implementation principle and technical effect are similar, so this embodiment will not repeat them here.
  • FIG. 9 is a second structural block diagram of a task processing device provided in an embodiment of the present disclosure.
  • the device 90 includes: a display module 901 and a second sending module 902 .
  • a display module 901 configured to display a task setting interface
  • the second sending module 902 is configured to send the task processing factor to the server in response to the task processing factor setting operation acting on the task setting interface, so that the server generates a task processing rule according to the task processing factor, thereby determining a task processing result according to the task processing rule and task processing data corresponding to a plurality of second clients, and sending the task processing result to a third client.
  • the device provided in this embodiment can be used to implement the technical solution of the above-mentioned method embodiment with the first client as the execution subject, and its implementation principle and technical effect are similar, so this embodiment will not repeat them here.
  • the embodiments of the present disclosure further provide an electronic device.
  • the electronic device 1000 may be a terminal device or a server.
  • the terminal equipment may include but not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (Portable Android Device called PAD), portable multimedia players (Portable Media Player, PMP), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.
  • PDA Personal Digital Assistant
  • PAD Portable Multimedia Player
  • PMP portable multimedia players
  • vehicle-mounted terminals such as vehicle-mounted navigation terminals
  • fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 10 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
  • an electronic device 1000 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 1001, which may perform various appropriate actions and processes according to a program stored in a read-only memory (Read Only Memory, ROM) 1002 or a program loaded from a storage device 1008 into a random access memory (Random Access Memory, RAM) 1003.
  • ROM Read Only Memory
  • RAM Random Access Memory
  • the processing device 1001, ROM 1002, and RAM 1003 are connected to each other through a bus 1004.
  • An input/output (Input/Output, I/O) interface 1005 is also connected to the bus 1004 .
  • the following devices can be connected to the I/O interface 1005: an input device 1006 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1007 including, for example, a liquid crystal display (Liquid Crystal Display, LCD), a speaker, a vibrator, etc.; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009.
  • the communication means 1009 may allow the electronic device 1000 to perform wireless or wired communication with other devices to exchange data. While FIG. 10 shows electronic device 1000 having various means, it is to be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts.
  • the computer program may be downloaded and installed from a network via the communication means 1009, or from the storage means 1008, or from the ROM 1002.
  • the processing device 1001 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof.
  • a computer-readable storage medium may include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an Erasable Programmable Read Only Memory (EPROM or flash memory), an optical fiber, a compact disk-read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or Any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the methods shown in the above-mentioned embodiments.
  • Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional procedural programming languages—such as the “C” language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (such as through the Internet using an Internet Service Provider).
  • LAN Local Area Network
  • WAN Wide Area Network
  • Internet Service Provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in the flowchart or block diagram may represent a module, program segment, or portion of code that includes one or more executable instructions for implementing specified logical functions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first obtaining unit may also be described as "a unit for obtaining at least two Internet Protocol addresses".
  • exemplary types of hardware logic components include: Field Programmable Gate Array (Field Programmable Gate Array, FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (System on Chip, SOC), Complex Programmable Logic Device (Complex Programmable Logic Device, CPLD) and so on.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • machine readable medium It may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • a machine-readable storage medium would include one or more wire-based electrical connections, a portable computer disk, a hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage devices or any suitable combination of the foregoing.
  • a task processing method including:
  • the task processing results include task ranking results; determining the task processing results according to the task processing rules and task processing data includes: determining the task execution results corresponding to each second client terminal according to the task processing rules and task processing data corresponding to each second client terminal; and sorting according to the task execution results corresponding to the second client terminals to obtain task ranking results.
  • the task processing factors include multiple factors
  • generating the task processing rules according to the task processing factors includes: performing weighted summation of each factor in the task processing factors to generate the task processing rules.
  • the determining task processing data corresponding to multiple second client terminals includes: obtaining task start time and task end time corresponding to each second client terminal among the multiple second client terminals; and determining task processing data corresponding to multiple second client terminals according to the task start time and task end time corresponding to each second client terminal.
  • the method further includes: storing the task processing rule.
  • generating the task processing rule according to the task processing factor before generating the task processing rule according to the task processing factor, it further includes: determining the target sequence length of the task sorting result; and generating the task processing rule according to the task processing factor includes: generating the task processing rule according to the task processing factor and the target sequence length.
  • the task is a live room task
  • the determining the task processing data corresponding to the multiple second clients includes: obtaining the task processing data corresponding to the live broadcast room, where the live room is the live room where the first client, the second client, and the third client are located; determining the task processing data corresponding to the plurality of second client terminals according to the task processing data corresponding to the live broadcast room, the task start time and the task end time corresponding to each second client.
  • the task processing data corresponding to the live broadcast room includes a plurality of live broadcast moments and corresponding task processing data; the plurality of live broadcast moments include task start time and task end time corresponding to each second client; determining task processing data corresponding to multiple second client terminals according to the task processing data corresponding to the live broadcast room, task start time and task end time corresponding to each second client terminal, includes: determining task processing data corresponding to task end time and task processing data corresponding to task start time according to the multiple live broadcast moments and corresponding task processing data; The difference between the task processing data corresponding to the task end time and the task processing data corresponding to the task start time is determined as the task processing data.
  • a task processing method including: displaying any In response to the task processing factor setting operation acting on the task setting interface, send the task processing factor to the server, so that the server generates a task processing rule according to the task processing factor, thereby determining a task processing result according to the task processing rule and task processing data corresponding to a plurality of second client terminals, and sending the task processing result to a third client.
  • the server after displaying the task setting interface, it further includes, in response to the processing range factor setting operation acting on the task setting interface, sending the processing range factor to the server, so that the server determines the task processing data corresponding to the plurality of second client terminals according to the processing range factor.
  • a task processing device including: an acquisition module, configured to acquire a task processing factor sent by a first client; a rule generation module, configured to generate a task processing rule according to the task processing factor; a data determination module, configured to determine task processing data corresponding to a plurality of second client terminals; a result determination module, configured to determine a task processing result according to the task processing rule and task processing data; and a first sending module, configured to send the task processing result to a third client.
  • the task processing result includes a task sorting result
  • the result determination module is specifically configured to: determine the task execution result corresponding to each second client according to the task processing rule and the task processing data corresponding to each second client; and sort according to the task execution result corresponding to the second client to obtain the task ranking result.
  • the task processing factors include multiple factors
  • the rule generating module is specifically configured to: perform weighted summation of each factor in the task processing factors to generate the task processing rules.
  • the data determination module is specifically configured to: obtain a task start time and a task end time corresponding to each second client in the plurality of second clients; and determine task processing data corresponding to the plurality of second clients according to the task start time and task end time corresponding to each second client.
  • the device further includes: a storage module configured to store the task processing rules.
  • the device further includes: a sequence length determination module configured to determine a target sequence length of a task sorting result; the rule generating module is specifically configured to: generate a task processing rule according to the task processing factor and the target sequence length.
  • the task is a live broadcast room task
  • the data determination module is specifically configured to: obtain task processing data corresponding to the live broadcast room, where the live broadcast room is the live broadcast room where the first client, the second client, and the third client are located; determine the task processing data corresponding to multiple second client terminals according to the task processing data corresponding to the live broadcast room, the task start time and the task end time corresponding to each second client.
  • the task processing data corresponding to the live broadcast room includes multiple live broadcast moments and corresponding task processing data; the multiple live broadcast moments include task start time and task end time corresponding to each second client; the data determination module 803 is specifically configured to: determine the task processing data corresponding to the task end time and the task processing data corresponding to the task start time according to the multiple live broadcast moments and the corresponding task processing data; data.
  • a task processing device including: a display module, configured to display a task setting interface; a second sending module, configured to respond to a task processing factor setting operation acting on the task setting interface, and send the task processing factor to a server, so that the server generates a task processing rule according to the task processing factor, so as to determine a task according to the task processing rule and task processing data corresponding to multiple second clients Processing the result and sending the task processing result to the third client.
  • the device further includes: a third sending module, configured to send the processing range factor to the server in response to the processing range factor setting operation acting on the task setting interface, so that the server determines the task processing data corresponding to the plurality of second clients according to the processing range factor.
  • a third sending module configured to send the processing range factor to the server in response to the processing range factor setting operation acting on the task setting interface, so that the server determines the task processing data corresponding to the plurality of second clients according to the processing range factor.
  • an electronic device including: a processor and a memory;
  • the memory stores computer-executable instructions
  • the processor executes the computer-executable instructions stored in the memory, so that the processor executes the task processing method described in the above first aspect and various possible designs of the first aspect.
  • an electronic device including: a display, a processor, and a memory;
  • the memory stores computer-executable instructions; the display is connected to the processor for receiving selected operations and displaying task sorting results;
  • the processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the task processing method as described in the second aspect above.
  • a computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the task processing method described in the above first aspect and various possible designs of the first aspect is implemented, or the task processing method described in the above second aspect is implemented.
  • a computer program product including a computer program.
  • the computer program is executed by a processor, the task processing method described in the above first aspect and various possible designs of the first aspect is implemented, or, the task processing method described in the above second aspect is implemented.
  • a computer program is provided.
  • the computer program is executed by a processor, the task processing method described in the above first aspect and various possible designs of the first aspect is implemented, or the task processing method described in the above second aspect is implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开实施例提供一种任务处理方法、设备、存储介质及程序产品,该方法首先根据第一用户端发送的任务处理因子生成任务处理规则,进而根据该任务处理规则和多个第二用户端对应的任务处理数据,确定任务处理结果,并将任务处理结果发送给第三用户端。

Description

任务处理方法、设备、存储介质及程序产品
相关申请的交叉引用
本申请要求于2022年1月24日提交的、申请号为202210079796.9、名称为“任务处理方法、设备、存储介质及程序产品”的中国专利申请的优先权,其全部内容通过引用并入本文。
技术领域
本公开实施例涉及计算机与网络通信技术领域,尤其涉及一种任务处理方法、设备、存储介质及程序产品。
背景技术
随着移动互联网的发展,直播逐步成为人们生活娱乐方式中不可或缺的部分。在一场直播中,主播可以创建直播间及直播任务,其他用户也可以进入直播间参与直播任务及观看直播任务结果。
现有技术中,通常是人工主观的判断直播任务结果,例如主播可以通过实时聆听和观看的方式来对任务结果进行判断。
然而,实现本申请过程中,发明人发现现有技术中至少存在如下问题:现有的方式较主观,无法保证直播任务结果的准确性,此外,通过观看全程直播内容进行判断的方式时间长,效率较低。
发明内容
本公开实施例提供一种任务处理方法、设备、存储介质及程序产品,以克服现有的方式较主观,无法保证直播任务结果的准确性的问题,以及通过观看全程直播内容进行判断的方式时间长,效率较低的问题。
第一方面,本公开实施例提供一种任务处理方法,包括:
获取第一用户端发送的任务处理因子;
根据所述任务处理因子生成任务处理规则;
确定多个第二用户端对应的任务处理数据;
根据所述任务处理规则和任务处理数据确定任务处理结果;以及
将所述任务处理结果发送至第三用户端。
第二方面,本公开实施例提供一种任务处理方法,应用于第一用户端,包括:
显示任务设置界面;
响应于作用于所述任务设置界面的任务处理因子设置操作,向服务端发送所述任务处理因子,以使服务端根据所述任务处理因子生成任务处理规则、从而根据所述任务处理规则和多个第二用户端对应的任务处理数据确定任务处理结果并将所述任务处理结果发送至第三用户端。
第三方面,本公开实施例提供一种任务处理设备,包括:
获取模块,用于获取第一用户端发送的任务处理因子;
规则生成模块,用于根据所述任务处理因子生成任务处理规则;
数据确定模块,用于确定多个第二用户端对应的任务处理数据;
结果确定模块,用于根据所述任务处理规则和任务处理数据确定任务处理结果;以及
第一发送模块,用于将所述任务处理结果发送至第三用户端。
第四方面,本公开实施例提供一种任务处理设备,包括:
显示模块,用于显示任务设置界面;
第二发送模块,用于响应于作用于所述任务设置界面的任务处理因子设置操作,向服务端发送所述任务处理因子,以使服务端根据所述任务处理因子生成任务处理规则、从而根据所述任务处理规则和多个第二用户端对应的任务处理数据确定任务处理结果并将所述任务处理结果发送至第三用户端。
第五方面,本公开实施例提供一种电子设备,包括:处理器和存储器;
所述存储器存储计算机执行指令;
所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如上第一方面以及第一方面各种可能的设计所述的任务处理方法。
第六方面,本公开实施例提供一种电子设备,包括:显示器、处理器和存储器;
所述存储器存储计算机执行指令;所述显示器与所述处理器连接,用于接收选定操作,还用于显示任务排序结果;
所述处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第二方面所述的任务处理方法。
第七方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的任务处理方法,或者,实现如上第二方面所述的任务处理方法。
第八方面,本公开实施例提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的任务处理方法,或者,实现如上第二方面所述的任务处理方法。
第九方面,本公开实施例提供一种计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的任务处理方法,或者,实现如上第二方面所述的任务处理方法。
附图说明
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的任务处理方法的应用场景示意图;
图2为本公开实施例提供的任务处理方法流程示意图一;
图3为本公开实施例提供的任务处理方法的原理示意图;
图4为本公开实施例提供的任务处理方法流程示意图二;
图5为本公开实施例提供的任务设置界面的示意图一;
图6为本公开实施例提供的任务设置界面的示意图二;
图7为本公开实施例提供的任务设置界面的示意图三;
图8为本公开实施例提供的任务处理设备的结构框图一;
图9为本公开实施例提供的任务处理设备的结构框图二;
图10为本公开实施例提供的电子设备的硬件结构示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
随着移动互联网的发展,直播逐步成为人们生活娱乐方式中不可或缺的部分。直播通常以直播间的形式呈现。例如脱口秀直播间、KTV直播间等,以KTV直播间为例,KTV直播间可以由主播创建房间,然后其他用户可以进入直播间轮流演唱自己所点的歌曲。主播为了提升直播间热度可以从自己或其他用户的演出任务中确定任务结果来优化后续的直播内容。
现有技术中,主播可以通过实时聆听和观看的方式来对演出任务的结果进行判断。然而现有的判断方式较主观,缺少数据支撑,无法保证评判的准确性,且观看全程直播内容占用时间,效率较低。
为了解决上述问题,本申请发明人研究发现,可以根据用户选定的任务处理因子生成对应的任务处理规则,实现快速的多维度确定任务结果。基于此,本公开实施例提供了一种任务处理方法,能够实现多维度确定任务结果,大大降低了挖掘过程中的主观性,提高了任务处理的准确性及效率。
参考图1,图1为本公开实施例提供的任务处理方法的应用场景示意图。如图1所示,第一用户端101、第二用户端102和第三用户端103均与任务处理设备105连接,第一用户端例如为主播端,第二用户端例如为嘉宾端,第三用户端例如为观众端。以直播间形式的直播为例,第一用户端101用于响应于主播输入的指令,创建直播间,以使演出用户可以通过第二用户终端102进入直播间进行演出,还用于响应于主播在任务设置界面对任务处理因子的设置操作,将选定的任务处理因子发送给任务处理设备105。第二用户端102,用于响应于演出用户输入的开始或结束的指令,录制演出用户的演出任务,还可以将演出任务的开始时间和结束时间发送给任务处理设备105。第三用户端103,用于响应于进入直播间观看演出任务的观看用户的互动指令,生成多个第二用户端102对应的任务处理数据。第三用户端103可以将任务处理数据直接发送给任务处理设备105或者是将任务处理数据首先存储于服务器,再通过服务器发送给任务处理设备105。任务处理设备105,用于获取第一用户端101发送的任务处理因子,根据所述任务处理因子生成任务处理规则,确定多个第二用户端102对应的任务处理数据,根据所述任务处理规则和任务处理数据确定任务处理结果,以及将所述任务处理结果发送至第三用户端103。
需要说明的是,第一用户端101、第二用户端102和第三用户端103的划分是从功能上的 划分,同一硬件终端可以同时搭载上述至少一个用户端所实现的功能。例如,第三用户端103可以为主播应用的第一用户端101,还可以为演出用户应用的第二用户端102,还可以为观看用户应用的终端。本实施例对此不做限定。
在具体实现过程中,第一用户端101响应于主播输入的指令,创建直播间,并响应于主播在任务设置界面对任务处理因子的设置操作,将主播选定的任务处理因子发送给任务处理设备105,第二用户端102响应于演出用户输入的开始或结束的指令,录制演出用户的演出任务,可以将演出任务的开始时间和结束时间发送给任务处理设备105,第三用户端103响应于进入直播间观看演出任务的观看用户的互动指令,生成多个第二用户端102对应的任务处理数据,还可以直接或通过服务器等设备间接发送给任务处理设备105。任务处理设备105获取第一用户端101发送的任务处理因子,根据所述任务处理因子生成任务处理规则,确定多个第二用户端102对应的任务处理数据,根据所述任务处理规则和任务处理数据确定任务处理结果,以及将所述任务处理结果发送至第三用户端103。例如,可以发送给主播的第一用户端101,以便主播根据任务处理结果快速挖掘有价值的热点内容,对直播节目进行优化,提高直播间热度。
从以上描述可知,本实施例提供的任务处理方法,基于第一用户端发送的任务处理因子,生成对应的任务处理规则,并根据生成的任务处理规则获得对应的任务处理结果,能够实现多维度确定任务结果,大大降低了挖掘过程中的主观性,提高了任务处理的准确性及效率。
参考图2,图2为本公开实施例提供的任务处理方法流程示意图。本实施例的方法可以应用于如图1所示的任务处理设备104,该任务处理方法包括:
201、获取第一用户端发送的任务处理因子。
其中,任务处理因子可以为演出任务播放过程中获取的任务处理数据的类型,类型可以包括互动数据类型(点赞量/量级、评论量/量级)、资源类型(礼物类型)等。演出任务可以是各种类型的演出,例如可以是歌曲、舞蹈、脱口秀或相声等,本实施例对此不做限定。
202、根据所述任务处理因子生成任务处理规则。
具体的,在获得第一用户端发送的任务处理因子,例如评论量级,则可以生成对应的任务处理规则,例如根据评论量级确定N个演出任务,N为正整数。任务处理规则即用户确定任务处理结果的判断条件,任务处理因子即任务处理规则对应的判断因子,用于生成所述判断条件。
可选地,所述任务处理因子可以包括多项因子,所述根据所述任务处理因子生成任务处理规则,可以包括:将所述任务处理因子中的各项因子进行加权求和,生成所述任务处理规则。
示例性的,任务处理因子可以包括评论量/量级和点赞量/量级两项因子。则可以将评论量/量级和点赞量/量级进行加权求和,获得任务处理规则。
203、确定多个第二用户端对应的任务处理数据。
具体的,在根据选定的任务处理因子生成任务处理规则后,则可以按照任务处理规则,计算多个第二用户端的各演出任务分别对应的任务处理数据,示例性的,假设任务处理规则为基于评论量级和点赞量级的加权和进行任务筛选或排序,则可以针对每个演出任务,获取演出任务播出过程中获得的评论量级和点赞量级,并将两者的加权和作为该演出任务的任务处理数据。
针对每个第二用户端的每个演出任务,确定所述演出任务的任务处理数据的方式有多种。
在一种可实现方式中,可以在接收到演出任务的开始指令时,即接收到演出者对显示界面中的开始演出的控件的触控操作后,可以对任务处理数据,例如任务对应的评论量进行累计,直至接收到演出任务的结束指令时,即接收到演出者对显示界面中的结束演出的控件的触控操作后,可以对评论量结束累计,并将当前累计值确定为演出任务的评论量。
在另一种可实现方式中,假设任务为直播间任务,每个直播间任务包括多个演出任务,获取所述直播间对应的任务处理数据,所述直播间为所述第一用户端、第二用户端及第三用户端所在的直播间;根据所述直播间对应的任务处理数据、每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据。可选地,所述直播间对应的任务处理数据包括多个直播时刻及对应的任务处理数据;所述多个直播时刻包括每个第二用户端对应的任务起始时刻和任务结束时刻;根据所述直播间对应的任务处理数据、每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据,包括:根据所述多个直播时刻及对应的任务处理数据确定任务结束时刻对应的任务处理数据与任务起始时刻对应的任务处理数据;及针对每个第二用户端,将任务结束时刻对应的任务处理数据与任务起始时刻对应的任务处理数据的差值确定为所述任务处理数据。
在又一种可实现方式中,多个演出任务来自多个直播间,所述演出任务包括直播间标识,可以针对每个直播间标识对应的直播间,自所述直播间开播时间起,对直播间内产生的任务处理数据进行累计,获得所述任务处理数据的累计值;所述累计值包括任务处理数据的生成时间;获取所述直播间内各演出任务的开始时间和结束时间。根据所述任务处理规则、所述直播间标识下的所述累计值和各演出任务的开始时间和结束时间,确定每个所述直播间标识下每个所述演出任务对应的任务处理数据。具体的,针对每个所述直播间标识下的每个所述演出任务,获取所述演出任务的起始时间对应的所述直播间标识下所述累计值中的第一累计值和所述演出任务的结束时间对应的所述直播间标识下所述累计值中的第二累计值;将所述第一累计值与所述第二累计值之间的差值确定为所述演出任务的任务处理数据。
204、根据所述任务处理规则和任务处理数据确定任务处理结果。
具体的,在根据任务处理因子,例如评论量级,生成任务处理规则后,例如多个第二用户端对应的多个演出任务,根据多个演出任务对应的评论量级的关系进行前N个演出任务的筛选。可以根据任务处理规则和确定的每个演出任务对应的任务处理数据,对各演出任务进行处理,获得任务处理结果,例如获得多个演出任务中量级靠前N个演出任务。
205、将所述任务处理结果发送至第三用户端。
具体的,在获得任务处理结果后,例如获得多个第二用户端的多个演出任务中前N个演出任务,可以将该任务处理结果发送给第三用户端,该第三用户端可以是主播对应的第一用户端,或演出用户对应的第二用户端,或观看用户对应的第三用户端。
从上述描述可知,本实施例基于第一用户端发送的任务处理因子,生成对应的任务处理规则,并根据生成的任务处理规则获得对应的任务处理结果,能够实现多维度确定任务结果,大大降低了挖掘过程中的主观性,提高了任务处理的准确性及效率。
在本公开的一个实施例中,例如在图2所示实施例的基础上,为了便于用户快速获取有价值信息,本实施例中可以具体的获得任务排序结果,并将任务排序结果发送给第三用户端。具体的,步骤204可以包括:根据所述任务处理规则和每个第二用户端对应的任务处理数据 确定每个第二用户端对应任务执行结果;及根据第二用户端对应的任务执行结果进行排序,获得任务排序结果。
为便于理解,以下结合图3对上述实现方式进行示例说明:第一用户端将主播选定的任务处理因子,评论量级,发送给任务处理设备的规则生成模块,第二用户端可以在当前的演出任务结束后,将演出任务的开始时间和结束时间发送给任务处理设备,观看用户终端将用户评论事件(评论发生的时间)发送给任务处理设备的实时计算模块。实时计算模块对自直播间开播起的评论事件进行累计得到评论量累计值,并将评论量累计值存储于存储模块中,规则生成模块根据评论量生成任务处理规则,将任务处理规则存储于存储模块中,处理模块和排序模块获取任务处理规则和评论量累计值,其中,处理模块根据演出任务的开始时间和结束时间,分别获取第一累计值和第二累计值,并对第一累计值和第二累计值求差得到演出任务的评论量,该评论量即为演出任务的任务处理数据,获取当前排序列表中各演出任务,即历史演出任务的评论量后,排序模块根据任务处理规则,即按照评论量高低排序的规则,对多个评论量进行排序,得到任务排序结果,并将任务排序结果发送给第一用户端,以使主播根据任务排序结果快速挖掘有价值的热点内容,对直播节目进行优化,提高直播间热度。
在本公开的一个实施例中,为了能够使用户及时获得最新的演出任务排序情况,本公开实施例中增加了任务排序结果实时更新的介绍,在获得任务排序结果之后还可以包括:根据所述任务处理规则和当前演出任务的起始时间和结束时间,确定所述当前演出任务的任务处理数据;将所述当前演出任务的任务处理数据与所述任务排序结果中各演出任务分别对应的任务处理数据进行比较,并根据比较结果对所述任务排序结果进行更新。
从上述描述可知,通过在直播过程中,对任务排序结果进行实时更新,能够使用户及时看到最新的排序情况,以便及时挖掘到有价值的演出任务。
在本公开的一个实施例中,在上述图2实施例的基础上,为了便于用户操作,在上述实施例的步骤201之前还可以包括:调用上次设置的任务处理规则作为当前的任务处理规则生成任务排序结果。相应的,步骤201之后,还包括:将所述任务处理规则存储为所述当前的任务处理规则。
具体的,可以将根据用户选定的任务处理因子生成的任务处理规则存储为当前的任务处理规则,任务排序结果根据当前的任务处理规则生成。若主播暂时退出直播间,又重新返回直播间时,或者,若当前直播间的直播结束后,用户重新创建了直播间,进行新的直播时,可以调用当前的任务处理规则生成任务排序结果。若用户重新选择了任务处理因子,则将新生成的任务处理规则确定为当前的任务处理规则。
从上述描述可知,本实施例提供的任务处理方法,响应于用户的保存请求,可以对任务处理规则进行存储,便于用户使用,提升用户体验。
在本公开的一个实施例中,在上述图2实施例的基础上,为了提高任务处理结果的展示灵活性,本公开实施例中增加了序列长度的选项,步骤201具体包括:确定任务排序结果的目标序列长度,根据所述任务处理因子和所述目标序列长度生成任务处理规则。
示例性的,在参与排序的演出任务较多时,例如,用户选定了多场直播,即多个直播间的演出任务参与排序,或者当前直播间的演出任务较多,用户可以自定义任务结果对应的展示数量,提升用户体验。
从上述描述可知,通过为用户提供序列长度的选项,能够为用户显示其需要展示的任务 结果,提高了效率。
参考图4,图4为本公开实施例提供的任务处理方法流程示意图。本实施例的方法可以应用于如图1所示的第一用户端101,该任务处理方法包括:
401、显示任务设置界面。
402、响应于作用于所述任务设置界面的任务处理因子设置操作,向服务端发送所述任务处理因子,以使服务端根据所述任务处理因子生成任务处理规则、从而根据所述任务处理规则和多个第二用户端对应的任务处理数据确定任务处理结果并将所述任务处理结果发送至第三用户端。
示例性的,主播在创建直播间后,在直播过程中,主播可以通过在任务设置界面进行任务处理因子的设置操作,如图5所示,任务设置界面中可以包括多个任务处理因子,评论量、点赞量、送礼量等,还可以包括各种组合,例如综合1,即包括了评论量和点赞量。假设用户选定评论量作为任务处理因子,以根据评论量生成任务处理规则,则任务处理规则可以是按照演出任务的评论量从高到低的顺序进行演出任务的排序。
在本公开的一个实施例中,所述任务处理因子可以包括多项因子,所述生成对多个演出任务的任务处理规则,可以包括:将选定的任务处理因子中的各项因子进行加权求和,生成所述任务处理规则。多个任务处理因子的选择方式有多种:在一种可实现方式中,如图5所示,可以以综合选项来为用户提供可能的组合,假设用户选择了综合1:评论+点赞,则任务处理规则可以设定为根据演出任务的评论量和点赞量的加权和,筛选演出任务。在另一种可实现方式中,如图6所示,可以设置多选控件,在用户需要进行多项任务处理因子的选择时,可以首先选择多选,然后进行多项选择,假设用户在选择了多选控件,以及选择了评论量和点赞量作为任务处理因子后,则任务处理规则可以设定为根据评论量和点赞量的加权和,筛选演出任务。本公开实施例对此不做限定。
在本公开实施例中,任务处理数据对应的多个第二用户端的演出任务的来源的选定方式可以有多种。
在一种可实现方式中,多个演出任务的范围可以进行默认设定,例如可以默认设定为当前直播间已结束来自参与该直播间演出的各第二用户端的各演出任务,或者,默认设定为当天该直播平台同类型演出任务等。可以向用户推送时间维度的选择控件,例如,响应于用户对时间维度的选择控件的触控操作,可以获取该主播自起始日期至终止日期之间的所有演出任务作为多个第二用户端的演出任务。
在另一种可实现方式中,可以响应作用于任务设置界面对处理范围因子的选定操作,获得多个演出任务。其中,所述处理范围因子可以包括以下中至少一项:直播间标识、主播账号、参与演出者账号、起止日期。
示例性的,如图7所示,可以向用户推送处理范围因子的选择控件:直播间标识控件、参与演出账号控件、主播账号控件、起止日期控件。以直播间标识控件为例,可以显示多个直播间标识控件(怀旧直播、年会直播、中秋直播、街舞直播)。用户对于上述各控件可以仅选择一项或者同时选择两项以上,例如可以仅选定直播间标识,或者既选定主播账号又选定起止时期。
示例性的,如图6所示,当前页面显示的任务排序结果的长度超出一页的显示高度时,可以分多页显示。此外,本公开任务也并不仅限于演出任务,还可以是活动任务、游戏任务 等等。
对应于上文图2所示实施例的任务处理方法,图8为本公开实施例提供的任务处理设备的结构框图一。为了便于说明,仅示出了与本公开实施例相关的部分。参照图8,所述任务处理设备80包括:获取模块801、规则生成模块802、数据确定模块803、结果确定模块804及第一发送模块805。
其中,获取模块801,用于获取第一用户端发送的任务处理因子;
规则生成模块802,用于根据所述任务处理因子生成任务处理规则;
数据确定模块803,用于确定多个第二用户端对应的任务处理数据;
结果确定模块804,用于根据所述任务处理规则和任务处理数据确定任务处理结果;以及
第一发送模块805,用于将所述任务处理结果发送至第三用户端。
根据本公开的一个或多个实施例,所述任务处理结果包括任务排序结果;结果确定模块804,具体用于:根据所述任务处理规则和每个第二用户端对应的任务处理数据确定每个第二用户端对应任务执行结果;及根据第二用户端对应的任务执行结果进行排序,获得任务排序结果。
在本公开的一个实施例中,所述任务处理因子包括多项因子,所述规则生成模块802,具体用于:将所述任务处理因子中的各项因子进行加权求和,生成所述任务处理规则。
在本公开的一个实施例中,所述数据确定模块803,具体用于:获取多个第二用户端中每个第二用户端对应的任务起始时间和任务结束时间;根据每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据。
在本公开的一个实施例中,所述设备80还包括:存储模块,用于存储所述任务处理规则。
在本公开的一个实施例中,所述设备80,还包括:序列长度确定模块,用于确定任务排序结果的目标序列长度;所述规则生成模块802,具体用于:根据所述任务处理因子和所述目标序列长度生成任务处理规则。
在本公开的一个实施例中,所述任务为直播间任务,所述数据确定模块803,具体用于:获取所述直播间对应的任务处理数据,所述直播间为所述第一用户端、第二用户端及第三用户端所在的直播间;根据所述直播间对应的任务处理数据、每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据。
在本公开的一个实施例中,所述直播间对应的任务处理数据包括多个直播时刻及对应的任务处理数据;所述多个直播时刻包括每个第二用户端对应的任务起始时刻和任务结束时刻;所述数据确定模块803,具体用于:根据所述多个直播时刻及对应的任务处理数据确定任务结束时刻对应的任务处理数据与任务起始时刻对应的任务处理数据;及针对每个第二用户端,将任务结束时刻对应的任务处理数据与任务起始时刻对应的任务处理数据的差值确定为所述任务处理数据。
本实施例提供的设备,可用于执行上述以任务处理设备为执行主体的方法实施例的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。
对应于上文图4所示实施例的任务处理方法,图9为本公开实施例提供的任务处理设备的结构框图二。为了便于说明,仅示出了与本公开实施例相关的部分。参照图9,所述设备90包括:显示模块901及第二发送模块902。
显示模块901,用于显示任务设置界面;
第二发送模块902,用于响应于作用于所述任务设置界面的任务处理因子设置操作,向服务端发送所述任务处理因子,以使服务端根据所述任务处理因子生成任务处理规则、从而根据所述任务处理规则和多个第二用户端对应的任务处理数据确定任务处理结果并将所述任务处理结果发送至第三用户端。
本实施例提供的设备,可用于执行上述以第一用户端为执行主体的方法实施例的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。
为了实现上述实施例,本公开实施例还提供了一种电子设备。
参考图10,其示出了适于用来实现本公开实施例的电子设备1000的结构示意图,该电子设备1000可以为终端设备或服务器。其中,终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device称PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图10示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图10所示,电子设备1000可以包括处理装置(例如中央处理器、图形处理器等)1001,其可以根据存储在只读存储器(Read Only Memory,ROM)1002中的程序或者从存储装置1008加载到随机访问存储器(Random Access Memory,RAM)1003中的程序而执行各种适当的动作和处理。在RAM 1003中,还存储有电子设备1000操作所需的各种程序和数据。处理装置1001、ROM 1002以及RAM 1003通过总线1004彼此相连。输入/输出(Input/Output,I/O)接口1005也连接至总线1004。
通常,以下装置可以连接至I/O接口1005:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1006;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置1007;包括例如磁带、硬盘等的存储装置1008;以及通信装置1009。通信装置1009可以允许电子设备1000与其他设备进行无线或有线通信以交换数据。虽然图10示出了具有各种装置的电子设备1000,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1009从网络上被下载和安装,或者从存储装置1008被安装,或者从ROM 1002被安装。在该计算机程序被处理装置1001执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disk-Read Only Memory,CD-ROM)、光存储器件、磁存储器件、或者 上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述实施例所示的方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Product,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质 可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
第一方面,根据本公开的一个或多个实施例,提供了一种任务处理方法,包括:
获取第一用户端发送的任务处理因子;
根据所述任务处理因子生成任务处理规则;
确定多个第二用户端对应的任务处理数据;
根据所述任务处理规则和任务处理数据确定任务处理结果;以及
将所述任务处理结果发送至第三用户端。
根据本公开的一个或多个实施例,所述任务处理结果包括任务排序结果;所述根据所述任务处理规则和任务处理数据确定任务处理结果,包括:根据所述任务处理规则和每个第二用户端对应的任务处理数据确定每个第二用户端对应任务执行结果;及根据第二用户端对应的任务执行结果进行排序,获得任务排序结果。
根据本公开的一个或多个实施例,所述任务处理因子包括多项因子,所述根据所述任务处理因子生成任务处理规则,包括:将所述任务处理因子中的各项因子进行加权求和,生成所述任务处理规则。
根据本公开的一个或多个实施例,所述确定多个第二用户端对应的任务处理数据,包括:获取多个第二用户端中每个第二用户端对应的任务起始时间和任务结束时间;根据每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据。
根据本公开的一个或多个实施例,所述根据所述任务处理因子生成任务处理规则之后,还包括:存储所述任务处理规则。
根据本公开的一个或多个实施例,所述根据所述任务处理因子生成任务处理规则之前,还包括:确定任务排序结果的目标序列长度;所述根据所述任务处理因子生成任务处理规则,包括:根据所述任务处理因子和所述目标序列长度生成任务处理规则。
根据本公开的一个或多个实施例,所述任务为直播间任务,所述确定多个第二用户端对应的任务处理数据,包括:获取所述直播间对应的任务处理数据,所述直播间为所述第一用户端、第二用户端及第三用户端所在的直播间;根据所述直播间对应的任务处理数据、每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据。
根据本公开的一个或多个实施例,所述直播间对应的任务处理数据包括多个直播时刻及对应的任务处理数据;所述多个直播时刻包括每个第二用户端对应的任务起始时刻和任务结束时刻;所述根据所述直播间对应的任务处理数据、每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据,包括:根据所述多个直播时刻及对应的任务处理数据确定任务结束时刻对应的任务处理数据与任务起始时刻对应的任务处理数据;及针对每个第二用户端,将任务结束时刻对应的任务处理数据与任务起始时刻对应的任务处理数据的差值确定为所述任务处理数据。
第二方面,根据本公开的一个或多个实施例,提供了一种任务处理方法,包括:显示任 务设置界面;响应于作用于所述任务设置界面的任务处理因子设置操作,向服务端发送所述任务处理因子,以使服务端根据所述任务处理因子生成任务处理规则、从而根据所述任务处理规则和多个第二用户端对应的任务处理数据确定任务处理结果并将所述任务处理结果发送至第三用户端。
根据本公开的一个或多个实施例,所述显示任务设置界面之后,还包括,响应于作用于所述任务设置界面的处理范围因子设置操作,将处理范围因子发送给服务端,以使服务端根据所述处理范围因子确定多个第二用户端对应的任务处理数据。
第三方面,根据本公开的一个或多个实施例,提供了一种任务处理设备,包括:获取模块,用于获取第一用户端发送的任务处理因子;规则生成模块,用于根据所述任务处理因子生成任务处理规则;数据确定模块,用于确定多个第二用户端对应的任务处理数据;结果确定模块,用于根据所述任务处理规则和任务处理数据确定任务处理结果;以及第一发送模块,用于将所述任务处理结果发送至第三用户端。
根据本公开的一个或多个实施例,所述任务处理结果包括任务排序结果;结果确定模块,具体用于:根据所述任务处理规则和每个第二用户端对应的任务处理数据确定每个第二用户端对应任务执行结果;及根据第二用户端对应的任务执行结果进行排序,获得任务排序结果。
根据本公开的一个或多个实施例,所述任务处理因子包括多项因子,所述规则生成模块,具体用于:将所述任务处理因子中的各项因子进行加权求和,生成所述任务处理规则。
根据本公开的一个或多个实施例,所述数据确定模块,具体用于:获取多个第二用户端中每个第二用户端对应的任务起始时间和任务结束时间;根据每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据。
根据本公开的一个或多个实施例,所述设备还包括:存储模块,用于存储所述任务处理规则。
根据本公开的一个或多个实施例,所述设备,还包括:序列长度确定模块,用于确定任务排序结果的目标序列长度;所述规则生成模块,具体用于:根据所述任务处理因子和所述目标序列长度生成任务处理规则。
根据本公开的一个或多个实施例,所述任务为直播间任务,所述数据确定模块,具体用于:获取所述直播间对应的任务处理数据,所述直播间为所述第一用户端、第二用户端及第三用户端所在的直播间;根据所述直播间对应的任务处理数据、每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据。
根据本公开的一个或多个实施例,所述直播间对应的任务处理数据包括多个直播时刻及对应的任务处理数据;所述多个直播时刻包括每个第二用户端对应的任务起始时刻和任务结束时刻;所述数据确定模块803,具体用于:根据所述多个直播时刻及对应的任务处理数据确定任务结束时刻对应的任务处理数据与任务起始时刻对应的任务处理数据;及针对每个第二用户端,将任务结束时刻对应的任务处理数据与任务起始时刻对应的任务处理数据的差值确定为所述任务处理数据。
第四方面,根据本公开的一个或多个实施例,提供了一种任务处理设备,包括:显示模块,用于显示任务设置界面;第二发送模块,用于响应于作用于所述任务设置界面的任务处理因子设置操作,向服务端发送所述任务处理因子,以使服务端根据所述任务处理因子生成任务处理规则、从而根据所述任务处理规则和多个第二用户端对应的任务处理数据确定任务 处理结果并将所述任务处理结果发送至第三用户端。
根据本公开的一个或多个实施例,所述设备还包括:第三发送模块,用于响应于作用于所述任务设置界面的处理范围因子设置操作,将处理范围因子发送给服务端,以使服务端根据所述处理范围因子确定多个第二用户端对应的任务处理数据。
第五方面,根据本公开的一个或多个实施例,提供了一种电子设备,包括:处理器和存储器;
所述存储器存储计算机执行指令;
所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如上第一方面以及第一方面各种可能的设计所述的任务处理方法。
第六方面,根据本公开的一个或多个实施例,提供了一种电子设备,包括:显示器、处理器和存储器;
所述存储器存储计算机执行指令;所述显示器与所述处理器连接,用于接收选定操作,还用于显示任务排序结果;
所述处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第二方面所述的任务处理方法。
第七方面,根据本公开的一个或多个实施例,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的任务处理方法,或者,实现如上第二方面所述的任务处理方法。
第八方面,根据本公开的一个或多个实施例,提供了一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的任务处理方法,或者,实现如上第二方面所述的任务处理方法。
第九方面,根据本公开的一个或多个实施例,提供了一种计算机程序,所述计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的任务处理方法,或者,实现如上第二方面所述的任务处理方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (16)

  1. 一种任务处理方法,包括:
    获取第一用户端发送的任务处理因子;
    根据所述任务处理因子生成任务处理规则;
    确定多个第二用户端对应的任务处理数据;
    根据所述任务处理规则和任务处理数据确定任务处理结果;以及
    将所述任务处理结果发送至第三用户端。
  2. 根据权利要求1所述的方法,其中,所述任务处理结果包括任务排序结果;
    所述根据所述任务处理规则和任务处理数据确定任务处理结果,包括:
    根据所述任务处理规则和每个第二用户端对应的任务处理数据确定每个第二用户端对应任务执行结果;及
    根据第二用户端对应的任务执行结果进行排序,获得任务排序结果。
  3. 根据权利要求1或2所述的方法,其中,所述任务处理因子包括多项因子,所述根据所述任务处理因子生成任务处理规则,包括:
    将所述任务处理因子中的各项因子进行加权求和,生成所述任务处理规则。
  4. 根据权利要求1至3中任一项所述的方法,其中,所述确定多个第二用户端对应的任务处理数据,包括:
    获取多个第二用户端中每个第二用户端对应的任务起始时间和任务结束时间;
    根据每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据。
  5. 根据权利要求1至4中任一项所述的方法,其中,所述根据所述任务处理因子生成任务处理规则之后,还包括:存储所述任务处理规则。
  6. 根据权利要求2所述的方法,其中,所述根据所述任务处理因子生成任务处理规则之前,还包括:
    确定任务排序结果的目标序列长度;
    所述根据所述任务处理因子生成任务处理规则,包括:
    根据所述任务处理因子和所述目标序列长度生成任务处理规则。
  7. 根据权利要求1至6中任一项所述的方法,其中,所述任务为直播间任务,所述确定多个第二用户端对应的任务处理数据,包括:
    获取所述直播间对应的任务处理数据,所述直播间为所述第一用户端、第二用户端及第三用户端所在的直播间;
    根据所述直播间对应的任务处理数据、每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据。
  8. 根据权利要求7所述的方法,其中,所述直播间对应的任务处理数据包括多个直播时刻及对应的任务处理数据;所述多个直播时刻包括每个第二用户端对应的任务起始时刻和任务结束时刻;
    所述根据所述直播间对应的任务处理数据、每个第二用户端对应的任务起始时间和任务结束时间确定多个第二用户端对应的任务处理数据,包括:
    根据所述多个直播时刻及对应的任务处理数据确定任务结束时刻对应的任务处理数 据与任务起始时刻对应的任务处理数据;及
    针对每个第二用户端,将任务结束时刻对应的任务处理数据与任务起始时刻对应的任务处理数据的差值确定为所述任务处理数据。
  9. 一种任务处理方法,应用于第一用户端,包括:
    显示任务设置界面;
    响应于作用于所述任务设置界面的任务处理因子设置操作,向服务端发送所述任务处理因子,以使服务端根据所述任务处理因子生成任务处理规则、从而根据所述任务处理规则和多个第二用户端对应的任务处理数据确定任务处理结果并将所述任务处理结果发送至第三用户端。
  10. 一种任务处理设备,包括:
    获取模块,用于获取第一用户端发送的任务处理因子;
    规则生成模块,用于根据所述任务处理因子生成任务处理规则;
    数据确定模块,用于确定多个第二用户端对应的任务处理数据;
    结果确定模块,用于根据所述任务处理规则和任务处理数据确定任务处理结果;以及
    第一发送模块,用于将所述任务处理结果发送至第三用户端。
  11. 一种任务处理设备,包括:
    显示模块,用于显示任务设置界面;
    第二发送模块,用于响应于作用于所述任务设置界面的任务处理因子设置操作,向服务端发送所述任务处理因子,以使服务端根据所述任务处理因子生成任务处理规则。
  12. 一种电子设备,包括:处理器和存储器;
    所述存储器存储计算机执行指令;
    所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如权利要求1至9中任一项所述的任务处理方法。
  13. 一种电子设备,包括:显示器、处理器和存储器;
    所述存储器存储计算机执行指令;所述显示器与所述处理器连接,用于显示任务设置界面;
    所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如权利要求10所述的任务处理方法。
  14. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1至9中任一项所述的任务处理方法,或者,实现如权利要求10所述的任务处理方法。
  15. 一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如权利要求1至9中任一项所述的任务处理方法,或者,实现如权利要求10所述的任务处理方法。
  16. 一种计算机程序,所述计算机程序被处理器执行时实现如权利要求1至9中任一项所述的任务处理方法,或者,实现如权利要求10所述的任务处理方法。
PCT/CN2023/073256 2022-01-24 2023-01-19 任务处理方法、设备、存储介质及程序产品 WO2023138672A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210079796.9A CN116527948A (zh) 2022-01-24 2022-01-24 任务处理方法、设备、存储介质及程序产品
CN202210079796.9 2022-01-24

Publications (1)

Publication Number Publication Date
WO2023138672A1 true WO2023138672A1 (zh) 2023-07-27

Family

ID=87347907

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/073256 WO2023138672A1 (zh) 2022-01-24 2023-01-19 任务处理方法、设备、存储介质及程序产品

Country Status (2)

Country Link
CN (1) CN116527948A (zh)
WO (1) WO2023138672A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348237A (zh) * 2018-09-20 2019-02-15 武汉斗鱼网络科技有限公司 一种直播间管理方法、装置、服务器及存储介质
CN109788307A (zh) * 2019-02-11 2019-05-21 北京字节跳动网络技术有限公司 视频榜单的处理方法、装置、存储介质及电子设备
CN110856008A (zh) * 2019-11-25 2020-02-28 广州虎牙科技有限公司 直播互动方法、装置、系统、电子设备及存储介质
WO2020252751A1 (zh) * 2019-06-20 2020-12-24 深圳市欢太科技有限公司 资源推送方法、装置、服务器以及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348237A (zh) * 2018-09-20 2019-02-15 武汉斗鱼网络科技有限公司 一种直播间管理方法、装置、服务器及存储介质
CN109788307A (zh) * 2019-02-11 2019-05-21 北京字节跳动网络技术有限公司 视频榜单的处理方法、装置、存储介质及电子设备
WO2020252751A1 (zh) * 2019-06-20 2020-12-24 深圳市欢太科技有限公司 资源推送方法、装置、服务器以及存储介质
CN110856008A (zh) * 2019-11-25 2020-02-28 广州虎牙科技有限公司 直播互动方法、装置、系统、电子设备及存储介质

Also Published As

Publication number Publication date
CN116527948A (zh) 2023-08-01

Similar Documents

Publication Publication Date Title
US20220377426A1 (en) Live streaming room red packet processing method and apparatus, and medium and electronic device
US11689760B2 (en) Methods and devices for comment information display and interaction, electronic apparatus, and storage medium
CN110046021B (zh) 一种页面显示方法、装置、系统、设备和存储介质
WO2020199749A1 (zh) 基于反馈的信息推送方法、装置及电子设备
WO2022095954A1 (zh) 基于直播的数据交互方法、装置、电子设备和可读介质
WO2021197024A1 (zh) 视频特效配置文件生成方法、视频渲染方法及装置
CN110263276B (zh) 消息分发方法、装置、设备及存储介质
WO2023051294A9 (zh) 道具处理方法、装置、设备及介质
WO2022042033A1 (zh) 音乐推送方法、装置、电子设备以及存储介质
WO2023109434A1 (zh) 虚拟资源转移方法、装置、设备、可读存储介质及产品
WO2024016902A1 (zh) 多媒体播放方法、设备、存储介质及程序产品
WO2023226623A1 (zh) 媒体内容播放方法、装置、设备、存储介质及产品
CN110941739A (zh) 媒体文件推荐方法、装置、媒体文件服务器及存储介质
US20230102697A1 (en) Information processing method and device
WO2023138672A1 (zh) 任务处理方法、设备、存储介质及程序产品
WO2020233171A1 (zh) 歌单切换方法、装置、系统、终端和存储介质
WO2020186927A1 (zh) 数据分享方法、装置、设备及介质
WO2022268133A1 (zh) 一种模板推荐方法、装置、设备及存储介质
CN115757442A (zh) 用户列表的更新方法、用户列表的显示方法及程序产品
CN115630197A (zh) 媒体内容处理方法、装置和电子设备
US12010356B2 (en) Method and apparatus for sending information in live broadcast room, and electronic device
CN113515329B (zh) 特效属性设置方法及装置
CN110602513B (zh) 一种信息的处理方法、装置及电子设备
CN112905082A (zh) 互动方法、装置、客户端、电子设备及计算机可读介质
CN114900503B (zh) 一种混音方法、装置、处理服务器、媒体服务器及介质

Legal Events

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

Ref document number: 23742987

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE