CN111488203B - Processing method and device for recording recognition task, computer equipment and storage medium - Google Patents

Processing method and device for recording recognition task, computer equipment and storage medium Download PDF

Info

Publication number
CN111488203B
CN111488203B CN202010285868.6A CN202010285868A CN111488203B CN 111488203 B CN111488203 B CN 111488203B CN 202010285868 A CN202010285868 A CN 202010285868A CN 111488203 B CN111488203 B CN 111488203B
Authority
CN
China
Prior art keywords
task
tasks
processed
recording identification
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010285868.6A
Other languages
Chinese (zh)
Other versions
CN111488203A (en
Inventor
陈杰
温平
杨汉丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Youjie Zhixin Technology Co ltd
Original Assignee
Shenzhen Youjie Zhixin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Youjie Zhixin Technology Co ltd filed Critical Shenzhen Youjie Zhixin Technology Co ltd
Priority to CN202010285868.6A priority Critical patent/CN111488203B/en
Publication of CN111488203A publication Critical patent/CN111488203A/en
Application granted granted Critical
Publication of CN111488203B publication Critical patent/CN111488203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/461Saving or restoring of program or task context
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4818Priority circuits therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/484Precedence

Abstract

The application discloses a processing method, a device, computer equipment and a storage medium for a recording identification task, wherein the method comprises the following steps: judging whether a new specified recording identification task is received or not when the specific recording identification task is executed currently; if yes, pausing execution of the specific recording identification task, and storing the current processing state of the specific recording identification task; and executing the specified recording identification task, and then executing all other recording identification tasks except the specified recording identification task, wherein the other recording identification tasks comprise the specific recording identification task. By the method and the device, the specified recording identification task corresponding to the new specified recording request triggered by the user can be processed immediately, the specific recording identification task does not need to be discarded, the intelligence for processing the new recording identification task requirement held by the user at the moment in the process of executing the recording identification task at present is effectively improved, and the use experience of the user in the recording identification function is guaranteed.

Description

Processing method and device for recording recognition task, computer equipment and storage medium
Technical Field
The application relates to the technical field of recording equipment, in particular to a processing method and device of a recording identification task, computer equipment and a storage medium.
Background
With the rapid development of computer technology and artificial intelligence technology, speech recognition technology is gradually popularized, and intelligent devices with recording and recognition functions, which rely on speech recognition technology, are also gradually used by more and more people. Because the recording and identifying function has delay, when the existing terminal equipment with the recording and identifying function records the audio file to be transcribed for a long time, such as several hours, the recording and identifying process of several minutes is usually required from stopping recording to completing the recording and identifying task of the audio file to be transcribed, and the recording and identifying task of the audio file to be transcribed is really completed only after the recording and identifying process is completed. If the user has a new recording identification task requirement during the current recording identification task, the current recording identification task will conflict with the new recording identification task requirement. The user can only select to wait for the recording identification task which is currently executed to be completed and then start to execute a new recording identification task, so that a waiting time for the user to wait is generated, the new recording identification task held by the user cannot be timely and effectively processed, and the user has poor experience when using the recording identification function. Or the user can only choose to give up the recording identification task currently being executed and directly and immediately start to execute the new recording identification task, so that the user can meet the requirement of holding the new recording identification task immediately, but needs to give up the recording identification task currently being executed, and the user can have bad experience when using the recording identification function. Therefore, in the process of executing the recording identification task currently, the existing terminal device with the recording identification function cannot immediately process the new recording identification task requirement held by the user at the moment to ensure good use experience of the user under the condition that the currently executed recording identification task is not abandoned.
Disclosure of Invention
The application mainly aims to provide a recording identification task processing method, a recording identification task processing device, computer equipment and a storage medium, and aims to solve the technical problems that in the process of executing a recording identification task currently, existing terminal equipment with a recording identification function cannot immediately process new recording identification task requirements held by a user at the moment under the condition that the currently executed recording identification task is not given up, and the equipment intelligence is low.
The application provides a processing method of a recording identification task, which comprises the following steps:
judging whether a new specified recording identification task is received or not when the specific recording identification task is executed currently;
if so, pausing execution of the specific recording identification task and storing the current processing state of the specific recording identification task;
and executing the specified sound recording identification task, and then executing all other sound recording identification tasks except the specified sound recording identification task, wherein the other sound recording identification tasks comprise the specific sound recording identification task.
Optionally, the step of executing the specified audio record identification task and then executing all other audio record identification tasks except the specified audio record identification task includes:
acquiring a preset task category;
matching each to-be-processed sound recording identification task with the task category according to the task category, dividing all the to-be-processed sound recording identification tasks into a plurality of categories of tasks, distributing category processing priorities to each category of tasks obtained after division, and sequencing category processing sequences of the various tasks obtained after division according to the category priorities, wherein the to-be-processed sound recording identification tasks comprise the specified sound recording identification task and the other sound recording identification tasks;
in all tasks to be processed contained in the assigned tasks obtained after the division, allocating task processing priorities to each task to be processed contained in the assigned tasks according to a preset rule, and sequencing the task processing sequence of each task to be processed in the assigned tasks according to the task processing priorities, wherein the assigned tasks are any one of a plurality of types of tasks obtained after the division;
screening first specific tasks which are sequenced in a category processing sequence according to the category processing sequence, sequentially executing each task to be processed in the first specific tasks according to the task processing sequence of each task to be processed contained in the first specific tasks, screening second specific tasks which are sequenced in the category processing sequence according to the category processing sequence after all the tasks to be processed in the first specific tasks are executed, sequentially executing each task to be processed in the second specific tasks according to the task processing sequence of each task to be processed contained in the second specific tasks, and so on until the execution operation of all the record recognition tasks to be processed is completed, wherein the first specific tasks only comprise the specified record recognition tasks.
Optionally, the step of performing matching processing on each to-be-processed sound recording identification task and the task category according to the task category, dividing all to-be-processed sound recording identification tasks into multiple categories of tasks, allocating category processing priorities to each category of tasks obtained after division, and sorting the category processing sequences of the various categories of tasks obtained after division according to the category priorities includes:
reading a pre-input task division rule;
matching each to-be-processed recording identification task with the task category according to the task division rule, dividing the specified recording identification task in all the to-be-processed recording identification tasks into a first type of task, dividing the recording identification task with a user selection identifier into a second type of task, dividing an interrupted recording identification task interrupted by a newly-started recording identification task into a third type of task, and dividing the rest recording identification tasks except the first type of task, the second type of task and the third type of task into fourth type of tasks;
receiving an input priority assignment instruction;
according to the priority assignment instruction, assigning the highest priority to the first type of tasks, assigning the second high priority to the second type of tasks, assigning the third high priority to the third type of tasks, and assigning the fourth high priority to the fourth type of tasks;
and sorting the category processing sequence of each type of tasks obtained after the classification according to the sequence of the highest priority, the second highest priority, the third highest priority and the fourth highest priority.
Optionally, the step of allocating, according to a preset rule, a task processing priority to each to-be-processed task included in the assigned tasks among all to-be-processed tasks included in the assigned tasks obtained after the division, and sorting a task processing order of each to-be-processed task in the assigned tasks according to the task processing priority includes:
when the designated task is the second task, acquiring task identification sequence information which is input by a user in advance and corresponds to each task to be processed in the second task one to one;
according to the task identification sequence information, distributing a first assigned task processing priority in one-to-one correspondence to each task to be processed in the assigned tasks;
and sequencing the task processing sequence of each task to be processed in the appointed tasks according to the first appointed task processing priority.
Optionally, the step of allocating, according to a preset rule, a task processing priority to each to-be-processed task included in the assigned class task among all to-be-processed tasks included in the assigned class task obtained after the division, and sorting a task processing order of each to-be-processed task in the assigned class task according to the task processing priority includes:
when the appointed task is the third task or the fourth task, acquiring the recording start time of each task to be processed in the appointed task;
according to the recording starting time, distributing a second designated task processing priority which corresponds to each task to be processed in the designated tasks one by one;
judging whether a plurality of specified tasks to be processed with the same recording start time exist or not;
if yes, respectively acquiring the segment number information corresponding to each appointed task to be processed;
according to the segment number information, adjusting a second assigned task processing priority of each assigned task to be processed to obtain an adjusted third assigned task processing priority corresponding to the assigned task to be processed;
according to the third assigned task processing priority, correspondingly adjusting second assigned task processing priorities of other tasks to be processed except the assigned task in the assigned tasks to obtain adjusted fourth assigned task processing priorities corresponding to the other tasks to be processed;
and sequencing the task processing sequence of each task to be processed in the assigned tasks according to the third assigned task processing priority and the fourth assigned task processing priority. Optionally, the screening out a first specific task ranked first in a category processing order according to the category processing order, sequentially executing each task to be processed in the first specific task according to a task processing order of each task to be processed included in the first specific task, after all tasks to be processed in the first specific task are completely executed, screening out a second specific task ranked second in the category processing order according to the category processing order, sequentially executing each task to be processed in the second specific task according to a task processing order of each task to be processed included in the second specific task, and so on until the step of executing all record identification tasks to be processed is completed, includes:
respectively obtaining priority information corresponding to each of the to-be-processed sound recording identification tasks, wherein the priority information comprises a category processing priority corresponding to a task category of the to-be-processed sound recording identification task and a task processing priority of the to-be-processed sound recording identification task; and the number of the first and second groups,
respectively acquiring task flow information corresponding to each to-be-processed recording identification task;
and generating a task identification schedule corresponding to all the to-be-processed sound recording identification tasks according to the priority information and the task flow information.
Optionally, after the step of generating a task identification schedule corresponding to all the record identification tasks to be processed according to the priority information and the task flow information, the method includes:
displaying the task identification schedule;
judging whether an adjusting instruction for the task identification schedule triggered by a user is received;
and if so, executing adjustment processing corresponding to the adjustment instruction on the task identification schedule according to the adjustment instruction.
The present application further provides a processing apparatus for a recording recognition task, including:
the judging module is used for judging whether a new specified recording identification task is received or not when the specific recording identification task is executed currently;
the pause module is used for pausing the execution of the specific recording identification task and storing the current processing state of the specific recording identification task if the specific recording identification task is executed;
and the execution module is used for executing the specified sound recording identification task and then executing all other sound recording identification tasks except the specified sound recording identification task, wherein the other sound recording identification tasks comprise the specific sound recording identification task.
The present application further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method.
The processing method and device, the computer equipment and the storage medium for the sound recording identification task have the following beneficial effects:
according to the processing method and device for the recording identification task, the computer equipment and the storage medium, when the specific recording identification task is executed at present, if a new specified recording identification task is received, the specific recording identification task is paused to be executed, and the current processing state of the specific recording identification task is stored. And then, executing the specified recording identification request, and executing other recording identification tasks including the specific recording identification task after the specified recording identification task is processed. When receiving a new specified recording identification task, the embodiment suspends and stores the specific recording identification task which is currently executed, then preferentially executes the specified recording identification request, and then executes all other recording identification tasks except the specified recording identification task, so that the specified recording identification task corresponding to the new specified recording request triggered by a user can be processed immediately without discarding the specific recording identification task, the intelligence of processing the new recording identification task requirement held by the user at the moment in the process of currently executing the recording identification task is effectively improved, the most important recording identification task held by the user can be processed well firstly, the less important recording identification task in the storage state can be continuously completed after the most important recording identification task is completed, and the use experience of the user when using the recording identification function is ensured.
Drawings
FIG. 1 is a flowchart illustrating a processing method of a recording identification task according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a processing device for a recording identification task according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
It should be noted that all directional indicators (such as upper, lower, left, right, front and rear \8230;) in the embodiments of the present application are only used for explaining the relative positional relationship between the components, the motion situation, etc. in a specific posture (as shown in the attached drawings), and if the specific posture is changed, the directional indicators are correspondingly changed, and the connection can be a direct connection or an indirect connection.
Referring to fig. 1, a method for processing a recording identification task according to an embodiment of the present application includes:
s1: judging whether a new specified recording identification task is received or not when the specific recording identification task is executed currently;
s2: if so, pausing execution of the specific recording identification task and storing the current processing state of the specific recording identification task;
s3: and executing the specified sound recording identification task, and then executing all other sound recording identification tasks except the specified sound recording identification task, wherein the other sound recording identification tasks comprise the specific sound recording identification task.
As described in the foregoing steps S1 to S3, the execution subject of the embodiment of the method is a processing device for recording recognition task. In practical applications, the processing device of the recording recognition task may be implemented by a virtual device, such as a software code, or by an entity device in which a relevant execution code is written or integrated, and may perform human-computer interaction with a user through a keyboard, a mouse, a remote controller, a touch panel, or a voice control device, and the processing device of the recording recognition task may specifically be a terminal device with a recording recognition function. The processing apparatus of recording identification task that this embodiment provided can improve effectively and carry out the intelligence of handling at the in-process of carrying out the recording identification task at present to the new recording identification task demand that the user held this moment, and the guarantee user is using the use experience when using the recording recognition function. Specifically, when a specific recording identification task is currently executed, it is first determined whether a new specified recording identification task is received. Wherein, the recording discernment task also can be called recording and write the task, this recording discernment task refers to the processing apparatus of recording discernment task and carries out the recording operation on the one side to and carry out the task that the character recognition operation to the recording corresponds simultaneously, but the character recognition operation to the recording can have short time delay in comparison with the recording operation, the character recognition that the recording discernment task can't reach to carry out real-time synchronization to the recording promptly, from obtaining one section recording to accomplishing the recording discernment task of the character recognition of this section of recording usually needs the recording identification process of several minutes. In addition, whether the specified recording identification task is received or not can be judged by judging whether a new recording identification operation request triggered by a user is received or not. The trigger form of the recording recognition operation request is not particularly limited, and the user may generate the recording recognition operation request by pressing a physical button or a virtual button, by text input, or by a voice trigger form. For example, when the trigger of the recording identification operation request is in a form of pressing an entity button or a virtual button, the entity button or the virtual button is a button having a mapping relationship with the recording identification request, such as a volume adjustment key; when the trigger form of the recording recognition operation request is a text input form, the user needs to input the related text content corresponding to the generation of the recording recognition operation request, for example, the related text content may be: starting a new recording identification task immediately; when the trigger form of the recording recognition operation request is a voice form, the user needs to input a related voice corresponding to the generation of the recording recognition operation request, for example, the content of the related voice may be: a new recording recognition task is started immediately. And if judging that a new specified recording identification task is received, suspending the execution of the specific recording identification task and storing the current processing state of the specific recording identification task. When the recording identification request is received, the specific recording identification task in the execution state is intelligently suspended, and the current processing state of the specific recording identification task is stored, so that the specific recording identification task corresponding to the new recording identification requirement held by the user can be immediately processed later, the specific recording identification task interrupted by the specific recording identification task is not discarded, the specific recording identification task which is stored but is not identified can be extracted again after the specific recording identification task is executed, and the corresponding current processing state is read to continue to execute the subsequent recording identification process. And finally, executing the specified recording identification task, and then executing all other recording identification tasks except the specified recording identification task, wherein the other recording identification tasks comprise the specific recording identification task. In addition, the process of first designating the designated sound recording identification task and then executing all other sound recording identification tasks except the designated sound recording identification task may include: the priority corresponding to the specified recording identification task and the priorities corresponding to all other recording identification tasks except the specified recording identification task are generated firstly, and the priority corresponding to the specified recording identification task is the highest priority because the specified recording identification task is the recording identification task which needs to be executed currently according to the actual requirements of the user. And then according to the priority of the specified sound recording identification task and the priorities corresponding to all other sound recording identification tasks, executing the specified sound recording identification task according to the priority processing sequence corresponding to the priority, namely executing the other sound recording identification tasks after the specified sound recording identification task is processed. In the embodiment, when the specific recording identification task is executed currently, if a new specified recording identification task is received, the execution of the specific recording identification task is suspended and the current processing state of the specific recording identification task is stored. And then, executing the specified recording identification request, and executing other recording identification tasks including the specific recording identification task after the specified recording identification task is processed. In the embodiment, when a new specified recording identification task is received, the execution of the specific recording identification task currently being executed is suspended, the specified recording identification request is preferentially executed, and then all other recording identification tasks except the specified recording identification task are executed, so that the specified recording identification task corresponding to the new specified recording request triggered by the user can be processed immediately without discarding the specific recording identification task, the intelligence for processing the new recording identification task requirement held by the user at the moment in the process of currently executing the recording identification task is effectively improved, the most important recording identification task held by the user can be processed and completed well, the less important recording identification task in the storage state is completed successively after the most important recording identification task is completed, and the use experience of the user in the recording identification function is guaranteed.
Further, after the designated sound recording identification task is processed, all other sound recording identification tasks except the designated sound recording identification task can be processed by adopting an idle identification processing mode. Specifically, an idle recognition task switch may be preset, and after the specified recording recognition task is processed, it is first determined whether the idle recognition task switch is in an on state, and if it is determined that the idle recognition task switch is in the on state, a timing task with a preset time interval is set. The specific value of the preset time interval is not limited, and may be set to 5 minutes, for example. When the timing task is executed, if the time corresponding to the preset time interval passes, judging whether the timing task is in a use working state or not, if the timing task is judged not to be in the use working state, acquiring the priority corresponding to each task to be processed contained in other recording identification tasks, and sequentially executing each task to be processed in the other recording identification tasks according to the task processing sequence corresponding to the priority of each task to be processed contained in the other recording identification tasks. And if the current working state is judged to be in the use working state, continuing the timing task of the next preset time interval. In this embodiment, after the designated recording identification task is processed, all other recording identification tasks except the designated recording identification task are processed in an idle identification processing manner, so that the condition that the normal use of the terminal device by the user is affected by the processing of the other recording identification tasks is avoided, and good use experience of the user is ensured.
Further, in an embodiment of the present application, the step S3 includes:
s300: acquiring a preset task category;
s301: matching each to-be-processed sound recording identification task with the task category according to the task category, dividing all the to-be-processed sound recording identification tasks into a plurality of categories of tasks, distributing category processing priorities to each category of tasks obtained after division, and sequencing category processing sequences of the various tasks obtained after division according to the category priorities, wherein the to-be-processed sound recording identification tasks comprise the specified sound recording identification task and the other sound recording identification tasks;
s302: distributing task processing priorities to each task to be processed contained in the assigned tasks according to a preset rule in all the tasks to be processed contained in the assigned tasks obtained after division, and sequencing the task processing sequence of each task to be processed in the assigned tasks according to the task processing priorities, wherein the assigned tasks are any one of a plurality of classes of tasks obtained after division;
s303: screening first specific tasks which are sequenced in a category processing sequence according to the category processing sequence, sequentially executing each task to be processed in the first specific tasks according to the task processing sequence of each task to be processed contained in the first specific tasks, screening second specific tasks which are sequenced in the category processing sequence according to the category processing sequence after all the tasks to be processed in the first specific tasks are executed, sequentially executing each task to be processed in the second specific tasks according to the task processing sequence of each task to be processed contained in the second specific tasks, and so on until the execution operation of all the record recognition tasks to be processed is completed, wherein the first specific tasks only comprise the specified record recognition tasks.
As described in the foregoing steps S300 to S303, the step of executing the specified audio record identification task and then executing all other audio record identification tasks except the specified audio record identification task may specifically include: first, a preset task category is obtained. In addition, different task categories may be preset corresponding to different types of sound recording identification tasks, and the task categories in this embodiment may specifically include a first task category, a second task category, a third task category, and a fourth task category. And then, according to the task categories, performing matching processing on each to-be-processed sound recording identification task and the task categories, dividing all the to-be-processed sound recording identification tasks into the multiple categories of tasks, allocating category processing priorities to each category of tasks obtained after division, and sequencing the category processing sequences of the various tasks obtained after division according to the category priorities, wherein the to-be-processed sound recording identification tasks comprise the specified sound recording identification task and the other sound recording identification tasks. When the number of the task categories is four, each to-be-processed sound recording identification task can be matched with the task category, namely, each to-be-processed sound recording identification task is matched to the corresponding task category, so that all to-be-processed sound recording identification tasks are divided into a plurality of categories of tasks. If the recording identification tasks to be processed include tasks corresponding to four task categories, all the recording identification tasks to be processed may be divided into four types of tasks corresponding to the task categories, that is, a first type of task corresponding to a first task category, a second type of task corresponding to a second task category, a third type of task corresponding to a third task category, and a fourth type of task corresponding to a fourth task category, where the first type of task belonging to the first task category is specifically the designated recording identification task among the recording identification tasks to be processed, the second type of task belonging to the second task category is specifically a recording identification task having a user selection identifier, the third type of task belonging to the third task category is specifically an interrupted recording identification task interrupted by a newly started recording identification task, and the fourth type of task belonging to the fourth task category is specifically a remaining recording identification task other than the first type of task, the second type of task, and the third type of task. In addition, each type of task obtained by division may be further assigned with a corresponding type processing priority, specifically, a highest priority may be assigned to the first type of task, a second highest priority may be assigned to the second type of task, a third highest priority may be assigned to the third type of task, a fourth highest priority may be assigned to the fourth type of task, and the type processing order of each type of task may be sorted according to the order of the highest priority, the second highest priority, the third highest priority, and the fourth highest priority. And then, in all the tasks to be processed contained in the assigned tasks obtained after the division, allocating task processing priorities to each task to be processed contained in the assigned tasks according to a preset rule, and sequencing the task processing sequence of each task to be processed in the assigned tasks according to the task processing priorities, wherein the assigned tasks are any one of the tasks obtained after the division. In addition, when the specified type task is a first type task, as the first type task only contains the specified recording identification task, only a corresponding task processing priority needs to be allocated to the specified recording identification task, and the task processing sequence of the specified recording identification task is a first order; when the designated task is a second task and the second task contains a plurality of tasks to be processed, distributing corresponding task processing priorities according to task identification sequence information which is input by a user and corresponds to the tasks to be processed in the second task one by one, and sequencing the task processing sequence of the tasks to be processed in the second task according to the task processing priorities; and when the specified task is a third task or a fourth task and the third task or the fourth task contains a plurality of tasks to be processed, allocating corresponding task processing priorities according to the recording start time and the segment number information of each task to be processed in the specified task, and sequencing the task processing sequence of each task to be processed in the specified task according to the task processing priorities. And finally, screening first specific tasks which are sequenced in a category processing sequence according to the category processing sequence, sequentially executing each task to be processed in the first specific tasks according to the task processing sequence of each task to be processed contained in the first specific tasks, screening second specific tasks which are sequenced in the category processing sequence according to the category processing sequence after all the tasks to be processed in the first specific tasks are executed, sequentially executing each task to be processed in the second specific tasks according to the task processing sequence of each task to be processed contained in the second specific tasks, and so on until the execution operation of all the record recognition tasks to be processed is completed, wherein the first specific tasks only comprise the specified record recognition tasks. During the execution process of the record identification tasks to be processed, the category processing sequence of each type of task is determined according to the category processing sequence, after the category processing sequence of each type of task is subdivided, the task processing sequence of each record identification task to be processed in each type of task is determined according to the task processing sequence, and all the record identification tasks to be processed are sequentially executed according to the category processing sequence and the task processing sequence, so that each record identification task to be processed under any type of task can be sequentially executed according to the corresponding category processing sequence and the task processing sequence, the intelligence of task processing is improved, and the task execution efficiency is improved.
Further, in an embodiment of the application, the step S301 includes:
s3010: reading a pre-input task division rule;
s3011: matching each to-be-processed recording identification task with the task category according to the task division rule, dividing the specified recording identification task in all the to-be-processed recording identification tasks into a first type of task, dividing the recording identification task with a user selection identifier into a second type of task, dividing an interrupted recording identification task interrupted by a newly-started recording identification task into a third type of task, and dividing the rest recording identification tasks except the first type of task, the second type of task and the third type of task into fourth type of tasks;
s3012: receiving an input priority assignment instruction;
s3013: according to the priority assignment instruction, assigning the highest priority to the first type of tasks, assigning the second high priority to the second type of tasks, assigning the third high priority to the third type of tasks, and assigning the fourth high priority to the fourth type of tasks;
s3014: and sorting the category processing sequences of the various tasks obtained after the classification according to the sequencing sequence of the highest priority, the second highest priority, the third highest priority and the fourth highest priority.
As described in steps S3010 to S3014, the step of performing matching processing on each to-be-processed sound recording identification task and the task class according to the task class, dividing all the to-be-processed sound recording identification tasks into the multiple classes of tasks, assigning a class processing priority to each class of tasks obtained by the division, and sorting the class processing order of each class of tasks obtained by the division according to the class priority may specifically include: firstly, a task division rule input in advance is read. The task division rule can be a rule which is input by a user in advance according to the actual requirement of the user and is used for carrying out task division on different to-be-processed recording identification tasks. Then, matching processing is carried out on each to-be-processed recording identification task and the task type according to the task division rule, the specified recording identification task in all the to-be-processed recording identification tasks is divided into a first type task, the recording identification task with the user selection mark is divided into a second type task, an interrupted recording identification task interrupted by the newly-started recording identification task is divided into a third type task, and the rest recording identification tasks except the first type task, the second type task and the third type task are divided into a fourth type task. The specified recording identification task is a recording identification task which needs to be executed by the user at the current time according to the actual personal requirements; the recording identification task with the user selection identifier is a recording identification task actively selected by a user and required to be identified as soon as possible, the user selection identifier may be generated after special processing is performed on the recording identification task selected by the user, for example, the user selection identifier may be special processing with highlighting and thickening, or may be in the form of specific characters or patterns; the interrupted recording identification task interrupted by the newly started recording identification task is a task which is passively suspended by a user due to the fact that the user has a new recording identification task needing to be executed immediately, and the specific recording identification task belongs to the interrupted recording identification task; the remaining recording identification tasks are all unidentified recording identification tasks except the first type task, the second type task and the third type task. And after the task classification of each to-be-processed sound record identification according to the task division rule is completed, receiving an input priority distribution instruction. The priority distribution instruction is an instruction which is input by a user according to the actual requirement of the user and used for carrying out priority sequencing on various tasks of different task categories obtained after division. And then, according to the priority assignment instruction, assigning the highest priority class processing priority to the first class of tasks, assigning the second highest priority class processing priority to the second class of tasks, assigning the third highest priority class processing priority to the third class of tasks, and assigning the fourth highest priority class processing priority to the fourth class of tasks. The type processing order of the first type task corresponding to the highest priority is a first order, the type processing order of the second type task corresponding to the second highest priority is a second order, the type processing order of the third type task corresponding to the third highest priority is a third order, and the type processing order of the fourth type task corresponding to the fourth highest priority is a fourth order. And finally, sorting the category processing sequences of the various tasks obtained after the classification according to the sequence of the highest priority, the second highest priority, the third highest priority and the fourth highest priority. The result obtained after sequencing the first priority processing sequence of each type of task is as follows: the first type task, the second type task, the third type task and the fourth type task are processed, namely the first type task is processed preferentially, the second type task is processed after the first type task is processed, the third type task is processed after the second type task is processed, and the fourth type task is processed finally after the third type task is processed. In the embodiment, the corresponding category processing priorities are reasonably distributed according to various task categories of each to-be-processed sound recording identification task, so that each to-be-processed sound recording identification task can be sequentially executed according to the category processing sequence corresponding to the category processing priorities, the intelligence of task processing is improved, and the task execution efficiency is improved.
Further, in an embodiment of the application, the step S302 includes:
s3020: when the designated task is the second task, acquiring task identification sequence information which is input by a user in advance and corresponds to each task to be processed in the second task one by one;
s3021: according to the task identification sequence information, distributing first assigned task processing priorities in one-to-one correspondence to each task to be processed in the assigned tasks respectively;
s3022: and sequencing the task processing sequence of each task to be processed in the appointed tasks according to the first appointed task processing priority.
As described in the foregoing steps S3020 to S3022, the designated task may be the first type task, the second type task, the third type task, or the fourth type task, and when the designated task is the second type task, the step of allocating, according to a preset rule, a task processing priority to each task to be processed included in the designated task among all the tasks to be processed included in the designated task after the division, and sorting a task processing order of each task to be processed in the designated task according to the task processing priority may specifically include: firstly, acquiring task identification sequence information which is input by a user in advance and corresponds to each task to be processed in the second type of tasks one by one. The task identification sequence information ChoiceId is input by the user according to the actual personal requirements, and specific contents contained in the task identification sequence information, such as a natural arrangement sequence, correspond to a priority processing sequence of each task to be processed in the second type of tasks. In addition, the task identification sequence information may be digital information, such as 1,2,3 ·, or english information, such as a, b, c ·, and so on, but it is necessary to ensure that the task identification sequence information of all the tasks to be processed in the second type of task is the same information type, such as all the task identification sequence information are digital information types, or all the task identification sequence information are english information types. And then, according to the task identification sequence information, respectively allocating first assigned task processing priorities in one-to-one correspondence to each task to be processed in the assigned tasks. For example, if the second type of task includes 3 tasks to be processed in total, which are, respectively, a task a to be processed, a task B to be processed, and a task C to be processed, and the task identification sequence information corresponding to the task a to be processed is 1, the task identification sequence information corresponding to the task B to be processed is 2, and the task identification sequence information corresponding to the task C to be processed is 3, the first designated task processing priority assigned to the task a to be processed is the highest priority, the first designated task processing priority assigned to the task B to be processed is the second highest priority, and the first designated task processing priority assigned to the task C to be processed is the third highest priority according to the natural arrangement sequence of the task identification sequence information. And finally, sequencing the second priority processing sequence of each task to be processed in the appointed tasks according to the first appointed task processing priority. According to the above example, the result obtained by sorting the second priority processing order of each to-be-processed task in the specified tasks according to the first specified task processing priority is as follows: the task A to be processed, the task B to be processed and the task C to be processed are executed preferentially, the task B to be processed is executed after the task A to be processed is processed, and the task C to be processed is executed finally after the task B to be processed is processed. According to the task processing method and the task processing device, the task processing priorities corresponding to one can be allocated to each task to be processed in the second type of tasks according to the pre-input task identification sequence information, so that each task to be processed in the second type of tasks can be executed orderly according to the task processing sequence corresponding to the task processing priorities, the task processing intelligence is improved, and the task execution efficiency is improved.
Further, in an embodiment of the application, the step S302 includes:
s3023: when the appointed task is the third task or the fourth task, acquiring the recording start time of each task to be processed in the appointed task;
s3024: according to the recording starting time, distributing a second designated task processing priority which corresponds to each task to be processed in the designated tasks one by one;
s3025: judging whether a plurality of specified tasks to be processed with the same recording start time exist or not;
s3026: if yes, respectively acquiring segment number information corresponding to each appointed task to be processed;
s3027: according to the segment number information, adjusting a second assigned task processing priority of each assigned task to be processed to obtain an adjusted third assigned task processing priority corresponding to the assigned task to be processed;
s3028: according to the third assigned task processing priority, correspondingly adjusting second assigned task processing priorities of other tasks to be processed except the assigned task to be processed in the assigned tasks to obtain adjusted fourth assigned task processing priorities corresponding to the other tasks to be processed;
s3029: and sequencing the task processing sequence of each task to be processed in the appointed tasks according to the third appointed task processing priority and the fourth appointed task processing priority.
As described in steps S3023 to S3029, the designated task may be the third type task or the fourth type task, in addition to the second type task. When the assigned task is the third type task or the fourth type task, the step of allocating a task processing priority to each task to be processed included in the assigned task according to a preset rule among all tasks to be processed included in the assigned task obtained after the division, and sequencing a task processing sequence of each task to be processed in the assigned task according to the task processing priority may specifically include: firstly, the recording start time of each task to be processed in the specified tasks is obtained. The recording start time may also be referred to as an audio file creation time FileStartTime. And then, according to the recording start time, respectively allocating a one-to-one corresponding second designated task processing priority to each task to be processed in the designated tasks. The recording start time includes specific contents, for example, a time sequence corresponds to a task processing sequence of each task to be processed in the third type or the fourth type of task, and the earlier the recording start time is, the earlier the task processing sequence of the task to be processed is. For example, the above specified tasks include 5 tasks to be processed in total, which are, respectively, task D to be processed, task E to be processed, task F to be processed, task G to be processed, and task H to be processed, and the recording start time corresponding to task D to be processed is 2020/04/01/11/00, the recording start time corresponding to task E to be processed is 2020/04/01/13, the recording start time corresponding to task F to be processed is 2020/04/01/13/00, the recording start time corresponding to task G to be processed is 2020/04/01/13/00, the recording start time corresponding to task H to be processed is 2020/04/01/15/00, then the processing priority of the second specified task assigned to task D to be processed according to the time sequence of the recording start times is the highest priority, the processing priorities of the second specified tasks assigned to tasks E, F, and G to be processed are all the second high priorities, and the processing priority assigned to task H to be processed is the third high priority. And then judging whether a plurality of specified tasks to be processed with the same recording starting time exist, and if so, respectively acquiring the segment number information corresponding to each specified task to be processed. For a good reading experience, the audio file is usually divided into a plurality of divided partial files with fixed duration by a preset duration, and each divided partial file is assigned with a corresponding identification segment number PartId, for example, one audio file may be divided into a first divided file with an identification segment number PartId of Part1, and a second divided file with an identification segment number PartId of Part 2. The preset time is not particularly limited, and can be set according to actual requirements. In addition, if there are a plurality of designated tasks to be processed with the same recording start time, which indicate that the designated tasks to be processed belong to a plurality of tasks divided from the same audio file to be processed, the same second designated task processing priority is firstly assigned to the designated tasks to be processed by default, but the second designated task processing priority of each designated task to be processed needs to be subdivided and adjusted according to the segment number information of the designated tasks to be processed subsequently. And after the segment number information is obtained, adjusting the second assigned task processing priority of each assigned task to be processed according to the segment number information to obtain an adjusted third assigned task processing priority corresponding to the assigned task to be processed. The segment number information includes specific contents, such as a natural arrangement order of the segment numbers, corresponding to the task processing order of each of the designated tasks to be processed, and the smaller the segment number is, the earlier the task processing order of the designated tasks to be processed is, the larger the segment number is, and the later the task processing order of the designated tasks to be processed is. According to the above example, if the segment number information corresponding to the task to be processed E is Part1, the segment number information corresponding to the task to be processed F is Part2, and the segment number information corresponding to the task to be processed G is Part3, the second designated task processing priority of the tasks to be processed E to G is adjusted to the third designated task processing priority according to the natural arrangement order of the segment numbers in the segment number information. Specifically, the second assigned task processing priority of the task E to be processed is adjusted to the third assigned task processing priority, but the third assigned task processing priority of the task E to be processed remains unchanged from the original second high priority, the second assigned task processing priority of the task F to be processed is adjusted to the third high priority, and the second assigned task processing priority of the task G to be processed is adjusted to the fourth high priority. After the third designated task processing priority is obtained, according to the third designated task processing priority, correspondingly adjusting second designated task processing priorities of other tasks to be processed except the designated tasks to be processed in the designated tasks to be processed, and obtaining adjusted fourth designated task processing priorities corresponding to the other tasks to be processed. In the above example, after the task processing priority of the task E to be processed is kept unchanged at the second highest priority, the task processing priority of the task F to be processed is adjusted to the third highest priority, and the task processing priority of the task G to be processed is adjusted to the fourth highest priority, the second designated task processing priority of the task D to be processed is further adjusted to the fourth designated task processing priority, but the fourth designated task processing priority of the task D to be processed is kept unchanged at the original highest priority, and the second designated task processing priority of the task H to be processed is adjusted to the fifth highest priority. And finally, sequencing the task processing sequence of each task to be processed in the appointed tasks according to the third appointed task processing priority and the fourth appointed task processing priority. According to the above example, the result obtained by sorting the task processing order of each to-be-processed task in the specified tasks according to the third specified task processing priority and the fourth specified task processing priority is: the method comprises the steps of executing a task D to be processed, executing the task E to be processed after the task D to be processed is processed, executing the task F to be processed after the task E to be processed is processed, executing the task G to be processed after the task F to be processed is processed, and executing the task H to be processed after the task G to be processed is processed. According to the embodiment, the task processing priorities corresponding to the third type of task or the fourth type of task one by one can be allocated to each task to be processed according to the recording start time and the segment number information, so that each task to be processed in the second type of task can be sequentially executed according to the task processing sequence corresponding to the task processing priorities, the intelligence of task processing is improved, and the task execution efficiency is improved.
In an embodiment of the application, before the step S303, the method includes:
s3030: respectively acquiring priority information corresponding to each to-be-processed sound recording identification task, wherein the priority information comprises a category processing priority corresponding to a task category of the to-be-processed sound recording identification task and a task processing priority of the to-be-processed sound recording identification task; and the number of the first and second groups,
s3031: respectively acquiring task flow information corresponding to each to-be-processed recording identification task;
s3032: and generating a task identification schedule corresponding to all the to-be-processed sound recording identification tasks according to the priority information and the task flow information.
As described in steps S3030 to S3032, before performing the task execution process for executing all the record recognition tasks to be processed according to the category processing order and the task processing order, a creation process for creating a task recognition schedule corresponding to all the record recognition tasks to be processed may be further included. Specifically, the creating step of creating the task identification schedule may include: respectively acquiring priority information corresponding to each of the to-be-processed recording identification tasks, wherein the priority information comprises a category processing priority corresponding to a task category of the to-be-processed recording identification task and a task processing priority of the to-be-processed recording identification task; and respectively acquiring task flow information corresponding to each to-be-processed sound recording identification task. The task flow information comprises various flow information corresponding to the record identification task to be processed. Specifically, each recording identification task to be processed records a unique identification number AsrId, and an audio file to be identified corresponding to the recording identification task to be processed records a unique identification file number FileId, a recording start time or audio file creation time FileStartTime, a recorded time or an audio file time FileTime of the audio file to be identified; for a long recording time or a large audio file to be recognized, for a good reading experience, a plurality of segmented files with fixed time length are obtained by segmenting the audio file to be recognized with a preset time length, and each segmented file after segmentation is assigned with a corresponding identification segment number PartId, and a segmented file time PartFileTime, a total number of segments PartTotal, a segment recognized time partasdredtime, a segment translated time parttransmatedtime, a recognition priority PriorityId, and task recognition sequence information ChoiceId input by a user corresponding to each segmented file. The task flow information in this embodiment may at least include the unique identification number AsrId, the unique identification file number FileId, the recording start time FileStartTime, the recorded time FileTime, the identification segment number PartId, the split file duration PartFileTime, the total number of segments PartTotal, the segment identified time PartAsredTime, the segment translated time parttralatedtime, the identification priority PriorityId, and the task identification sequence information ChoiceId. In addition, the audio file to be processed with the recording total time length unfixed or overlong time length is divided into a plurality of segmented files of which the longest time length does not exceed the preset time length, then an identification task is established for the segmented files one by one, the segmented files are cut into sentences according to natural language for identification, each sentence has a sentence time length SenterTime and a mute data segment time length SilenceTime which does not need to be identified, and the segmented identified time length PartAsredTime can be obtained by carrying out statistical analysis on the sentence time lengths SenterTime and the mute data segment time length SilenceTime. And finally, generating a task identification schedule corresponding to all the to-be-processed recording identification tasks according to the priority information and the task flow information, so that a user can clearly know the identification schedule and the identification sequence corresponding to each current to-be-processed recording identification task by looking up the task identification schedule, and the use experience of the user is ensured.
Further, in an embodiment of the present application, after the step S3032, the method includes:
s3033: displaying the task identification schedule;
s3034: judging whether an adjusting instruction which is triggered by a user and is used for the task identification schedule is received or not;
s3035: and if so, executing adjustment processing corresponding to the adjustment instruction on the task identification schedule according to the adjustment instruction.
As described in steps S3033 to S3035, after the task identification schedule corresponding to all the recording identification tasks to be processed is generated according to the priority information and the task flow information, the task identification schedule may be further intelligently adjusted according to the actual requirement of the user. Specifically, after the step of generating the task identification schedule corresponding to all the record identification tasks to be processed according to the priority information and the task flow information, the method may further include: the task recognition schedule is presented first. The display form of the task recognition schedule is not particularly limited, and may be, for example, a pop-up window form. And then judging whether an adjusting instruction triggered by a user and used for the task identification schedule is received. The trigger form of the adjustment instruction is not particularly limited, and the user may generate the adjustment instruction by pressing a physical button or a virtual button, clicking a drag, or a voice trigger form. In addition, specific contents of the adjustment instruction are not particularly limited, and for example, the adjustment instruction may include adjusting the priority of the to-be-processed sound recording identification task in the task identification schedule, or deleting some unnecessary to-be-processed sound recording identification tasks, and the like. And if the adjustment instruction triggered by the user and corresponding to the task identification schedule is judged to be received, the adjustment processing corresponding to the adjustment instruction is executed on the task identification schedule according to the adjustment instruction, so that the user can intelligently adjust the to-be-processed recording identification task in the task identification schedule according to the actual use requirement of the user, and the use experience of the user is improved.
Referring to fig. 2, an embodiment of the present application further provides a processing apparatus for a recorded sound identification task, including:
the judgment module 1 is used for judging whether a new specified recording identification task is received or not when a specific recording identification task is executed currently;
the pause module 2 is used for pausing the execution of the specific recording identification task and storing the current processing state of the specific recording identification task if the specific recording identification task is executed;
and the execution module 3 is used for executing the specified recording identification task and then executing all other recording identification tasks except the specified recording identification task, wherein the other recording identification tasks comprise the specific recording identification task.
In this embodiment, the implementation processes of the functions and functions of the judgment module, the pause module, and the execution module in the processing apparatus for the recording identification task are specifically described in the implementation processes corresponding to steps S1 to S3 in the processing method for the recording identification task, and are not described herein again.
Further, in an embodiment of the application, the executing module includes:
the first acquisition unit is used for acquiring a preset task category;
the first allocation unit is used for matching each to-be-processed sound recording identification task with the task category according to the task category, dividing all the to-be-processed sound recording identification tasks into a plurality of categories of tasks, allocating category processing priorities to each category of tasks obtained after division, and sequencing category processing sequences of the various tasks obtained after division according to the category priorities, wherein the to-be-processed sound recording identification tasks comprise the specified sound recording identification task and the other sound recording identification tasks;
the second allocating unit is used for allocating task processing priorities to each task to be processed contained in the assigned tasks according to a preset rule in all the tasks to be processed contained in the assigned tasks obtained after the division, and sequencing the task processing sequence of each task to be processed in the assigned tasks according to the task processing priorities, wherein the assigned tasks are any one of a plurality of types of tasks obtained after the division;
the execution unit is used for screening out first specific tasks which are ranked first in a category processing sequence according to the category processing sequence, then sequentially executing each task to be processed in the first specific tasks according to a task processing sequence of each task to be processed contained in the first specific tasks, screening out second specific tasks which are ranked second in the category processing sequence according to the category processing sequence after all the tasks to be processed in the first specific tasks are completely executed, sequentially executing each task to be processed in the second specific tasks according to the task processing sequence of each task to be processed contained in the second specific tasks, and so on until the execution operation of all the record identification tasks to be processed is completed, wherein the first specific tasks only comprise the specified record identification tasks.
In this embodiment, the implementation processes of the functions and actions of the first obtaining unit, the first allocating unit, the second allocating unit, and the executing unit in the processing apparatus for the recording identification task are specifically described in the implementation processes corresponding to steps S300 to S303 in the processing method for the recording identification task, and are not described herein again.
Further, in an embodiment of the present application, the first allocating unit includes:
the reading subunit is used for reading a task division rule input in advance;
a dividing subunit, configured to perform matching processing on each to-be-processed recording identification task and the task category according to the task dividing rule, divide the specified recording identification task of all the to-be-processed recording identification tasks into a first category task, divide the recording identification task having a user selection identifier into a second category task, divide an interrupted recording identification task interrupted by a newly-started recording identification task into a third category task, and divide remaining recording identification tasks except the first category task, the second category task, and the third category task into fourth category tasks;
the receiving subunit is used for receiving an input priority assignment instruction;
the first allocating subunit is configured to allocate the highest priority to the first type of task, allocate the second highest priority to the second type of task, allocate the third highest priority to the third type of task, and allocate the fourth highest priority to the fourth type of task according to the priority allocation instruction;
and the first sequencing subunit is used for sequencing the category processing sequence of each type of task obtained after the classification according to the sequencing sequence of the highest priority, the second highest priority, the third highest priority and the fourth highest priority.
In this embodiment, the implementation processes of the functions and actions of the reading subunit, the dividing subunit, the receiving subunit, the first allocating subunit, and the first sequencing subunit in the processing apparatus for the recording identification task are specifically described in the implementation processes corresponding to steps S3010 to S3014 in the processing method for the recording identification task, and are not described herein again.
Further, in an embodiment of the application, the second allocating unit includes:
the first acquiring subunit is configured to acquire, when the designated task is the second task, task identification sequence information that is input in advance by a user and corresponds to each to-be-processed task in the second task one to one;
the second assignment subunit is used for respectively assigning a one-to-one corresponding first assigned task processing priority to each task to be processed in the assigned tasks according to the task identification sequence information;
and the second sequencing subunit is used for sequencing the task processing sequence of each task to be processed in the assigned tasks according to the first assigned task processing priority.
In this embodiment, for details of the implementation processes of the functions and functions of the first obtaining subunit, the second allocating subunit, and the second sorting subunit in the processing apparatus for the record identification task, the implementation processes corresponding to steps S3020 to S3022 in the processing method for the record identification task are described in detail, and are not described again here.
Further, in an embodiment of the application, the second allocating unit includes:
the second obtaining subunit is configured to obtain, when the specified task is the third task or the fourth task, a recording start time of each to-be-processed task in the specified task;
the third allocating subunit is configured to allocate, according to the recording start time, a one-to-one corresponding second assigned task processing priority to each to-be-processed task in the assigned class of tasks;
the judging subunit is used for judging whether a plurality of specified tasks to be processed with the same recording start time exist;
a third obtaining subunit, configured to, if yes, obtain segment number information corresponding to each of the specified to-be-processed tasks, respectively;
a first adjusting subunit, configured to adjust a second assigned task processing priority of each assigned to-be-processed task according to the segment number information, to obtain an adjusted third assigned task processing priority corresponding to the assigned to-be-processed task;
a second adjusting subunit, configured to perform, according to the third designated task processing priority, corresponding adjustment on second designated task processing priorities of other to-be-processed tasks in the designated class task except the designated to-be-processed task, to obtain an adjusted fourth designated task processing priority corresponding to the other to-be-processed task;
and the third sequencing subunit is configured to sequence the task processing order of each to-be-processed task in the specified tasks according to the third specified task processing priority and the fourth specified task processing priority.
In this embodiment, the implementation processes of the functions and actions of the second obtaining subunit, the third distributing subunit, the judging subunit, the third obtaining subunit, the first adjusting subunit, the second adjusting subunit, and the third sorting subunit in the processing apparatus for the sound recording identification task are specifically described in the implementation processes corresponding to steps S3023 to S3029 in the processing method for the sound recording identification task, and are not described herein again.
Further, in an embodiment of the present application, the execution module includes:
a second obtaining unit, configured to obtain priority information corresponding to each of the to-be-processed sound recording identification tasks, where the priority information includes a category processing priority corresponding to a task category of the to-be-processed sound recording identification task and a task processing priority of the to-be-processed sound recording identification task; and the number of the first and second groups,
the third acquisition unit is used for respectively acquiring task flow information corresponding to each to-be-processed recording identification task;
and the generating unit is used for generating a task identification schedule corresponding to all the to-be-processed sound recording identification tasks according to the priority information and the task flow information.
In this embodiment, the implementation processes of the functions and actions of the second obtaining unit, the third obtaining unit and the generating unit in the processing apparatus for the recording identification task are specifically described in the implementation processes corresponding to steps S3030 to S3032 in the processing method for the recording identification task, and are not described herein again.
Further, in an embodiment of the present application, the execution module includes:
the display unit is used for displaying the task identification schedule;
the judging unit is used for judging whether an adjusting instruction which is triggered by a user and is used for the task identification schedule is received or not;
and if so, executing adjustment processing corresponding to the adjustment instruction on the task identification schedule according to the adjustment instruction.
In this embodiment, for details of the implementation processes of the functions and functions of the display unit, the determining unit, and the processing unit in the processing apparatus for the sound recording identification task, the implementation processes corresponding to steps S3033 to S3035 in the processing method for the sound recording identification task are described in detail, and are not described herein again.
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer device is designed with a processor for providing computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as a specific recording identification task, a specified recording identification task and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for processing a voice recording recognition task.
The processor executes the processing method of the recording identification task, and the processing method comprises the following steps:
judging whether a new specified recording identification task is received or not when the specific recording identification task is executed currently;
if so, pausing execution of the specific recording identification task and storing the current processing state of the specific recording identification task;
and executing the specified recording identification task, and then executing all other recording identification tasks except the specified recording identification task, wherein the other recording identification tasks comprise the specific recording identification task.
Those skilled in the art will appreciate that the structure shown in fig. 3 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation to the apparatus and the computer device to which the present application is applied.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a processing method for a recording identification task, and specifically includes:
judging whether a new specified recording identification task is received or not when the specific recording identification task is executed currently;
if so, pausing execution of the specific recording identification task and storing the current processing state of the specific recording identification task;
and executing the specified sound recording identification task, and then executing all other sound recording identification tasks except the specified sound recording identification task, wherein the other sound recording identification tasks comprise the specific sound recording identification task.
In summary, the processing method, the processing device, the computer device, and the storage medium for the audio record identification task provided in the embodiment of the present application determine whether a new designated audio record identification task is received when a specific audio record identification task is currently executed; if so, pausing execution of the specific recording identification task and storing the current processing state of the specific recording identification task; and executing the specified sound recording identification task, and then executing all other sound recording identification tasks except the specified sound recording identification task, wherein the other sound recording identification tasks comprise the specific sound recording identification task. When a new appointed recording identification task is received, the execution is suspended, and the currently executed specific recording identification task is stored, then the appointed recording identification request is preferentially executed, all other recording identification tasks except the appointed recording identification task are executed, so that the appointed recording identification task corresponding to the new appointed recording request triggered by a user can be processed immediately, the specific recording identification task is not discarded, the intelligence for processing the new recording identification task requirement held by the user at the moment in the current recording identification task execution process is effectively improved, the most important recording identification task held by the user can be processed and completed well, the less important recording identification task in a storage state is completed successively after the most important recording identification task is completed, and the use experience of the user in the recording identification function is guaranteed.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware related to instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of another identical element in a process, apparatus, article, or method comprising the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all the equivalent structures or equivalent processes that can be directly or indirectly applied to other related technical fields by using the contents of the specification and the drawings of the present application are also included in the scope of the present application.

Claims (8)

1. A processing method of a record recognition task is characterized by comprising the following steps:
judging whether a new specified recording identification task is received or not when the specific recording identification task is executed currently;
if yes, pausing execution of the specific recording identification task, and storing the current processing state of the specific recording identification task;
executing the specified sound recording identification task, and then executing all other sound recording identification tasks except the specified sound recording identification task, wherein the other sound recording identification tasks comprise the specific sound recording identification task;
the step of executing the specified audio recording identification task and then executing all other audio recording identification tasks except the specified audio recording identification task includes:
acquiring a preset task category;
matching each to-be-processed sound recording identification task with the task category according to the task category, dividing all the to-be-processed sound recording identification tasks into a plurality of categories of tasks, distributing category processing priorities to each category of tasks obtained after division, and sequencing category processing sequences of the various categories of tasks obtained after division according to the category priorities, wherein the to-be-processed sound recording identification tasks comprise the specified sound recording identification task and the other sound recording identification tasks;
in all tasks to be processed contained in the assigned tasks obtained after the division, allocating task processing priorities to each task to be processed contained in the assigned tasks according to a preset rule, and sequencing the task processing sequence of each task to be processed in the assigned tasks according to the task processing priorities, wherein the assigned tasks are any one of a plurality of types of tasks obtained after the division;
screening first specific tasks which are ranked first in a category processing sequence according to the category processing sequence, sequentially executing each task to be processed in the first specific tasks according to the task processing sequence of each task to be processed contained in the first specific tasks, screening second specific tasks which are ranked second in the category processing sequence according to the category processing sequence after all the tasks to be processed in the first specific tasks are executed, sequentially executing each task to be processed in the second specific tasks according to the task processing sequence of each task to be processed contained in the second specific tasks, and so on until the execution operation of all the record recognition tasks to be processed is completed, wherein the first specific tasks only comprise the specified record recognition tasks;
the step of matching each to-be-processed sound recording identification task with the task category according to the task category, dividing all to-be-processed sound recording identification tasks into a plurality of categories of tasks, distributing category processing priorities to each category of tasks obtained after division, and sequencing the category processing sequence of each category of tasks obtained after division according to the category priorities comprises the following steps:
reading a pre-input task division rule;
matching each to-be-processed recording identification task with the task category according to the task division rule, dividing the specified recording identification task in all the to-be-processed recording identification tasks into a first type of task, dividing the recording identification task with a user selection identifier into a second type of task, dividing an interrupted recording identification task interrupted by a newly-started recording identification task into a third type of task, and dividing the rest recording identification tasks except the first type of task, the second type of task and the third type of task into fourth type of tasks;
receiving an input priority assignment instruction;
according to the priority assignment instruction, assigning the highest priority to the first type of tasks, assigning the second high priority to the second type of tasks, assigning the third high priority to the third type of tasks, and assigning the fourth high priority to the fourth type of tasks;
and sorting the category processing sequences of the various tasks obtained after the classification according to the sequencing sequence of the highest priority, the second highest priority, the third highest priority and the fourth highest priority.
2. The method for processing the audio record identification task according to claim 1, wherein the step of assigning a task processing priority to each task to be processed included in the assigned class task according to a preset rule among all tasks to be processed included in the assigned class task obtained through the division, and sorting a task processing order of each task to be processed in the assigned class task according to the task processing priority comprises:
when the designated task is the second task, acquiring task identification sequence information which is input by a user in advance and corresponds to each task to be processed in the second task one by one;
according to the task identification sequence information, distributing first assigned task processing priorities in one-to-one correspondence to each task to be processed in the assigned tasks respectively;
and sequencing the task processing sequence of each task to be processed in the appointed tasks according to the first appointed task processing priority.
3. The method for processing the audio record identification task according to claim 1, wherein the step of allocating a task processing priority to each task to be processed included in the assigned class task according to a preset rule among all tasks to be processed included in the assigned class task obtained through the division, and sorting a task processing order of each task to be processed in the assigned class task according to the task processing priority includes:
when the appointed task is the third task or the fourth task, acquiring the recording start time of each task to be processed in the appointed task;
according to the recording starting time, distributing a second designated task processing priority which corresponds to each task to be processed in the designated tasks one by one;
judging whether a plurality of appointed tasks to be processed with the same recording start time exist or not;
if yes, respectively acquiring the segment number information corresponding to each appointed task to be processed;
according to the segment number information, adjusting a second assigned task processing priority of each assigned task to be processed to obtain an adjusted third assigned task processing priority corresponding to the assigned task to be processed;
according to the third assigned task processing priority, correspondingly adjusting second assigned task processing priorities of other tasks to be processed except the assigned task to be processed in the assigned tasks to obtain adjusted fourth assigned task processing priorities corresponding to the other tasks to be processed;
and sequencing the task processing sequence of each task to be processed in the assigned tasks according to the third assigned task processing priority and the fourth assigned task processing priority.
4. The method for processing the record recognition task according to claim 1, wherein the steps of screening out a first specific task that is ranked first in a category processing order according to the category processing order, sequentially executing each task to be processed in the first specific task according to a task processing order of each task to be processed included in the first specific task, after all tasks to be processed in the first specific task are completely executed, screening out a second specific task that is ranked second in the category processing order according to the category processing order, sequentially executing each task to be processed in the second specific task according to a task processing order of each task to be processed included in the second specific task, and so on until the step of executing all record recognition tasks to be processed is completed include:
respectively obtaining priority information corresponding to each of the to-be-processed sound recording identification tasks, wherein the priority information comprises a category processing priority corresponding to a task category of the to-be-processed sound recording identification task and a task processing priority of the to-be-processed sound recording identification task; and the number of the first and second groups,
respectively acquiring task flow information corresponding to each to-be-processed recording identification task;
and generating a task identification schedule corresponding to all the to-be-processed sound recording identification tasks according to the priority information and the task flow information.
5. The method for processing the audio record recognition task according to claim 4, wherein after the step of generating the task recognition schedule corresponding to all the audio record recognition tasks to be processed according to the priority information and the task flow information, the method comprises:
displaying the task identification schedule;
judging whether an adjusting instruction for the task identification schedule triggered by a user is received;
and if so, executing adjustment processing corresponding to the adjustment instruction on the task identification schedule according to the adjustment instruction.
6. A device for processing a recorded voice recognition task, comprising:
the judging module is used for judging whether a new specified recording identification task is received or not when the specific recording identification task is executed currently;
the pause module is used for pausing the execution of the specific recording identification task and storing the current processing state of the specific recording identification task if the specific recording identification task is executed;
the execution module is used for executing the specified recording identification task and then executing all other recording identification tasks except the specified recording identification task, wherein the other recording identification tasks comprise the specific recording identification task;
the first acquisition unit is used for acquiring a preset task category;
the first allocation unit is used for matching each to-be-processed sound recording identification task with the task category according to the task category, dividing all the to-be-processed sound recording identification tasks into a plurality of categories of tasks, allocating category processing priorities to each category of tasks obtained after division, and sequencing category processing sequences of the various tasks obtained after division according to the category priorities, wherein the to-be-processed sound recording identification tasks comprise the specified sound recording identification task and the other sound recording identification tasks;
the second allocating unit is used for allocating task processing priorities to each task to be processed contained in the assigned tasks according to a preset rule in all the tasks to be processed contained in the assigned tasks obtained after the division, and sequencing the task processing sequence of each task to be processed in the assigned tasks according to the task processing priorities, wherein the assigned tasks are any one of a plurality of types of tasks obtained after the division;
an execution unit, configured to screen out a first specific task of a first class sorted in a class processing order according to the class processing order, sequentially execute each task to be processed in the first specific task of the first class according to a task processing order of each task to be processed included in the first specific task of the first class, screen out a second specific task of a second class sorted in the class processing order according to the class processing order after all tasks to be processed in the first specific task of the first class are completely executed, sequentially execute each task to be processed in the second specific task according to a task processing order of each task to be processed included in the second specific task, and so on until execution operations on all record identification tasks to be processed are completed, where the first specific task includes only the specified record identification task;
the reading subunit is used for reading a task division rule input in advance;
a dividing subunit, configured to perform matching processing on each to-be-processed recording identification task and the task category according to the task dividing rule, divide the specified recording identification task of all to-be-processed recording identification tasks into a first category task, divide a recording identification task with a user selection identifier into a second category task, divide an interrupted recording identification task interrupted by a newly-started recording identification task into a third category task, and divide remaining recording identification tasks except for the first category task, the second category task, and the third category task into fourth category tasks;
a receiving subunit, configured to receive an input priority assignment instruction;
the first allocating subunit is configured to allocate the highest priority to the first type of task, allocate the second highest priority to the second type of task, allocate the third highest priority to the third type of task, and allocate the fourth highest priority to the fourth type of task according to the priority allocation instruction;
and the first sequencing subunit is used for sequencing the category processing sequence of each type of task obtained after the classification according to the sequencing sequence of the highest priority, the second highest priority, the third highest priority and the fourth highest priority.
7. A computer arrangement comprising a memory and a processor, the memory having a computer program stored therein, characterized in that the processor, when executing the computer program, is adapted to carry out the steps of the method according to any of claims 1 to 5.
8. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method of any one of claims 1 to 5.
CN202010285868.6A 2020-04-13 2020-04-13 Processing method and device for recording recognition task, computer equipment and storage medium Active CN111488203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010285868.6A CN111488203B (en) 2020-04-13 2020-04-13 Processing method and device for recording recognition task, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010285868.6A CN111488203B (en) 2020-04-13 2020-04-13 Processing method and device for recording recognition task, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111488203A CN111488203A (en) 2020-08-04
CN111488203B true CN111488203B (en) 2023-02-28

Family

ID=71812739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010285868.6A Active CN111488203B (en) 2020-04-13 2020-04-13 Processing method and device for recording recognition task, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111488203B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391359A (en) * 2013-06-27 2013-11-13 东莞宇龙通信科技有限公司 Mobile terminal and voice recognition processing method thereof
CN106531168A (en) * 2016-11-18 2017-03-22 北京云知声信息技术有限公司 Voice recognition method and voice recognition device
CN109558224A (en) * 2018-10-26 2019-04-02 深圳壹账通智能科技有限公司 Task method for pushing, device, computer equipment and storage medium
CN110138837A (en) * 2019-04-15 2019-08-16 平安科技(深圳)有限公司 Request processing method, device, computer equipment and storage medium
CN110458407A (en) * 2019-07-12 2019-11-15 平安普惠企业管理有限公司 A kind of method for allocating tasks, device and computer readable storage medium
CN110851245A (en) * 2019-09-24 2020-02-28 厦门网宿有限公司 Distributed asynchronous task scheduling method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391359A (en) * 2013-06-27 2013-11-13 东莞宇龙通信科技有限公司 Mobile terminal and voice recognition processing method thereof
CN106531168A (en) * 2016-11-18 2017-03-22 北京云知声信息技术有限公司 Voice recognition method and voice recognition device
CN109558224A (en) * 2018-10-26 2019-04-02 深圳壹账通智能科技有限公司 Task method for pushing, device, computer equipment and storage medium
CN110138837A (en) * 2019-04-15 2019-08-16 平安科技(深圳)有限公司 Request processing method, device, computer equipment and storage medium
CN110458407A (en) * 2019-07-12 2019-11-15 平安普惠企业管理有限公司 A kind of method for allocating tasks, device and computer readable storage medium
CN110851245A (en) * 2019-09-24 2020-02-28 厦门网宿有限公司 Distributed asynchronous task scheduling method and electronic equipment

Also Published As

Publication number Publication date
CN111488203A (en) 2020-08-04

Similar Documents

Publication Publication Date Title
US6356869B1 (en) Method and apparatus for discourse management
US5982928A (en) Character recognizing apparatus and method of controlling the same
US6766297B1 (en) Method of integrating a picture archiving communication system and a voice dictation or voice recognition system
US20100064293A1 (en) Apparatus and method for managing user schedule
CN108629549A (en) A kind of schedule processing method and processing device
WO2005050473A2 (en) Clustering of text for structuring of text documents and training of language models
CN109271447A (en) Method of data synchronization, device, computer equipment and storage medium
KR102232859B1 (en) Method for automatically generating a worker pool based on the functional elements and difficulty of crowdsourcing based projects for artificial intelligence training data generation
CN108733343A (en) Generate the method, apparatus and storage medium of phonetic control command
CN109726983A (en) Examine method for allocating tasks, device, computer equipment and storage medium
CN109725995A (en) Data pick-up task executing method, device, equipment and readable storage medium storing program for executing
CN106228047B (en) A kind of application icon processing method and terminal device
Herbig et al. MMPE: A multi-modal interface for post-editing machine translation
CN111367446B (en) Business operation method and device, computer equipment and storage medium
CN109359296A (en) Public sentiment emotion identification method, device and computer readable storage medium
CN111488203B (en) Processing method and device for recording recognition task, computer equipment and storage medium
CN111722893A (en) Method and device for interaction of graphical user interface of electronic equipment and terminal equipment
CN112650449A (en) Release method and release system of cache space, electronic device and storage medium
US20080249822A1 (en) Method and apparatus for process discovery
WO2021027552A1 (en) Dialogue robot configuration method and apparatus, computer device and storage medium
CN110874216B (en) Complete code generation method, device, equipment and storage medium
US20040267589A1 (en) System and method for applying human resources to a project plan
CN106302125A (en) A kind of solicited message is responded method, Apparatus and system
JP5341732B2 (en) Discourse summary generation system and discourse summary generation program
CN114153555A (en) Cloud platform PMEM device management method, system, device and storage medium

Legal Events

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