Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The document processing method, the document processing device and the electronic equipment provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Referring to fig. 1, a flow chart of a document processing method according to an embodiment of the application is shown. As shown in fig. 1, the document processing method in the embodiment of the present application may include the steps of:
And 11, acquiring the content blocks and the content titles and serial numbers corresponding to each content block.
Referring to fig. 2, a schematic diagram of a content block in an initial document according to an embodiment of the present application is shown. As shown in fig. 2, in the embodiment of the present application, the content blocks may be text paragraphs, pictures, tables, image-text combinations, and the like, each content block is correspondingly provided with a content title and a sequence number, where the content title may be a summary of information expressed by the content block, and the sequence number is used to sort the content blocks, and the content title and the sequence number corresponding to each content block may be located in a previous row of each content block.
As shown in fig. 2, the first content block in fig. 2 is in the form of a graphic combination, in fig. 2, "tag=mew star" means that the content corresponding to the content block is entitled "mew star", and the content title is consistent with the information expressed by the content block, and "level=1.1" in fig. 2 means that the serial number corresponding to the content block is "1.1". Content titles and sequence numbers of other content blocks in fig. 2 and so on.
And 12, rearranging the content blocks according to the priorities of the content titles and the serial numbers.
Referring to fig. 3, a schematic diagram of a document after being rearranged according to an embodiment of the present application is shown. As shown in FIG. 3, since each content block is correspondingly provided with a content title and a sequence number, the document can be rearranged and displayed according to the priorities of the content titles and the sequence numbers, and as can be seen from FIG. 3, the format of the document after being rearranged is uniform, the logic arrangement among the content blocks is more accurate, the tedious process of manually adjusting the format and the sequence of the content blocks is omitted, and the processing speed of the document is improved.
In the embodiment of the application, the priorities of the content titles and the sequence numbers can be divided into two cases that the priorities of the content titles are higher than the priorities of the sequence numbers and the priorities of the sequence numbers are higher than the priorities of the content titles, and in general, the case that the priorities of the content titles are higher than the priorities of the sequence numbers of the content blocks are represented by the fact that the importance degree of the content of the user on the content blocks is higher than the importance degree of the sequence numbers of the content blocks, and the case that the priorities of the sequence numbers are higher than the priorities of the content titles is opposite to the importance degree of the content blocks, and the priorities of the content titles and the sequence numbers can be preset and can also be adjusted according to different requirements when the document processing is carried out.
The following describes two cases of priority of the content title and sequence number, respectively.
In the embodiment of the present application, the sequence numbers are divided into a plurality of levels, and the step of rearranging the content blocks according to the priorities of the content titles and the sequence numbers includes:
under the condition that the priority of the serial numbers is higher than that of the content titles, content blocks corresponding to the serial numbers of the same level are aggregated to obtain a plurality of aggregation units;
sequencing the aggregation units according to the sequence number level;
and sequencing the content blocks in each aggregation unit according to the sequence number corresponding to each content block from small to large.
Specifically, the sequence numbers of the content blocks may be divided into a plurality of levels, and the Level of the sequence number corresponding to each content block is uniquely determined, and as illustrated in fig. 2, the levels of the sequence numbers "1.1" and "1.2" in "level=1.1" and "1.2" are the same, and as such, the levels of the sequence numbers "2.1" and "2.2" in "level=2.1" are the same, and the levels of the sequence numbers "1.1" and "1.2" are higher than the levels of the sequence numbers "2.1" and "2.2".
Based on the above hierarchical setting of the sequence numbers, when the priority of the sequence numbers is higher than the priority of the content titles, it is indicated that the importance of the content blocks by the user is lower than that of the sequence numbers of the content blocks, that is, the order of the content blocks tends to be more accurate, so when the content blocks are rearranged, firstly, the content blocks corresponding to the sequence numbers of the same level need to be preferentially aggregated to obtain a plurality of aggregation units, for example, the content blocks corresponding to the sequence numbers "1.1" and the content blocks corresponding to the sequence numbers "1.2" are aggregated into one aggregation unit, and the content blocks corresponding to the sequence numbers "2.1" and the content blocks corresponding to the sequence numbers "2.2" are aggregated into another aggregation unit, and generally, the hierarchical number of the sequence numbers corresponds to the number of aggregation units; then, since the ranks of the sequence numbers corresponding to the content blocks in the same aggregation unit are the same, but the ranks of the sequence numbers corresponding to the different aggregation units are naturally different, thereby, all the aggregation units can be ordered according to the ranks of the sequence numbers, for example, since the ranks of the sequence numbers "1.1" and the sequence numbers "1.2" are higher than the ranks of the sequence numbers "2.1" and the sequence numbers "2.2", the aggregation units formed by aggregating the content blocks corresponding to the sequence numbers "1.1" and the content blocks corresponding to the sequence numbers "1.2" are arranged in front of the aggregation units formed by aggregating the content blocks corresponding to the sequence numbers "2.1" and the content blocks corresponding to the sequence numbers "2.2", and so on, finally, for the content blocks aggregated into each aggregation unit, the sequence numbers corresponding to each content block are ordered according to the sequence from small to large sequence, for example, the value of the sequence numbers "1.1" is smaller than the value of the sequence numbers "1.2", the content blocks corresponding to the sequence number '1.1' are arranged in front of the content blocks corresponding to the sequence number '1.2', and the like, so that the ordering of the content blocks in all aggregation units is finally completed, and then the content blocks are output to the document according to the finally obtained arrangement sequence of the content blocks, namely, the document after the rearrangement is obtained, and the document can be displayed according to the order. By the document processing method, automatic document rearrangement can be realized, the tedious process of manually adjusting content blocks is omitted, and optionally, a uniform format can be set for the content blocks corresponding to the sequence numbers of each level, so that the condition that the formats of partial content blocks are not uniform is avoided, the typesetting of the whole document is tidier and more attractive, and the reading is convenient.
In the embodiment of the present application, optionally, the step of aggregating content blocks corresponding to serial numbers of the same level to obtain a plurality of aggregation units includes:
and under the condition that the number of the content blocks corresponding to the serial numbers of the same level is larger than a preset value, selecting the content blocks with the number equal to the preset value from the content blocks corresponding to the serial numbers of the same level for aggregation.
That is, in the process of aggregating content blocks corresponding to the same-level sequence numbers, when the number of content blocks corresponding to the same-level sequence numbers is greater than a preset value, the aggregation unit cannot accommodate all content blocks corresponding to the same-level sequence numbers, and at this time, content blocks with the same number as the preset value are selected from content blocks corresponding to the same-level sequence numbers for aggregation, so that the number of content blocks contained in the aggregation unit formed by aggregation is the corresponding preset value, thereby realizing control of the number of content blocks in the aggregation unit and achieving the purpose of simplifying documents. The preset value of the number of the content blocks contained in each aggregation unit can be set by a user according to the conditions of the number of the content blocks in the original document, and by setting the preset value of the number of the content blocks contained in each aggregation unit, the purpose of simplifying the document can be achieved by selecting part of the content blocks from the document to be typeset and displayed again when the document content blocks are more.
In the embodiment of the present application, the step of selecting, from the content blocks corresponding to the serial numbers of the same level, a content block with the number equal to the preset value for aggregation includes:
and under the condition that the number of the content blocks of the same content titles is larger than the preset value, selecting the content blocks of the same content titles with the number equal to the preset value from small to large according to the sequence number of the content blocks to aggregate.
Specifically, when the number of content blocks corresponding to the serial numbers of the same level is greater than the preset value, and the number of content blocks of the same content title is also greater than the preset value, the content blocks equal to the preset value are selected from the content blocks of the same content title according to the sequence of the serial numbers of the content blocks from small to large for aggregation, so that when the number of the content blocks corresponding to the serial numbers of the same level is greater, the content blocks corresponding to the content blocks of the same content title are preferentially selected for aggregation, and the content association degree of each content block in an aggregation unit obtained by aggregation is higher.
Optionally, when the number of content blocks corresponding to the sequence numbers of the same level is greater than the preset value, and the number of content blocks of the same content title is less than the preset value, only the content blocks with the number equal to the preset value are selected from the content blocks corresponding to the sequence numbers of the content blocks of the same level from small to large for aggregation, so that when the content blocks of the same content title are fewer, the content blocks are selected from small to large for aggregation, and sequence of sequence numbers of the content blocks in an aggregation unit obtained by aggregation is continuous, and arrangement logic among the content blocks is more prominent.
In this embodiment of the present application, optionally, the preset value of the number of content blocks included in each aggregation unit may be an upper threshold, that is, at most, the preset value is not exceeded, but may be less than the preset value.
In the embodiment of the present application, the step of rearranging the content blocks according to the priorities of the content titles and the sequence numbers includes:
Under the condition that the priority of the serial number is lower than the priority of the content title, content blocks corresponding to the same content title are aggregated to obtain a plurality of aggregation units;
Sorting the aggregation units according to the preset sequence of the content titles;
and sequencing the content blocks in each aggregation unit according to the sequence number corresponding to each content block from small to large.
Specifically, each content block corresponds to a content title, as shown in fig. 2, for example, "tag=mew" means that the content title corresponding to the content block is "mew star", and "tag=maw" means that the content title corresponding to the content block is "maw", and generally, based on the content title setting of such content block, when the priority of the sequence number is lower than that of the content title, the importance degree of the user on the content of the content block is higher than that of the sequence number of the content block, that is, the content between adjacent content blocks tends to be more similar, therefore, when the content blocks are rearranged, firstly, the content blocks corresponding to the same content title need to be aggregated to obtain a plurality of aggregation units, for example, the content blocks with the content title of "maw" are aggregated to one aggregation unit, and the content title of the content block with the "maw" is aggregated to another aggregation unit, generally, the number of different content titles corresponds to the number of aggregation units, the number of the aggregation units can be ensured by such aggregation unit, the content title of the content title corresponding to the preset content title is higher than that the content title of the content title corresponding to the preset unit in the sequence number of the aggregation unit, and the content title of the content title can be the same as the content title, and the content title corresponding to the content title of the content title is ranked in the same order, and the content title is higher than the content title corresponding to the content title of the content title is, and the content title corresponding to the content title is different in the content title sequence with the content title sequence title is different in the content title order, the method comprises the steps of arranging the aggregation units with the content title of "Miaoxing person" in front of the aggregation units with the content title of "Miaoxing person" by adopting the preset sequence of the reverse order of the sound sequence after the sound sequence of "diffuse" in the content title of "diffuse" of Miaoxing person ", arranging the aggregation units with the content title of" diffuse "in front of the aggregation units of" Miaoxing person "and the like, realizing the arrangement of the sequence among different aggregation units, finally, aiming at the content blocks aggregated into each aggregation unit, arranging according to the sequence from small to large, for example, the value of the sequence number corresponding to each content block is smaller than the value of the sequence number of" 1.1", so that the content blocks corresponding to the sequence number of" 1.1 "are arranged in front of the content blocks corresponding to the sequence number of" 1.2", and the like, finally completing the arrangement of the content blocks in all the aggregation units, and outputting the document after the rearrangement according to the arrangement sequence of the finally obtained content blocks, namely, displaying according to the arrangement. By the document processing method, automatic document rearrangement can be realized, the tedious process of manually adjusting content blocks is omitted, and optionally, a uniform format can be set for the content blocks corresponding to each content title, so that the condition that the formats of partial content blocks are not uniform is avoided, the whole document typesetting is tidier and more attractive, and the reading is convenient.
In the embodiment of the present application, the step of aggregating content blocks corresponding to the same content title to obtain a plurality of aggregation units includes:
And under the condition that the number of content blocks corresponding to the same content title is larger than a preset value, selecting and aggregating the content blocks with the number equal to the preset value according to the sequence from the sequence number of the content blocks to the sequence number of the content blocks.
That is, in the process of aggregating the content blocks corresponding to the same content title, when the number of content blocks corresponding to the same content title is greater than a preset value, it means that the aggregation unit cannot accommodate all the content blocks corresponding to the same content title, and then the content blocks equal to the preset value should be selected from the content blocks corresponding to the same content title for aggregation, so that the number of content blocks included in the aggregation unit formed by aggregation is the corresponding preset value, thereby realizing control of the number of content blocks in the aggregation unit and achieving the purpose of simplifying documents. The preset value of the number of the content blocks contained in each aggregation unit can be set by a user according to the conditions of the number of the content blocks in the original document, and by setting the preset value of the number of the content blocks contained in each aggregation unit, the purpose of simplifying the document can be achieved by selecting part of the content blocks from the document to be typeset and displayed again when the document content blocks are more.
Also, in this embodiment of the present application, optionally, the preset value of the number of content blocks included in each aggregation unit may be an upper threshold, that is, at most, not exceed the preset value, but may be less than the preset value.
Optionally, in the process of selecting and aggregating content blocks with the number equal to the preset value from content blocks corresponding to the same content title, the content blocks with the number equal to the preset value can be selected and aggregated according to the sequence from small to large of the sequence numbers of the content blocks, so that the sequence numbers of the content blocks in an aggregation unit obtained by aggregation can be ensured to be more orderly, and the arrangement logic among the content blocks is more prominent.
In the embodiment of the present application, after the step of rearranging the content block, the method further includes:
Acquiring configuration information of rendering options corresponding to each content block, wherein the rendering options comprise at least one of sequence number hiding options and privacy options;
And rendering the sequenced sequence numbers and the content blocks according to the configuration information.
That is, before the steps of sorting, format processing and the like of all the content blocks are finished and finally displayed, configuration information of rendering options corresponding to each content block needs to be further acquired, the rendering options may include a hidden option and at least one of the options, the configuration information of the rendering options corresponding to each content block may be configured while the content block is created by the page is edited, for example, the hidden option includes two options of hiding and non-hiding, when the hiding is selected, the serial number of the content block may be hidden, and when the non-hiding is selected, the ordered serial number is displayed, and when the non-hiding is selected, the privacy option includes two options of opening and closing, for example, when the opening is selected, the corresponding content block may be rendered, so that a mosaic appears when the final display of the content block is performed, and when the closing is selected, the content block is not rendered, and the content of the content block is normally displayed. Optionally, a default option can be set, rendering is directly performed according to configuration information of the default option when rendering is performed each time, and if different rendering effects are required by a user, the rendering option is modified.
Fig. 4 is a schematic diagram of a content block after opening a privacy option according to an embodiment of the present application. As shown in fig. 4, after the privacy option is opened, the content block is demosaiced at the final display, thereby achieving the purpose of privacy protection.
Referring to fig. 5, a schematic diagram of comparison between before and after document rearrangement is provided in an embodiment of the present application. As shown in FIG. 5, the left page is an initial editing page, a user can create any content block and a content title and sequence number corresponding to the content block on the page, and the right page is a document obtained by re-typesetting all the content blocks in the left page by adopting the document processing method in the embodiment of the application, so that the whole document page is uniform in format and clear in logic, and is convenient for the user to read.
In the embodiment of the application, each content block corresponds to one content title and one sequence number, so that all the content blocks in the document can be rearranged according to the set priority of the content title and the sequence number, the purpose of automatic and accurate rearrangement of the document is realized, and the processing efficiency of the document can be effectively improved.
It should be noted that, in the document processing method provided in the embodiment of the present application, the execution body may be a document processing apparatus, or a control module for executing the document processing method in the document processing. In the embodiment of the application, the document processing device is taken as an example for executing a document loading processing method by the document processing device, and the document processing device provided by the embodiment of the application is described.
Referring to fig. 6, a schematic diagram of a document processing apparatus according to an embodiment of the present application is shown. As shown in fig. 6, another embodiment of the present application further provides a document processing apparatus, the document processing apparatus 60 may include:
an obtaining module 61, configured to obtain content blocks and content titles and sequence numbers corresponding to each of the content blocks;
And the typesetting module 62 is configured to rearrange the content blocks according to the content titles and the priorities of the sequence numbers.
Optionally, the serial numbers are divided into a plurality of levels, and the typesetting module 62 includes:
the first classification unit is used for aggregating the content blocks corresponding to the serial numbers of the same level under the condition that the priority of the serial numbers is higher than that of the content titles, so as to obtain a plurality of aggregation units;
The first ordering unit is used for ordering the aggregation units according to the grades of the sequence numbers;
And the first typesetting unit is used for sequencing the content blocks in each aggregation unit according to the sequence from the small sequence number to the large sequence number.
Optionally, the first classification unit includes:
and the first classification subunit is used for selecting and aggregating the content blocks with the number equal to the preset value from the content blocks corresponding to the serial numbers of the same level under the condition that the number of the content blocks corresponding to the serial numbers of the same level is larger than the preset value.
Optionally, the classifying subunit includes:
And the first classification micro unit is used for selecting and aggregating the content blocks of the same content title with the number equal to the preset value according to the sequence from the small number to the large number of the content blocks under the condition that the number of the content blocks of the same content title is larger than the preset value.
Optionally, the typesetting module 62 includes:
The second classification unit is used for aggregating the content blocks corresponding to the same content title under the condition that the priority of the serial number is lower than the priority of the content title, so as to obtain a plurality of aggregation units;
The second ordering unit is used for ordering the aggregation units according to the preset sequence of the content titles;
And the second typesetting unit is used for sequencing the content blocks in each aggregation unit according to the sequence from small to large corresponding to each content block.
Optionally, the second classification unit includes:
And the second classification subunit is used for selecting and aggregating the content blocks with the number equal to the preset value according to the sequence from the small sequence number to the large sequence number of the content blocks under the condition that the number of the content blocks corresponding to the same content title is larger than the preset value.
Optionally, the method further comprises:
the configuration module is used for acquiring configuration information of rendering options corresponding to each content block, wherein the rendering options comprise at least one of sequence number hiding options and privacy options;
and the rendering module is used for rendering the sequenced sequence numbers and the content blocks according to the configuration information.
In the embodiment of the application, each content block corresponds to one content title and one sequence number, so that all the content blocks in the document can be rearranged according to the set priority of the content title and the sequence number, the purpose of automatic and accurate rearrangement of the document is realized, and the processing efficiency of the document can be effectively improved.
The document processing device in the embodiment of the application can be a device, a component in a terminal, an integrated circuit or a chip. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The document processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The document processing device provided by the embodiment of the present application can implement each process implemented by the embodiments of the document processing methods of fig. 1 to 5, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 7, the embodiment of the present application further provides an electronic device 70, including a processor 71, a memory 72, and a program or an instruction stored in the memory 72 and capable of running on the processor 71, where the program or the instruction implements each process of the above-mentioned embodiment of the document processing method when executed by the processor 71, and the process can achieve the same technical effects, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 80 includes, but is not limited to, a radio frequency unit 81, a network module 82, an audio output unit 83, an input unit 84, a sensor 85, a display unit 86, a user input unit 87, an interface unit 88, a memory 89, and a processor 810.
Those skilled in the art will appreciate that the electronic device 80 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 810 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
A user input unit 87, configured to obtain content blocks and content titles and serial numbers corresponding to each of the content blocks;
A processor 810 for rearranging the content blocks according to the priorities of the content titles and the sequence numbers;
And a display unit 86 for displaying the document after the rearrangement.
In the embodiment of the application, each content block corresponds to one content title and one sequence number, so that all the content blocks in the document can be rearranged according to the set priority of the content title and the sequence number, the purpose of automatic and accurate rearrangement of the document is realized, and the processing efficiency of the document can be effectively improved.
Optionally, the sequence number is divided into a plurality of levels, and the processor 810 is further configured to:
under the condition that the priority of the serial numbers is higher than that of the content titles, content blocks corresponding to the serial numbers of the same level are aggregated to obtain a plurality of aggregation units;
sequencing the aggregation units according to the sequence number level;
And sequencing the content blocks in each aggregation unit according to the sequence from small to large of the sequence numbers corresponding to the content blocks, and displaying the sequenced sequence numbers and content blocks.
Optionally, the processor 810 is further configured to select, when the number of content blocks corresponding to the sequence numbers of the same level is greater than a preset value, content blocks equal to the preset value from the content blocks corresponding to the sequence numbers of the same level for aggregation.
Optionally, the step of selecting, from the content blocks corresponding to the serial numbers of the same level, a number of content blocks equal to the preset value for aggregation includes:
And under the condition that the number of the content blocks of the same content titles is larger than the preset value, selecting the content blocks of the same content titles with the number equal to the preset value from small to large according to the sequence of the sequence numbers of the content blocks to aggregate.
Optionally, the processor 810 is further configured to aggregate content blocks corresponding to the same content title to obtain a plurality of aggregation units if the priority of the sequence number is lower than the priority of the content title;
Sorting the aggregation units according to the preset sequence of the content titles;
and sequencing the content blocks in each aggregation unit according to the sequence number corresponding to each content block from small to large.
Optionally, the processor 810 is further configured to:
And under the condition that the number of content blocks corresponding to the same content title is larger than a preset value, selecting and aggregating the content blocks with the number equal to the preset value according to the sequence from the sequence number of the content blocks to the sequence number of the content blocks.
Optionally, the processor 810 is further configured to:
Acquiring configuration information of rendering options corresponding to each content block, wherein the rendering options comprise at least one of sequence number hiding options and privacy options;
And rendering the sequenced sequence numbers and the content blocks according to the configuration information.
It should be appreciated that in embodiments of the present application, the input unit 84 may include a graphics processor (Graphics Processing Unit, GPU) 841 and a microphone 842, the graphics processor 841 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 86 may include a display panel 861, and the display panel 861 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 87 includes a touch panel 871 and other input devices 872. The touch panel 871 is also called a touch screen. The touch panel 871 may include two parts, a touch detection device and a touch controller. Other input devices 872 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 89 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 810 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 810.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-mentioned document processing method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the document processing method, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.