Self-media information processing method, device, electronic device and storage medium

Through remote service-based calls and content processing pipelines in series, resource consumption and timeliness issues in self-media content processing are solved, and efficient content processing is achieved.

CN116028235BActive Publication Date: 2024-10-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111245855.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2024-10-15
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

The existing technology consumes excessive resources due to the deployment of a large number of machine models in self-media content processing, and the timeliness of content information processing cannot be guaranteed.

Method used

Through remote service calls, the task type identifier is used to determine the target pre-processing unit and inference unit, and abstract and unified deployment of multiple content processing models is performed to avoid repeated deployment, and the processing stage delay is reduced through content processing pipeline series connection.

Benefits of technology

It effectively avoids machine resource consumption, improves the timeliness of content processing and model deployment efficiency, and reduces the delay between each processing stage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116028235B_ABST
    Figure CN116028235B_ABST
Patent Text Reader

Abstract

The present application relates to the field of information processing technology, and in particular to a self-media information processing method, device, electronic device and storage medium, the method comprising: receiving a remote service call request, the remote service call request comprising the self-media information to be processed, and the task type identifier of the self-media information to be processed; determining a target preprocessing unit and a target reasoning unit corresponding to the task type identifier; preprocessing the self-media information to be processed based on the target preprocessing unit to obtain preprocessing information; and performing information reasoning on the preprocessing information based on the target reasoning unit to obtain processing result information of the self-media information to be processed. The present application can avoid the resource consumption caused by the deployment of a large number of machine models, and ensure the timeliness of content information processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to a self-media information processing method, device, electronic device and storage medium. Background Art

[0002] In the current content distribution field, the upload volume of self-media content has increased significantly. In order to ensure the security and quality of the distributed content, it is necessary to complete the security review of the self-media content in a short period of time. Currently, this is mainly achieved through a large number of manual reviews assisted by machine learning models. Among them, a large number of machine models need to consume a large amount of machine resources and algorithm resources to process various content information. There will be delays in the series connection of processing services at multiple stages, which leads to low efficiency of machine learning models in processing content information, and the timeliness of content information processing cannot be guaranteed. Summary of the invention

[0003] The technical problem to be solved by the present application is to provide a self-media information processing method, device, electronic device and storage medium, which can avoid the resource consumption caused by the deployment of a large number of machine models and ensure the timeliness of content information processing.

[0004] In order to solve the above technical problems, on the one hand, the present application provides a method for processing self-media information, the method comprising:

[0005] Receiving a remote service call request, wherein the remote service call request includes the self-media information to be processed and a task type identifier of the self-media information to be processed;

[0006] Determine a target preprocessing unit and a target reasoning unit corresponding to the task type identifier; the target preprocessing unit is pre-abstracted based on multiple content processing models with the same content task domain identifier;

[0007] Preprocessing the to-be-processed self-media information based on the target preprocessing unit to obtain preprocessing information;

[0008] Performing information reasoning on the pre-processing information based on the target reasoning unit to obtain processing result information of the self-media information to be processed;

[0009] Wherein, the target preprocessing unit and the target reasoning unit are connected in series through a content processing pipeline.

[0010] On the other hand, the present application provides a self-media information processing device, including:

[0011] A call request receiving module, used to receive a remote service call request, wherein the remote service call request includes the self-media information to be processed and the task type identifier of the self-media information to be processed;

[0012] A processing unit determination module, used to determine a target preprocessing unit and a target reasoning unit corresponding to the task type identifier; the target preprocessing unit is pre-abstracted based on a plurality of content processing models having the same content task domain identifier;

[0013] A preprocessing module, used for preprocessing the to-be-processed self-media information based on the target preprocessing unit to obtain preprocessing information;

[0014] A processing generation determination module, configured to perform information reasoning on the pre-processing information based on the target reasoning unit to obtain processing result information on the self-media information to be processed;

[0015] Wherein, the target preprocessing unit and the target reasoning unit are connected in series through a content processing pipeline.

[0016] On the other hand, the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the self-media information processing method as described above.

[0017] On the other hand, the present application provides a computer storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded by a processor and executed by the self-media information processing method as described above.

[0018] Implementing the embodiments of the present application has the following beneficial effects:

[0019] This application remotely services multiple content processing models, so that when content information processing is required, remote content processing services are provided to the request sender through a remote service call request, thereby avoiding the deployment of content processing models locally by each request sender, and avoiding excessive machine resource consumption; based on the task type identification of the self-media information, the target preprocessing unit and the target reasoning unit are determined, and the target preprocessing unit is abstracted based on multiple content processing models with the same content task domain identification; based on the target preprocessing unit and the target reasoning unit, the self-media to be processed is processed to obtain the processing information of the self-media information to be processed. Among them, the target preprocessing model is abstracted based on multiple content processing models and deployed uniformly, which can avoid repeated deployment of the same preprocessing unit and improve the efficiency of model service deployment; in addition, the output information of each processing unit in the remote service framework is connected in series through the content processing pipeline, so that the delay between each processing stage can be reduced, thereby providing a guarantee for the timeliness of content processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 It is a schematic diagram of the implementation environment provided by the embodiment of the present application;

[0022] Figure 2 This is a flow chart of a self-media information processing method provided by an embodiment of the present application;

[0023] Figure 3 is a flow chart of a method for determining a target preprocessing unit provided in an embodiment of the present application;

[0024] Figure 4 is a flow chart of a method for determining a target post-processing unit provided in an embodiment of the present application;

[0025] Figure 5 It is a flow chart of a pre-processing information processing method provided in an embodiment of the present application;

[0026] Figure 6 is a flow chart of an information processing method provided by an embodiment of the present application;

[0027] Figure 7 It is a schematic diagram of the framework of algorithm service and deployment provided by the embodiment of the present application;

[0028] Figure 8 It is a schematic diagram of the deployment of the content processing service framework provided in the embodiment of the present application;

[0029] Fig. 9 This is a process framework diagram of the self-media information stream content processing algorithm service deployment system provided by the embodiment of the present application;

[0030] Fig.10 is a schematic diagram of a self-media information processing device provided in an embodiment of the present application;

[0031] Fig.11 This is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] To make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] First, the relevant terms involved in the embodiments of this specification are explained as follows:

[0035] RPC: Remote Procedure Call, which allows a local computer to call a program on another remote computer without having to understand the underlying network details, making the entire process as convenient as a local call.

[0036] MCN (Multi-Channel Network) is a product form of a multi-channel network that unites PGC content and, with the strong support of capital, ensures the continuous output of content, thereby ultimately achieving stable commercial realization.

[0037] PGC (Professional Generated Content) is an Internet term that refers to professionally produced content (video websites) and expert-produced content (Weibo). It is used to refer to content personalization, diversified perspectives, democratized communication, and virtualized social relationships. It is also called PPC (Professionally-produced Content).

[0038] UGC (User Generated Content) refers to user-generated content, which has emerged along with the concept of Web 2.0, which advocates personalization. It is not a specific business, but a new way for users to use the Internet, that is, from the original download-oriented to the download and upload.

[0039] PUGC (Professional User Generated Content): is professional audio content produced in the form of UGC that is relatively close to PGC.

[0040] See also Figure 1 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present application, the implementation environment may include: at least one first terminal 110 and a second terminal 120, and the first terminal 110 and the second terminal 120 can communicate data through a network.

[0041] Specifically, when content processing is needed, the first terminal 110 sends a remote call service request to the second terminal 120 to call the content model service deployed on the second terminal 120; the second terminal 120 performs content processing based on the remote call service request, obtains the content processing result, and returns it to the first terminal 110.

[0042] The first terminal 110 can communicate with the second terminal 120 based on the browser / server mode (B / S) or the client / server mode (C / S). The first terminal 110 may include: physical devices such as smart phones, tablet computers, laptops, digital assistants, smart wearable devices, vehicle terminals, servers, etc., and may also include software running in physical devices, such as applications, etc. The operating system running on the first terminal 110 in the embodiment of the present application may include but is not limited to Android system, IOS system, Linux, Windows, etc.

[0043] The second terminal 120 can establish a communication connection with the first terminal 110 via wired or wireless communication. The second terminal 120 can include an independently operated server, or a distributed server, or a server cluster composed of multiple servers, wherein the server can be a cloud server.

[0044] In order to solve the problem of resource consumption caused by the deployment of a large number of models in the prior art and the problem that the timeliness of content information processing cannot be guaranteed, the embodiment of the present application provides a self-media information processing method, the execution subject of the method can be Figure 1 For the second terminal in Figure 2 , the method may specifically include:

[0045] S210. Receive a remote service call request, where the remote service call request includes the self-media information to be processed and a task type identifier of the self-media information to be processed.

[0046] The content processing models used to process content can be divided into different content task areas, and each content task area can include multiple different types of content processing models. Specifically, the content task area can include the NLP (Natural Language Processing) field and the CV (Computer Vision) field; the content processing models in the NLP field can include: sensitive word recognition model, typo recognition model, advertising recognition model, etc.; the content processing models in the CV field can include video classification model, video detection model, video segmentation model, etc.

[0047] In the embodiment of the present application, multiple content processing models in different content task fields can be uniformly deployed as remote services, so that when content processing is required, remote service calls can be directly made to achieve content processing.

[0048] Specifically, when the request sender sends a remote service call request, it will determine the self-media information to be processed and the content processing operation that needs to be performed on the self-media information to be processed. The task type identifier can be used to identify the content processing operation, so that when the second terminal receives the remote service call request, it can determine which content processing model to use to process the self-media information to be processed. Among them, the task type identifier can be agreed upon in advance by the request sender and the second terminal, that is, it is known to both parties. The task type identifier can be used to identify the processing target of the self-media information to be processed. For example, the task type identifier can be semantic recognition, sensitive word recognition, target object recognition, video classification, etc.

[0049] S220. Determine a target preprocessing unit and a target reasoning unit corresponding to the task type identifier; the target preprocessing unit is pre-abstracted based on multiple content processing models with the same content task domain identifier.

[0050] Each content processing model may generally include a preprocessing unit and an inference unit, wherein the preprocessing unit can be used to process the original input information to generate preprocessed information that meets preset conditions or preset rules; the inference unit is the part of the content processing model that performs substantial processing on the content information, and it can perform inference, prediction or calculation operations based on the preprocessed information to generate corresponding inference results.

[0051] The correspondence between each reasoning unit and a plurality of task type identifiers may be established in advance, so that when the task type identifier is known, the corresponding target reasoning unit may be determined.

[0052] For the method of determining the target preprocessing unit, please refer to Figure 3 , the method may include:

[0053] S310. Analyze the preprocessing units included in the multiple content processing models corresponding to each content task domain identifier to determine the common preprocessing units of the multiple content processing models; each content task domain identifier corresponds to multiple task type identifiers.

[0054] S320. Based on the common pre-processing unit, obtain a target pre-processing unit corresponding to each content task domain identifier.

[0055] S330. Establish a correspondence between the target preprocessing unit and the multiple task type identifiers.

[0056] For different content task fields, the preprocessing of the corresponding content processing model is generally different. For example, for the NLP field, preprocessing can generally include word segmentation processing, stem extraction processing, word form restoration processing, etc.; for the CV field, preprocessing can generally include frame division processing, frame extraction processing, image enhancement processing, etc. The target preprocessing unit is used to process the original self-media information to be processed to generate preprocessing information that meets preset conditions or meets preset rules. Therefore, for the NLP field, there are corresponding word segmentation preprocessing units, stem extraction preprocessing units, word form restoration preprocessing units, etc.; for the CV field, there are corresponding frame division preprocessing units, frame extraction preprocessing units, image enhancement preprocessing units, etc. Different content processing models may have the same preprocessing unit. For example, the sensitive word detection model and the semantic recognition model both have a word segmentation preprocessing unit, so the word segmentation preprocessing unit can be extracted separately and called an independent word segmentation preprocessing unit. In this way, when the semantic recognition service and the sensitive word recognition service are subsequently called, this independent word segmentation preprocessing unit will be called first, and then the word segmentation result will be input into the corresponding target reasoning unit for semantic recognition and the target reasoning unit for sensitive word recognition for processing. The target reasoning unit is a unit that performs substantial processing on the self-media information to be processed, thereby generating corresponding reasoning information, and the reasoning information corresponds to the task type identifier.

