Revision assisting method and device and storage medium
By automatically matching and replacing the pre-revision content of patent-related texts, the problem of cumbersome and prone to errors in the existing technology is solved, efficient and accurate text revision is achieved, and revision efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202411001727.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-12-17
AI Technical Summary
In the prior art, the revision process of patent-related texts is complicated and prone to errors. Especially when other corresponding contents are revised simultaneously after the revision, it is necessary to manually search and modify them one by one, which is inefficient and prone to errors.
By receiving the revision end instruction, determine the content before revision of the patent-related text, and match and replace the remaining parts based on this content. The revision will be automatically completed after denoising, including removing punctuation marks, definite articles and indicator pronouns, and used when matching Minimum matching units and separators, automatically locate and replace target content.
It realizes automatic revision of patent-related texts, improves revision efficiency, reduces the risk of errors, and makes the revised text neat and accurate, making it easier to review and read subsequently.
Smart Images

Figure CN119149683A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a revision assistance method, device and storage medium. Background Art
[0002] Patent-related texts need to follow certain formal requirements, where there will be several groups of corresponding content in different locations, and each group of corresponding content needs to be consistent. For example, patent-related texts include claims and specifications, and the technical content in the claims needs to correspond to the technical content in the specifications. However, if one of a group of corresponding contents is revised in the middle of writing or after writing, the remaining corresponding contents in the group also need to be revised synchronously. The existing revision method generally searches for revisions one by one manually, and the revision process is cumbersome and prone to errors in the process. Summary of the invention
[0003] The embodiments of the present application provide a method, device and storage medium for assisting in the revision of patent-related texts, so as to solve the technical problem that after the content in the patent-related texts is revised, the other corresponding contents are complicated and error-prone during the synchronous revision.
[0004] To solve the above technical problems, the first aspect of the present application provides a revision assistance method for patent-related texts, the method comprising: receiving a first instruction for the patent-related text, the first instruction comprising a revision end instruction; determining the pre-revision content in the patent-related text in response to the first instruction; matching the remaining part or selected part of the patent-related text with the pre-revision content; and revising all or part of the target content obtained by matching based on the revised content, the revised content being content obtained based on the pre-revision content.
[0005] Among them, before or simultaneously matching the remaining part or selected part of the patent-related text with the pre-revision content, it includes: performing noise removal processing on the pre-revision content, the remaining part, and the selected part to be matched, and the noise removal processing includes removing at least one of punctuation marks, removing numbers, removing definite articles, and removing demonstrative pronouns.
[0006] Among them, revising all or part of the matched target content based on the revised content includes: replacing the second content in the target content with the first content after the revised content is subjected to noise removal, and not changing the remaining content in the target content except the second content.
[0007] Among them, determining the pre-revised content in the patent-related text includes: determining the third content with the revised format in the patent-related text; determining the fourth content of the minimum matching unit based on the third content, the length of the fourth content is greater than or equal to the length of the third content, and using the fourth content as the pre-revised content.
[0008] Among them, determining the fourth content of the minimum matching unit based on the third content includes: taking the third content as the starting point to search for the first first separator appearing in the previous text and the following text, taking the first first separator appearing in the previous text and the following text as the end point, and taking the content between the end points of the previous text and the following text as the fourth content.
[0009] Determining the fourth content of the minimum matching unit includes: taking the third content as the center and using the preset length of the preceding and following contexts as the boundary, determining the preceding and following contexts of the preset length and the third content as the fourth content of the minimum matching unit.
[0010] Among them, determining the pre-revision content in the patent-related text includes: taking the content of a selected range in the patent-related text as the pre-revision content, or taking the third content determined after comparing the current version of the patent-related text with the historical version of the patent-related text as the pre-revision content.
[0011] Among them, matching the remaining part or selected part of the patent-related text with the pre-revision content includes: in response to the target content not being matched based on the pre-revision content, searching for the second separator in the pre-revision content; in response to the absence of the second separator, replacing the conjunction in the pre-revision content with the subject of the previous sentence, or inserting the subject of the previous sentence at the first position of the pre-revision content; in response to the presence of the second separator, splitting the pre-revision content into a front part and several rear parts based on the second separator, replacing the keywords in each rear part with the subject of the front part, or inserting the subject of the front part at the first position of each rear part.
[0012] Among them, the content before revision is located in the claims of the patent-related text, and the remaining part or selected part of the patent-related text is at least partially located in the description of the patent-related text; or, the content before revision is located in the description of the patent-related text, and the remaining part or selected part of the patent-related text is at least partially located in the claims of the patent-related text.
[0013] Among them, receiving the first instruction for the patent-related text includes: triggering a revision end instruction in response to at least one of clicking an operation item in the interface, pressing a preset button, or entering a preset instruction.
[0014] Among them, receiving the first instruction for the patent-related text includes: in response to a preset change in the cursor position, triggering a revision end instruction.
[0015] Among them, after revising all the target contents or part of the target contents obtained by matching based on the revised content, it includes: generating a historical record, the historical record includes at least part of the information related to revising all the target contents or part of the target contents obtained by matching based on the revised content; in response to clicking on the historical record, restoring the target content to the state before the revision corresponding to the historical record.
[0016] In order to solve the above-mentioned technical problems, the second aspect of the present application provides a revision assistance method for patent-related texts, the method comprising: a client receives a first instruction for the patent-related text, the first instruction including a revision end instruction; the client sends a first instruction to a server, so that the server determines the pre-revision content in the patent-related text, and matches the remaining part or selected part of the patent-related text with the pre-revision content, and revises all target content or part of the target content obtained by matching based on the revised content, the revised content is the content obtained based on the pre-revision content; the client receives the revision result and displays the revised patent-related text in the interface.
[0017] In order to solve the above-mentioned technical problems, the third aspect of the present application provides a revision assistance method for patent-related texts, the method comprising: a client receives a first instruction for the patent-related text, the first instruction including a revision end instruction; the client sends the first instruction and the patent-related text to the server, so that the server determines the pre-revision content in the patent-related text, and matches the remaining part or selected part of the patent-related text with the pre-revision content, and determines the revision position and revision method based on all target contents matched with the pre-revision content; the client receives the revision position and revision method, and revises the patent-related text based on the revision position and revision method.
[0018] To solve the above-mentioned technical problems, the fourth aspect of the present application provides a text revision assistance method, the method comprising: receiving a first instruction for the text, the first instruction comprising a revision end instruction; in response to the first instruction, determining the pre-revision content in the text; matching the remaining part or the selected part of the text with the pre-revision content; revising all or part of the target content obtained by matching based on the revised content, the revised content being content obtained based on the pre-revision content.
[0019] To solve the above technical problems, the fifth aspect of the present application provides a computer device, the computer device comprising: a processor; a memory connected to the processor, used to store program instructions, the program instructions can be executed by the processor to implement the revision assistance method of the patent-related text provided in the first aspect. To solve the above technical problems, the sixth aspect of the present application provides a computer-readable storage medium, the computer-readable storage medium is used to store program instructions, the program instructions can be executed to implement the revision assistance method of the patent-related text provided in the first aspect.
[0020] The beneficial effect of the present application is that, different from the prior art, the embodiment of the present application can automatically find the location of the content that needs to be modified by determining the pre-revision content in the patent-related text and matching the remaining part or the selected part of the patent-related text based on this. Thereafter, all or part of the target content obtained by matching is revised based on the revised content, thereby automatically completing all or part of the revision operation instead of manually.
[0021] Furthermore, after the revision, the patent-related text does not need to be manually searched and located one by one and revised the remaining corresponding content. The remaining corresponding content can be automatically matched and located and revised according to the content before the revision, which is convenient and fast, and reduces the risk of errors in the process. The patent-related text processed by the embodiment of the present application is relatively neat and accurate, reduces reading difficulties, and is convenient for subsequent review and reading. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work, among which:
[0023] Figure 1 It is a flowchart of an embodiment of a revision auxiliary method of the related text of the present patent application;
[0024] Figure 2 It is a schematic diagram of the first interface of an embodiment of a revision assistance method for the related text of the present patent application;
[0025] Figure 3 It is a flowchart of another embodiment of the revision auxiliary method of the related text of the present patent application;
[0026] Figure 4 It is a schematic diagram of the second interface of an embodiment of a revision assistance method for the related text of the present patent application;
[0027] Figure 5 is a structural schematic diagram of an embodiment of a computer device provided by the present application;
[0028] Figure 6 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application;
[0029] Figure 7 It is a structural diagram of a client and a server in an embodiment of a revision auxiliary method of the related text of the present patent application;
[0030] Figure 8It is a structural diagram of the client and server in another embodiment of the revision auxiliary method of the relevant text of the present patent application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0033] At present, part of the work of patent workers is to write patent documents, form patent-related texts, and then submit them as patent applications through official channels. Patent applications generally include invention applications, utility model applications or design applications. Among them, the patent-related texts involved in invention applications and utility model applications generally include abstracts, claims, specifications, etc. Due to the relevant requirements of the Patent Law, some contents of the abstract, claims, and specifications are essentially the same, and some contents of different claims or different positions of the same claim in the claims may also be essentially the same, and some contents of different positions in the specifications may also be essentially the same. Therefore, if a sentence or a few words in the patent-related text are modified, other places in the patent-related text may also need to be manually found one by one for consistency modification. The current text editing tools provide "find" and "replace" functions. During the revision process, you need to operate the text editing software interface, click the "find" and "replace" windows, enter the content to be found and replaced in the input bar of the window, and then click "find" or "replace all".
[0034] The above-mentioned "Find" and "Replace" functions provide a faster way than manually searching one by one. However, as patent work develops towards higher quality requirements, the work of applicants and patent agencies is more standardized. Patent-related texts may need to be repeatedly modified and improved before being submitted as patent applications through official channels. Each modification and improvement may require several or even more places to perform search and replace operations. It is necessary to frequently operate the text editing software interface, click on the "Find" and "Replace" windows, enter the content to be found and replaced in the input field of the window, and then click "Find" or "Replace All". The work efficiency is still relatively low.
[0035] Moreover, the "find" and "replace" functions of current text editing software can only perform 100% matching. For example, when replacing "abc", it can only find other contents with the "abc" string, but cannot find numbered contents such as "a11bc", nor can it find contents such as "a said bc", and vice versa. As a result, there are many matching blind spots, which need to be found manually one by one and modified for consistency, which cannot further improve work efficiency.
[0036] The following describes in detail the revision assistance method, device and storage medium for patent-related texts provided by the present invention in conjunction with the embodiments, which can partially or completely solve the above-mentioned technical problems.
[0037] See also Figure 1 , Figure 1 The figure is a flow chart of an embodiment of a method for assisting in revising the text of the patent application. The method for assisting in revising the text of the patent application includes:
[0038] S11: Receive a first instruction for a patent-related text, where the first instruction includes a revision end instruction.
[0039] The revision end instruction refers to an instruction reflecting the completion of at least one revision action operation. The revision end instruction can be actively triggered or passively issued during the revision action operation process.
[0040] Optionally, receiving a first instruction for patent-related text includes: triggering a revision end instruction in response to at least one of clicking an operation item in the interface, pressing a preset button, or inputting a preset instruction.
[0041] Specifically, actively clicking on an operation item, pressing a preset button, or entering at least one of a preset instruction can represent confirmation that the current revision action has been completed, and the desire to trigger a revision end instruction. The operation item can be a button in the interface. For example, the "Run" button on the software interactive interface. During operation, you can interact with the operation item through common operation methods such as clicking and sliding. Pressing a preset button can be a physical key position on a keyboard or other input. For example, the "F1" key on the keyboard can be set as a preset button. The preset button can also be a combination key, for example, it can be set to trigger a revision end instruction when Ctrl+F1 on the keyboard is pressed simultaneously. Entering a preset instruction can be entering a specific string to trigger a revision end instruction. Entering a preset instruction can be entered in a specific preset area, and only entering in the preset area will trigger the revision end instruction. Entering a preset instruction can also detect the input content at any position in real time, and the revision end instruction will be triggered as long as the conditions are met. For example, it is set to trigger a revision end instruction as long as a command symbol in a specific format is detected, such as "Run Modification Follow".
[0042] Through the above settings, you can adjust the content that needs to be revised repeatedly, and only trigger the revision end instruction once, for example, after all revisions are completed or after a certain stage is completed. The content before revision can be processed in batches in one operation, which is more efficient. In addition, the revision end instructions are all triggered actively, which can clearly reflect the content and number of revisions, and it is not easy to cause unexpected operations beyond the expected range, which is stable to use.
[0043] Optionally, receiving a first instruction for patent-related text includes: triggering a revision end instruction in response to a preset change in the cursor position.
[0044] Specifically, when the cursor position changes, for example, the cursor position changes from the current line to another line, it means that an operation has been performed. Each operation is detected and triggers a revision end instruction, that is, the revision end instruction is passively triggered in real time during the operation.
[0045] Through the above settings, the revision end instruction is triggered in real time when the revision is completed, and there is no need to perform an additional operation to trigger the revision end instruction after each revision is completed. This embodiment has fewer operating steps and is easy to use.
[0046] The preset change may be moving to the next character position or the previous character position, or jumping to other character positions. Optionally, the preset change is detecting a line break of the cursor. Thus, on the basis of real-time triggering, a certain number of redundant triggering times can be reduced, taking into account processing speed.
[0047] S12: In response to the first instruction, determine the pre-amendment content in the patent-related text.
[0048] Specifically, the content before revision refers to the content before being revised. The content before revision should include at least one character or formatting symbol. The content before revision may include changes caused by operations such as addition, deletion, and modification. For example, when "abcd" in the patent-related text is revised to "abzz", the content before revision includes at least "cd". Or, when "abcd" in the patent-related text is revised to "ab", the content before revision includes at least "cd". For another example, when "ab" in the patent-related text is revised to "abcd", the content before revision includes at least "ab". When responding to the first instruction and no content before revision is detected, an end instruction can be triggered and subsequent steps will not be continued.
[0049] Optionally, determine the content before the revision in the relevant text of the patent, including:
[0050] Determine the revised third content in the patent-related text, such as recording the latest or several revised third contents in the background, or determine the third content with a revised format in the patent-related text.
[0051] The revision format may be a format generated by other software that reflects the revision operation. For example, the revision format may be a format generated by the "Revision" function in a text editing software. Determining the third content may be to use a number of consecutive characters with the revision format as a third content. For example, if the patent-related text contains "abcdefg", where "ab" and "efg" have the revision format, then "ab" is used as a third content and "efg" is used as another third content.
[0052] A fourth content of a minimum matching unit is determined based on the third content, the length of the fourth content is greater than or equal to the length of the third content, and the fourth content is used as the pre-revision content.
[0053] The fourth content can be determined by directly taking each part with the third content as the fourth content. For example, when the third content is "ab", the fourth content is also directly determined as "ab". The fourth content can also be determined by finding a complete word or sentence corresponding to the position according to the position of the third content. When determining the fourth content, the position where the third content exists can be detected, and based on the position of the third content and according to the semantics, the text on both sides can be expanded until a complete word or sentence is obtained as the fourth content. For example, the patent-related text contains "abcdefg" with complete semantics, in which "de" is determined as the third content. At this time, it can be expanded to the previous and subsequent texts based on "de" until "abcdefg" with complete semantics is obtained as the fourth content. When several third contents are adjacent, and the complete words or sentences obtained by expanding from several third contents overlap, the results of the words or sentences obtained by expanding the several third contents can be merged to form only one fourth content. For example, the patent-related text contains "abcdefg" with complete semantics, in which "bc" and "de" are respectively determined as the third content, and then "abcdefg" can be obtained by expanding the forward and backward contexts based on "bc", and "abcdefg" can be obtained by expanding the forward and backward contexts based on "de". At this time, it is detected that the results of expanding the forward and backward contexts based on "bc" and "de" are the same, so two fourth contents of "abcdefg" are no longer formed respectively, but only one fourth content of "abcdefg" is formed.
[0054] It is understandable that one of the purposes of determining the fourth content is to make the match more accurate, so the specific strategy for obtaining the fourth content based on the third content expansion can be set according to the actual situation. In addition, when the revision type is change, the fourth content should be determined based on the text before the revision, and the revised content can be skipped.
[0055] Through the above settings, the location where the revision occurs can be directly marked through the revision format, background records, etc. of other existing software. In addition, the fourth content is determined based on the third content, and the fourth content is used as the pre-revision content, which can make the pre-revision content more unique in the patent-related text, less likely to form noise during matching, and more accurate positioning.
[0056] In a specific embodiment, determining the fourth content of the minimum matching unit based on the third content includes:
[0057] The first first delimiter appearing in the preceding and succeeding texts is searched with the third content as the starting point, the first first delimiter appearing in the preceding and succeeding texts is used as the ending point, and the content between the ending points of the preceding and succeeding texts is used as the fourth content.
[0058] The first separator can be a comma, period, semicolon, space, paragraph separator or other special symbols. For example, if the patent-related text contains "abc, defgh, ijk.", where "fg" is the third content, then the text is extended to the previous and subsequent texts until the first separator comma appears as the cutoff point, and the fourth content is determined to be "defgh".
[0059] Thus, by intercepting the text containing the third content according to the first first separator appearing in the preceding and succeeding texts, a sentence segment containing certain unique features can be easily obtained, so that it is not easy to generate false matching noise when the fourth content is used as the minimum matching unit.
[0060] In another specific embodiment, the fourth content of determining the minimum matching unit includes:
[0061] Taking the third content as the center and the preset length of the preceding and following contexts as the boundary, determine the fourth content whose preceding and following contexts with the preset length and the third content are the minimum matching unit.
[0062] The preset length may be a value preset in advance, such as 3, 4, 5, etc. The preset length may be set to be adjustable or a fixed value. The characters of the preset length of the preceding text, the third content, and the characters of the preset length of the succeeding text are sequentially concatenated to obtain the fourth content. In addition, when the length of the context of the paragraph where the third content is located is less than the preset length, the maximum context that can be intercepted from the paragraph where the third content is located may be used as a cutoff point to determine the fourth content of the minimum matching unit. For example, when the third content is located at the end of a paragraph, the preceding text intercepts the content according to the preset length, and the succeeding text intercepts the content according to the actual remaining character length of the paragraph.
[0063] Through the above settings, the fourth content of the minimum matching unit can be obtained simply and quickly, the function is simple to implement, and the processing speed is fast.
[0064] Optionally, determine the content before the revision in the relevant text of the patent, including:
[0065] The content of the selected scope in the patent-related text shall be regarded as the content before revision.
[0066] When the content of the selected range contains the revised content, the entire content of the selected range is the content before the revision and serves as the minimum matching unit. When the content of the selected range does not contain the revised content, that is, the content of the selected range is all original text, the end instruction can be triggered and the subsequent steps will not be continued.
[0067] Through the above settings, the determination of the pre-revision content in the patent-related text does not need to rely on the revision format of other software, and has a wider scope of application.
[0068] In another embodiment, determining the pre-amendment content in the patent-related text specifically includes:
[0069] The third content determined after comparing the current version of the patent-related text with the historical version of the patent-related text is the content before revision.
[0070] The historical version of the patent-related text can be another old version of the document, an old version of the patent-related text located in another text position in the same document, etc. By comparing the historical version of the patent-related text with the current patent-related text, it is possible to obtain the changed parts of the current patent-related text relative to the historical version of the patent-related text. The changed parts can be used as the content before revision.
[0071] Through the above settings, determining the pre-revision content in the patent-related text does not need to rely on the revision format of other software, nor does it need to perform selection operations. All changed parts of the patent-related text can be obtained in batches at one time. It is especially suitable for the situation where the revised parts are not marked and only the historical version content is left. It is easy to use and has a wide range of applications.
[0072] S13: Match the remaining or selected portion of the patent-related text with the content before revision.
[0073] Specifically, by matching the remaining part or selected part of the patent-related text according to the content before revision, the position of the content that needs to be modified synchronously in the remaining part or selected part of the patent-related text corresponding to the content before revision can be obtained. For example, if the content before revision is "abc", all "abc" will be matched in the remaining part or selected part of the patent-related text. The matching can be performed in the remaining part of the entire patent-related text, that is, full-text matching. The matching can also be performed only in the selected part, and the other parts are not processed. The specific implementation method of the matching can be any character matching technology that can locate the position, which will not be repeated here.
[0074] Optionally, matching the remaining or selected portion of the relevant text of the patent with the pre-amendment content includes:
[0075] In response to the target content not being matched based on the pre-revision content, a second separator in the pre-revision content is searched.
[0076] Specifically, in the process of matching the remaining part or selected part of the patent-related text according to the content before revision, it may happen that the corresponding result is not matched. In this embodiment, it is considered as a high probability that the content before revision in the patent-related text will have corresponding content in the remaining part of the patent-related text. The failure to match the corresponding result is first identified as an abnormal situation. The failure to match the corresponding result may be due to factors such as character changes, long sentence splitting, and grammatical changes. Therefore, in this embodiment, the second separator in the content before revision is first searched as a judgment basis for further processing. The second separator can be a comma, a semicolon, a period, a space, etc.
[0077] In response to the absence of the second separator, the conjunction in the content before revision is replaced with the subject of the previous sentence, or the subject of the previous sentence is inserted at the first position of the content before revision.
[0078] When the second separator is not found, it means that the probability that the corresponding result is not matched is low due to the splitting of long sentences, and the possibility that the corresponding result is not matched is due to grammatical changes. For example, a sentence in the content before revision was written with a conjunction to replace the subject of the sentence due to writing habits, but the subject was not replaced with a conjunction when writing in the rest of the patent-related text. At this time, although the meaning is consistent, the text is inconsistent. Replacing the conjunction in the content before revision with the main sentence of the previous sentence can include the above situation in the matching range, and it is not easy to miss the matching results. For example, the previous sentence of the content before revision is "a includes b.", and the content before revision is "also includes c.", while the rest of the patent-related text is recorded as "a includes b" and "a includes c.". At this time, directly using "also includes c." may not get a matching result. After replacing "also" with the subject "a" of the previous sentence, it can be matched correctly.
[0079] In response to the existence of the second separator, the pre-revision content is split into a front part and a plurality of rear parts based on the second separator, and a keyword in each rear part is replaced with a subject of the front part, or the subject of the front part is inserted at the first position of each rear part.
[0080] When the second separator is found, it means that the probability that the corresponding result is not matched is high because of the splitting of long sentences. For example, in the content before revision, two short sentences are connected by commas, "and", etc., and when writing in the remaining part of the patent-related text, it is split into two short sentences, and the commas, "and", etc. in the latter short sentence are replaced by subjects. At this time, although the meaning is consistent, the text is inconsistent. By replacing each keyword in the latter part with the subject in the former part, the above situation can be included in the matching range, and the matching results are not easily missed. For example, the content before revision is "a includes b, and includes cd.", and in the remaining part of the patent-related text it is recorded as "a includes b. a includes cd." At this time, due to the splitting of long sentences, it may not be possible to obtain matching results. After replacing the ", and" in the latter part with the subject "a" in the former part, it can be matched correctly. Keywords can be set according to actual conditions, and can be common words or symbols used to separate long sentences, which are not limited here.
[0081] The positions of the content before revision and the remaining part of the patent-related text can be set according to actual conditions. For example, in a specific embodiment, the content before revision is located in the claims of the patent-related text. The remaining part or selected part of the patent-related text is at least partially located in the specification of the patent-related text. For example, in another specific embodiment, the content before revision is located in the specification of the patent-related text, and the remaining part or selected part of the patent-related text is at least partially located in the claims of the patent-related text.
[0082] S14: Revise all or part of the target content obtained by matching based on the revised content, where the revised content is obtained based on the content before the revision.
[0083] Specifically, the revised content can be new content obtained by changing the pre-revised content, or content after the pre-revised content is deleted, or new content added on the basis of the pre-revised content. The revised content can be directly generated by changing the pre-revised content. The revised content can also be based on the position of the pre-revised content, new content added at that position, or blank space generated by deletion at that position.
[0084] For example, when "abcd" in a patent-related text is revised to "abzz" due to a change operation, the content before the revision includes at least "cd". The content after the revision may be "zz". When "abcd" in a patent-related text is revised to "ab" due to a deletion operation, the content before the revision may be "abcd". The content after the revision may be "ab". When "ab" in a patent-related text is revised to "abcd" due to an addition operation, the content before the revision includes at least "ab". The content after the revision may be "abcd".
[0085] For another example, when "abcd" in a patent-related text is revised to "ab" due to a deletion operation, the content before the revision can be "cd". The content after the revision can be empty. When "ab" in a patent-related text is revised to "abcd" due to an addition operation, the content before the revision includes at least "ab". The content after the revision can be "cd".
[0086] All or part of the target content will be revised to be consistent with the revised content. You can revise all the matched target content uniformly, or you can revise only part of the matched target content. When the pre-revised content is determined by the revision format, the target content can also be revised by the revision format when it is revised, so that you can observe the location of the revised target content later.
[0087] Optionally, a positioning mark is formed at the revised target content. The revised target content can be quickly positioned by the positioning mark. The positioning mark can be a comment in a text editing software, etc.
[0088] Optionally, before or simultaneously matching the remaining or selected portion of the relevant text of the patent with the pre-amendment content, include:
[0089] The matched pre-revision content, the remaining part, and the selected part are subjected to noise removal processing, wherein the noise removal processing includes removing at least one or all of punctuation marks, marks, definite articles, and demonstrative pronouns.
[0090] The pre-amended content may interfere with the matching because the text form is different from the target content. For example, when the pre-amended content is in the claims and its content is "the a includes b", the "the a" in the pre-amended content needs to be removed, and the remaining content in the patent-related text contains figure numbers, for example, when its content is "a11 includes b12", the figure numbers in the remaining content in the patent-related text also need to be removed, and then the pre-amended content is matched with the remaining content in the patent-related text.
[0091] Through the above settings, when the remaining part or the selected part of the patent-related text is matched with the content before revision, it is not easily disturbed by noise and the matching is accurate.
[0092] Optionally, revising all or part of the matched target content based on the revised content includes:
[0093] The first content of the revised content that has undergone noise removal processing replaces the second content in the target content, and the remaining content in the target content except the second content is not modified.
[0094] In this embodiment, when there is noise in the revised content, the first content obtained by denoising may be different from the revised content. When there is no noise in the revised content, the first content may also be the same as the revised content, that is, the revised content does not need to be modified to directly obtain the first content. The second content is the content in the target content that needs to be modified based on the changes in the content before revision. When revising the target content, only the changed part of the target content corresponding to the content before revision will be changed, and the entire target content will not be directly changed. For example, a change occurs in the patent-related text, and "the a includes b" is revised to "the c includes b", and the target content is "a11 includes b12". At this time, the revised content is denoised to obtain "c", and the second content is confirmed to be "a11". The revised content replaces the second content to obtain "c includes b12". In this way, the remaining content in the target content is not prone to unexpected changes and errors, and the revision is accurate.
[0095] Optionally, replacing the second content in the target content with the first content after the revised content has been subjected to noise removal processing, and not modifying the remaining content in the target content except the second content, further comprising:
[0096] In response to the existence of a corresponding reference numeral for the revised content, a reference numeral is added to the revised content.
[0097] For example, after obtaining "c includes b12" in the above embodiment, the corresponding figure number "13" will be added to "c" to obtain "c13 includes b12". In this way, the figure numbers can be automatically completed after revision, and it is not easy to omit and cause formal errors. When the revised content does not have a corresponding figure number or does not need to add a figure number, the above process can be omitted.
[0098] In order to more clearly illustrate the workflow of the revision assistance method for the text related to the patent application, the following example is taken as an example for explanation. Figure 2 , Figure 2 1 is a schematic diagram of the first interface of an embodiment of the method for assisting the revision of patent-related texts of the present application. Optionally, the method for assisting the revision of patent-related texts may have a first interface 100. The patent-related texts may be edited in the first interface 100. The patent-related texts may include at least a first part 10 and a second part 20. Figure 2As shown, the original content "ABCD" can be edited in the first part 10, and then the "Run" button of the operation item 30 is clicked. At this time, "CD" in the first part 10 has a revised format, "CD" is determined as the third content 11, and "ZZ" is the revised content 13. Then, based on the third content 11, the previous and subsequent texts are expanded. The expansion process is based on the pre-revised text, and the revised content 13 "ZZ" will be skipped until it is expanded to the first comma position as the end, and the fourth content 12 "ABCD" is obtained as the pre-revised content.
[0099] Then, the target content 22 "ABCD" in the second part 20 is obtained based on the fourth content 12, and the second content 21 "CD" in the second part 20 is located, and the revised content 13 replaces the second content 21, that is, the content synchronization revision is completed. After the content synchronization revision, the revised content 13 replaced in the second part 20 can also be numbered.
[0100] During the matching and replacement process, a noise removal process is performed, and the noise removal process includes at least one of removing punctuation marks, removing signs, removing definite articles, and removing demonstrative pronouns.
[0101] It can be seen from the above embodiments that the present application does not need to manually input the keywords to be searched in the "Find" or "Replace" interface each time, that is, the computer can determine the pre-revised content in the patent-related text (that is, the keywords used for search in the above text), and perform subsequent matching and replacement, which greatly improves the revision efficiency of the patent-related text and reduces the error rate. The patent-related text processed by the embodiment of the present application is relatively neat and accurate, reduces reading difficulties, and is convenient for subsequent review and reading.
[0102] Furthermore, since the embodiments of the present application can perform noise removal on the pre-revision content, the remaining part, and the selected part to be matched, the "search" or "replace" has a generalized function, which can find the matching target more comprehensively and accurately, greatly reducing the trouble of manually searching one by one due to the failure to match and the problem of missed changes caused by the failure to find.
[0103] Secondly, since the embodiment of the present application replaces the second content in the target content with the first content that has been denoised after the revised content, and does not change the remaining content in the target content except the second content, only the part of the target content that needs to be modified will be affected by the change, and the remaining content will not be processed. It is less likely for unexpected changes to occur and cause formal errors, and the revision is accurate.
[0104] Furthermore, in the embodiment of the present application, when matching, the changed third content can be first expanded to the preceding and following contexts into the fourth content. Compared with the third content which may only be scattered words, the fourth content can contain more unique features, making the matching more accurate and less likely to cause noise interference during matching. When determining the fourth content, the text can be intercepted by using the first separator of the preceding and following contexts as the cutoff point, or the text can be intercepted by directly setting a preset length. The method of constructing the fourth content can be flexibly selected, and the fourth content formed by intercepting the text can have good uniqueness.
[0105] In addition, in the embodiments of the present application, the content before revision can be determined by the revision format, by selecting a range in the patent-related text, or by comparing the current version of the patent-related text with the historical version of the patent-related text. There are various ways to determine the content before revision, which can be freely selected to adapt to different occasions.
[0106] When the content before revision is determined by the revision format, not only is the positioning accurate, but the revision format is also easy to observe, and the content to be revised can be intuitively reflected. When the content before revision is determined by the selected range, it is possible to conveniently adjust which part of the text is to be processed by selecting different ranges, and the effective scope of the revision is controllable. When the content before revision is determined by comparing the current version of the patent-related text with the historical version of the patent-related text, it is only necessary to store a historical version of the patent-related text in advance, and even the software of the embodiment of the present application can automatically store a historical version of the patent-related text in advance. There is no need to edit in the revision format, and there is no need to repeatedly select the selected range. It saves time and effort, and is simple to operate. It is especially suitable for occasions where you do not want to turn on or forget to turn on the revision format during the revision of the patent-related text.
[0107] When matching the target, the embodiment of the present application also identifies whether the second separator is included in the content before the revision when the match fails. When the second separator is not found, it means that the probability of not matching the corresponding result is low due to the splitting of long sentences, and priority should be given to the fact that the corresponding result is not matched due to grammatical changes. At this time, the embodiment of the present application will replace the conjunction in the content before the revision with the main sentence of the previous sentence and then match it, and include the above situation in the matching range. When the second separator is found, it means that the probability of not matching the corresponding result is high due to the splitting of long sentences, and the embodiment of the present application will replace each keyword in the latter part with the subject in the former part, and include the above situation in the matching range. It can be seen that the embodiment of the present application can also adapt to the situation of character changes, long sentence splitting, grammatical changes, etc. when matching, and it is not easy to miss the matching results. The above matching and revision process can be triggered actively by responding to at least one of the operation items in the click interface, pressing the preset button or entering the preset instruction in the embodiment of the present application, and can also be triggered passively according to the revision operation in response to the preset change of the cursor position. The setting method is flexible, and the revision operation can be well reacted, and it is easy to use.
[0108] See also Figure 3 , Figure 3 It is a flowchart of another embodiment of the revision auxiliary method of the patent application. Optionally, revising all or part of the target content obtained by matching based on the revised content includes:
[0109] S21: Generate a historical record, where the historical record includes at least part of information related to revising all or part of the target content obtained by matching based on the revised content.
[0110] The historical records contain information that can reflect the corresponding revision operation. For example, the historical records may include the time of the revision operation, the summary of the revised content, the effective scope of the revision, etc.
[0111] S22: In response to clicking the history record, restoring the target content to a state before revision corresponding to the history record.
[0112] When the history record is clicked, the content changed by the corresponding revision operation will be restored to the content before the revision operation. The method of restoring the target content to the state before the revision corresponding to the history record can be to record the text content of the old version, and when the click occurs, the text content of the old version will overwrite the current text content. It can also be to store the old version of the file, and when the click occurs, the old version of the file will overwrite the current file.
[0113] See also Figure 4 , Figure 4The figure is a schematic diagram of the second interface of an embodiment of the revision assistance method for the patent-related text of the present application. Optionally, the revision assistance method for the patent-related text includes a second interface 200, and the historical records are displayed on the second interface 200. The historical records can record the revision number, revision position, revision content, and operation time, etc. The revision position can be the paragraph number of the location where the revision occurred in the patent-related text. The revision content can record a summary of the content where the revision operation occurred. The operation time can be the time when the revision operation was triggered. The second interface 200 can be clicked, such as Figure 4 As shown, when the history record numbered "2" in the second interface 200 is clicked, the patent-related text will revert to the state before the "delete aa" operation.
[0114] See also Figure 5 , Figure 5 1 is a schematic diagram of a structure of an embodiment of a computer device 50 provided in the present application. Optionally, the computer device 50 includes a memory 51 and a processor 52 coupled to each other, and the processor 52 is used to execute program instructions stored in the memory 51 to implement the steps of the embodiment of the revision assistance method of any of the above-mentioned patent-related texts. In a specific implementation scenario, the computer device 50 may include but is not limited to: a microcomputer, a server, and in addition, the computer device 50 may also include a mobile device such as a laptop computer and a tablet computer, which is not limited here.
[0115] Specifically, the processor 52 is used to control itself and the memory 51 to implement the steps of the revision auxiliary method embodiment of any of the above-mentioned patent-related texts. The processor 52 can also be called a CPU (Central Processing Unit). The processor 52 may be an integrated circuit chip with signal processing capabilities. The processor 52 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 52 can be implemented by an integrated circuit chip.
[0116] See also Figure 6 , Figure 6It is a schematic diagram of the structure of an embodiment of a computer-readable storage medium provided by the present application. The computer-readable storage medium 60 of the embodiment of the present application stores a program instruction 61, and when the program instruction 61 is executed, it implements any embodiment of the revision auxiliary method of the relevant text of the patent of the present application and the method provided by any non-conflicting combination. Among them, the program instruction 61 can form a program file and be stored in the above-mentioned computer-readable storage medium 60 in the form of a software product, so that a computer device (which can be a computer, a server, or a network device, etc.) executes all or part of the steps of each implementation method of the present application. The aforementioned computer-readable storage medium 60 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, or a terminal device such as a computer, a server, a mobile phone, and a tablet.
[0117] See also Figure 7 , Figure 7 It is a structural diagram of the client and server in an embodiment of a revision assistance method for patent-related texts of the present application. The present application provides a revision assistance method for patent-related texts, the method comprising a client 80 receiving a first instruction for the patent-related text. The first instruction comprises a revision end instruction. The client 80 sends a first instruction to the server 70 so that the server 70 determines the pre-revision content in the patent-related text, and matches the remaining part or selected part of the patent-related text with the pre-revision content. All target content or part of the target content obtained by matching is revised based on the revised content, and the revised content is the content obtained based on the pre-revision content. The client 80 receives the result of the revision and displays the revised patent-related text in the interface.
[0118] Specifically, the revision assistance method of the patent-related text can also be executed by the server 70. In this embodiment, the client 80 is mainly used to provide an interactive window. The patent-related text can be located on the server 70 and displayed by the client 80. That is, the client 80 may not store the patent-related text, but only play a display role, and the processing of the patent-related text is performed by the server 70. For example, the patent-related text can be an online cloud operation client 80 that interacts with the server 70. After receiving the first instruction from the client 80, the server 70 executes the relevant steps of the revision assistance method of the patent-related text in the embodiment of the present application, completes the revision of the patent-related text, and then sends the result to the client 80 for display.
[0119] For example, the client 80 may only be responsible for providing an interactive window. The patent-related text is directly stored on the server 70. After the client 80 receives the first instruction, the client 80 sends the first instruction to the server 70. The server 70 processes the patent-related text and completes the revision. Then the client 80 displays the revision result on the server 70 through the window interface of the client software.
[0120] Through the above settings, the client does not need to perform complex calculations, which is beneficial to reducing the load on the client computer equipment. At the same time, the calculation process is executed on the server, and the data security is better.
[0121] See also Figure 8 , Figure 8 1 is a schematic diagram of the structure of the client and the server in another embodiment of the revision assistance method of the patent-related text of the present application. Optionally, the present application provides a revision assistance method of the patent-related text, the method comprising:
[0122] The client 80 receives a first instruction for the patent-related text, the first instruction including a revision end instruction. The client 80 sends the first instruction and the patent-related text to the server 70, so that the server 70 determines the pre-revision content in the patent-related text, and matches the remaining part or the selected part of the patent-related text with the pre-revision content. The revision position and revision method are determined for all the matched target contents based on the pre-revision content. The client 80 receives the revision position and revision method, and revises the patent-related text based on the revision position and revision method.
[0123] Specifically, in this embodiment, some steps of the revision assistance method for patent-related texts are executed by the server 70, and other steps are executed by the client 80. For example, it can be set that the server 70 executes complex key steps, and the client 80 executes other simple steps. The patent-related text can be stored in the client 80 instead of the server 70. After receiving the first instruction, the client 80 sends the first instruction and the patent-related text to the server 70. After receiving the first instruction and the patent-related text, the server 70 processes the patent-related text according to some steps in the revision assistance method for patent-related texts, and obtains the position and method of revision that need to be revised corresponding to each pre-revision content. The server 70 returns each revision position and revision method to the client 80, and the client 80 performs revisions on the patent-related text according to each revision position and revision method.
[0124] For example, the client 80 can send the patent-related text to the server 70, and the server 70 is responsible for executing the steps related to matching positioning and calculating the revision method in the revision auxiliary method of the patent-related text. The server 70 obtains, for example, "the 20th character of paragraph
[0010] of the specification" as the revision position, and the revision method is "changing the original character to abc". Then the server 70 returns the above revision position and revision method to the client 80, and the client 80 does not need to be responsible for matching positioning and calculating the revision method, and directly performs the revision of the patent-related text according to the above revision position and revision method.
[0125] Through the above settings, the key steps can be placed on the server for execution, and the simple steps can be executed by the client, which can take into account the load pressure of both the server and the client, and has good data security.
[0126] Optionally, the present application provides a revision assistance method for a text, the method comprising: receiving a first instruction for the text, the first instruction comprising a revision end instruction; in response to the first instruction, determining the pre-revision content in the text; matching the remaining part or selected part of the text with the pre-revision content; revising all or part of the matched target content based on the post-revision content, the post-revision content being content obtained based on the pre-revision content. The text in this example may be an article, report, paper, novel, or scientific literature, etc.
[0127] Optionally, the revision assistance method of the patent-related text of the present application is executed through program instructions, which are installed in the form of plug-ins into existing text editing software and act on the patent-related text opened by the text editing software to implement the above-mentioned revision assistance method of the patent-related text.
[0128] Optionally, the revision assistance method of the patent-related text of the present application is executed by program instructions, which are independently run as computer software and at least include text editing functions. The program instructions act on the patent-related text in the computer software to implement the revision assistance method of the patent-related text.
[0129] Optionally, the revision assistance method of the patent-related text of the present application is executed by program instructions, and the program instructions include at least two parts, one of which is located in a local computer device, and the other is located in a server. At least one step in the embodiment of the revision assistance method of the patent-related text is executed by the server and can return a result, and the local computer communicates with the server and obtains the result to execute other steps to implement the revision assistance method of the patent-related text.
[0130] Optionally, the revision assistance method of the patent-related text of the present application is executed through program instructions, all of which are located on a local computer, and are executed on a local computer to implement the revision assistance method of the patent-related text.
[0131] Optionally, the revision assistance method for the relevant text of the patent application is all run on the server, and the execution result is displayed through the local computer, namely the client.
[0132] The terms "first", "second", "third" in this application are only used for descriptive purposes and cannot be understood as indicating the quantity of the indicated technical features. Thus, the features defined as "first", "second", "third" can expressly or implicitly include at least one of these features. In the embodiments of the present application, all directional indications (such as up, down, left, right, front, back ...) are only used to explain the relative positional relationship, motion conditions, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "include" and "have" and any of their variations are intended to cover non-exclusive inclusions. The process, method, system, product or equipment such as including a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or equipment.
[0133] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A revision assistance method for patent-related texts, characterized in that: include: receiving a first instruction for a patent-related text, wherein the first instruction includes a revision end instruction; In response to the first instruction, determining the pre-amendment content in the patent-related text; Matching the remaining part or selected part of the relevant text of the patent with the pre-amendment content; All or part of the target content obtained by matching is revised based on the revised content, wherein the revised content is content obtained based on the pre-revised content.
2. The method according to claim 1, characterized in that: Before or simultaneously matching the remaining part or selected part of the patent-related text with the pre-amendment content, the method includes: The matched pre-revision content, the remaining part, and the selected part are subjected to noise removal processing, wherein the noise removal processing includes at least one of removing punctuation marks, removing signs, removing definite articles, and removing demonstrative pronouns.
3. The method according to claim 2, characterized in that The revising of all or part of the matched target contents based on the revised contents includes: The first content of the revised content that has undergone noise removal processing replaces the second content in the target content, and the remaining content in the target content except the second content is not modified.
4. The method according to claim 1, characterized in that: The determination of the content before revision in the patent-related text includes: Determining the third content with the revised format in the patent-related text; A fourth content of a minimum matching unit is determined based on the third content, the length of the fourth content is greater than or equal to the length of the third content, and the fourth content is used as the pre-revision content.
5. The method according to claim 4, characterized in that The determining of the fourth content of the minimum matching unit based on the third content includes: The first first delimiter appearing in the preceding and succeeding texts is searched with the third content as the starting point, the first first delimiter appearing in the preceding and succeeding texts is used as the ending point, and the content between the ending points of the preceding and succeeding texts is used as the fourth content.
6. The method according to claim 4, characterized in that The fourth content of determining the minimum matching unit includes: Taking the third content as the center and the preset length of the preceding and following contexts as the boundary, determine the fourth content in which the preceding and following contexts with the preset length and the third content are the minimum matching unit.
7. The method according to claim 1, characterized in that The determination of the content before revision in the patent-related text includes: The content of a selected range in the patent-related text is used as the content before revision, or the third content determined after comparing the current version of the patent-related text with the historical version of the patent-related text is used as the content before revision.
8. The method according to claim 1, characterized in that The matching of the remaining part or the selected part of the patent-related text with the pre-amendment content includes: In response to the target content not being matched based on the pre-revised content, searching for a second separator in the pre-revised content; In response to the absence of the second separator, replacing the conjunction in the content before revision with the subject of the previous sentence, or inserting the subject of the previous sentence at the beginning of the content before revision; In response to the existence of the second separator, the pre-revision content is split into a front part and several rear parts based on the second separator, and the keywords in each of the rear parts are replaced with the subject of the front part, or the subject of the front part is inserted at the first position of each of the rear parts.
9. The method according to claim 8, characterized in that The content before the amendment is located in the claims of the patent-related text, and the remaining part or selected part of the patent-related text is at least partially located in the description of the patent-related text; or, The pre-amendment content is located in the specification of the patent-related text, and the remaining part or selected part of the patent-related text is at least partially located in the claims of the patent-related text.
10. The method according to claim 1, characterized in that The receiving of a first instruction for a patent-related text comprises: In response to at least one of clicking an operation item in the interface, pressing a preset button, or inputting a preset instruction, the revision end instruction is triggered once.
11. The method according to claim 1, characterized in that: The receiving of a first instruction for a patent-related text comprises: In response to a preset change in the cursor position, the revision end instruction is triggered once.
12. The method according to any one of claims 1 to 11, characterized in that: The step of revising all or part of the target content obtained by matching based on the revised content includes: Generate a history record, wherein the history record includes at least part of information related to revising all or part of the target content obtained by matching; In response to clicking the history record, restoring the target content to a state before revision corresponding to the history record.
13. A method for assisting revision of patent-related texts, characterized in that: include: The client receives a first instruction for a patent-related text, wherein the first instruction includes a revision end instruction; The client sends the first instruction to the server, so that the server determines the pre-revised content in the patent-related text, matches the remaining part or the selected part of the patent-related text with the pre-revised content, and revises all or part of the matched target content based on the revised content, wherein the revised content is content obtained based on the pre-revised content; The client receives the revision result and displays the revised patent-related text in an interface.
14. A method for assisting revision of patent-related texts, characterized in that: include: The client receives a first instruction for a patent-related text, wherein the first instruction includes a revision end instruction; The client sends the first instruction and the patent-related text to the server, so that the server determines the pre-revision content in the patent-related text, matches the remaining part or the selected part of the patent-related text with the pre-revision content, and determines the revision position and revision method for all the matched target contents based on the post-revision content, wherein the post-revision content is content obtained based on the pre-revision content; The client receives the revision position and the revision method, and revises the patent-related text based on the revision position and the revision method.
15. A text revision auxiliary method, characterized in that: include: receiving a first instruction, wherein the first instruction includes a revision end instruction of a text; In response to the first instruction, determining the pre-revision content in the text; matching the remaining portion or the selected portion of the text with the pre-revision content; All or part of the target content obtained by matching is revised based on the revised content, wherein the revised content is content obtained based on the pre-revised content.
16. A computer device, characterized in that: The computer device comprises: processor; A memory, connected to the processor, for storing program instructions, wherein the program instructions can be executed by the processor to implement the revision assistance method as described in any one of claims 1-15.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program instructions, and the program instructions can be executed to implement the revision assistance method according to any one of claims 1 to 15.
Citation Information
Cited By
Method and device for drafting, revising, automatic numbering and figure numbering, and medium
WO2026021498A1
