WO2023174119A1 - 数字内容处理方法、装置、电子设备、存储介质及产品 - Google Patents

数字内容处理方法、装置、电子设备、存储介质及产品 Download PDF

Info

Publication number
WO2023174119A1
WO2023174119A1 PCT/CN2023/080256 CN2023080256W WO2023174119A1 WO 2023174119 A1 WO2023174119 A1 WO 2023174119A1 CN 2023080256 W CN2023080256 W CN 2023080256W WO 2023174119 A1 WO2023174119 A1 WO 2023174119A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing
digital content
digital
processing step
digital fingerprint
Prior art date
Application number
PCT/CN2023/080256
Other languages
English (en)
French (fr)
Inventor
陈致杰
周丰
Original Assignee
上海爱数信息技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海爱数信息技术股份有限公司 filed Critical 上海爱数信息技术股份有限公司
Publication of WO2023174119A1 publication Critical patent/WO2023174119A1/zh

Links

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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Definitions

  • This application relates to the field of computer technology, such as digital content processing methods, devices, electronic equipment, storage media and products.
  • Digital content processing refers to the process of using digital technology to produce, label, classify, refine, review, analyze, organize, calculate, edit, and process digital content such as text, images, audio, video, and data to obtain the final output result.
  • the technology of digital content processing is to process the digital content according to the preset sequence steps and parameters, and use the obtained results as the digital content of the next step, and obtain the final output result through a series of steps.
  • This application provides a digital content processing method, device, electronic equipment, storage medium and product to solve the problem of repeated steps existing in related technologies.
  • a digital content processing method including:
  • the decomposition and arrangement includes merging multiple identical primary processing steps in at least one primary processing process into one processing node.
  • a digital content processing device including:
  • the acquisition module is set to obtain the definition of a processing step and the definition of a processing process
  • the decomposition and orchestration module is configured to decompose and orchestrate the digital content processing process according to the acquired definition
  • the processing module is configured to process the digital content according to the decomposed and arranged digital content processing process
  • the decomposition and arrangement includes merging multiple identical primary processing steps in at least one primary processing process into one processing node.
  • an electronic device including: at least one processor; and
  • the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the above-mentioned digital content processing method.
  • a computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the above-mentioned digital content processing method when executed by a processor.
  • a computer program product characterized in that the computer program product includes a computer program, and the computer program implements the above-mentioned digital content processing method when executed by a processor.
  • Figure 1 is a schematic flow chart of a digital content processing method provided in Embodiment 1 of the present application;
  • Figure 2 is a schematic diagram of one processing step in a digital content processing method provided in Embodiment 1 of the present application;
  • FIG. 3 is a schematic diagram of a processing process in a digital content processing method provided in Embodiment 1 of the present application;
  • Figure 4 is a schematic diagram of the decomposition and arrangement of a digital content processing process provided by Embodiment 1 of the present application;
  • Figure 5 is a schematic flow chart of a digital content processing method provided in Embodiment 2 of the present application.
  • Figure 6 is a schematic flow chart of digital content caching and digital content reading provided in Embodiment 2 of the present application.
  • Figure 7 is a schematic flow chart of a digital content processing method provided in Embodiment 3 of the present application.
  • Figure 8 is a schematic structural diagram of a digital fingerprint tree provided in Embodiment 3 of the present application.
  • Figure 9 is a schematic structural diagram of a digital content processing device provided in Embodiment 4 of the present application.
  • FIG. 10 is a schematic structural diagram of an electronic device provided in Embodiment 5 of the present application.
  • the term “include” and its variations are open-ended, ie, “including but not limited to.”
  • the term “based on” means “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • Figure 1 is a schematic flowchart of a digital content processing method provided in Embodiment 1 of the present application. This method can be applied to situations where digital content is repeatedly processed through multiple steps. This method can be executed by a digital content processing device, where The device can be implemented by software and/or hardware, and is generally integrated on an electronic device.
  • the electronic device includes but is not limited to: a computer device.
  • a digital content processing method provided by Embodiment 1 of the present application includes the following steps:
  • One processing step is defined as taking a digital content as input, generating another digital content according to a processing method and processing parameters and then outputting it.
  • the one processing step is defined as one digital content sequentially passing through at least one one processing step to obtain the output digital content. .
  • Digital content can include text, images, audio, video, data, etc.
  • the processing parameters are the processing parameters corresponding to the processing method, that is, the processing parameters are determined after the processing method is determined.
  • a processing method and processing parameters can be used as a transformation method.
  • a processing step has a unique output for a certain input and transformation method.
  • FIG 2 is a schematic diagram of one processing step in a digital content processing method provided in Embodiment 1 of the present application. As shown in Figure 2, digital content I is input, and the input digital content is processed through processing method F and optional processing parameter P. I is processed to obtain the output digital content O.
  • a processing process may include multiple processing steps.
  • Figure 3 is a schematic diagram of a processing process in a digital content processing method provided in Embodiment 1 of the present application. As shown in Figure 3, the original digital content undergoes processing steps a, Step b and processing step c obtain the output digital content, wherein processing step a, processing step b and processing step c are respectively one processing step, which can be the same one processing step or different one processing step.
  • Decomposition orchestration is the automated configuration, management, and coordination of computer systems, applications, and services. Through orchestration, the computer can complete specific computing tasks according to conditions and preset processes.
  • the process of decomposing and arranging may include: arranging the digital content processing process into at least one one-time processing process and at least one one-time processing step according to the definition of one-time processing process and one-time processing step, and dividing the same one-time processing process into The steps are combined into a processing node as a processing step shared by all processing processes.
  • Decomposing and arranging the digital content processing process according to the definition of acquisition includes: arranging the digital content processing process into at least one one-time processing process according to the definition of acquisition; decomposing the one-time processing process into at least one one-time processing step; The same processing steps are combined into one processing node.
  • Merging multiple identical primary processing steps into one processing node includes: merging multiple identical primary processing steps in multiple primary processing processes into one processing node; merging multiple identical primary processing steps in one processing process. as a processing node.
  • FIG 4 is a schematic diagram of the decomposition and arrangement of a digital content processing process provided by Embodiment 1 of the present application.
  • processing process A, processing process B and processing process C are all one processing process, and processing steps a to processing steps f is a processing step.
  • the original digital content that is, the input digital content
  • the processing process B the original digital content is processed in the processing step a, the processing step c, and the processing step f.
  • the processing process C the original digital content passes through the processing step d and the processing step e in sequence.
  • the processing step a can be a common step in the previous sequence, that is, a processing node, shared by the processing process A and the processing process B;
  • the processing step e can be a common step in the subsequent sequence, that is, a processing node, shared by the processing process B and the processing process C.
  • the digital content processing process can be decomposed and arranged to form at least one one-time processing process.
  • the input digital content can be processed through a plurality of different one-time processing steps in sequence.
  • Different processing processes can share a processing node, and one processing node can process the same steps in multiple one-time processing processes.
  • Figure 4 shows the digital content processing process after decomposition and arrangement.
  • the digital content is processed according to the processing flow in Figure 4.
  • a digital content processing method provided in Embodiment 1 of the present application first obtains the definition of a processing step and a definition of a processing process; then decomposes and arranges the digital content processing process according to the obtained definition; and finally decomposes and arranges the digital content according to the obtained definition.
  • the above method can effectively reduce the use of repeated steps by decomposing and arranging the digital content processing process into multiple one-time processing processes, and using the processing nodes obtained after decomposition and arrangement to process multiple identical processing steps in multiple one-time processing processes at once. , shorten processing time and reduce processing resources.
  • the problem of repeated processing of the same processing steps is solved, and the beneficial effects of effectively reducing the use of repeated steps, shortening processing time and reducing processing resources are achieved.
  • an example embodiment of a digital content processing method is provided.
  • This embodiment is suitable for comprehensive usage scenarios and enables one digital content input and multiple processing processes to be performed simultaneously to reduce repeated processing.
  • the document management system sequentially performs anti-virus, illegal content detection, content summary, tag extraction, content image recognition and other processing steps on the files uploaded by the user. . It can be based on the definition of a processing step and a The definition of the secondary processing process decomposes and arranges the above process. After inputting the file, the digital content can be processed according to the digital content processing flow obtained after decomposition and arrangement, and the same steps are completed through multiple primary processing nodes.
  • FIG. 5 is a schematic flowchart of a digital content processing method provided in Embodiment 2 of the present application.
  • Embodiment 2 is explained on the basis of the above embodiment.
  • the method includes: in the process of processing digital content, calculating the digital fingerprint corresponding to each primary processing step, and outputting the digital content cache or output according to the digital fingerprint corresponding to each primary processing step. Digital content reading. Please refer to Embodiment 1 for details that are not yet detailed in this embodiment.
  • a digital content processing method provided in Embodiment 2 of the present application includes the following steps:
  • S220 Decompose and arrange the digital content processing process according to the definition of acquisition.
  • the corresponding output digital content can be directly obtained based on the cached digital fingerprint, and the obtained output digital content can be used as the input of the subsequent primary processing step.
  • Digital fingerprinting is the use of truncated information to identify large data files or structures. Digital fingerprinting is an algorithm that reduces larger data sets into very small data sets to facilitate efficient identification and search protocols. A common fingerprint algorithm is called a hash function. These functions change larger data sets into shorter data sets. These modified data help make search techniques more agile.
  • the digital fingerprint includes a first digital fingerprint and a second digital fingerprint.
  • the first digital fingerprint is obtained according to the digital content input in a processing step.
  • the second digital fingerprint is obtained according to the processing method and processing parameters in a processing step. .
  • each primary processing step has a corresponding digital fingerprint. Since a primary processing step includes the input digital content corresponding to the step as well as the processing method and processing parameters, the digital fingerprint may include the first digital fingerprint. and a second digital fingerprint. The first digital fingerprint may be a digital fingerprint corresponding to the input digital content, and the second digital fingerprint may be a digital fingerprint corresponding to the processing method and processing parameters.
  • the first digital fingerprint cp(n-1) can be obtained by performing hash calculation on the input digital content.
  • the processing method and processing corresponding to this one-time processing step The parameters are hashed to obtain the second digital fingerprint fp(n).
  • n represents the step count of the processing step. According to n in the first digital fingerprint and the second digital fingerprint, it can be known which processing step the digital fingerprint corresponds to. According to the first digital fingerprint and the second digital fingerprint, the number corresponding to the processing step can be obtained. Output digital content.
  • Caching the output digital content or reading the output digital content according to the digital fingerprint corresponding to each one-time processing step includes: when executing the current one-time processing step, determining whether the storage device includes the data corresponding to the current one-time processing step.
  • Output digital content corresponding to the digital fingerprint in response to the storage device including the output digital content corresponding to the digital fingerprint corresponding to the current one processing step, read the output digital content from the storage device, Use the output digital content as the output result of the one-time processing step; in response to the storage device not including the output digital content corresponding to the digital fingerprint corresponding to the current one-time processing step, use the current one-time processing step
  • the processing method and processing parameters used in the processing steps are used to process the digital content to be processed, and the output results obtained after processing are marked with digital fingerprints and then cached in the storage device.
  • Figure 6 is a schematic flow chart of digital content caching and digital content reading provided in Embodiment 2 of the present application.
  • the input digital content is input into a one-time processing step
  • the input digital fingerprint cp(n-1) of the digital content is the first digital fingerprint
  • the digital fingerprint fp(n) of the calculation processing method and processing parameters is the second digital fingerprint
  • the output digital content marked by cp(n-1) and fp(n) exists in the storage device, and the corresponding output digital content is obtained from the storage device as the output result of a processing step
  • If there is no output digital content marked by cp(n-1) and fp(n) in the storage device use the processing method and processing parameters corresponding to one processing step to process the input digital content, and obtain the processing result, that is, the output digital content.
  • use cp(n-1) and fp(n) to mark the processing results, and cache
  • Embodiment 2 of the present application provides a digital content processing method that performs a process of caching output digital content or reading output digital content based on digital fingerprints. Using this method, the output result corresponding to each processing step can be quickly determined based on the digital fingerprint, without consuming computing resources for processing again.
  • Embodiment 2 of this application an example embodiment is provided.
  • This example embodiment is suitable for the same enterprise information processing scenario, such as the process of obtaining enterprise information based on the identified taxpayer identification number during invoice identification.
  • the following processing steps can be included:
  • Step 1 Identify the invoice and obtain the buyer’s taxpayer identification number.
  • Step 2 Query based on the identification number of the purchaser's taxpayer to obtain the purchaser's taxpayer information.
  • Step 3 Identify the invoice and obtain the taxpayer’s identification number from the seller.
  • Step 4 Query based on the taxpayer’s identification number of the seller to obtain the buyer’s seller information.
  • the identification of invoice a can be regarded as a one-time processing process
  • step 2 can be regarded as a one-time processing step
  • the identification number of the purchaser taxpayer ab obtained from the identification of invoice a can be used as the input digital content.
  • the identification number of the buyer taxpayer ab in is calculated to obtain the first digital fingerprint cpab1; the second digital fingerprint fp2 is calculated according to the query method and query parameters in step 2; use cpab1 and fp2 to mark the output result of step 2, which is the buyer's tax payment personal information, and caches the marked output results in the storage device.
  • step 4 can be regarded as a one-time processing step, and the identification number of the seller-taxpayer as obtained from identifying invoice a is used as the input digital content, which is calculated based on the identification number of the seller-taxpayer as in step 4.
  • the identification of invoice b can be regarded as a one-time processing process, and the identification number of the purchaser taxpayer bb obtained from the identification of invoice b can be used as the input digital content.
  • the first digital fingerprint cpbb1 is calculated; use the identification number of the seller taxpayer bs obtained by identifying invoice b as the input digital content, and calculate the first digital fingerprint cpbs1 based on the identification number of the seller taxpayer bs in step 4; if If cpbb1 and cpab1 are equal, the output content corresponding to cpab1 can be obtained directly from the storage device.
  • step 2 performs step 2 to query, use cpbb1 and fp2 to mark the query results, and add the marked query results Cache; if cpbs1 and cpas1 are equal, you can directly obtain the output content corresponding to cpbs1 from the storage device. If cpbs1 and cpas1 are not equal, perform step 4 to query, use cpbs1 and fp2 to mark the query results, and mark the The subsequent query results are cached.
  • FIG. 7 is a schematic flowchart of a digital content processing method provided in Embodiment 3 of the present application.
  • Embodiment 3 is explained on the basis of the above embodiment.
  • the method includes: constructing a digital fingerprint tree based on the digital fingerprint corresponding to each primary processing step; determining the target digital fingerprint corresponding to the target primary processing step based on the digital fingerprint tree; reading the said digital fingerprint from the storage device.
  • the target output digital content corresponding to the target digital fingerprint; the target output digital content is used as the input of the target primary processing step.
  • Embodiment 1 and Embodiment 2 please refer to Embodiment 1 and Embodiment 2.
  • a digital content processing method provided in Embodiment 3 of the present application includes the following steps:
  • S320 Decompose and arrange the digital content processing process according to the definition of acquisition.
  • S350 Construct a digital fingerprint tree based on the first digital fingerprint corresponding to the original digital content and the second digital fingerprint corresponding to each primary processing step.
  • Original digital content is digital content that has not been processed by any one processing step.
  • the sequential relationship between digital fingerprints can be constructed based on the correlation sequence between multiple processing steps to form a digital fingerprint tree with a tree structure.
  • Building a digital fingerprint tree based on the first digital fingerprint corresponding to the original digital content and the second digital fingerprint corresponding to each processing step includes: using the first digital fingerprint corresponding to the original digital content as the root node of the digital fingerprint tree; The second digital fingerprint corresponding to the one-time processing step in which the step number is 1 is used as the first-layer leaf node of the root node; the second digital fingerprint corresponding to each one-time processing step in which the step number is not 1
  • the second digital fingerprint of the root node is used as the leaf node of the root node except the first layer leaf node; the first digital fingerprint and the second digital fingerprint corresponding to each primary processing step are used to establish the first digital fingerprint of each primary processing step.
  • the output result is associated with the corresponding layer leaf node of each one-time processing step.
  • Figure 8 is a schematic structural diagram of a digital fingerprint tree provided in Embodiment 3 of the present application.
  • the first digital fingerprint cp0 corresponding to the original digital content is used as the root node of the digital fingerprint tree; one processing
  • the second digital fingerprint fpa(1) of step a is used as the first layer leaf node of the digital fingerprint tree, and is associated with the output result of the one-time processing step a marked by cp0+fpa(1), and the second number of one-time processing step b
  • the fingerprint fpb(1) is used as the first layer leaf node of the digital fingerprint tree and is associated with the output result of the primary processing step b marked by cp0+fpb(1).
  • the second digital fingerprint fpx(1) of the primary processing step x is used as The first layer leaf node of the digital fingerprint tree, and is associated with the output result of the primary processing step x marked by cp0+fpx(1); the second digital fingerprint fpc(2) of the primary processing step c is used as the second digital fingerprint tree
  • the layer leaf node is associated with the output result of the primary processing step c marked by cpb(1)+fpc(2), and the second digital fingerprint fpd(2) of the primary processing step d is used as the second layer leaf node of the digital fingerprint tree.
  • the target primary processing step is the processing step whose input is to be confirmed.
  • a target processing step is a processing step subsequent to the processing step in which the interruption occurs, if an interruption occurs.
  • the target primary processing step may be the same processing step in the digital content processing process, or may be other processing steps in the digital content processing process.
  • each processing step when processing the same original digital content, each processing step can be calculated
  • the second digital fingerprint fp of the step is compared in the digital fingerprint tree. Starting from the root node, the path end point that always matches fp is obtained.
  • Determining the target digital fingerprint corresponding to the target's primary processing step based on the digital fingerprint tree includes: obtaining all digital fingerprints corresponding to all primary processing steps before the target's primary processing step; determining a matching path based on all digital fingerprints; based on the matching The path is matched in the digital fingerprint tree, and a processing step corresponding to the end of the path that is successfully matched in the digital fingerprint tree is used as an interruption processing step; the digital fingerprint of the interruption processing step is used as the target digital fingerprint.
  • the interrupt processing step is a processing step before the target primary processing step, for example, it may be a processing step where an interruption occurs.
  • the target output number corresponding to the target digital fingerprint can be obtained directly based on the correlation. content.
  • the digital fingerprint tree provided in Embodiment 3 of this application can also be used when the digital processing process is interrupted.
  • this solution can locate the interrupted processing step through the digital fingerprint tree, and directly obtain the output result of the processing step as the input of the subsequent processing step, that is, when the digital processing step occurs.
  • interrupted there is no need to reprocess everything, just continue processing from the step after the interruption.
  • the output result of a processing step of the digital content interruption is located according to the digital fingerprint tree, so that subsequent processing can be performed based on the output result of a processing step of the digital content interruption.
  • Locating the output result of a processing step of digital content interruption according to the digital fingerprint tree includes: combining the second digital fingerprints corresponding to all the processing steps before the one processing step after the digital content interruption to form a matching path; The matching path is matched in the digital fingerprint tree; the output result corresponding to a processing step corresponding to the end point of the path matched in the digital fingerprint tree is used as the output result of a processing step of digital content interruption.
  • the third embodiment of the present application provides a digital content processing method.
  • the processing results can be quickly obtained and repeated step processing can be reduced; when the digital content processing process is interrupted, Quickly locate the interruption location through the digital fingerprint tree and directly obtain the output result at the interruption point.
  • Embodiment 3 of this application Several exemplary embodiments are provided based on Embodiment 3 of this application.
  • the business requires the recognition of different targets on pictures, such as text and objects.
  • the identification process of different targets is different and includes multiple steps.
  • the same process The processing step is image segmentation and binarization.
  • the image segmentation and binarization step can be used as a processing node for use by multiple one-time processing processes.
  • the digital fingerprint cp0 of the original image is recorded, pointing to the original document content in storage; the second digital fingerprint fpla of the image binarization processing step is recorded; a digital fingerprint tree cp0->fp1a is constructed to establish a digital fingerprint Correlation with the output result of the image binarization processing step; using the binarization result as the input of the text recognition step to obtain the output result; using the binarization result as the input of the object recognition step to obtain the output result.
  • the output of the binarization processing step can be obtained directly based on the digital fingerprint tree, and the output result can be used directly.
  • PDF Portable Document Format
  • Step 1 Generate office format documents into PDF format documents.
  • Step 2 Add different watermark contents to the PDF format document to generate the final result document.
  • the first digital fingerprint recorded in the original office document is cp0, which points to the original document content in storage; the second digital fingerprint fp1a recorded in the steps of generating a PDF format document from the office document; when generating a watermarked document for the first user a, record the above steps
  • the first digital fingerprint cp1a of the PDF format document step obtained in 1; build a digital fingerprint tree cp0->fp1a, mark cache cp1a; record the second digital fingerprint fp2a of the PDF format document adding user a watermark step; the first user a again
  • the output result marked by cp2a is directly returned as the final result without further processing.
  • Figure 9 is a schematic structural diagram of a digital content processing device provided in Embodiment 4 of the present application.
  • the device can be suitable for situations where digital content is repeatedly processed through multiple steps.
  • the device can be composed of software and/or Or implemented in hardware and generally integrated on electronic devices.
  • the device includes: an acquisition module 110, a decomposition and arrangement module 120, and a processing module 130.
  • the acquisition module 110 is configured to acquire the definition of a processing step and the definition of a processing process; the decomposition and arrangement module 120 is configured to decompose and arrange the digital content processing process according to the acquired definition; the processing module 130 is configured to decompose and arrange the digital content processing process according to the obtained definition.
  • the digital content processing process processes digital content; wherein the decomposition and arrangement includes merging multiple identical primary processing steps in at least one primary processing process into one processing node.
  • the device first obtains the definition of a processing step and the definition of a processing process through the acquisition module 110; secondly, the decomposition and arrangement module 120 decomposes and arranges the digital content processing process according to the acquired definition; and finally, through the processing module 130
  • the digital content is processed according to the digital content processing process after decomposition and arrangement; wherein the decomposition and arrangement includes merging multiple identical primary processing steps in at least one primary processing process into one processing node.
  • This embodiment provides a digital content processing device that can effectively reduce the use of repeated steps and shorten processing time and processing resources.
  • the one-time processing step is defined as taking one digital content as input, generating another digital content according to a processing method and processing parameters and then outputting it.
  • the one-time processing step is defined as one digital content sequentially passing through at least one One processing step results in output digital content.
  • the decomposition and arrangement module 120 is configured to: arrange the digital content processing process into at least one one-time processing process according to the obtained definition; decompose the one-time processing process into at least one one-time processing step; and combine multiple identical one-time processing processes. Steps are combined into a processing node.
  • the device also includes a digital fingerprint calculation module.
  • the digital fingerprint calculation module is configured to calculate the digital fingerprint corresponding to each primary processing step during the process of processing the digital content. According to the corresponding digital fingerprint of each primary processing step, The digital fingerprint is used to cache the output digital content or read the output digital content.
  • the digital fingerprint includes a first digital fingerprint and a second digital fingerprint.
  • the first digital fingerprint is obtained based on the digital content input in one processing step
  • the second digital fingerprint is obtained based on the processing in one processing step. Method and processing parameters are obtained.
  • the digital fingerprint calculation module is configured to: when executing the current one-time processing step, determine whether the storage device includes the output digital content corresponding to the digital fingerprint corresponding to the current one-time processing step; in response to the storage device If the device includes the output digital content corresponding to the digital fingerprint corresponding to the current primary processing step, the output digital content is read from the storage device, and the output digital content is used as the output of the primary processing step. Result: In response to the storage device not including the output digital content corresponding to the digital fingerprint corresponding to the current one processing step, then make The digital content to be processed is processed using the processing method and processing parameters used in the current one-time processing step, and the output result obtained after processing is marked with a digital fingerprint and cached in the storage device.
  • the device further includes a digital fingerprint tree module.
  • the digital fingerprint tree module is configured to construct a digital fingerprint tree based on the first digital fingerprint corresponding to the original digital content and the second digital fingerprint corresponding to each primary processing step.
  • the original Digital content is digital content that has not been processed by any primary processing step; determine the target digital fingerprint corresponding to the target primary processing step based on the digital fingerprint tree; obtain the target output digital content corresponding to the target digital fingerprint; output the target Digital content serves as input to a processing step of the target.
  • the digital fingerprint tree module is configured to construct a digital fingerprint tree based on the digital fingerprint corresponding to each primary processing step in the following manner: using the first digital fingerprint corresponding to the original digital content as the root node of the digital fingerprint tree; The second digital fingerprint corresponding to a processing step whose step number is 1 is used as the first layer leaf node of the root node; the second number corresponding to a processing step whose step number is not 1 in each processing process is Fingerprints are used as leaf nodes of the root node except the first-layer leaf nodes; according to the first digital fingerprint and the second digital fingerprint corresponding to each primary processing step, the output result of each primary processing step is established and the output result of each primary processing step is consistent with the first digital fingerprint. The association of the corresponding layer leaf nodes of each processing step.
  • the digital fingerprint tree module is configured to determine the target digital fingerprint corresponding to the target primary processing step based on the digital fingerprint tree in the following manner: obtain all digital fingerprints corresponding to all primary processing steps before the target primary processing step; determine based on all digital fingerprints Matching paths; Matching is performed in the digital fingerprint tree according to the matching path, and a processing step corresponding to the path endpoint that is successfully matched in the digital fingerprint tree is used as an interruption processing step; and the digital fingerprint of the interruption processing step is as the target digital fingerprint.
  • the above-mentioned digital content processing device can execute the digital content processing method provided by any embodiment of the present application, and has functional modules and effects corresponding to the execution method.
  • FIG. 10 shows a schematic structural diagram of an electronic device 10 that can be used to implement embodiments of the present application.
  • Electronic device 10 is intended to represent many forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
  • Electronic device 10 may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (eg, helmets, glasses, watches, etc.), and other similar computing devices.
  • the components, their connections and relationships, and their functions shown herein are examples only and and is not intended to limit the implementation of the application described and/or claimed herein.
  • the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (Read-Only Memory, ROM) 12, a random access memory (Random Access Memory, RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor.
  • the processor 11 can execute according to the computer program stored in the ROM 12 or loaded from the storage unit 18 into the RAM 13. A variety of appropriate actions and treatments.
  • various programs and data required for the operation of the electronic device 10 can also be stored.
  • the processor 11, the ROM 12 and the RAM 13 are connected to each other via the bus 14.
  • An input/output (I/O) interface 15 is also connected to the bus 14 .
  • the I/O interface 15 Multiple components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc. etc.; and communication unit 19, such as network card, modem, wireless communication transceiver, etc.
  • the communication unit 19 allows the electronic device 10 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunications networks.
  • Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (Central Processing Unit, CPU), a graphics processing unit (GPU), a variety of dedicated artificial intelligence (Artificial Intelligence, AI) computing chips, a variety of running Processors for machine learning model algorithms, digital signal processors (Digital Signal Processing, DSP), and any appropriate processors, controllers, microcontrollers, etc.
  • the processor 11 performs a plurality of methods and processes described above, such as digital content processing methods.
  • the digital content processing method may be implemented as a computer program, which is tangibly embodied in a computer-readable storage medium, such as the storage unit 18.
  • part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19.
  • the processor 11 may be configured to perform the digital content processing method in any other suitable manner (eg, by means of firmware).
  • Various implementations of the systems and techniques described above may be implemented in digital electronic circuit systems, integrated circuit systems, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programming logic device (CPLD), computer hardware, firmware, software, and/or they realized in a combination.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSP Application Specific Standard Parts
  • SOC System on Chip
  • CPLD Complex Programming logic device
  • computer hardware firmware, software, and/or they realized in a combination.
  • These various implementations can include Includes: implemented in one or more computer programs that may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general purpose programmable processor.
  • the processor is programmed to receive data and instructions from and transfer data and instructions to the storage system, the at least one input device, and the at least one output device.
  • Computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that the computer program, when executed by the processor, causes the functions/operations specified in the flowcharts and/or block diagrams to be implemented.
  • a computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
  • a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device.
  • Computer-readable storage media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
  • the computer-readable storage medium may be a machine-readable signal medium.
  • machine-readable storage media examples include one or more wire-based electrical connections, laptop disks, hard drives, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), or flash memory ), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the systems and techniques described herein may be implemented on an electronic device having a display device (e.g., a cathode ray tube (CRT) or liquid crystal) configured to display information to a user.
  • a display device e.g., a cathode ray tube (CRT) or liquid crystal
  • a display Liquid Crystal Display, LCD monitor
  • a keyboard and pointing device e.g., a mouse or a trackball
  • Other kinds of devices may also be configured to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and may be provided in any form, including Acoustic input, voice input or tactile input) to receive input from the user.
  • the systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., A user's computer having a graphical user interface or web browser through which the user can interact with implementations of the systems and technologies described herein), or including such backend components, middleware components, or front end any combination of components in a computing system.
  • the components of the system may be interconnected by any form or medium of digital data communication (eg, a communications network). Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN), blockchain network, and the Internet.
  • Computing systems may include clients and servers.
  • Clients and servers are generally remote from each other and typically interact over a communications network.
  • the relationship of client and server is created by computer programs running on corresponding computers and having a client-server relationship with each other.
  • the server can be a cloud server, also known as cloud computing server or cloud host. It is a host product in the cloud computing service system to solve the problems that exist in traditional physical host and virtual private server (VPS) services. It has the disadvantages of difficult management and weak business scalability.
  • VPN virtual private server
  • Steps can be reordered, added, or removed using various forms of the process shown above.
  • multiple steps described in this application can be executed in parallel, sequentially, or in different orders.
  • the desired results of the technical solution of this application can be achieved, there is no limitation here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