[0057] In the embodiment of the present application, the processing units of the content processing model are generally deployed separately, that is, the target preprocessing unit and the target reasoning unit are generally deployed separately, and when any part is needed, the corresponding processing part will be called.

[0058] Specifically, taking the NLP field as an example, when semantic recognition of multimedia information to be processed is required, the corresponding target preprocessing unit can be a word segmentation preprocessing unit, that is, the word segmentation preprocessing unit is used to segment the self-media information to be processed, and multiple word segments corresponding to the self-media information to be processed are obtained; the multiple word segments are input into the target reasoning unit to obtain the semantic information of the self-media information to be processed, that is, the target reasoning unit is used to perform semantic analysis and prediction based on multiple word segments to obtain corresponding semantic information.

[0059] Therefore, by abstracting the common preprocessing units of different content models into an independent preprocessing unit, that is, when deploying a preprocessing unit to implement a certain function, only one is deployed, without the need to deploy the common preprocessing unit separately for each content processing model, thereby avoiding duplication of work in service-oriented deployment and improving the efficiency of service-oriented deployment.

[0060] In addition, multiple content processing models may also have non-shared preprocessing units. For example, content processing model A has preprocessing unit a, and content processing model B has preprocessing unit b. a and b are different, so preprocessing unit a and preprocessing unit b are non-shared preprocessing units. A correspondence between each non-shared preprocessing unit and multiple task type identifiers can be established respectively; so that when it is necessary to call a non-shared preprocessing unit, it can be determined directly based on the task type identifier, thereby improving the flexibility and convenience of calling the non-shared preprocessing unit.

[0061] Furthermore, some content processing models may also include a post-processing unit; see Figure 4 , which shows a method for determining a target post-processing unit, which may include:

[0062] S410. Analyze the post-processing units contained in the multiple content processing models corresponding to each content task domain identifier to determine the common post-processing units of the multiple content processing models; each content task domain identifier corresponds to multiple task type identifiers; the post-processing unit is used to convert the reasoning information output by the target reasoning unit into business result information corresponding to the business scenario.

[0063] S420. Based on the common post-processing units, obtain a target post-processing unit corresponding to each content task domain identifier.

[0064] S430. Establish a correspondence between the target post-processing unit and the multiple task type identifiers.

[0065] The output information of some target reasoning units cannot be directly applied and needs to be post-processed to obtain the final output result; for example, the post-processing may include normalization processing, and the target post-processing unit for normalization may be determined accordingly.

[0066] The determination process of the target post-processing unit is similar to the determination method and calling method of the target pre-processing process, and will not be repeated here.

[0067] Therefore, by abstracting the common post-processing units of different content models into an independent post-processing unit, that is, when deploying a pre-processing unit to implement a certain function, only one is deployed, without the need to deploy the common pre-processing unit separately for each content processing model, thereby avoiding duplication of work in service-oriented deployment and improving the efficiency of service-oriented deployment.

[0068] Similarly, multiple content processing models may also have non-shared post-processing units. For example, content processing model C has post-processing unit c, and content processing model D has post-processing unit d. c and d are different, so that post-processing unit c and post-processing unit d are non-shared post-processing units. A corresponding relationship between each non-shared post-processing unit and multiple task type identifiers can be established respectively; so that when it is necessary to call a non-shared post-processing unit, it can be determined directly based on the task type identifier, thereby improving the flexibility and convenience of calling the non-shared post-processing unit.

[0069] S230. Preprocess the to-be-processed self-media information based on the target preprocessing unit to obtain preprocessing information.

[0070] S240. Perform information reasoning on the pre-processing information based on the target reasoning unit to obtain processing result information of the to-be-processed self-media information.

[0071] See also Figure 5 , which shows a pre-processing information processing method, which may include:

[0072] S510. Input the preprocessing information into the target reasoning unit for information reasoning to obtain reasoning information.

[0073] S520. Based on the task type identifier of the to-be-processed self-media information, determine a target post-processing unit corresponding to the task type identifier.

[0074] S530. Input the inference information into the target post-processing unit for information post-processing to obtain processing result information of the to-be-processed self-media information.

[0075] Wherein, the target preprocessing unit and the target reasoning unit are connected in series through a content processing pipeline.

[0076] The content processing pipeline refers to the service that connects all content processing service capabilities in series. Because multiple services run in sequence, like a pipeline assembly line, it is called a content processing pipeline; the content processing pipeline can send each content and metadata that needs algorithm processing on the main link of the content processing flow into the processing pipeline one by one, and pass through the algorithm model of the platform one by one according to the pre-configured priority and which models they have passed through; that is, in the embodiment of the present application, the output information of the target preprocessing unit can be connected in series with the output information of the target reasoning unit through the content pipeline, thereby reducing the delay between each processing stage, thereby providing a guarantee for the timeliness of content processing.

[0077] Further, the preprocessing unit preprocesses the to-be-processed self-media information based on the target to obtain preprocessed information, including:

[0078] In the first service process, the target preprocessing unit preprocesses the to-be-processed self-media information to obtain the preprocessing information;

[0079] The inputting the preprocessing information into the target reasoning unit for information reasoning to obtain the reasoning information comprises:

[0080] In the second service process, the target inference unit performs information inference on the target preprocessing information to obtain the inference information;

[0081] The first service process and the second service process are different processes.

