CN112069789A - Method, device and medium for matching specified content based on domestic CPU text field - Google Patents

Method, device and medium for matching specified content based on domestic CPU text field Download PDF

Info

Publication number
CN112069789A
CN112069789A CN202010985608.XA CN202010985608A CN112069789A CN 112069789 A CN112069789 A CN 112069789A CN 202010985608 A CN202010985608 A CN 202010985608A CN 112069789 A CN112069789 A CN 112069789A
Authority
CN
China
Prior art keywords
official document
domain
matching
content
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010985608.XA
Other languages
Chinese (zh)
Other versions
CN112069789B (en
Inventor
王莹
宋晓琳
苏亚男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Inspur Cloud Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Cloud Information Technology Co Ltd filed Critical Inspur Cloud Information Technology Co Ltd
Priority to CN202010985608.XA priority Critical patent/CN112069789B/en
Publication of CN112069789A publication Critical patent/CN112069789A/en
Application granted granted Critical
Publication of CN112069789B publication Critical patent/CN112069789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a method, equipment and a medium for matching specified contents based on a domestic CPU (Central processing Unit) text domain, belongs to the technical field of electronic documents, and aims to solve the technical problem of accurately and efficiently realizing the automatic matching of specified contents in a document domain in a document. The method comprises the following steps: setting an automatic document domain matching mechanism according to the electronic document requirement; determining the designated content; opening up an official document domain area in the electronic official document file; acquiring the appointed content and the corresponding official document domain according to an automatic official document domain matching mechanism, and automatically matching according to the incidence relation between the official document domain and the appointed content; and adjusting the format of the matched official document domain, wherein the adjusted format of the matched official document domain conforms to the official document file release standard. The device comprises a memory and a processor for invoking a machine readable program to perform the above method. The computer readable medium has stored thereon computer instructions which, when executed by the processor, cause the processor to perform the above-described method.

Description

Method, device and medium for matching specified content based on domestic CPU text field
Technical Field
The invention relates to the technical field of electronic documents, in particular to a method, equipment and a medium for matching specified contents based on a domestic CPU (Central processing Unit) text field.
Background
E-government is a revolution in government regulation. Government informatization is the basis of social informatization, and electronic government is vigorously developed to become important content of political system reform and government innovation. Meanwhile, government affair informatization's serious drama-electronic official document management is also widely regarded as a lead of social informatization. With the continuous progress of the electronic technology level, the solution of government official document management is emerging like spring shoots after rain. Under the background, the development of official document management in e-government affairs is very important. How to apply and develop the official document flow and how to conveniently and quickly release the official document by utilizing the advantages of the electronic official document become the problems which need to be solved at present.
In the electronic official document field of the domestic CPU office system, the contents of the electronic official document file need to be continuously filled, modified and optimized in various stages such as drafting, circulation and release of the electronic official document, in the series of processes, the probability of errors occurring in links such as initialization, change and the like of the contents of the official document domain in the electronic official document is the largest, and the reason is that most of the existing official document systems cannot have accurate and humanized automatic matching and filling mechanisms for the contents of the official document domain, and the following problems are directly caused:
1. the drafting stage of the electronic document consumes a long time, and a drafter cannot quickly determine the content filled in the document domain area in the document and cannot quickly draft the document;
2. in the official document domain of the electronic official document, when contents are manually input, the phenomena of incorrect format, wrongly written characters and the like caused by input errors exist, and the rigor of the official document is seriously influenced;
3. the designated content area in the official document can not be dynamically and quickly adjusted, so that the content of the official document is extremely difficult to modify in the link after the official document is drafted.
The above problems seriously affect the work efficiency of the official document issuing, auditing and managing personnel.
Based on the analysis, how to accurately and efficiently realize the automatic matching of the specified content of the official document domain in the official document is a technical problem to be solved.
Disclosure of Invention
The technical task of the invention is to provide a method, equipment and a medium for matching the specified content based on the domestic CPU text field to solve the problem of how to accurately and efficiently realize the automatic matching of the specified content of the document field in the document file.
In a first aspect, the present invention provides a method for matching specified content based on a domestic CPU literal domain, comprising the following steps:
setting an automatic document domain matching mechanism according to the electronic document requirement, and establishing an incidence relation between the document domain and the specified content;
determining specified content, wherein the input area of the specified content comprises but is not limited to pages, forms and configuration files, and the form of the specified content comprises but is not limited to texts and pictures;
opening up an official document domain area in the electronic official document file, wherein the official document domain area is an area for showing and filling specified contents;
acquiring the appointed content and the corresponding official document domain according to an automatic official document domain matching mechanism, and automatically matching according to the incidence relation between the official document domain and the appointed content;
and adjusting the format of the matched official document domain, wherein the adjusted format of the matched official document domain conforms to the official document file release standard.
Preferably, before the specified content is determined, the automatic document domain matching mechanism is subjected to auditing judgment,
if the automatic document domain matching mechanism is not set, determining the designated content after selecting a default matching mechanism;
if the automatic document domain matching mechanism is set and is correct, determining the designated content;
and if the automatic document domain matching mechanism is set but is incorrect, determining the designated content after selecting the default matching mechanism.
Preferably, the automatic matching mechanism of the official document domain is set through a configuration file or a man-machine interaction page.
Preferably, the automatic matching mechanism of the official document domain is set by the following method: selecting a document domain needing to be automatically matched with the specified content by adopting a cloud form design tool, binding data of the document domain, and associating the document domain with the specified content needing to be automatically matched.
Preferably, the official document domain and the designated content are in one-to-one or one-to-many association relationship.
Preferably, the number of the document domain areas is set according to the requirements of the electronic document.
Preferably, when determining the designated content, the input manner of the designated content includes, but is not limited to, manual input and selection input through a selection box.
Preferably, when the specified content and the corresponding official document domain are obtained according to the automatic official document domain matching mechanism, the content format in the specified area is judged, if the specified area is in the text format, the text content is assigned to the official document domain through a text assignment technology, and if the specified area is in the picture format, the picture content is automatically presented in the official document domain.
In a second aspect, the present invention provides an apparatus comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to perform the method of any of the first aspects.
In a third aspect, the present invention provides a medium, being a computer readable medium, having stored thereon computer instructions, which, when executed by a processor, cause the processor to perform the method of any of the first aspect.
The method, the equipment and the medium for matching the specified content based on the domestic CPU text field have the following advantages that:
1. opening up an official document domain area in an electronic official document file, automatically matching the official document domain to obtain the appointed content and the corresponding official document domain, automatically adjusting according to the incidence relation between the official document domain and the appointed content, and adjusting the format of the matched official document domain to enable the matched official document domain to accord with the release standard of the official document file, so that other specific (including but not limited to pages and forms) contents can be automatically matched to the preset content area in the official document file, and a quick, efficient and flexible official document generation mechanism is realized;
2. the method is compatible with operating systems such as kylin, depth and Puhua, etc. which are the standard marks of the domestic CPU, is compatible with Firefox and Chrome browsers in the domestic software and hardware environment, and has good universality, flexibility and transportability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
The invention is further described below with reference to the accompanying drawings.
Fig. 1 is a block flow diagram of a method for matching specified content based on a domestic CPU literal domain in embodiment 1.
Detailed Description
The present invention is further described in the following with reference to the drawings and the specific embodiments so that those skilled in the art can better understand the present invention and can implement the present invention, but the embodiments are not to be construed as limiting the present invention, and the embodiments and the technical features of the embodiments can be combined with each other without conflict.
The embodiment of the invention provides a method, equipment and a medium for matching specified contents based on a domestic CPU text field, which are used for solving the technical problem of accurately and efficiently realizing the automatic matching of specified contents of a document field in a document file.
Example 1:
as shown in fig. 1, a method for matching specified content based on a domestic CPU text field of the present invention includes the following steps:
s100, setting an automatic document domain matching mechanism according to the electronic document requirement, and establishing an incidence relation between a document domain and specified content;
s200, determining specified content, wherein the input area of the specified content comprises but is not limited to pages, forms and configuration files, and the form of the specified content comprises but is not limited to texts and pictures;
s300, opening up an official document domain area in the electronic official document file, wherein the official document domain area is an area for filling specified contents;
s400, acquiring the appointed content and the corresponding official document domain according to an automatic official document domain matching mechanism, and automatically matching according to the incidence relation between the official document domain and the appointed content;
s500, format adjustment is carried out on the matched official document domain, and the format of the matched official document domain after adjustment meets the official document file release standard.
In this embodiment, the automatic matching mechanism of the document domain is based on the premise of a method for automatically matching the specified content of the document domain in the document file of the domestic CPU, and the setting mode of the matching mechanism is diversified, so that the operation mode of the configuration file can be directly performed, and the setting can be performed through a human-computer interaction page or the like.
The automatic matching mechanism of the official document domain is set for leading the official document domain and the designated content to form one-to-one or one-to-many incidence relation, and the setting of the matching mechanism is a necessary condition and a unique basis for the association of the designated content and the official document domain in the system.
And if the matching mechanism is not set or is not set correctly, the matching is carried out according to a default matching mechanism.
In step S300, the designated content is determined by means of manual input, selection of a selection box, and the like, and the input area of the designated content includes, but is not limited to, pages, forms, and configuration files in the system. The form of the designated content may be any one of text and pictures.
The step of determining the designated content to be automatically matched with the official document domain is an indispensable link of the method for automatically matching the designated content with the official document domain in the official document based on the domestic CPU.
Opening up an official document domain area in the electronic official document file, wherein the official document domain area is an area for showing and filling the specified content. The number of the official document domain areas of the electronic official document is set according to the requirement of the electronic official document.
And acquiring the specified content and the corresponding official document domain to be automatically matched according to the automatic official document domain matching mechanism, and automatically matching the specified content and the corresponding official document domain to be automatically matched according to the incidence relation. Judging the content format in the designated area, and if the content format is a text format, assigning the text content to the official document domain by using a text assignment technology; if the image format is adopted, the image content can be automatically presented in the official document domain.
Finally, the format of the matched official document domain is adjusted to make the matched official document domain accord with the official document issuing standard.
After the document domain in the electronic document is automatically matched with the designated content, necessary formatting operation is carried out on the document domain filled with the content so as to meet the publishing requirement of the document.
The method for matching the designated content based on the domestic CPU text field aims at the problems that the official document operation and management speed of an official document system in the current domestic CPU environment is low and the efficiency is low, and the method for automatically matching the designated content in the official document based on the domestic CPU is used for fundamentally improving the working efficiency of related personnel, reducing unnecessary working links and operation and reducing the working difficulty.
Considering different use organizations, just the definitions of the official document files are different, in order to meet the characteristic requirements and various diversification requirements at the same time, the embodiment particularly uses the automatic matching rule for formulating the official document domain in the official document file, the rule can be defined by the user, the use is convenient, the expansion can be carried out according to the requirements, and the expansion is very convenient.
Meanwhile, in the embodiment, the conversion function of different file formats is realized through different interfaces, and an extended interface is provided, so that the file format which is not considered at present is very convenient to extend.
Example 2:
the present invention provides an apparatus comprising at least one memory and at least one processor; the at least one memory for storing a machine-readable program; the at least one processor is used for calling the machine readable program to execute the method disclosed in the embodiment 1.
Example 3:
an embodiment of the present invention further provides a computer-readable medium, where a computer instruction is stored on the computer-readable medium, and when the computer instruction is executed by a processor, the processor is enabled to execute the method disclosed in embodiment 1. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then a CPU or the like mounted on the expansion board or the expansion unit is caused to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of embodiment 1 described above.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as a general purpose processor or other programmable processor, that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (10)

1. The method for matching the designated content based on the domestic CPU text field is characterized by comprising the following steps:
setting an automatic document domain matching mechanism according to the electronic document requirement, and establishing an incidence relation between the document domain and the specified content;
determining specified content, wherein the input area of the specified content comprises but is not limited to pages, forms and configuration files, and the form of the specified content comprises but is not limited to texts and pictures;
opening up an official document domain area in the electronic official document file, wherein the official document domain area is an area for showing and filling specified contents;
acquiring the appointed content and the corresponding official document domain according to an automatic official document domain matching mechanism, and automatically matching according to the incidence relation between the official document domain and the appointed content;
and adjusting the format of the matched official document domain, wherein the adjusted format of the matched official document domain conforms to the official document file release standard.
2. The domestic CPU literal domain based matching specified content method according to claim 1, wherein before the specified content is determined, the automatic matching mechanism of official document domain is checked and judged,
if the automatic document domain matching mechanism is not set, determining the designated content after selecting a default matching mechanism;
if the automatic document domain matching mechanism is set and is correct, determining the designated content;
and if the automatic document domain matching mechanism is set but is incorrect, determining the designated content after selecting the default matching mechanism.
3. The domestic CPU text field based matching specified content method according to claim 1 or 2, characterized in that the automatic matching mechanism of the official document field is set by means of configuration file or by means of man-machine interaction page.
4. The domestic CPU text field based matching specified content method according to claim 3, wherein the automatic matching mechanism of the official document field is set by the following method: selecting a document domain needing to be automatically matched with the specified content by adopting a cloud form design tool, binding data of the document domain, and associating the document domain with the specified content needing to be automatically matched.
5. The domestic CPU text field based matching specified content method according to claim 1 or 2, wherein there is one-to-one or one-to-many association relationship between the official text field and the specified content.
6. The domestic CPU text field based matching specified content method according to claim 1 or 2, wherein the number of said document field areas is set according to the electronic document requirement.
7. The method for matching specified contents based on domestic CPU text field according to claim 1 or 2, wherein when the specified contents are determined, the input mode of the specified contents includes but is not limited to manual input and selection input through a selection box.
8. The method for matching specified contents based on the domestic CPU text field according to claim 1 or 2, characterized in that when the specified contents and the corresponding official document field are obtained according to an automatic official document field matching mechanism, the content format in the specified area is judged, if the specified area is in the text format, the text contents are assigned to the official document field by a text assignment technology, and if the specified area is in the picture format, the picture contents are automatically presented in the official document field.
9. An apparatus, characterized in that it comprises: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program, to perform the method of any of claims 1 to 6.
10. A medium being a computer readable medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1 to 6.
CN202010985608.XA 2020-09-18 2020-09-18 Method, equipment and medium for matching appointed content based on domestic CPU text domain Active CN112069789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010985608.XA CN112069789B (en) 2020-09-18 2020-09-18 Method, equipment and medium for matching appointed content based on domestic CPU text domain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010985608.XA CN112069789B (en) 2020-09-18 2020-09-18 Method, equipment and medium for matching appointed content based on domestic CPU text domain

Publications (2)

Publication Number Publication Date
CN112069789A true CN112069789A (en) 2020-12-11
CN112069789B CN112069789B (en) 2024-05-14

Family

ID=73681331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010985608.XA Active CN112069789B (en) 2020-09-18 2020-09-18 Method, equipment and medium for matching appointed content based on domestic CPU text domain

Country Status (1)

Country Link
CN (1) CN112069789B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130191457A1 (en) * 2012-01-24 2013-07-25 International Business Machines Corporation Automatic Determining of File Transfer Mode
CN108829651A (en) * 2018-04-17 2018-11-16 平安科技(深圳)有限公司 A kind of method, apparatus of document treatment, terminal device and storage medium
CN110889261A (en) * 2018-09-06 2020-03-17 陕西国博政通信息科技有限公司 Method for automating electronic official document service processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130191457A1 (en) * 2012-01-24 2013-07-25 International Business Machines Corporation Automatic Determining of File Transfer Mode
CN108829651A (en) * 2018-04-17 2018-11-16 平安科技(深圳)有限公司 A kind of method, apparatus of document treatment, terminal device and storage medium
CN110889261A (en) * 2018-09-06 2020-03-17 陕西国博政通信息科技有限公司 Method for automating electronic official document service processing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵洪;王芳;王晓宇;张维冲;杨京;: "基于大规模政府公文智能处理的知识发现及应用研究", 情报学报, no. 08 *

Also Published As

Publication number Publication date
CN112069789B (en) 2024-05-14

Similar Documents

Publication Publication Date Title
CN109408043B (en) Program generation method and device
CN108762743B (en) Data table operation code generation method and device
CN101430684A (en) Method and apparatus for mutual conversion between Chinese work office software document and documents with other format
CN111985202A (en) Method, equipment and storage medium for generating PDF electronic signature based on template
CN109617647A (en) Message forwarding method, device, computer equipment and computer readable storage medium
CN112016290A (en) Automatic document typesetting method, device, equipment and storage medium
CN114818594A (en) Automatic wiring and naming method, device, equipment and medium
CN107908843B (en) Management system based on drawing of map label information
CN109885290A (en) Application program service description information generates and dissemination method, device and storage medium
CN112306473B (en) Program interface parameter transmission method, system and related equipment
CN110889261A (en) Method for automating electronic official document service processing
CN111427582B (en) RTL code management method, device, equipment and computer readable storage medium
CN102262520B (en) Test display method based on built-in platform mobile phone and applied device thereof
CN112069789A (en) Method, device and medium for matching specified content based on domestic CPU text field
KR100762712B1 (en) Method for transforming of electronic document based on mapping rule and system thereof
CN107908377A (en) The analytic method of font coding information and its device and application in print language
CN111984674A (en) Method and system for generating structured query language
CN115758973A (en) Method, device and equipment for generating chip register design file and storage medium
CN111580794A (en) Method and device for creating business document in business management system
CN111897778B (en) Computer file merging method, device and system
CN109783134B (en) Front-end page configuration method and device and electronic equipment
CN115114280A (en) Report generation processing method, device and equipment
CN111596872A (en) Data printing method and data printing device
CN110968591A (en) Query statement generation method and device, storage medium and processor
CN108334482A (en) A kind of electronics certification generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant