Document format custom detection method and device, equipment and storage medium

By customizing document standard format information and dynamically adjusting detection point allocation, the problem of poor detection and presentation of large cloud servers in document format detection is solved, achieving more efficient computing and better user experience.

CN120030981APending Publication Date: 2025-05-23GHOSTCLOUD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411962712.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

Existing large cloud servers have problems with poor detection and presentation during document format detection, especially when facing the custom detection needs of different users and quickly positioning the detection results.

Method used

By obtaining the document standard format information customized by each user terminal, the format detection points in the document to be detected are divided into two categories: preprocessing section and subsequent detection section, and the first format detection list and the second format detection list are added respectively. The format detection tasks are performed separately by using two processors, and the allocation of detection points is adjusted in real time according to the user's viewing position adjustment action.

Benefits of technology

It significantly reduces the computing pressure of the server, improves the browsing and viewing experience of users, and adapts to the special viewing needs of different users, and improves the detection and presentation effect of document format detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120030981A_ABST
    Figure CN120030981A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of document format detection, and discloses a document format custom detection method and device, equipment and a storage medium. A plurality of format detection points in a to-be-detected document are divided and added into a first format detection list which is detected and presented in advance and a second format detection list which is detected and presented subsequently respectively, and a first processor and a second processor are driven to execute format comparison and display respectively. Through pre-loading a part of detection results for display, the operation pressure of the server can be significantly reduced, and the sensory experience of the user is also improved. Meanwhile, distribution of the format detection points of the to-be-detected document is adjusted in real time based on the features of the viewing position adjustment action of the user terminal, the position adjustment flexibility of the format detection points is improved, special viewing and browsing requirements of different users are met, and the detection and presentation effects of document format detection of the large cloud server are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of document format detection, and in particular to a document format custom detection method, device, equipment and storage medium. Background Art

[0002] In the process of document processing, maintaining the standardization and consistency of document formats is crucial to improving document quality and reading experience. However, traditional document format checking methods often rely on manual review, which is not only inefficient but also prone to errors. Although there are related document format detection software applications on the user terminal side, in some scenarios, especially when facing large-scale document format detection applications (such as commercial platforms with massive users), large cloud servers are usually used for processing.

[0003] However, there are still many limitations in the process of document format detection by existing large cloud servers: (1) Different users usually have different requirements for the standard format of the detected documents, and the server needs to provide customized document format services for different format detection requirements. On the one hand, this increases the processing difficulty of the server, and on the other hand, it poses a challenge to the rational allocation of the server's computing resources; (2) Large cloud servers usually use real-time display of detection results for feedback. In order to improve detection efficiency and user experience, the server can use segmented detection and display (that is, first detect and display a part of the content of each document to be detected, and continuously update and display subsequent detection results while the user is browsing). Although this method can significantly reduce the computing pressure of the server and improve the user's sensory experience, it still has defects in some scenario requirements. For example, different users have different viewing speeds. For example, some users want to directly locate the detection results of a certain paragraph in the middle of the document to be detected. The existing method cannot achieve a good presentation effect for these requirements.

[0004] Therefore, how to improve the detection and presentation effect of document format detection on large cloud servers to provide users with a better browsing and viewing experience is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The present invention provides a document format customized detection method, device, equipment and storage medium, aiming to solve at least one of the above technical problems.

[0006] To achieve the above object, the present invention provides a document format customization detection method, comprising the following steps:

[0007] Obtaining document standard format information customized by each user terminal; wherein the document standard format information includes a plurality of format detection points, each format detection point including a standard format and a detection position;

[0008] When receiving a document to be detected uploaded by a user terminal, a plurality of format detection points whose detection positions in the document to be detected belong to the preprocessing section are added as a whole to the last position of the created first format detection list, and the remaining format detection points are divided according to a preset rule and added to the positions after each detection cycle in the created second format detection list in sequence;

[0009] Driving the first processor and the second processor to respectively perform format comparison between the standard format and the actual format of each format detection point in the first format detection list and the second format detection list in sequence, and displaying the format comparison result in the detection result window;

[0010] Collecting the viewing position adjustment actions of each user terminal in the detection result window, adjusting the display content of the document to be detected in the detection result window, and generating display content change information based on the display contents of two adjacent viewing position adjustment actions;

[0011] It is determined whether the display content change information satisfies a format detection policy update condition, and if so, the format detection points stored in the first format detection list and the second format detection list are adjusted.

