[go: up one dir, main page]

CN113298423A - Work auditing method and device, computer equipment and storage medium - Google Patents

Work auditing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113298423A
CN113298423A CN202110668713.5A CN202110668713A CN113298423A CN 113298423 A CN113298423 A CN 113298423A CN 202110668713 A CN202110668713 A CN 202110668713A CN 113298423 A CN113298423 A CN 113298423A
Authority
CN
China
Prior art keywords
review
work
task
reviewed
audit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110668713.5A
Other languages
Chinese (zh)
Other versions
CN113298423B (en
Inventor
彭龙腾
黄曙光
童鹏鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202110668713.5A priority Critical patent/CN113298423B/en
Publication of CN113298423A publication Critical patent/CN113298423A/en
Application granted granted Critical
Publication of CN113298423B publication Critical patent/CN113298423B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本公开提供了一种作品审核方法、装置、计算机设备及存储介质,其中,该方法包括接收用户端发送的第一待审核作品,生成与所述第一待审核作品对应的第一审核任务,并将所述第一审核任务添加至审核队列中;响应所述用户端的更新操作,接收所述用户端发送的与所述第一待审核作品对应的更新后的第二待审核作品;其中,所述第一待审核作品与所述第二待审核作品的作品标识相同;生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中;以及将所述第一审核任务的标识信息添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。

Figure 202110668713

The present disclosure provides a work review method, device, computer equipment and storage medium, wherein the method includes receiving a first work to be reviewed sent by a user terminal, and generating a first review task corresponding to the first work to be reviewed, and adding the first review task to the review queue; in response to the update operation of the user terminal, receiving the updated second work to be reviewed corresponding to the first work to be reviewed sent by the user terminal; wherein, The first work to be reviewed has the same work identifier as the second work to be reviewed; a second review task corresponding to the second work to be reviewed is generated, and the second review task is added to the review queue and adding the identification information of the first audit task to the cancel audit task list, so that the audit tasks in the audit queue determine whether they need to be audited based on the cancel audit task list before being audited.

Figure 202110668713

Description

一种作品审核方法、装置、计算机设备及存储介质A work review method, device, computer equipment and storage medium

技术领域technical field

本公开涉及计算机技术领域,具体而言,涉及一种作品审核方法、装置、计算机设备及存储介质。The present disclosure relates to the field of computer technology, and in particular, to a work review method, device, computer equipment, and storage medium.

背景技术Background technique

随着互联网技术的发展,在线教育得到了普及,在线教育可以突破时间和空间的限制,提升学习效率,降低了学习的门槛。用户在参加在线教育过程中会产生一些交互,比如语音答题,文字答题,或者跟着教学模板录制视频等,从而生成对应的作品,为了避免作品中包含有不良信息,需要对用户的作品进行审核。With the development of Internet technology, online education has been popularized, online education can break through the limitations of time and space, improve learning efficiency, and lower the threshold of learning. In the process of participating in online education, users will have some interactions, such as answering questions by voice, answering questions in text, or recording videos with teaching templates, etc., so as to generate corresponding works. In order to avoid bad information in the works, it is necessary to review the user's works.

相关技术中,在对用户的作品进行审核时,为了避免漏审,需要根据用户发布的所有作品的作品标识分别生成对应的审核任务,再由审核人员按照审核任务逐一对所述作品标识对应的作品进行审核。当用户针对某一作品进行更新时,由于更新后的作品与更新前的作品携带有相同的作品标识,从而导致审核人员对作品进行审核时,基于作品标识获取的作品可能是更新前的作品,或者可能是更新后的作品,若是更新前的作品,则可能会导致无效审核,若是更新后的作品,则可能导致对同一作品的重复审核,从而影响作品的审核效率。In the related art, when reviewing a user's work, in order to avoid omission of review, it is necessary to generate corresponding review tasks according to the work IDs of all works published by the user, and then the reviewers shall assign the corresponding work IDs one by one according to the review tasks. Works are reviewed. When a user updates a certain work, because the updated work and the work before the update carry the same work identification, when the reviewers review the work, the work obtained based on the work identification may be the work before the update. Or it may be an updated work. If it is a work before the update, it may lead to invalid review. If it is an updated work, it may lead to repeated review of the same work, thereby affecting the review efficiency of the work.

发明内容SUMMARY OF THE INVENTION

本公开实施例至少提供一种作品审核方法、装置、计算机设备及存储介质。Embodiments of the present disclosure provide at least a work review method, apparatus, computer device, and storage medium.

第一方面,本公开实施例提供了一种作品审核方法,包括:In a first aspect, an embodiment of the present disclosure provides a method for reviewing works, including:

接收用户端发送的第一待审核作品,生成与所述第一待审核作品对应的第一审核任务,并将所述第一审核任务添加至审核队列中;Receive the first work to be reviewed sent by the client, generate a first review task corresponding to the first work to be reviewed, and add the first review task to the review queue;

响应所述用户端的更新操作,接收所述用户端发送的与所述第一待审核作品对应的更新后的第二待审核作品;其中,所述第一待审核作品与所述第二待审核作品的作品标识相同;In response to the update operation of the user terminal, receive an updated second work to be reviewed corresponding to the first work to be reviewed sent by the user terminal; wherein the first work to be reviewed and the second work to be reviewed The works have the same work identification;

生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中;以及将所述第一审核任务的标识信息添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。generating a second review task corresponding to the second work to be reviewed, and adding the second review task to the review queue; and adding the identification information of the first review task to the cancel review task list , so that the review tasks in the review queue determine whether they need to be reviewed based on the list of canceled review tasks before being reviewed.

一种可能的实施方式中,在基于所述第一待审核作品生成第一审核任务,并将所述第一审核任务添加至审核队列中之后,所述方法还包括:In a possible implementation, after generating a first review task based on the first work to be reviewed and adding the first review task to the review queue, the method further includes:

在检测到所述审核队列中存在所述第一审核任务后,对数据库中所述作品标识对应的作品审核状态更新为审核中。After detecting that the first review task exists in the review queue, the review status of the work corresponding to the work identifier in the database is updated to be reviewed.

一种可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:

每隔第一预设时长获取所述数据库中各个作品的审核状态;Obtain the review status of each work in the database every first preset duration;

基于当前次获取的各个作品的审核状态以及前一次获取的各个作品的审核状态,确定未被正常审核的第一目标作品;Based on the review status of each work acquired at the current time and the review status of each work acquired at the previous time, determine the first target work that has not been properly reviewed;

生成与所述第一目标作品对应的第三审核任务,并将所述第三审核任务添加至所述审核队列。A third review task corresponding to the first target work is generated, and the third review task is added to the review queue.

一种可能的实施方式中,根据以下步骤对所述审核队列中的任一审核任务对应的第二目标作品进行审核:In a possible implementation manner, the second target work corresponding to any review task in the review queue is reviewed according to the following steps:

解析所述审核队列,获取所述任一审核任务的标识信息;Parse the audit queue, and obtain the identification information of any one of the audit tasks;

基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务的情况下,基于所述任一审核任务的标识信息,确定所述任一审核任务对应的第二目标作品的标识信息;Based on the identification information of any one of the audit tasks and the list of canceled audit tasks, when it is detected that the any one of the audit tasks is a task that needs to be audited, based on the identification information of the any one of the audit tasks, determine the Identification information of the second target work corresponding to any review task;

基于所述第二目标作品的标识信息对所述第二目标作品进行审核。The second target work is reviewed based on the identification information of the second target work.

一种可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:

在所述第二目标作品完成审核后,将对应的审核结果保存至数据库,并将所述第二目标作品的审核状态更新为已审核。After the review of the second target work is completed, the corresponding review result is saved in the database, and the review status of the second target work is updated to reviewed.

一种可能的实施方式中,所述基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务,包括:In a possible implementation, based on the identification information of any of the audit tasks and the list of canceled audit tasks, it is detected that any of the audit tasks is a task that needs to be audited, including:

在检测到所述取消审核任务列表中不包含所述任一审核任务的标识信息的情况下,确定所述任一审核任务为需要被审核的任务。In a case where it is detected that the list of canceled audit tasks does not contain the identification information of any one of the audit tasks, it is determined that the any one of the audit tasks is a task that needs to be audited.

一种可能的实施方式中,将审核任务的标识信息添加至取消审核任务列表中之后,所述方法还包括:In a possible implementation, after adding the identification information of the audit task to the list of canceling the audit task, the method further includes:

响应所述取消审核任务列表中任一审核任务满足预设删除条件,将所述审核任务的标识信息从所述取消审核任务列表中删除。In response to any audit task in the cancel audit task list meeting a preset deletion condition, the identification information of the audit task is deleted from the cancel audit task list.

一种可能的实施方式中,所述预设删除条件包括以下至少一个:In a possible implementation, the preset deletion condition includes at least one of the following:

所述任一审核任务对应的作品的审核状态为已审核;所述任一审核任务从所述审核队列中被删除;或者,所述任一审核任务添加至所述取消审核任务列表的时长超过第二预设时长。The review status of the work corresponding to any of the review tasks is reviewed; the any review tasks are deleted from the review queue; or, the duration of the addition of the any review tasks to the cancel review task list exceeds The second preset duration.

一种可能的实施方式中,所述将所述第一审核任务的标识信息添加至取消审核任务列表中,包括:In a possible implementation manner, the adding the identification information of the first audit task to the cancel audit task list includes:

在检测到所述第一待审核作品的审核状态为未审核或审核中的情况下,将所述第一审核任务的标识信息添加至取消审核任务列表中。When it is detected that the review status of the first work to be reviewed is unreviewed or under review, the identification information of the first review task is added to the list of canceled review tasks.

第二方面,本公开实施例还提供一种作品审核装置,包括:In a second aspect, an embodiment of the present disclosure also provides a work review device, including:

接收模块,用于接收用户端发送的第一待审核作品,生成与所述第一待审核作品对应的第一审核任务,并将所述第一审核任务添加至审核队列中;a receiving module, configured to receive the first work to be reviewed sent by the client, generate a first review task corresponding to the first work to be reviewed, and add the first review task to the review queue;

更新模块,用于响应所述用户端的更新操作,接收所述用户端发送的与所述第一待审核作品对应的更新后的第二待审核作品;其中,所述第一待审核作品与所述第二待审核作品的作品标识相同;An update module, configured to respond to the update operation of the user terminal, and receive an updated second work to be reviewed corresponding to the first work to be reviewed sent by the user terminal; wherein the first work to be reviewed is the same as the first work to be reviewed. The work identification of the second work to be reviewed is the same;

添加模块,用于生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中;以及将所述第一审核任务的标识信息添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。An adding module is configured to generate a second review task corresponding to the second work to be reviewed, and add the second review task to the review queue; and add the identification information of the first review task to Cancel the audit task list, so that the audit tasks in the audit queue determine whether they need to be audited based on the cancel audit task list before being audited.

一种可能的实施方式中,在基于所述第一待审核作品生成第一审核任务,并将所述第一审核任务添加至审核队列中之后,所述接收模块,还用于:In a possible implementation, after generating a first review task based on the first work to be reviewed and adding the first review task to the review queue, the receiving module is further configured to:

在检测到所述审核队列中存在所述第一审核任务后,对数据库中所述作品标识对应的作品审核状态更新为审核中。After detecting that the first review task exists in the review queue, the review status of the work corresponding to the work identifier in the database is updated to be reviewed.

一种可能的实施方式中,所述添加模块,还用于:In a possible implementation, the adding module is also used for:

每隔第一预设时长获取所述数据库中各个作品的审核状态;Obtain the review status of each work in the database every first preset duration;

基于当前次获取的各个作品的审核状态以及前一次获取的各个作品的审核状态,确定未被正常审核的第一目标作品;Based on the review status of each work acquired at the current time and the review status of each work acquired at the previous time, determine the first target work that has not been properly reviewed;

生成与所述第一目标作品对应的第三审核任务,并将所述第三审核任务添加至所述审核队列。A third review task corresponding to the first target work is generated, and the third review task is added to the review queue.

一种可能的实施方式中,所述装置还包括审核模块,所述审核模块,根据以下步骤对所述审核队列中的任一审核任务对应的第二目标作品进行审核:In a possible implementation manner, the device further includes a review module, and the review module reviews the second target work corresponding to any review task in the review queue according to the following steps:

解析所述审核队列,获取所述任一审核任务的标识信息;Parse the audit queue, and obtain the identification information of any one of the audit tasks;

基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务的情况下,基于所述任一审核任务的标识信息,确定所述任一审核任务对应的第二目标作品的标识信息;Based on the identification information of any one of the audit tasks and the list of canceled audit tasks, when it is detected that the any one of the audit tasks is a task that needs to be audited, based on the identification information of the any one of the audit tasks, determine the Identification information of the second target work corresponding to any review task;

基于所述第二目标作品的标识信息对所述第二目标作品进行审核。The second target work is reviewed based on the identification information of the second target work.

一种可能的实施方式中,所述审核模块,还用于:In a possible implementation manner, the audit module is further used for:

在所述第二目标作品完成审核后,将对应的审核结果保存至数据库,并将所述第二目标作品的审核状态更新为已审核。After the review of the second target work is completed, the corresponding review result is saved in the database, and the review status of the second target work is updated to reviewed.

一种可能的实施方式中,所述审核模块,在基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务时,用于:In a possible implementation, the auditing module, when detecting that any of the auditing tasks is a task that needs to be audited based on the identification information of the any auditing task and the list of canceled auditing tasks, is used to: :

在检测到所述取消审核任务列表中不包含所述任一审核任务的标识信息的情况下,确定所述任一审核任务为需要被审核的任务。In a case where it is detected that the list of canceled audit tasks does not contain the identification information of any one of the audit tasks, it is determined that the any one of the audit tasks is a task that needs to be audited.

一种可能的实施方式中,将审核任务的标识信息添加至取消审核任务列表中之后,所述添加模块,还用于:In a possible implementation manner, after adding the identification information of the audit task to the list of canceled audit tasks, the adding module is further used for:

响应所述取消审核任务列表中任一审核任务满足预设删除条件,将所述审核任务的标识信息从所述取消审核任务列表中删除。In response to any audit task in the cancel audit task list meeting a preset deletion condition, the identification information of the audit task is deleted from the cancel audit task list.

一种可能的实施方式中,所述预设删除条件包括以下至少一个:In a possible implementation, the preset deletion condition includes at least one of the following:

所述任一审核任务对应的作品的审核状态为已审核;所述任一审核任务从所述审核队列中被删除;或者,所述任一审核任务添加至所述取消审核任务列表的时长超过第二预设时长。The review status of the work corresponding to any of the review tasks is reviewed; the any review tasks are deleted from the review queue; or, the duration of the addition of the any review tasks to the cancel review task list exceeds The second preset duration.

一种可能的实施方式中,所述添加模块,在将所述第一审核任务的标识信息添加至取消审核任务列表中时,用于:In a possible implementation manner, the adding module, when adding the identification information of the first audit task to the cancel audit task list, is used for:

在检测到所述第一待审核作品的审核状态为未审核或审核中的情况下,将所述第一审核任务的标识信息添加至取消审核任务列表中。When it is detected that the review status of the first work to be reviewed is unreviewed or under review, the identification information of the first review task is added to the list of canceled review tasks.

第三方面,本公开实施例还提供一种计算机设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a third aspect, embodiments of the present disclosure further provide a computer device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor, and when the computer device runs, the processing A bus communicates between the processor and the memory, and when the machine-readable instructions are executed by the processor, the first aspect or the steps in any possible implementation manner of the first aspect are performed.

第四方面,本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a fourth aspect, embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to execute the first aspect, or any one of the first aspect. steps in one possible implementation.

本公开实施例提供的作品审核方法、装置、计算机设备及存储介质,在接收到所述用户端发送的与第一待审核作品对应的更新后的第二待审核作品,可以生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至审核队列中;然后将与所述第一待审核作品对应的第一待审核任务添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。这样,可以有效避免因为审核队列中两个审核任务对应同一作品标识,所导致的对同一作品的重复审核的情况。The work review method, device, computer equipment and storage medium provided by the embodiments of the present disclosure can generate an updated second work to be reviewed corresponding to the first work to be reviewed sent by the user terminal, and can generate a work corresponding to the first work to be reviewed. Second, the second review task corresponding to the work to be reviewed, and the second review task is added to the review queue; then the first review task corresponding to the first work to be reviewed is added to the cancel review task list, In order to make the audit tasks in the audit queue determine whether they need to be audited based on the list of canceled audit tasks before being audited. In this way, it is possible to effectively avoid the situation of repeated review of the same work caused by the fact that two review tasks in the review queue correspond to the same work identifier.

为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present disclosure more obvious and easy to understand, the preferred embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.

附图说明Description of drawings

为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required in the embodiments, which are incorporated into the specification and constitute a part of the specification. The drawings illustrate embodiments consistent with the present disclosure, and together with the description serve to explain the technical solutions of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. Other related figures are obtained from these figures.

图1示出了本公开实施例所提供的一种作品审核方法的流程图;FIG. 1 shows a flowchart of a work review method provided by an embodiment of the present disclosure;

图2示出了本公开实施例所提供的作品审核方法中,为审核队列添加审核任务的具体方法的流程图;2 shows a flowchart of a specific method for adding a review task to a review queue in the work review method provided by an embodiment of the present disclosure;

图3示出了本公开实施例所提供的作品审核方法中,对第二目标作品进行审核的具体方法的流程图;3 shows a flowchart of a specific method for reviewing a second target work in the work review method provided by an embodiment of the present disclosure;

图4示出了本公开实施例所提供的另一种作品审核方法的流程图;FIG. 4 shows a flowchart of another work review method provided by an embodiment of the present disclosure;

图5示出了本公开实施例所提供的一种作品审核装置的架构示意图;FIG. 5 shows a schematic diagram of the architecture of a work review device provided by an embodiment of the present disclosure;

图6示出了本公开实施例所提供的一种计算机设备的结构示意图。FIG. 6 shows a schematic structural diagram of a computer device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only These are some, but not all, embodiments of the present disclosure. The components of the disclosed embodiments generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the disclosure provided in the accompanying drawings is not intended to limit the scope of the disclosure as claimed, but is merely representative of selected embodiments of the disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present disclosure.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.

本文中术语“和/或”,仅仅是描述一种关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this paper only describes an association relationship, which means that there can be three kinds of relationships, for example, A and/or B, which can mean: the existence of A alone, the existence of A and B at the same time, the existence of B alone. a situation. In addition, the term "at least one" herein refers to any combination of any one of the plurality or at least two of the plurality, for example, including at least one of A, B, and C, and may mean including from A, B, and C. Any one or more elements selected from the set of B and C.

经研究发现,在对用户的作品进行审核时,为了避免漏审,需要根据用户发布的所有作品的作品标识分别生成对应的审核任务,再由审核人员按照审核任务逐一对所述作品标识对应的作品进行审核。当用户针对某一作品进行更新时,由于更新后的作品与更新前的作品携带有相同的作品标识,从而导致审核人员对作品进行审核时,基于作品标识获取的作品可能是更新前的作品,或者可能是更新后的作品,若是更新前的作品,则可能会导致无效审核,若是更新后的作品,则可能导致对同一作品的重复审核,从而影响作品的审核效率。After research, it is found that when reviewing the user's works, in order to avoid missed review, it is necessary to generate corresponding review tasks according to the work IDs of all the works published by the user, and then the reviewers shall identify the corresponding work IDs one by one according to the review tasks. Works are reviewed. When a user updates a certain work, because the updated work and the work before the update carry the same work identification, when the reviewers review the work, the work obtained based on the work identification may be the work before the update. Or it may be an updated work. If it is a work before the update, it may lead to invalid review. If it is an updated work, it may lead to repeated review of the same work, thereby affecting the review efficiency of the work.

其中,由于作品的更新与审核是异步任务(也即在执行时没有明确的时间先后关系),因此并不能确定在进行审核时,作品是否已经完成更新,若待审核的作品为视频,在将更新后的作品保存至数据库时的更新时间较长,因此可能会出现在进行审核时,作品未能完成更新的情况,也即基于作品标识获取的作品可能是更新前的作品,在这种情况下可能会导致对更新前的作品进行的无效审核;另一种可能的情况下,在将更新后的作品保存至数据库时的更新时间无法确定,为保证每个作品都会被审核,因此需要基于更新后的作品重新生成审核任务,并将重新生成的审核任务添加至审核队列中。如果不基于更新后的作品重新在审核队列中添加新的审核任务,这样可能会出现第一种情况,导致更新后的作品无法进行审核;而若基于更新后的作品重新在审核队列中添加新的审核任务,在进行审核时,更新前的审核任务可能未被执行,这样可能会出现审核队列中多个审核任务对应的作品标识相同的情况,在这种情况下就会导致对更新后的作品先后进行了两次审核,也即对同一作品的重复审核。Among them, since the update and review of the work are asynchronous tasks (that is, there is no clear chronological relationship during execution), it is not certain whether the work has been updated when the review is carried out. If the work to be reviewed is a video, it will be The updated work takes a long time to update when it is saved to the database, so it may happen that the work fails to be updated during the review process, that is, the work obtained based on the work ID may be the work before the update, in this case The following may result in invalid review of the works before the update; in another possible case, the update time when the updated works are saved to the database cannot be determined. In order to ensure that each work will be reviewed, it needs to be based on The updated work regenerates the review task and adds the regenerated review task to the review queue. If a new review task is not added to the review queue based on the updated work, the first situation may occur, resulting in the updated work not being reviewed; During the review process, the review task before the update may not be executed, so it may happen that the work IDs corresponding to multiple review tasks in the review queue are the same. The work has been reviewed twice, that is, repeated review of the same work.

基于上述研究,本公开提供了一种作品审核方法、装置、计算机设备及存储介质,在接收到所述用户端发送的与第一待审核作品对应的更新后的第二待审核作品,可以生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至审核队列中;然后将与所述第一待审核作品对应的第一待审核任务添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。这样,可以有效避免因为审核队列中与同一作品标识对应两个审核任务,所导致的对同一作品的重复审核的情况。Based on the above research, the present disclosure provides a work review method, device, computer equipment and storage medium. After receiving the updated second work to be reviewed corresponding to the first work to be reviewed and sent by the user terminal, it is possible to generate The second review task corresponding to the second work to be reviewed, and the second review task is added to the review queue; then the first review task corresponding to the first work to be reviewed is added to cancel review in the task list, so that before being reviewed, the review tasks in the review queue are determined whether they need to be reviewed based on the list of canceled review tasks. In this way, it is possible to effectively avoid the situation of repeated review of the same work caused by two review tasks corresponding to the same work identifier in the review queue.

为便于对本实施例进行理解,首先对本公开实施例所公开的一种作品审核方法进行详细介绍,本公开实施例所提供的作品审核方法的执行主体一般为具有一定计算能力的计算机设备,该计算机设备例如包括:服务器或其它处理设备。在一些可能的实现方式中,该作品审核方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。In order to facilitate the understanding of this embodiment, a work review method disclosed by the embodiment of the present disclosure is first introduced in detail. The execution subject of the work review method provided by the embodiment of the present disclosure is generally a computer device with a certain computing ability. Devices include, for example, servers or other processing devices. In some possible implementations, the work review method may be implemented by the processor invoking computer-readable instructions stored in the memory.

参见图1所示,为本公开实施例提供的作品审核方法的流程图,所述方法包括步骤S101~S103,其中:Referring to FIG. 1, which is a flowchart of a work review method provided by an embodiment of the present disclosure, the method includes steps S101-S103, wherein:

S101:接收用户端发送的第一待审核作品,生成与所述第一待审核作品对应的第一审核任务,并将所述第一审核任务添加至审核队列中。S101: Receive a first work to be reviewed sent by a user terminal, generate a first review task corresponding to the first work to be reviewed, and add the first review task to a review queue.

S102:响应所述用户端的更新操作,接收所述用户端发送的与所述第一待审核作品对应的更新后的第二待审核作品;其中,所述第一待审核作品与所述第二待审核作品的作品标识相同。S102: In response to the update operation of the user terminal, receive an updated second work to be reviewed corresponding to the first work to be reviewed and sent by the user terminal; wherein the first work to be reviewed and the second work to be reviewed are received. The work identification of the work to be reviewed is the same.

S103:生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中;以及将所述第一审核任务的标识信息添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。S103: Generate a second review task corresponding to the second work to be reviewed, and add the second review task to the review queue; and add the identification information of the first review task to the cancel review task list, so that the audit tasks in the audit queue determine whether they need to be audited based on the list of canceled audit tasks before being audited.

以下是对上述步骤的详细介绍。The following is a detailed description of the above steps.

针对S101,所述第一待审核作品可以是用户端发送的需要审核的文字、图片、视频等内容,每个所述第一待审核作品都有唯一对应的作品标识,服务器在接收到所述第一待审核作品之后,可以将所述第一待审核作品添加至数据库中,并启动一个协程生成所述第一待审核作品对应的第一审核任务,再将所述第一审核任务添加至审核队列中;其中,所述审核队列示例性的可以是rocketmq消息队列。For S101, the first work to be reviewed may be text, pictures, videos and other contents that need to be reviewed and sent by the client, and each of the first works to be reviewed has a unique corresponding work identifier, and the server receives the After the first work to be reviewed, the first work to be reviewed can be added to the database, and a coroutine is started to generate the first review task corresponding to the first work to be reviewed, and then the first review task is added. into the audit queue; wherein, the audit queue can be an exemplary rocketmq message queue.

示例性的,以所述数据库对应的数据库管理系统为关系型数据库管理系统MySQL为例,在将所述第一待审核作品添加至所述数据库时,可以针对所述第一待审核作品生成一个作品表,所述作品表可以如下表1所示:Exemplarily, taking the relational database management system MySQL as the database management system corresponding to the database as an example, when the first work to be reviewed is added to the database, a work can be generated for the first work to be reviewed. Worksheet, which can be as shown in Table 1 below:

表1Table 1

Figure BDA0003117990290000101
Figure BDA0003117990290000101

表1中,第一列表示所述数据库中的字段名,第二列表示各个字段名对应的数据类型,第三列标识各个字段名对应的说明;在将所述第一待审核作品添加至所述数据库时,可以将所述第一待审核作品的作品内容存放在“content”中,这样就可以通过“content”确定所述第一待审核作品的作品内容。In Table 1, the first column represents the field names in the database, the second column represents the data type corresponding to each field name, and the third column identifies the description corresponding to each field name; In the database, the work content of the first work to be reviewed can be stored in "content", so that the work content of the first work to be reviewed can be determined through "content".

具体的,在将所述第一审核任务添加至所述审核队列时,所述协程可以将所述第一待审核作品的作品标识和第一审核任务的标识信息添加至所述审核队列中;其中,所述第一审核任务的标识信息可以根据所述第一待审核作品的作品标识生成,比如可以在所述第一待审核作品的作品标识后拼接一些字符串,从而生成所述标识信息。Specifically, when adding the first review task to the review queue, the coroutine may add the work identification of the first work to be reviewed and the identification information of the first review task to the review queue ; Wherein, the identification information of the first review task can be generated according to the work identification of the first work to be reviewed, for example, some strings can be spliced after the work identification of the first work to be reviewed, so as to generate the identification information.

此外,由于此时的所述第一待审核作品还没被审核,因此在将所述第一待审核作品添加至数据库中之后,可以将所述第一待审核作品的发布状态设置为对外不可见(也即此时所述第一待审核作品仅对用户端可见),并向所述用户端发送提示信息,以提示用户所述第一待审核作品已成功保存至数据库。In addition, since the first work to be reviewed has not been reviewed at this time, after the first work to be reviewed is added to the database, the release status of the first work to be reviewed can be set to not externally available. (that is, the first work to be reviewed is only visible to the client at this time), and a prompt message is sent to the client to remind the user that the first work to be reviewed has been successfully saved to the database.

一种可能的实施方式中,在基于所述第一待审核作品生成第一审核任务,并将所述第一审核任务添加至审核队列中之后,还可以在检测到所述审核队列中存在所述第一审核任务后,对数据库中所述作品标识对应的作品审核状态更新为审核中。In a possible implementation manner, after generating a first review task based on the first work to be reviewed, and adding the first review task to the review queue, it is also possible to detect that there are any existing tasks in the review queue. After the first review task is described, the review status of the work corresponding to the work identifier in the database is updated to under review.

实际应用中,在启动所述协程将所述第一待审核作品的作品标识,以及所述第一审核任务的标识信息添加至所述审核队列中时,可能会出现由于网络不稳定等异常情况,导致所述第一审核任务的添加失败,从而造成了对所述第一待审核作品的漏审。In practical applications, when starting the coroutine to add the work identification of the first work to be reviewed and the identification information of the first review task to the review queue, abnormalities such as network instability may occur. In this case, the addition of the first review task fails, thereby causing the omission of review of the first work to be reviewed.

基于此,当所述第一待审核作品被添加至数据库中时,其默认的审核状态为未审核,当检测到所述审核队列中存在所述第一待审核作品对应的第一审核任务时,表征此时的第一待审核作品已经进入正常的审核流程,因此可以将所述第一待审核作品的审核状态更新为审核中。Based on this, when the first work to be reviewed is added to the database, its default review status is unreviewed, and when it is detected that there is a first review task corresponding to the first work to be reviewed in the review queue , indicating that the first work to be reviewed at this time has entered the normal review process, so the review status of the first work to be reviewed can be updated to be under review.

一种可能的实施方式中,如图2所示,还可以通过以下步骤为审核队列添加审核任务:In a possible implementation, as shown in Figure 2, an audit task may also be added to the audit queue through the following steps:

S201:每隔第一预设时长获取所述数据库中各个作品的审核状态。S201: Acquire the review status of each work in the database every first preset time period.

这里,所述第一预设时长可以根据实际需要进行设置,比如所述第一预设时长可以是5分钟,也即每隔5分钟获取一次所述数据库中各个作品的审核状态。Here, the first preset duration may be set according to actual needs, for example, the first preset duration may be 5 minutes, that is, the review status of each work in the database is acquired every 5 minutes.

此外,为了加快获取速度,以及节约计算资源,在获取所述数据库中作品的审核状态时,也可以只获取所述数据库中部分作品的审核状态;示例性的,所述部分作品可以是最近24小时内添加至所述数据库中的作品。最近24小时之前添加至数据库中的作品一般已经审核完毕,因此可以无需进行审核状态的监控。In addition, in order to speed up the acquisition speed and save computing resources, when acquiring the review status of the works in the database, only the review status of some works in the database may be acquired; exemplarily, the part of the works may be the latest 24 Works added to the database within hours. Works added to the database before the last 24 hours have generally been reviewed, so there is no need to monitor the review status.

S202:基于当前次获取的各个作品的审核状态以及前一次获取的各个作品的审核状态,确定未被正常审核的第一目标作品。S202: Determine the first target work that has not been properly reviewed based on the review status of each work obtained at the current time and the review status of each work obtained at the previous time.

这里,为了避免所述数据库被用于存放不良信息,因此存放至所述数据库中的作品都需要被审核,若某一待审核作品在前一次获取所述审核状态时为未审核,当前次获取所述审核状态时依然为未审核,则可以确定该待审核作品为所述未被正常审核的第一目标作品。Here, in order to prevent the database from being used to store bad information, all works stored in the database need to be reviewed. If the review status is still unreviewed, it can be determined that the work to be reviewed is the first target work that has not been properly reviewed.

此外,由于网络波动、延迟等因素,可能会出现某一待审核作品对应的审核任务已经添加至所述审核队列中,但该待审核作品对应的审核状态未能被及时更新的情况,若仅基于一次获取的各个作品的审核状态直接确定未被正常审核的第一目标作品,可能会导致将待审核作品进行重复送审的情况,因此可以基于相邻两次获取的各个作品的审核状态确定所述第一目标作品。In addition, due to network fluctuations, delays and other factors, there may be cases where the review task corresponding to a work to be reviewed has been added to the review queue, but the review status corresponding to the work to be reviewed cannot be updated in time. Directly determining the first target work that has not been properly reviewed based on the review status of each work acquired at one time may lead to repeated submissions of the work to be reviewed. Describe the first target work.

S203:生成与所述第一目标作品对应的第三审核任务,并将所述第三审核任务添加至所述审核队列。S203: Generate a third review task corresponding to the first target work, and add the third review task to the review queue.

这里,在确定未被正常审核的第一目标作品之后,可以启动一个协程生成所述第一目标作品对应的第三审核任务,并将所述第三审核任务添加至审核队列中,从而有效避免对数据库中待审核作品的漏审。Here, after determining the first target work that has not been properly reviewed, a coroutine can be started to generate a third review task corresponding to the first target work, and the third review task is added to the review queue, thereby effectively Avoid missed reviews of works pending review in the database.

具体的,在启动一个协程生成所述第一目标作品对应的第一审核任务,并将所述第一审核任务添加至审核队列中之后,由于协程的自身属性,无论是否完成预设任务(生成第一审核任务,并将其添加至所述审核队列),该协程都会在其生命周期到达后被终止,因此在确定未被正常审核的第一目标作品之后,需要重新启动一个新的协程生成所述第一目标作品对应的第三审核任务,并将所述第三审核任务添加至审核队列中。Specifically, after starting a coroutine to generate the first review task corresponding to the first target work, and adding the first review task to the review queue, due to the nature of the coroutine, no matter whether the preset task is completed or not (generate the first review task and add it to the review queue), the coroutine will be terminated after its life cycle is reached, so after determining the first target work that has not been reviewed normally, a new coroutine needs to be restarted The coroutine of the first target work generates a third review task corresponding to the first target work, and adds the third review task to the review queue.

S102:响应所述用户端的更新操作,接收所述用户端发送的与所述第一待审核作品对应的更新后的第二待审核作品;其中,所述第一待审核作品与所述第二待审核作品的作品标识相同。S102: In response to the update operation of the user terminal, receive an updated second work to be reviewed corresponding to the first work to be reviewed and sent by the user terminal; wherein the first work to be reviewed and the second work to be reviewed are received. The work identification of the work to be reviewed is the same.

这里,所述用户端在发送所述第一待审核作品之后,还可以响应更新指令,将更新后的第二待审核作品发送至服务器;由于所述第一待审核作品与所述第二待审核作品的作品标识相同,因此服务器在对所述第二待审核作品进行存储时,需要将所述第二待审核作品的作品内容添加至数据库中与所述第一待审核作品对应的位置,也即使用所述第二待审核作品对所述第一待审核作品进行替换。Here, after sending the first work to be reviewed, the user terminal may also respond to the update instruction and send the updated second work to be reviewed to the server; since the first work to be reviewed is different from the second work to be reviewed The work identifiers of the works to be reviewed are the same, so when the server stores the second work to be reviewed, the work content of the second work to be reviewed needs to be added to the location corresponding to the first work to be reviewed in the database, That is, the first work to be reviewed is replaced with the second work to be reviewed.

S103:生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中;以及将所述第一审核任务的标识信息添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。S103: Generate a second review task corresponding to the second work to be reviewed, and add the second review task to the review queue; and add the identification information of the first review task to the cancel review task list, so that the audit tasks in the audit queue determine whether they need to be audited based on the list of canceled audit tasks before being audited.

这里,与生成与所述第一待审核作品对应的第一审核任务类似,可以启动一个协程生成所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中。Here, similar to generating the first review task corresponding to the first work to be reviewed, a coroutine can be started to generate the second review task corresponding to the second work to be reviewed, and the second review task can be added to in the review queue.

一种可能的实施方式中,可以在检测到所述第一待审核作品的审核状态为未审核或审核中的情况下,将所述第一审核任务的标识信息添加至取消审核任务列表中。In a possible implementation, when it is detected that the review status of the first work to be reviewed is unreviewed or under review, the identification information of the first review task can be added to the list of cancel review tasks.

具体的,在将所述第二审核任务添加至所述审核队列中之后,由于所述第一待审核任务可能未审核完成,因此可能会出现所述审核队列中存在两个审核任务对应一个作品标识的情况,从而导致对同一作品的重复审核。Specifically, after the second review task is added to the review queue, since the first review task may not be completed, there may be two review tasks corresponding to one work in the review queue. identified, resulting in duplicate reviews of the same work.

因此,为了避免对同一作品的重复审核,可以将所述第一审核任务的标识信息添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。Therefore, in order to avoid repeated review of the same work, the identification information of the first review task may be added to the list of canceled review tasks, so that the review tasks in the review queue are based on the cancellation of the review task before being reviewed. The list determines if it needs to be reviewed.

一种可能的实施方式中,如图3所示,可以通过以下步骤对所述审核队列中的任一审核任务对应的第二目标作品进行审核:In a possible implementation, as shown in FIG. 3 , the second target work corresponding to any review task in the review queue can be reviewed through the following steps:

S301:解析所述审核队列,获取所述任一审核任务的标识信息。S301: Parse the audit queue to obtain identification information of any one of the audit tasks.

S302:基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务的情况下,基于所述任一审核任务的标识信息,确定所述任一审核任务对应的第二目标作品的标识信息。S302: Based on the identification information of any one of the audit tasks and the list of canceled audit tasks, when it is detected that the any one of the audit tasks is a task that needs to be audited, based on the identification information of the any one of the audit tasks, determine Identification information of the second target work corresponding to any one of the review tasks.

这里,所述取消审核任务列表可以是键值对存储数据库Redis数据库中的set列表,用于存放被取消审核的审核任务的标识信息。Here, the list of canceled audit tasks may be a set list in the key-value pair storage database Redis database, which is used to store identification information of audit tasks whose audit is canceled.

一种可能的实施方式中,在检测到所述取消审核任务列表中不包含所述任一审核任务的标识信息的情况下,可以确定所述任一审核任务为需要被审核的任务;相应的,在检测到所述取消审核任务列表中包含所述任一审核任务的标识信息的情况下,则可以确定所述任一审核任务为不需要被审核的任务,此时可以直接将所述任一审核任务进行删除,并按照预设的解析顺序继续执行对所述审核队列的解析操作。In a possible implementation, when it is detected that the identification information of any one of the audit tasks is not included in the list of canceled audit tasks, it can be determined that the any one of the audit tasks is a task that needs to be audited; corresponding , when it is detected that the cancellation audit task list contains the identification information of any one of the audit tasks, it can be determined that the any one of the audit tasks is a task that does not need to be audited, and at this time, the any one of the audit tasks can be directly An audit task is deleted, and the parsing operation of the audit queue is continued according to the preset parsing sequence.

S303:基于所述第二目标作品的标识信息对所述第二目标作品进行审核。S303: Review the second target work based on the identification information of the second target work.

这里,在对所述第二目标作品进行审核时,可以通过以下两种方法中的任意一种:Here, when reviewing the second target work, any one of the following two methods can be used:

方法A、人工审核。Method A. Manual review.

具体的,可以将所述第二目标作品发送至审核人员对应的审核端,并在所述审核人员完成对所述第二目标作品的审核之后,接收所述审核端发送的针对所述第二目标作品的审核结果。Specifically, the second target work may be sent to the review terminal corresponding to the reviewer, and after the reviewer completes the review of the second target work, the second target work sent by the review terminal for the second target work may be received. The review result of the target work.

方法B、自动审核。Method B. Automatic auditing.

具体的,在进行自动审核时,可以由服务器中预设的审核模块对所述第二目标作品进行自动审核。Specifically, during automatic review, the second target work may be automatically reviewed by a preset review module in the server.

示例性的,以所述第二目标作品为视频作品为例,在进行自动审核时,可以按照预设采样间隔对所述视频作品进行采样,得到多个采样视频帧,并使用训练好的神经网络对所述采样视频帧进行识别,以确定所述采样视频帧中是否存在违规内容;此外,还可以对所述视频作品中所包含的音频数据进行识别,并根据识别得到的音频内容,通过关键词匹配等匹配方法,确定所述视频作品中所包含的音频数据中是否包含违规音频内容。Exemplarily, taking the second target work as an example of a video work, during automatic review, the video work can be sampled according to a preset sampling interval to obtain a plurality of sampled video frames, and the trained neural The network identifies the sampled video frame to determine whether there is any illegal content in the sampled video frame; in addition, the audio data contained in the video work can also be identified, and according to the identified audio content, through the Matching methods such as keyword matching are used to determine whether the audio data contained in the video work contains illegal audio content.

进一步的,在所述第二目标作品完成审核后,还可以将对应的审核结果保存至数据库,并将所述第二目标作品的审核状态更新为已审核。Further, after the review of the second target work is completed, the corresponding review result may also be saved in a database, and the review status of the second target work is updated to reviewed.

具体的,当所述第二目标作品的审核状态更新为已审核时,可以将对应的审核结果发送至所述用户端,以提示所述用户端审核完成,若此时的审核结果为审核通过,则可以更新所述第二目标作品对应的发布状态为对外可见(也即此时所述第二目标作品对所有人可见)。Specifically, when the review status of the second target work is updated to have been reviewed, the corresponding review result may be sent to the client to prompt the client to complete the review. If the review result at this time is that the review is passed , the release status corresponding to the second target work can be updated to be visible to the outside world (that is, the second target work is visible to everyone at this time).

一种可能的实施方式中,在将审核任务的标识信息添加至取消审核任务列表中之后,还可以响应所述取消审核任务列表中任一审核任务满足预设删除条件,将所述审核任务的标识信息从所述取消审核任务列表中删除。In a possible implementation, after adding the identification information of the auditing task to the canceling auditing task list, it is also possible to respond that any auditing task in the canceling auditing task list satisfies the preset deletion condition, The identification information is removed from the cancel audit task list.

具体的,可以从以下三个条件判断所述取消审核任务列表中任一审核任务是否满足预设删除条件:Specifically, whether any audit task in the cancel audit task list satisfies the preset deletion condition can be judged from the following three conditions:

条件1、所述任一审核任务对应的作品的审核状态是否为已审核。Condition 1. Whether the review status of the work corresponding to any of the review tasks is reviewed.

具体的,在某一作品被审核之后,该作品在数据库中对应的审核状态会被更新为已审核,因此可以对数据库中审核状态为审核中的作品进行监测,在检测到所述取消审核任务列表中,任一审核任务对应的作品的审核状态为已审核时,可以将该审核任务的标识信息从所述取消审核任务列表中删除。Specifically, after a work is reviewed, the corresponding review status of the work in the database will be updated to reviewed. Therefore, the works whose review status in the database is under review can be monitored, and when the cancellation of the review task is detected In the list, when the review status of the work corresponding to any review task is reviewed, the identification information of the review task can be deleted from the cancel review task list.

条件2、所述任一审核任务是否从所述审核队列中被删除。Condition 2. Whether any of the audit tasks is deleted from the audit queue.

具体的,在检测到所述取消审核任务列表中包含所述任一审核任务的标识信息的情况下,此时可以直接将所述任一审核任务进行删除,而当所述任一审核任务从所述审核队列中被删除,则可以相应的将该审核任务的标识信息从所述取消审核任务列表中删除。Specifically, in the case where it is detected that the cancellation audit task list contains the identification information of any one of the audit tasks, the any one of the audit tasks can be deleted directly at this time, and when the any of the audit tasks is deleted from the If it is deleted from the auditing queue, the identification information of the auditing task may be correspondingly deleted from the list of canceling the auditing task.

条件3、所述任一审核任务添加至所述取消审核任务列表的时长是否超过第二预设时长。Condition 3. Whether the duration of adding any one of the audit tasks to the list of canceled audit tasks exceeds a second preset duration.

这里,所述第二预设时长可以根据实际需要进行设置,比如可以设置为30天。Here, the second preset duration may be set according to actual needs, for example, may be set to 30 days.

具体的,当所述任一审核任务的标识信息添加至所述取消审核任务列表时,可以对所述任一审核任务的标识信息添加时长进行记录,当所述添加时长超过所述第二预设时长时,可以将该审核任务的标识信息从所述取消审核任务列表中删除。Specifically, when the identification information of any audit task is added to the list of canceled audit tasks, the duration of adding the identification information of any audit task may be recorded, and when the added duration exceeds the second preset duration When the duration is set, the identification information of the auditing task can be deleted from the list of canceling the auditing task.

实际应用中,通过上述判断条件对所述取消审核任务列表中已经不会再使用到的所述审核任务的标识信息进行删除,可以加快遍历所述取消审核任务列表的速度,从而更快的确定所述审核队列中的审核任务是否需要被审核,并且节约计算资源。In practical applications, the identification information of the audit task that is no longer used in the cancel audit task list is deleted by the above judgment conditions, which can speed up the speed of traversing the cancel audit task list, so as to determine more quickly. Whether the audit tasks in the audit queue need to be audited, and computing resources are saved.

为了便于对本公开所提供的作品审核方法的理解,下面结合具体实施方式对本公开所提供的作品审核方法进行详细介绍,参照图4所示,为本公开实施例提供的另一种作品审核方法的流程图,包括:In order to facilitate the understanding of the work review method provided by the present disclosure, the following describes the work review method provided by the present disclosure in detail with reference to specific embodiments. Referring to FIG. 4, another work review method provided by an embodiment of the present disclosure is Flowchart, including:

S401:获取用户端发送的第一待审核作品,生成与所述第一待审核作品对应的第一审核任务,并将所述第一审核任务添加至审核队列中。S401: Acquire a first work to be reviewed sent by a user terminal, generate a first review task corresponding to the first work to be reviewed, and add the first review task to a review queue.

此时,用户端的第一待审核作品仅用户端可见,且在确定第一审核任务成功被添加至审核队列之后,将第一待审核作品的审核状态由未审核更新为审核中。At this time, the first work to be reviewed on the client is only visible to the user, and after it is determined that the first review task has been successfully added to the review queue, the review status of the first work to be reviewed is updated from unreviewed to reviewing.

S402:响应所述用户端的更新操作,接收所述用户端发送的与所述第一待审核作品对应的更新后的第二待审核作品。S402: In response to the update operation of the user terminal, receive an updated second work to be reviewed corresponding to the first work to be reviewed and sent by the user terminal.

S403:检测所述第一待审核作品是否被审核完成。S403: Detect whether the first work to be reviewed has been reviewed.

这里,可以通过检测数据库中第一待审核作品对应的审核状态,来检测所述第一待审核作品是否被审核完成,若检测到所述第一待审核作品已被审核完成(对应的审核状态为已审核),则执行S405;若检测到所述第一待审核作品未被审核完成(对应的审核状态为未审核或者审核中),则执行S404和S405。Here, it is possible to detect whether the first work to be reviewed has been reviewed and completed by detecting the review status corresponding to the first work to be reviewed in the database. If it is detected that the first work to be reviewed has been reviewed and completed (the corresponding review status If it is detected that the first work to be reviewed has not been reviewed (the corresponding review status is not reviewed or under review), then perform S404 and S405.

S404:将所述第一审核任务的标识信息添加至取消审核任务列表中。S404: Add the identification information of the first audit task to the list of canceled audit tasks.

S405:生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中。S405: Generate a second review task corresponding to the second work to be reviewed, and add the second review task to the review queue.

S406:响应针对所述审核队列的解析请求,获取待审核的任务;并基于所述待审核的任务的标识信息,对所述待审核的任务的标识信息对应的待审核作品进行审核。S406: Acquire the task to be reviewed in response to the analysis request for the review queue; and based on the identification information of the task to be reviewed, review the work to be reviewed corresponding to the identification information of the task to be reviewed.

这里,所述获取待审核的任务可以是获取所述用户端发送的第一待审核任务,也可以是获取其他用户端发送的待审核任务。Here, the acquiring the task to be reviewed may be acquiring the first task to be reviewed sent by the client, or may be acquiring the tasks to be reviewed sent by other clients.

S407:确定所述待审核作品的审核结果,并将所述待审核作品的审核结果存放至所述数据库中,以及将所述审核结果发送至用户端。S407: Determine the review result of the work to be reviewed, store the review result of the work to be reviewed in the database, and send the review result to the client.

此时,在所述审核结果为通过审核的情况下,可以将所述待审核作品对应的发布状态更新为所有人可见,且可以将所述待审核作品的审核状态由审核中更新为已审核。At this time, if the review result is approved, the release status corresponding to the work to be reviewed can be updated to be visible to all, and the review status of the work to be reviewed can be updated from reviewing to reviewed .

具体的,上述各步骤的具体内容参照上文相关描述,在此不再展开说明。Specifically, for the specific content of the above steps, reference is made to the above related descriptions, which will not be further described here.

本公开实施例提供的作品审核方法,在接收到所述用户端发送的与第一待审核作品对应的更新后的第二待审核作品,可以生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至审核队列中;然后将与所述第一待审核作品对应的第一待审核任务添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。这样,可以有效避免因为审核队列中两个审核任务对应同一作品标识,所导致的对同一作品的重复审核的情况。In the work review method provided by the embodiment of the present disclosure, after receiving the updated second work to be reviewed corresponding to the first work to be reviewed and sent by the user terminal, a second work to be reviewed corresponding to the second work to be reviewed can be generated. review task, and add the second review task to the review queue; then add the first review task corresponding to the first work to be reviewed to the cancel review task list, so that the review queue Before being reviewed, the review task determines whether it needs to be reviewed based on the list of cancel review tasks. In this way, it is possible to effectively avoid the situation of repeated review of the same work caused by the fact that two review tasks in the review queue correspond to the same work identifier.

本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above method of the specific implementation, the writing order of each step does not mean a strict execution order but constitutes any limitation on the implementation process, and the specific execution order of each step should be based on its function and possible Internal logic is determined.

基于同一发明构思,本公开实施例中还提供了与作品审核方法对应的作品审核装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述作品审核方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present disclosure also provides a work review device corresponding to the work review method. Reference may be made to the implementation of the method, and repeated descriptions will not be repeated.

参照图5所示,为本公开实施例提供的一种作品审核装置的架构示意图,所述装置包括:接收模块501、更新模块502、添加模块503;其中,Referring to FIG. 5, which is a schematic diagram of the architecture of a work review device provided by an embodiment of the present disclosure, the device includes: a receiving module 501, an updating module 502, and an adding module 503; wherein,

接收模块501,用于接收用户端发送的第一待审核作品,生成与所述第一待审核作品对应的第一审核任务,并将所述第一审核任务添加至审核队列中;A receiving module 501, configured to receive a first work to be reviewed sent by a user terminal, generate a first review task corresponding to the first work to be reviewed, and add the first review task to the review queue;

更新模块502,用于响应所述用户端的更新操作,接收所述用户端发送的与所述第一待审核作品对应的更新后的第二待审核作品;其中,所述第一待审核作品与所述第二待审核作品的作品标识相同;The update module 502 is configured to respond to the update operation of the user terminal, and receive an updated second work to be reviewed corresponding to the first work to be reviewed and sent by the user terminal; wherein the first work to be reviewed is the same as the The work identification of the second work to be reviewed is the same;

添加模块503,用于生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中;以及将所述第一审核任务的标识信息添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。An adding module 503 is configured to generate a second review task corresponding to the second work to be reviewed, and add the second review task to the review queue; and add the identification information of the first review task into the list of canceled auditing tasks, so that the auditing tasks in the auditing queue determine whether they need to be audited based on the list of canceled auditing tasks before being audited.

一种可能的实施方式中,在基于所述第一待审核作品生成第一审核任务,并将所述第一审核任务添加至审核队列中之后,所述接收模块501,还用于:In a possible implementation, after generating a first review task based on the first work to be reviewed and adding the first review task to the review queue, the receiving module 501 is further configured to:

在检测到所述审核队列中存在所述第一审核任务后,对数据库中所述作品标识对应的作品审核状态更新为审核中。After detecting that the first review task exists in the review queue, the review status of the work corresponding to the work identifier in the database is updated to be reviewed.

一种可能的实施方式中,所述添加模块503,还用于:In a possible implementation manner, the adding module 503 is further used for:

每隔第一预设时长获取所述数据库中各个作品的审核状态;Obtain the review status of each work in the database every first preset duration;

基于当前次获取的各个作品的审核状态以及前一次获取的各个作品的审核状态,确定未被正常审核的第一目标作品;Based on the review status of each work acquired at the current time and the review status of each work acquired at the previous time, determine the first target work that has not been properly reviewed;

生成与所述第一目标作品对应的第三审核任务,并将所述第三审核任务添加至所述审核队列。A third review task corresponding to the first target work is generated, and the third review task is added to the review queue.

一种可能的实施方式中,所述装置还包括审核模块504;In a possible implementation manner, the apparatus further includes an auditing module 504;

所述审核模块504,用于根据以下步骤对所述审核队列中的任一审核任务对应的第二目标作品进行审核:The review module 504 is configured to review the second target work corresponding to any review task in the review queue according to the following steps:

解析所述审核队列,获取所述任一审核任务的标识信息;Parse the audit queue, and obtain the identification information of any one of the audit tasks;

基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务的情况下,基于所述任一审核任务的标识信息,确定所述任一审核任务对应的第二目标作品的标识信息;Based on the identification information of any one of the audit tasks and the list of canceled audit tasks, when it is detected that the any one of the audit tasks is a task that needs to be audited, based on the identification information of the any one of the audit tasks, determine the Identification information of the second target work corresponding to any review task;

基于所述第二目标作品的标识信息对所述第二目标作品进行审核。The second target work is reviewed based on the identification information of the second target work.

一种可能的实施方式中,所述审核模块504,还用于:In a possible implementation manner, the auditing module 504 is further configured to:

在所述第二目标作品完成审核后,将对应的审核结果保存至数据库,并将所述第二目标作品的审核状态更新为已审核。After the review of the second target work is completed, the corresponding review result is saved in the database, and the review status of the second target work is updated to reviewed.

一种可能的实施方式中,所述审核模块504,在基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务时,用于:In a possible implementation, the auditing module 504, when detecting that any of the auditing tasks is a task that needs to be audited based on the identification information of the any auditing task and the list of canceled auditing tasks, uses At:

在检测到所述取消审核任务列表中不包含所述任一审核任务的标识信息的情况下,确定所述任一审核任务为需要被审核的任务。In a case where it is detected that the list of canceled audit tasks does not contain the identification information of any one of the audit tasks, it is determined that the any one of the audit tasks is a task that needs to be audited.

一种可能的实施方式中,将审核任务的标识信息添加至取消审核任务列表中之后,所述添加模块503,还用于:In a possible implementation manner, after adding the identification information of the audit task to the list of canceled audit tasks, the adding module 503 is further configured to:

响应所述取消审核任务列表中任一审核任务满足预设删除条件,将所述审核任务的标识信息从所述取消审核任务列表中删除。In response to any audit task in the cancel audit task list meeting a preset deletion condition, the identification information of the audit task is deleted from the cancel audit task list.

一种可能的实施方式中,所述预设删除条件包括以下至少一个:In a possible implementation, the preset deletion condition includes at least one of the following:

所述任一审核任务对应的作品的审核状态为已审核;所述任一审核任务从所述审核队列中被删除;或者,所述任一审核任务添加至所述取消审核任务列表的时长超过第二预设时长。The review status of the work corresponding to any of the review tasks is reviewed; the any review tasks are deleted from the review queue; or, the duration of the addition of the any review tasks to the cancel review task list exceeds The second preset duration.

一种可能的实施方式中,所述添加模块503,在将所述第一审核任务的标识信息添加至取消审核任务列表中时,用于:In a possible implementation manner, the adding module 503, when adding the identification information of the first audit task to the cancel audit task list, is used for:

在检测到所述第一待审核作品的审核状态为未审核或审核中的情况下,将所述第一审核任务的标识信息添加至取消审核任务列表中。When it is detected that the review status of the first work to be reviewed is unreviewed or under review, the identification information of the first review task is added to the list of canceled review tasks.

本公开实施例提供的作品审核装置,在接收到所述用户端发送的与第一待审核作品对应的更新后的第二待审核作品,可以生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至审核队列中;然后将与所述第一待审核作品对应的第一待审核任务添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。这样,可以有效避免因为审核队列中两个审核任务对应同一作品标识,所导致的对同一作品的重复审核的情况。The device for reviewing works provided by the embodiments of the present disclosure may generate a second work corresponding to the second work to be reviewed after receiving the updated second work to be reviewed corresponding to the first work to be reviewed and sent by the user terminal. review task, and add the second review task to the review queue; then add the first review task corresponding to the first work to be reviewed to the cancel review task list, so that the review queue Before being reviewed, the review task determines whether it needs to be reviewed based on the list of cancel review tasks. In this way, it is possible to effectively avoid the situation of repeated review of the same work caused by the fact that two review tasks in the review queue correspond to the same work identifier.

关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。For the description of the processing flow of each module in the apparatus and the interaction flow between the modules, reference may be made to the relevant descriptions in the foregoing method embodiments, which will not be described in detail here.

基于同一技术构思,本公开实施例还提供了一种计算机设备。参照图6所示,为本公开实施例提供的计算机设备600的结构示意图,包括处理器601、存储器602、和总线603。其中,存储器602用于存储执行指令,包括内存6021和外部存储器6022;这里的内存6021也称内存储器,用于暂时存放处理器601中的运算数据,以及与硬盘等外部存储器6022交换的数据,处理器601通过内存6021与外部存储器6022进行数据交换,当计算机设备600运行时,处理器601与存储器602之间通过总线603通信,使得处理器601在执行以下指令:Based on the same technical concept, an embodiment of the present disclosure also provides a computer device. Referring to FIG. 6 , a schematic structural diagram of a computer device 600 provided by an embodiment of the present disclosure includes a processor 601 , a memory 602 , and a bus 603 . Among them, the memory 602 is used to store the execution instructions, including the memory 6021 and the external memory 6022; the memory 6021 here is also called the internal memory, and is used to temporarily store the operation data in the processor 601 and the data exchanged with the external memory 6022 such as the hard disk, The processor 601 exchanges data with the external memory 6022 through the memory 6021. When the computer device 600 is running, the processor 601 communicates with the memory 602 through the bus 603, so that the processor 601 executes the following instructions:

接收用户端发送的第一待审核作品,生成与所述第一待审核作品对应的第一审核任务,并将所述第一审核任务添加至审核队列中;Receive the first work to be reviewed sent by the client, generate a first review task corresponding to the first work to be reviewed, and add the first review task to the review queue;

响应所述用户端的更新操作,接收所述用户端发送的与所述第一待审核作品对应的更新后的第二待审核作品;其中,所述第一待审核作品与所述第二待审核作品的作品标识相同;In response to the update operation of the user terminal, receive an updated second work to be reviewed corresponding to the first work to be reviewed sent by the user terminal; wherein the first work to be reviewed and the second work to be reviewed The works have the same work identification;

生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中;以及将所述第一审核任务的标识信息添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。generating a second review task corresponding to the second work to be reviewed, and adding the second review task to the review queue; and adding the identification information of the first review task to the cancel review task list , so that the review tasks in the review queue determine whether they need to be reviewed based on the list of canceled review tasks before being reviewed.

一种可能的实施方式中,所述处理器601的指令中,在基于所述第一待审核作品生成第一审核任务,并将所述第一审核任务添加至审核队列中之后,还包括:In a possible implementation manner, the instruction of the processor 601, after generating a first review task based on the first work to be reviewed, and adding the first review task to the review queue, further includes:

在检测到所述审核队列中存在所述第一审核任务后,对数据库中所述作品标识对应的作品审核状态更新为审核中。After detecting that the first review task exists in the review queue, the review status of the work corresponding to the work identifier in the database is updated to be reviewed.

一种可能的实施方式中,所述处理器601的指令中,还包括:In a possible implementation manner, the instructions of the processor 601 further include:

每隔第一预设时长获取所述数据库中各个作品的审核状态;Obtain the review status of each work in the database every first preset duration;

基于当前次获取的各个作品的审核状态以及前一次获取的各个作品的审核状态,确定未被正常审核的第一目标作品;Based on the review status of each work acquired at the current time and the review status of each work acquired at the previous time, determine the first target work that has not been properly reviewed;

生成与所述第一目标作品对应的第三审核任务,并将所述第三审核任务添加至所述审核队列。A third review task corresponding to the first target work is generated, and the third review task is added to the review queue.

一种可能的实施方式中,所述处理器601的指令中,根据以下步骤对所述审核队列中的任一审核任务对应的第二目标作品进行审核:In a possible implementation manner, in the instruction of the processor 601, the second target work corresponding to any review task in the review queue is reviewed according to the following steps:

解析所述审核队列,获取所述任一审核任务的标识信息;Parse the audit queue, and obtain the identification information of any one of the audit tasks;

基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务的情况下,基于所述任一审核任务的标识信息,确定所述任一审核任务对应的第二目标作品的标识信息;Based on the identification information of any one of the audit tasks and the list of canceled audit tasks, when it is detected that the any one of the audit tasks is a task that needs to be audited, based on the identification information of the any one of the audit tasks, determine the Identification information of the second target work corresponding to any review task;

基于所述第二目标作品的标识信息对所述第二目标作品进行审核。The second target work is reviewed based on the identification information of the second target work.

一种可能的实施方式中,所述处理器601的指令中,还包括:In a possible implementation manner, the instructions of the processor 601 further include:

在所述第二目标作品完成审核后,将对应的审核结果保存至数据库,并将所述第二目标作品的审核状态更新为已审核。After the review of the second target work is completed, the corresponding review result is saved in the database, and the review status of the second target work is updated to reviewed.

一种可能的实施方式中,所述处理器601的指令中,所述基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务,包括:In a possible implementation manner, in the instruction of the processor 601, based on the identification information of any one of the audit tasks and the list of canceled audit tasks, it is detected that the any one of the audit tasks needs to be audited. tasks, including:

在检测到所述取消审核任务列表中不包含所述任一审核任务的标识信息的情况下,确定所述任一审核任务为需要被审核的任务。In a case where it is detected that the list of canceled audit tasks does not contain the identification information of any one of the audit tasks, it is determined that the any one of the audit tasks is a task that needs to be audited.

一种可能的实施方式中,所述处理器601的指令中,将审核任务的标识信息添加至取消审核任务列表中之后,还包括:In a possible implementation manner, the instruction of the processor 601, after adding the identification information of the audit task to the list of canceled audit tasks, further includes:

响应所述取消审核任务列表中任一审核任务满足预设删除条件,将所述审核任务的标识信息从所述取消审核任务列表中删除。In response to any audit task in the cancel audit task list meeting a preset deletion condition, the identification information of the audit task is deleted from the cancel audit task list.

一种可能的实施方式中,所述处理器601的指令中,所述预设删除条件包括以下至少一个:In a possible implementation manner, in the instruction of the processor 601, the preset deletion condition includes at least one of the following:

所述任一审核任务对应的作品的审核状态为已审核;所述任一审核任务从所述审核队列中被删除;或者,所述任一审核任务添加至所述取消审核任务列表的时长超过第二预设时长。The review status of the work corresponding to any of the review tasks is reviewed; the any review tasks are deleted from the review queue; or, the duration of the addition of the any review tasks to the cancel review task list exceeds The second preset duration.

一种可能的实施方式中,所述处理器601的指令中,所述将所述第一审核任务的标识信息添加至取消审核任务列表中,包括:In a possible implementation manner, in the instruction of the processor 601, the adding the identification information of the first audit task to the cancel audit task list includes:

在检测到所述第一待审核作品的审核状态为未审核或审核中的情况下,将所述第一审核任务的标识信息添加至取消审核任务列表中。When it is detected that the review status of the first work to be reviewed is unreviewed or under review, the identification information of the first review task is added to the list of canceled review tasks.

本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的作品审核方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。Embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the work review method described in the above method embodiments are executed. Wherein, the storage medium may be a volatile or non-volatile computer-readable storage medium.

本公开实施例还提供一种计算机程序产品,该计算机程序产品承载有程序代码,所述程序代码包括的指令可用于执行上述方法实施例中所述的作品审核方法的步骤,具体可参见上述方法实施例,在此不再赘述。Embodiments of the present disclosure further provide a computer program product, where the computer program product carries program code, and the program code includes instructions that can be used to execute the steps of the work review method described in the above method embodiments. For details, please refer to the above method The embodiments are not repeated here.

其中,上述计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。Wherein, the above-mentioned computer program product can be specifically implemented by means of hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined. Or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium. Based on such understanding, the technical solutions of the present disclosure can be embodied in the form of software products in essence, or the parts that contribute to the prior art or the parts of the technical solutions. The computer software products are stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.

最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present disclosure, and are used to illustrate the technical solutions of the present disclosure rather than limit them. The protection scope of the present disclosure is not limited thereto, although referring to the foregoing The embodiments describe the present disclosure in detail. Those of ordinary skill in the art should understand that: any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed by the present disclosure. Changes can be easily thought of, or equivalent replacements are made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be covered in the present disclosure. within the scope of protection. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims (12)

1.一种作品审核方法,其特征在于,包括:1. A method for reviewing works, comprising: 接收用户端发送的第一待审核作品,生成与所述第一待审核作品对应的第一审核任务,并将所述第一审核任务添加至审核队列中;Receive the first work to be reviewed sent by the client, generate a first review task corresponding to the first work to be reviewed, and add the first review task to the review queue; 响应所述用户端的更新操作,接收所述用户端发送的与所述第一待审核作品对应的更新后的第二待审核作品;其中,所述第一待审核作品与所述第二待审核作品的作品标识相同;In response to the update operation of the user terminal, receive an updated second work to be reviewed corresponding to the first work to be reviewed sent by the user terminal; wherein the first work to be reviewed and the second work to be reviewed The works have the same work identification; 生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中;以及将所述第一审核任务的标识信息添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。generating a second review task corresponding to the second work to be reviewed, and adding the second review task to the review queue; and adding the identification information of the first review task to the cancel review task list , so that the review tasks in the review queue determine whether they need to be reviewed based on the list of canceled review tasks before being reviewed. 2.根据权利要求1所述的方法,其特征在于,在基于所述第一待审核作品生成第一审核任务,并将所述第一审核任务添加至审核队列中之后,所述方法还包括:2. The method according to claim 1, wherein after generating a first review task based on the first work to be reviewed and adding the first review task to the review queue, the method further comprises: : 在检测到所述审核队列中存在所述第一审核任务后,对数据库中所述作品标识对应的作品审核状态更新为审核中。After detecting that the first review task exists in the review queue, the review status of the work corresponding to the work identifier in the database is updated to be reviewed. 3.根据权利要求2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 2, wherein the method further comprises: 每隔第一预设时长获取所述数据库中各个作品的审核状态;Obtain the review status of each work in the database every first preset duration; 基于当前次获取的各个作品的审核状态以及前一次获取的各个作品的审核状态,确定未被正常审核的第一目标作品;Based on the review status of each work acquired at the current time and the review status of each work acquired at the previous time, determine the first target work that has not been properly reviewed; 生成与所述第一目标作品对应的第三审核任务,并将所述第三审核任务添加至所述审核队列。A third review task corresponding to the first target work is generated, and the third review task is added to the review queue. 4.根据权利要求1所述的方法,其特征在于,根据以下步骤对所述审核队列中的任一审核任务对应的第二目标作品进行审核:4. The method according to claim 1, wherein the second target work corresponding to any one of the audit tasks in the audit queue is audited according to the following steps: 解析所述审核队列,获取所述任一审核任务的标识信息;Parse the audit queue, and obtain the identification information of any one of the audit tasks; 基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务的情况下,基于所述任一审核任务的标识信息,确定所述任一审核任务对应的第二目标作品的标识信息;Based on the identification information of any one of the audit tasks and the list of canceled audit tasks, when it is detected that the any one of the audit tasks is a task that needs to be audited, based on the identification information of the any one of the audit tasks, determine the Identification information of the second target work corresponding to any review task; 基于所述第二目标作品的标识信息对所述第二目标作品进行审核。The second target work is reviewed based on the identification information of the second target work. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. The method according to claim 4, wherein the method further comprises: 在所述第二目标作品完成审核后,将对应的审核结果保存至数据库,并将所述第二目标作品的审核状态更新为已审核。After the review of the second target work is completed, the corresponding review result is saved in the database, and the review status of the second target work is updated to reviewed. 6.根据权利要求4所述的方法,其特征在于,所述基于所述任一审核任务的标识信息和所述取消审核任务列表,检测到所述任一审核任务为需要被审核的任务,包括:6. The method according to claim 4, wherein, based on the identification information of the any audit task and the canceled audit task list, it is detected that the any audit task is a task that needs to be audited, include: 在检测到所述取消审核任务列表中不包含所述任一审核任务的标识信息的情况下,确定所述任一审核任务为需要被审核的任务。In a case where it is detected that the list of canceled audit tasks does not contain the identification information of any one of the audit tasks, it is determined that the any one of the audit tasks is a task that needs to be audited. 7.根据权利要求1~6任一所述的方法,其特征在于,将审核任务的标识信息添加至取消审核任务列表中之后,所述方法还包括:7. The method according to any one of claims 1 to 6, wherein after the identification information of the audit task is added to the list of canceled audit tasks, the method further comprises: 响应所述取消审核任务列表中任一审核任务满足预设删除条件,将所述审核任务的标识信息从所述取消审核任务列表中删除。In response to any audit task in the cancel audit task list meeting a preset deletion condition, the identification information of the audit task is deleted from the cancel audit task list. 8.根据权利要求7所述的方法,其特征在于,所述预设删除条件包括以下至少一个:8. The method according to claim 7, wherein the preset deletion condition comprises at least one of the following: 所述任一审核任务对应的作品的审核状态为已审核;所述任一审核任务从所述审核队列中被删除;或者,所述任一审核任务添加至所述取消审核任务列表的时长超过第二预设时长。The review status of the work corresponding to any of the review tasks is reviewed; the any review tasks are deleted from the review queue; or, the duration of the addition of the any review tasks to the cancel review task list exceeds The second preset duration. 9.根据权利要求1所述的方法,其特征在于,所述将所述第一审核任务的标识信息添加至取消审核任务列表中,包括:9. The method according to claim 1, wherein the adding the identification information of the first audit task to the cancel audit task list comprises: 在检测到所述第一待审核作品的审核状态为未审核或审核中的情况下,将所述第一审核任务的标识信息添加至取消审核任务列表中。When it is detected that the review status of the first work to be reviewed is unreviewed or under review, the identification information of the first review task is added to the list of canceled review tasks. 10.一种作品审核装置,其特征在于,包括:10. A work review device, characterized in that, comprising: 接收模块,用于接收用户端发送的第一待审核作品,生成与所述第一待审核作品对应的第一审核任务,并将所述第一审核任务添加至审核队列中;a receiving module, configured to receive the first work to be reviewed sent by the client, generate a first review task corresponding to the first work to be reviewed, and add the first review task to the review queue; 更新模块,用于响应所述用户端的更新操作,接收所述用户端发送的与所述第一待审核作品对应的更新后的第二待审核作品;其中,所述第一待审核作品与所述第二待审核作品的作品标识相同;An update module, configured to respond to the update operation of the user terminal, and receive an updated second work to be reviewed corresponding to the first work to be reviewed sent by the user terminal; wherein the first work to be reviewed is the same as the first work to be reviewed. The work identification of the second work to be reviewed is the same; 添加模块,用于生成与所述第二待审核作品对应的第二审核任务,并将所述第二审核任务添加至所述审核队列中;以及将所述第一审核任务的标识信息添加至取消审核任务列表中,以使所述审核队列中的审核任务在被审核之前基于所述取消审核任务列表确定是否需要被审核。An adding module is configured to generate a second review task corresponding to the second work to be reviewed, and add the second review task to the review queue; and add the identification information of the first review task to Cancel the audit task list, so that the audit tasks in the audit queue determine whether they need to be audited based on the cancel audit task list before being audited. 11.一种计算机设备,其特征在于,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如权利要求1至9任一所述的作品审核方法的步骤。11. A computer device, comprising: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device runs, the processor and the The memories communicate with each other through a bus, and when the machine-readable instructions are executed by the processor, the steps of the work review method according to any one of claims 1 to 9 are executed. 12.一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如权利要求1至9任一项所述的作品审核方法的步骤。12. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the work review method according to any one of claims 1 to 9 is executed A step of.
CN202110668713.5A 2021-06-16 2021-06-16 A method, device, computer equipment and storage medium for reviewing works Active CN113298423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110668713.5A CN113298423B (en) 2021-06-16 2021-06-16 A method, device, computer equipment and storage medium for reviewing works

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110668713.5A CN113298423B (en) 2021-06-16 2021-06-16 A method, device, computer equipment and storage medium for reviewing works

Publications (2)

Publication Number Publication Date
CN113298423A true CN113298423A (en) 2021-08-24
CN113298423B CN113298423B (en) 2025-01-07

Family

ID=77328518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110668713.5A Active CN113298423B (en) 2021-06-16 2021-06-16 A method, device, computer equipment and storage medium for reviewing works

Country Status (1)

Country Link
CN (1) CN113298423B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908941A (en) * 2005-08-01 2007-02-07 索尼株式会社 Information-processing apparatus, recording medium and information-processing method
JP2017211797A (en) * 2016-05-25 2017-11-30 理想科学工業株式会社 Printing system
CN110826964A (en) * 2019-11-01 2020-02-21 政采云有限公司 Order creation method, device, equipment and computer readable storage medium
CN111813966A (en) * 2020-07-13 2020-10-23 湖南快乐阳光互动娱乐传媒有限公司 Data auditing method and device
WO2021000406A1 (en) * 2019-07-02 2021-01-07 平安科技(深圳)有限公司 Request processing method and apparatus, computer device, and storage medium
CN112270529A (en) * 2020-10-29 2021-01-26 北京字跳网络技术有限公司 Method and device for examining and approving business form, electronic equipment and storage medium
CN112306655A (en) * 2020-10-29 2021-02-02 平安信托有限责任公司 Task auditing method and device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908941A (en) * 2005-08-01 2007-02-07 索尼株式会社 Information-processing apparatus, recording medium and information-processing method
JP2017211797A (en) * 2016-05-25 2017-11-30 理想科学工業株式会社 Printing system
WO2021000406A1 (en) * 2019-07-02 2021-01-07 平安科技(深圳)有限公司 Request processing method and apparatus, computer device, and storage medium
CN110826964A (en) * 2019-11-01 2020-02-21 政采云有限公司 Order creation method, device, equipment and computer readable storage medium
CN111813966A (en) * 2020-07-13 2020-10-23 湖南快乐阳光互动娱乐传媒有限公司 Data auditing method and device
CN112270529A (en) * 2020-10-29 2021-01-26 北京字跳网络技术有限公司 Method and device for examining and approving business form, electronic equipment and storage medium
CN112306655A (en) * 2020-10-29 2021-02-02 平安信托有限责任公司 Task auditing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113298423B (en) 2025-01-07

Similar Documents

Publication Publication Date Title
US9870268B2 (en) Virtual computing instance migration
US11296941B2 (en) Standby instances for auto-scaling groups
US20190163594A1 (en) Using Cognitive Technologies to Identify and Resolve Issues in a Distributed Infrastructure
JP5976221B2 (en) Information backup method and apparatus
JP5913754B2 (en) Customized predictors of user behavior in online systems
CN103246595B (en) Application management method, device, server and terminating unit
US10489230B1 (en) Chaining log operations in data replication groups
US9740537B2 (en) Contention and selection of controlling work coordinator in a distributed computing environment
US10795793B1 (en) Method and system for simulating system failures using domain-specific language constructs
US8276022B2 (en) Efficient failure detection for long running data transfer jobs
US10453073B1 (en) Ontology based customer support techniques
KR20130126930A (en) Using text messages to interact with spreadsheets
US9336674B1 (en) Notifying a user utilizing smart alerting techniques
US20130246520A1 (en) Recognizing Social Media Posts, Comments, or other Texts as Business Recommendations or Referrals
CN110659256A (en) Multi-computer room synchronization method, computing device and computer storage medium
US10324766B1 (en) Task profile collection
WO2018222358A1 (en) Communication reply bot
US7451142B2 (en) Autonomic relevancy building
EP4070522B1 (en) Platform for multi-stream sampling and visualization
US10873557B2 (en) Publishing message conversations to electronic forums
US10599505B1 (en) Event handling system with escalation suppression
US9479642B2 (en) Enhanced quality monitoring
US20200236072A1 (en) Cross-Platform Messaging System
WO2016095716A1 (en) Fault information processing method and related device
US10567499B1 (en) Unsupervised round robin catch up algorithm

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