CN111488495A - Information processing method and device - Google Patents
Information processing method and device Download PDFInfo
- Publication number
- CN111488495A CN111488495A CN202010288938.3A CN202010288938A CN111488495A CN 111488495 A CN111488495 A CN 111488495A CN 202010288938 A CN202010288938 A CN 202010288938A CN 111488495 A CN111488495 A CN 111488495A
- Authority
- CN
- China
- Prior art keywords
- content
- processing
- node
- project
- nodes
- 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.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 32
- 238000003672 processing method Methods 0.000 title claims abstract description 24
- 238000012545 processing Methods 0.000 claims abstract description 170
- 238000000034 method Methods 0.000 claims abstract description 77
- 230000008569 process Effects 0.000 claims abstract description 48
- 230000006870 function Effects 0.000 claims description 16
- 230000001419 dependent effect Effects 0.000 claims description 6
- 125000002015 acyclic group Chemical group 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 16
- 238000004590 computer program Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000012552 review Methods 0.000 description 5
- 238000005111 flow chemistry technique Methods 0.000 description 4
- 238000012550 audit Methods 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9024—Graphs; Linked lists
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the disclosure provides an information processing method and equipment, wherein the method comprises the following steps: acquiring project content to be processed; processing the content of the project according to the dependency relationship of a preset node; wherein, the processing process of the project content at each target node is as follows: acquiring a content processing program bound by the target node from a content processing module according to the target node, and performing corresponding processing on the project content according to the content processing program bound by the target node, wherein the target node is any one of the preset nodes; and acquiring the project content processed by all the preset nodes, and sending the processed project content to a recommendation or search platform. Because the node dependency relationship is only needed to be configured according to the project, the content processing program of each node is not needed to be configured, the complexity of configuring the content processing program is saved, the operation is simple and convenient, and the processing efficiency is high.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to an information processing method and device.
Background
In the community platform, an author can write contents such as professional comments or manuals according to a certain product; or in the video platform, the creator can make short video and other contents by himself. Generally, the content such as articles or videos created by creators can be processed only through a few or dozens of processing procedures and then can be sent to a recommendation center or a search center, so that a user can find related content by pushing the recommendation or search of the center. The process nodes for processing the project contents can include duplication removal (including text duplication removal, picture duplication removal and video duplication removal), transcoding, auditing, title party auditing, hot text identification, plagiarism identification and the like.
At present, a method for processing a flow of the item content mainly defines a plurality of flows through a state machine, and breaks an overall flow into a DAG (Directed Acyclic Graph) (as shown in fig. 1), and for each node in the DAG Graph, a corresponding content processing program (such as a program for removing a duplicate, transcoding, auditing, examining a title party, identifying a hot text, identifying a copy attack, and the like) of the node needs to be configured.
However, the prior art has at least the following technical problems: when the state machine is set, because different types of projects generate different types of project contents, the required flows are different, and a corresponding content processing program needs to be configured at each node, the configuration of the state machine of the project content processing flow is complex and tedious, and the efficiency is low.
Disclosure of Invention
The embodiment of the disclosure provides an information processing method and device, so as to overcome the problems that in the prior art, a corresponding content processing program needs to be configured at each node, so that the configuration of a state machine of a project content processing flow is complex and tedious, and the efficiency is low.
In a first aspect, an embodiment of the present disclosure provides an information processing method, including:
acquiring project content to be processed;
processing the content of the project according to the dependency relationship of a preset node;
wherein, the processing process of the project content at each target node is as follows: acquiring a content processing program bound by the target node from a content processing module according to the target node, and performing corresponding processing on the project content according to the content processing program bound by the target node, wherein the target node is any one of the preset nodes;
and acquiring the project content processed by all the preset nodes, and sending the processed project content to a recommendation or search platform.
In a second aspect, an embodiment of the present disclosure provides an information processing apparatus, including:
the acquisition unit is used for acquiring the item content to be processed;
the processing unit is used for carrying out content processing on the project content according to the dependency relationship of the preset nodes; wherein, the processing process of the project content at each target node is as follows: acquiring a content processing program bound by the target node from a content processing module according to the target node, and performing corresponding processing on the project content according to the content processing program bound by the target node, wherein the target node is any one of the preset nodes;
and the sending unit is used for acquiring the project contents processed by all the preset nodes and sending the processed project contents to the recommendation or search platform.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory, causing the processor to perform the information processing method as described above in the first aspect and various possible designs of the first aspect.
In a fourth aspect, the embodiments of the present disclosure provide a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the information processing method according to the first aspect and various possible designs of the first aspect are implemented.
In the information processing method and device provided by the embodiment, in the process of content processing of project content according to the dependency relationship of preset nodes, a target node acquires a node-bound content processing program from a content processing module outside a process processing platform, and performs corresponding processing on the project content according to the target node-bound content processing program, only the node dependency relationship needs to be configured according to the project, the content processing program of each node does not need to be configured, the complexity of configuring the content processing program is reduced, the operation is simple and convenient, and the processing efficiency is high.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a diagram illustrating an example of information processing in the prior art;
fig. 2 is a schematic diagram of an information processing scenario provided by an embodiment of the present disclosure;
fig. 3 is a first schematic flow chart of an information processing method according to an embodiment of the present disclosure;
FIG. 4 is an example diagram of a directed acyclic graph provided by an embodiment of the present disclosure;
fig. 5 is a schematic flow chart of an information processing method according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating a processing procedure of a certain item content according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a main process node dependency relationship of a certain video project according to an embodiment of the present disclosure;
fig. 8 is a schematic view of a sub-process node dependency relationship of a certain video project according to an embodiment of the present disclosure;
fig. 9 is a block diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
First, terms to which the present disclosure relates will be explained.
A DAG graph: there is an Acyclic Graph, which is called direct Acyclic Graph throughout English. A directed acyclic graph refers to a loop-free directed graph. Assuming that there is a non-directed acyclic graph, and point A can go back to point A through point B and point C to form a ring, changing the edge direction from point C to point A from point A to point C, then changing to a directed acyclic graph.
A state machine: the process of an object from one state to another state through an event drive is called state transition, all the state transition processes of the object are called state machines, and each node in the state machines is provided with an event handler for the event drive transition.
In the internet platform, an author can write professional comments or manuals according to a certain product or can produce contents such as audio and video by himself. The original content created by the creator usually needs multiple processing procedures to complete the processing of the original content, and then can be searched or recommended by the consumer. The method for processing the original content flow mainly defines a plurality of flows through a state machine, however, when the state machine is set, because different types of items can generate different types of item contents, the required flows are different, and a corresponding content processing program needs to be set at each node, so that the problems of complex and tedious configuration and low efficiency of the existing item content processing flow are caused.
In order to solve the above technical problems in the prior art, the embodiments of the present disclosure provide the following solutions: the method has the advantages that the process nodes of project processing and the content processing process of the nodes are split, the dependency relationship of the process nodes can be preset through the process processing platform, the content processing program is automatically bound through the process nodes for processing when the project content is processed, the configuration of the content processing program is not required to be concerned, the configuration is simple, the operation is convenient, and the configuration efficiency can be improved.
Referring to fig. 2, fig. 2 is a schematic diagram of an information processing scenario provided in the embodiment of the present disclosure. The scene comprises the following steps: a configuration terminal 10, a process platform 20, a content processing module 30, a recommendation or search platform 40 and a consumer terminal 50. The original content may be sent by the terminal of the creator (not shown). The original content is firstly sent to a process processing platform to process each process. And when each node of the process processing processes the original content, processing the original content by calling a processing method in a content processing module of each node. And after all the processing is finished, sending the processed content to a recommendation or search platform. The consumer terminal consumes the original content by accessing the recommendation or search platform. The configuration terminal is used for configuring the dependency relationship of the nodes of the process in the process processing platform.
The configuration Terminal 10 and the consumer Terminal 50 may be Terminal devices, the process processing platform 20, the content processing module 30 and the recommendation or search platform 40 may be Terminal devices or servers, and the embodiments of the present disclosure are not limited thereto.
Referring to fig. 3, fig. 3 is a first schematic flow chart of an information processing method according to an embodiment of the present disclosure. The method of this embodiment can be applied to the flow processing platform in fig. 1, and the information processing method includes:
s201: and acquiring the content of the project to be processed.
In this embodiment, the item content to be processed may be acquired by receiving the item content directly transmitted by the terminal of the creator; the pre-stored project content may also be uploaded by the terminal of the creator by retrieving the pre-stored project content from a storage unit such as an access database.
In this embodiment, the item content may be one or more of text, picture, audio, and video. For example, the multimedia content can be a single article, picture, audio and video, or a plurality of combinations of the article, picture, audio and video.
For example, the author may write a professional comment or manual, etc. through the author's terminal, or may produce audio, video, etc. by himself.
The creator may write a text such as a comment or a manual on a terminal such as a mobile phone or a personal computer of the creator, or may make an audio through a terminal of a mobile phone or a recording device having a recording function, or take a picture through a mobile phone or a photographing device, or may take a video content through a mobile phone or a recording device.
S202: processing the content of the project according to the dependency relationship of the preset nodes; wherein, the processing process of the project content at each target node is as follows: and acquiring the content processing program bound by the target node from the content processing module according to the target node, and performing corresponding processing on the project content according to the content processing program bound by the target node, wherein the target node is any one of the preset nodes.
In this embodiment, the dependency relationship of the preset node may be a directed acyclic DAG graph in this embodiment. Correspondingly, the content processing is performed on the item content according to the dependency relationship of the preset nodes, that is, the content processing may be performed according to the node sequence of the directed acyclic graph.
The dependency relationship of the nodes will be described below by using a specific example. Referring to fig. 4, fig. 4 is an exemplary diagram of a directed acyclic graph provided by an embodiment of the present disclosure. In fig. 4, the front node of node b is a, the front nodes of node c are b and d, and so on. Only one node needs to be positioned, and all chain nodes taking the node as a front node are found to be the dependency of the node, for example, if a node a is given in fig. 4, the dependency node of a includes a, b, c, d, e, and the front-back sequence relationship formed by all the nodes is the dependency relationship of the node.
Specifically, the execution order of the processing of the item content by any node in the dependency relationship for the preset node is as follows: and if the dependent node of any current node finishes content processing, migrating the project content to the next node for content processing until the content processing of all nodes is finished. Referring to fig. 4, for node b, if the content processing of dependent nodes e, c, d and b of node b is completed, the node b migrates to node a to continue processing.
The content processing program bound by the target node can be obtained through the binding relationship between the node and the content processing program. The content processing program can be stored locally or accessed from the cloud.
S203: and acquiring the project content processed by all the preset nodes, and sending the processed project content to a recommendation or search platform.
In this embodiment, the processed item content is obtained from the item content processed by all the preset nodes according to the dependency relationship of the preset nodes. For example, the video content is subjected to node processing such as transcoding, model review, similar video review, topic review and the like, and the processed project content is obtained.
The processed item content may be sent to a recommendation or search platform via a wireless or wired network. The recommendation or search platform may be two separate platforms, namely a recommendation platform and a search platform; or a separate platform, incorporating the recommendation or search functionality. The recommendation or search platform may be a server or a cluster of multiple servers.
Consumers can access the recommendation or search platform by searching keywords or clicking links through the terminal to obtain the item content for consumption, and the consumption mode comprises reading articles, listening to broadcast or watching videos and the like.
As can be seen from the description of the above embodiment, in the process of content processing of the project content according to the dependency relationship of the preset node, the target node obtains the content processing program bound by the node from the content processing module outside the process processing platform, and performs corresponding processing on the project content according to the content processing program bound by the target node, only the node dependency relationship needs to be configured according to the project, the content processing program of each node does not need to be configured, the complexity of configuring the content processing program is reduced, the operation is simple and convenient, and the processing efficiency is high.
Referring to fig. 5, fig. 5 is a schematic flow chart of an information processing method according to an embodiment of the present disclosure. Referring to fig. 6, fig. 6 is a schematic diagram illustrating a processing procedure principle of a certain item content according to an embodiment of the present disclosure, and this embodiment describes in detail how to obtain a bound content processing program according to a node and perform a corresponding processing procedure on the item content, which is detailed as follows:
s301: and acquiring a target name identifier of the target node.
In this embodiment, each node is configured with a node name identifier, where the name identifier may be a serial number of the node or a name of the node.
As shown in FIG. 6, the numbering of the nodes is illustrated as "①, ②, ③", the names of the nodes are illustrated as "flow node A, flow node B", the project flow in FIG. 6 includes two branches, wherein the branch 1 includes a flow node A → a flow node B → a flow node C → a flow node D, and the branch 2 includes a flow node A1 → a flow node C1. A1 and C1 may be processing nodes related to the flow node A and the flow node C, or may be other nodes completely different from the flow node A and the flow node C.
S302: and inquiring the corresponding relation between the pre-stored node name identifier and the content processing program, and acquiring the content processing program corresponding to the target name identifier from the content processing module.
The content processing module is configured locally or configured in a cloud server.
In this embodiment, the pre-stored correspondence between the node name identifier and the content handler may be the correspondence between the node name identifier and the access address of the content handler, where the access address may be a file access directory or a network address UR L (Uniform Resource L locator).
Specifically, if the content processing module is configured locally, the content processing program corresponding to the target name identifier may be obtained by querying a correspondence between a pre-stored node name identifier and a file access directory, and then performing local search through the obtained file access directory.
If the content processing module is configured in the cloud, the corresponding relation between the pre-stored node name identifier and the UR L can be inquired, and then the obtained UR L accesses the cloud to obtain the content processing program corresponding to the target name identifier.
S303: and calling a content processing function in the content processing program corresponding to the target name identification to process the project content of the target node.
In this embodiment, a content processing program is configured to initialize, run, load the item content into the content processing program, and process the item content by using a configured content processing function.
For example, when the item content is a video, the content processing function may be a transcoding function or a model auditing function, or the like.
As can be seen from the description of this embodiment, the bound content handler corresponding to the node can be quickly identified by the name identifier of the node, so that the processing efficiency is improved.
In a specific embodiment of the present disclosure, a process of how to configure the dependency relationship of the preset node is further included before step S201. The user can realize the configuration of the node dependency relationship through the configuration terminal of the user, the complicated step of configuring a content processing program is omitted, the threshold of a configuration project processing flow is reduced, non-technical personnel can operate the configuration process, and the method has universality. The detailed process is as follows:
s401: and acquiring the characteristic information of the target item.
S402: and acquiring a plurality of processing nodes corresponding to the characteristic information according to the characteristic information.
In this embodiment, the feature information of the target item may be one or more keywords of the target item. And matching the corresponding nodes through the keywords.
For example, the keywords of a certain item of video content may be: short video, fun, adult. Matching transcoding processing nodes and similar video processing nodes according to the short video keywords; matching the model audit processing nodes according to the 'laugh' keywords; and matching the topic auditing processing node and the review processing node according to the adult keywords.
S403: receiving user input of topological relations of the plurality of processing nodes.
In this embodiment, a user may configure a topological order of a plurality of processing nodes on a graphical user interface, such as the topological relationship of each node shown in fig. 4.
In another embodiment of the present disclosure, a user may select a plurality of processing nodes and configure the topological relationships of the plurality of processing nodes through the Web site access flow processing platform.
S404: and configuring the plurality of processing nodes according to the topological relation to obtain the dependency relation of the preset nodes of the project content.
In this embodiment, the processing nodes are arranged according to the topological relation input by the user, and a DAG graph is constructed, where the DAG graph is the dependency relation of the preset nodes of the item content.
And the project contents of the same type correspond to the dependency relationship of preset nodes in the same type.
It can be known from the description of the above embodiments that a user can implement configuration of a node dependency relationship, thereby omitting a tedious step of configuring a content processing program, reducing a threshold of configuring a project processing flow, and implementing generalization of project processing flow configuration.
The information processing method in the above embodiment is described below by using a specific application example, and with reference to fig. 7, the main flow of the video item includes: transcoding, model auditing, similar video auditing, review, topic auditing, missing commodity sub-processes and user original content pushing 6 nodes. Referring to fig. 8, the sub-process of missing commodities further includes: and 3 nodes of missing commodity audit, missing commodity creation and missing commodity updating projects are provided. The information processing method of the video project is detailed as follows:
s501: and a user creates a node dependency relationship of the main flow and the sub-flow on the flow processing platform through the configuration terminal.
S502: and after the process processing platform detects that the video is put in storage, node processing is carried out according to the established node dependency relationship of the main process and the sub-process, and when the corresponding node is executed, a driving event request is sent to the content processing module.
S503: and the flow processing platform carries out corresponding processing on the video according to the content processing program of the corresponding node in the content processing module.
S504: and after the process processing platform executes all the nodes in the node dependency relationship of the main process and the sub-process, the video is processed.
In the embodiment of the disclosure, in the video project processing process, only the node dependency relationship needs to be configured according to the project, and the content processing program of each node does not need to be configured, so that the efficiency of video audit processing is improved.
Fig. 9 is a block diagram of an information processing apparatus according to an embodiment of the present disclosure, corresponding to the information processing method according to the above embodiment. For ease of illustration, only portions that are relevant to embodiments of the present disclosure are shown. Referring to fig. 9, the information processing apparatus 70 includes: an acquisition unit 701, a processing unit 702 and a transmission unit.
An obtaining unit 701, configured to obtain item content to be processed;
a processing unit 702, configured to perform content processing on the item content according to a dependency relationship of a preset node; wherein, the processing process of the project content at each target node is as follows: acquiring a content processing program bound by the target node from a content processing module according to the target node, and performing corresponding processing on the project content according to the content processing program bound by the target node, wherein the target node is any one of the preset nodes;
the sending unit 703 is configured to obtain the item content processed by all preset nodes, and send the processed item content to the recommendation or search platform.
The device provided in this embodiment may be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
In an embodiment of the present disclosure, the processing unit 702 is specifically configured to obtain a target name identifier of the target node; and inquiring the corresponding relation between the pre-stored node name identifier and the content processing program, and acquiring the content processing program corresponding to the target name identifier from the content processing module.
In an embodiment of the present disclosure, the processing unit 702 is specifically configured to invoke a content processing function in a content processing program corresponding to the target name identifier, so as to process the item content of the target node.
In an embodiment of the present disclosure, the processing unit 702 is specifically configured to, if all dependent nodes of the current node have completed content processing, migrate the item content to a next node for content processing until content processing of all nodes is completed.
In one embodiment of the disclosure, the content processing module is configured in a local or cloud server.
In an embodiment of the present disclosure, the configuration unit 704 is configured to obtain feature information of the target item; acquiring a plurality of processing nodes corresponding to the characteristic information according to the characteristic information; receiving a topological relation of the processing nodes input by a user; and configuring the preset processing nodes according to the topological relation to obtain the dependency relation of the preset nodes of the project content.
In one embodiment of the present disclosure, the item content includes at least one of: text, pictures, audio, and video.
In one embodiment of the present disclosure, the dependency relationship of the preset node is a directed acyclic DAG graph.
The device provided in this embodiment may be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
In order to realize the above embodiments, the embodiments of the present disclosure further provide an electronic device.
Referring to fig. 10, a schematic structural diagram of an electronic device 900 suitable for implementing the embodiment of the present disclosure is shown, where the electronic device 900 may be a terminal device or a server. Among them, the terminal Device may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a Digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a car terminal (e.g., car navigation terminal), etc., and a fixed terminal such as a Digital TV, a desktop computer, etc. The electronic device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 10, the electronic device 900 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 901, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 902 or a program loaded from a storage means 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the electronic apparatus 900 are also stored. The processing apparatus 901, the ROM902, and the RAM 903 are connected to each other through a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
Generally, input devices 906 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 907 including, for example, a liquid crystal display (L liquid crystal display, L CD for short), speakers, vibrators, etc., storage devices 908 including, for example, magnetic tape, hard disk, etc., and communication devices 909, it will be appreciated that while FIG. 10 illustrates an electronic device 900 having various means, it does not require that all of the illustrated means be implemented or provided, more or less means may be alternatively implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device 909, or installed from the storage device 908, or installed from the ROM 902. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing apparatus 901.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" language or similar programming languages.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
For example, without limitation, exemplary types of hardware logic that may be used include Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CP L D), and so forth.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In a first aspect, according to one or more embodiments of the present disclosure, there is provided an information processing method including: acquiring project content to be processed; processing the content of the project according to the dependency relationship of a preset node; wherein, the processing process of the project content at each target node is as follows: acquiring a content processing program bound by the target node from a content processing module according to the target node, and performing corresponding processing on the project content according to the content processing program bound by the target node, wherein the target node is any one of the preset nodes; and acquiring the project content processed by all the preset nodes, and sending the processed project content to a recommendation or search platform.
According to one or more embodiments of the present disclosure, the obtaining, according to the target node, the target node-bound content handler from a content processing module includes: acquiring a target name identifier of the target node; and inquiring the corresponding relation between the pre-stored node name identifier and the content processing program, and acquiring the content processing program corresponding to the target name identifier from the content processing module.
According to one or more embodiments of the present disclosure, the performing, by the content processing program bound according to the target node, corresponding processing on the item content includes: and calling a content processing function in a content processing program corresponding to the target name identification to process the project content of the target node.
According to one or more embodiments of the present disclosure, the content processing on the item content according to the dependency relationship of the preset node includes: and if all the dependent nodes of the current node finish content processing, migrating the project content to the next node for content processing until the content processing of all the nodes is finished.
According to one or more embodiments of the present disclosure, the content processing module is configured in a local or cloud server.
According to one or more embodiments of the present disclosure, the process of configuring the dependency relationship of the preset node further includes: acquiring characteristic information of the target project; acquiring a plurality of processing nodes corresponding to the characteristic information according to the characteristic information; receiving a topological relation of the processing nodes input by a user; and configuring the preset processing nodes according to the topological relation to obtain the dependency relation of the preset nodes of the project content.
According to one or more embodiments of the present disclosure, the item content includes at least one of: text, pictures, audio, and video.
According to one or more embodiments of the present disclosure, the dependency relationship of the preset node is a directed acyclic DAG graph.
In a second aspect, according to one or more embodiments of the present disclosure, there is provided an information processing apparatus including: the acquisition unit is used for acquiring the item content to be processed; the processing unit is used for carrying out content processing on the project content according to the dependency relationship of the preset nodes; wherein, the processing process of the project content at each target node is as follows: acquiring a content processing program bound by the target node from a content processing module according to the target node, and performing corresponding processing on the project content according to the content processing program bound by the target node, wherein the target node is any one of the preset nodes; and the sending unit is used for acquiring the project contents processed by all the preset nodes and sending the processed project contents to the recommendation or search platform.
According to one or more embodiments of the present disclosure, the processing unit is specifically configured to obtain a target name identifier of the target node; and inquiring the corresponding relation between the pre-stored node name identifier and the content processing program, and acquiring the content processing program corresponding to the target name identifier from the content processing module.
According to one or more embodiments of the present disclosure, the processing unit is specifically configured to invoke a content processing function in a content processing program corresponding to the target name identifier, and process the item content of the target node.
According to one or more embodiments of the present disclosure, the processing unit is specifically configured to, if all dependent nodes of a current node have completed content processing, migrate the item content to a next node for content processing until content processing of all nodes is completed.
According to one or more embodiments of the present disclosure, the content processing module is configured in a local or cloud server.
According to one or more embodiments of the present disclosure, further comprising: the configuration unit is used for acquiring the characteristic information of the target item; acquiring a plurality of processing nodes corresponding to the characteristic information according to the characteristic information; receiving a topological relation of the processing nodes input by a user; and configuring the preset processing nodes according to the topological relation to obtain the dependency relation of the preset nodes of the project content.
According to one or more embodiments of the present disclosure, the item content includes at least one of: text, pictures, audio, and video.
According to one or more embodiments of the present disclosure, the dependency relationship of the preset node is a directed acyclic DAG graph.
In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device including: a processor and a memory; the memory stores computer-executable instructions; the processor executes computer-executable instructions stored by the memory, causing the processor to perform the information processing method as described above in the first aspect and various possible designs of the first aspect.
In a fourth aspect, according to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the information processing method according to the first aspect and various possible designs of the first aspect.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims (11)
1. An information processing method characterized by comprising:
acquiring project content to be processed;
processing the content of the project according to the dependency relationship of a preset node;
wherein, the processing process of the project content at each target node is as follows: acquiring a content processing program bound by the target node from a content processing module according to the target node, and performing corresponding processing on the project content according to the content processing program bound by the target node, wherein the target node is any one of the preset nodes;
and acquiring the project content processed by all the preset nodes, and sending the processed project content to a recommendation or search platform.
2. The method of claim 1, wherein the obtaining the target node bound content handler from a content handling module according to the target node comprises:
acquiring a target name identifier of the target node;
and inquiring the corresponding relation between the pre-stored node name identifier and the content processing program, and acquiring the content processing program corresponding to the target name identifier from the content processing module.
3. The method according to claim 1, wherein said performing corresponding processing on said item content according to the content processing program bound by said target node comprises:
and calling a content processing function in a content processing program corresponding to the target name identification to process the project content of the target node.
4. The method according to claim 1, wherein the content processing of the item content according to the dependency relationship of the preset node comprises:
and if all the dependent nodes of the current node finish content processing, migrating the project content to the next node for content processing until the content processing of all the nodes is finished.
5. The method of claim 2, wherein the content processing module is configured on a local or cloud server.
6. The method according to any one of claims 1 to 5, further comprising configuring the dependency relationship of the preset node by:
acquiring characteristic information of the target project;
acquiring a plurality of processing nodes corresponding to the characteristic information according to the characteristic information;
receiving a topological relation of the processing nodes input by a user;
and configuring the preset processing nodes according to the topological relation to obtain the dependency relation of the preset nodes of the project content.
7. The method of any one of claims 1 to 5, wherein the item content comprises at least one of: text, pictures, audio, and video.
8. The method of any of claims 1 to 5, wherein the dependency of the predetermined nodes is a directed acyclic DAG graph.
9. An information processing apparatus characterized by comprising:
the acquisition unit is used for acquiring the item content to be processed;
the processing unit is used for carrying out content processing on the project content according to the dependency relationship of the preset nodes; wherein, the processing process of the project content at each target node is as follows: acquiring a content processing program bound by the target node from a content processing module according to the target node, and performing corresponding processing on the project content according to the content processing program bound by the target node, wherein the target node is any one of the preset nodes;
and the sending unit is used for acquiring the project contents processed by all the preset nodes and sending the processed project contents to the recommendation or search platform.
10. An electronic device, comprising: a processor and a memory;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory, so that the processor performs the information processing method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that a computer-executable instruction is stored therein, which when executed by a processor, implements the information processing method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010288938.3A CN111488495A (en) | 2020-04-14 | 2020-04-14 | Information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010288938.3A CN111488495A (en) | 2020-04-14 | 2020-04-14 | Information processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111488495A true CN111488495A (en) | 2020-08-04 |
Family
ID=71798248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010288938.3A Pending CN111488495A (en) | 2020-04-14 | 2020-04-14 | Information processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111488495A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114257701A (en) * | 2020-09-23 | 2022-03-29 | 北京字节跳动网络技术有限公司 | Access configuration method, device and storage medium of video processing algorithm |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109145023A (en) * | 2018-08-30 | 2019-01-04 | 北京百度网讯科技有限公司 | Method and apparatus for handling data |
CN109598407A (en) * | 2018-10-26 | 2019-04-09 | 阿里巴巴集团控股有限公司 | A kind of execution method and device of operation flow |
JP2019159806A (en) * | 2018-03-13 | 2019-09-19 | ヤフー株式会社 | Information processor, information processing method and program |
CN110297632A (en) * | 2019-06-12 | 2019-10-01 | 百度在线网络技术(北京)有限公司 | Code generating method and device |
CN110852720A (en) * | 2019-11-14 | 2020-02-28 | 北京字节跳动网络技术有限公司 | Document processing method, device, equipment and storage medium |
-
2020
- 2020-04-14 CN CN202010288938.3A patent/CN111488495A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019159806A (en) * | 2018-03-13 | 2019-09-19 | ヤフー株式会社 | Information processor, information processing method and program |
CN109145023A (en) * | 2018-08-30 | 2019-01-04 | 北京百度网讯科技有限公司 | Method and apparatus for handling data |
CN109598407A (en) * | 2018-10-26 | 2019-04-09 | 阿里巴巴集团控股有限公司 | A kind of execution method and device of operation flow |
CN110297632A (en) * | 2019-06-12 | 2019-10-01 | 百度在线网络技术(北京)有限公司 | Code generating method and device |
CN110852720A (en) * | 2019-11-14 | 2020-02-28 | 北京字节跳动网络技术有限公司 | Document processing method, device, equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114257701A (en) * | 2020-09-23 | 2022-03-29 | 北京字节跳动网络技术有限公司 | Access configuration method, device and storage medium of video processing algorithm |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111368185B (en) | Data display method and device, storage medium and electronic equipment | |
CN111679990B (en) | Test data generation method and device, readable medium and electronic equipment | |
CN112528595A (en) | Document processing method and device and electronic equipment | |
CN112487331A (en) | Page generation method and device, storage medium and electronic equipment | |
CN112183045B (en) | Online document processing method and device and electronic equipment | |
CN111414743A (en) | Method and device for calling document template, electronic equipment and storage medium | |
CN111857720B (en) | User interface state information generation method and device, electronic equipment and medium | |
CN111400625A (en) | Page processing method and device, electronic equipment and computer readable storage medium | |
CN115757400A (en) | Data table processing method and device, electronic equipment and computer readable medium | |
CN113220752A (en) | Display method and device and electronic equipment | |
CN115344688A (en) | Business data display method and device, electronic equipment and computer readable medium | |
CN111931464A (en) | Document editing method and device and electronic equipment | |
CN115017110A (en) | Information processing method, device, terminal and storage medium | |
CN114911595A (en) | Animation resource information processing method, device, equipment, medium and product | |
CN112131181B (en) | Display method and device of storage path and electronic equipment | |
CN111488495A (en) | Information processing method and device | |
CN111753238A (en) | Data mapping method and device and electronic equipment | |
CN112380476A (en) | Information display method and device and electronic equipment | |
CN112148744A (en) | Page display method and device, electronic equipment and computer readable medium | |
CN115525371A (en) | Image semantic alignment method and device, electronic equipment and storage medium | |
CN111460769B (en) | Article issuing method and device, storage medium and electronic equipment | |
CN112307723B (en) | Method and device for generating code document and electronic equipment | |
CN110442403B (en) | Method, device, electronic equipment and medium for calling functional component | |
CN110568976B (en) | Method, device, equipment and storage medium for controlling application display | |
CN110941683B (en) | Method, device, medium and electronic equipment for acquiring object attribute information in space |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200804 |