Document playing method and device, electronic equipment and storage medium

By automatically switching pages using incremental information playback progress when playing electronic files, the problems of inappropriate page residence time and untimely page turn in the prior art are solved, and the user experience is improved.

CN119621673APending Publication Date: 2025-03-14ZHUHAI KINGSOFT OFFICE SOFTWARE +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311170249.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-11
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the prior art, when playing electronic files, users need to manually switch pages or preset page switching time, resulting in inappropriate page residence time or untimely page turn, affecting the user experience.

Method used

By playing the incremental information corresponding to the file, and automatically switching the file page according to the playback progress of the incremental information, determine the appropriate playback time and page switching speed.

Benefits of technology

Automatic playback and page switching are realized to ensure that the playback progress of incremental information matches the page switching speed, reducing the situation of untimely or premature page turnover and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621673A_ABST
    Figure CN119621673A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a document playing method and device, electronic equipment and a storage medium. The method comprises the steps of playing increment information corresponding to a first file; and switching a page displayed by the first file according to the playing progress of the increment information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to but is not limited to the field of document processing technology, and in particular to a document playing method and device, an electronic device and a storage medium. Background Art

[0002] With the continuous development of computer technology or Internet technology, the use of electronic files to handle work, life and other matters has become increasingly indispensable.

[0003] Electronic files may generally include but are not limited to presentation files, document files and / or spreadsheet files. Presentation files are generally used for presentations; document files are generally used to record information in the form of text and / or images; spreadsheet files can generally record information in the form of spreadsheets.

[0004] At present, when playing electronic files, users usually switch the pages to be played manually or switch the pages to be played by presetting the page switching time. However, these methods may cause the page that needs detailed explanation and / or has more content to stay too short, or may cause the page that needs brief explanation and / or has less content to stay too long, or may cause the page to be turned untimely or too early, etc., which brings a very bad experience to users. Summary of the invention

[0005] Embodiments of the present disclosure provide a document playback method and device, an electronic device, and a storage medium.

[0006] A first aspect of an embodiment of the present disclosure provides a document playback method, the method comprising:

[0007] Play the incremental information corresponding to the first file;

[0008] According to the playback progress of the incremental information, the page displayed by the first file is switched.

[0009] In some embodiments, the method further comprises:

[0010] Determining the playback duration of the incremental information;

[0011] The incremental information having the playback duration is generated according to the file content of the first file.

[0012] In some embodiments, the method further comprises:

[0013] Determine a target page to be displayed for the first file according to at least one of the file information, target audience, display scenario and display purpose of the first file; wherein the file information includes: the file length of the first file and / or key point information of the first file;

[0014] Based on the target page, the incremental information is determined.

[0015] In some embodiments, determining the playback duration of the incremental information includes:

[0016] Determine the playback duration according to at least one of the file information, target audience, display purpose, and display scene of the first file; wherein the file information includes: the file length of the first file and / or key point information of the first file; or,

[0017] In response to detecting a selected operation acting on a control component, determining the playback duration; wherein the control component is used to indicate an alternative playback duration; or,

[0018] In response to detecting a natural language input of the conversation panel indicating a user demand, the playback duration is determined.

[0019] In some embodiments, before determining the playback duration of the incremental information, the method further includes:

[0020] Analyze the file content of the first file to determine at least one of the key point information, the target audience, the display purpose, and the display scene of the first file;

[0021] or,

[0022] In response to detecting a natural language input indicating a user demand in the conversation panel, at least one of the key point information of the first file, the target audience, the display purpose, and the display scenario is determined.

[0023] In some embodiments, the incremental information includes text content and / or multimedia information; and generating the incremental information having the playback duration according to the file content of the first file includes:

[0024] Determining text content of the incremental information according to the file content of the first file;

[0025] According to the playing time and the text content, multimedia information with an audio time equal to the playing time is generated.

[0026] In some embodiments, generating multimedia information whose audio duration is equal to the playback duration according to the playback duration and the text content includes:

[0027] Determining the time required to output the text content by voice at a specified rate;

[0028] According to the playback duration and the required duration, the text content and / or the rate of voice outputting at least a portion of the text content is adjusted to obtain the multimedia information whose audio duration is equal to the playback duration.

[0029] In some embodiments, the incremental information includes: a first part and a second part, wherein the importance of the first part is higher than the importance of the second part;

[0030] Adjusting the text content and / or adjusting the rate of voice outputting at least a portion of the text content according to the playback duration and the required duration includes at least one of the following:

[0031] In response to the playback duration being greater than the required duration, adding content of the first part and / or the second part; wherein the priority of adding the content of the first part is higher than the priority of adding the content of the second part;

[0032] In response to the playback duration being less than the required duration, deleting the content of the first part and / or the second part, wherein a priority of deleting the content of the first part is lower than a priority of deleting the content of the second part;

[0033] In response to the playback duration being greater than the required duration, reducing the playback rate of the first part and / or the second part and / or repeating the content of the first part, wherein the priority of reducing the playback rate of the first part is lower than the priority of reducing the playback rate of the second part;

[0034] In response to the playback duration being less than the required duration, the playback rate of the first part is increased and / or the playback rate of the second part is increased, wherein the priority of increasing the playback rate of the first part is lower than the priority of increasing the playback rate of the second part.

[0035] In some embodiments, the method further includes: generating a control information stream, wherein the control information stream is used to control page switching of the first file along with the playback progress of the incremental information.

[0036] In some embodiments, the control information stream includes: playback progress information of the incremental information and page information corresponding to the playback progress information;

[0037] The playback progress information indicates the playback progress of the incremental information; and the page information indicates the page of the first file corresponding to the playback progress information.

[0038] In some embodiments, before determining the playback duration of the incremental information, the method further includes:

[0039] Determining a target page to be displayed for the first file according to at least one of the file information, target audience, display scenario, and display purpose of the first file;

[0040] The determining the playback duration of the incremental information includes: determining the playback duration of the incremental information according to the target page.

[0041] A second aspect of the present disclosure provides a document playback device, the device comprising:

[0042] A playing module, configured to play the incremental information corresponding to the first file;

[0043] The switching module is configured to switch the page displayed by the first file according to the playback progress of the incremental information.

[0044] A third aspect of the present disclosure provides an electronic device, including:

[0045] processor;

[0046] a memory for storing processor-executable instructions;

[0047] Wherein, the processor is configured to: implement any document playback method described in the first aspect when running the executable instructions.

[0048] A fourth aspect of an embodiment of the present disclosure provides a computer-readable storage medium, wherein the readable storage medium stores an executable program, wherein when the executable program is executed by a processor, the document playback method described in any of the first aspects is implemented.

[0049] In the disclosed embodiment, when the incremental information corresponding to the first file is played, the page displayed by the first file can be switched according to the playback progress of the incremental information; on the one hand, automatic playback can be achieved according to the playback progress; on the other hand, the playback progress of the incremental information can be matched with the speed of switching the page displayed by the first file, thereby reducing the occurrence of untimely or premature page turning of the page to be played of the first file, thereby improving the user experience satisfaction.