[0082] By performing information preprocessing and information reasoning in different service processes, preprocessing and information reasoning can be separated. Specifically, based on the multi-task capability of RPC Python, by preprocessing the worker process, the hardware resources can be reused by combining the high scalability of the number of cores and the inference process Inference. In other words, the pre- and post-processing in the service process and the specific inference process calculation process are separated. The two processes can be deployed on the same hardware device or separately. In the middle, the inter-process communication IPC (Inter-Process Communication) mechanism can be used, such as shared storage, message queues, etc. for efficient communication.

[0083] Further, the first service process includes at least one sub-process;

[0084] In the first service process, the target preprocessing unit preprocesses the to-be-processed self-media information to obtain the preprocessed information, including:

[0085] When the to-be-processed self-media information is preprocessed based on the at least one sub-process, the preprocessing speed does not match the current task processing speed, and the number of sub-processes in the first service process is adjusted based on the current task processing speed.

[0086] The service-oriented framework can support two or more computing units, such as GPU or CPU cores. Because they are deployed separately, the actual reasoning calculation and preprocessing calculation can be performed separately. The adjustment of the number of sub-processes here can correspond to the expansion of the number of cores. The role of expansion is to better utilize the core resources of the hardware equipment. If it is not expanded, the multi-core function cannot be brought into play, resulting in unnecessary waiting. For example, a large amount of preprocessing result input is required during reasoning, but the preprocessing is very slow and the reasoning is very fast. At this time, more preprocessing processes are needed, that is, the sub-processes provide input, so that the overall speed can be faster.

[0087] See also Figure 6 , which shows an information processing method, which may include:

[0088] S610. Perform target information detection on the processing result information of the to-be-processed self-media information to obtain an information detection result.

[0089] S620. When the information detection result indicates that the self-media information to be processed contains the target information, determine a target processing operation for the self-media information to be processed based on the information category identifier of the self-media information to be processed.

[0090] S630. Execute the target processing operation on the processing result information.

[0091] The results of some models cannot be applied directly, and corresponding post-rules or configuration strategies need to be set. For example, for the integrity recognition results of the CV model, different post-filtering rules or configuration strategies will be set based on different content sources or categories. It is not implemented in the model, but is closely related to the processing results of a certain model. It is necessary to retain the flexible insertion processing capabilities here. When implementing it, a callback function CallBack can be registered in the framework. For example, in the incomplete image recognition scenario, a face in the beauty category has half of the face being drawn with eyebrows. For beauty content, although the picture is incomplete, it meets the expectations of the beauty category, and this picture should not be filtered; but for non-beauty categories such as social news, half of the face is shown as an incomplete picture and should be filtered. Similar rules are closely related to the results of incomplete detection models, and different strategies that rely on this result need to be flexibly configured.

[0092] In the embodiment of the present application, after each algorithm model is developed, the version and iteration of the model are deployed and managed with one click through the service-oriented framework and processing pipeline. As the number of models and versions increases, the development team will encounter many problems in the management of multiple models and multiple versions, and the lack of metadata such as model hyperparameters, training indicators, storage formats, etc. will aggravate this problem. Therefore, a model management unit ModelManger is specially introduced into the service-oriented framework. ModelManger is designed separately in the service-oriented framework and is deployed together with the service-oriented framework to manage different versions of the specific model file of the framework service.

[0093] The service-oriented framework provided by the embodiment of the present application (i.e., Ronda Serving in the figure below is an example, which is the name of the service-oriented framework) can expand the algorithm service: support all content processing fields CV / NLP field models and complex algorithm logic. After each algorithm model is developed, the version and iteration of the model can be deployed and managed with one click through the service-oriented framework and processing pipeline.

[0094] See also Figure 7 , which shows a schematic diagram of the algorithm service and deployment framework. The service framework includes:

