Task processing method, device, storage medium and program product
By generating task processing rules and determining task results based on the rules and data, the problems of subjectivity and low efficiency in judging live task results are solved, achieving more accurate and efficient task processing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2022-01-24
- Publication Date
- 2026-07-24
AI Technical Summary
The existing methods for judging the results of live streaming tasks are highly subjective, cannot guarantee accuracy, and are inefficient.
By obtaining the task processing factors sent by the user, task processing rules are generated, and the task processing results are determined based on the rules and data, and then sent to the third user.
It enables multi-dimensional determination of task results, reduces subjectivity, and improves the accuracy and efficiency of task processing.
Smart Images

Figure CN116527948B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer and network communication technology, and in particular to a task processing method, device, storage medium, and program product. Background Technology
[0002] With the development of mobile internet, live streaming has gradually become an indispensable part of people's lives and entertainment. In a live stream, the host can create a live stream room and live stream tasks, and other users can also enter the live stream room to participate in the live stream tasks and watch the results of the live stream tasks.
[0003] In existing technologies, the results of live streaming tasks are usually judged subjectively by humans. For example, the host can judge the results of the task by listening and watching in real time.
[0004] However, in the process of realizing this application, the inventors discovered that the prior art has at least the following problems: the existing methods are too subjective and cannot guarantee the accuracy of the results of the live broadcast tasks. In addition, the method of judging by watching the entire live broadcast content is time-consuming and inefficient. Summary of the Invention
[0005] This disclosure provides a task processing method, device, storage medium, and program product to overcome the problem that when a user interrupts input in an input box and then re-enters, the user cannot know the first default prompt information corresponding to the input box, resulting in poor interaction efficiency between the user and the network side.
[0006] In a first aspect, embodiments of this disclosure provide a task processing method, including:
[0007] Obtain the task processing factor sent by the first user client;
[0008] Task processing rules are generated based on the aforementioned task processing factors;
[0009] Determine the task processing data corresponding to multiple second user terminals;
[0010] The task processing result is determined based on the aforementioned task processing rules and task processing data; and
[0011] The task processing result is sent to the third user terminal.
[0012] Secondly, embodiments of this disclosure provide a task processing method applied to a first user terminal, comprising:
[0013] Display the task settings interface;
[0014] In response to the task processing factor setting operation applied to the task settings interface, the task processing factor is sent to the server so that the server generates task processing rules based on the task processing factor, determines the task processing result based on the task processing rules and the task processing data corresponding to multiple second user terminals, and sends the task processing result to the third user terminal.
[0015] Thirdly, embodiments of this disclosure provide a task processing device, including:
[0016] The acquisition module is used to acquire the task processing factor sent by the first user terminal;
[0017] The rule generation module is used to generate task processing rules based on the task processing factors;
[0018] The data determination module is used to determine the task processing data corresponding to multiple second user terminals;
[0019] The result determination module is used to determine the task processing result based on the task processing rules and task processing data; and
[0020] The first sending module is used to send the task processing result to the third user terminal.
[0021] Fourthly, embodiments of this disclosure provide a task processing device, including:
[0022] The display module is used to display the task settings interface;
[0023] The second sending module is used to send the task processing factor to the server in response to the task processing factor setting operation on the task setting interface, so that the server generates task processing rules according to the task processing factor, determines the task processing result according to the task processing rules and the task processing data corresponding to multiple second user terminals, and sends the task processing result to the third user terminal.
[0024] Fifthly, embodiments of this disclosure provide an electronic device, including: a processor and a memory;
[0025] The memory stores computer-executed instructions;
[0026] The processor executes computer execution instructions stored in the memory, causing the processor to perform the task processing method described in the first aspect and various possible designs of the first aspect.
[0027] In a sixth aspect, embodiments of this disclosure provide an electronic device, including: a display, a processor, and a memory;
[0028] The memory stores computer-executed instructions; the display is connected to the processor and is used to receive selected operations and also to display task sorting results;
[0029] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the task processing method as described in the second aspect above.
[0030] In a seventh aspect, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements the task processing method described in the first aspect and various possible designs of the first aspect, or implements the task processing method described in the second aspect.
[0031] Eighthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the task processing method described in the first aspect and various possible designs of the first aspect, or implements the task processing method described in the second aspect.
[0032] The task processing method, device, storage medium, and program product provided in this embodiment first generate task processing rules based on task processing factors sent by a first user terminal, then determine the task processing result based on the task processing rules and task processing data corresponding to multiple second user terminals, and send the task processing result to a third user terminal. This embodiment generates corresponding task processing rules based on task processing factors sent by the first user terminal, and obtains corresponding task processing results based on the generated task processing rules. It 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. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 This is a schematic diagram illustrating an application scenario of the task processing method provided in the embodiments of this disclosure;
[0035] Figure 2 Flowchart of the task processing method provided in the embodiments of this disclosure Figure 1 ;
[0036] Figure 3A schematic diagram illustrating the principle of the task processing method provided in this embodiment of the disclosure;
[0037] Figure 4 Flowchart of the task processing method provided in the embodiments of this disclosure Figure 2 ;
[0038] Figure 5 A schematic diagram of the task settings interface provided in this embodiment of the disclosure. Figure 1 ;
[0039] Figure 6 A schematic diagram of the task settings interface provided in this embodiment of the disclosure. Figure 2 ;
[0040] Figure 7 A schematic diagram of the task settings interface provided in this embodiment of the disclosure. Figure 3 ;
[0041] Figure 8 Structural framework of the task processing device provided in the embodiments of this disclosure Figure 1 ;
[0042] Figure 9 Structural framework of the task processing device provided in the embodiments of this disclosure Figure 2 ;
[0043] Figure 10 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0045] With the development of mobile internet, live streaming has gradually become an indispensable part of people's lives and entertainment. Live streaming is usually presented in the form of live streaming rooms. For example, there are talk show live streaming rooms and karaoke live streaming rooms. Taking karaoke live streaming rooms as an example, a host can create a room, and other users can enter the live streaming room and take turns singing the songs they request. In order to increase the popularity of the live streaming room, the host can determine the results of the performance tasks from their own or other users' performance tasks to optimize the subsequent live streaming content.
[0046] In existing technologies, broadcasters can judge the outcome of performance tasks by listening and watching in real time. However, existing judgment methods are subjective, lack data support, cannot guarantee the accuracy of the judgment, and watching the entire live broadcast takes up time, making them inefficient.
[0047] To address the aforementioned problems, the inventors of this application have discovered that corresponding task processing rules can be generated based on user-selected task processing factors, enabling rapid, multi-dimensional determination of task results. Based on this, embodiments of this disclosure provide a task processing method capable of multi-dimensional task result determination, significantly reducing subjectivity in the data mining process and improving the accuracy and efficiency of task processing.
[0048] refer to Figure 1 , Figure 1 This is a schematic diagram illustrating an application scenario of the task processing method provided in the embodiments of this disclosure. For example... Figure 1 As shown, the first user terminal 101, the second user terminal 102, and the third user terminal 103 are all connected to the task processing device 105. The first user terminal is, for example, a broadcaster's terminal, the second user terminal is, for example, a guest's terminal, and the third user terminal is, for example, a viewer's terminal. Taking a live broadcast in a live room format as an example, the first user terminal 101 is used to respond to the broadcaster's input instructions to create a live room, allowing performers to enter the live room through the second user terminal 102 to perform. It is also used to respond to the broadcaster's setting operations for task processing factors in the task settings interface, sending the selected task processing factors to the task processing device 105. The second user terminal 102 is used to respond to the performer's input start or end instructions to record the performer's performance task, and can also send the start and end times of the performance task to the task processing device 105. The third user terminal 103 is used to respond to the interactive instructions of viewers entering the live room to watch the performance task, generating multiple task processing data corresponding to the second user terminal 102. The third user terminal 103 can directly send task processing data to the task processing device 105, or it can first store the task processing data on a server and then send it to the task processing device 105 through the server. The task processing device 105 is used to obtain the task processing factors sent by the first user terminal 101, generate task processing rules according to the task processing factors, determine the task processing data corresponding to multiple second user terminals 102, determine the task processing result according to the task processing rules and the task processing data, and send the task processing result to the third user terminal 103.
[0049] It should be noted that the division of the first user terminal 101, the second user terminal 102, and the third user terminal 103 is a functional division. The same hardware terminal can simultaneously carry the functions implemented by at least one of the aforementioned user terminals. For example, the third user terminal 103 can be the first user terminal 101 for broadcasting applications, the second user terminal 102 for performance user applications, or a terminal for viewing user applications. This embodiment does not limit this.
[0050] In the specific implementation process, the first user terminal 101 responds to the instructions input by the broadcaster, creates a live broadcast room, and responds to the broadcaster's setting operation of task processing factors in the task settings interface, sending the task processing factors selected by the broadcaster to the task processing device 105. The second user terminal 102 responds to the start or end instructions input by the performer, records the performer's performance task, and can send the start and end times of the performance task to the task processing device 105. The third user terminal 103 responds to the interaction instructions of the viewers who enter the live broadcast room to watch the performance task, generates multiple task processing data corresponding to the second user terminal 102, and can also send it directly or indirectly to the task processing device 105 through devices such as servers. The task processing device 105 obtains the task processing factors sent by the first user terminal 101, generates task processing rules according to the task processing factors, determines the task processing data corresponding to multiple second user terminals 102, determines the task processing result according to the task processing rules and task processing data, and sends the task processing result to the third user terminal 103. For example, it can be sent to the first user terminal 101 of the broadcaster so that the broadcaster can quickly find valuable hot content based on the task processing results, optimize the live broadcast program, and increase the popularity of the live broadcast room.
[0051] As can be seen from the above description, the task processing method provided in this embodiment generates corresponding task processing rules based on the task processing factors sent by the first user terminal, and obtains corresponding task processing results according to the generated task processing rules. This enables multi-dimensional determination of task results, greatly reduces subjectivity in the mining process, and improves the accuracy and efficiency of task processing.
[0052] refer to Figure 2 , Figure 2 This is a schematic flowchart of a task processing method provided in an embodiment of this disclosure. The method of this embodiment can be applied to, for example... Figure 1 The task processing device 104 shown includes the following task processing method:
[0053] 201. Obtain the task processing factor sent by the first user terminal.
[0054] The task processing factor can be the type of task processing data acquired during the performance task playback. This type can include interactive data types (likes / levels, comment levels), resource types (gift types), etc. The performance task can be any type of performance, such as songs, dances, stand-up comedy, or crosstalk, etc., but this embodiment does not limit this.
[0055] 202. Generate task processing rules based on the task processing factors.
[0056] Specifically, upon receiving the task processing factor sent by the first user, such as the number of comments, a corresponding task processing rule can be generated. For example, N performance tasks can be determined based on the number of comments, where N is a positive integer. The task processing rule is the judgment condition used by the user to determine the task processing result, and the task processing factor is the judgment factor corresponding to the task processing rule, used to generate the judgment condition.
[0057] Optionally, the task processing factor may include multiple factors, and the step of generating task processing rules based on the task processing factor may include: weighting and summing the factors in the task processing factor to generate the task processing rule.
[0058] For example, task processing factors may include two factors: the number of comments and the number of likes. Then, the task processing rules can be obtained by weighted summing of the number of comments and the number of likes.
[0059] 203. Determine the task processing data corresponding to multiple second user terminals.
[0060] Specifically, after generating task processing rules based on the selected task processing factors, the task processing data corresponding to each performance task on multiple second user terminals can be calculated according to the task processing rules. For example, assuming that the task processing rule is to filter or sort tasks based on the weighted sum of comment volume and like volume, then for each performance task, the comment volume and like volume obtained during the broadcast of the performance task can be obtained, and the weighted sum of the two can be used as the task processing data of that performance task.
[0061] There are multiple ways to determine the task processing data for each performance task on each second user terminal.
[0062] In one possible implementation, upon receiving a start instruction for a performance task, i.e., after receiving a performer's touch operation on the start control in the display interface, task processing data, such as the number of comments corresponding to the task, can be accumulated until a finish instruction for the performance task is received, i.e., after receiving a performer's touch operation on the finish control in the display interface, the accumulation of comments can be stopped, and the current accumulated value can be determined as the number of comments for the performance task.
[0063] In another possible implementation, assuming the task is a live streaming task, each live streaming task includes multiple performance tasks, the task processing data corresponding to the live streaming room is obtained, where the live streaming room is the live streaming room where the first user terminal, the second user terminal, and the third user terminal are located; the task processing data corresponding to multiple second user terminals is determined based on the task processing data corresponding to the live streaming room, the task start time and the task end time corresponding to each second user terminal. Optionally, the task processing data corresponding to the live streaming room includes multiple live streaming moments and corresponding task processing data; the multiple live streaming moments include the task start time and the task end time corresponding to each second user terminal; determining the task processing data corresponding to multiple second user terminals based on the task processing data corresponding to the live streaming room, the task start time and the task end time corresponding to each second user terminal includes: determining the task processing data corresponding to the task end time and the task processing data corresponding to the task start time based on the multiple live streaming moments and the corresponding task processing data; and for each second user terminal, determining the difference between the task processing data corresponding to the task end time and the task processing data corresponding to the task start time as the task processing data.
[0064] In another possible implementation, multiple performance tasks originate from multiple live streaming rooms. Each performance task includes a live streaming room identifier. For each live streaming room corresponding to an identifier, task processing data generated within that live streaming room is accumulated from the start time of the live stream, yielding a cumulative value of the task processing data. This cumulative value includes the generation time of the task processing data. The start and end times of each performance task within the live streaming room are also obtained. Based on the task processing rules, the cumulative value under each live streaming room identifier, and the start and end times of each performance task, the task processing data corresponding to each performance task under each live streaming room identifier is determined. Specifically, for each performance task under each live streaming room identifier, a first cumulative value is obtained from the cumulative value under the live streaming room identifier corresponding to the start time of the performance task, and a second cumulative value is obtained from the cumulative value under the live streaming room identifier corresponding to the end time of the performance task. The difference between the first cumulative value and the second cumulative value is determined as the task processing data for that performance task.
[0065] 204. Determine the task processing result based on the task processing rules and task processing data.
[0066] Specifically, after generating task processing rules based on task processing factors, such as comment volume, for example, multiple performance tasks corresponding to multiple second-user terminals, the top N performance tasks are selected based on the relationship between the comment volume of the multiple performance tasks. Each performance task can be processed according to the task processing rules and the determined task processing data for each performance task to obtain the task processing results, such as obtaining the top N performance tasks by comment volume among multiple performance tasks.
[0067] 205. Send the task processing result to the third user terminal.
[0068] Specifically, after obtaining the task processing result, such as obtaining the first N performance tasks from multiple performance tasks of multiple second user terminals, the task processing result can be sent to a third user terminal. The third user terminal can be the first user terminal corresponding to the broadcaster, the second user terminal corresponding to the performance user, or the third user terminal corresponding to the viewing user.
[0069] As can be seen from the above description, this embodiment generates corresponding task processing rules based on the task processing factors sent by the first user terminal, and obtains corresponding task processing results according to the generated task processing rules. This enables multi-dimensional determination of task results, greatly reduces subjectivity in the mining process, and improves the accuracy and efficiency of task processing.
[0070] In one embodiment of this disclosure, for example in Figure 2 Based on the illustrated embodiment, to facilitate users in quickly obtaining valuable information, this embodiment can specifically obtain the task ranking results and send them to the third user terminal. Specifically, step 204 may include: determining the task execution result corresponding to each second user terminal according to the task processing rules and the task processing data corresponding to each second user terminal; and sorting the tasks according to the task execution results corresponding to the second user terminals to obtain the task ranking results.
[0071] For ease of understanding, the following is combined with Figure 3The above implementation method is illustrated as follows: The first user terminal sends the task processing factor and comment volume selected by the anchor to the rule generation module of the task processing device. The second user terminal can send the start time and end time of the current performance task to the task processing device after the current performance task ends. The viewing user terminal sends the user comment event (the time when the comment occurs) 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 to obtain the cumulative comment count, and stores the cumulative comment count in the storage module. The rule generation module generates task processing rules based on the comment count 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 comment count. Specifically, the processing module obtains the first cumulative value and the second cumulative value based on 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 count of the performance task. This comment count is the task processing data of the performance task. After obtaining the comment count of each performance task in the current sorting list, i.e., the historical performance tasks, the sorting module sorts the multiple comment counts according to the task processing rules, i.e., the rules of sorting by comment count, to obtain the task sorting result. The task sorting result is sent to the first user terminal so that the broadcaster can quickly find valuable hot content based on the task sorting result, optimize the live broadcast program, and improve the popularity of the live broadcast room.
[0072] In one embodiment of this disclosure, in order to enable users to obtain the latest performance task ranking in a timely manner, this embodiment of the disclosure adds an introduction to real-time updating 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 and end times 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.
[0073] As can be seen from the above description, by updating the task ranking results in real time during the live broadcast, users can see the latest ranking in a timely manner, so as to discover valuable performance tasks in a timely manner.
[0074] In one embodiment of this disclosure, in the above Figure 2 Based on the embodiments, to facilitate user operation, before step 201 of the above embodiments, the method may further include: calling the previously set task processing rule as the current task processing rule to generate task sorting results. Correspondingly, after step 201, the method may further include: storing the task processing rule as the current task processing rule.
[0075] Specifically, the task processing rules generated based on the user-selected task processing factors can be stored as the current task processing rules, and the task ranking results are generated according to the current task processing rules. If the streamer temporarily leaves the live broadcast room and then returns, or if the current live broadcast room ends and the user recreates a new live broadcast room, the current task processing rules can be called to generate the task ranking results. If the user reselects the task processing factors, the newly generated task processing rules will be set as the current task processing rules.
[0076] As can be seen from the above description, the task processing method provided in this embodiment can store task processing rules in response to the user's save request, making it convenient for users to use and improving the user experience.
[0077] In one embodiment of this disclosure, in the above Figure 2 Based on the embodiments, in order to improve the flexibility of displaying task processing results, the present disclosure embodiment adds a sequence length option. Step 201 specifically includes: determining the target sequence length of the task sorting results, and generating task processing rules based on the task processing factor and the target sequence length.
[0078] For example, when there are many performance tasks participating in the sorting, such as when the user selects multiple live streams, meaning that performance tasks from multiple live stream rooms are participating in the sorting, or when there are many performance tasks in the current live stream room, the user can customize the number of display results corresponding to the task results to improve the user experience.
[0079] As can be seen from the above description, by providing users with the option of sequence length, the task results that users need to see can be displayed, thus improving efficiency.
[0080] refer to Figure 4 , Figure 4 This is a schematic flowchart of a task processing method provided in an embodiment of this disclosure. The method of this embodiment can be applied to, for example... Figure 1 The first user terminal 101 shown includes the following task processing method:
[0081] 401. Display the task settings interface.
[0082] 402. In response to the task processing factor setting operation applied to the task setting interface, the task processing factor is sent to the server so that the server generates task processing rules based on the task processing factor, and then determines the task processing result based on the task processing rules and the task processing data corresponding to multiple second user terminals, and sends the task processing result to the third user terminal.
[0083] For example, after creating a live stream room, the streamer can configure task processing factors in the task settings interface during the live stream, such as... Figure 5 As shown, the task settings interface can include multiple task processing factors, such as the number of comments, likes, and gifts, and can also include various combinations, such as "Comprehensive 1," which includes both the number of comments and likes. Assuming the user selects the number of comments as the task processing factor to generate task processing rules based on the number of comments, the task processing rules could be to sort the performance tasks according to their number of comments from highest to lowest.
[0084] In one embodiment of this disclosure, the task processing factor may include multiple factors, and generating task processing rules for multiple performance tasks may include: weighted summing of the selected task processing factors to generate the task processing rules. There are various ways to select multiple task processing factors: in one possible implementation, such as... Figure 5 As shown, a comprehensive option can be provided to offer users possible combinations. Suppose the user selects Comprehensive 1: Comments + Likes, then the task processing rule can be set to filter performance tasks based on the weighted sum of the number of comments and likes. In another possible implementation, such as... Figure 6 As shown, a multi-select control can be set. When a user needs to select multiple task processing factors, they can first select the multi-select option and then make multiple selections. For example, if a user selects the multi-select control and chooses comment count and like count as task processing factors, the task processing rules can be set to filter performance tasks based on the weighted sum of comment count and like count. This embodiment of the disclosure does not limit this aspect.
[0085] In this embodiment of the disclosure, there are multiple ways to select the source of the performance tasks of the multiple second user terminals corresponding to the task processing data.
[0086] In one possible implementation, the scope of multiple performance tasks can be set by default. For example, it can be set by default to all performance tasks from each second user terminal participating in the current live broadcast room that have ended, or it can be set by default to similar performance tasks on the live broadcast platform on the same day. A time-dimensional selection control can be pushed to the user. For example, in response to the user's touch operation on the time-dimensional selection control, all performance tasks of the streamer from the start date to the end date can be obtained as performance tasks for multiple second user terminals.
[0087] In another possible implementation, multiple performance tasks can be obtained in response to a selection operation on the task settings interface regarding the processing scope factor. The processing scope factor may include at least one of the following: live stream identifier, streamer account, performer account, and start and end dates.
[0088] For example, such as Figure 7As shown, selection controls for processing range factors can be pushed to users: live stream identifier control, participating performance account control, streamer account control, and start and end date control. Taking the live stream identifier control as an example, multiple live stream identifier controls can be displayed (nostalgic live stream, annual meeting live stream, Mid-Autumn Festival live stream, street dance live stream). Users can select only one of the above controls or select two or more at the same time. For example, they can select only the live stream identifier, or select both the streamer account and the start and end dates.
[0089] For example, such as Figure 6 As shown, if the length of the task sorting results displayed on the current page exceeds the display height of a single page, it can be displayed across multiple pages. Furthermore, these public tasks are not limited to performance tasks; they can also include event tasks, game tasks, and so on.
[0090] Corresponding to the above text Figure 2 The task processing method of the embodiment shown, Figure 8 Structural framework of the task processing device provided in the embodiments of this disclosure Figure 1 For ease of explanation, only the parts relevant to embodiments of this disclosure are shown. See also... Figure 8 The 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.
[0091] The acquisition module 801 is used to acquire the task processing factor sent by the first user terminal;
[0092] Rule generation module 802 is used to generate task processing rules based on the task processing factors;
[0093] The data determination module 803 is used to determine the task processing data corresponding to multiple second user terminals;
[0094] Result determination module 804 is used to determine the task processing result based on the task processing rules and task processing data; and
[0095] The first sending module 805 is used to send the task processing result to the third user terminal.
[0096] According to one or more embodiments of this disclosure, the task processing result includes a task sorting result; the result determination module 804 is specifically used to: determine the task execution result corresponding to each second user terminal according to the task processing rules and the task processing data corresponding to each second user terminal; and sort the tasks according to the task execution results corresponding to the second user terminals to obtain the task sorting result.
[0097] In one embodiment of this disclosure, the task processing factor includes multiple factors, and the rule generation module 802 is specifically used to: perform a weighted summation of each factor in the task processing factor to generate the task processing rule.
[0098] In one embodiment of this disclosure, the data determination module 803 is specifically used to: obtain the task start time and task end time corresponding to each of the multiple second user terminals; and determine the task processing data corresponding to the multiple second user terminals based on the task start time and task end time corresponding to each second user terminal.
[0099] In one embodiment of this disclosure, the device 80 further includes a storage module for storing the task processing rules.
[0100] In one embodiment of this disclosure, the device 80 further includes: a sequence length determination module, used to determine the target sequence length of the task sorting result; and a rule generation module 802, specifically used to: generate task processing rules based on the task processing factor and the target sequence length.
[0101] In one embodiment of this disclosure, the task is a live streaming task, and the data determination module 803 is specifically used to: obtain task processing data corresponding to the live streaming room, wherein the live streaming room is the live streaming room where the first user terminal, the second user terminal, and the third user terminal are located; and determine task processing data corresponding to multiple second user terminals based on the task processing data corresponding to the live streaming room, the task start time and the task end time corresponding to each second user terminal.
[0102] In one embodiment of this disclosure, the task processing data corresponding to the live broadcast room includes multiple live broadcast times and corresponding task processing data; the multiple live broadcast times include a task start time and a task end time corresponding to each second user terminal; the data determination module 803 is specifically used to: determine the task processing data corresponding to the task end time and the task processing data corresponding to the task start time based on the multiple live broadcast times and corresponding task processing data; and for each second user terminal, determine the difference between the task processing data corresponding to the task end time and the task processing data corresponding to the task start time as the task processing data.
[0103] The device provided in this embodiment can be used to execute the technical solution of the above-described method embodiment with a task processing device as the execution subject. Its implementation principle and technical effect are similar, and will not be described again in this embodiment.
[0104] Corresponding to the above text Figure 4 The task processing method of the embodiment shown, Figure 9 Structural framework of the task processing device provided in the embodiments of this disclosure Figure 2For ease of explanation, only the parts relevant to embodiments of this disclosure are shown. See also... Figure 9 The device 90 includes a display module 901 and a second transmission module 902.
[0105] Display module 901 is used to display the task settings interface;
[0106] The second sending module 902 is used to send the task processing factor to the server in response to the task processing factor setting operation on the task setting interface, so that the server generates task processing rules according to the task processing factor, determines the task processing result according to the task processing rules and the task processing data corresponding to multiple second user terminals, and sends the task processing result to the third user terminal.
[0107] The device provided in this embodiment can be used to execute the technical solution of the above-described method embodiment with the first user terminal as the execution subject. Its implementation principle and technical effect are similar, and will not be described again in this embodiment.
[0108] To implement the above embodiments, this disclosure also provides an electronic device.
[0109] refer to Figure 10 The diagram illustrates a structural schematic of an electronic device 1000 suitable for implementing embodiments of the present disclosure. The electronic device 1000 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, personal digital assistants (PDAs), portable Android devices (PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 10 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0110] like Figure 10As shown, the electronic device 1000 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 into a random access memory (RAM) 1003. The RAM 1003 also stores various programs and data required for the operation of the electronic device 1000. The processing unit 1001, ROM 1002, and RAM 1003 are interconnected via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0111] Typically, the following devices can be connected to the I / O interface 1005: input devices 1006 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1007 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1008 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows electronic device 1000 to exchange data via wireless or wired communication with other devices. Although Figure 10 An electronic device 1000 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0112] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1009, or installed from storage device 1008, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of embodiments of this disclosure.
[0113] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, 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, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0114] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0115] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.
[0116] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0118] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".
[0119] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0120] In the context of this disclosure, a machine-readable medium can 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. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0121] In a first aspect, according to one or more embodiments of this disclosure, a task processing method is provided, comprising:
[0122] Obtain the task processing factor sent by the first user client;
[0123] Task processing rules are generated based on the aforementioned task processing factors;
[0124] Determine the task processing data corresponding to multiple second user terminals;
[0125] The task processing result is determined based on the aforementioned task processing rules and task processing data; and
[0126] The task processing result is sent to the third user terminal.
[0127] According to one or more embodiments of this disclosure, the task processing result includes a task sorting result; determining the task processing result according to the task processing rules and task processing data includes: determining the task execution result corresponding to each second user terminal according to the task processing rules and the task processing data corresponding to each second user terminal; and sorting according to the task execution results corresponding to the second user terminals to obtain a task sorting result.
[0128] According to one or more embodiments of this disclosure, the task processing factor includes multiple factors, and the step of generating task processing rules based on the task processing factor includes: weighting and summing the factors in the task processing factor to generate the task processing rules.
[0129] According to one or more embodiments of this disclosure, determining the task processing data corresponding to a plurality of second user terminals includes: obtaining the task start time and task end time corresponding to each of the plurality of second user terminals; and determining the task processing data corresponding to the plurality of second user terminals based on the task start time and task end time corresponding to each of the second user terminals.
[0130] According to one or more embodiments of this disclosure, after generating the task processing rule based on the task processing factor, the method further includes: storing the task processing rule.
[0131] According to one or more embodiments of this disclosure, before generating task processing rules based on the task processing factor, the method further includes: determining the target sequence length of the task sorting result; generating task processing rules based on the task processing factor includes: generating task processing rules based on the task processing factor and the target sequence length.
[0132] According to one or more embodiments of this disclosure, the task is a live streaming task, and determining the task processing data corresponding to multiple second user terminals includes: obtaining the task processing data corresponding to the live streaming room, wherein the live streaming room is the live streaming room where the first user terminal, the second user terminal, and the third user terminal are located; and determining the task processing data corresponding to multiple second user terminals based on the task processing data corresponding to the live streaming room, the task start time and the task end time corresponding to each second user terminal.
[0133] According to one or more embodiments of this disclosure, the task processing data corresponding to the live streaming room includes multiple live streaming moments and corresponding task processing data; the multiple live streaming moments include a task start time and a task end time corresponding to each second user terminal; determining the task processing data corresponding to multiple second user terminals based on the task processing data corresponding to the live streaming room, the task start time and the task end time corresponding to each second user terminal includes: determining the task processing data corresponding to the task end time and the task processing data corresponding to the task start time based on the multiple live streaming moments and corresponding task processing data; and for each second user terminal, determining the difference between the task processing data corresponding to the task end time and the task processing data corresponding to the task start time as the task processing data.
[0134] Secondly, according to one or more embodiments of this disclosure, a task processing method is provided, comprising: displaying a task setting interface; in response to a task processing factor setting operation performed on the task setting interface, sending the task processing factor to a 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 multiple second user terminals, and sending the task processing result to a third user terminal.
[0135] According to one or more embodiments of this disclosure, after displaying the task settings interface, the method further includes sending a processing range factor to a server in response to a processing range factor setting operation applied to the task settings interface, so that the server determines task processing data corresponding to multiple second user terminals based on the processing range factor.
[0136] Thirdly, according to one or more embodiments of this disclosure, a task processing device is provided, comprising: an acquisition module for acquiring a task processing factor sent by a first user terminal; a rule generation module for generating task processing rules based on the task processing factor; a data determination module for determining task processing data corresponding to multiple second user terminals; a result determination module for determining a task processing result based on the task processing rules and the task processing data; and a first sending module for sending the task processing result to a third user terminal.
[0137] According to one or more embodiments of this disclosure, the task processing result includes a task sorting result; the result determination module is specifically used to: determine the task execution result corresponding to each second user terminal according to the task processing rules and the task processing data corresponding to each second user terminal; and sort the tasks according to the task execution results corresponding to the second user terminals to obtain the task sorting result.
[0138] According to one or more embodiments of this disclosure, the task processing factor includes multiple factors, and the rule generation module is specifically used to: perform a weighted summation of each factor in the task processing factor to generate the task processing rule.
[0139] According to one or more embodiments of this disclosure, the data determination module is specifically used to: obtain the task start time and task end time corresponding to each of the plurality of second user terminals; and determine the task processing data corresponding to the plurality of second user terminals based on the task start time and task end time corresponding to each of the second user terminals.
[0140] According to one or more embodiments of this disclosure, the device further includes a storage module for storing the task processing rules.
[0141] According to one or more embodiments of this disclosure, the device further includes: a sequence length determination module, configured to determine the target sequence length of the task sorting result; and a rule generation module, specifically configured to: generate task processing rules based on the task processing factor and the target sequence length.
[0142] According to one or more embodiments of this disclosure, the task is a live streaming task, and the data determination module is specifically used to: obtain task processing data corresponding to the live streaming room, wherein the live streaming room is the live streaming room where the first user terminal, the second user terminal, and the third user terminal are located; and determine task processing data corresponding to multiple second user terminals based on the task processing data corresponding to the live streaming room, the task start time and the task end time corresponding to each second user terminal.
[0143] According to one or more embodiments of this disclosure, the task processing data corresponding to the live broadcast room includes multiple live broadcast times and corresponding task processing data; the multiple live broadcast times include a task start time and a task end time corresponding to each second user terminal; the data determination module 803 is specifically used to: determine the task processing data corresponding to the task end time and the task processing data corresponding to the task start time based on the multiple live broadcast times and corresponding task processing data; and for each second user terminal, determine the difference between the task processing data corresponding to the task end time and the task processing data corresponding to the task start time as the task processing data.
[0144] Fourthly, according to one or more embodiments of this disclosure, a task processing device is provided, comprising: a display module for displaying a task setting interface; and a second sending module for sending the task processing factor to a server in response to a task processing factor setting operation performed on the task setting interface, so that the server generates task processing rules based on the task processing factor, determines the task processing result based on the task processing rules and task processing data corresponding to multiple second user terminals, and sends the task processing result to a third user terminal.
[0145] According to one or more embodiments of this disclosure, the device further includes: a third sending module, configured to send a processing range factor to a server in response to a processing range factor setting operation applied to the task setting interface, so that the server determines task processing data corresponding to multiple second user terminals based on the processing range factor.
[0146] Fifthly, according to one or more embodiments of the present disclosure, an electronic device is provided, including: a processor and a memory;
[0147] The memory stores computer-executed instructions;
[0148] The processor executes computer execution instructions stored in the memory, causing the processor to perform the task processing method described in the first aspect and various possible designs of the first aspect.
[0149] In a sixth aspect, according to one or more embodiments of the present disclosure, an electronic device is provided, including: a display, a processor, and a memory;
[0150] The memory stores computer-executed instructions; the display is connected to the processor and is used to receive selected operations and also to display task sorting results;
[0151] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the task processing method as described in the second aspect above.
[0152] In a seventh aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein computer-executable instructions are stored therein, which, when executed by a processor, implement the task processing method described in the first aspect and various possible designs of the first aspect, or implement the task processing method described in the second aspect.
[0153] Eighthly, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the task processing method described in the first aspect above and various possible designs of the first aspect, or implements the task processing method described in the second aspect above.
[0154] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0155] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0156] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A task processing method, applied to a server, characterized in that, include: Obtain the task processing factor sent by the first user client; The task processing factors include the interactive data type or resource type of the live broadcast task. Task processing rules are generated based on the aforementioned task processing factors; Determine the task processing data corresponding to multiple second user terminals; The task processing result is determined based on the task processing rules and task processing data. The task processing result is sent to a third user terminal; The task is a live streaming task, and determining the task processing data corresponding to multiple second user terminals includes: Obtain the task processing data corresponding to the live broadcast room, wherein the live broadcast room is the live broadcast room where the first user terminal, the second user terminal, and the third user terminal are located; the task processing data corresponding to the live broadcast room includes multiple live broadcast times and corresponding task processing data; the multiple live broadcast times include the task start time and task end time corresponding to each second user terminal. Based on the multiple live broadcast times and the corresponding task processing data, determine the task processing data corresponding to the task end time and the task processing data corresponding to the task start time. For each second user terminal, the difference between the task processing data at the task end time and the task processing data at the task start time is determined as the task processing data.
2. The method according to claim 1, characterized in that, The task processing results include task sorting results; Determining the task processing result based on the task processing rules and task processing data includes: The task execution result for each second user terminal is determined based on the task processing rules and the task processing data corresponding to each second user terminal; and The task ranking results are obtained by sorting the tasks based on the execution results of the corresponding tasks on the second user terminal.
3. The method according to claim 1, characterized in that, The task processing factors include multiple factors, and the step of generating task processing rules based on the task processing factors includes: The task processing rules are generated by weighted summation of the factors in the task processing factors.
4. The method according to claim 1, characterized in that, After generating task processing rules based on the task processing factors, the method further includes: storing the task processing rules.
5. The method according to claim 2, characterized in that, Before generating task processing rules based on the task processing factor, the method further includes: Determine the target sequence length of the task sorting results; The step of generating task processing rules based on the task processing factors includes: Task processing rules are generated based on the task processing factor and the target sequence length.
6. A task processing method, applied to a first user terminal, characterized in that, include: Display the task settings interface; In response to the task processing factor setting operation applied to the task settings interface, the task processing factor is sent to the server so that the server generates task processing rules based on the task processing factor, thereby determining the task processing result based on the task processing rules and the task processing data corresponding to multiple second user terminals and sending the task processing result to the third user terminal; the task processing factor includes the interactive data type or resource type of the live room task. The task is a live streaming task, wherein determining task processing data corresponding to multiple second user terminals includes: acquiring task processing data corresponding to the live streaming room, wherein the live streaming room is the live streaming room where the first user terminal, the second user terminal, and the third user terminal are located; the task processing data corresponding to the live streaming room includes multiple live streaming times and corresponding task processing data; the multiple live streaming times include the task start time and the task end time corresponding to each second user terminal; determining the task processing data corresponding to the task end time and the task processing data corresponding to the task start time based on the multiple live streaming times and the corresponding task processing data; for each second user terminal, determining the difference between the task processing data corresponding to the task end time and the task processing data corresponding to the task start time as the task processing data.
7. A task processing device, applied to a server, characterized in that, include: The acquisition module is used to acquire the task processing factor sent by the first user terminal; The task processing factors include the interactive data type or resource type of the live broadcast task. The rule generation module is used to generate task processing rules based on the task processing factors; The data determination module is used to determine the task processing data corresponding to multiple second user terminals; The result determination module is used to determine the task processing result based on the task processing rules and task processing data. as well as The first sending module is used to send the task processing result to the third user terminal; The task is a live streaming task. The data determination module is specifically used to obtain the task processing data corresponding to the live streaming room. The live streaming room is the live streaming room where the first user terminal, the second user terminal, and the third user terminal are located. The task processing data corresponding to the live streaming room includes multiple live streaming times and corresponding task processing data. The multiple live streaming times include the task start time and task end time corresponding to each second user terminal. The task processing data corresponding to the task end time and the task processing data corresponding to the task start time are determined based on the multiple live streaming times and corresponding task processing data. For each second user terminal, the difference between the task processing data at the task end time and the task processing data at the task start time is determined as the task processing data.
8. A task processing device, applied to a first user terminal, characterized in that, include: The display module is used to display the task settings interface; The second sending module is used to send the task processing factor to the server in response to the task processing factor setting operation on the task setting interface, so that the server generates task processing rules according to the task processing factor, and determines the task processing result according to the task processing rules and the task processing data corresponding to multiple second user terminals, and sends the task processing result to the third user terminal; the task processing factor includes the interactive data type or resource type of the live room task. The task is a live streaming task, wherein determining task processing data corresponding to multiple second user terminals includes: acquiring task processing data corresponding to the live streaming room, wherein the live streaming room is the live streaming room where the first user terminal, the second user terminal, and the third user terminal are located; the task processing data corresponding to the live streaming room includes multiple live streaming times and corresponding task processing data; the multiple live streaming times include the task start time and the task end time corresponding to each second user terminal; determining the task processing data corresponding to the task end time and the task processing data corresponding to the task start time based on the multiple live streaming times and the corresponding task processing data; for each second user terminal, determining the difference between the task processing data corresponding to the task end time and the task processing data corresponding to the task start time as the task processing data.
9. An electronic device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the task processing method as described in any one of claims 1 to 5.
10. An electronic device, characterized in that, include: Display, processor, and memory; The memory stores computer-executed instructions; the display is connected to the processor and is used to display the task settings interface; The processor executes computer execution instructions stored in the memory, causing the processor to perform the task processing method as described in claim 6.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the task processing method as described in any one of claims 1 to 5, or implement the task processing method as described in claim 6.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the task processing method as described in any one of claims 1 to 5, or implements the task processing method as described in claim 6.