[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0052] Figure 1 The figure is a flowchart of a document playing method according to an exemplary embodiment.

[0053] Figure 2 The figure is a flowchart of a document playing method according to an exemplary embodiment.

[0054] Figure 3 The present invention is an intention of a file display interface shown according to an exemplary embodiment.

[0055] Figure 4 The figure is a flowchart of a document playing method according to an exemplary embodiment.

[0056] Figure 5 The figure is a flowchart of a document playing method according to an exemplary embodiment.

[0057] Figure 6 The figure is a flowchart of a document playing method according to an exemplary embodiment.

[0058] Figure 7 The figure is a schematic diagram showing the structure of a document playing device according to an exemplary embodiment.

[0059] Figure 8 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0060] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the embodiments of the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present disclosure as detailed in the appended claims.

[0061] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0062] like Figure 1 As shown, the embodiment of the present disclosure provides a document playing method, comprising the following steps:

[0063] 11: Play the incremental information corresponding to the first file;

[0064] 12: Switch the page displayed by the first file according to the playback progress of the incremental information.

[0065] The document playback method provided in the embodiments of the present disclosure may be executed by an electronic device, which may include various terminals or server terminals. For example, the electronic device may include but is not limited to at least one of the following: a mobile phone, a computer, a tablet computer, a smart wearable device, a vehicle-mounted device, a smart home device, and a smart office device. For example, the server terminal may include one or more servers.

[0066] In some embodiments, the first file may be a file of various types; for example, the first file may be a presentation file, a document file, and / or a spreadsheet file. Exemplarily, the presentation file may be a slide; the slide may be one or more, etc. Exemplarily, the document file may be a WORD file, a WPS file, and / or a PDF file, etc. Exemplarily, the spreadsheet file may be an EXCEL file, etc.

[0067] In some embodiments, the delta information is enhanced content that is different from the file content of the first file.

[0068] Exemplarily, the incremental information may be various types of enhanced content. The incremental information may include, but is not limited to, at least one of the following: annotation information of the first file; comment information of the first file; speech of the first file; barrage information of the first file; subtitle information of the first file demonstration; and narration information of the first file demonstration. Optionally, the annotation information of the first file may be the remark information of the first file.

[0069] Exemplarily, the incremental information may be a document type, audio information and / or video information. For example, the incremental information may include text content and / or multimedia information. The multimedia information includes: audio information and / or video information.

[0070] Exemplarily, the multimedia information may include: audio information, video information and / or virtual character information. The virtual character information may be a part of the video information, or the virtual character information may be an interface outside the video information. For example, an electronic device generates a virtual character based on a PPT file, and the virtual character may be used to explain the incremental information corresponding to the PPT file; the virtual character may be displayed on the interface of the PPT file, or the virtual character may be displayed on an interface independent of the PPT interface.

[0071] Exemplarily, step 11 may include at least one of the following: playing the file content of the incremental information; outputting the voice information of the incremental information; playing the video information of the incremental information; and displaying a picture of a virtual character explaining the incremental information.

[0072] In some embodiments, the first file includes at least one page.

[0073] When the incremental information corresponding to the first file is played, the page of the first file is switched accordingly; the playback progress of the incremental information should be consistent with the speed of page switching displayed by the first file; if the playback progress of the incremental information is faster than the speed of page switching display of the first file, the page switching (or page turning) of the first file is not timely; or, if the playback progress of the incremental information is slower than the speed of page switching displayed by the first file, the page switching (page turning) of the first file is too early.

[0074] In some embodiments, before step 11, it also includes: generating incremental information according to the file content of the first file.

[0075] Optionally, the incremental information may be generated by inputting the file content of the first file into a large language model for processing to obtain the incremental information. Here, the large language model may be one of the AI ​​models corresponding to the AI ​​dialogue, and the AI ​​dialogue may be displayed in the conversation panel showing the first file.

[0076] In the disclosed embodiment, when playing the incremental information corresponding to the first file, the page displayed by the first file can be switched according to the playback progress of the incremental information; on the one hand, automatic playback can be achieved according to the playback progress; on the other hand, the playback progress of the incremental information can be matched with the speed of switching the page displayed by the first file, thereby reducing the occurrence of untimely page turning or page turning of the page to be played of the first file, thereby improving the user experience satisfaction.

[0077] like Figure 2 As shown, in some embodiments, the method further includes:

[0078] 13: Determine the playback duration of the incremental information;

[0079] 14: Generate incremental information with playback duration according to the file content of the first file.

[0080] In some embodiments, step 13 and step 14 precede step 11.

[0081] In some embodiments, generating incremental information according to the file content of the first file may include steps 13 and 14 described above.

[0082] In some embodiments, step 13 includes: determining the playback duration based on at least one of the file information of the first file, the target audience, the display purpose, and the display scene; wherein the file information includes: the file length of the first file and / or the key point information of the first file.

[0083] Exemplarily, if the file length of the first file is greater than or equal to the first predetermined length, it is determined that the playback duration is greater than or equal to the first duration; or, if the file length of the first file is less than the second predetermined length, it is determined that the playback duration is less than the first duration; wherein the first predetermined length is greater than or equal to the second predetermined length, and the first duration is greater than or equal to the second duration. The file length of the first file is positively correlated with the playback duration.

[0084] Exemplarily, if the content of the key point information of the first file is greater than or equal to the third predetermined length, it is determined that the playback duration is greater than or equal to the third duration; or, if the content of the key point information of the first file is less than the fourth predetermined length, it is determined that the playback duration is less than the fourth duration; wherein the third predetermined length is greater than or equal to the fourth predetermined length, and the third duration is greater than or equal to the fourth duration. The key point information of the first file is positively correlated with the playback duration.

[0085] Exemplarily, the target audience is used to describe the audience or audience of the first file; the target audience may be audiences of different ages, audiences of different genders, and / or audiences of different identities. For example, if the target audience is relatively older, the playing time is determined to be relatively longer; if the target audience is relatively younger, the playing time is determined to be relatively shorter; and so on. For example, if the identity of the target audience is a teacher, the playing time is determined to be relatively longer; if the identity of the target audience is a student, the playing time is determined to be relatively shorter; and so on.

[0086] For example, different display purposes and / or different display scenes may also correspond to different playback durations. For example, the importance of the display purpose is positively correlated with the playback duration; for example, if the importance of the display purpose is relatively high, the playback duration is relatively long; if the importance of the display purpose is relatively weak, the playback duration is relatively short; and so on. For another example, if the display scene is a formal scene, the playback duration is relatively long; if the display scene is an informal scene, the playback duration is relatively short.

[0087] Exemplarily, the file information, target audience, display purpose and / or display scene of the first file are input into the large language model for processing to obtain the playback duration. For example, input into the large language model "the file length of the first file is the first predetermined length, the key point information of the first file is new employee training, the target audience of the first file is company employees, the display purpose of the first file is to connect new employees to the company system, and the display scene of the first file is a relatively formal scene; determine how long is the appropriate time for the first file to be presented"; then the large language model outputs "determine that the playback duration of the first file can be the first duration".