[0095] (1) The service-oriented network layer is uniformly based on RPC, i.e. remote procedure call. It allows a local computer to call a program on another remote computer without having to understand the underlying network details, making the entire process as convenient as a local call. It componentizes the underlying details of network communication and related configurations, such as the GPRC framework (Google's RPC open source framework). Considering the issues of algorithm model development language and performance, it mainly supports Python and C++ languages, based on TRpcPython, and cpp's servable is based on trpc cpp, with service-oriented deployment framework support, reducing the cost of service. Other language support can achieve extended access in the same interface mode; in terms of code language selection, for example, Python data preprocessing has the characteristics of fast experimental debugging and mainly serves the training end, C++ data preprocessing has the characteristics of high performance and mainly serves the inference end, and C++ data preprocessing and Python have the same API interface.

[0096] (2) The Servable service processing model includes the pre- and post-reasoning processing logic. Figure 7The pre-processing and post-processing parts in the model allow customization. For example, CV models require a lot of the same pre-processing, such as unified video frame extraction and image enhancement, and unified word segmentation pre-processing for NLP models. Some model results cannot be applied directly, and corresponding post-processing rules or configuration strategies need to be set. For example, the integrity recognition results of the CV model will set different filtering posterior rules based on different content sources or categories, etc. It is not implemented in the model, but is closely related to the processing results of a certain model. It is necessary to retain the flexible insertion processing capabilities here. When implementing it specifically, a callback function CallBack can be registered in the framework.

[0097] (3) Models are launched and dynamically updated through the model manager, which manages different versions of the model and determines the effective version. The entry point for writing specific configuration policies is through Figure 7 The central control service Sever in the model service is implemented, which is usually a business-oriented algorithm model Web configuration policy entry. Among them, the central control service Server can be understood as: the upper-level configuration system manages the overall entry of a service-oriented service cluster corresponding to a specific business, and it provides the upper-level policy layer with an entry for managing model versions and application policies. The online serving part of the model service is mainly at the servable layer. If the native algorithm framework is tensorflow, or the libtorch model, the native servable of these model frameworks can continue to be used, but if it is a pytorch or sklearn model or a content algorithm scenario that requires pre- and post-processing, the python servable can be used; the infinite server here refers to a specific large model, such as a model size of more than 1T, with hundreds of billions of parameters, and its service needs to be carried out separately. Here it is mainly used to illustrate that the service layer can support expansion according to different scales.

[0098] See also Figure 8 , which shows a schematic diagram of the deployment of a content processing service framework, including:

[0099] (1) The framework must be able to solve the problem of multi-process and multi-threading faced by traditional Python services. The utilization efficiency of hardware resources is not high. Python services cannot support multi-process and can only be implemented through coroutines. In this way, the hardware resources of multi-core devices cannot be reused. In view of this, the Serving service framework here is based on the multi-task capability of RPC Python. By pre-processing the worker process, it combines high scalability based on the number of cores and inference process Inference to achieve the reuse of hardware resources. In other words, the pre- and post-processing and the specific inference process calculation process in the service process are separated. The two processes can be deployed on the same hardware device or separately. In the middle, the inter-process communication IPC mechanism can be used, such as shared storage, message queues, etc. for efficient communication.

[0100] (2) As shown in the following figure, the algorithm reasoning deployment framework uses an independent inference process for the reasoning process. It can support GPU batch processing or CPU. Different hardware computing devices can be selected based on the required time delay and cost budget, ultimately improving the overall service throughput.

[0101] The platform algorithm service and deployment module directly loads the model exported by the NLP / CV algorithm, instantiates the data preprocessing logic according to the configuration, and provides a unified API to quickly implement the model inference code. The upstream service business calls the inference library through the API interface or the so package. In this way, the deep learning model is service-oriented and a one-click lightweight deployment solution is implemented. In order to avoid degradation, the BenchMark corresponding to each algorithm model and the collected feedback data can be regularly used to obtain the model's accurate call data through the algorithm evaluation service, so as to promptly detect the model's degradation and update the model.

[0102] See also Fig. 9 , which shows the service-oriented deployment method and system process framework diagram of the self-media information flow content processing algorithm. In the information flow business, a large number of different models such as CV and NLP are involved. There are many types of models on the content processing pipeline, and each model is not exactly the same, with a complex structure. Each corresponding capability model (such as content security and content quality title parties, advertising marketing, fake news, historical news, typos, incoherence, irrelevant text, and advertising, which belong to NLP processing models, and such as picture clarity, video clarity, video content understanding such as labeling, classification, video target detection, video editing and segmentation, etc. CV processing models) in the service-oriented deployment process, through the content processing pipeline, according to different priorities and content mechanisms, different platform algorithm services are configured and processed. Various models are serviced through a service-oriented framework. At the same time, it can provide algorithm model evaluation for different models, timely discover model degradation, and keep services updated in a timely manner.

[0103] The main functions of the self-media information flow content processing algorithm service deployment method and each service module of the system are as follows:

[0104] 1. Content production and consumption

[0105] (1) PGC or UGC, MCN or PUGC content producers provide local or filmed video content through mobile terminals or back-end interface API systems. These are the main sources of distributed content;

[0106] (2) By communicating with the upstream and downstream content interface services, the upload server interface address is first obtained, and then the local file is uploaded. During the shooting process, the local video content can choose matching music, filter templates, and video beautification functions, etc. If it is graphic content, it can be directly edited and published through the publishing end;

[0107] (3) As a consumer, the user communicates with the upstream and downstream content interface servers to obtain index information for accessing video files, and then communicates with the video storage server to download the corresponding streaming media files and play them through a local player;

[0108] (4) Report the user's playback behavior data, freezes, loading time, playback clicks, etc. during the upload and download process to the statistics server, and provide clear content quality feedback and reporting entry, including the type of quality problem, corresponding to the above-mentioned various low-quality content features, the corresponding video file unique ID or the image and text row key and the unique identifier of the image and text content;

[0109] (5) Consumers usually consume content data through feed streams.

[0110] 2. Uplink and Downlink Content Interface Server

[0111] (1) Communicate directly with the content production end. The content submitted by the front end, usually the title, publisher, summary, cover image, release time of the video content, or the shot video, directly enters the server end through the server and stores the file in the video content storage service;

[0112] (2) Writing metadata of the video content, such as video file size, cover image link, bit rate, file format, title, release time, author, etc., into the content database; graphic content refers to information such as title, author, cover image, source channel, etc.;

[0113] (3) Submit the uploaded files to the dispatch center server for subsequent content processing and circulation;

[0114] 3. Content Database

[0115] (1) The core database of self-media content production. The metadata of all content released by producers is stored in this business database, with the focus on the metadata of the content itself, such as file size, cover image link, bit rate, file format, title, release time, author, and the classification of content during the manual review process (including first-, second-, and third-level classification and label information. For example, a video or graphic content about Huawei mobile phones has a first-level classification of technology, a second-level classification of mobile phones, and a third-level classification of domestic mobile phones, and the label may be ××);

[0116] (2) After the upstream and downstream content interface servers store the published files on the content storage server, the content storage server will perform standard transcoding operations on the video content. After the transcoding is completed, the asynchronously returned meta information mainly includes file size, bit rate, specifications, and captured cover images. These information will be stored in the content database. If the content is graphic and atlas content, the original image data will be stored.

[0117] (3) During the manual review process, the information in the content database will be read, and the results and status of the manual review will also be sent back to the content database;

[0118] (4) The dispatch center mainly processes content through machine processing and manual review. The core of machine processing is to call the deduplication service. The deduplication results will be written into the content database. Completely duplicate content will not be processed again manually.

[0119] 4. Dispatch Center

[0120] (1) Responsible for the entire scheduling process of content flow, receiving the incoming content through the upstream and downstream content interface services, and then obtaining the content metadata from the internal database;

[0121] (2) Dispatching manual review systems and machine processing systems to control the order and priority of dispatch;

[0122] (3) For video content, it first communicates with the duplicate removal service, which processes different bit rates, different resolutions, different sizes, partial black screens, filters, watermarks, etc. In the actual implementation process, these are all implemented through different models of content processing relationship services. For graphic content (such as clickbait, advertising marketing, rumors, old news, typos, incoherence, vulgarity, pornography, etc.), it is implemented through the NLP model on the content processing pipeline;

[0123] (4) Dispatch content that needs to be manually reviewed into the manual review system, and filter out content that cannot be recognized by the machine and requires manual confirmation;

[0124] (5) Finally, the content that has passed the manual review system is enabled through the content export distribution service, which is usually a recommendation engine or search engine or a direct display page provided to the terminal content consumers;

[0125] 5. Manual Review System & Sample Database

[0126] (1) It is necessary to read the original information of the content itself in the content database. This is usually a system developed based on a web database with complex business. Humans are required to conduct a preliminary round of filtering to determine whether the content that cannot be processed by the machine involves sensitive features.

[0127] (2) Based on the initial review, a secondary review of the content is conducted, mainly to classify and label or confirm the content;

[0128] (3) Accept the dispatch of the dispatch center service, manually review the content of complaints and reporting feedback from content consumption users, and write the content that meets the review conditions into the sample database for subsequent platform algorithm system to perform machine modeling;

[0129] (4) After the model and service are launched, personnel need to conduct regular inspections to determine whether the model capability has declined or changed. Any abnormal cases found will be directly reported to the sample library for updating the model in the next cycle to ensure that the model capability does not decline. This is mainly accomplished by the cooperation of the manual inspection system and the manual review system.

[0130] (5) The sample results collected and processed through various channels are stored in the sample database;

[0131] 6. Content storage service

[0132] (1) Usually, it is a group of storage servers that are widely distributed and close to users on the C side. There are usually CDN acceleration servers on the periphery for distributed cache acceleration. The content uploaded by the content producer is stored through the upstream and downstream content interface servers.

[0133] (2) After obtaining the content index information, i.e., the content access quality is low, the end consumer can also directly access the content storage server to download the corresponding content;

[0134] 7. Content Processing Algorithm Pipeline

[0135] (1) According to the processing steps and strategies mentioned above, communicate with the dispatch service center to complete the configuration and dispatch of algorithm model services on each platform for content processing, and ensure that the results of investigation and processing meet the configuration conditions;

[0136] (2) Communicate with the algorithm evaluation service, mainly to avoid model degradation. You can regularly use the BenchMark corresponding to each algorithm model and the collected feedback data to obtain the model's accurate recall data through the algorithm evaluation service, so as to promptly detect the model's degradation and update the model.

[0137] 8. Algorithm Model Library

[0138] (1) Includes content processing models such as clickbait, advertising marketing, fake news, historical news, typos, incoherence, irrelevant content, and advertising, which are NLP processing models;

[0139] (2) There are also CV processing models such as image clarity, video clarity, video content understanding such as labeling, classification, video object detection, video editing and segmentation, etc., which depend on the actual needs of the business on the processing pipeline;

[0140] 9. Platform algorithm services and deployment

[0141] (1) Read various sample data from the sample database, use different machine learning frameworks to model the processing and understanding of information flow content, and then serve it according to the model algorithm service framework and deployment described above;

[0142] (2) Communicate with the content processing pipeline to complete the scheduling of algorithm services on each platform;

[0143] 10. Online Inspection

[0144] (1) After the model and service are launched, personnel need to conduct regular inspections to proactively determine whether the model capability has declined or changed. Abnormal cases found should be directly reported to the sample library for updating the model in the next cycle to ensure that the model capability does not decline. This is an important part of the monitoring system.

[0145] 11. Content deduplication service

[0146] By comparing the characteristic fingerprint features of the content itself (such as calculating SIMHASH for graphic content and fingerprint embedding for video content), duplicate similar files will retain a copy to continue to the subsequent links, reducing unnecessary duplicate files on the link.

[0147] 12. Statistical interface and statistical analysis services

[0148] (1) Accept consumption flow data reports from content consumers as the main source of subsequent statistical data;

[0149] (2) Cooperate with the platform algorithm service and deployment module Tongxu to provide a posteriori behavior data of user consumption, such as click-through rate, consumption time, PV and VV, etc.;

[0150] 13. User feedback and reporting interface service

[0151] (1) Receive feedback and report information on content quality from content consumers, and then call the manual review system to review and mark the quality content;

[0152] (2) The audit results are written into the sample database, which serves as the main source of data for the machine sample modeling monitoring system of the information flow content quality control system.

[0153] This application accelerates the efficiency of service-oriented operations by providing a machine learning service-oriented framework based on remote procedure call (RPC) technology, and deploys the algorithm model with one click using algorithm model + scheduling configuration + algorithm evaluation. The core idea is to abstract and refine the pre-processing and post-processing of the information flow content processing algorithm model deployment, and use the RPC remote procedure call framework to encapsulate and take over the algorithm model service process, greatly reducing the cost of service-oriented implementation and deployment. The specific implementation includes: (1) The network layer is unified based on the RPC framework, shielding the underlying network communication and configuration; (2) Algorithm model service-oriented operations support model reasoning and pre- and post-processing logic, and support algorithm customization; (3) At the same time, the model is launched, updated, and maintained through the model manager. The service-oriented framework can expand the algorithm service-oriented operations and support all models and complex algorithm logic in the field of information flow content processing CV / NLP. Through the present invention, different algorithm frameworks for information flow content distribution can be improved to obtain optimized deployment of algorithm model environments, thereby improving research and development efficiency; the problems of multi-process and multi-thread selection faced by traditional Python services and insufficient hardware resource utilization efficiency can be solved, and hardware resources can be fully utilized; unified front-end and back-end processing can be provided for information flow business scenarios, based on the multi-tasking capabilities of RPC Python and the separate deployment of pre-processing worker processes, and support for core number configuration expansion; independent inference processes can be used to support GPU and CPU batch processing to significantly improve the efficiency of algorithm pipeline processing and service throughput.

[0154] See also Fig.10 This embodiment also provides a self-media information processing device, including:

[0155] The call request receiving module 1010 is used to receive a remote service call request, wherein the remote service call request includes the self-media information to be processed and the task type identifier of the self-media information to be processed;

[0156] The processing unit determination module 1020 is used to determine a target preprocessing unit and a target reasoning unit corresponding to the task type identifier; the target preprocessing unit is pre-abstracted based on multiple content processing models with the same content task domain identifier;

[0157] A preprocessing module 1030, configured to preprocess the to-be-processed self-media information based on the target preprocessing unit to obtain preprocessing information;

[0158] A processing generation determination module 1040 is used to perform information reasoning on the pre-processing information based on the target reasoning unit to obtain processing result information of the to-be-processed self-media information;

[0159] Wherein, the target preprocessing unit and the target reasoning unit are connected in series through a content processing pipeline.

[0160] Furthermore, the device also includes:

[0161] A first determination module is used to analyze the pre-processing units included in the multiple content processing models corresponding to each content task domain identifier, and determine the common pre-processing units of the multiple content processing models; each content task domain identifier corresponds to multiple task type identifiers;

[0162] A second determination module, configured to obtain a target preprocessing unit corresponding to each content task domain identifier based on the common preprocessing unit;

[0163] The first establishing module is used to establish a corresponding relationship between the target pre-processing unit and the multiple task type identifiers.

[0164] Furthermore, the device also includes:

[0165] A third determination module is used to analyze the post-processing units included in the multiple content processing models corresponding to each content task domain identifier, and determine the common post-processing units of the multiple content processing models; each content task domain identifier corresponds to multiple task type identifiers; the post-processing unit is used to convert the reasoning information output by the target reasoning unit into business result information corresponding to the business scenario;

[0166] A fourth determination module, configured to obtain a target post-processing unit corresponding to each content task domain identifier based on the common post-processing unit;

[0167] The second establishing module is used to establish a corresponding relationship between the target post-processing unit and the multiple task type identifiers.

[0168] Further, the processing generation determination module 1040 includes:

[0169] An information reasoning module, used for inputting the preprocessing information into the target reasoning unit for information reasoning to obtain reasoning information;

[0170] A fifth determination module, configured to determine, based on the task type identifier of the to-be-processed self-media information, a target post-processing unit corresponding to the task type identifier;

[0171] The post-processing module is used to input the inference information into the target post-processing unit for information post-processing to obtain processing result information of the to-be-processed self-media information.

[0172] Furthermore, the preprocessing module 1030 includes:

[0173] A first processing module, configured to preprocess the to-be-processed self-media information through the target preprocessing unit in a first service process to obtain the preprocessed information;

[0174] The information reasoning module includes:

[0175] A second processing module is used to perform information reasoning on the target preprocessing information through the target reasoning unit in a second service process to obtain the reasoning information;

[0176] The first service process and the second service process are different processes.

[0177] Further, the first service process includes at least one sub-process;

[0178] The first processing module comprises:

[0179] The adjustment unit is used to adjust the number of sub-processes in the first service process based on the current task processing speed when the pre-processing speed does not match the current task processing speed when the to-be-processed self-media information is pre-processed based on the at least one sub-process.

[0180] Furthermore, the remote service call request also includes an information category identifier of the to-be-processed self-media information; and the device further includes:

[0181] An information detection module is used to perform target information detection on the processing result information of the to-be-processed self-media information to obtain an information detection result;

[0182] A sixth determination module, configured to determine a target processing operation on the self-media information to be processed based on an information category identifier of the self-media information to be processed when the information detection result indicates that the self-media information to be processed contains the target information;

[0183] An operation execution module is used to execute the target processing operation on the processing result information.

[0184] The device provided in the above embodiment can execute the method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of executing the method. For technical details not described in detail in the above embodiment, please refer to the method provided in any embodiment of the present application.

[0185] This embodiment further provides a computer-readable storage medium, in which at least one instruction or at least one program is stored. The at least one instruction or at least one program is loaded by a processor and executed as any of the above methods of this embodiment.

[0186] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs any of the above methods.

[0187] Further, Fig.11 A schematic diagram of the hardware structure of a device for implementing the method provided in the embodiment of the present application is shown, and the device may participate in constituting or include the apparatus provided in the embodiment of the present application. Fig.11 As shown, the device 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Fig.11 The structure shown is for illustration only and does not limit the structure of the electronic device. Fig.11 More or fewer components as shown, or with Fig.11 Different configurations are shown.

[0188] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the device 10 (or mobile device). As involved in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0189] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the methods described in the embodiments of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, to implement the above-mentioned player preloading method or player operation method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the device 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0190] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the device 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0191] The display may be, for example, a touch screen liquid crystal display (LCD) that may enable a user to interact with a user interface of device 10 (or mobile device).

[0192] Any of the above methods in this embodiment can be based on Fig.11 The device shown is implemented.

[0193] This specification provides method operation steps as described in the embodiments or flow charts, but more or fewer operation steps may be included based on conventional or non-creative labor. The steps and sequence listed in the embodiments are only one way of executing the sequence of many steps and do not represent the only execution sequence. When the actual system or interrupt product is executed, it can be executed in sequence or in parallel according to the method shown in the embodiments or the drawings (for example, in a parallel processor or multi-threaded processing environment).

[0194] The structure shown in this embodiment is only a partial structure related to the scheme of the present application, and does not constitute a limitation on the device to which the scheme of the present application is applied. The specific device may include more or fewer components than shown, or combine certain components, or have different arrangements of components. It should be understood that the method, device, etc. disclosed in this embodiment can be implemented in other ways. For example, the device embodiment described above is only schematic. For example, the division of the modules is only a division of a logical function. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or unit modules.

[0195] Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the whole or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., various media that can store program codes.

[0196] Those skilled in the art may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this specification can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0197] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A self-media information processing method, characterized in that: include: Receiving a remote service call request, wherein the remote service call request includes the self-media information to be processed and a task type identifier of the self-media information to be processed; Determining a target preprocessing unit and a target reasoning unit corresponding to the task type identifier; The target preprocessing unit is deployed separately from the target reasoning unit; The target preprocessing unit is pre-abstracted based on a plurality of content processing models having the same content task domain identifier; Analyze the preprocessing units included in the multiple content processing models corresponding to each content task domain identifier to determine the common preprocessing units of the multiple content processing models; Each content task domain identifier corresponds to a plurality of task type identifiers; Based on the common preprocessing unit, obtaining a target preprocessing unit corresponding to each content task domain identifier; In the first service process, the target preprocessing unit preprocesses the to-be-processed self-media information to obtain preprocessing information; Performing information reasoning on the pre-processing information based on the target reasoning unit to obtain processing result information of the self-media information to be processed; The performing information reasoning on the pre-processing information based on the target reasoning unit to obtain the processing result information of the to-be-processed self-media information comprises: in the second service process, performing information reasoning on the pre-processing information by the target reasoning unit to obtain reasoning information; the first service process and the second service process are different processes; Wherein, the target preprocessing unit and the target reasoning unit are connected in series through a content processing pipeline.