[0012] Optionally, the step of obtaining the document standard format information customized by each user terminal specifically includes:

[0013] Obtaining the standard format text of the document uploaded by each user terminal, identifying the standard format corresponding to each text position in the text content of the standard format text of the document, and constructing a standard format set;

[0014] Based on the standard format set, standard format adjustment information uploaded by the user terminal is received, and several standard formats in the standard format set are added, deleted or modified using the standard format adjustment information to generate document standard format information including the standard format and detection position corresponding to each format detection point.

[0015] Optionally, when receiving a document to be detected uploaded by a user terminal, a plurality of format detection points whose detection positions in the document to be detected belong to the preprocessing section are added as a whole to the last position of the created first format detection list, and the remaining format detection points are divided according to a preset rule and added to the positions after each detection cycle in the created second format detection list in sequence, specifically including:

[0016] When receiving a document to be detected uploaded by a user terminal, identifying detection positions of all format detection points in the document to be detected based on the document standard format information;

[0017] Adding a plurality of format detection points whose detection positions in the document to be detected belong to the preprocessing section as a whole to the last position of the created first format detection list; wherein the preprocessing section is configured as a section consisting of the first preset percentage of paragraph positions in the document content of the document to be detected;

[0018] The remaining format detection points are divided according to preset rules and added to the positions after each detection cycle in the created second format detection list in sequence; wherein, the division according to preset rules is configured to divide the detection points into a detection group according to a preset number of format detection points, and each detection cycle is configured to be the execution duration of the format detection points of a detection group set continuously composed of a detection group corresponding to all detection documents in the second format detection list.

[0019] Optionally, driving the first processor and the second processor to respectively perform format comparison between the standard format and the actual format of each format detection point in the first format detection list and the second format detection list in sequence, and displaying the format comparison result in the detection result window, specifically includes:

[0020] Driving the first processor to sequentially perform a format comparison between a standard format and an actual format for each format detection point in the first format detection list, and driving the second processor to sequentially perform a format comparison between a standard format and an actual format for each format detection point in the second format detection list;

[0021] The obtained format comparison result of each format detection point is embedded in the corresponding position of the document to be detected, and the document to be detected is displayed in the detection result window.

[0022] Optionally, collecting the viewing position adjustment actions of each user terminal in the detection result window, adjusting the display content of the document to be detected in the detection result window, and generating display content change information based on the display content of two adjacent viewing position adjustment actions, specifically includes:

[0023] Collecting the viewing position adjustment action of each user terminal in the detection result window; wherein the viewing position adjustment action includes an action of moving up or down the display area of ​​the document to be detected in the detection result window in response to input by the interactive device;

[0024] According to the action of moving the display area up or down, adjusting the display content of the document to be detected in the detection result window;

[0025] Based on the display contents of two adjacent viewing position adjustment actions, display content change information is generated; wherein the display content change information is configured as the display area interval distance within a unit display time between the two adjacent viewing position adjustment actions.

[0026] Optionally, determining whether the display content change information satisfies a format detection policy update condition, and if so, adjusting the format detection points stored in the first format detection list and the second format detection list, specifically includes:

[0027] Determine whether the display content change information satisfies a format detection strategy update condition; wherein the format detection strategy update condition is configured as follows: the display area interval distance within a unit display time corresponding to the display content change information of two current adjacent viewing position adjustment actions is greater than the target display area interval distance, or the display area interval distance within a unit display time corresponding to the display content change information of a plurality of consecutive adjacent viewing position adjustment actions is distributed in an increasing manner;

[0028] If so, the format detection points stored in the first format detection list and the second format detection list are adjusted.

[0029] Optionally, the step of adjusting the format detection points stored in the first format detection list and the second format detection list specifically includes:

[0030] Adding format detection points corresponding to the target number of detection groups before the document to be detected stored in the second format detection list to the first format detection list to construct a new first format detection list;

[0031] A target number of detection groups added to the first format detection list are removed to update a new second format detection list.

[0032] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a document format customization detection device, comprising:

[0033] An acquisition module, used to acquire document standard format information customized by each user terminal; wherein the document standard format information includes a plurality of format detection points, each format detection point includes a standard format and a detection position;

[0034] The adding module is used to, upon receiving a document to be detected uploaded by a user terminal, add a number of format detection points in the document to be detected whose detection positions belong to the preprocessing section as a whole to the last position of the created first format detection list, and divide the remaining format detection points according to a preset rule and add them to the positions after each detection cycle in the created second format detection list in sequence;

[0035] A comparison module, used to drive the first processor and the second processor to respectively perform a format comparison between a standard format and an actual format of each format detection point in the first format detection list and the second format detection list in sequence, and display the format comparison result in a detection result window;

[0036] A generating module, used for collecting the viewing position adjustment actions of each user terminal in the detection result window, adjusting the display content of the document to be detected in the detection result window, and generating display content change information based on the display content of two adjacent viewing position adjustment actions;

[0037] The adjustment module is used to determine whether the display content change information satisfies the format detection policy update condition, and if so, adjust the format detection points stored in the first format detection list and the second format detection list.

[0038] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a document format customization detection device, which includes: a memory, a processor, and a document format customization detection program stored on the memory and executable on the processor, and the document format customization detection program implements the steps of the document format customization detection method described above when executed by the processor.

[0039] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a document format customization detection program is stored, and when the document format customization detection program is executed by a processor, the steps of the above-mentioned document format customization detection method are implemented.

[0040] The beneficial effects of the present invention are: a document format custom detection method, device, equipment and storage medium are proposed, by obtaining the document standard format information customized by each user terminal, when receiving the document to be detected uploaded by the user terminal, a number of format detection points in the document to be detected are divided and added to the first format detection list pre-detected and presented and the second format detection list subsequently detected and presented, driving the first processor and the second processor to respectively perform the comparison between the standard format and the actual format of each format detection point in the first format detection list and the second format detection list, and displaying the format comparison result in the detection window, by pre-loading a part of the detection results for display, it can significantly reduce the computing pressure of the server and also improve the user's sensory experience. At the same time, based on the characteristics of the viewing position adjustment action of the user terminal, the display content change information is determined, and the distribution of the format detection points of the document to be detected in the first format detection list and the second format detection list is adjusted in real time, the position adjustment flexibility of the format detection points is improved, and the special viewing and browsing needs of different users can be adapted, and the detection and presentation effect of the document format detection of the cloud-based large server is improved, giving users a better browsing and viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention;

[0042] Figure 2 A schematic diagram of a process flow of an embodiment of a document format customization detection method of the present invention;

[0043] Figure 3 The figure is a structural block diagram of a document format customization detection device in an embodiment of the present invention.

[0044] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0046] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0047] like Figure 1 As shown, Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.

[0048] like Figure 1 As shown, the device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0049] Those skilled in the art will understand that Figure 1 The structure of the device shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0050] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a document format custom detection program.

[0051] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and perform data communication with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and perform data communication with the client; and the processor 1001 can be used to call the document format custom detection program stored in the memory 1005 and perform the following operations:

[0052] Obtaining document standard format information customized by each user terminal; wherein the document standard format information includes a plurality of format detection points, each format detection point including a standard format and a detection position;

[0053] When receiving a document to be detected uploaded by a user terminal, a plurality of format detection points whose detection positions in the document to be detected belong to the preprocessing section are added as a whole to the last position of the created first format detection list, and the remaining format detection points are divided according to a preset rule and added to the positions after each detection cycle in the created second format detection list in sequence;

[0054] Driving the first processor and the second processor to respectively perform format comparison between the standard format and the actual format of each format detection point in the first format detection list and the second format detection list in sequence, and displaying the format comparison result in the detection result window;

[0055] Collecting the viewing position adjustment actions of each user terminal in the detection result window, adjusting the display content of the document to be detected in the detection result window, and generating display content change information based on the display contents of two adjacent viewing position adjustment actions;

[0056] It is determined whether the display content change information satisfies a format detection policy update condition, and if so, the format detection points stored in the first format detection list and the second format detection list are adjusted.

[0057] The specific embodiments of the present invention applied to the device are basically the same as the embodiments of the following application document format custom detection method, and will not be described in detail here.

[0058] The embodiment of the present invention provides a document format custom detection method, referring to Figure 2 , Figure 2 The figure is a flow chart of an embodiment of a document format customization detection method of the present invention.

[0059] In this embodiment, the document format customization detection method includes the following steps:

[0060] S100: Obtaining document standard format information customized by each user terminal; wherein the document standard format information includes a plurality of format detection points, each format detection point including a standard format and a detection position;