[0088] Of course, the above is merely an example of determining the playback duration based on at least one of the file information of the first file, the target audience, the display purpose, and the display scene, and the specific implementation is not limited to the examples.

[0089] In some embodiments, the method further includes: determining file information, target audience, display purpose and / or display scenario of the first file.

[0090] Exemplarily, determining the file information, target audience, display purpose and / or display scene of the first file includes: determining the file information, target audience, display purpose and / or display scene of the first file according to the user input operation. For example, if the electronic device detects that the file length of the user input operation is the first predetermined length and / or the key information is the first content, the file information of the first file is determined to be the first predetermined length and / or the first content; if the electronic device detects that the target audience of the user input operation is the first audience, the target audience of the first file is determined to be the first audience; if the electronic device detects that the display purpose of the user input operation is the first purpose, the display purpose of the first file is determined to be the first purpose; and / or, if the electronic device detects that the display scene of the first file is the first scene, the display scene of the first file is determined to be the first scene.

[0091] Exemplarily, determining the file information, target audience, display purpose and / or display scene of the first file includes: determining the file information, target audience, display purpose and / or display scene of the first file according to the acquired file attributes of the first file. The file attributes can be used to describe the type of the first file, etc.; the type can be, but is not limited to, whether the first file is a formal, important and / or official file type, whether it is a type for a certain purpose, whether it is a type for a certain type of audience, and / or whether it is a type for a certain type of scene, etc. For example, the file attributes of the first file can be obtained in the electronic device, such as obtaining that the first file is an important file for company employees; then it can be determined that the target audience of the first file is company employees, the display scene is a formal scene, and / or the file length of the first file is a relatively large first predetermined length.

[0092] Exemplarily, determining the file information, target audience, display purpose and / or display scene of the first file includes: obtaining the file information, target audience, display purpose and / or display scene of the first file based on natural language analysis. For example, the natural language "please help me analyze the first file" is input into the AI ​​dialog box of the display interface of the electronic device, and the AI ​​model of the AI ​​dialogue in the electronic device analyzes the first file to obtain the file information, target audience, display purpose and / or display scene of the first file.

[0093] The disclosed embodiment can determine the appropriate playback duration for the added information based on at least one of the file length and / or key point information, target audience, display purpose, and display scene of the first file. For example, different playback contents can be determined for different scenes and / or different audiences to meet the needs of different scenes and / or different audiences; for another example, different playback contents can be determined for different display purposes to meet the needs of different display purposes; for another example, the playback content can be determined based on the file length and / or key point information of the first file to meet the needs of the content of the first file itself.

[0094] Furthermore, in the embodiments of the present disclosure, different playback contents and first durations of different playback contents may be determined for the same first file according to different scenarios, different audiences and / or different display purposes; for example, for formal scenarios, a playback content with relatively more content and a longer playback duration may be determined; for informal scenarios, a playback content with relatively less content and a shorter playback duration may be determined, etc., thereby further meeting the playback requirements of different scenarios, different audiences and / or different display purposes.

[0095] In some embodiments, step 13 includes: determining a first playback duration of incremental information corresponding to the first file; and determining a second playback duration of incremental information corresponding to at least one page in the first file based on the first playback duration.

[0096] In other implementations, step 13 includes: determining a second playback duration of the incremental information corresponding to at least one page in the first file; and determining a first playback duration of the incremental information corresponding to the first file based on the sum of the second playback durations of the incremental information corresponding to at least one page.

[0097] In some embodiments, step 13 includes: determining the playback duration of the incremental information based on user needs.

[0098] In some embodiments, step 13 includes: detecting natural language input indicating user needs in the conversation panel, and determining the playback duration.

[0099] Exemplarily, the electronic device determines that the playback duration of the incremental information is a predetermined playback duration in response to detecting natural language input indicating a user requirement in the conversation panel, wherein the user requirement indicated by the natural language input is that the playback duration is the predetermined playback duration.

[0100] For example, Figure 3 As shown, in Figure 3The document interface is displayed on the left and the conversation panel is displayed on the right. In the conversation panel, an AI dialogue based on conversational language can be conducted; the AI ​​dialogue can be conducted by the AI ​​model in natural language. An input box is set in the conversation panel, and natural language can be input into the input box; the AI ​​model in the electronic device can conduct a conversation by detecting the natural language input in the input box. For example, by entering "the playback time is only 1 hour" in the input box, it can be determined that the playback time of the incremental information is less than or equal to 1 hour, such as 1 hour or 50 minutes.

[0101] In this way, the AI ​​model in the electronic device can analyze the natural language indicating user needs to determine the playback time of the incremental information, thereby meeting user needs and improving the user experience.

[0102] In some embodiments, step 13 includes: determining the playback duration in response to detecting a selected operation acting on a control component; wherein the control component is used to indicate the alternative playback duration.

[0103] Exemplarily, the control component can be displayed at any position of the target interface, which is an interface of a page displaying the first file. For example, the control component can be displayed on a session panel, or the control component can be displayed on an animation outline interface of the first file, or the control component can pop up on the page of the first file.

[0104] Exemplarily, the location selection operation may be selecting a control component, or clicking a control component, etc.

[0105] Exemplarily, the control component may be one or more, and one control component indicates an alternative playback duration. For example, three control components are displayed on the session panel, and the three control components are respectively a first control component, a second control component, and a third control component; the first control component is used to indicate a first alternative duration, the second control component is used to indicate a second alternative duration, and the third control component is used to indicate a third alternative duration; if the electronic device detects a single-click operation on the second control component, it determines that the playback duration of the incremental information corresponding to the first file is the second alternative duration.

[0106] In this way, at least one control component can be displayed on the interface displaying the first file page, and the playback duration of the incremental information can be determined by selecting the indicated alternative duration of the control component according to user needs; in this way, the playback duration of the incremental information that has been set appropriately can be selected according to user needs, thereby improving the user experience.

[0107] The aforementioned AI model can be run on a terminal or a server, etc. Exemplarily, the electronic device receives and obtains the first file, and puts the first file into the local AI model for processing; or sends the first file to the server, and the AI ​​model in the server performs various tasks on the first file, and then returns the results to the electronic device.

[0108] The AI ​​model may be various neural network models and / or machine learning models. For example, the AI ​​model may be, but is not limited to, a convolutional neural network (CNN) model, a recurrent neural network (RNN) model, a deep neural network (DNN) model, a large language model (LLM) or a large-scale language model, etc.

[0109] The AI ​​model can recognize natural language input by a user, obtain the semantics of the natural language, automatically generate a first file based on the semantics, and / or modify the first file.

[0110] The AI ​​model can process the file content and / or incremental information of the first file, etc.

[0111] In some embodiments, before determining the playback duration, the method further includes: determining a target page to be displayed for the first file according to at least one of the file information, target audience, display scenario, and display purpose of the first file;

