Content editing method, device, electronic device and storage medium
By receiving content editing requests and automatically determining the target editing module and verification logic, the problem of poor content editing efficiency and effectiveness in the prior art is solved, and an efficient and automated content editing method is realized.
Patent Information
- Application Number
- CN202110892554.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-04
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2041-08-04
AI Technical Summary
In the prior art, it is difficult for content editing methods to effectively automatically determine and use corresponding editing modules according to content type, resulting in poor editing efficiency and effect.
By receiving content editing requests, determine the initial content and content type, automatically determine and use the corresponding target editing module and verification logic, edit the initial content and perform verification to obtain the final target content.
It realizes the automation of content editing methods, improves editing efficiency and effect, simplifies the content editing process, and enhances the scalability and security of the content editing module.
Smart Images

Figure CN113705174B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, in particular to the field of artificial intelligence technology such as knowledge graphs and natural language processing, and specifically to a content editing method, device, electronic device and storage medium. Background Art
[0002] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning, deep learning, big data processing technology, knowledge graph technology, and other major directions.
[0003] In the related art, the content editing method refers to using network technology to migrate the content editing function to the online, and using the flexibility of the network to realize online editing of content (such as text, pictures, etc.). Summary of the invention
[0004] The present disclosure provides a content editing method, device, electronic device, storage medium and computer program product.
[0005] According to a first aspect of the present disclosure, a content editing method is provided, comprising: receiving a content editing request, the content editing request comprising: an initial content identifier and a content type; determining initial content corresponding to the initial content identifier; determining a target editing module corresponding to the content type; and editing the initial content using content editing logic of the target editing module to obtain target content.
[0006] According to a second aspect of the present disclosure, a content editing device is provided, comprising: a receiving module for receiving a content editing request, the content editing request comprising: an initial content identifier and a content type; a first determination module for determining the initial content corresponding to the initial content identifier; a second determination module for determining a target editing module corresponding to the content type; and an editing module for editing the initial content using the content editing logic of the target editing module to obtain the target content.
[0007] According to a third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the content editing method as in the first aspect.
[0008] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, where the computer instructions are used to cause a computer to execute the content editing method of the first aspect.
[0009] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the content editing method of the first aspect is implemented.
[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0012] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure;
[0013] Figure 2 is a schematic diagram according to a second embodiment of the present disclosure;
[0014] Figure 3 is a schematic diagram of a text input box module according to an embodiment of the present disclosure;
[0015] Figure 4 is a schematic diagram of a picture upload module according to an embodiment of the present disclosure;
[0016] Figure 5 is a schematic diagram of a drop-down selection module according to an embodiment of the present disclosure;
[0017] Figure 6 is a schematic diagram of a multi-line text module according to an embodiment of the present disclosure;
[0018] Figure 7 is a schematic diagram of a rich text editing module according to an embodiment of the present disclosure;
[0019] Figure 8 is a schematic diagram of a time module according to an embodiment of the present disclosure;
[0020] Fig. 9 is a schematic diagram of a date module according to an embodiment of the present disclosure;
[0021] Fig.10 is a schematic diagram of a time period module according to an embodiment of the present disclosure;
[0022] Fig.11 is a flowchart of content editing in an embodiment of the present disclosure;
[0023] Fig.12 is a schematic diagram according to a third embodiment of the present disclosure;
[0024] Fig.13 is a schematic diagram according to a fourth embodiment of the present disclosure;
[0025] Fig.14 A schematic block diagram of an example electronic device that can be used to implement the content editing method of an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0026] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0027] Figure 1 is a schematic diagram according to the first embodiment of the present disclosure.
[0028] It should be noted that the executor of the content editing method of this embodiment is a content editing device, which can be implemented by software and / or hardware. The device can be configured in an electronic device, which may include but is not limited to a terminal, a server, etc.
[0029] The embodiments of the present disclosure relate to the fields of artificial intelligence technologies such as knowledge graphs and natural language processing.
[0030] Among them, Artificial Intelligence (AI) is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence.
[0031] Natural Language Processing (NLP) is a variety of theories and methods that can enable effective communication between humans and computers using natural language.
[0032] The knowledge graph is a modern theory that achieves the purpose of multidisciplinary integration by combining the theories and methods of applied mathematics, graphics, information visualization technology, information science and other disciplines with metrological citation analysis, co-occurrence analysis and other methods, and using visual graphs to vividly display the core structure, development history, frontier fields and overall knowledge architecture of the discipline.
[0033] like Figure 1 As shown, the content editing method includes:
[0034] S101: receiving a content editing request, where the content editing request includes: an initial content identifier and a content type.
[0035] Among them, the editing request for editing content can be called a content editing request, and the content can be, for example, text content, image content, video content, etc., without limitation.
[0036] In some embodiments, receiving a content editing request may be that the content editing device pre-provides a content editing request interface, and receives information that the user needs to edit based on the content editing request interface. The content editing device may then convert the information that the user needs to edit into a request message, and obtain corresponding content from a background content editing service based on the request message. The request message may be called a content editing request.
[0037] The content editing request includes: an initial content identifier and a content type.
[0038] Among them, the content currently to be edited can be called the initial content, and the initial content identifier can be specifically used to describe the content characteristics corresponding to the initial content, such as the storage location corresponding to the initial content, the number of characters contained, the semantic information corresponding to the initial content, the context information, etc., without limitation.
[0039] The parameter used to describe the general category of the initial content may be referred to as a content type, and the content type may be, for example, a text type, a web page type, a picture type, etc., without limitation.
[0040] S102: Determine the initial content corresponding to the initial content identifier.
[0041] After receiving the content editing request, the initial content corresponding to the initial content identifier in the content editing request may be determined.
[0042] That is, by determining the initial content identifier in the content editing request, the content corresponding to the initial content identifier can be determined from a plurality of contents according to the initial content identifier and used as the initial content.
[0043] In some embodiments, the initial content corresponding to the initial content identifier can be determined from multiple contents by determining the confidence of the initial content identifier and multiple contents, and combining a pre-set confidence threshold (the confidence threshold can be used to characterize the degree of association between the initial content identifier and the initial content). Alternatively, any other possible method can be used to determine the initial content corresponding to the initial content identifier, and there is no limitation to this.
[0044] For example, multiple confidence levels of the initial content identifier and multiple contents may be determined, and then the multiple confidence levels determined above may be compared with a preset confidence threshold. If the confidence level is greater than the preset confidence threshold, it may indicate that the correlation between the content and the initial content identifier is high, and the content may be used as the initial content corresponding to the initial content identifier.
[0045] S103: Determine a target editing module corresponding to the content type.
[0046] After receiving the content editing request, the content editing module corresponding to the content type in the content editing request may be determined.
[0047] Among them, the module used for editing the initial content can be called a content editing module.
[0048] That is to say, in order to implement the content editing method described in the embodiment of the present disclosure, a personalized content editing module can be pre-configured based on different content types, so that the corresponding configured content editing module can be used to process the initial content of the corresponding content type. The content editing module can be specifically a hardware module, or it can also be a virtual module, and there is no limitation on this.
[0049] For example, assuming that the content type is picture type, text type, and video type, a picture content editing module can be configured for the above picture type, a text content editing module can be configured for the above text type, and a video content editing module can be configured for the above video type, without any restriction.
[0050] In some embodiments, the content editing module can support describing the corresponding content in a computer programming language in the format of JavaScript Object Notation (JSON), where JSON is a text format that is completely independent of the language. That is to say, various initial contents can be defined by JSON to realize the editing of the initial contents, that is, the initial contents can be converted into a set of "name / value pairs", and JS (JavaScript, Java script) is used to parse and verify the converted set of "name / value pairs", and the editing processing rules corresponding to the content type are used. The editing processing rules corresponding to the content type can be called content editing logic, and the content editing logic can also be interpreted as some processing rules, processing algorithms, processing conditions, etc., without limitation.
[0051] In other embodiments, Hypertext Markup Language (HTML) can also be combined with each content editing module to build a user operation interface corresponding to the content editing module, thereby supporting users to use the user operation interface corresponding to the content type to assist in editing the corresponding content type. The content editing module can also be configured to be extensible, that is, according to actual content processing needs, an extended content editing module is configured, so that the extended content editing module is used to expand the existing content editing module, and there is no restriction on this.
[0052] In this embodiment, multiple content editing modules can be combined, and multiple modules combined together can be called a module group, that is, a module group includes one or more content editing modules. In the embodiment of the present disclosure, the division of module groups can be specifically based on the correlation between the content editing modules and the corresponding content types, or can also be divided according to other rules, for example, verification rules for user identity, etc., without limitation.
[0053] The module group in the embodiment of the present disclosure may also be referred to as a channel grouping, which can realize the identification and classification of the initial content, that is, the channel grouping can identify the initial content it receives and determine whether the initial content is content to be edited. If the content is content to be edited, the content can be classified to obtain the content type of the content, and the corresponding editing module can be matched according to the content type of the content. The editing module can be referred to as a target editing module.
[0054] For example, a channel group can be composed of a picture editing module, a video editing module, and a text editing module. The channel group can identify the initial content. If the content type corresponding to the identified initial content is a picture type, the picture editing module corresponding to the picture type can be determined and used as the target editing module.
[0055] S104: Edit the initial content using the content editing logic of the target editing module to obtain the target content.
[0056] Among them, the rules used to edit the initial content can be called content editing logic. Since different editing modules correspond to different content editing logics, after determining the target editing module corresponding to the content type, the content editing logic corresponding to the target editing module can be used to edit the initial content to obtain the edited content, which can be called target content.
[0057] In this embodiment, by receiving a content editing request, the content editing request includes: an initial content identifier and a content type, determining the initial content corresponding to the initial content identifier, determining a target editing module corresponding to the content type, and editing the initial content using the content editing logic of the target editing module to obtain the target content. Since the initial content is edited according to the content editing logic of the target editing module, the content editing method can be effectively simplified, thereby effectively ensuring the effect of content editing and effectively improving the efficiency of content editing.
[0058] Figure 2 is a schematic diagram according to a second embodiment of the present disclosure.
[0059] like Figure 2 As shown, the content editing method includes:
[0060] S201: receiving a content editing request, where the content editing request includes: an initial content identifier and a content type.
[0061] S202: Determine the initial content corresponding to the initial content identifier.
[0062] S203: Determine a target editing module corresponding to the content type.
[0063] The description of S201 - S203 can be specifically referred to the above embodiment, which will not be repeated here.
[0064] S204: Determine the target verification logic corresponding to the target editing module, where the target verification logic is used to perform verification processing on the user information to obtain a verification result.
[0065] Among them, the information related to the content editing user can be called user information.
[0066] The rules for verifying the user information may be referred to as verification logic, and the verification logic corresponding to the target editing module may be referred to as target verification logic.
[0067] After determining the target editing module corresponding to the content type, the target verification logic corresponding to the target editing module can be determined. The target verification logic is used to verify the user information to obtain a corresponding processing result, which can be called a verification result. Since the user information is verified according to the target verification logic corresponding to the target editing module, the rationality of the verification processing and the efficiency of the verification processing can be effectively improved, and the accuracy of the verification results can be effectively guaranteed, so that the content editing effect can be more effectively assisted in improving according to the verification results.
[0068] In some embodiments, in addition to editing the initial content, the editing module also supports verification of user information, that is, the editing module supports verification of user information. By verifying the user information, corresponding verification results can be obtained, and the verification results can be used to assist in executing subsequent content editing methods to obtain corresponding target content.
[0069] In the disclosed embodiments, since corresponding verification logic is configured for each editing module, personalized verification processing can be implemented. For example, editing module A can support users who meet condition A for editing, while editing module B can support users who meet condition B for editing. Condition A and condition B can be configured to be different, thereby avoiding separate management of user roles, and performing personalized verification processing for different user information, effectively meeting the personalized needs of verification processing.
[0070] Optionally, in some embodiments, determining the target verification logic corresponding to the target editing module may be determining the target channel group to which the target editing module belongs, the target channel group having the corresponding verification logic, and using the verification logic as the target verification logic. Since the target verification logic corresponding to the target channel group is determined by determining the target channel group to which the target editing module belongs, the target verification logic can be determined more accurately, thereby effectively ensuring the reliability of the verification processing results, avoiding separate management of user roles, and configuring the corresponding verification logic based on the dimension of channel grouping, which effectively simplifies the configuration method of the verification logic, improves verification efficiency, and ensures verification results. In terms of the research and development of content editing products, new content editing requirements do not require research and development access, and can be achieved by creating new channels, effectively saving research and development manpower.
[0071] Among them, multiple content editing modules can be combined, and multiple modules combined together will form a module group, which can also be called a channel group. Correspondingly, the channel group to which the target editing module belongs can be called a target channel group. Different target channel groups will correspond to different verification logics, and the verification logic corresponding to the target channel group can be called target verification logic.
[0072] For example, the target editing module can be combined with other modules to form a target channel group, and the channel group can have corresponding target verification logic.
[0073] For example, the target channel grouping can be composed of target editing module and text input box module, image upload module, drop-down selection module, multi-line text module, rich text editing module, time module, date module, time period module and other modules, such as Figure 3 , Figure 4 , Figure 5 , Figure 6 , Figure 7 , Figure 8 , Fig. 9 , Fig.10 As shown, Figure 3 is a schematic diagram of a text input box module according to an embodiment of the present disclosure, Figure 4 is a schematic diagram of a picture upload module according to an embodiment of the present disclosure, Figure 5 is a schematic diagram of a drop-down selection module according to an embodiment of the present disclosure, Figure 6 is a schematic diagram of a multi-line text module according to an embodiment of the present disclosure, Figure 7 is a schematic diagram of a rich text editing module according to an embodiment of the present disclosure, Figure 8 is a schematic diagram of a time module according to an embodiment of the present disclosure, Fig. 9 is a schematic diagram of a date module according to an embodiment of the present disclosure, Fig.10 It is a schematic diagram of the time period module according to an embodiment of the present disclosure. One or more modules in the above-mentioned target channel grouping can be combined with the target editing module to support editing and verification processing of different types of content. The verification logic can also be customized by changing the code logic of the above-mentioned one or more modules to achieve the verification requirements of different business scenarios.
[0074] For example, when editing text content, the text input box module and the corresponding target editing module in the target channel group can be combined to edit and verify the text content to implement the content editing method described in the embodiment of the present disclosure.
[0075] S205: Edit the initial content using the content editing logic of the target editing module to obtain reference content.
[0076] The initial content is directly edited using the content editing logic of the target editing module, and the content obtained by the direct editing is used as the reference content.
[0077] After obtaining the reference content, it may also be determined whether the process of editing the reference content satisfies the conditions. For details, please refer to the subsequent embodiments.
[0078] S206: Use the target verification logic to verify the user information to obtain a verification result.
[0079] After determining the target verification logic corresponding to the target editing module, the target verification logic can be used to verify the user information to obtain a verification result. According to the verification result, corresponding processing is performed on the reference content obtained by the above editing, and the content obtained by the corresponding processing is used as the target content.
[0080] For example, verification processing of user information can be to compare the user information with the user information that has been authorized to be edited. If the user information and the user information that has been authorized to be edited match, a verification result can be obtained that the user information and the user information that has been authorized to be edited match. If the user information and the user information that has been authorized to be edited do not match, a verification result can be obtained that the user information and the user information that has been authorized to be edited do not match.
[0081] In some embodiments, after the initial content is edited using the content editing logic of the target editing module to obtain reference content, the target verification logic can be used to verify the user information to obtain a verification result, and the reference content can be processed using the verification result to obtain the target content. In this way, content editing and information verification can be implemented based on the target editing module, which can improve the scalability of the content editing module while ensuring the reliability of the content editing results and the verification results, making the content editing method safer and meeting the personalized application scenario requirements to a greater extent.
[0082] S207: If the verification result indicates that the user information verification is passed, the reference content is used as the target content.
[0083] After the target verification logic is used to verify the user information and obtain the verification result, the reference content obtained above can be processed according to the verification result to obtain the target content.
[0084] In this embodiment, if the target verification logic is used to verify the user information, and the verification result is that the user information matches the authorized editing user information, the verification result indicates that the user information verification has passed, and the reference content can be directly used as the target content.
[0085] S208: If the verification result indicates that the user information verification fails, a preset correction processing logic is obtained, and the reference content is processed using the correction processing logic to obtain the target content.
[0086] The rules for performing correction processing on the reference content may be referred to as correction processing logic.
[0087] In some embodiments, if the target verification logic is used to verify the user information, and the verification result obtained is that the user information does not match the user information that has been authorized to be edited, then the verification result indicates that the user information verification has failed. Then, the preset correction processing logic can be obtained, and the correction processing logic can be used to correct the reference content to obtain the target content.
[0088] In this embodiment, since the reference content is processed accordingly based on the verification result, for example, when the verification result indicates that the user information verification has passed, the reference content can be used as the target content, so that the reference content can be flexibly processed according to the verification result, effectively reducing the complexity of content editing. When the verification result indicates that the user information verification has not passed, the preset correction processing logic can be obtained, and the correction processing logic can be used to process the reference content to obtain the target content, so that the reference content can be corrected according to the actual business scenario, effectively ensuring the reliability of the content editing results.
[0089] like Fig.11 As shown, Fig.11 It is a flowchart of content editing in the embodiment of the present disclosure, which can receive different types of initial content (for example: initial content 1, initial content 2), and define the initial content 1 and the initial content 2 respectively through JSON to obtain the corresponding content editing module 1, content editing module 2, content editing module 1, content editing module 2 can also respectively combine HTML to construct corresponding user operation interfaces for content editing users to perform corresponding content editing operations. In addition, content editing module 1 and content editing module 2 can also be combined with other modules to form channel grouping 1 and channel grouping 2. Channel grouping 1 and channel grouping 2 can manage user operation behaviors, and can also classify and process data, and combine the classified data with the verification logic corresponding to content editing module 1 and content editing module 2 respectively, so as to realize the verification processing task of user information.
[0090] In this embodiment, by receiving a content editing request, the content editing request includes: an initial content identifier and a content type, determining the initial content corresponding to the initial content identifier, determining a target editing module corresponding to the content type, and determining a target verification logic corresponding to the target editing module. The target verification logic is used to verify the user information to obtain a corresponding processing result, which can be called a verification result, which can effectively improve the rationality of the verification processing and the efficiency of the verification processing, and can effectively ensure the accuracy of the verification result, so that the effect of content editing can be more effectively assisted in improving the effect of content editing based on the verification result. After the initial content is edited using the content editing logic of the target editing module to obtain the reference content, the user information can be verified using the target verification logic to obtain the verification result, and the reference content can be processed using the verification result to obtain the target content. Therefore, based on the target editing module, content editing processing and information verification can be implemented, which can ensure the accuracy of the content editing result. While improving the reliability of the verification results, the scalability of the content editing module is improved, making the content editing method safer and meeting the personalized application scenario requirements to a greater extent. Since the reference content is processed accordingly according to the verification results, for example, when the verification result indicates that the user information verification is passed, the reference content can be used as the target content, so that the reference content can be flexibly processed according to the verification result, effectively reducing the complexity of content editing. When the verification result indicates that the user information verification is not passed, the preset correction processing logic is obtained, and the correction processing logic is used to process the reference content to obtain the target content, so that the reference content can be corrected according to the actual business scenario, effectively ensuring the reliability of the content editing results. In addition, in the product development of content editing products, it is possible to effectively avoid complex processes and editing rules of various content editing platforms, focus more on the content itself, and ensure that the edited content can be quickly and seamlessly output to various product lines for use, effectively reducing operating and maintenance costs.
[0091] Fig.12 is a schematic diagram according to a third embodiment of the present disclosure.
[0092] like Fig.12 As shown, the content editing device 120 includes:
[0093] The receiving module 1201 is used to receive a content editing request, where the content editing request includes: an initial content identifier and a content type;
[0094] A first determining module 1202, configured to determine the initial content corresponding to the initial content identifier;
[0095] A second determination module 1203 is used to determine a target editing module corresponding to the content type; and
[0096] The editing module 1204 is used to edit the initial content using the content editing logic of the target editing module to obtain the target content.
[0097] In some embodiments of the present disclosure, Fig.13 As shown, Fig.13 1 is a schematic diagram according to a fourth embodiment of the present disclosure, wherein the content editing device 130 comprises: a receiving module 1301, a first determining module 1302, a second determining module 1303, and an editing module 1304, wherein the content editing device 130 further comprises:
[0098] The third determination module 1305 is used to determine the target verification logic corresponding to the target editing module after determining the initial content corresponding to the initial content identifier, and the target verification logic is used to verify the user information to obtain a verification result.
[0099] In some embodiments of the present disclosure, the editing module 1304 includes:
[0100] The editing submodule 13041 is used to edit the initial content using the content editing logic of the target editing module to obtain the reference content;
[0101] The first processing submodule 13042 is used to perform verification processing on the user information using the target verification logic to obtain a verification result; and
[0102] The second processing submodule 13043 is used to process the reference content using the verification result to obtain the target content.
[0103] In some embodiments of the present disclosure, the second processing submodule 13043 is specifically used to:
[0104] If the verification result indicates that the user information is verified, the reference content is used as the target content;
[0105] If the verification result indicates that the user information verification fails, a preset correction processing logic is obtained, and the reference content is processed using the correction processing logic to obtain the target content.
[0106] In some embodiments of the present disclosure, the third determining module 1305 is specifically configured to:
[0107] Determine a target channel group to which the target editing module belongs, the target channel group having a corresponding verification logic;
[0108] The corresponding verification logic is used as the target verification logic.
[0109] It is understandable that the present embodiment Fig.13The content editing device 130 in the embodiment may have the same function and structure as the content editing device 120 in the above embodiment, the receiving module 1301 may have the same function and structure as the receiving module 1201 in the above embodiment, the first determination module 1302 may have the same function and structure as the first determination module 1202 in the above embodiment, the second determination module 1303 may have the same function and structure as the editing module 1204 in the above embodiment.
[0110] It should be noted that the above explanation of the content editing method is also applicable to the content editing device of this embodiment and will not be repeated here.
[0111] In this embodiment, by receiving a content editing request, the content editing request includes: an initial content identifier and a content type, determining the initial content corresponding to the initial content identifier, determining a target editing module corresponding to the content type, and editing the initial content using the content editing logic of the target editing module to obtain the target content. Since the initial content is edited according to the content editing logic of the target editing module, the content editing method can be effectively simplified, thereby effectively ensuring the effect of content editing and effectively improving the efficiency of content editing.
[0112] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0113] Fig.14 A schematic block diagram of an example electronic device that can be used to implement the content editing method of an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0114] like Fig.14 As shown, the device 1400 includes a computing unit 1401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1402 or a computer program loaded from a storage unit 1408 into a random access memory (RAM) 1403. In the RAM 1403, various programs and data required for the operation of the device 1400 can also be stored. The computing unit 1401, the ROM 1402, and the RAM 1403 are connected to each other via a bus 1404. An input / output (I / O) interface 1405 is also connected to the bus 1404.
[0115] A number of components in the device 1400 are connected to the I / O interface 1405, including: an input unit 1406, such as a keyboard, a mouse, etc.; an output unit 1407, such as various types of displays, speakers, etc.; a storage unit 1408, such as a disk, an optical disk, etc.; and a communication unit 1409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1409 allows the device 1400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0116] The computing unit 1401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1401 performs the various methods and processes described above, such as the content editing method. For example, in some embodiments, the content editing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1400 via ROM 1402 and / or communication unit 1409. When the computer program is loaded into RAM 1403 and executed by the computing unit 1401, one or more steps of the content editing method described above may be performed. Alternatively, in other embodiments, the computing unit 1401 may be configured to perform the content editing method in any other appropriate manner (e.g., by means of firmware).
[0117] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0118] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0119] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A 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, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0120] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0121] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0122] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0123] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0124] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A content editing method, comprising: receiving a content editing request, the content editing request including: an initial content identifier and a content type, wherein the initial content identifier is used to describe content features corresponding to the initial content; Determining the initial content corresponding to the initial content identifier, which includes: determining the initial content corresponding to the initial content identifier from the multiple contents by determining the confidence of the initial content identifier and the multiple contents, and combining a preset confidence threshold; determining a target editing module corresponding to the content type; and Editing the initial content using the content editing logic of the target editing module to obtain reference content, wherein the content editing logic includes: processing rules, processing algorithms, and processing conditions; Using the target verification logic to verify the user information to obtain the verification result; and Processing the reference content using the verification result to obtain target content; The determining of the target editing module corresponding to the content type includes: the module group identifies and classifies the initial content, matches the corresponding content editing module according to the content type of the initial content as the target editing module, wherein the module group is composed of a plurality of content editing modules; The content editing request further includes: user information to be verified, and after the initial content corresponding to the initial content identifier is determined, the method further includes: determining a target verification logic corresponding to the target editing module; The using the verification result to process the reference content to obtain the target content includes: If the verification result indicates that the user information is verified, the reference content is used as the target content; If the verification result indicates that the user information verification fails, a preset correction processing logic is obtained, and the reference content is processed using the correction processing logic to obtain the target content.
2. The method according to claim 1, wherein: The determining of the target verification logic corresponding to the target editing module includes: Determine a target channel group to which the target editing module belongs, the target channel group having a corresponding verification logic; The corresponding verification logic is used as the target verification logic.
3. A content editing device, comprising: A receiving module, configured to receive a content editing request, wherein the content editing request includes: an initial content identifier and a content type, wherein the initial content identifier is used to describe content features corresponding to the initial content; A first determination module is used to determine the initial content corresponding to the initial content identifier, which includes: determining the initial content corresponding to the initial content identifier from the multiple contents by determining the confidence of the initial content identifier and the multiple contents, and combining a preset confidence threshold value; A second determination module, configured to determine a target editing module corresponding to the content type; and An editing module, used to edit the initial content using the content editing logic of the target editing module to obtain the target content, wherein the content editing logic includes: processing rules, processing algorithms, and processing conditions; The second determination module is further used for the module group to identify and classify the initial content, and match the corresponding content editing module as the target editing module according to the content type of the initial content, wherein the module group is composed of multiple content editing modules; The content editing request further includes: user information to be verified, wherein the device further includes: A third determination module, configured to determine a target verification logic corresponding to the target editing module after determining the initial content corresponding to the initial content identifier; The editing module comprises: An editing submodule, configured to edit the initial content using the content editing logic of the target editing module to obtain reference content; a first processing submodule, configured to perform verification processing on the user information using the target verification logic to obtain the verification result; and A second processing submodule, configured to process the reference content using the verification result to obtain the target content; The second processing submodule is specifically used for: If the verification result indicates that the user information is verified, the reference content is used as the target content; If the verification result indicates that the user information verification fails, a preset correction processing logic is obtained, and the reference content is processed using the correction processing logic to obtain the target content.
4. The device according to claim 3, wherein: The third determination module is specifically used to: Determine a target channel group to which the target editing module belongs, the target channel group having a corresponding verification logic; The corresponding verification logic is used as the target verification logic.
5. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 2.
6. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-2.
7. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Online document content editing method and device, storage medium and electronic device
CN109635261A
Content editing method, editor generation method and device, equipment and medium
CN111914528A