[0061] S200: when receiving a document to be detected uploaded by a user terminal, a plurality of format detection points whose detection positions in the document to be detected belong to the preprocessing section are added as a whole to the last position of the created first format detection list, and the remaining format detection points are divided according to a preset rule and added to the positions after each detection cycle in the created second format detection list in sequence;

[0062] S300: driving the first processor and the second processor to respectively perform format comparison between the standard format and the actual format of each format detection point in the first format detection list and the second format detection list in sequence, and displaying the format comparison result in the detection result window;

[0063] S400: collecting viewing position adjustment actions of each user terminal in the detection result window, adjusting the display content of the document to be detected in the detection result window, and generating display content change information based on the display contents of two adjacent viewing position adjustment actions;

[0064] S500: Determine whether the display content change information satisfies a format detection policy update condition, and if so, adjust the format detection points stored in the first format detection list and the second format detection list.

[0065] It should be noted that there are still many limitations in the process of document format detection by existing large cloud servers: (1) Different users usually have different requirements for the standard format of the detected documents, and the server is required to provide customized document format services for different format detection requirements. On the one hand, this increases the processing difficulty of the server, and on the other hand, it poses a challenge to the rational allocation of the server's computing resources; (2) Large cloud servers usually use real-time display of detection results for feedback. In order to improve detection efficiency and user experience, the server can use a segmented detection and display method (that is, first detect and display a part of the content of each document to be detected, and continuously update and display subsequent detection results while the user is browsing). Although this method can significantly reduce the computing pressure of the server and improve the user's sensory experience, it still has defects in some scenario requirements. For example, different users have different viewing speeds. For example, some users want to directly locate the detection results of a certain paragraph in the middle of the document to be detected. The existing method cannot achieve a good presentation effect for this part of the demand.

[0066] In order to solve the above problems, this embodiment obtains the document standard format information customized by each user terminal. When receiving the document to be detected uploaded by the user terminal, several format detection points in the document to be detected are divided and added to the first format detection list pre-detected and presented and the second format detection list subsequently detected and presented, respectively, driving the first processor and the second processor to respectively perform the comparison between the standard format and the actual format of each format detection point in the first format detection list and the second format detection list, and displaying the format comparison results in the detection window. By pre-loading a part of the detection results for display, the computing pressure of the server can be significantly reduced, and the user's sensory experience is also improved. At the same time, based on the characteristics of the viewing position adjustment action of the user terminal, the display content change information is determined, and the distribution of the format detection points of the document to be detected in the first format detection list and the second format detection list is adjusted in real time, the position adjustment flexibility of the format detection points is improved, and the special viewing and browsing needs of different users can be adapted, and the detection and presentation effect of the document format detection of the large cloud server is improved, giving users a better browsing and viewing experience.

[0067] In a preferred embodiment, the step of obtaining the document standard format information customized by each user terminal specifically includes:

[0068] S110: Acquire the standard format text of the document uploaded by each user terminal, identify the standard format corresponding to each text position in the text content of the standard format text of the document, and construct a standard format set;

[0069] S120: Based on the standard format set, receive standard format adjustment information uploaded by the user terminal, use the standard format adjustment information to add, delete and modify several standard formats in the standard format set, and generate document standard format information including the standard format and detection position corresponding to each format detection point.

[0070] In this embodiment, the document standard format information customized by each user terminal is obtained by first obtaining the document standard format text uploaded by the user, identifying the standard format corresponding to each text position in the document standard format text and constructing a standard format set, and then adding, deleting and modifying several standard formats in the standard format set according to the standard format adjustment information input by the user, and finally obtaining the user-defined format standard for executing the current document format detection task.

[0071] In a preferred embodiment, when receiving a document to be detected uploaded by a user terminal, a plurality of format detection points whose detection positions in the document to be detected belong to the preprocessing section are added as a whole to the last position of the created first format detection list, and the remaining format detection points are divided according to a preset rule and added to the positions after each detection cycle in the created second format detection list in sequence, specifically including:

[0072] S210: When receiving a document to be detected uploaded by a user terminal, identifying detection positions of all format detection points in the document to be detected based on the document standard format information;

[0073] S220: adding a plurality of format detection points whose detection positions in the document to be detected belong to the preprocessing section as a whole to the last position of the created first format detection list; wherein the preprocessing section is configured as a section consisting of the first preset percentage of paragraph positions in the document content of the document to be detected;

[0074] S230: After dividing the remaining format detection points according to preset rules, they are added in sequence to the positions after each detection cycle in the created second format detection list; wherein, the division according to the preset rules is configured to divide the detection points into a detection group according to a preset number of format detection points, and each detection cycle is configured to be the execution duration of the format detection points of a detection group set continuously composed of a detection group corresponding to all detection documents in the second format detection list.

[0075] Specifically, driving the first processor and the second processor to respectively perform format comparison between the standard format and the actual format of each format detection point in the first format detection list and the second format detection list in sequence, and displaying the format comparison result in the detection result window, specifically includes:

[0076] S310: driving the first processor to sequentially perform a format comparison between a standard format and an actual format for each format detection point in the first format detection list, and driving the second processor to sequentially perform a format comparison between a standard format and an actual format for each format detection point in the second format detection list;

[0077] S320: embedding the obtained format comparison result of each format detection point into a corresponding position in the document to be detected, and displaying the document to be detected in a detection result window.

[0078] In this embodiment, by constructing a first format detection list and a second format detection list, format detection points for pre-detection and display in each document to be detected are added to the first format detection list, and format detection points for subsequent detection and display in each document to be detected are added to the second format detection list, and two processors are used to respectively execute the format detection tasks of the format detection points of the two lists, so that the first format detection list with fewer format detection points can be quickly executed and the detection results can be displayed to the user, and the second format detection list with more format detection points can be divided into several detection groups and added to each detection cycle respectively. By pre-loading a part of the detection results for display, the computing pressure of the server can be significantly reduced, and the user's sensory experience is also improved.

[0079] In a preferred embodiment, the step of collecting the viewing position adjustment action of each user terminal in the detection result window, adjusting the display content of the document to be detected in the detection result window, and generating display content change information based on the display content of two adjacent viewing position adjustment actions specifically includes:

[0080] S410: collecting the viewing position adjustment action of each user terminal in the detection result window; wherein the viewing position adjustment action includes an action of moving up or down the display area of ​​the document to be detected in the detection result window in response to input by the interactive device;

[0081] S420: adjusting the display content of the document to be detected in the detection result window according to the action of moving the display area up or moving the display area down;

[0082] S430: Generate display content change information based on the display contents of two adjacent viewing position adjustment actions; wherein the display content change information is configured as the display area interval distance within a unit display time between two adjacent viewing position adjustment actions.

[0083] On this basis, determining whether the display content change information satisfies the format detection strategy update condition, and if so, adjusting the format detection points stored in the first format detection list and the second format detection list, specifically includes:

[0084] S510: Determine whether the display content change information satisfies a format detection strategy update condition; wherein the format detection strategy update condition is configured as: the display area interval distance within a unit display time corresponding to the display content change information of two current adjacent viewing position adjustment actions is greater than the target display area interval distance, or the display area interval distances within a unit display time corresponding to the display content change information of a plurality of consecutive adjacent viewing position adjustment actions are distributed in an increasing manner;

[0085] S520: If yes, adjust the format detection points stored in the first format detection list and the second format detection list.

[0086] Furthermore, the step of adjusting the format detection points stored in the first format detection list and the second format detection list specifically includes:

[0087] S521: adding format detection points corresponding to the target number of detection groups before the document to be detected stored in the second format detection list to the first format detection list to construct a new first format detection list;

[0088] S522: Eliminate a target number of detection groups added to the first format detection list to update a new second format detection list.

[0089] In this embodiment, based on the characteristics of the viewing position adjustment action of the user terminal, the display content change information is determined, and the distribution of the format detection points of the document to be detected in the first format detection list and the second format detection list is adjusted in real time, thereby improving the flexibility of the position adjustment of the format detection points. This can adapt to the special viewing and browsing needs of different users, improve the detection and presentation effects of document format detection on large cloud servers, and provide users with a better browsing experience.

[0090] Reference Figure 3 , Figure 3 It is a structural block diagram of an embodiment of a document format customization detection device of the present invention.

[0091] like Figure 3 As shown, the document format customization detection device proposed in the embodiment of the present invention includes:

[0092] The acquisition module 10 is used to acquire the document standard format information customized by each user terminal; wherein the document standard format information includes a plurality of format detection points, each format detection point includes a standard format and a detection position;