[0112] Determining the playback time of the incremental information includes: determining the playback time of the incremental information according to the target page.

[0113] Exemplarily, determining the target page to be displayed in the first file includes: selecting at least one page from all pages of the first file as the target page to be displayed. For example, a page with key point information is selected as the target page. For another example, a page that is relatively strongly associated with the target audience, display scene and / or display purpose is selected as the target page. For another example, any page or a specified page is selected from the first file as the target page to be displayed.

[0114] In some embodiments, a prompt word is constructed based on at least one of the playback duration, key point information, target audience, display scene, and display purpose of the first file; the prompt word is input into the AI ​​model for processing, and a target page to be displayed for the first file is output.

[0115] In this way, the playback duration of the incremental information can be determined according to the actual situation of the target page being displayed, which is beneficial for accurate matching of the playback progress of the subsequent incremental information with the page being switched for display.

[0116] In some embodiments, determining the target page to be displayed of the first file may also include: determining the target page to be displayed of the first file according to the expected playback duration indicated by the user's needs. In this way, the target page to be displayed that needs to be played may also be adjusted according to the expected playback duration of the user.

[0117] In some embodiments, before determining the playback duration of the incremental information, it also includes: analyzing the file content of the first file to determine at least one of the key point information, target audience, display purpose and display scene of the first file.

[0118] In this way, the electronic device can perform semantic analysis on the file content of the first file, extract key point information, target audience, display purpose and / or scene information from the file content, realize automated analysis, and facilitate accurate determination of subsequent playback duration.

[0119] In other embodiments, in response to detecting a natural language input indicating a user need in the conversation panel, at least one of key point information, a target audience, a display purpose, and a display scenario of the first document is determined.

[0120] For example, the natural language indicating user needs may be at least one of the following: the page where the first key point information is located; the age, gender and / or identity information of the target audience; the required display purpose; and the required display scene, etc. For example, in Figure 3 The input boxes of the session panel shown are input with “the key content of the first document is pages 5 to 8 and 11”, “the speech is aimed at minors”, etc.

[0121] Exemplarily, the natural language indication of the user demand may also be a specified page of the first file and / or at least part of the content in the specified page.

[0122] In this way, the electronic device can determine the key point information, target audience, display purpose and / or display scene of the first file based on the input natural language, thereby realizing AI-based dialogue and improving the intelligence of the electronic device; and it is also beneficial for the subsequent determination of incremental duration to better meet user needs.

[0123] In some embodiments, the method further comprises:

[0124] Determining a target page to be displayed for the first file according to at least one of the file information, target audience, display purpose, and display scenario of the first file;

[0125] Based on the target page, determine the incremental information.

[0126] In some embodiments, generating incremental information based on the file content of the first file may include: determining a target page to be displayed for the first file based on at least one of the file information of the first file, a target audience, a display purpose, and a display scenario; and determining incremental information based on the target page. Here, the file content of the first file may be the file information of the first file.

[0127] Exemplarily, if the electronic device determines that the target audience corresponding to the first file is new employees of the company, it selects the first part of content for new employees from the text content of the first file and deletes the second part of content for advanced employees in the file content of the first file; the electronic device determines the first part of content as the target page to be displayed, and determines the incremental information based on the target page.

[0128] In this way, there is no need to determine the playback duration of the incremental information in advance. The incremental information can be determined based on the file information, target audience, display scenario and / or display purpose of the first file, and the target page to be displayed, and the playback is based on the incremental information. That is, there is no need to consider the playback duration, only the length of the playback content needs to be considered. This is beneficial for the target audience and the like not to miss the content of the first file that they need to know due to time constraints, and thus can obtain the content that they need to know in a more comprehensive manner.

[0129] like Figure 4 As shown, in some embodiments, the method further includes:

[0130] 15: Determine the text content of the incremental information according to the file content of the first file;

[0131] 16: Generate multimedia information whose audio duration is equal to the playback duration according to the playback duration and the text content.

[0132] Optionally, the multimedia information includes audio information, video information and / or virtual character information, etc.

[0133] In some embodiments, step 15 and step 16 are performed after step 13 and step 14; and, step 15 and step 16 are performed before step 11 and step 12. Optionally, step 15 and step 14 can be performed simultaneously or in an alternating order; step 16 and step 14 can be performed simultaneously or in an alternating order; and so on.

[0134] Exemplarily, step 15 includes: determining the text content of the incremental information based on an adjustment to the text description of the file content of the first file; the adjustment includes deletion, modification and / or addition.

[0135] Exemplarily, step 15 includes: summarizing, generalizing, commenting on and / or extracting key point information from the file content of the first file to determine the text content of the incremental information.

[0136] In this way, the text content of the adapted incremental information of the first file can be determined; and the determination can be performed in a variety of ways to adapt to more application scenarios.

[0137] In this way, by determining the multimedia information of the playing duration, page turning and audio playing can be kept consistent when playing the incremental information of the first file, thereby improving the user experience.

[0138] In some embodiments, step 15 includes: determining the text content of the incremental information based on at least one of the file information, target audience, display purpose, and display scenario of the first file.

[0139] Exemplarily, if the file length of the first file is greater than the first length, the text content is determined to be the first text content; if the file length of the first file is the second length, the text content is determined to be the second text content; wherein, the first length is longer than the second length, and the first text content is more than the second text content.

[0140] Exemplarily, if the first text includes key point information and non-key point information, the text content of the incremental information is determined based on the key point information.

[0141] Exemplarily, if the target audience of the first file is the first audience, the content in the first file for the first audience is determined as the text content of the incremental information, and / or the content in the first file for the second audience is not determined as the text content of the incremental information. For example, if the first file includes new employee training content and a promotion system, if the target audience is the first audience, such as new employees, the new employee training content included in the first file can be determined as the text content of the incremental information.

[0142] Exemplarily, if the display purpose of the first file is the first purpose, the content in the first file for the first purpose is determined as the text content of the incremental information, and / or the content in the first file for the second purpose is not determined as the text content of the incremental information. For example, if the first file includes an introduction to a tourist attraction in a city and the style of celebrities, and if the display purpose is the first purpose, such as promoting tourist check-in points, the introduction to the tourist attraction included in the first file can be determined as the text content of the incremental information.

[0143] Exemplarily, if the display scene of the first file is a formal scene, the content of the first file for the formal scene is determined as the text content of the incremental information, and / or the content of the first file that is not a formal scene is not determined as the text content of the incremental information. For example, if the first file includes the research content of an experiment and the interesting content relative to the experiment, if the current display scene is a relatively formal scene; the research content of the experiment included in the first file is determined as the text content of the incremental information.

[0144] In this way, the text content of the incremental information can be determined based on the file information of the first file, the target audience, the display purpose and / or the display scenario, thereby achieving diversified determination of the text content of the incremental information and being applicable to more application scenarios.

[0145] like Figure 5 As shown, in some embodiments, step 16 includes:

[0146] 1611: Determine the time required for voice output of text content at a specified rate;