2. The method according to claim 1, characterized in that The method further comprises: A correspondence between the target preprocessing unit and the plurality of task type identifiers is established.

3. The method according to claim 1, characterized in that: The method further comprises: Analyze the post-processing units included in the multiple content processing models corresponding to each content task domain identifier to determine the common post-processing units of the multiple content processing models; each content task domain identifier corresponds to multiple task type identifiers; the post-processing unit is used to convert the reasoning information output by the target reasoning unit into business result information corresponding to the business scenario; Based on the common post-processing units, obtaining a target post-processing unit corresponding to each content task domain identifier; A correspondence between the target post-processing unit and the plurality of task type identifiers is established.

4. The method according to claim 3, characterized in that The information inference performed on the pre-processed information by the target inference unit to obtain the processing result information of the to-be-processed self-media information includes: Based on the task type identifier of the to-be-processed self-media information, determining a target post-processing unit corresponding to the task type identifier; The inference information is input into the target post-processing unit for information post-processing to obtain processing result information of the to-be-processed self-media information.

5. The method according to claim 4, characterized in that The first service process includes at least one sub-process; In the first service process, the target preprocessing unit preprocesses the to-be-processed self-media information to obtain the preprocessed information, including: When the to-be-processed self-media information is preprocessed based on the at least one sub-process, the preprocessing speed does not match the current task processing speed, and the number of sub-processes in the first service process is adjusted based on the current task processing speed.