[0093] The adding module 20 is used for, when receiving a document to be detected uploaded by a user terminal, adding a number of format detection points in the document to be detected whose detection positions belong to the preprocessing section as a whole to the last position of the created first format detection list, and dividing the remaining format detection points according to a preset rule and adding them to the positions after each detection cycle in the created second format detection list in sequence;

[0094] A comparison module 30, used to drive the first processor and the second processor to perform format comparison between the standard format and the actual format of each format detection point in the first format detection list and the second format detection list in sequence, and display the format comparison result in the detection result window;

[0095] A generating module 40 is used to collect the viewing position adjustment actions of each user terminal in the detection result window, adjust the display content of the document to be detected in the detection result window, and generate display content change information based on the display content of two adjacent viewing position adjustment actions;

[0096] The adjustment module 50 is used to determine whether the display content change information satisfies the format detection strategy update condition, and if so, adjust the format detection points stored in the first format detection list and the second format detection list.

[0097] Other embodiments or specific implementations of the document format customization detection device of the present invention can refer to the above-mentioned method embodiments, which will not be described in detail here.

[0098] In addition, the present invention also proposes a document format customization detection device, which includes: a memory, a processor, and a document format customization detection program stored in the memory and executable on the processor, and the document format customization detection program implements the steps of the document format customization detection method described above when executed by the processor.

[0099] The specific implementation of the document format customization detection device of the present application is basically the same as the various embodiments of the document format customization detection method described above, and will not be repeated here.

[0100] In addition, the present invention also proposes a readable storage medium, the readable storage medium includes a computer readable storage medium, on which a document format custom detection program is stored. The readable storage medium may be Figure 1 The memory 1005 in the terminal may also be at least one of a ROM (Read-Only Memory) / RAM (Random Access Memory), a magnetic disk, and an optical disk. The readable storage medium includes a number of instructions for enabling a document format customization detection device having a processor to execute the document format customization detection method described in each embodiment of the present invention.

[0101] The specific implementation in the readable storage medium of the present application is basically the same as the various embodiments of the above-mentioned document format customized detection method, and will not be repeated here.

[0102] It is understood that, in the description of this specification, the description with reference to the terms "one embodiment", "another embodiment", "other embodiments", or "first to Nth embodiments" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0103] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0104] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0105] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0106] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A document format custom detection method, characterized in that: The following steps are involved: Obtaining document standard format information customized by each user terminal; wherein the document standard format information includes a plurality of format detection points, each format detection point including a standard format and a detection position; When receiving a document to be detected uploaded by a user terminal, a plurality of format detection points whose detection positions in the document to be detected belong to the preprocessing section are added as a whole to the last position of the created first format detection list, and the remaining format detection points are divided according to a preset rule and added to the positions after each detection cycle in the created second format detection list in sequence; Driving the first processor and the second processor to respectively perform format comparison between the standard format and the actual format of each format detection point in the first format detection list and the second format detection list in sequence, and displaying the format comparison result in the detection result window; Collecting the viewing position adjustment actions of each user terminal in the detection result window, adjusting the display content of the document to be detected in the detection result window, and generating display content change information based on the display contents of two adjacent viewing position adjustment actions; It is determined whether the display content change information satisfies a format detection policy update condition, and if so, the format detection points stored in the first format detection list and the second format detection list are adjusted.

2. The document format customization detection method according to claim 1, characterized in that: The steps for obtaining the document standard format information customized by each user terminal include: Obtaining the standard format text of the document uploaded by each user terminal, identifying the standard format corresponding to each text position in the text content of the standard format text of the document, and constructing a standard format set; Based on the standard format set, standard format adjustment information uploaded by the user terminal is received, and several standard formats in the standard format set are added, deleted or modified using the standard format adjustment information to generate document standard format information including the standard format and detection position corresponding to each format detection point.

3. The document format customization detection method according to claim 1, characterized in that: When receiving a document to be detected uploaded by a user terminal, a plurality of format detection points whose detection positions in the document to be detected belong to the preprocessing section are added as a whole to the last position of the created first format detection list, and the remaining format detection points are divided according to a preset rule and added to the positions after each detection cycle in the created second format detection list in sequence, specifically including: When receiving a document to be detected uploaded by a user terminal, identifying detection positions of all format detection points in the document to be detected based on the document standard format information; Adding a plurality of format detection points whose detection positions in the document to be detected belong to the preprocessing section as a whole to the last position of the created first format detection list; wherein the preprocessing section is configured as a section consisting of the first preset percentage of paragraph positions in the document content of the document to be detected; The remaining format detection points are divided according to preset rules and added to the positions after each detection cycle in the created second format detection list in sequence; wherein, the division according to preset rules is configured to divide the detection points into a detection group according to a preset number of format detection points, and each detection cycle is configured to be the execution duration of the format detection points of a detection group set continuously composed of a detection group corresponding to all detection documents in the second format detection list.