[0147] 1612: According to the playback duration and the required duration, adjust the text content and / or adjust the rate of voice output of at least part of the text content to obtain multimedia information whose audio duration is equal to the playback duration.

[0148] It should be noted that, when the multimedia information also includes video information, the audio duration should be set to be the same as the video duration, and the audio information and the video information should be played synchronously.

[0149] In some embodiments, step 1611 includes: determining that the playback rate of the text content of the output incremental information is a specified rate; based on the specified rate, determining the required duration for voice outputting the text content at the specified rate.

[0150] Exemplarily, the designated rate may be determined based on at least one of the file content, target audience, display purpose, and display scenario of the first file.

[0151] Exemplarily, the specified rate may be determined based on user requirements. For example, the electronic device determines a specified rate for generating text content of the output incremental information in response to detecting a natural language input indicating a user requirement on the conversation interface panel.

[0152] Exemplarily, the specified rate can be determined based on historical experience information. For example, the electronic device determines the specified rate based on the historical playback rate of the first file; or the electronic device determines the specified rate based on the speech rate of the speaker's historical speeches; and so on.

[0153] Exemplarily, the specified rate can be determined based on at least one of the file length, key point information, target audience, display purpose, and display scene of the first file. In this way, the requirements of the playback rate under different audiences, different display purposes, and different scenes can be met. For example, for children, the explanation can be relatively slow; or for adults, the explanation can be relatively fast, etc. For another example, for key point information (i.e., important content), the explanation can be relatively slow, or for non-important content, the explanation can be relatively fast, etc.

[0154] In some embodiments, the method further comprises: manually adjusting the playback rate of the incremental information by the playback software or cutting the multimedia information by the audio cutter. Optionally, the playback rate can be a specified rate. For example, the playback rate can be adjusted relatively slowly for the key content and / or the cut multimedia information can be relatively more; the playback rate can be adjusted relatively quickly for the non-key content and / or the cut multimedia information can be relatively less.

[0155] In the embodiment of the present disclosure, it is possible to control the playback duration by notifying the playback rate.

[0156] In this way, the specified rate of the text content of the output incremental information can be determined first, and then the required duration can be determined based on the specified rate; in this way, the purpose of controlling the playback duration of the text content can be achieved by controlling the rate of playing the text content. In addition, if the specified rate is controlled based on user needs, it can meet user needs and improve user experience; if the specified rate is determined based on the file content of the first file and / or the target audience, it can be more in line with the actual situation; if the specified rate is determined based on historical experience, it can meet user habits, etc.

[0157] In some embodiments, the incremental information includes: a first part and a second part, wherein the importance of the first part is higher than the importance of the second part; step 1612 includes: in response to the playback duration being longer than the required duration, adding content of the first part and / or the second part; wherein the priority of adding content of the first part is higher than the priority of adding content of the second part. Optionally, the content added to the first part is more than the incremental content of the second part.

[0158] In this way, when the playback duration is longer than the required duration, the required duration for outputting the text content can be increased by increasing the content of the first part and / or the second part, so that the actual required duration for outputting the text content is equal to the playback duration; that is, the audio duration of the multimedia information is equal to the playback duration of the incremental information.

[0159] In other embodiments, the importance of each part of the incremental information may not be distinguished; for example, step 1612 includes: in response to the playback duration being longer than the required duration, increasing the content of the text content. In this way, the audio duration of the multimedia information may be equal to the playback duration of the incremental information.

[0160] In some embodiments, the incremental information includes: a first part and a second part, wherein the importance of the first part is higher than the importance of the second part; step 1612 includes: in response to the playback duration being less than the required duration, deleting the content of the first part and / or the second part, wherein the priority of deleting the content of the first part is lower than the priority of deleting the content of the second part. Optionally, the content deleted from the first part is less than the content deleted from the second part.

[0161] In this way, when the playback duration is less than or equal to the required duration, the required duration for outputting the text content can be reduced by reducing the content of the first part and / or the second part, so that the actual required duration for outputting the text content is equal to the playback duration; that is, the audio duration of the multimedia information is equal to the playback duration of the incremental information.

[0162] In other embodiments, the importance of each part of the incremental information may not be distinguished; for example, step 1612 includes: in response to the playback duration being less than the required duration, deleting the text content. In this way, the audio duration of the multimedia information may be equal to the playback duration of the incremental information.

[0163] In some embodiments, the incremental information includes: a first part and a second part, wherein the importance of the first part is higher than the importance of the second part; step 1612 includes: in response to the playback duration being longer than the required duration, reducing the playback rate of the first part and / or the second part and / or repeating the content of the first part, wherein the priority of reducing the playback rate of the first part is lower than the priority of reducing the playback rate of the second part. Here, the playback rate of the first part and the playback rate of the second part are both lower than the specified rate of the voice output text content.

[0164] Optionally, the playback rate achieved by reducing the first part is lower than the playback rate achieved by reducing the second part; that is, the playback rate of the first part is lower than the playback rate of the second part.

[0165] Optionally, repeating the first part may include: repeating at least part of the content of the first part, or repeating key content in the first part.

[0166] Optionally, in response to the playback duration being longer than the required duration, the content of the first part and the content of the second part are repeated; the repeated content of the first part is greater than the repeated content of the second part.

[0167] In this way, when the playback duration is longer than the required duration, the required duration for outputting the text content can be increased by reducing the playback rate of the first part and / or the second part, and / or repeating the content of the first part, so that the actual required duration for outputting the text content is equal to the playback duration; that is, the audio duration of the multimedia information is equal to the playback duration of the incremental information.

[0168] Furthermore, in the disclosed embodiments, the key content may be expanded relatively more or reduced relatively less, and the non-key content may be expanded relatively less or reduced relatively more, thereby enabling detailed explanation of the key content and reduced explanation of the non-key content; this may further enhance the user experience.

[0169] In other embodiments, the importance of each part of the incremental information may not be distinguished; for example, step 1612 includes: in response to the playback duration being longer than the required duration, reducing the playback rate of the text content and / or repeating at least part of the text content. In this way, the audio duration of the multimedia information may be equal to the playback duration of the incremental information.

[0170] In some embodiments, the incremental information includes: a first part and a second part, wherein the importance of the first part is higher than the importance of the second part; step 1612 includes: in response to the playback duration being less than the required duration, increasing the playback rate of the first part and / or increasing the playback rate of the second part, wherein the priority of increasing the playback rate of the first part is lower than the priority of increasing the playback rate of the second part. Optionally, the playback rate reached by the first part is lower than the playback rate reached by the second part; that is, the playback rate of the first part is lower than the playback rate of the second part. Here, the playback rate of the first part and the playback rate of the second part are both higher than the specified rate of the voice output text content.

[0171] In this way, when the playback duration is less than the required duration, the required duration for outputting the text content can be reduced by increasing the playback rate of the first part and / or the second part, so that the actual required duration for outputting the text content is equal to the playback duration; that is, the audio duration of the multimedia information is equal to the playback duration of the incremental information.