6. The method according to claim 1, characterized in that The remote service call request also includes an information category identifier of the self-media information to be processed; The method further comprises: Performing target information detection on the processing result information of the to-be-processed self-media information to obtain an information detection result; When the information detection result indicates that the to-be-processed self-media information contains the target information, determining a target processing operation for the to-be-processed self-media information based on the information category identifier of the to-be-processed self-media information; The target processing operation is performed on the processing result information.

7. A self-media information processing device, characterized in that: include: A call request receiving module, used to receive a remote service call request, wherein the remote service call request includes the self-media information to be processed and the task type identifier of the self-media information to be processed; A processing unit determination module, used to determine a target preprocessing unit and a target reasoning unit corresponding to the task type identifier; The target preprocessing unit is deployed separately from the target reasoning unit; The target preprocessing unit is pre-abstracted based on a plurality of content processing models having the same content task domain identifier; A first determination module is used to analyze the preprocessing units included in the multiple content processing models corresponding to each content task domain identifier, and determine the common preprocessing units of the multiple content processing models; Each content task domain identifier corresponds to a plurality of task type identifiers; A second determination module, configured to obtain a target preprocessing unit corresponding to each content task domain identifier based on the common preprocessing unit; A preprocessing module, used for preprocessing the to-be-processed self-media information based on the target preprocessing unit to obtain preprocessing information; The preprocessing module includes: a first processing module, used to preprocess the to-be-processed self-media information through the target preprocessing unit in the first service process to obtain the preprocessing information; a processing generation determination module, configured to perform information reasoning on the pre-processing information based on the target reasoning unit to obtain processing result information of the self-media information to be processed; the processing generation determination module includes: a second processing module, configured to perform information reasoning on the target pre-processing information through the target reasoning unit in a second service process to obtain reasoning information; the first service process and the second service process are different processes; Wherein, the target preprocessing unit and the target reasoning unit are connected in series through a content processing pipeline.

8. The device according to claim 7, characterized in that The device also includes: The first establishing module is used to establish a corresponding relationship between the target pre-processing unit and the multiple task type identifiers.

9. The device according to claim 7, characterized in that The device also includes: A third determination module is used to analyze the post-processing units included in the multiple content processing models corresponding to each content task domain identifier, and determine the common post-processing units of the multiple content processing models; each content task domain identifier corresponds to multiple task type identifiers; the post-processing unit is used to convert the reasoning information output by the target reasoning unit into business result information corresponding to the business scenario; A fourth determination module, configured to obtain a target post-processing unit corresponding to each content task domain identifier based on the common post-processing unit; The second establishing module is used to establish a corresponding relationship between the target post-processing unit and the multiple task type identifiers.

10. The device according to claim 9, characterized in that The processing generation determination module comprises: A fifth determination module, configured to determine, based on the task type identifier of the to-be-processed self-media information, a target post-processing unit corresponding to the task type identifier; The post-processing module is used to input the inference information into the target post-processing unit for information post-processing to obtain processing result information of the to-be-processed self-media information.

11. The device according to claim 7, characterized in that The first service process includes at least one sub-process; The first processing module comprises: The adjustment unit is used to adjust the number of sub-processes in the first service process based on the current task processing speed when the pre-processing speed does not match the current task processing speed when the to-be-processed self-media information is pre-processed based on the at least one sub-process.

12. The device according to claim 7, characterized in that The remote service call request also includes an information category identifier of the to-be-processed self-media information; and the device also includes: An information detection module is used to perform target information detection on the processing result information of the to-be-processed self-media information to obtain an information detection result; A sixth determination module, configured to determine a target processing operation on the self-media information to be processed based on an information category identifier of the self-media information to be processed when the information detection result indicates that the self-media information to be processed contains the target information; An operation execution module is used to execute the target processing operation on the processing result information.

13. An electronic device, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the self-media information processing method as described in any one of claims 1 to 6.

14. A computer storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor according to any one of claims 1 to 6.