本申请提供了一种数字内容处理方法、装置、电子设备、存储介质及产品。所述数字内容处理方法包括:获取一次处理步骤的定义以及一次处理过程的定义;根据获取的定义对数字内容处理过程进行分解编排;根据分解编排后的数字内容处理过程,对数字内容进行处理;其中,所述分解编排包括将至少一个一次处理过程中的多个相同的一次处理步骤归并为一个处理节点。

Description

数字内容处理方法、装置、电子设备、存储介质及产品
本申请要求在2022年03月15日提交中国专利局、申请号为202210251048.4的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,例如涉及数字内容处理方法、装置、电子设备、存储介质及产品。
背景技术
随着海量数据的不断产生并日益成为重要的生产资源,数字内容处理也变得极为重要。数字内容处理是指将文字、图像、音频、视频、数据等数字内容运用数字化技术进行制作、标注、分类、提炼、审核、分析、整理、计算、编辑以及加工等相关处理得到最终输出结果的过程。
数字内容处理的技术是对数字内容按照预设的顺序步骤及参数进行处理,并将得到的结果作为下一个步骤的数字内容,通过一系列的步骤得到最终输出结果。
相关技术一般依据业务需求对同一数字内容处理得到不同结果时,构建不同的处理技术和参数,构成处理链达到处理目的。在该过程中会存在多个重复步骤,重复步骤的存在会导致处理时间的增加以及处理资源的浪费。
发明内容
本申请提供了一种数字内容处理方法、装置、电子设备、存储介质及产品,以解决相关技术中存在的步骤重复问题。
根据本申请的一方面,提供了一种数字内容处理方法,包括:
获取一次处理步骤的定义以及一次处理过程的定义;
根据获取的定义对数字内容处理过程进行分解编排;
根据分解编排后的数字内容处理过程,对数字内容进行处理;
其中,所述分解编排包括将至少一个一次处理过程中的多个相同的一次处理步骤归并为一个处理节点。
根据本申请的另一方面,提供了一种数字内容处理装置,包括:
获取模块,设置为获取一次处理步骤的定义以及一次处理过程的定义;
分解编排模块,设置为根据获取的定义对数字内容处理过程进行分解编排;
处理模块,设置为根据分解编排后的数字内容处理过程,对数字内容进行处理;
其中,所述分解编排包括将至少一个一次处理过程中的多个相同的一次处理步骤归并为一个处理节点。
根据本申请的另一方面,提供了一种电子设备,所述电子设备包括:至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的数字内容处理方法
根据本申请的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现上述的数字内容处理方法。
根据本申请的另一方面,提供了一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序,所述计算机程序在被处理器执行时实现上述的数字内容处理方法。
附图说明
图1为本申请实施例一所提供的一种数字内容处理方法的流程示意图;
图2为本申请实施例一所提供的一种数字内容处理方法中的一次处理步骤示意图;
图3为本申请实施例一所提供的一种数字内容处理方法中的一次处理过程示意图;
图4为本申请实施例一所提供的一种数字内容处理过程分解编排示意图;
图5为本申请实施例二所提供的一种数字内容处理方法的流程示意图;
图6为本申请实施例二所提供的一种数字内容缓存和数字内容读取的流程示意图;
图7为本申请实施例三所提供的一种数字内容处理方法的流程示意图;
图8为本申请实施例三所提供的一种数字指纹树的结构示意图;
图9为本申请实施例四所提供的一种数字内容处理装置的结构示意图;
图10为本申请实施例五所提供的一种电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,所描述的实施例仅仅是本申请一部分的实施例。本申请的方法实施方式中记载的多个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
本申请中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有指出,否则应该理解为“一个或多个”。
本申请实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
实施例一
图1为本申请实施例一所提供的一种数字内容处理方法的流程示意图,该方法可适用于对数字内容通过多个步骤重复处理的情况,该方法可以由数字内容处理装置来执行,其中该装置可由软件和/或硬件实现,并一般集成在电子设备上,在本实施例中电子设备包括但不限于:计算机设备。
如图1所示,本申请实施例一提供的一种数字内容处理方法,包括如下步骤:
S110、获取一次处理步骤的定义以及一次处理过程的定义。
在本实施例中,不限于通过何种方式获取一次处理步骤的定义以及一次处 理过程的定义。一种可行的方式为通过计算机编程对一次处理步骤和一次处理过程进行定义,将定义好的一次处理过程和一次处理步骤进行存储,在对数字内容进行处理时,从存储中直接获取一次处理步骤的定义和一次处理过程的定义。
一次处理步骤的定义为将一个数字内容作为输入,根据一个处理方法和处理参数生成另一个数字内容后输出,所述一次处理过程的定义为一个数字内容依次经过至少一个一次处理步骤得到输出数字内容。
数字内容可以包括文字、图像、音频、视频以及数据等。
处理参数为处理方法对应的处理参数,即处理方法确定后处理参数是确定的。在一个实施例中,可以将一个处理方法和处理参数作为一个转换方法。一次处理步骤对于确定的输入和转换方法具有唯一确定的输出。
图2为本申请实施例一所提供的一种数字内容处理方法中的一次处理步骤示意图,如图2所示,输入数字内容I,通过处理方法F和可选的处理参数P对输入数字内容I进行处理得到输出数字内容O。
一次处理过程可以包括多个一次处理步骤,图3为本申请实施例一所提供的一种数字内容处理方法中的一次处理过程示意图,如图3所示,原始数字内容经过处理步骤a、处理步骤b以及处理步骤c得到输出数字内容,其中,处理步骤a、处理步骤b以及处理步骤c分别为一次处理步骤,可以为相同的一次处理步骤也可以为不同的一次处理步骤。
S120、根据获取的定义对数字内容处理过程进行分解编排。
分解编排是对计算机系统、应用及服务的自动化配置、管理和协调。通过编排使计算机能根据条件,按预设的流程完成特定的计算任务。
在本实施例中,分解编排的过程可以包括:根据一次处理过程的定义以及一次处理步骤的定义将数字内容处理过程编排为至少一个一次处理过程以及至少一个一次处理步骤,并将相同的一次处理步骤归并为一个处理节点,作为所有处理过程共享的处理步骤。
所述根据获取的定义对数字内容处理过程进行分解编排,包括:根据获取的定义将数字内容处理过程编排为至少一个一次处理过程;将所述一次处理过程分解为至少一个一次处理步骤;将多个相同的一次处理步骤归并为一个处理节点。
将多个相同的一次处理步骤归并为一个处理节点包括:将多个一次处理过程中的多个相同的一次处理步骤归并为一个处理节点;将一个处理过程中的多个相同的一次处理步骤归并为一个处理节点。
图4为本申请实施例一所提供的一种数字内容处理过程分解编排示意图,如图4所示,处理过程A、处理过程B以及处理过程C都为一次处理过程,处理步骤a到处理步骤f都为一次处理步骤。在处理过程A中,原始数字内容即输入数字内容依次经过处理步骤a、处理步骤b以及处理步骤f的处理;在处理过程B中,原始数字内容依次经过处理步骤a、处理步骤c以及处理步骤e;在处理过程C中,原始数字内容依次经过处理步骤d和处理步骤e。其中,处理步骤a可以为前序共用步骤即一个处理节点,由处理过程A和处理过程B共用;处理步骤e可以为后序共用步骤即一个处理节点,由处理过程B和处理过程C共用。
S130、根据分解编排后的数字内容处理过程,对数字内容进行处理。
在本实施例中,将数字内容处理过程进行分解编排后可以形成至少一个一次处理过程,在一个一次处理过程中,可以依次通过多个不同的一次处理步骤对输入的数字内容进行处理。不同的处理过程之间可以共用一个处理节点,通过一个处理节点可以对多个一次处理过程中的相同步骤进行处理。当该相同步骤对应的输入的数字内容相同,且处理参数相同时,只需在该处理节点输入一次数字内容,对输入的数字内容进行一次处理即可;当该相同步骤对应的输入的数字内容不同,或处理参数不同时,该相同步骤均在该处理节点进行处理,可以输出不同的处理结果。
示例性的,如图4所示,图4展示了分解编排后的数字内容处理过程,按照图4中的处理流程对数字内容进行处理。
本申请实施例一提供的一种数字内容处理方法,首先获取一次处理步骤的定义以及一次处理过程的定义;然后根据获取的定义对数字内容处理过程进行分解编排;最终根据分解编排后的数字内容处理过程,对数字内容进行处理;其中,所述分解编排包括将至少一个一次处理过程中的多个相同的一次处理步骤归并为一个处理节点。上述方法通过将数字内容处理过程分解编排为多个一次处理过程,并通过分解编排后得到的处理节点对多个一次处理过程中的多个相同处理步骤进行一次处理,可以有效减少重复步骤的使用,缩短处理时间和减少处理资源。解决了相同处理步骤重复处理的问题,取到了有效减少重复步骤的使用,缩短处理时间和减少处理资源的有益效果。
在上述实施例的基础上,提供一种数字内容处理方法的示例实施例,该实施例适用于综合使用场景,实现一次数字内容输入,多个处理过程同步进行,以减少重复处理。
示例性的,针对日常工作中对输入的数字内容统一进行写入处理的场景,比如文档管理系统对用户上传的文件依次进行杀毒、非法内容检测、内容摘要、标签提取以及内容图片识别等处理步骤。可以依据一次处理步骤的定义以及一 次处理过程的定义将上述过程进行分解编排,将文件输入后即可按照分解编排后得到的数字内容处理流程对数字内容进行处理,通过多个一次处理节点完成相同步骤的一次处理。
实施例二
图5为本申请实施例二所提供的一种数字内容处理方法的流程示意图,本实施例二在上述实施例的基础上进行说明。在上述实施例的基础上,包括:在对数字内容进行处理的过程中,计算每个一次处理步骤对应的数字指纹,根据所述每个一次处理步骤对应的数字指纹进行输出数字内容缓存或输出数字内容读取。本实施例尚未详尽的内容请参考实施例一。
如图5所示,本申请实施例二提供的一种数字内容处理方法,包括如下步骤:
S210、获取一次处理步骤的定义以及一次处理过程的定义。
S220、根据获取的定义对数字内容处理过程进行分解编排。
S230、根据分解编排后的数字内容处理过程,对数字内容进行处理。
S240、在对数字内容进行处理的过程中,计算每个一次处理步骤对应的数字指纹,根据所述每个一次处理步骤对应的数字指纹进行输出数字内容缓存或输出数字内容读取。
在本实施例中,通过计算每个一次处理步骤对应的数字指纹,可以根据缓存的数字指纹直接获取对应的输出数字内容,将获取的输出数字内容作为后续一次处理步骤的输入。
数字指纹识别是使用截断的信息来识别大型数据文件或结构。数字指纹识别算法是一种将较大的数据集缩减为非常小的数据集的算法,以促进有效的识别和搜索协议。一种常见的指纹算法称为哈希函数,这些函数将较大的数据集更改为较短的数据集,这些经过修改的数据有助于使搜索技术更加敏捷。
所述数字指纹包括第一数字指纹和第二数字指纹,所述第一数字指纹根据一次处理步骤中输入的数字内容得到,所述第二数字指纹根据一次处理步骤中的处理方法和处理参数得到。
在本实施例中,每个一次处理步骤都具有与其对应的数字指纹,由于一个一次处理步骤包括该步骤对应的输入的数字内容以及处理方法和处理参数,因此,数字指纹可以包括第一数字指纹和第二数字指纹,第一数字指纹可以为输入的数字内容对应的数字指纹,第二数字指纹可以为处理方法和处理参数对应的数字指纹。
示例性的,在将输入的数字内容输入一个一次处理步骤时,对输入的数字内容进行哈希计算可以得到第一数字指纹cp(n-1),对该一次处理步骤对应的处理方法和处理参数进行哈希计算得到第二数字指纹fp(n)。其中,n表示处理步骤的步骤计数,根据第一数字指纹以及第二数字指纹中的n可知该数字指纹对应第几处理步骤,根据第一数字指纹以及第二数字指纹可以获取该处理步骤对应的输出数字内容。
根据所述每个一次处理步骤对应的数字指纹进行输出数字内容缓存或输出数字内容读取,包括:在执行当前的一次处理步骤时,确定存储设备中是否包括所述当前的一次处理步骤对应的数字指纹所对应的输出数字内容;响应于所述存储设备中包括所述当前的一次处理步骤对应的数字指纹所对应的输出数字内容,则从所述存储设备中读取所述输出数字内容,将所述输出数字内容作为所述一次处理步骤的输出结果;响应于所述存储设备中不包括所述当前的一次处理步骤对应的数字指纹所对应的输出数字内容,则使用所述当前的一次处理步骤中使用的处理方法和处理参数对待进行处理的数字内容进行处理,将处理后得到的输出结果进行数字指纹标记后,缓存至所述存储设备。
示例性的,图6为本申请实施例二所提供的一种数字内容缓存和数字内容读取的流程示意图,如图6所示,将输入数字内容输入到一个一次处理步骤时,计算输入的数字内容的数字指纹cp(n-1)即第一数字指纹;计算处理方法和处理参数的数字指纹fp(n)即第二数字指纹;查询存储设备中是否存在cp(n-1)和fp(n)标记的输出数字内容,若存储设备中存在cp(n-1)和fp(n)标记的输出数字内容,则从存储设备中获取对应的输出数字内容作为一次处理步骤的输出结果;若存储设备中不存在cp(n-1)和fp(n)标记的输出数字内容,则使用一次处理步骤对应的处理方法和处理参数对输入的数字内容进行处理,得到处理结果即输出数字内容,使用cp(n-1)和fp(n)对处理结果进行标记,并将标记后的处理结果缓存至存储设备。
本申请实施例二提供的一种数字内容处理方法,根据数字指纹进行输出数字内容缓存或输出数字内容读取的过程。利用该方法,能够根据数字指纹快速确定每个一次处理步骤对应的输出结果,无需再次消耗计算资源进行处理。
在本申请实施例二的基础上,提供了一种示例实施例,该示例实施例适用于相同企业信息处理的场景,例如在发票识别中根据识别的纳税人识别号获得企业信息的处理过程,可以包含如下处理步骤:
步骤1、识别发票得到购买方纳税人的识别号。
步骤2、根据购买方纳税人的识别号进行查询,获得购买方纳税人信息。
步骤3、识别发票得到销售方纳税人的识别号。
步骤4、根据销售方纳税人的识别号进行查询,获得购买方销售人信息。
在上述过程中,可以将对发票a的识别作为一次处理流程,可以将步骤2作为一个一次处理步骤,将识别发票a得到的购买方纳税人ab的识别号作为输入的数字内容,根据步骤2中的购买方纳税人ab的识别号计算得到第一数字指纹cpab1;根据步骤2中的查询方法和查询参数计算得到第二数字指纹fp2;使用cpab1和fp2标记步骤2的输出结果即购买方纳税人信息,并将标记后的输出结果缓存在存储设备中。在上述过程中,可以将步骤4作为一个一次处理步骤,将识别发票a得到的销售方纳税人as的识别号作为输入的数字内容,根据步骤4中的销售方纳税人as的识别号计算得到第一数字指纹cpas1;根据步骤4中的查询方法和查询参数计算得到第二数字指纹fp2;使用cpas1和fp2标记步骤4的输出结果即销售方纳税人信息,并将标记后的输出结果缓存在存储设备中。
在上述过程中,可以将对发票b的识别作为一次处理流程,将识别发票b得到的购买方纳税人bb的识别号作为输入的数字内容,根据步骤2中的购买方纳税人bb的识别号计算得到第一数字指纹cpbb1;将识别发票b得到的销售方纳税人bs的识别号作为输入的数字内容,根据步骤4中的销售方纳税人bs的识别号计算得到第一数字指纹cpbs1;若cpbb1和cpab1相等,则可以从存储设备中直接获取cpab1对应的输出内容,若cpbb1和cpab1不相等,则执行步骤2进行查询,使用cpbb1和fp2对查询结果进行标记,并将标记后的查询结果进行缓存;若cpbs1和cpas1相等,则可以从存储设备中直接获取cpbs1对应的输出内容,若cpbs1和cpas1不相等,则执行步骤4进行查询,使用cpbs1和fp2对查询结果进行标记,并将标记后的查询结果进行缓存。
实施例三
图7为本申请实施例三所提供的一种数字内容处理方法的流程示意图,本实施例三在上述实施例的基础上进行说明。在上述实施例的基础上,包括:基于每个一次处理步骤对应的数字指纹构建数字指纹树;基于所述数字指纹树确定目标一次处理步骤对应的目标数字指纹;从存储设备中读取所述目标数字指纹对应的目标输出数字内容;将所述目标输出数字内容作为所述目标一次处理步骤的输入。本实施例尚未详尽的内容请参考实施例一和实施例二。
如图7所示,本申请实施例三提供的一种数字内容处理方法,包括如下步骤:
S310、获取一次处理步骤的定义以及一次处理过程的定义。
S320、根据获取的定义对数字内容处理过程进行分解编排。
S330、根据分解编排后的数字内容处理过程,对数字内容进行处理。
S340、在对数字内容进行处理的过程中,计算每个一次处理步骤对应的数字指纹。
S350、基于原始数字内容对应的第一数字指纹以及每个一次处理步骤对应的第二数字指纹构建数字指纹树。
原始数字内容为未经过任何一个一次处理步骤处理的数字内容。
在本实施例中,可以基于多个处理步骤之间的关联顺序,构建数字指纹之间的顺序关系,形成树形结构的数字指纹树。
基于原始数字内容对应的第一数字指纹以及每个一次处理步骤对应的第二数字指纹构建数字指纹树包括:将原始数字内容对应的第一数字指纹作为所述数字指纹树的根节点;将每个一次处理过程中的步骤序号为1的一次处理步骤对应的第二数字指纹作为所述根节点的第一层叶子节点;将每个一次处理过程中的步骤序号不为1的一次处理步骤对应的第二数字指纹作为所述根节点的除所述第一层叶子节点外的叶子节点;根据每个一次处理步骤对应的第一数字指纹以及第二数字指纹建立所述每个一次处理步骤的输出结果与所述每个一次处理步骤的对应层叶子节点的关联。
示例性的,图8为本申请实施例三所提供的一种数字指纹树的结构示意图,如图8所示,原始数字内容对应的第一数字指纹cp0作为数字指纹树的根节点;一次处理步骤a的第二数字指纹fpa(1)作为数字指纹树的第一层叶子节点,并与cp0+fpa(1)标记的一次处理步骤a的输出结果建立关联,一次处理步骤b的第二数字指纹fpb(1)作为数字指纹树的第一层叶子节点,并与cp0+fpb(1)标记的一次处理步骤b的输出结果建立关联,一次处理步骤x的第二数字指纹fpx(1)作为数字指纹树的第一层叶子节点,并与cp0+fpx(1)标记的一次处理步骤x的输出结果建立关联;一次处理步骤c的第二数字指纹fpc(2)作为数字指纹树的第二层叶子节点,并与cpb(1)+fpc(2)标记的一次处理步骤c的输出结果建立关联,一次处理步骤d的第二数字指纹fpd(2)作为数字指纹树的第二层叶子节点,并与cpb(1)+fpd(2)标记的一次处理步骤d的输出结果建立关联;按照上述流程建立每层叶子节点。
S360、基于所述数字指纹树确定目标一次处理步骤对应的目标数字指纹。
目标一次处理步骤是待确认其输入的处理步骤。例如,目标一次处理步骤是在中断发生的情况下,发生中断的处理步骤的后续处理步骤。目标一次处理步骤可以为数字内容处理过程中的相同处理步骤,也可以为数字内容处理过程中的其他处理步骤。
在一个实施例中,处理同一原始数字内容时,可以计算出每个一次处理步 骤的第二数字指纹fp,在数字指纹树中进行比对,从根节点出发,得到与fp一直匹配的路径终点。
基于所述数字指纹树确定目标一次处理步骤对应的目标数字指纹,包括:获取目标一次处理步骤之前的所有一次处理步骤对应的所有数字指纹;根据所述所有数字指纹确定匹配路径;根据所述匹配路径在所述数字指纹树中进行匹配,将在所述数字指纹树中匹配成功的路径终点对应的一次处理步骤作为中断处理步骤;将该中断处理步骤的数字指纹作为目标数字指纹。其中,该中断处理步骤是目标一次处理步骤之前的处理步骤,例如,可以是发生中断的处理步骤。
S370、获取所述目标数字指纹对应的目标输出数字内容。
在本实施例中,由于在构建数字指纹树的过程中建立了每个一次处理步骤的输出结果与对应层叶子节点的关联关系,因此,可以直接根据关联关系获取目标数字指纹对应的目标输出数字内容。
S380、将所述目标输出数字内容作为所述目标一次处理步骤的输入。
本申请实施例三中提供的数字指纹树还可以用于数字处理过程中断的情况。相关技术中,当数字处理过程中断后需要全部重新处理,而本方案可以通过数字指纹树定位中断的一次处理步骤,直接获取该一次处理步骤的输出结果作为后续一次处理步骤的输入,即在发生中断时,无需全部重新处理,从中断后的步骤继续处理即可。
在处理中断时,根据所述数字指纹树定位数字内容中断的一次处理步骤的输出结果,以根据所述数字内容中断的一次处理步骤的输出结果进行后续处理。
根据所述数字指纹树定位数字内容中断的一次处理步骤的输出结果,包括:将数字内容中断后的一次处理步骤之前的所有一次处理步骤对应的第二数字指纹进行组合,形成匹配路径;根据所述匹配路径在所述数字指纹树中进行匹配;将在所述数字指纹树中匹配得到的路径终点对应的一次处理步骤对应的输出结果作为数字内容中断的一次处理步骤的输出结果。
本申请实施例三提供的一种数字内容处理方法,对于需要多次进行处理的数字内容,通过构建数字指纹树,可以快速得到处理结果,减少重复步骤处理;在数字内容处理过程中断时,可以通过数字指纹树快速定位中断位置,直接获取中断处的输出结果。
在本申请实施例三的基础上提供几种示例性的实施例,作为一种实施方式,针对图片进行多种目标识别的场景,业务要求对图片进行不同目标的识别,比如文字和物体对象,不同目标的识别过程不同且包含多个步骤,其中相同的处 理步骤是图像分割二值化,可以将图像分割二值化步骤作为一个处理节点,供多个一次处理过程使用。在进行图片处理的过程中,记录原始图片的数字指纹cp0,指向存储中的原始文档内容;记录图片二值化处理步骤的第二数字指纹fpla;构建数字指纹树cp0->fp1a,建立数字指纹与图片二值化处理步骤的输出结果的关联;将二值化结果作为文字识别步骤的输入得到输出结果;将二值化结果作为物体对象识别步骤的输入得到输出结果。在对图像进行其他目标识别的处理过程中,由于第一处理步骤也是二值化处理步骤,因此可以直接根据数字指纹树得到二值化处理步骤的输出,直接使用输出结果。
作为另一种实施方式,针对为不同用户生成带水印的便携文件格式(Portable Document Format,PDF)文档的场景。日常工作常用的office格式文档需要在线查看时,通常会使用生成PDF格式文档来实现,同时企业出于信息安全考虑,会为不同用户加上含有个人信息的水印。这个数字内容处理过程包含两个步骤:
步骤1、将office格式文档生成PDF格式文档。
步骤2、PDF格式文档加入不同的水印内容生成最终的结果文档。
在上述处理过程中,不同用户获得的最终输出结果不同,但步骤1得到输出结果是一致的,因此可以构建数字指纹树,过程如下:
记录原始office文档的第一数字指纹为cp0,指向存储中的原始文档内容;记录office文档生成PDF格式文档步骤的第二数字指纹fp1a;为第一个用户a生成带水印文档时,记录上述步骤1中得到的PDF格式文档步骤的第一数字指纹cp1a;构建数字指纹树cp0->fp1a,标记缓存cp1a;记录PDF格式文档加入用户a水印步骤的第二数字指纹fp2a;第一个用户a再次请求生成带水印文档时,由于其两个步骤的第二指纹与cp0->fp1a->fp2a路径一致,故直接返回cp2a标记的输出结果作为最终结果无需再处理。
为第二个用户b生成带水印文档时,获得office文档生成PDF格式文档步骤的第二数字指纹fp1b;由于fp1a和fp1b相同,所以直接获取cp1a标记的输出结果,无需再进行步骤1处理。获得PDF格式文档加入用户b水印步骤的第二数字指纹fp2b,由于fp2a和fp2b不相同,需要重新使用步骤2进行加水印处理,并记录得到的最终文档的数字指纹cp2b;构建数字指纹树fp1->fp2b,标记缓存cp2b。其他用户的水印文档生成过程可参照上述过程,此处不做赘述。
实施例四
图9为本申请实施例四所提供的一种数字内容处理装置的结构示意图,该装置可适用于对数字内容通过多个步骤重复处理的情况,其中该装置可由软件和/ 或硬件实现,并一般集成在电子设备上。
如图9所示,该装置包括:获取模块110、分解编排模块120以及处理模块130。
获取模块110,设置为获取一次处理步骤的定义以及一次处理过程的定义;分解编排模块120,设置为根据获取的定义对数字内容处理过程进行分解编排;处理模块130,设置为根据分解编排后的数字内容处理过程,对数字内容进行处理;其中,分解编排包括将至少一个一次处理过程中的多个相同的一次处理步骤归并为一个处理节点。
在本实施例中,该装置首先通过获取模块110获取一次处理步骤的定义以及一次处理过程的定义;其次通过分解编排模块120根据获取的定义对数字内容处理过程进行分解编排;最后通过处理模块130根据分解编排后的数字内容处理过程,对数字内容进行处理;其中,分解编排包括将至少一个一次处理过程中的多个相同的一次处理步骤归并为一个处理节点。
本实施例提供了一种数字内容处理装置,能够有效减少重复步骤的使用,缩短处理时间和处理资源。
一实施例中,所述一次处理步骤的定义为将一个数字内容作为输入,根据一个处理方法和处理参数生成另一个数字内容后输出,所述一次处理过程的定义为一个数字内容依次经过至少一个一次处理步骤得到输出数字内容。
一实施例中,分解编排模块120设置为:根据获取的定义将数字内容处理过程编排为至少一个一次处理过程;将所述一次处理过程分解为至少一个一次处理步骤;将多个相同的一次处理步骤归并为一个处理节点。
基于上述技术方案,该装置还包括数字指纹计算模块,数字指纹计算模块设置为在对数字内容进行处理的过程中,计算每个一次处理步骤对应的数字指纹,根据所述每个一次处理步骤对应的数字指纹进行输出数字内容缓存或输出数字内容读取。
一实施例中,所述数字指纹包括第一数字指纹和第二数字指纹,所述第一数字指纹根据一次处理步骤中输入的数字内容得到,所述第二数字指纹根据一次处理步骤中的处理方法和处理参数得到。
一实施例中,数字指纹计算模块设置为:在执行当前的一次处理步骤时,确定存储设备中是否包括所述当前的一次处理步骤对应的数字指纹所对应的输出数字内容;响应于所述存储设备中包括所述当前的一次处理步骤对应的数字指纹所对应的输出数字内容,则从所述存储设备中读取所述输出数字内容,将所述输出数字内容作为所述一次处理步骤的输出结果;响应于所述存储设备中不包括所述当前的一次处理步骤对应的数字指纹所对应的输出数字内容,则使 用所述当前的一次处理步骤中使用的处理方法和处理参数对待进行处理的数字内容进行处理,将处理后得到的输出结果进行数字指纹标记后,缓存至所述存储设备。
一实施例中,该装置还包括数字指纹树模块,数字指纹树模块设置为基于原始数字内容对应的第一数字指纹以及每个一次处理步骤对应的第二数字指纹构建数字指纹树,所述原始数字内容为未经过任何一个一次处理步骤处理的数字内容;基于所述数字指纹树确定目标一次处理步骤对应的目标数字指纹;获取所述目标数字指纹对应的目标输出数字内容;将所述目标输出数字内容作为所述目标一次处理步骤的输入。
数字指纹树模块设置为通过以下方式基于每个一次处理步骤对应的数字指纹构建数字指纹树:将原始数字内容对应的第一数字指纹作为所述数字指纹树的根节点;将每个一次处理过程中的步骤序号为1的一次处理步骤对应的第二数字指纹作为所述根节点的第一层叶子节点;将每个一次处理过程中的步骤序号不为1的一次处理步骤对应的第二数字指纹作为所述根节点的除所述第一层叶子节点外的叶子节点;根据每个一次处理步骤对应的第一数字指纹以及第二数字指纹建立每个一次处理步骤的输出结果与所述每个一次处理步骤的对应层叶子节点的关联。
数字指纹树模块设置为通过以下方式基于所述数字指纹树确定目标一次处理步骤对应的目标数字指纹:获取目标一次处理步骤之前的所有一次处理步骤对应的所有数字指纹;根据所述所有数字指纹确定匹配路径;根据所述匹配路径在所述数字指纹树中进行匹配,将在所述数字指纹树中匹配成功的路径终点对应的一次处理步骤作为中断处理步骤;将所述中断处理步骤的数字指纹作为所述目标数字指纹。
上述数字内容处理装置可执行本申请任意实施例所提供的数字内容处理方法,具备执行方法相应的功能模块和效果。
实施例五
图10示出了可以用来实施本申请的实施例的电子设备10的结构示意图。电子设备10旨在表示多种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备10还可以表示多种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备(如头盔、眼镜、手表等)和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例, 并且不意在限制本文中描述的和/或者要求的本申请的实现。
如图10所示,电子设备10包括至少一个处理器11,以及与至少一个处理器11通信连接的存储器,如只读存储器(Read-Only Memory,ROM)12、随机访问存储器(Random Access Memory,RAM)13等,其中,存储器存储有可被至少一个处理器执行的计算机程序,处理器11可以根据存储在ROM 12中的计算机程序或者从存储单元18加载到RAM 13中的计算机程序,来执行多种适当的动作和处理。在RAM 13中,还可存储电子设备10操作所需的多种程序和数据。处理器11、ROM 12以及RAM 13通过总线14彼此相连。输入/输出(Input/Output,I/O)接口15也连接至总线14。
电子设备10中的多个部件连接至I/O接口15,包括:输入单元16,例如键盘、鼠标等;输出单元17,例如多种类型的显示器、扬声器等;存储单元18,例如磁盘、光盘等;以及通信单元19,例如网卡、调制解调器、无线通信收发机等。通信单元19允许电子设备10通过诸如因特网的计算机网络和/或多种电信网络与其他设备交换信息/数据。
处理器11可以是多种具有处理和计算能力的通用和/或专用处理组件。处理器11的一些示例包括但不限于中央处理单元(Central Processing Unit,CPU)、图形处理单元(Graphics Processing Unit,GPU)、多种专用的人工智能(Artificial Intelligence,AI)计算芯片、多种运行机器学习模型算法的处理器、数字信号处理器(Digital Signal Processing,DSP)、以及任何适当的处理器、控制器、微控制器等。处理器11执行上文所描述的多个方法和处理,例如数字内容处理方法。
在一些实施例中,数字内容处理方法可被实现为计算机程序,其被有形地包含于计算机可读存储介质,例如存储单元18。在一些实施例中,计算机程序的部分或者全部可以经由ROM 12和/或通信单元19而被载入和/或安装到电子设备10上。当计算机程序加载到RAM 13并由处理器11执行时,可以执行上文描述的数字内容处理方法中的一个或多个步骤。备选地,在其他实施例中,处理器11可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行数字内容处理方法。
本文中以上描述的系统和技术的多种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、芯片上系统的系统(System on Chip,SOC)、负载可编程逻辑设备(Complex Programming logic device,CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些多种实施方式可以包 括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。
用于实施本申请的方法的计算机程序可以采用一个或多个编程语言的任何组合来编写。这些计算机程序可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器,使得计算机程序当由处理器执行时使流程图和/或框图中所规定的功能/操作被实施。计算机程序可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。
在本申请的上下文中,计算机可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的计算机程序。计算机可读存储介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。备选地,计算机可读存储介质可以是机器可读信号介质。机器可读存储介质的示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
为了提供与用户的交互,可以在电子设备上实施此处描述的系统和技术,该电子设备具有:设置为向用户显示信息的显示装置(例如,阴极射线管(Cathode Ray Tube,CRT)或者液晶显示器(Liquid Crystal Display,LCD)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给电子设备。其它种类的装置还可以设置为提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部 件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(Local Area Network,LAN)、广域网(Wide Area Network,WAN)、区块链网络和互联网。
计算系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与虚拟专用服务器(Virtual Private Server,VPS)服务中,存在的管理难度大,业务扩展性弱的缺陷。
可以使用上面所示的多种形式的流程,重新排序、增加或删除步骤。例如,本申请中记载的多个步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请的技术方案所期望的结果,本文在此不进行限制。

Claims (13)

  1. 一种数字内容处理方法,包括:
    获取一次处理步骤的定义以及一次处理过程的定义;
    根据获取的定义对数字内容处理过程进行分解编排;
    根据分解编排后的数字内容处理过程,对数字内容进行处理;
    其中,所述分解编排包括将至少一个一次处理过程中的多个相同的一次处理步骤归并为一个处理节点。
  2. 根据权利要求1所述的方法,其中,所述一次处理步骤的定义为将一个数字内容作为输入,根据一个处理方法和处理参数生成另一个数字内容后输出,所述一次处理过程的定义为一个数字内容依次经过至少一个一次处理步骤得到输出数字内容。
  3. 根据权利要求2所述的方法,其中,所述根据获取的定义对数字内容处理过程进行分解编排,包括:
    根据所述获取的定义将所述数字内容处理过程编排为至少一个一次处理过程;
    将所述一次处理过程分解为至少一个一次处理步骤;
    将多个相同的一次处理步骤归并为一个处理节点。
  4. 根据权利要求1所述的方法,还包括:
    在对数字内容进行处理的过程中,计算每个一次处理步骤对应的数字指纹,根据所述每个一次处理步骤对应的数字指纹进行输出数字内容缓存或输出数字内容读取。
  5. 根据权利要求4所述的方法,其中,所述数字指纹包括第一数字指纹和第二数字指纹,所述第一数字指纹根据一次处理步骤中输入的数字内容得到,所述第二数字指纹根据一次处理步骤中的处理方法和处理参数得到。
  6. 根据权利要求4所述的方法,其中,所述根据所述每个一次处理步骤对应的数字指纹进行输出数字内容缓存或输出数字内容读取,包括:
    在执行当前的一次处理步骤的情况下,确定存储设备中是否包括所述当前的一次处理步骤对应的数字指纹所对应的输出数字内容;
    响应于所述存储设备中包括所述当前的一次处理步骤对应的数字指纹所对应的输出数字内容,从所述存储设备中读取所述输出数字内容,将所述输出数字内容作为所述一次处理步骤的输出结果;
    响应于所述存储设备中不包括所述当前的一次处理步骤对应的数字指纹所对应的输出数字内容,使用所述当前的一次处理步骤中使用的处理方法和处理参数对待进行处理的数字内容进行处理,将处理后得到的输出结果进行数字指纹标记后,缓存至所述存储设备。
  7. 根据权利要求4所述的方法,还包括:
    基于原始数字内容对应的第一数字指纹以及每个一次处理步骤对应的第二数字指纹构建数字指纹树,其中,所述原始数字内容为未经过一次处理步骤处理的数字内容;
    基于所述数字指纹树确定目标一次处理步骤对应的目标数字指纹;
    获取所述目标数字指纹对应的目标输出数字内容;
    将所述目标输出数字内容作为所述目标一次处理步骤的输入。
  8. 根据权利要求7所述的方法,其中,所述基于原始数字内容对应的第一数字指纹以及每个一次处理步骤对应的第二数字指纹构建数字指纹树,包括:
    将所述原始数字内容对应的第一数字指纹作为所述数字指纹树的根节点;
    将每个一次处理过程中的步骤序号为1的一次处理步骤对应的第二数字指纹作为所述根节点的第一层叶子节点;
    将每个一次处理过程中的步骤序号不为1的一次处理步骤对应的第二数字指纹作为所述根节点的除所述第一层叶子节点外的叶子节点;
    根据每个一次处理步骤对应的第一数字指纹以及第二数字指纹建立所述每个一次处理步骤的输出结果与所述每个一次处理步骤的对应层叶子节点的关联。
  9. 根据权利要求7所述的方法,其中,所述基于所述数字指纹树确定目标一次处理步骤对应的目标数字指纹,包括:
    获取所述目标一次处理步骤之前的所有一次处理步骤对应的所有数字指纹;
    根据所述所有数字指纹确定匹配路径;
    根据所述匹配路径在所述数字指纹树中进行匹配,将在所述数字指纹树中匹配成功的路径终点对应的一次处理步骤作为中断处理步骤;
    将所述中断处理步骤的数字指纹作为所述目标数字指纹。
  10. 一种数字内容处理装置,包括:
    获取模块,设置为获取一次处理步骤的定义以及一次处理过程的定义;
    分解编排模块,设置为根据获取的定义对数字内容处理过程进行分解编排;
    处理模块,设置为根据分解编排后的数字内容处理过程,对数字内容进行处理;
    其中,所述分解编排包括将至少一个一次处理过程中的多个相同的一次处理步骤归并为一个处理节点。
  11. 一种电子设备,包括:
    至少一个处理器;以及
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-9中任一项所述的数字内容处理方法。
  12. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现权利要求1-9中任一项所述的数字内容处理方法。
  13. 一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序在被处理器执行时实现根据权利要求1-9中任一项所述的数字内容处理方法。
PCT/CN2023/080256 2022-03-15 2023-03-08 数字内容处理方法、装置、电子设备、存储介质及产品 WO2023174119A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210251048.4 2022-03-15
CN202210251048.4A CN114610418A (zh) 2022-03-15 2022-03-15 数字内容处理方法、装置、电子设备、存储介质及产品

Publications (1)

Publication Number Publication Date
WO2023174119A1 true WO2023174119A1 (zh) 2023-09-21

Family

ID=81863633

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/080256 WO2023174119A1 (zh) 2022-03-15 2023-03-08 数字内容处理方法、装置、电子设备、存储介质及产品

Country Status (2)

Country Link
CN (1) CN114610418A (zh)
WO (1) WO2023174119A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610418A (zh) * 2022-03-15 2022-06-10 上海爱数信息技术股份有限公司 数字内容处理方法、装置、电子设备、存储介质及产品
CN115695432B (zh) * 2023-01-04 2023-04-07 河北华通科技股份有限公司 一种负载均衡方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739532A (zh) * 2008-11-26 2010-06-16 汤姆森许可贸易公司 根据工作流来处理数字内容的方法和系统
US20190347362A1 (en) * 2018-05-14 2019-11-14 International Business Machines Corporation Content-based management of links to resources
CN111598575A (zh) * 2020-05-19 2020-08-28 中国工商银行股份有限公司 业务流程控制方法、装置、电子设备和可读存储介质
CN112559301A (zh) * 2019-09-10 2021-03-26 网易(杭州)网络有限公司 业务处理方法、存储介质、处理器及电子装置
CN112685154A (zh) * 2020-12-25 2021-04-20 北京有竹居网络技术有限公司 任务流引擎的数据处理方法、任务流引擎、设备和介质
CN114610418A (zh) * 2022-03-15 2022-06-10 上海爱数信息技术股份有限公司 数字内容处理方法、装置、电子设备、存储介质及产品

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739532A (zh) * 2008-11-26 2010-06-16 汤姆森许可贸易公司 根据工作流来处理数字内容的方法和系统
US20190347362A1 (en) * 2018-05-14 2019-11-14 International Business Machines Corporation Content-based management of links to resources
CN112559301A (zh) * 2019-09-10 2021-03-26 网易(杭州)网络有限公司 业务处理方法、存储介质、处理器及电子装置
CN111598575A (zh) * 2020-05-19 2020-08-28 中国工商银行股份有限公司 业务流程控制方法、装置、电子设备和可读存储介质
CN112685154A (zh) * 2020-12-25 2021-04-20 北京有竹居网络技术有限公司 任务流引擎的数据处理方法、任务流引擎、设备和介质
CN114610418A (zh) * 2022-03-15 2022-06-10 上海爱数信息技术股份有限公司 数字内容处理方法、装置、电子设备、存储介质及产品

Also Published As

Publication number Publication date
CN114610418A (zh) 2022-06-10

Similar Documents

Publication Publication Date Title
WO2023174119A1 (zh) 数字内容处理方法、装置、电子设备、存储介质及产品
WO2019136993A1 (zh) 文本相似度计算方法、装置、计算机设备和存储介质
CN110929125B (zh) 搜索召回方法、装置、设备及其存储介质
WO2021175021A1 (zh) 产品推送方法、装置、计算机设备和存储介质
CN111651552B (zh) 结构化信息确定方法、装置和电子设备
WO2021136318A1 (zh) 一种面向数字人文的电子邮件历史事件轴生成方法及装置
WO2020233014A1 (zh) 消息发送方法、装置、计算机设备和存储介质
CN112559526A (zh) 数据表导出方法、装置、计算机设备及存储介质
CN112925954A (zh) 用于在图数据库中查询数据的方法和装置
US20220319143A1 (en) Implicit Coordinates and Local Neighborhood
CN114598597B (zh) 多源日志解析方法、装置、计算机设备及介质
US10482268B1 (en) Systems and methods for access management
CN112948467B (zh) 数据处理方法及装置、计算机设备和存储介质
CN111858467B (zh) 基于人工智能的文件数据处理方法、装置、设备和介质
US9785724B2 (en) Secondary queue for index process
US20230334238A1 (en) Augmented Natural Language Generation Platform
CN111984797A (zh) 客户身份识别装置及方法
CN112434506A (zh) 电子协议签订处理方法、装置、计算机设备及介质
CN112434062A (zh) 准实时数据处理方法、装置、服务器及存储介质
CN108985759B (zh) 一种加密货币的地址生成方法及系统、设备和存储介质
US11113259B2 (en) Method and system for analyzing unstructured data for compliance enforcement
CN113360672B (zh) 用于生成知识图谱的方法、装置、设备、介质和产品
CN112507725B (zh) 金融信息的静态发布方法、装置、设备及存储介质
Motohashi et al. Technological competitiveness of China's internet platformers: comparison of Google and Baidu by using patent text information
US20240169753A1 (en) Method and system for automated processing and continuous deployment of subpoena extraction model

Legal Events

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

Ref document number: 23769625

Country of ref document: EP

Kind code of ref document: A1