[0172] Furthermore, in the disclosed embodiments, the key content may be slowed down relatively more or sped up relatively less, while the non-key content may be slowed down relatively less or sped up relatively more, thereby enabling slow explanation of the key content and fast explanation of the non-key content; this can further enhance the user experience.

[0173] In other embodiments, the importance of each part of the incremental information may not be distinguished; for example, step 1612 includes: in response to the playback duration being longer than the required duration, increasing the playback rate of the text content. In this way, the audio duration of the multimedia information may be equal to the playback duration of the incremental information.

[0174] In the embodiments of the present disclosure, the text content of the voice output and / or the rate of the voice output text content can be adjusted so that the audio duration of the multimedia information is equal to the playback duration of the incremental information, and the consistency between the multimedia information and the page turning display and the incremental information display is achieved, thereby reducing the occurrence of page turning and the display of incremental information being too early or too late relative to the output of the multimedia information, thereby improving the user experience.

[0175] In some embodiments, step 1612 further includes: when the playback duration is equal to the required duration, not changing the playback rate of the text content and / or maintaining the content of the text content unchanged.

[0176] Of course, in other embodiments, the playing time of the incremental information can also be adjusted so that the playing time of the incremental information is equal to the audio time of the multimedia information. For example, in response to the playing time being longer than the required time, the electronic device accelerates the playing progress of the incremental information so that the playing time of the incremental information is equal to the audio time of the multimedia information; in another example, in response to the playing time being shorter than the required time, the electronic device extends the playing progress of the incremental information so that the playing time of the incremental information is equal to the audio time of the multimedia information; and so on.

[0177] In some embodiments, the method further includes: generating multimedia information whose video duration is equal to the playback duration according to the playback duration and the text content.

[0178] In the disclosed embodiment, the method of generating video information whose video duration is equal to the playback duration is similar to the method of generating multimedia information whose audio duration is equal to the playback duration, and will not be elaborated here. For example, the electronic device adjusts the text content and / or adjusts the rate of voice output of at least part of the text content according to the playback duration and the required duration, so as to obtain the multimedia information whose video duration is equal to the playback duration. Since the multimedia information usually may include video information of the speech text and / or virtual character information related to the speech object; when playing incremental information, the video information of the speech text is played as frames of images; and / or whether the speech object is a real person or a virtual person, the playback of the virtual character information is also frame by frame of images; therefore, it is determined that the playback of the multimedia information is consistent with the switching of the page, that is, it is determined that the playback of the video information is consistent with the switching of the page.

[0179] In some embodiments, the method further includes: determining the importance of each portion of the incremental information.

[0180] Optionally, if the incremental information includes a first part and a second part; determining the importance of each part of the incremental information includes: determining a first importance of the first part, and a second importance of the second part.

[0181] Optionally, the first importance is higher than the second importance. In other embodiments, the first importance may also be lower than the second importance.

[0182] Exemplarily, the electronic device may determine the importance of each part of the content in the incremental information based on the number of key point information included in each part of the enhanced information and / or the length of the key point information. For example, the incremental information includes a first part and a second part, the number of key point information included in the first part is a first number, and the number of key point information included in the second part is a second number; if the first number is greater than the second number, the first importance of the first part is higher than the second importance of the second part. For another example, the incremental information includes a first part and a second part, the length of the key point information included in the first part is the first key information length, and the length of the key point information included in the second part is the second key point information length; if the first key information length is longer than the second key information length, the first importance of the first part is higher than the second importance of the second part.

[0183] Exemplarily, the electronic device may determine the importance of each part of the incremental information based on the time relationship corresponding to each part of the incremental information. For example, the incremental information includes a first part and a second part; if the time of occurrence of the relevant event in the first part is later than the time of occurrence of the relevant event in the second part, the first importance of the first part is determined to be higher than the second importance of the second part; or, if the update time of the first part is later than the update time of the second part, the first importance of the first part is determined to be higher than the second importance of the second part; and so on.

[0184] Of course, the above is merely an example of determining the importance of each part of the incremental information based on the parts of the incremental information, and the specific implementation is not limited to the examples; for example, the electronic device can also determine the importance of each part of the incremental information based on the length of each part of the incremental information and / or the number of times each part of the incremental information has been modified.

[0185] In this way, the importance of each part of the incremental information can be determined through the connection point information of each part of the incremental information, and / or the corresponding time relationship, etc.; on the one hand, this can provide multiple ways to determine the importance of each part of the incremental information, and on the other hand, it is convenient for the procedure to determine the playback time of each part of the incremental information.

[0186] In some other embodiments, the method further includes: inputting each portion of the incremental information into the first AI model to output the importance of each portion of the incremental information. For example, the first portion and the second portion of the incremental information are input into the first AI model to determine the importance of the first portion and the second portion.

[0187] The first AI model can be any model that can be used to train the importance of information.

[0188] In this way, the importance of each part of the incremental information can be determined through artificial intelligence, so that the importance of each part of the content can be determined quickly and accurately.

[0189] like Figure 6 As shown, in some embodiments, the method further includes:

[0190] 17: Generate a control information stream, wherein the control information stream is used to control the page switching of the first file according to the playback progress of the incremental information.

[0191] In some embodiments, step 17 may precede step 12 .

[0192] In some embodiments, step 12 may include: according to the control information flow, controlling the first file to switch the displayed page as the playback progress of the incremental information.

[0193] In some embodiments, the control information stream includes: playback progress information of the incremental information and page information corresponding to the playback progress information; wherein the playback progress information indicates the playback progress of the incremental information; and the page information indicates the page of the first file corresponding to the playback progress information.

[0194] Exemplarily, the playback progress information is used to at least indicate the end time of playback of the incremental information corresponding to the page of the first file. The electronic device switches to the next page at the end time of playback of the incremental information corresponding to the page in the first file, so that the playback progress of the incremental information and the consistency of the switching page can be maintained. For example, there are 5 pages of the first file that need to be played, and the 5 pages are: page 1, page 2, page 3, page 4 and page 5; the incremental information corresponding to the 5th page is incremental information 1, incremental information 2, incremental information 3, incremental information 4 and incremental information 5; the playback progress of the 5 incremental information corresponding to the 5 pages is to end the playback of the corresponding page at the 1st minute, the 2nd minute, the 3rd minute, the 4th minute and the 5th minute; then the electronic device determines to switch from page 1 to page 2 at the 1st minute, from page 2 to page 3 at the 2nd minute, from page 3 to page 4 at the 3rd minute, and from page 4 to page 5 at the 4th minute.

[0195] Of course, the above is only an example of controlling the information flow, and the specific implementation is not limited to this example.

[0196] In the disclosed embodiment, the page switching of the first file can be accurately controlled according to the control information flow as the playback progress of the incremental information, so that the playback progress of the incremental information is strictly consistent with the page turning of the page displayed by the first file; this can reduce the occurrence of premature or late page turning and improve the user experience.

[0197] In some embodiments, step 12 includes: according to the control information flow, controlling the first file to switch pages along with the playback progress of the incremental information.