4. The document format customization detection method according to claim 1, characterized in that: The steps of driving the first processor and the second processor to respectively perform format comparison between the standard format and the actual format of each format detection point in the first format detection list and the second format detection list in sequence, and displaying the format comparison result in the detection result window, specifically include: Driving the first processor to sequentially perform a format comparison between a standard format and an actual format for each format detection point in the first format detection list, and driving the second processor to sequentially perform a format comparison between a standard format and an actual format for each format detection point in the second format detection list; The obtained format comparison result of each format detection point is embedded in the corresponding position of the document to be detected, and the document to be detected is displayed in the detection result window.

5. The document format customization detection method according to claim 3, characterized in that: The step of collecting the viewing position adjustment actions of each user terminal in the detection result window, adjusting the display content of the document to be detected in the detection result window, and generating display content change information based on the display content of two adjacent viewing position adjustment actions specifically includes: Collecting the viewing position adjustment action of each user terminal in the detection result window; wherein the viewing position adjustment action includes an action of moving up or down the display area of ​​the document to be detected in the detection result window in response to input by the interactive device; According to the action of moving the display area up or down, adjusting the display content of the document to be detected in the detection result window; Based on the display contents of two adjacent viewing position adjustment actions, display content change information is generated; wherein the display content change information is configured as the display area interval distance within a unit display time between the two adjacent viewing position adjustment actions.

6. The document format customization detection method according to claim 5, characterized in that: Determining whether the display content change information satisfies the format detection policy update condition, and if so, adjusting the format detection points stored in the first format detection list and the second format detection list, specifically includes: Determine whether the display content change information satisfies a format detection strategy update condition; wherein the format detection strategy update condition is configured as follows: the display area interval distance within a unit display time corresponding to the display content change information of two current adjacent viewing position adjustment actions is greater than the target display area interval distance, or the display area interval distance within a unit display time corresponding to the display content change information of a plurality of consecutive adjacent viewing position adjustment actions is distributed in an increasing manner; If so, the format detection points stored in the first format detection list and the second format detection list are adjusted.

7. The document format customization detection method according to claim 6, characterized in that: The step of adjusting the format detection points stored in the first format detection list and the second format detection list specifically includes: Adding format detection points corresponding to the target number of detection groups before the document to be detected stored in the second format detection list to the first format detection list to construct a new first format detection list; A target number of detection groups added to the first format detection list are removed to update a new second format detection list.

8. A document format customization detection device, characterized in that: include: An acquisition module, used to acquire document standard format information customized by each user terminal; wherein the document standard format information includes a plurality of format detection points, each format detection point includes a standard format and a detection position; The adding module is used to, upon receiving a document to be detected uploaded by a user terminal, add a number of format detection points in the document to be detected whose detection positions belong to the preprocessing section as a whole to the last position of the created first format detection list, and divide the remaining format detection points according to a preset rule and add them to the positions after each detection cycle in the created second format detection list in sequence; A comparison module, used to drive the first processor and the second processor to respectively perform a format comparison between a standard format and an actual format of each format detection point in the first format detection list and the second format detection list in sequence, and display the format comparison result in a detection result window; A generating module, used for collecting the viewing position adjustment actions of each user terminal in the detection result window, adjusting the display content of the document to be detected in the detection result window, and generating display content change information based on the display content of two adjacent viewing position adjustment actions; The adjustment module is used to determine whether the display content change information satisfies the format detection policy update condition, and if so, adjust the format detection points stored in the first format detection list and the second format detection list.

9. A document format customization detection device, characterized in that: The document format customization detection device includes: a memory, a processor, and a document format customization detection program stored in the memory and executable on the processor. When the document format customization detection program is executed by the processor, the steps of the document format customization detection method according to any one of claims 1 to 7 are implemented.

10. A storage medium, characterized in that: The storage medium stores a document format customization detection program, which, when executed by a processor, implements the steps of the document format customization detection method according to any one of claims 1 to 7.