Data processing method and device, electronic equipment and storage medium
By obtaining historical data collection and adding tag information, the data reuse problem in multimedia document creation is solved, the operation process and storage efficiency are optimized, and the convenience and efficiency of multimedia document creation is improved.
Patent Information
- Application Number
- CN202410841839.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-12-17
AI Technical Summary
When creating multimedia documents, the prior art is difficult to efficiently process and reuse multimedia data, resulting in cumbersome operations, inefficient efficiency, and waste of storage resources and maintenance difficulties.
By obtaining historical data collections, including multimedia data and description information, adding tag information to the document configuration page, generating target multimedia documents, avoiding copy and pasting operations, and improving user operation convenience.
Optimize the operation convenience of the multimedia document creation process, reduce user operation complexity and waste of storage resources, and improve data reuse efficiency.
Smart Images

Figure CN119149762A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device, electronic device and storage medium. Background Art
[0002] Multimedia documents can be used to intuitively and comprehensively describe the document subject of the multimedia document in a variety of forms. In actual applications, in the process of creating a multimedia document, data content unique to the multimedia document may be added to the multimedia document, or data content previously used in other multimedia documents may be added to the multimedia document.
[0003] How to determine the multimedia data to be added in a multimedia document and how to create a multimedia document using multimedia data have gradually become hot research issues. Summary of the invention
[0004] The embodiments of the present application provide a data processing method, device, electronic device and storage medium, which can optimize the operational convenience of the multimedia document creation process.
[0005] In a first aspect, an embodiment of the present application provides a data processing method, including:
[0006] When creating a multimedia document, if there is a triggering event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data;
[0007] Determining associated data from the multimedia data based on the description information of the multimedia data, and adding tag information of the associated data to a document configuration page;
[0008] A target multimedia document is generated based on the configured content in the document configuration page and the tag information.
[0009] In a second aspect, an embodiment of the present application provides a data processing device, including:
[0010] An acquisition unit, configured to acquire a historical data set when creating a multimedia document if there is a triggering event for adding associated data; the historical data set includes multimedia data and description information of the multimedia data;
[0011] an adding unit, configured to determine associated data from the multimedia data based on the description information of the multimedia data, and add tag information of the associated data to a document configuration page;
[0012] A generating unit is used to generate a target multimedia document based on the configured content in the document configuration page and the marking information.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor; and a memory configured to store computer-executable instructions, wherein the computer-executable instructions, when executed, cause the processor to execute the data processing method as described in the first aspect.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium for storing computer-executable instructions, which, when executed by a processor, implement the data processing method as described in the first aspect.
[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the data processing method as described in the first aspect.
[0016] It can be seen that in the embodiment of the present application, first, when creating a multimedia document, if there is a trigger event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data; then, based on the description information of the multimedia data, the associated data is determined from the multimedia data, and the tag information of the associated data is added to the document configuration page; finally, the target multimedia document is generated based on the configured content and tag information in the document configuration page. In this way, in the process of creating a multimedia document, the presence of a trigger event for adding associated data indicates that the multimedia document being created may need to add data content that has been used in other multimedia documents. On the one hand, when a historical data set including multimedia data is obtained in the presence of a trigger event for adding associated data, there is no need to open other multimedia documents and select part or all of the content for copying and pasting, and the operation is more convenient. On the other hand, the historical data set includes the description information of the multimedia data, which can facilitate intuitive viewing of the description information of the multimedia data and making a selection when inserting data. Then, the process of determining the multimedia data to be added in the multimedia document, as well as the entire process of generating the target multimedia document, requires almost no user operation, which optimizes the operational convenience of the multimedia document creation process. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions 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 recorded in this specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
[0018] Figure 1 A processing flow chart of a data processing method provided in an embodiment of the present application;
[0019] Figure 2 A processing flow chart of a data processing method applied to a knowledge configuration scenario provided in an embodiment of the present application;
[0020] Figure 3 An example diagram of a document configuration page provided in an embodiment of the present application;
[0021] Figure 4 An example diagram of a document display page provided in an embodiment of the present application;
[0022] Figure 5 An example diagram of a display page of a historical data set provided in an embodiment of the present application;
[0023] Figure 6 An example diagram of a display page for a general data set provided in an embodiment of the present application;
[0024] Figure 7 An example diagram of a display page of a preset instruction set provided in an embodiment of the present application;
[0025] Figure 8 A schematic diagram of a data processing device provided in an embodiment of the present application;
[0026] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0028] This specification provides a data processing method embodiment:
[0029] In the knowledge configuration scenario, in order to enrich the display effect of knowledge, the specific content of knowledge can be described in the form of multimedia data. For example, a multimedia document describing knowledge is created, and the knowledge targeted by the multimedia document is intuitively and comprehensively described in a variety of forms such as text data, image data, audio data, and video data.
[0030] A lot of knowledge contains duplicate content, which may be public knowledge or links. This means that in the process of creating multimedia documents that describe knowledge, it may be necessary to manually copy them in multiple places, which is cumbersome and inefficient. In addition, since redundant data content may consume too many storage resources, subsequent maintenance work is also troublesome. Once the duplicate content changes, the user has to modify the data content of each multimedia document that includes the duplicate content in turn.
[0031] If placeholders are used to replace repeated data content in order to save storage resources and improve maintenance efficiency, the user who creates the multimedia document is required to understand how to use the placeholders and be very familiar with a large number of other multimedia documents that describe knowledge that have been created. Therefore, for non-technical personnel or a user who takes over the creation of multimedia documents midway, the process of creating multimedia documents is very inconvenient to operate, difficult to create, and prone to errors.
[0032] Therefore, in order to solve the above problems, an embodiment of the present application provides a data processing method.
[0033] The data processing method provided in one or more embodiments of this specification may be applicable to an implementation environment of the data processing method, which implementation environment at least includes a server for processing data.
[0034] The server may be a single server, or a server cluster consisting of several servers, or one or more cloud servers in a cloud computing platform, for processing data.
[0035] In the implementation environment, when the server processes data, first, when creating a multimedia document, if there is a trigger event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data; then, based on the description information of the multimedia data, the associated data is determined from the multimedia data, and the tag information of the associated data is added to the document configuration page; finally, the target multimedia document is generated based on the configured content and tag information in the document configuration page. In this way, in the process of creating a multimedia document, the presence of a trigger event for adding associated data indicates that the multimedia document being created may need to add data content that has been used in other multimedia documents. On the one hand, when the historical data set including multimedia data is obtained in the presence of a trigger event for adding associated data, there is no need to open other multimedia documents and select part or all of the content for copying and pasting, and the operation is more convenient. On the other hand, the historical data set includes the description information of the multimedia data, which can facilitate intuitive viewing of the description information of the multimedia data and making a selection when inserting data. Then, the process of determining the multimedia data to be added in the multimedia document and the entire process of generating the target multimedia document require almost no user operation, which optimizes the operational convenience of the multimedia document creation process.
[0036] Figure 1 A processing flow chart of a data processing method provided in an embodiment of the present application. Figure 1 The data processing method provided in this embodiment specifically includes steps S102 to S106:
[0037] Step S102: when creating a multimedia document, if there is a triggering event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data.
[0038] Multimedia is a combination of multiple media, generally including text, sound, image and other media forms. In computer systems, multimedia refers to a human-computer interactive information exchange and communication medium that combines two or more media. The media used include text, pictures, photos, sound, animation and video, as well as the interactive functions provided by the program.
[0039] Multimedia documents refer to documents that contain multiple media elements, which usually include text, images, audio, video, animation, etc. Compared with traditional plain text documents, multimedia documents can provide a richer and more dynamic way of displaying information, enhancing the user's reading experience and interactivity.
[0040] A multimedia document may include one or more of the following: text data, audio data, video data, image data, and the like.
[0041] The triggering event for adding the associated data may be receiving an instruction for adding the associated data.
[0042] For example, there is a triggering event for adding associated data, which may be receiving a first instruction on a document configuration page of a multimedia document.
[0043] The document configuration page can be used to create a multimedia document, or it can be used to edit an already created multimedia document.
[0044] During specific implementation, the document configuration page of the multimedia document may be a page of an MTE (Multi-function Text Editor, rich text editor), or a page of any other application program that can be used to create multimedia documents.
[0045] Rich text editor is a text editor that can be embedded in the browser and is WYSIWYG. It can provide various editing functions such as bold font, font color change, image insertion, link insertion, video insertion, etc.
[0046] Exemplarily, the rich text editor may be Ckeditor5, UEditor, kindeditor, fckeditor, and the like.
[0047] To better understand the rich text editor, here is an introduction to rich text: Rich text is a special text format that is more colorful than ordinary text. Rich text can contain various fonts, colors, sizes, images, links, tables, videos and other elements to make the text more vivid and interesting. In programming, rich text editors are generally used to produce rich text. Compared with ordinary text, rich text has the following differences:
[0048] Rich format: Rich text can contain various fonts, colors, sizes, images, links, tables, videos and other elements to make the text more colorful. Compared with ordinary text, rich text can attract readers' attention and enhance the effect of information transmission.
[0049] Better display effect: Rich text can control the display effect of text through style and layout, making the text more beautiful and easy to read. Compared with ordinary text, rich text can better present the structure and hierarchy of the text, making it easier for readers to understand and digest the information.
[0050] More convenient editing: Rich text editors can provide a more friendly editing interface and toolbar, allowing users to easily edit text and adjust the format. Compared with ordinary text, rich text editors are more intuitive and convenient to use, which can greatly improve editing efficiency.
[0051] Worse compatibility: Since rich text contains a variety of formats and elements, it may be displayed inconsistently on different platforms and devices. At the same time, rich text is not very suitable for search engine optimization because search engines prefer simple plain text. Compared with ordinary text, rich text has certain defects in compatibility and SEO optimization.
[0052] In short, rich text is a text format that is more colorful than ordinary text. It can contain various fonts, colors, sizes, images, links, tables, videos and other elements. It has better display effects and editing experience, but there are also problems with compatibility and search engine optimization. In actual applications, it is necessary to choose whether to use ordinary text or rich text according to the specific situation.
[0053] The first instruction may be a data insertion instruction, which is used to trigger a data insertion operation.
[0054] For example, in a knowledge configuration scenario, associated knowledge of the currently configured knowledge may be inserted into the currently configured knowledge through a first instruction.
[0055] Associated knowledge means that any knowledge can be associated with other knowledge as part of this knowledge. The page is displayed in the form of a button or link, through which you can jump to view the associated knowledge.
[0056] The ordinal numbers such as "first" and "second" appearing in this specification are used to distinguish different technical features and have no actual meaning and will not be elaborated below.
[0057] In the case where the first instruction is a data insertion instruction, receiving the first instruction may be receiving a user input for a preconfigured data insertion control, and generating the data insertion instruction according to the user input.
[0058] For example, in a knowledge configuration scenario, the data configuration page includes a pre-configured "Insert associated knowledge" button control, and receiving the first instruction may be receiving a single-click input from the user to the "Insert associated knowledge" button control, and generating a data insertion instruction for inserting the associated knowledge based on the single-click input.
[0059] Receiving the first instruction may also be receiving a key input, and generating a data insertion instruction according to the key input.
[0060] For example, in the knowledge configuration scenario, the user pre-defined a key combination 1: key 1 + key 2, and the key combination 1 is used to trigger the data insertion instruction. When the user clicks key 1 + key 2 at the same time, the user terminal receives the user's key input and generates a data insertion instruction for inserting associated knowledge according to the key input.
[0061] The triggering event for adding associated data may also be detecting that a triggering condition for adding associated data is satisfied.
[0062] The trigger condition for adding associated data may be a trigger condition configured for input data, a trigger condition configured for user operation, a trigger condition configured for the multimedia document itself, and so on.
[0063] For example, there is a trigger event for adding associated data, which may be that the document configuration page of the multimedia document detects that the text data input by the user includes preset keywords, or that the document configuration page of the multimedia document detects that the image tags carried by the image data uploaded by the user include preset tags, or that the document configuration page of the multimedia document detects that the metadata information of the audio data uploaded by the user includes the creator information of the audio data, or that the cursor controlled by the user is detected to stay at the first preset position in the multimedia document for a time period greater than a preset time threshold, and so on.
[0064] The trigger event for adding associated data may also be the arrival of a preset time point, or other custom-configured trigger events, and so on.
[0065] For example, there is a triggering event for adding associated data, which may be reaching a first time point.
[0066] When creating a multimedia document, if there is a triggering event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data.
[0067] The number of multimedia data in the historical data set may be one or more. Each multimedia data has corresponding description information, and the description information is used to describe the data features of the multimedia data in one or more dimensions.
[0068] When the historical data set includes multiple multimedia data, the data types of any two multimedia data may be the same or different.
[0069] For example, the historical data set includes k multimedia data, and the data type of each multimedia data in the k multimedia data is the first data type. k is an integer greater than 1.
[0070] For another example, the historical data set includes n multimedia data, of which 5 multimedia data have a data type of the first data type, 10 multimedia data have a data type of the second data type, etc. n is an integer greater than 1.
[0071] The data type of each multimedia data may be one of a preset data type set.
[0072] Exemplarily, the preset data type set may include: multimedia documents, common data belonging to at least two multimedia documents, operation instructions, and the like.
[0073] In the case where the data type of the multimedia data is a multimedia document, the multimedia data may include one or more of the following: text data, audio data, video data, image data, and the like.
[0074] For example, when creating multimedia document 1, if there is a trigger event for adding associated data, a historical data set is obtained, and the historical data set includes multimedia document 2, multimedia document 3, and multimedia document 4 and description information of each multimedia document. Then the data types of the multimedia data "Multimedia Document 2", "Multimedia Document 3", and "Multimedia Document 4" are all multimedia documents.
[0075] In the case where the data type of multimedia data is a multimedia document, the description information of the multimedia data can be called first description information. The first description information can be used to describe the document characteristics of the corresponding multimedia document. For example, the first description information may include one or more of the following: the creator of the multimedia document, the creation time, the document subject content, document tags, document index information, and so on.
[0076] In the case where the data type of the multimedia data is general data, the multimedia data may include one or more of the following: text data, audio data, video data, image data, and the like.
[0077] In this specification, “common data” refers to multimedia data that is reused in at least two multimedia documents.
[0078] For example, multimedia document 1 includes text 1, image A, text 2, and video B, and multimedia document 2 includes text 3, image C, and text 2. Then text 2 belongs to both multimedia document 1 and multimedia document 2, that is, text 2 is reused by two multimedia documents. Then the data type of the multimedia data "text 2" is common data belonging to multimedia document 1 and multimedia document 2.
[0079] In the case where the data type of the multimedia data is common data belonging to at least two multimedia documents, the description information of the multimedia data can be referred to as second description information. The second description information can be used to describe data characteristics of the corresponding multimedia data. For example, the second description information may include one or more of the following: keywords of the data content, tag information of the multimedia data, the name of the multimedia data, and so on.
[0080] In the case where the data type of the multimedia data is an operation instruction, the multimedia data may be one of the preset instruction sets. The preset instruction set includes one or more candidate operation instructions, each of which may be used to perform a corresponding operation in the multimedia document.
[0081] During specific implementation, for each candidate operation instruction, a custom business parameter can be configured, and the page is displayed in a button style. Some custom functions can be implemented using the configured business parameters.
[0082] For example, operation instruction 1 is used to jump from the current page to the entry page of service 1. Operation instruction 2 is used to trigger the sending of a text message verification code. Operation instruction 3 is used to initiate an active call to an agent, and so on.
[0083] When the data type of the multimedia data is an operation instruction, the description information of the multimedia data can be called third description information. The third description information can be used to describe the characteristics of the corresponding operation instruction. For example, the third description information may include one or more of the following: the function of the operation instruction, usage method, applicable occasions, restriction conditions, etc.
[0084] After the historical data set is acquired, the historical data set may be displayed in a document configuration page of the multimedia document, so that the user can intuitively view the description information of each multimedia data in the historical data set and make a selection.
[0085] In a specific implementation, when receiving the first instruction, the server obtains the historical data set and sends the historical data set to the user terminal to display the historical data set.
[0086] The purpose of displaying the historical data set is to allow the user to view the insertable data and the corresponding description information before executing the data insertion operation corresponding to the first instruction, so that the user can select one or more of them to perform subsequent data insertion operations.
[0087] Each multimedia data in the historical data set is data that can be inserted into the multimedia document being created.
[0088] Acquiring the description information of multimedia data is conducive to the user's intuitive perception of the characteristics of each optional multimedia data. Acquiring one or more candidate multimedia data and the description information of each multimedia data, compared with the method of performing data insertion operations by configuring placeholders, does not require users to understand how to use placeholders, which reduces the requirements for professional skills of users who perform data configuration work, and even users who take over in the middle of the data configuration process can easily advance the data configuration work after viewing the description information of each multimedia data in the historical data set. Selecting one or more multimedia data from the historical data set for subsequent data insertion operations does not require professional skills for users. Therefore, by acquiring the historical data set including multimedia data and the description information of the multimedia data, the user-friendliness of the knowledge configuration process is improved.
[0089] Step S106: determining associated data from the multimedia data based on the description information of the multimedia data, and adding tag information of the associated data to the document configuration page.
[0090] Determining the associated data from the multimedia data based on the description information of the multimedia data may be, after displaying the description information of the multimedia data, receiving user input, determining the selected multimedia data according to the user input, and determining the selected multimedia data as the associated data.
[0091] For example, the historical data set includes multimedia data 1, multimedia data 2, multimedia data 3 and description information of each multimedia data. After viewing the historical data set, the user clicks the selection control of multimedia data 1. Based on the user input, the user terminal determines multimedia data 1 as related data.
[0092] The associated data may be determined from the multimedia data based on the description information of the multimedia data, or the multimedia data may be evaluated and processed based on the description information of the multimedia data in accordance with a preset evaluation method to obtain an evaluation score of the multimedia data, and one or more multimedia data may be selected from the historical data set as the associated data based on the evaluation score of the multimedia data.
[0093] For example, the preset evaluation method is to evaluate based on the relevance between the description information and a predetermined first theme: the stronger the relevance between the description information and the first theme, the higher the evaluation score of the multimedia data; the weaker the relevance between the description information and the first theme, the lower the evaluation score of the multimedia data.
[0094] In specific implementation, keyword extraction processing can be performed based on the description information to obtain the theme keywords of the multimedia data; similarity calculation processing can be performed on the theme keywords and the preset keywords of the first theme to obtain text similarity; and the evaluation score of the multimedia data is generated according to the text similarity. The greater the text similarity, the stronger the correlation between the description information of the multimedia data and the first theme, and the smaller the text similarity, the weaker the correlation between the description information of the multimedia data and the first theme.
[0095] The related data can be determined from the multimedia data based on the description information of the multimedia data. Alternatively, the data insertion position can be obtained, and the target data feature corresponding to the data insertion position can be queried in the correspondence between the pre-configured position and the data feature, and the historical data set can be screened and processed according to the target data feature and the description information to obtain one or more multimedia data, and the one or more multimedia data can be determined as the related data.
[0096] In the case where the target data feature includes the target data content, the historical data set is screened and processed according to the target data feature and the description information to obtain one or more multimedia data. The description information may be subjected to semantic recognition processing (Semantic Recognition Processing) to obtain a semantic recognition result. Based on the semantic recognition result, multimedia data matching the target data content is determined in the historical data set, and the matching multimedia data is determined as associated data.
[0097] The tag information of the associated data may be a page element inserted into the document configuration page, and the page element represents the associated data. The tag information of the associated data is essentially an identifier, and the identifier can be used for the server to query and obtain the associated data. The tag information of the associated data may be represented in text form.
[0098] For example, on the user terminal that performs knowledge configuration, the tag information of the associated data "Associated knowledge: 001" is inserted into the document configuration page that can be seen by the user who performs the knowledge configuration operation. From a visual point of view, the tag information is text with a blue font color and underline, but in fact, the tag information is different from ordinary text data, and the back-end server can distinguish between ordinary text data and the tag information.
[0099] Considering that the multimedia data in the historical data set may include a large amount of data content, if the data content of a multimedia data is directly added to the document configuration page of the multimedia document, it may cause data redundancy and waste data storage resources. Therefore, in the data processing method provided in this embodiment, after determining the associated data, the tag information of the associated data is added to the document configuration page instead of adding the data content of the associated data to the document configuration page. For example, the associated data includes text 1, picture 2, text 3 and video 4, and the tag information of the associated data is "associated data 001".
[0100] Step S108: Generate a target multimedia document based on the configured content and tag information in the document configuration page.
[0101] The configured content in the document configuration page may include multimedia data added to the document configuration page, such as text data, image data, audio data, video data, and the like.
[0102] The target multimedia document is a multimedia document that has been created. The target multimedia document is substantially the same document as the "multimedia document" in the aforementioned step S102.
[0103] Generating the target multimedia document based on the configured content and mark information in the document configuration page may be to perform document creation processing according to the configured content and mark information to obtain the target multimedia document.
[0104] The target multimedia document can be generated based on the configured content and tag information in the document configuration page, or the document template information can be obtained, and the document creation process can be performed according to the document template information, the configured content and tag information in the document configuration page to obtain the target multimedia document.
[0105] For example, to create a new multimedia document, the user first selects a template. After selecting the template, the corresponding document template interface is displayed in the document configuration page. The user can add text data, image data, audio data, video data, etc. in the document template interface. The data added by the user is the configured content. The user can also add tag information in the document template interface.
[0106] Acquiring the document template information may include reading a template identifier of a predetermined target document template.
[0107] In a specific implementation, the data processing method further includes: when the target multimedia document is queried, generating associated content in the target multimedia document according to the data type of the associated data and the tag information of the associated data.
[0108] The number of associated data can be multiple.
[0109] Among the plurality of associated data, the data type of each associated data may be one of a preset data type set.
[0110] Exemplarily, the preset data type set includes but is not limited to: multimedia documents, common data belonging to at least two multimedia documents, and operation instructions, etc.
[0111] For example, when the data type of the associated data is a multimedia document, the tag information of the associated data is “Multimedia Document 001”; when the data type of the associated data is general data, the tag information of the associated data is “General Data 001”; when the data type of the associated data is an operation instruction, the tag information of the associated data is “Operation Instruction 001”.
[0112] The associated content refers to the content of the associated data displayed when the target multimedia document is queried.
[0113] For example, the data type of the associated data is multimedia document, and the tag information of the associated data is "Multimedia Document 001". When the target multimedia document is queried, the associated content "XXXX.XXX.XXX" is generated in the target multimedia document according to the data type "Multimedia Document" and the tag information "Multimedia Document 001". The associated content "XXXX.XXX.XXX" is an access address that can be used to access another multimedia document outside the target multimedia document, that is, the multimedia document corresponding to the tag information "Multimedia Document 001".
[0114] For another example, the data type of the associated data is general data, and the tag information of the associated data is "general data X". The data content of the associated data represented by the tag information "general data X" includes: text 1, text 2, image 1, and video 1. When the target multimedia document is queried, the associated content is generated in the target multimedia document according to the data type "general data" and the tag information "general data X": text 1, text 2, image 1, and video 1.
[0115] For another example, the data type of the associated data is an operation instruction, and the tag information of the associated data is "operation instruction K". The associated data represented by the tag information "operation instruction K" is an operation instruction for triggering the server to send a dynamic SMS verification code. When the target multimedia document is queried, according to the data type "operation instruction" and the tag information "operation instruction K", the associated content is generated in the target multimedia document: a circular button control, and "Send verification code" is displayed on the right side of the button control. The button control is used to trigger the operation instruction K, and the operation instruction K can cause the server to send a dynamic SMS verification code.
[0116] It should be emphasized that after adding tag information of related data at a certain position on the document configuration page and generating a target multimedia document, when the target multimedia document is queried, the query page displays the related content instead of the tag information at the position where the tag information was originally displayed.
[0117] For example, in the document configuration page, tag information X is added between text 1 and text 2, and after a multimedia document is generated, when the target multimedia document is queried, the query page displays the associated content X' between text 1 and text 2, and no longer displays X. That is, in the document configuration page, the user sees text 1+X+text 2, and in the query page, the user sees text 1+X'+text 2.
[0118] In a specific implementation, related content is generated in a target multimedia document according to the data type of the related data and the tag information of the related data, including: if the data type of the related data is a multimedia document, a jump link is generated from the target multimedia document to the related data according to the tag information; if the data type of the related data is common data belonging to at least two multimedia documents, data content of the related data is generated according to the tag information; if the data type of the related data is an operation instruction, an operation control for triggering the related data is generated according to the tag information.
[0119] If the data type of the associated data is a multimedia document, in order to facilitate the distinction between different multimedia documents, the associated data can be called a first multimedia document. When the target multimedia document is queried, a jump link from the target multimedia document to the first multimedia document is generated according to the tag information.
[0120] When the target multimedia document is queried, the target access address of the first multimedia document is queried based on the correspondence between the pre-configured document identifier and the access address and the first document identifier representing the first multimedia document; and a jump link from the target multimedia document to the first multimedia document is generated based on the target access address.
[0121] In a specific implementation, the data type of the associated data is a multimedia document, and the tag information of the associated data includes a first document identifier. If a data query request carrying a second document identifier of a target multimedia document is received, the configuration information of the target multimedia document is parsed to obtain the first document identifier; the target access address of the first multimedia document is obtained by querying based on the correspondence between the first document identifier and the pre-configured document identifier and the access address; in the process of rendering the page according to the configuration information of the target multimedia document, a jump link is generated from the target multimedia document to the first multimedia document according to the target access address, and the first document identifier is replaced by the jump link.
[0122] The configuration information of the target multimedia document may be automatically generated based on the data in the document configuration page after the target multimedia document is created.
[0123] Each multimedia document may have a unique corresponding document identifier.
[0124] The pre-configured correspondence between the document identifier and the access address, for example, the document identifier "Multimedia Document 001" corresponds to the access address S1; the document identifier "Multimedia Document 002" corresponds to the access address S2; the document identifier "Multimedia Document 003" corresponds to the access address S3.
[0125] Exemplarily, the target access address may be a URL (uniform resource locator) address of the first multimedia document, or may be any other address information that can be used to access the first multimedia document.
[0126] URL is an address used to identify a resource on the Internet. It contains all the information needed to obtain the resource, such as protocol, server address, path, etc. Users can directly access specific web pages or network resources by entering the URL.
[0127] Exemplarily, a jump link can be a hyperlink on a web page, which allows a user to jump from one page to another page or resource by clicking a link. Jump links are an important means of web page content organization and navigation, which can help users quickly access relevant information or gain in-depth understanding of a topic.
[0128] Each jump link contains a corresponding access address, which is the web address that the user will be directed to after clicking the jump link. The access address is static and directly points to a specific resource; while the jump link is dynamic and realizes the jump between pages through user interaction (for example, clicking).
[0129] Generating a jump link from the target multimedia document to the first multimedia document according to the target access address may be to perform hyperlink creation processing according to the target access address to obtain a hyperlink corresponding to the target access address, and use the hyperlink as a jump link from the target multimedia document to the first multimedia document.
[0130] The position of the jump link in the query page of the target multimedia document is determined by the adding position of the first document identifier in the document configuration page. When the querying user clicks the jump link, the user terminal jumps from the query page of the target multimedia document to the query page of the first multimedia document.
[0131] Taking the example that the first document identifier in the document configuration page of the target multimedia document is located at the first preset position, by replacing the first document identifier with the jump link, the jump link instead of the first document identifier can be displayed at the first preset position in the query page of the target multimedia document.
[0132] For a configuration user who performs a document configuration operation, what is seen on the document configuration page of the target multimedia document is the first document identifier. For a query user who performs a data query operation, what is seen on the query page of the target multimedia document is a jump link. Considering that the identifier has a smaller amount of data than the access address, the amount of data added during the document configuration process can be reduced by rendering the first document identifier as a jump link.
[0133] If the data type of the associated data is general data, the associated data may be referred to as first general data. When the target multimedia document is queried, the data content of the first general data is generated according to the tag information.
[0134] When the target multimedia document is queried, the target data content of the first general data is queried and obtained according to the correspondence between the pre-configured data identifier and the data content and the first data identifier representing the first general data.
[0135] In a specific implementation, the data type of the associated data is general data, and the tag information of the associated data includes a first data identifier. If a data query request carrying a second document identifier of a target multimedia document is received, the configuration information of the target multimedia document is parsed to obtain the first data identifier; the target data content of the first general data is obtained by querying based on the correspondence between the first data identifier and the pre-configured data identifier and the data content; and in the process of rendering the page according to the configuration information of the target multimedia document, the first data identifier is replaced by the target data content.
[0136] The data content includes but is not limited to: text data, image data, audio data, video data, etc.
[0137] For example, data content 1 includes text 1 and image 1, data content 2 includes audio data 2, and data content 3 includes image 2 and image 3.
[0138] Each common data may have a unique corresponding data identifier.
[0139] The correspondence between the pre-configured data identifier and the data content, for example, the data identifier "general data 001" corresponds to the data content D1; the data identifier "general data 002" corresponds to the data content D2; the data identifier "general data 003" corresponds to the data content D3.
[0140] Taking the example of the first data identifier being located at the second preset position in the document configuration page of the target multimedia document, by replacing the first data identifier with the target data content, the data content of the first general data, rather than the first data identifier, can be displayed at the second preset position in the query page of the target multimedia document.
[0141] Next, the concept of using the first data identifier during configuration and displaying the data content during query is exemplified by taking the knowledge configuration scenario as an example:
[0142] The reason why the first data identifier of the first general data is added to the document configuration page, and the data content of the first general data is displayed when the target multimedia document is queried, is that the configuration user who performs the document configuration operation has a high degree of knowledge of the target multimedia document, and may repeatedly use part of the same data in the process of processing a large number of multimedia documents. For example, the first general data, when there is a lot of the same data content, the configuration user does not need to view the complete data content, but for the query user who performs the data query operation, the query user has the need to view the complete data content of the multimedia document, and no matter how many multimedia documents the same general data is reused, the query user may only query individual multimedia documents, and the general data may be seen for the first time by the query user and should not be omitted.
[0143] If the data type of the associated data is an operation instruction, the associated data may be referred to as a first operation instruction. When the target multimedia document is queried, an operation control that triggers the first operation instruction is generated according to the tag information.
[0144] When the target multimedia document is queried, the target operation control of the first operation instruction is queried and obtained according to the pre-configured correspondence between the instruction identifier and the operation control and the first instruction identifier representing the first operation instruction.
[0145] In a specific implementation, the data type of the associated data is an operation instruction, and the tag information of the associated data includes a first instruction identifier representing a first operation instruction. If a data query request carrying a second document identifier of a target multimedia document is received, the configuration information of the target multimedia document is parsed to obtain the first instruction identifier; the target operation control of the first operation instruction is obtained by querying based on the correspondence between the first instruction identifier and the pre-configured instruction identifier and the operation control; in the process of rendering the page according to the configuration information of the target multimedia document, the first instruction identifier is replaced by the target operation control.
[0146] Each operation instruction may have a unique corresponding instruction identifier.
[0147] The correspondence between the pre-configured instruction identifier and the operation control, for example, the instruction identifier "operation instruction A01" corresponds to the operation control K1; the instruction identifier "operation instruction A02" corresponds to the operation control K2; the instruction identifier "operation instruction A03" corresponds to the operation control K3.
[0148] Exemplarily, the first instruction is identified as "operation instruction A01", and the target operation control is a rectangular button control, which displays "initiate a call".
[0149] Taking the example of the first instruction identifier being located at the third preset position in the document configuration page of the target multimedia document, by replacing the first instruction identifier with the target operation control, the target operation control, instead of the first instruction identifier, is displayed at the third preset position in the query page of the target multimedia document.
[0150] For a configuration user who performs a document configuration operation, what is seen in the document configuration page of the target multimedia document is the first instruction identifier. For a query user who performs a data query operation, what is seen in the query page of the target multimedia document is the target operation control. By rendering the first instruction identifier as a target operation control, personalized functions can be customized for the query page of the target multimedia document, thereby improving the query user experience.
[0151] In a specific implementation, the data type of the associated data is a multimedia document. After generating a jump link from the target multimedia document to the associated data according to the tag information, the data processing method further includes: when the storage address information of the associated data is updated, updating the jump link according to the updated storage address information.
[0152] In specific implementation, the correspondence between the document identifier and the multimedia document may be pre-configured, and the correspondence between the multimedia document and the access address may be pre-configured.
[0153] For example, the document identifier “Multimedia Document 001” is used to represent multimedia document 1; the document identifier “Multimedia Document 002” is used to represent multimedia document 2; and the document identifier “Multimedia Document 003” is used to represent multimedia document 3.
[0154] The access address of multimedia document 1 is S1; the access address of multimedia document 2 is S2; and the access address of multimedia document 3 is S3.
[0155] When the correspondence between the document identifier and the multimedia document remains unchanged, and the correspondence between the multimedia document and the access address remains unchanged, the correspondence between the document identifier and the access address can be indirectly determined.
[0156] However, in actual applications, if a multimedia document is updated, it is possible that the address information of the query page displaying the multimedia document, that is, the access address of the multimedia document, will change.
[0157] In the case where the data type of the associated data is a multimedia document, the storage address information of the associated data refers to an access address of a pre-stored multimedia document.
[0158] When it is detected that the access address of the multimedia document has changed, the corresponding relationship between the multimedia document and the access address may be updated according to the updated access address.
[0159] For example, the access address of multimedia document 2 is updated from S2 to S2'. After the correspondence between multimedia documents and access addresses is updated according to the updated access address, the access address of multimedia document 1 is S1; the access address of multimedia document 2 is S2'; and the access address of multimedia document 3 is S3.
[0160] When the storage address information of the associated data is updated, the specific implementation process of updating the jump link according to the updated storage address information is as follows:
[0161] After the storage address information of the associated data is updated, the correspondence between the multimedia document and the access address is updated according to the updated access address to obtain the updated correspondence between the multimedia document and the access address; when the target multimedia document is queried, the target access address of the first multimedia document is obtained according to the first document identifier, the correspondence between the pre-configured document identifier and the multimedia document, and the correspondence between the updated multimedia document and the access address; and a jump link is generated from the target multimedia document to the first multimedia document according to the target access address.
[0162] The jump link from one multimedia document to another multimedia document is determined by the access address of the "another multimedia document". Visually, for example, if the access address of the other multimedia document is S1, then when querying the target multimedia document, the jump link that the querying user sees is a hyperlink "S1". If this hyperlink "S1" is added to the document configuration page during the configuration process, the hyperlink can be directly displayed when it is displayed, but there is a problem with this, that is, if the access address "S1" of the "another multimedia document" changes to "S2", then it is necessary to manually modify the added hyperlink in the document configuration page.
[0163] In this embodiment, what is added to the document configuration page is the tag information of the "another multimedia document", that is, the first document identifier.
[0164] The advantage of this is that if the access address "S1" of "another multimedia document" changes to "S2", then the configuration information of the target multimedia document does not need to be modified, because when the target multimedia document is queried, the latest address "S2" will be automatically found based on the first document identifier, and a hyperlink "S2", that is, a jump link, will be generated based on the latest address "S2", and the first document identifier in the configuration information will be replaced by the jump link. Then, in fact, the page that the user sees after the query displays the hyperlink "S2", rather than the hyperlink "S1" corresponding to the access address S1 before the change.
[0165] The following is an introduction to the concept of using the first document identifier during configuration and displaying the jump link during query:
[0166] Considering that the document identifier is used to represent the multimedia document, and the multimedia document has a corresponding access address, the backend can automatically update the correspondence between the multimedia document and the access address. Therefore, when the target multimedia document is queried, the target access address obtained by querying using the first document identifier is the updated access address of the first multimedia document, that is, no matter how the access address changes, there is no need to modify the first document identifier added in the first multimedia document.
[0167] In the case where the access address of each multimedia document may change, if a jump link determined by the access address is directly added to the document configuration page instead of marking information, once the access address changes, each jump link that has been added needs to be modified in turn.
[0168] Compared with directly adding a jump link determined by the access address in the document configuration page, using the first document identifier during configuration can reduce subsequent maintenance work. For example, in a knowledge configuration scenario, the configuration user does not need to modify the links inserted in multiple knowledge associated with a knowledge one by one after the address of the knowledge changes.
[0169] In a specific implementation, the data processing method further includes: after the target multimedia document is created, generating target description information of the target multimedia document according to the target multimedia document, and updating the historical data set according to the target multimedia document and the target description information.
[0170] After the target multimedia document is created, the server may convert the data collected through the document configuration page into configuration information of the target multimedia document.
[0171] Generating the target description information of the target multimedia document according to the target multimedia document may be to extract data at a specified position from the configuration information of the target multimedia document and use the extracted data as the target description information of the target multimedia document. For example, the beginning of each multimedia document includes an introduction information, and the introduction information uses a brief text to describe the main content of the multimedia document. The server may extract the introduction information from the beginning of the target multimedia document as the target description information of the target multimedia document.
[0172] The target description information of the target multimedia document may be generated according to the target multimedia document, or the tag information of the target multimedia document may be extracted from the configuration information of the target multimedia document, and the tag information may be used as the target description information of the target multimedia document. The tag information may be manually selected and added during the document configuration process, or may be tag information annotated according to the classification result after the target multimedia document is classified by a machine learning model.
[0173] The historical data set is updated according to the target multimedia document and the target description information. The target multimedia document and the target description information can be directly inserted into the historical data set, or the target multimedia document can be classified to obtain the target group identifier of the target multimedia document, and then the target multimedia document and the target description information are inserted into the data subset corresponding to the target group identifier in the historical data set based on the target group identifier.
[0174] The historical data set may include multimedia documents and description information of the multimedia documents. If dynamically changing data is inserted by means of "placeholders", the user who performs the document configuration operation needs to have a full understanding of how to use the placeholders and the created multimedia documents when inserting data, which is less user-friendly. The data processing method provided in this embodiment, on the one hand, the historical data set may include description information of the multimedia documents, which is conducive to the user who performs the data configuration operation to intuitively see the description information of the multimedia documents and make a selection when inserting data, or to automatically select a multimedia document suitable for insertion using the description information. Then, the process of determining a suitable multimedia document to be inserted from the historical data set has no requirements for user operation, does not have technical difficulties, and improves user-friendly operation. On the other hand, the historical data set can be automatically updated along with the completion of the data creation of the multimedia document, and the user does not need to manually configure the historical data set, which reduces the workload of manual configuration and can avoid the omission of multimedia documents in the historical data set caused by the slow update of the manually configured historical data set.
[0175] In a specific implementation method, target description information of a target multimedia document is generated based on the target multimedia document, including: if the target multimedia document includes text data, the text data is segmented to obtain a segmentation result; statistical processing is performed based on the segmentation result, and based on the statistical result, a target segmentation whose occurrence frequency is greater than a preset frequency threshold is determined; and target description information is generated based on the target segmentation.
[0176] In the field of NLP (Natural Language Processing), tokenization is an operation that divides text into a sequence of strings according to specific requirements.
[0177] The word segmentation process may adopt a dictionary-based method, an understanding-based word segmentation method, or a statistics-based word segmentation method. This embodiment does not impose any special restrictions on the specific word segmentation method.
[0178] The word segmentation result may include multiple word segments corresponding to the text data. Based on the word segmentation result, the occurrence frequency of each word segmentation may be counted, and then, the occurrence frequency of each word segmentation may be compared with a preset frequency threshold, and a target word segmentation having an occurrence frequency greater than the preset frequency threshold may be determined.
[0179] The preset frequency threshold may be a custom-configured threshold of the occurrence frequency of a segmented word.
[0180] For example, the target multimedia document includes a total of 100 segmented words, the preset frequency threshold is 10%, and in the segmented results, segmented word 001 appears 5 times, segmented word 002 appears 2 times, segmented word 003 appears 1 time, segmented word 004 appears 16 times... segmented word 004 is determined as the target segmented word whose occurrence frequency is greater than the preset frequency threshold.
[0181] The target word appears frequently in the text data, indicating that the target word is likely to be related to the subject content of the target multimedia document.
[0182] The target description information is generated based on the target segmentation, which may be obtained by concatenating the target segmentation, or by matching the target segmentation with each preset description information in a preset description information set to obtain the target description information, and so on.
[0183] In a specific implementation, the data processing method further includes: setting a first type of tag information for text data in the target multimedia document; and setting a second type of tag information for markup information in the target multimedia document.
[0184] The target multimedia document may include text data. In step S104, the target multimedia document includes tag information.
[0185] The server may store the marking information of each multimedia data in the historical data set.
[0186] It should be noted that, although the tag information is in text form, the server can use the tag information of each multimedia data in the pre-stored historical data set to distinguish whether the text-form data is ordinary text data or tag information.
[0187] For example, the server can match the text-form data with the tag information of each multimedia data in the historical data set during the process of processing the data collected in the document configuration page of the target multimedia document. If the text-form data successfully matches the tag information of any multimedia data, it can be determined that the text-form data is the tag information. If the text-form data fails to match the tag information of any multimedia data, it can be determined that the text-form data is text data without tag information.
[0188] In specific implementation, after determining that the data in text form is text data, the server can set the first type of tag information for the text data. After determining that the data in text form is tag information, the server can set the second type of tag information for the tag information.
[0189] The second type of tag information may include at least one sub-tag information, for example, a first sub-tag representing a multimedia document, a second sub-tag representing general data, and a third sub-tag representing an operation instruction.
[0190] By converting ordinary text data and tag information into different types of tag information, it is convenient to use the tag information to quickly determine the rendering method of different data in the subsequent data query process. For example, the first type of tag information is rendered as text data, the first sub-tag is rendered as a jump link, the second sub-tag is rendered as data content, the third sub-tag is rendered as an operation control, and so on.
[0191] In such Figure 1In the embodiment shown, first, when creating a multimedia document, if there is a trigger event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data; then, based on the description information of the multimedia data, the associated data is determined from the multimedia data, and the tag information of the associated data is added to the document configuration page; finally, the target multimedia document is generated based on the configured content and tag information in the document configuration page. In this way, in the process of creating a multimedia document, the presence of a trigger event for adding associated data indicates that the multimedia document being created may need to add data content that has been used in other multimedia documents. On the one hand, when the historical data set including multimedia data is obtained in the case of a trigger event for adding associated data, there is no need to open other multimedia documents and select part or all of the content for copying and pasting, and the operation is more convenient. On the other hand, the historical data set includes the description information of the multimedia data, which can facilitate intuitive viewing of the description information of the multimedia data and making a selection when inserting data. Then, the process of determining the multimedia data to be added in the multimedia document and the entire process of generating the target multimedia document require almost no user operation, which optimizes the operational convenience of the multimedia document creation process.
[0192] The following takes the application of a data processing method provided in this embodiment in a knowledge configuration scenario as an example. Figure 2-Figure 7 For further explanation of the data processing method provided in this embodiment, see Figure 2 , the data processing method applied to the knowledge configuration scenario specifically includes the following steps.
[0193] Step S202, configure the knowledge terminal.
[0194] In this embodiment, each multimedia document may be a knowledge resource, and the knowledge resource will be referred to as knowledge hereinafter. The target multimedia document may be target knowledge.
[0195] Knowledge is human knowledge that is discovered and created through intellectual labor and enters the economic system. Knowledge can bring huge wealth to mankind through materialization, promote material production, thereby generating market value, or directly serve as an object of spiritual consumption. Knowledge is the result of human beings' understanding of the world (including human beings themselves) in practice, including the description of facts, information, or skills acquired in education and practice.
[0196] For example, knowledge 1 includes answer information 1 for question 1, knowledge 2 includes answer information 2 for question 2, and knowledge 3 includes answer information 3 for question 3. Answer information 1 includes text and pictures. Answer information 2 includes text and video. Answer information 3 includes text, pictures, audio, video, and links. When a user wants to know how to solve question 2, he or she can query the data content of knowledge 2 as a reference.
[0197] The knowledge end refers to an application or system used to perform knowledge configuration operations. For example, the knowledge end can be a rich text editor or other applications or systems that can process multimedia data. The following uses a rich text editor as an example to illustrate how to configure the knowledge end. For other applications or systems that can process multimedia data, please refer to the corresponding instructions of the rich text editor.
[0198] Configuring the knowledge end can include the ability to insert associated knowledge for the rich text editor package. Figures 2 to 7 In some of the embodiments shown, the associated knowledge may refer to the associated knowledge whose data type is multimedia documents in the aforementioned method embodiments.
[0199] The configuration knowledge end may include the ability to encapsulate insert function instructions for the rich text editor. Figures 2 to 7 In some of the embodiments shown, the functional instructions may refer to the associated knowledge of the data type being the operation instruction in the aforementioned method embodiments.
[0200] Configuring the knowledge end may include the ability to encapsulate and insert common knowledge into a rich text editor. Figures 2 to 7 In some of the illustrated embodiments, the common knowledge may refer to the associated knowledge whose data type is general data in the aforementioned method embodiments.
[0201] It should be noted that the executor of the configuration knowledge end and the executor of steps S204 to S210 may belong to two different business parties.
[0202] For example, a first business party produces a knowledge configuration system and provides the knowledge configuration system to multiple tenants. In a multi-tenant scenario, each tenant has an independent business system and knowledge configuration requirements.
[0203] Each tenant has a corresponding knowledge domain, and the knowledge domains of different tenants are very different. For different tenants, the associated knowledge and common knowledge are isolated based on the knowledge domain.
[0204] The first business party provides a knowledge configuration system, which has the ability to insert related knowledge, common knowledge and function instruction configuration. It should be noted that although the first business party provides the function instruction configuration capability, it does not provide specific function instructions.
[0205] The specific associated knowledge can be manually configured by the second business party as a tenant, or can be referred to as Figure 1The corresponding part of the implementation method shown in the embodiment "after the target multimedia document is created, the target description information of the target multimedia document is generated according to the target multimedia document, and the historical data set is updated according to the target multimedia document and the target description information" is automatically updated after the second business party completes the creation of each knowledge.
[0206] Specific common knowledge is custom configured by the second business party. For example, the user of the second business party needs to configure 10 pieces of knowledge, each piece of knowledge includes a question-answer pair, and the word "XXXX" appears in each piece of knowledge. In this case, "XXXX" can be inserted as common knowledge during knowledge configuration.
[0207] The specific functional instructions are custom configured by the second business party.
[0208] Step S204, inserting related knowledge in an interface.
[0209] When creating the target knowledge, if there is a trigger event for adding associated knowledge, a historical data set is obtained; the historical data set includes the associated knowledge and the first description information of the associated knowledge; based on the first description information of the associated knowledge, the target associated knowledge to be inserted is determined from the associated knowledge, and the first tag information of the target associated knowledge is added to the document configuration page.
[0210] Specifically, this step can refer to the aforementioned Figure 1 The corresponding description part of step S102 to step S104 in the embodiment.
[0211] Step S206, inserting function instructions into the interface.
[0212] When creating target knowledge, if there is a trigger event for adding a functional instruction, a historical data set is obtained; the historical data set includes the functional instructions and the third description information of the functional instructions; based on the third description information of the functional instructions, the target functional instructions to be inserted are determined from the functional instructions, and the third marking information of the target functional instructions is added to the document configuration page.
[0213] Specifically, this step can refer to the aforementioned Figure 1 The corresponding description part of step S102 to step S104 in the embodiment.
[0214] Step S208, inserting common knowledge through the interface.
[0215] When creating the target knowledge, if there is a trigger event for adding common knowledge, a historical data set is obtained; the historical data set includes common knowledge and second description information of the common knowledge; based on the second description information of the common knowledge, the target common knowledge to be inserted is determined from the common knowledge, and the second tag information of the target common knowledge is added to the document configuration page.
[0216] Specifically, this step can refer to the aforementioned Figure 1 The corresponding description part of step S102 to step S104 in the embodiment.
[0217] Step S210: manually input differential knowledge content.
[0218] The differential knowledge content can be regarded as the data content in the target multimedia document that is different from each multimedia data in the historical data set, that is, the data content unique to the target multimedia document.
[0219] Users can enter data of various data types such as text, pictures, tables, etc. on the data configuration page, and can also add formats to these data. The input method can be manual input, copy and paste, etc. Adding formats to data can be bolding text, changing font color, changing background color, etc.
[0220] After the target knowledge is created, the data collected on the document configuration page can be converted into the configuration information of the target knowledge, and then the configuration information can be saved in a database for long-term storage and backup.
[0221] Step S212, backend service parsing knowledge.
[0222] The backend is the server.
[0223] When the query end issues a knowledge query request and the knowledge query request carries the knowledge identifier of the target knowledge, the server can read the configuration information of the target knowledge from the database, parse the configuration information, and obtain the parsed knowledge. The parsed knowledge is used to determine the knowledge text, related knowledge, common knowledge, and functional instructions, and the parsed knowledge is returned to the query end. After receiving the parsed knowledge, the query end displays the knowledge text, related knowledge, common knowledge, and functional instructions. When the user clicks on a jump link or a functional instruction, the query end triggers an event and passes the event to the server. The server executes the corresponding business logic according to the event type, such as executing a jump or executing a functional instruction, and returns the execution result to the query end. After receiving the execution result, the query end displays the execution result.
[0224] The query end refers to the user terminal that issues a knowledge query request. The knowledge text can refer to the aforementioned differential knowledge content.
[0225] Figure 3 An example diagram of a document configuration page provided in an embodiment of the present application.
[0226] like Figure 3As shown, the document configuration page 300 includes a toolbar 302 and an editing area 304. The toolbar 302 can be used to provide controls for changing the format of input data in the editing area 304, for example, a control 1 for bolding a font, a control 2 for changing a font size, and so on.
[0227] The toolbar 302 may also include a control for providing a triggering first instruction. The first instruction may be a data insert instruction for triggering a data insert operation. Figure 1 The corresponding description part in the embodiments.
[0228] In the editing area 304, you can enter text, insert the second tag information "Common knowledge 001" of common knowledge 3042, insert the first tag information "Associated knowledge 002" of associated knowledge 3044, insert the third tag information "Function instruction 003" of function instruction 3046, insert picture A, and insert video B.
[0229] Figure 4 An example diagram of a document display page provided in an embodiment of the present application. Figure 4 Can be considered as Figure 3 After the target knowledge is created on the provided document configuration page, when the target knowledge is queried on the inquiry end, the server provides the document display page to the inquiry end.
[0230] like Figure 4 As shown, the document display page 400 includes a display area 402 .
[0231] In the display area 402 , the second tag information “common knowledge 001 ” of the common knowledge 3042 is replaced with the data content 4022 of the common knowledge, namely “specific data content of common knowledge 001 ”.
[0232] In the display area 402 , the first tag information “Associated knowledge 002 ” of the associated knowledge 3044 is replaced with a jump link 4024 of the associated knowledge, namely, “Associated knowledge 002 link”.
[0233] In the display area 402, the third marking information "Function instruction 003" of the function instruction 3046 is replaced by an operation control 4026 for triggering the function instruction, namely, the "Function instruction 003 control".
[0234] Figure 5 This is an example diagram of a display page for a historical data set provided in an embodiment of the present application.
[0235] like Figure 5As shown, the display page 500 of the historical data set includes a plurality of knowledge and first description information 502 of each knowledge. The display page 500 of the historical data set also includes a knowledge identifier, a knowledge title, a status, and the like of each knowledge.
[0236] Figure 6 An example diagram of a display page for a general data set provided in an embodiment of the present application.
[0237] like Figure 6 As shown, the display page 600 of the general data set includes multiple common knowledge and second description information 602 of each common knowledge. The display page 600 of the general data set also includes the directory, scenario, sub-knowledge identifier, sub-knowledge title, last updated time, last updated person, etc. of each common knowledge.
[0238] Figure 7 An example diagram of a display page for a preset instruction set provided in an embodiment of the present application.
[0239] like Figure 7 As shown, the display page 700 of the preset instruction set includes the functional instructions and the third description information 702 of each functional instruction. The display page 700 of the preset instruction set also includes the business function, business system, parameters, operation, etc. of each functional instruction.
[0240] The display page 700 of the preset instruction set also includes a parameter configuration subpage 704 for a functional instruction. In the parameter configuration subpage 704, a first parameter value of a first parameter and a second parameter value of a second parameter can be configured.
[0241] Since the technical concept is the same, the description in this embodiment is relatively simple, and the relevant parts may refer to the corresponding description of the method embodiment provided above.
[0242] An embodiment of a data processing device provided in this specification is as follows:
[0243] In the above-mentioned embodiment, a data processing method is provided. Based on the same technical concept, the embodiment of the present application also provides a data processing device, which is described below in conjunction with the accompanying drawings.
[0244] Figure 8 A schematic diagram of a data processing device provided in an embodiment of the present application. This embodiment provides a data processing device 800, including:
[0245] The acquisition unit 802 is used to acquire a historical data set when creating a multimedia document if there is a trigger event for adding associated data; the historical data set includes multimedia data and description information of the multimedia data;
[0246] An adding unit 804, configured to determine associated data from the multimedia data based on the description information of the multimedia data, and add tag information of the associated data to a document configuration page;
[0247] The generating unit 806 is configured to generate a target multimedia document based on the configured content in the document configuration page and the tag information.
[0248] Optionally, the generating unit 806 is further configured to:
[0249] When the target multimedia document is queried, associated content is generated in the target multimedia document according to the data type of the associated data and the tag information of the associated data.
[0250] Optionally, when generating the associated content in the target multimedia document according to the data type of the associated data and the tag information of the associated data, the generating unit 806 performs the following steps:
[0251] If the data type of the associated data is a multimedia document, generating a jump link from the target multimedia document to the associated data according to the tag information;
[0252] If the data type of the associated data is common data belonging to at least two multimedia documents, generating data content of the associated data according to the tag information;
[0253] If the data type of the associated data is an operation instruction, an operation control that triggers the associated data is generated according to the tag information.
[0254] Optionally, the data processing device 800 further includes:
[0255] The updating unit is used to generate target description information of the target multimedia document according to the target multimedia document after the target multimedia document is created, and to update the historical data set according to the target multimedia document and the target description information.
[0256] Optionally, the data type of the associated data is a multimedia document, and the updating unit is further used for:
[0257] When the storage address information of the associated data is updated, the jump link is updated according to the updated storage address information.
[0258] Optionally, when the updating unit generates the target description information of the target multimedia document according to the target multimedia document, the updating unit performs the following steps:
[0259] If the target multimedia data includes text data, performing word segmentation processing on the text data to obtain a word segmentation result;
[0260] Performing statistical processing based on the word segmentation results, and determining target word segmentations whose occurrence frequency is greater than a preset frequency threshold based on the statistical results;
[0261] The target description information is generated based on the target segmentation.
[0262] Optionally, the data processing device 800 further includes:
[0263] The setting unit is used to set the first type of label information for the text data in the target multimedia document; and to set the second type of label information for the mark information in the target multimedia document.
[0264] In an embodiment of the present application, a data processing device includes: an acquisition unit, which is used to acquire a historical data set when creating a multimedia document if there is a trigger event for adding associated data; the historical data set includes multimedia data and description information of the multimedia data; an adding unit, which is used to determine the associated data from the multimedia data based on the description information of the multimedia data, and add the tag information of the associated data to the document configuration page; and a generating unit, which is used to generate a target multimedia document based on the configured content and tag information in the document configuration page. In this way, in the process of creating a multimedia document, the presence of a trigger event for adding associated data indicates that the multimedia document being created may need to add data content that has been used in other multimedia documents. On the one hand, when the historical data set including the multimedia data is acquired in the case of a trigger event for adding associated data, there is no need to open other multimedia documents and select part or all of the content for copying and pasting, and the operation is more convenient. On the other hand, the historical data set includes the description information of the multimedia data, which can facilitate intuitively viewing the description information of the multimedia data and making a selection when inserting data. Then, the process of determining the multimedia data to be added in the multimedia document and the entire process of generating the target multimedia document require almost no user operation, which optimizes the operational convenience of the multimedia document creation process.
[0265] Corresponding to the data processing method described above, based on the same technical concept, an embodiment of the present application further provides an electronic device, which is used to execute the data processing method provided above. Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0266] like Fig. 9As shown, the electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors 901 and memory 902, and the memory 902 may store one or more storage applications or data. Among them, the memory 902 can be a short-term storage or a persistent storage. The application stored in the memory 902 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device. Furthermore, the processor 901 can be configured to communicate with the memory 902 and execute a series of computer executable instructions in the memory 902 on the electronic device. The electronic device may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input / output interfaces 905, one or more keyboards 906, etc.
[0267] In a specific embodiment, the electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the electronic device, and the one or more programs configured to be executed by one or more processors include the following computer executable instructions:
[0268] When creating a multimedia document, if there is a triggering event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data;
[0269] Determining associated data from the multimedia data based on the description information of the multimedia data, and adding tag information of the associated data to a document configuration page;
[0270] A target multimedia document is generated based on the configured content in the document configuration page and the tag information.
[0271] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions. When the computer-executable instructions are executed by a processor, the following process is implemented:
[0272] When creating a multimedia document, if there is a triggering event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data;
[0273] Determining associated data from the multimedia data based on the description information of the multimedia data, and adding tag information of the associated data to a document configuration page;
[0274] A target multimedia document is generated based on the configured content in the document configuration page and the tag information.
[0275] It should be noted that the embodiments of the computer-readable storage medium in this specification and the embodiments of the data processing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding method mentioned above, and the repeated parts will not be repeated.
[0276] Another embodiment of the present disclosure further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following process is implemented:
[0277] When creating a multimedia document, if there is a triggering event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data;
[0278] Determining associated data from the multimedia data based on the description information of the multimedia data, and adding tag information of the associated data to a document configuration page;
[0279] A target multimedia document is generated based on the configured content in the document configuration page and the tag information.
[0280] The computer program product in the embodiments of the present disclosure can implement the various processes of the above-mentioned data processing method embodiments and achieve the same effects and functions, which will not be repeated here.
[0281] In the embodiment of the present application, first, when creating a multimedia document, if there is a trigger event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data; then, based on the description information of the multimedia data, the associated data is determined from the multimedia data, and the tag information of the associated data is added to the document configuration page; finally, the target multimedia document is generated based on the configured content and tag information in the document configuration page. In this way, in the process of creating a multimedia document, the presence of a trigger event for adding associated data indicates that the multimedia document being created may need to add data content that has been used in other multimedia documents. On the one hand, when the trigger event for adding associated data is present, a historical data set including multimedia data is obtained, and there is no need to open other multimedia documents and select part or all of the content for copying and pasting, which makes the operation more convenient. On the other hand, the historical data set includes the description information of the multimedia data, which can facilitate the intuitive viewing of the description information of the multimedia data and make a selection when inserting data. Then, the process of determining the multimedia data to be added in the multimedia document and the entire process of generating the target multimedia document require almost no user operation, which optimizes the operational convenience of the multimedia document creation process.
[0282] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0283] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0284] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable electronic device to produce a machine, so that the instructions executed by the processor of the computer or other programmable electronic device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0285] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable electronic device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0286] These computer program instructions may also be loaded onto a computer or other programmable electronic device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.
[0287] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0288] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0289] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0290] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0291] Embodiments of the present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0292] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0293] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.
Claims
1. A data processing method, characterized in that: include: When creating a multimedia document, if there is a triggering event for adding associated data, a historical data set is obtained; the historical data set includes multimedia data and description information of the multimedia data; Determining associated data from the multimedia data based on the description information of the multimedia data, and adding tag information of the associated data to a document configuration page; A target multimedia document is generated based on the configured content in the document configuration page and the tag information.
2. The method according to claim 1, characterized in that The method further comprises: When the target multimedia document is queried, associated content is generated in the target multimedia document according to the data type of the associated data and the tag information of the associated data.
3. The method according to claim 2, characterized in that The generating of the associated content in the target multimedia document according to the data type of the associated data and the tag information of the associated data includes: If the data type of the associated data is a multimedia document, generating a jump link from the target multimedia document to the associated data according to the tag information; If the data type of the associated data is common data belonging to at least two multimedia documents, generating data content of the associated data according to the tag information; If the data type of the associated data is an operation instruction, an operation control that triggers the associated data is generated according to the tag information.
4. The method according to claim 1, characterized in that: The method further comprises: After the target multimedia document is created, target description information of the target multimedia document is generated according to the target multimedia document, and the historical data set is updated according to the target multimedia document and the target description information.
5. The method according to claim 3, characterized in that: The data type of the associated data is a multimedia document. After generating a jump link from the target multimedia document to the associated data according to the tag information, the method further includes: When the storage address information of the associated data is updated, the jump link is updated according to the updated storage address information.
6. The method according to claim 4, characterized in that The step of generating target description information of the target multimedia document according to the target multimedia document comprises: If the target multimedia document includes text data, performing word segmentation processing on the text data to obtain a word segmentation result; Performing statistical processing based on the word segmentation results, and determining target word segmentations whose occurrence frequency is greater than a preset frequency threshold based on the statistical results; The target description information is generated based on the target segmentation.
7. The method according to claim 1, characterized in that The method further comprises: Setting first type of tag information for text data in the target multimedia document; A second type of tag information is set for the marking information in the target multimedia document.
8. A data processing device, characterized in that: include: An acquisition unit, configured to acquire a historical data set when creating a multimedia document if there is a triggering event for adding associated data; the historical data set includes multimedia data and description information of the multimedia data; an adding unit, configured to determine associated data from the multimedia data based on the description information of the multimedia data, and add tag information of the associated data to a document configuration page; A generating unit is used to generate a target multimedia document based on the configured content in the document configuration page and the marking information.
9. An electronic device, characterized in that: include: processor; And, a memory configured to store computer executable instructions, which, when executed, cause the processor to perform the data processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store computer-executable instructions, and the computer-executable instructions, when executed by a processor, implement the data processing method according to any one of claims 1 to 7.
11. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the data processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method, device and equipment for obtaining information of multimedia files
CN107341158A
Multimedia resource generation method and device, electronic equipment and storage medium
CN113365106A
Multimedia processing method, device, equipment, medium and computer program product
CN116431947A
Multimedia information processing method and device, equipment, storage medium and program product
CN116483235A
Crowdsourced multi-media data relationships
US20110173214A1
Cited By
Construction method and device of rich text editor, storage medium and electronic equipment
CN115470760A