[0198] Exemplarily, according to the control information flow, controlling the first file to switch pages along with the playback progress of the incremental information includes at least one of the following:

[0199] When the control information flow indicates that the playback progress of the incremental information is the progress when the playback of the previous page of the first file ends, the control is ready to switch to the next page of the first file for display;

[0200] When the control information flow indicates that the playback progress of the incremental information is the progress at which the playback of the next page of the first file starts, the control switches to the next page of the first file for display;

[0201] When the control information flow indicates that the playback progress of the incremental information is the progress of the playback process of the next page of the first file, the control maintains the display of the next page of the first file.

[0202] In this way, the electronic device can control the first file to accurately switch pages according to the control flow as the incremental information is played, thereby reducing the occurrence of untimely or premature page switching of pages to be played in the first file, thereby improving user experience satisfaction.

[0203] In some embodiments, the method includes: determining a time axis of a page corresponding to the incremental information according to a playback time and a playback rate of the incremental information, wherein the time axis is distributed with a time of playing at least one page corresponding to the incremental information;

[0204] Step 12 may include: switching a displayed page of the first file based on the timeline.

[0205] Exemplarily, the start time and / or end time of the page corresponding to at least one incremental information is distributed on the time axis. For example, there are 5 incremental information to be played, and the start times corresponding to the playback of the 5 incremental information are the 0th minute, the 1st minute, the 2nd minute, the 3rd minute and the 4th minute respectively; then the electronic device determines, based on the time axis, to switch from page 1 to page 2 at the 1st minute, from page 2 to page 3 at the 2nd minute, from page 3 to page 4 at the 3rd minute, and from page 4 to page 5 at the 4th minute.

[0206] In this way, the timeline can be set so that the page of the first file can be switched (or turned) according to the corresponding time on the timeline, and the playback progress of the incremental information can be kept consistent with the turning of the page displayed by the first file, thereby improving the user experience.

[0207] The present disclosure also provides a model training method for training the AI ​​model in the aforementioned document playback method. The method includes:

[0208] Based on the alternative model, the training samples marked with the target label are trained to obtain the predicted label of the training samples;

[0209] Determining a loss value of the candidate model based on a difference between the target label and the predicted label; wherein the target label indicates a predetermined object to which the first file is adapted;

[0210] If the loss value meets the training stop condition, stop training the candidate model, and determine the candidate model when the training is stopped as the target model; or, if the loss value does not meet the training stop condition, continue training the candidate model.

[0211] Exemplarily, the loss value satisfies the training stop condition, including: the loss value is less than or equal to a predetermined value. The predetermined value may be an extremely small value, such as 0.001 or 0.000001.

[0212] Exemplarily, the predetermined object may be the aforementioned incremental information, key point information, audience information, display scene, display purpose, playback duration or multimedia information, etc.

[0213] The disclosed embodiment also provides a document playback method, which uses a trained target model; the method includes: inputting a first file into the target model to generate target content. Depending on the target model, the generated target content is different. The target content can be incremental information, playback duration, or multimedia information.

[0214] Exemplarily, the target model may be one or more, or the target model may be a collection of multiple models. For example, the target model may be a natural language processing model, an incremental information generation model, a play duration generation model, and / or a multimedia information generation model.

[0215] The aforementioned incremental information generation model, playback duration generation model, multimedia information generation model, and subsequent models of the natural language processing model may be used in combination or in a cascaded manner.

[0216] Of course, the above is only an example of the model for processing the first file, and the specific implementation is not limited to this example.

[0217] like Figure 7 As shown, the embodiment of the present disclosure provides a document playing device, the device comprising:

[0218] Playing module 21, used for playing the incremental information corresponding to the first file;

[0219] The switching module 22 is used to switch the page displayed by the first file according to the playback progress of the incremental information.

[0220] In some embodiments, the device further includes: a processing module, configured to determine the playback duration of the incremental information; and generate incremental information having the playback duration according to the file content of the first file.

[0221] In some embodiments, the processing module is used to determine the target page to be displayed for the first file according to at least one of the file information, target audience, display scenario and display purpose of the first file; wherein the file information includes: the file length of the first file and / or key point information of the first file;

[0222] The processing module is further used to determine incremental information based on the target page.

[0223] In some embodiments, the processing module is used to determine the playback duration based on at least one of the file information, target audience, display purpose and display scene of the first file; wherein the file information includes: the file length of the first file and / or the key point information of the first file.

[0224] In some embodiments, the processing module is used to determine the playback duration in response to detecting a selected operation acting on the control component; wherein the control component is used to indicate an alternative playback duration.

[0225] In some embodiments, the processing module is used to determine the playback duration in response to detecting natural language input indicating user needs in the conversation panel.

[0226] In some embodiments, the processing module is used to analyze the file content of the first file to determine at least one of the key point information, target audience, display purpose and display scene of the first file;

[0227] Alternatively, the processing module is used to determine at least one of the key point information, target audience, display purpose and display scenario of the first file in response to detecting natural language input indicating user needs in the conversation panel.

[0228] In some embodiments, the incremental information includes text content and / or multimedia information.

[0229] In some embodiments, the processing module is used to determine the text content of the incremental information based on the file content of the first file; and generate multimedia information with an audio duration equal to the playback duration based on the playback duration and the text content.

[0230] In some embodiments, the processing module is used to determine the required time for voice output of text content at a specified rate; adjust the text content and / or adjust the rate of voice output of at least part of the text content based on the playback time and the required time to obtain multimedia information whose audio time is equal to the playback time.

[0231] In some embodiments, the incremental information includes: a first part and a second part, wherein the importance of the first part is higher than the importance of the second part; and a processing module is configured to perform at least one of the following:

[0232] In response to the playback duration being longer than the required duration, adding content of the first part and / or the second part; wherein the priority of adding the content of the first part is higher than the priority of adding the content of the second part;

[0233] In response to the playback duration being less than the required duration, deleting the content of the first part and / or the second part, wherein the priority of deleting the content of the first part is lower than the priority of deleting the content of the second part;

[0234] In response to the playback duration being longer than the required duration, reducing the playback rate of the first part and / or the second part and / or repeating the content of the first part, wherein the priority of reducing the playback rate of the first part is lower than the priority of reducing the playback rate of the second part;

[0235] In response to the playback duration being less than the required duration, the playback rate of the first part is increased and / or the playback rate of the second part is increased, wherein the priority of increasing the playback rate of the first part is lower than the priority of increasing the playback rate of the second part.

[0236] In some embodiments, the processing module is used to generate a control information stream, wherein the control information stream is used to control page switching of the first file according to the playback progress of the incremental information.

[0237] In some embodiments, the control information stream includes: playback progress information of the incremental information and page information corresponding to the playback progress information; wherein the playback progress information indicates the playback progress of the incremental information; and the page information indicates the page of the first file corresponding to the playback progress information.

[0238] In some embodiments, the switching module 22 is used to control the page switching of the first file according to the playback progress of the incremental information according to the control information flow.

[0239] In some embodiments, the apparatus further comprises: a determination module for determining a target page to be displayed for the first file according to at least one of the file information, target audience, display scenario, and display purpose of the first file;

[0240] The processing module is used to determine the playback duration of the incremental information according to the target page.

[0241] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0242] An embodiment of the present disclosure further provides an electronic device, including:

[0243] processor;

[0244] a memory for storing processor-executable instructions;

[0245] The processor is configured to implement the document playback method of any embodiment of the present disclosure when running the executable instructions.

[0246] The electronic device can at least be a server and / or a terminal. One or more servers can constitute a service end.

[0247] The memory may include various types of storage media, which are non-transitory computer storage media that can continue to remember information stored thereon after the communication device loses power.

[0248] The processor can be connected to the memory through a bus or the like to read the executable program stored in the memory, for example, to implement the following Figure 1 to Figure 2 , Figures 4 to 6 Any document playback method shown in the items.

[0249] like Figure 8 FIG. 4 is a diagram showing a structure of an electronic device 40 according to an exemplary embodiment. For example, the electronic device 40 may be provided as a network side device. Figure 8 The electronic device 40 includes a processing component 41, which further includes one or more processors, and a memory resource represented by a processor 42 for storing instructions executable by the processing component 41, such as an application. The application stored in the processor 42 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 41 is configured to execute instructions to perform any method of the aforementioned method applied in the base station.

[0250] The electronic device 40 may further include a power supply component 43 configured to perform power management of the electronic device 40, a wired or wireless network interface 44 configured to connect the electronic device 40 to a network, and an input / output (I / O) interface 45. The electronic device 40 may operate based on an operating system stored in the processor 42, such as Windows Server TM, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.

[0251] The embodiments of the present disclosure further provide a computer-readable storage medium, wherein the computer-readable storage medium stores an executable program, wherein when the executable program is executed by a processor, the document playback method of any embodiment of the present disclosure is implemented. Figure 1 to Figure 2 , Figures 4 to 6 Any document playback method shown in the items.

[0252] An embodiment of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores an executable program, wherein when the executable program is executed by a processor, the document playback method provided by any one of the aforementioned technical solutions is implemented.

[0253] The computer-readable storage medium may specifically be: a non-temporary computer-readable storage medium.

[0254] Exemplarily, such as a memory including an executable program, the above instructions can be executed by the processing component 41 of the electronic device to complete the above method.

[0255] The non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0256] Those skilled in the art will readily appreciate other implementations of the disclosed embodiments after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosed embodiments, which follow the general principles of the disclosed embodiments and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the disclosed embodiments are indicated by the following claims.

[0257] It should be understood that the embodiments of the present disclosure are not limited to the precise structures described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the embodiments of the present disclosure is limited only by the appended claims.

Claims

1. A document playing method, characterized in that: The method comprises: Play the incremental information corresponding to the first file; According to the playback progress of the incremental information, the page displayed by the first file is switched.

2. The method according to claim 1, characterized in that The method further comprises: Determining the playback duration of the incremental information; The incremental information having the playback duration is generated according to the file content of the first file.

3. The method according to claim 1, characterized in that The method further comprises: Determine a target page to be displayed for the first file according to at least one of the file information, target audience, display scenario and display purpose of the first file; wherein the file information includes: the file length of the first file and / or key point information of the first file; Based on the target page, the incremental information is determined.

4. The method according to claim 2, characterized in that: The determining the playback duration of the incremental information includes: Determine the playback duration according to at least one of the file information, target audience, display purpose, and display scene of the first file; wherein the file information includes: the file length of the first file and / or key point information of the first file; or, In response to detecting a selected operation acting on a control component, determining the playback duration; wherein the control component is used to indicate an alternative playback duration; or, In response to detecting a natural language input of the conversation panel indicating a user demand, the playback duration is determined.

5. The method according to claim 4, characterized in that Before determining the playback duration of the incremental information, the method further includes: Analyze the file content of the first file to determine at least one of the key point information, the target audience, the display purpose, and the display scene of the first file; or, In response to detecting a natural language input indicating a user demand in the conversation panel, at least one of the key point information of the first file, the target audience, the display purpose, and the display scenario is determined.

6. The method according to claim 2, characterized in that The incremental information includes text content and / or multimedia information; and generating the incremental information having the playback duration according to the file content of the first file includes: Determining text content of the incremental information according to the file content of the first file; According to the playing time and the text content, multimedia information with an audio time equal to the playing time is generated.

7. The method according to claim 6, characterized in that The generating, according to the playing time and the text content, multimedia information whose audio time is equal to the playing time comprises: Determining the time required to output the text content by voice at a specified rate; According to the playback duration and the required duration, the text content and / or the rate of voice outputting at least a portion of the text content is adjusted to obtain the multimedia information whose audio duration is equal to the playback duration.

8. The method according to claim 7, characterized in that The incremental information includes: a first part and a second part, wherein the importance of the first part is higher than the importance of the second part; Adjusting the text content and / or adjusting the rate of voice outputting at least a portion of the text content according to the playback duration and the required duration includes at least one of the following: In response to the playback duration being greater than the required duration, adding content of the first part and / or the second part; wherein the priority of adding the content of the first part is higher than the priority of adding the content of the second part; In response to the playback duration being less than the required duration, deleting the content of the first part and / or the second part, wherein a priority of deleting the content of the first part is lower than a priority of deleting the content of the second part; In response to the playback duration being greater than the required duration, reducing the playback rate of the first part and / or the second part and / or repeating the content of the first part, wherein the priority of reducing the playback rate of the first part is lower than the priority of reducing the playback rate of the second part; In response to the playback duration being less than the required duration, the playback rate of the first part is increased and / or the playback rate of the second part is increased, wherein the priority of increasing the playback rate of the first part is lower than the priority of increasing the playback rate of the second part.

9. The method according to claim 1, characterized in that: The method further comprises: A control information stream is generated, wherein the control information stream is used to control page switching of the first file according to the playback progress of the incremental information.

10. The method according to claim 9, characterized in that The control information flow includes: playback progress information of the incremental information and page information corresponding to the playback progress information; The playback progress information indicates the playback progress of the incremental information; and the page information indicates the page of the first file corresponding to the playback progress information.

11. The method according to claim 2, characterized in that Before determining the playback duration of the incremental information, the method further includes: Determining a target page to be displayed for the first file according to at least one of the file information, target audience, display scenario, and display purpose of the first file; The determining the playback duration of the incremental information includes: determining the playback duration of the incremental information according to the target page.

12. A document playing device, characterized in that: The device comprises: A playing module, configured to play the incremental information corresponding to the first file; The switching module is configured to switch the page displayed by the first file according to the playback progress of the incremental information.

13. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: implement the document playing method described in any one of claims 1 to 11 when running the executable instructions.

14. A readable storage medium, characterized in that: The readable storage medium stores an executable program, wherein the executable program, when executed by a processor, implements the document playing method according to any one of claims 1 to 11.