WO2019200699A1 - 政务系统发文方法、装置、计算机设备及存储介质 - Google Patents

政务系统发文方法、装置、计算机设备及存储介质 Download PDF

Info

Publication number
WO2019200699A1
WO2019200699A1 PCT/CN2018/092555 CN2018092555W WO2019200699A1 WO 2019200699 A1 WO2019200699 A1 WO 2019200699A1 CN 2018092555 W CN2018092555 W CN 2018092555W WO 2019200699 A1 WO2019200699 A1 WO 2019200699A1
Authority
WO
WIPO (PCT)
Prior art keywords
full
historical
information
text
posting
Prior art date
Application number
PCT/CN2018/092555
Other languages
English (en)
French (fr)
Inventor
高梁梁
孙强
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019200699A1 publication Critical patent/WO2019200699A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • G06F16/313Selection or weighting of terms for indexing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management

Definitions

  • the present application relates to the field of e-government technology, and in particular, to a method, device, computer device and storage medium for issuing a government system.
  • the e-government office system (hereinafter referred to as the “government system”) only includes the functions of online drafting and attachment uploading when the document is issued, so that the drafter needs to re-edit the content of the post to complete the posting, which is time consuming, especially in the issue of documents. Larger, greatly increased the amount of tasks.
  • the current government system can only perform keyword retrieval, so that when the user queries certain information, the query may obtain more query results, so that the availability of the user query is low, and the query efficiency is reduced.
  • the embodiment of the present application provides a method, a device, a computer device, and a storage medium for issuing a government system, so as to solve the problem that the government system cannot perform secondary editing on the historical post information when the document is issued.
  • the embodiment of the present application provides a method for issuing a government system, including:
  • the embodiment of the present application provides a government system issuing device, including:
  • a user sending request requesting module configured to obtain a user sending request, where the user sending request includes a search condition
  • a history message obtaining module configured to invoke a full-text search engine built in the government system based on the search condition, and acquire at least one historical message information corresponding to the search condition based on the full-text search engine;
  • An information selection request obtaining module configured to acquire an information selection request, and display the historical posting information corresponding to the information selection request on a text editing interface of the government system;
  • the original message information obtaining module is configured to obtain a message information modification request on the message editing interface, modify the historical message information according to the message information modification request, and obtain original message information, where the original message information is highlighted. Displaying modified content for modifying the historical posting information;
  • the target message information obtaining module is configured to send the original message information to an audit platform connected to the government system, and receive the target message information that is approved by the audit platform, and complete the message based on the target message information.
  • An embodiment of the present application provides a computer device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor implementing the computer readable instructions The following steps:
  • Embodiments of the present application provide one or more non-volatile readable storage media storing computer readable instructions, when executed by one or more processors, causing the one or more processors Perform the following steps:
  • FIG. 1 is an application environment diagram of a method for issuing a government affairs system according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method for issuing a government affairs system according to an embodiment of the present application
  • FIG. 3 is another flowchart of a method for issuing a government system according to an embodiment of the present application.
  • FIG. 4 is a specific flow chart of step S62 of Figure 3;
  • FIG. 5 is a specific flow chart of step S621 of Figure 4.
  • FIG. 6 is a schematic diagram of a government system issuing device provided in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a computer device provided in an embodiment of the present application.
  • the government system posting method provided by the present application can be applied in the application environment as shown in FIG. 1, wherein the government system posting method can communicate with the server through the computer device.
  • Computer devices may be, but are not limited to, various personal computers, notebook computers, smart phones, tablets, and portable wearable devices.
  • the server can be implemented with a separate server.
  • FIG. 2 is a flow chart showing a method for issuing a government system in the embodiment.
  • the method of issuing the government system can be applied to computer equipment of a government agency, for example, it can be applied in the government system for full-text query and secondary editing of government affairs to improve office efficiency.
  • the method for issuing a government system includes the following steps:
  • S10 Acquire a user sending request, and the user sending request includes a search condition.
  • the user send request is a request for triggering a government system posting function.
  • the user's request to send includes search criteria.
  • Search criteria include, but are not limited to, the article title, article posting time, or article content of the article desired by the user.
  • the user may input the required search condition in the input box on the query interface of the government system to enable the server to obtain the user's request for sending a message, or the server automatically obtains the search condition that the number of searches for the smart system recommended by the government system is ranked in the first n positions.
  • the government system periodically searches for stored articles for the number of times of searching, and automatically updates the recommended search conditions in the government system to achieve the purpose of intelligent recommendation and improve work efficiency.
  • S20 Calling a full-text search engine built in the government system based on the search condition, and acquiring at least one historical post information corresponding to the search condition based on the full-text search engine.
  • the full-text search engine is currently the mainstream search engine widely used. It works by the computer indexer by scanning each word in the article, creating an index on each word indicating the number and location of the word in the article.
  • the search program in the full-text search engine searches the previously established index according to the search condition, and feeds back the search result to the user.
  • the search program is a program for performing a query operation preset in the full-text search engine.
  • the historical post information is the article information published in the government system before the current time. The historical post information includes the title of the article, the time the article was published, and the content of the article.
  • the server queries the full-text search engine built on the government system based on the user input or the selected search condition to obtain at least one historical post information corresponding to the search condition, so that the user can select the article title and the article release time according to the article. Or the full text of the article is queried for user convenience, avoiding the problem that the user cannot find the required historical post information without knowing the article keyword.
  • S30 Acquire an information selection request, and display historical message information corresponding to the information selection request on the posting editing interface of the government system.
  • the information selection request is a request for the user to select historical posting information.
  • the document editing interface of the government system is a visual interface for editing historical message information.
  • the server displays the historical posting information selected by the user on the posting editing interface of the government system based on the information selection request, so as to be edited by the user, so as to achieve the purpose of secondary editing of the historical posting information.
  • displaying the historical post information corresponding to the information selection request on the post editing interface of the government system may be displayed in a manner of relevance scoring, and displayed according to the size of the score.
  • W t,d represents the weight of the keyword t in the historical post information d
  • tf t,d represents the frequency at which the keyword t appears in the historical post information d
  • df t indicates how many historical messages have appeared in the keyword t.
  • the server uses the correlation scoring formula (where score(t, d) refers to the correlation score of the query input keyword t and the historical post information d, n is the number of keywords included in the search condition) N historical post information and keywords searched The relevance is scored, and the historical post information is displayed on the post editing interface of the government system according to the order of the scores from high to low.
  • S40 Acquire a message information modification request on the message editing interface, modify the historical message information according to the message information modification request, obtain the original message information, and highlight the modification content of the history message information in the original message information.
  • the sending information modification request is a request for the user to change the historical posting information.
  • the message information modification request includes a modification content. Specifically, the request for the change of the historical post information is obtained on the post editing interface, so that the server obtains the modified content based on the post information modification request, and then the historical post information is modified based on the modified content to obtain the original post information, and the original message information is obtained.
  • the modified content of the historical posting information is highlighted in the posting information, so that the user can visually check the modified content, and check whether there are typos or other writing errors in the modified content, and improve the efficiency of the writing.
  • the highlighting may be performed by: highlighting the modified content, or displaying the modified content in a certain concentrated area in the original posting information, and marking or highlighting the concentrated area.
  • the concentrated area is marked with a different color or reminded by text.
  • the government information system pre-stores such a message information template, and the message information template includes a message format and a message content.
  • the user can also edit the original message according to the message information template, and the process does not need to look up the historical message information for modification.
  • the message information template can be directly invoked to improve the efficiency of the message.
  • S50 Send the original posting information to the auditing platform connected to the government system, and receive the target posting information passed by the auditing platform, and complete the posting based on the target posting information.
  • the target message information refers to the original message information passed by the audit.
  • the audit platform is a platform for reviewing the original post information. Specifically, the server sends the original posting information to the auditing platform connected to the government system for review, and receives the target posting information that is approved by the auditing platform, and then performs a mailing operation based on the target posting information to complete the posting.
  • the original posting information may be configured by the auditing personnel, and the auditing personnel corresponding to the original posting information are selected for review.
  • a keyword table of a message type is pre-stored in the government system, and the keyword table includes a message type and a corresponding auditor.
  • the government system will initially identify the information content of the original posting information, that is, match the keyword table pre-stored in the government system, and recommend the corresponding user intelligence based on the keyword table. Review personnel for users to choose.
  • the server first obtains a user posting request, and the user sending request includes a search condition to start a full-text search engine built on the government system based on the search condition. Then, the server obtains at least one historical posting information corresponding to the search condition based on the full-text search engine, so that the user can perform the query according to the article title, the article publishing time, or the full text content of the article, which is convenient for the user to use, and avoids the user not knowing the article. In the case of keywords, the problem of the required historical post information cannot be found.
  • the server obtains the information selection request, so as to display the historical message information selected by the user on the posting editing interface of the government system based on the information selection request, for the user to edit, so as to achieve the purpose of secondary editing of the historical posting information.
  • Obtaining a message information modification request on the message editing interface to obtain the modified content and then the server modifies the historical message information based on the modified content, obtains the original message information, and highlights the modification of the history message information in the original message information.
  • Content so that users can visually check the modified content, and check whether there are typos or other written errors in the modified content to improve the efficiency of the posting.
  • the server sends the original posting information to the auditing platform connected to the government system, and receives the target posting information that is approved by the auditing platform, and completes the posting based on the target posting information, and the sending process does not require the user to re-edit the posting information to issue the document. It is necessary to perform secondary editing on the historical post information to complete the posting, saving time and improving efficiency.
  • the government system posting method further comprises: creating a full-text search engine on the government system. Since the full-text index is used to find the corresponding historical post information, and the full-text index needs to be established in the full-text search engine, a full-text search engine needs to be created on the government system to establish a full-text index by using the full-text search engine.
  • creating a full-text search engine on the government system includes the following steps:
  • the full-text index creation task After completing the posting based on the historical posting information, generating a full-text index creation task, the full-text index creation task includes an index establishing interface and a document management module.
  • the full-text index creation task is a task for creating a full-text index automatically allocated by the system after the historical posting information is completed.
  • the full-text index creation task includes an index establishment interface and a document management module.
  • the index creation interface is an interface for creating a full-text index.
  • the document management module is a module for storing full-text indexes.
  • S62 Calling an index to establish an interface, establishing a full-text index based on historical posting information, and storing the full-text index in the document management module.
  • the index establishment interface is an interface for creating a full-text index in the full-text search engine.
  • Full-text indexing is an index built into the full-text search engine based on the entire content of the article.
  • the query information based on the full-text index can improve the query precision to make the query result more accurate.
  • the government system establishes an interface by calling an index in the full-text index creation task, and establishes a full-text index according to the historical posting information, and stores the full-text index in the document management module, so that the subsequent user is When querying historical post information, it can quickly query the required historical post information based on the full-text index.
  • step S20 is specifically: acquiring, based on the full-text search engine, a full-text index corresponding to the search condition, and acquiring at least one historical post-sent information according to the full-text index.
  • the government system After inputting the search condition based on the user's own needs, the government system starts the full-text search engine based on the search condition, and reads the full-text index corresponding to the search condition in the full-text search engine based on the search condition, so that the full-text index can be quickly Get at least one historical post message to save search time and improve search efficiency.
  • the full-text index creation task is generated, and the full-text index creation task includes an index establishing interface and a document management module, so as to invoke an index establishing interface, and establish a full-text index based on the historical posting information, and
  • the full-text index is stored in the document management module, so that subsequent users can quickly query the required historical posting information based on the full-text index when querying the historical posting information, so as to improve the availability of the user query.
  • step S30 displaying the historical posting information corresponding to the information request on the posting editing interface of the government system in step S30, specifically: displaying at least one historical posting information and corresponding to each historical posting information on the posting editing interface of the government system The number of times of citations, the historical post information is displayed based on the order of the number of citations.
  • the number of times cited is the number of times each historical message information in the government system is selected by the user. Specifically, at least one historical posting information and a reference number corresponding to each historical posting information are displayed on the posting editing interface of the government system. Then, the government system displays historical message information in the order of the number of times of reference, that is, in descending order of the number of times of reference, so that the user can select historical message information by the number of times of reference, thereby avoiding the situation that the query result is too much and the user is difficult to view.
  • step S62 the full-text index is established based on the historical post information, and specifically includes the following steps:
  • S621 Perform pre-processing on the content of the historical post information to obtain a word element.
  • the word element is a word element obtained by preprocessing the historical post information for creating a full-text index.
  • preprocessing the historical post information includes word segmentation processing and natural language processing on the historical post information.
  • Word segmentation refers to the process of segmenting words in a sentence according to a dictionary.
  • Natural language processing is to do some language-dependent processing of the results of the word segmentation. For example, change English characters to lowercase.
  • S622 Processing the word element based on the index component in the full-text search engine to establish a full-text index.
  • the index component is a component of the full-text search engine that creates a full-text index based on the lemma. Specifically, the index component in the full-text search engine creates a dictionary based on the lexical elements, and then sorts the lexicon in alphabetical order, and merges the same words into an index linked list, the index linked list including an index chain corresponding to at least one lexicon, the index The chain includes the document frequency and word frequency corresponding to the word element. The frequency of the document indicates how many files contain the target words (words) that the user is looking for. The word frequency indicates how many target words (words) are included in this file.
  • pre-processing the historical post information includes performing word segmentation processing and natural language processing on the historical post information, and acquiring the word element, so as to process the word element based on the index component in the full-text search engine, and establish a full-text index, so as to When the historical message is queried, the subsequent users can quickly query the required historical message information based on the full-text index, saving time and improving efficiency.
  • step S621 the content of the historical post information is preprocessed to obtain a word element, which specifically includes the following steps:
  • the word is the English word obtained after the wording of the historical post information.
  • Chinese characters and English characters may appear when creating a full-text index.
  • the operation of the Chinese word segmentation and the English word segmentation is different. Therefore, it is necessary to judge the content of the historical message, so as to separate the content of the historical message information.
  • the method for distinguishing the Chinese and English contents of the historical posting information by using a regular expression is as follows: the regular expression matching the Chinese character is [u4e00-u9fa5], and the regular expression matching the English character is [a -zA-Z].
  • Regular expressions based on Chinese characters and regular expressions of English characters are used to distinguish historical message information in Chinese and English to obtain corresponding texts to be distinguished (including Chinese characters and English characters), so that the server can perform fast word segmentation on the text to be segmented. Improve the efficiency of obtaining words.
  • the word segmentation component in the full-text search engine is used to segment the English characters in the historical post message, that is, the content of the historical post message is removed from the punctuation and the word stop process is removed, and finally the history message is sent according to the English dictionary database. Dividing into separate words is the word, and the pure text is obtained to eliminate the interference, so that the word processing component is used to process the word.
  • removing the word stop processing means that in the information retrieval, in order to save storage space and improve search efficiency, some stop words (such as "I” are automatically filtered before or after processing natural language data (or text).
  • the punctuation removal process includes, but is not limited to, processing using a regular expression.
  • the regular expression can be pre-set by the developer, such as the statement System.out.println(str.replaceAll(" ⁇ pP", ""), to delete the punctuation in the text.
  • the word processing component is processed by a language processing component in the full-text search engine to obtain a word element.
  • the language processing component is a processing component for language-dependent wording.
  • the English characters are changed to lowercase.
  • the processing of the word by using the language processing component in the full-text search engine specifically includes the following contents: First, the English character is changed to lowercase; then, the word is reduced to a root form, such as "cars” to "car”, etc. Finally, turn words into root forms, such as "drove” to "drive”.
  • the language processing component By using the language processing component to process the word, the word element is obtained, and technical support is provided for creating the full-text index.
  • step S621 the content of the historical post information is preprocessed to obtain the lexical element, which specifically includes the following steps:
  • the dictionary library is a thesaurus containing a large number of stop words based on Chinese characters.
  • the dictionary library can be pre-defined by the developer or open source data obtained from a third-party platform.
  • the pure text refers to the paper obtained after removing the stop word interference.
  • the content of the historical posting information is a Chinese character
  • the content of the historical posting information is processed by using the dictionary library in the full-text search, that is, the content of the historical posting information is subjected to the removal of the stop word processing, and the pure text is obtained.
  • the process of removing the stop word in this step is the same as the process of removing the stop word process in step S6211, and details are not described herein again.
  • S6214 The pure text is processed by the thesaurus word segmentation in the full-text search engine to obtain the word element.
  • the word segmentation can be used for word segmentation, that is, the words are constructed according to an algorithm, and then the set of the established thesaurus is matched, and if it is matched, it is divided into words, and its participles are separated.
  • the process is simple and easy to implement.
  • the thesaurus segmentation method includes the algorithm of maximum forward matching and the algorithm of maximum inverse matching.
  • the pure text is segmented by using an algorithm that uses maximum reverse matching to obtain a word element.
  • the algorithm of maximum reverse matching is an algorithm for segmenting Chinese characters.
  • the algorithm has the advantages of high accuracy and low algorithm complexity.
  • the developer Before using the lexicon segmentation to segment the pure text, the developer will pre-set the Chinese vocabulary to provide technical support for the word segmentation.
  • the Chinese vocabulary (hereinafter referred to as "thesaurus") is a vocabulary for segmenting Chinese characters.
  • the specific step of segmenting the content (or pure text) of the historical message by the algorithm of maximum reverse matching is as follows: first, the maximum length of the sentence segmentation is set to be MAX; then the historical message information is split into at least one sentence, which can be specifically The end of the sentence is split (eg: ?,,!); then each sentence is divided into right-to-left order to obtain a single string; then the single string is compared with the thesaurus, if The word is included in the lexicon and recorded to form a vocabulary. Otherwise, by reducing one word, the comparison is continued until the remaining one is stopped.
  • the segmentation starts from right to left, and the single string is “one person eats”; there is no such thing in the thesaurus.
  • Words then reduce one word, that is, "one” to "personal meal”; if there is no such word in the thesaurus, continue to reduce one word “one” and become “people eat”; if there is no such word in the thesaurus, it will be reduced
  • a single word is "person” and becomes “dining”; the word exists in the vocabulary is “dining”, the word is recorded, and a word is obtained. At this point, the sentence becomes "I am alone”.
  • the server first distinguishes the content of the historical posting information in Chinese and English. If the content of the historical posting information is an English character, the word segmentation component in the full-text search engine is used to remove the punctuation and remove the content of the historical posting information. Stop word processing, and finally divide the historical post information into separate words or words according to the English dictionary database, and obtain pure text to eliminate interference, so that the server can use the language processing component in the full-text search engine to process the word and obtain the word element. Provide technical support for creating full-text indexes.
  • the dictionary of the full-text search engine is used to remove the stop word processing of the content of the historical posting information, and the pure text is obtained, so that the server processes the pure text by using the algorithm of maximum reverse matching.
  • Obtaining the word element improves the efficiency of word segmentation and the accuracy of word segmentation.
  • a government system issuing device is provided, and the government system issuing device has a one-to-one correspondence with the government system issuing method in the above embodiment.
  • the government system issuing device includes a user sending request obtaining module 10, a historical sending information obtaining module 20, an information selection request obtaining module 30, an original posting information acquiring module 40, a full-text search engine creating module 60, and a historical posting.
  • Information display module 70 Each function module is described in detail as follows:
  • the user send request requesting module 10 is configured to obtain a user send request, and the user send request includes a search condition.
  • the historical post information obtaining module 20 is configured to invoke a full-text search engine built in the government system based on the search condition, and acquire at least one historical post information corresponding to the search condition based on the full-text search engine.
  • the information selection request obtaining module 30 is configured to obtain an information selection request, and display historical message information corresponding to the information selection request on the posting editing interface of the government system.
  • the original message information obtaining module 40 is configured to obtain a message information modification request on the message editing interface, modify the historical message information based on the message information modification request, obtain the original message information, and highlight the historical message information in the original message information. Modify the content.
  • the target message information obtaining module 50 is configured to send the original message information to the audit platform connected to the government system, and receive the target message information that is approved by the audit platform, and complete the message based on the target message information.
  • the government system issuing device further includes a historical posting information display module 70, displaying at least one historical posting information and a reference number corresponding to each historical posting information on the posting editing interface of the government system, and displaying the number of times according to the number of times cited Historical post information.
  • a historical posting information display module 70 displaying at least one historical posting information and a reference number corresponding to each historical posting information on the posting editing interface of the government system, and displaying the number of times according to the number of times cited Historical post information.
  • the government system issuing device further includes a full-text search engine creating module 60, configured to create a full-text search engine on the government system.
  • the full-text search engine creation module 60 includes a full-text index creation task generation unit 61 and a full-text index creation unit 62.
  • the full-text index creation task generating unit 61 is configured to generate a full-text index creation task after the completion of the posting based on the historical posting information, and the full-text index creation task includes an index establishing interface and a document management module.
  • the full-text index establishing unit 62 is configured to invoke an index establishing interface, establish a full-text index based on the historical posting information, and store the full-text index in the document management module.
  • the historical posting information obtaining module 20 is configured to acquire, according to the full-text search engine, a full-text index corresponding to the search condition, and at least one historical posting information obtained according to the full-text index.
  • the full-text index establishing unit 62 includes a word element acquiring unit 621 and a full-text index establishing unit 622.
  • the lexical element obtaining unit 621 is configured to preprocess the content of the historical essay information to obtain a lexical element.
  • the full-text index establishing unit 622 is configured to process the lexical elements based on the index component in the full-text search engine to establish a full-text index.
  • the word element acquisition unit 621 includes a word acquisition sub-unit 6211 and a word acquisition sub-unit 6212.
  • the word sub-acquisition sub-element 6211 is configured to use the word segmentation component in the full-text search engine to segment the content of the historical post-message information to obtain the word order if the content of the historical post-message information is an English character.
  • the lexical element obtaining sub-unit 6212 is configured to process the word order by using a language processing component in the full-text search engine to obtain a lexical element.
  • the word element acquisition unit 621 includes a clean text acquisition sub-unit 6213 and a word element acquisition sub-unit 6214.
  • the pure text obtaining sub-unit 6213 is configured to process the content of the historical posting information by using the dictionary library in the full-text search engine to obtain the pure text if the content of the historical posting information is Chinese characters.
  • the lemma acquisition sub-unit 6214 is configured to process the pure text by using the lexicon segmentation method to obtain the lexical element.
  • the information selection request obtaining module 30 is configured to display at least one of the historical posting information and the referenced number of each of the historical posting information on the posting editing interface of the government system, based on the number of times of reference The order of the history shows the historical post information.
  • one or more non-volatile readable storage media storing computer readable instructions are provided, the computer readable instructions being executed by one or more processors such that the one or more When the processor executes, the method of issuing the government system in the above embodiment is implemented. To avoid repetition, details are not described herein again.
  • the computer readable instructions are executed by one or more processors, such that the one or more processors are executed to implement the functions of the modules/units in the government system posting device in the above embodiments, in order to avoid duplication, I won't go into details here.
  • a computer device is provided.
  • computer device 80 of this embodiment includes a processor 81, a memory 82, and computer readable instructions 83 stored in memory 82 and executable on processor 81.
  • the processor 81 executes the steps of the government system posting method in the above embodiment when the computer readable instructions 83 are executed, such as steps S10 to S50 shown in FIG.
  • the processor 81 executes the computer readable instructions 83
  • the functions of the modules/units in the policing device of the above-mentioned embodiment are implemented, for example, the user essay request obtaining module 10, the historical essay information acquiring module 20, and the information shown in FIG.
  • the functions of the request acquisition module 30, the original message information acquisition module 40, and the history message information display module 70 are selected.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Operations Research (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请公开一种政务系统发文方法、装置、计算机设备及存储介质。该政务系统发文方法包括:获取用户发文请求,用户发文请求包括搜索条件;基于搜索条件调用政务系统上内置的全文搜索引擎,获取与搜索条件对应的至少一个历史发文信息;在政务系统的发文编辑界面上显示与信息选择请求相对应的历史发文信息;在发文编辑界面上基于发文信息修改请求对历史发文信息进行修改,获取原始发文信息,原始发文信息中突出显示对历史发文信息进行修改的修改内容;将原始发文信息发送给与政务系统相连的审核平台,并接收审核平台反馈的审核通过的目标发文信息,基于目标发文信息完成发文。该政务系统发文方法进行发文具有提高效率且可用度高的优点。

Description

政务系统发文方法、装置、计算机设备及存储介质
本专利申请以2018年4月19日提交的申请号为201810351738.0,名称为“政务系统发文方法、装置、计算机设备及存储介质”的中国发明专利申请为基础,并要求其优先权。
技术领域
本申请涉及电子政务技术领域,尤其涉及一种政务系统发文方法、装置、计算机设备及存储介质。
背景技术
目前,电子政务办公系统(以下简称“政务系统”)在发文时只包括在线拟稿和附件上传的功能,使得拟稿人每次发文时需要重新编辑发文内容以完成发文,耗费时间,尤其在发文量较大时,大大增加了任务量。并且,当前政务系统只能进行关键词检索,使得用户在查询某些信息时,可能查询获取到较多的查询结果,使得用户查询的可用度低,降低查询效率。
发明内容
本申请实施例提供一种政务系统发文方法、装置、计算机设备及存储介质,以解决政务系统在发文时不能对历史发文信息进行二次编辑的问题。
本申请实施例提供一种政务系统发文方法,包括:
获取用户发文请求,所述用户发文请求包括搜索条件;
基于所述搜索条件调用政务系统上内置的全文搜索引擎,基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息;
获取信息选择请求,在所述政务系统的发文编辑界面上显示与所述信息选择请求相对应的所述历史发文信息;
在所述发文编辑界面上获取发文信息修改请求,基于所述发文信息修改请求对所述历史发文信息进行修改,获取原始发文信息,所述原始发文信息中突出显示对所述历史发文 信息进行修改的修改内容;
将所述原始发文信息发送给与所述政务系统相连的审核平台,并接收所述审核平台反馈的审核通过的目标发文信息,基于所述目标发文信息完成发文。
本申请实施例提供一种政务系统发文装置,包括:
用户发文请求获取模块,用于获取用户发文请求,所述用户发文请求包括搜索条件;
历史发文信息获取模块,用于基于所述搜索条件调用政务系统上内置的全文搜索引擎,基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息;
信息选择请求获取模块,用于获取信息选择请求,在所述政务系统的发文编辑界面上显示与所述信息选择请求相对应的所述历史发文信息;
原始发文信息系获取模块,用于在所述发文编辑界面上获取发文信息修改请求,基于所述发文信息修改请求对所述历史发文信息进行修改,获取原始发文信息,所述原始发文信息中突出显示对所述历史发文信息进行修改的修改内容;
目标发文信息获取模块,用于将所述原始发文信息发送给与所述政务系统相连的审核平台,并接收所述审核平台反馈的审核通过的目标发文信息,基于所述目标发文信息完成发文。
本申请实施例提供一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:
获取用户发文请求,所述用户发文请求包括搜索条件;
基于所述搜索条件调用政务系统上内置的全文搜索引擎,基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息;
获取信息选择请求,在所述政务系统的发文编辑界面上显示与所述信息选择请求相对应的所述历史发文信息;
在所述发文编辑界面上获取发文信息修改请求,基于所述发文信息修改请求对所述历史发文信息进行修改,获取原始发文信息,所述原始发文信息中突出显示对所述历史发文信息进行修改的修改内容;
将所述原始发文信息发送给与所述政务系统相连的审核平台,并接收所述审核平台反馈的审核通过的目标发文信息,基于所述目标发文信息完成发文。
本申请实施例提供一个或多个存储有计算机可读指令的非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:
获取用户发文请求,所述用户发文请求包括搜索条件;
基于所述搜索条件调用政务系统上内置的全文搜索引擎,基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息;
获取信息选择请求,在所述政务系统的发文编辑界面上显示与所述信息选择请求相对应的所述历史发文信息;
在所述发文编辑界面上获取发文信息修改请求,基于所述发文信息修改请求对所述历史发文信息进行修改,获取原始发文信息,所述原始发文信息中突出显示对所述历史发文信息进行修改的修改内容;
将所述原始发文信息发送给与所述政务系统相连的审核平台,并接收所述审核平台反馈的审核通过的目标发文信息,基于所述目标发文信息完成发文。
本申请的一个或多个实施例的细节在下面的附图及描述中提出。本申请的其他特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一实施例中政务系统发文方法的应用环境图;
图2是本申请一实施例中提供的政务系统发文方法的一流程图;
图3是本申请一实施例中提供的政务系统发文方法的另一流程图;
图4是图3中步骤S62的一具体流程图;
图5是图4中步骤S621的一具体流程图;
图6是本申请一实施例中提供的政务系统发文装置的一示意图;
图7是本申请一实施例中提供的计算机设备的一示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请提供的政务系统发文方法,可应用在如图1的应用环境中,其中,政务系统发文方法可通过计算机设备与服务器进行通信。计算机设备可以但不限于各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备。服务器可以用独立的服务器来实现。
图2示出本实施例中政务系统发文方法的流程图。该政务系统发文方法可应用在政府机构的计算机设备中,例如可应用在政务系统中,用于对政务发文进行全文查询和二次编辑,以提高办公效率。如图2所示,该政务系统发文方法包括如下步骤:
S10:获取用户发文请求,用户发文请求包括搜索条件。
其中,用户发文请求是用于触发政务系统发文功能的请求。该用户发文请求包括搜索条件。搜索条件包括但不限用户所需文章的文章标题、文章发布时间或文章内容。具体地,用户可在政务系统的查询界面上的输入框中输入所需的搜索条件以使服务器获取用户发文请求,或者由服务器自动获取政务系统智能推荐的搜索次数排在前n位的搜索条件。本实施例中,政务系统会定时对存储的文章进行搜索次数统计,并在政务系统中自动更新推荐的搜索条件,以达到智能推荐的目的,提高工作效率。
S20:基于搜索条件调用政务系统上内置的全文搜索引擎,基于全文搜索引擎获取与搜索条件对应的至少一个历史发文信息。
其中,全文搜索引擎是目前广泛应用的主流搜索引擎。它的工作原理是计算机索引程序通过扫描文章中的每一个词,对每一个词建立一个索引,指明该词在文章中出现的次数和位置。当用户输入搜索条件进行查询时,全文搜索引擎中的检索程序就根据该搜索条件对事先建立的索引进行查找,并将查找的结果反馈给用户。该检索程序是预先设置在全文搜索引擎中的用于进行查询操作的程序。其中,历史发文信息是当前时间以前在政务系统中发布过的文章信息。该历史发文信息包括文章标题、文章发布时间和文章内容。
具体地,服务器基于用户输入或选择的搜索条件调用政务系统上内置的全文搜索引擎进行查询,以获取与搜索条件对应的至少一个历史发文信息,以使用户能够根据文章的文章标题、文章发布时间或文章全文内容进行查询,方便用户使用,避免出现用户在不知道文章关键词的情况下,无法查找所需的历史发文信息的问题。
S30:获取信息选择请求,在政务系统的发文编辑界面上显示与信息选择请求相对应的历史发文信息。
其中,信息选择请求是用户对历史发文信息进行选择的请求。政务系统的发文编辑界面是用于对历史发文信息进行编辑的可视化界面。具体地,服务器基于信息选择请求,在 政务系统的发文编辑界面上显示用户所选择的历史发文信息,以供用户编辑,以实现对历史发文信息进行二次编辑的目的。
进一步地,在政务系统的发文编辑界面上显示与信息选择请求相对应的历史发文信息可采取相关性打分的方式进行显示,按照分值的大小进行显示。具体地,搜索条件包括用户输入的关键词,服务器通过关键字查找数据库可搜索到N个历史发文信息,通过公式W t,d=tf t,d*log(N/df t)计算每个关键词在搜索到的N个历史发文信息中的权重,以形成第一向量(即由每个关键词在搜索到的N个历史发文信息中的权重组成的向量)。其中,W t,d表示关键词t在历史发文信息d中的权重,tf t,d表示关键词t在历史发文信息d中出现的频率,df t表示有多少历史发文信息中出现过关键词t。然后,可将搜索条件中包括的关键词看做一个简单的文档,每个关键词都有本身对应的权重,该关键词对应的权重可根据用户输入关键词的顺序进行自动设定也可按照用户的需求自行设定每个关键词的权重,基于关键词对应的权重获取第二向量。最后,服务器采用相关性打分公式
Figure PCTCN2018092555-appb-000001
(其中,score(t,d)是指查询输入关键词t和历史发文信息d的相关性得分,n为搜索条件中所包含的关键词的数量)搜索到的N个历史发文信息与关键词的相关性进行打分,按照分值从高到低的顺序在政务系统的发文编辑界面上显示历史发文信息。
S40:在发文编辑界面上获取发文信息修改请求,基于发文信息修改请求对历史发文信息进行修改,获取原始发文信息,原始发文信息中突出显示对历史发文信息进行修改的修改内容。
其中,发文信息修改请求是用户对历史发文信息进行更改的请求。该发文信息修改请求包括修改内容。具体地,在发文编辑界面上获取用户对历史发文信息进行更改的请求,以便服务器基于发文信息修改请求获取修改内容,然后基于修改内容对历史发文信息进行修改,获取原始发文信息,并且会在原始发文信息中突出显示对历史发文信息进行修改的修改内容,以便用户能够直观地察看所修改的内容,并检查修改内容中是否出现错别字或其他书写上存在的失误,提高发文效率。
具体地,突出显示可以体现为:将修改内容进行高亮,或者,将修改内容在原始发文 信息中的某个集中区域进行显示,并对该集中区域进行标识或突出提醒。例如,对该集中区域采用不同的颜色进行标识或者用文字进行提醒等。
本实施例中,对于含有固定格式这一类的发文信息,例如撤销公告或召开会议通知等,政务系统中会预先存储这类的发文信息模板,该发文信息模板包括发文格式和发文内容。用户也可基于发文信息模板进行编辑,获取原始发文信息,该过程无需查找历史发文信息进行修改,对于一些简单的发文信息可直接调用发文信息模板,提高发文效率。
S50:将原始发文信息发送给与政务系统相连的审核平台,并接收审核平台反馈的审核通过的目标发文信息,基于目标发文信息完成发文。
其中,目标发文信息是指审核通过的原始发文信息。审核平台是用于对原始发文信息进行审核的平台。具体地,服务器将原始发文信息发送给与政务系统相连的审核平台进行审核,并接收审核平台反馈的审核通过的目标发文信息,然后基于目标发文信息进行发文操作,以完成发文。
具体地,用户在将原始发文信息发送给与政务系统相连的审核平台进行审核之前,还可对原始发文信息进行审核人员的配置,选择与该原始发文信息对应的审核人员进行审核。本实施例中,政务系统中会预先存储有发文信息类型的关键字表,该关键字表包括发文信息类型和对应的审核人员。在对原始发文信息进行审核人员的配置时,政务系统会对原始发文信息的信息内容进行初步识别,即与政务系统中预存储的关键字表进行匹配,基于关键字表为用户智能推荐对应的审核人员,以供用户选择。
本实施例中,服务器先获取用户发文请求,该用户发文请求包括搜索条件,以便基于搜索条件启动政务系统上内置的全文搜索引擎。然后,服务器基于全文搜索引擎获取与搜索条件对应的至少一个历史发文信息,以使用户能够根据文章的文章标题、文章发布时间或文章全文内容进行查询,方便用户使用,避免出现用户在不知道文章关键词的情况下,无法查找所需的历史发文信息的问题。然后,服务器获取信息选择请求,以便基于信息选择请求在政务系统的发文编辑界面上显示用户所选择的历史发文信息,以供用户编辑,以实现对历史发文信息进行二次编辑的目的。在发文编辑界面上获取发文信息修改请求,以便获取修改内容,然后服务器基于修改内容对历史发文信息进行修改,获取原始发文信息,并且会在原始发文信息中突出显示对历史发文信息进行修改的修改内容,以便用户能够直观地察看修改内容,并检查修改内容中是否出现错别字或其他书写上存在的失误,提高发文效率。最后,服务器将原始发文信息发送给与政务系统相连的审核平台,并接收审核平台反馈的审核通过的目标发文信息,基于目标发文信息完成发文,该发文过程无需用户重 新编辑发文信息进行发文,只需对历史发文信息进行二次编辑即可完成发文,节省时间,提高效率。
在一个实施例中,步骤S10之前,该政务系统发文方法还包括:在政务系统上创建全文搜索引擎。由于后续采用全文索引查找对应的历史发文信息,而全文索引需要在全文搜索引擎中建立,因此需在政务系统上创建全文搜索引擎,以便采用全文搜索引擎建立全文索引。
如图3所示,在政务系统上创建全文搜索引擎,具体包括如下步骤:
S61:在基于历史发文信息完成发文之后,生成全文索引创建任务,全文索引创建任务包括索引建立接口和文档管理模块。
其中,全文索引创建任务是在历史发文信息完成发文后,由系统自动分配的用于创建全文索引的任务。该全文索引创建任务包括索引建立接口和文档管理模块。索引建立接口是用于创建全文索引的接口。文档管理模块是用于存储全文索引的模块。
S62:调用索引建立接口,基于历史发文信息建立全文索引,并将全文索引存储在文档管理模块中。
其中,索引建立接口是全文搜索引擎中用于创建全文索引的接口。全文索引是全文搜索引擎中,基于文章的全部内容建立的索引。基于全文索引查询信息能够提升查询精度,以使查询结果更加准确。具体地,在基于历史发文信息完成发文之后,政务系统通过调用全文索引创建任务中的索引建立接口,并根据历史发文信息建立全文索引,并将全文索引存储在文档管理模块中,以便后续用户在查询历史发文信息时能够基于全文索引快速查询到所需的历史发文信息。
相应地,步骤S20具体为:基于全文搜索引擎,获取与搜索条件相对应的全文索引,根据全文索引获取的至少一个历史发文信息。
具体地,在基于用户自身需求输入搜索条件之后,政务系统会基于该搜索条件启动全文搜索引擎,并基于搜索条件读取全文搜索引擎中与搜索条件相对应的全文索引,以便根据全文索引能够快速获取至少一个历史发文信息,节省搜索时间,提高搜索效率。
本实施例中,在基于历史发文信息完成发文之后,生成全文索引创建任务,该全文索引创建任务包括索引建立接口和文档管理模块,以便调用索引建立接口,基于历史发文信息建立全文索引,并将全文索引存储在文档管理模块中,以便后续用户在查询历史发文信息时,能够基于全文索引快速查询到所需的历史发文信息,以提高用户查询的可用度。
进一步地,步骤S30中的在政务系统的发文编辑界面上显示与信息请求相对应的历史 发文信息,具体包括:在政务系统的发文编辑界面上显示至少一个历史发文信息和每一历史发文信息对应的被引用次数,基于被引用次数的顺序显示历史发文信息。
其中,被引用次数是政务系统中的每一历史发文信息的被用户选取的次数。具体地,在政务系统的发文编辑界面上会显示至少一个历史发文信息和每一历史发文信息对应的被引用次数。然后,政务系统基于被引用次数的顺序即按照被引用次数从大到小的顺序显示历史发文信息,以使用户能够被引用次数选择历史发文信息,避免查询结果过多,用户不易查看的情况。
在一个实施例中,如图4所示,步骤S62中,即基于历史发文信息建立全文索引,具体包括如下步骤:
S621:对历史发文信息的内容进行预处理,获取词元。
其中,词元是对历史发文信息进行预处理所获取到的用于创建全文索引的词元素。具体地,对历史发文信息进行预处理包括对历史发文信息进行分词处理和自然语言处理。分词处理是指按照词典将句子中的词进行切分的处理。自然语言处理是对分词的结果做一些同语言相关的处理。例如,将英文字符变为小写。
S622:基于全文搜索引擎中的索引组件对词元进行处理,建立全文索引。
其中,索引组件是全文搜索引擎中基于词元创建全文索引的组件。具体地,全文搜索引擎中的索引组件会基于词元创建一个字典,然后按字母顺序进行对字典排序,合并相同的词成为索引链表,该索引链表包括至少一个词元对应的索引链,该索引链包括与词元对应的文档频次和词频率。文档频次表示总共有多少文件包含用户所查找的目标词(词元)。词频率表示此文件中包含了多少个目标词(词元)。
本实施例中,先对历史发文信息进行预处理包括对历史发文信息进行分词处理和自然语言处理,获取词元,以便基于全文搜索引擎中的索引组件对词元进行处理,建立全文索引,以便后续用户在查询历史发文信息时能够基于全文索引快速查询到所需的历史发文信息,节省时间,提高效率。
在一个实施例中,如图5所示,步骤S621中,即对历史发文信息的内容进行预处理,获取词元,具体包括如下步骤:
S6211:若历史发文信息的内容为英文字符,则采用全文搜索引擎中的分词组件对历史发文信息的内容进行分词,获取词次。
其中,词次是对历史发文信息进行分词后所得到的英文单词。由于在建立全文索引时可能会出现中文字符和英文字符。而中文分词和英文分词的操作是不同的,因此需要对历 史发文信息的内容进行判断,以便对历史发文信息的内容分别进行分词处理。本实施例中,采用但不限于正则表达式对历史发文信息的中英文内容进行区分的方法如下:匹配中文字符的正则表达式为[u4e00-u9fa5],匹配英文字符的正则表达式为[a-zA-Z]。基于中文字符的正则表达式和英文字符的正则表达式对历史发文信息进行中英文区分,以获取对应的待分词文本(包括中文字符和英文字符),以便服务器对该待分词文本进行快速分词操作,提高获取词次的效率。
具体地,采用全文搜索引擎中的分词组件对历史发文信息中的英文字符进行分词,即先对历史发文信息的内容进行去除标点符号处理和去除停词处理,最后按照英文词典库将历史发文信息分成单独的单词即为词次,获取纯净文本,以排除干扰,以便后续采用语言处理组件对词次进行处理。
具体地,去除停词处理是指是指在信息检索中,为节省存储空间和提高搜索效率,在处理自然语言数据(或文本)之前或之后会自动过滤掉某些停用词(如“我”“个”“下”)的处理。本实施例中,去除标点符号处理包括但不限于采用正则表达式进行处理。该正则表达式可由开发人员预先设定好的表达式,如语句System.out.println(str.replaceAll(″\\pP″,″″)),即可删除文本中的标点符号。
S6212:采用全文搜索引擎中的语言处理组件对词次进行处理,获取词元。
具体地,语言处理组件是用于对词次进行语言相关的处理组件。例如将英文字符变为小写。具体地,采用全文搜索引擎中的语言处理组件对词次进行处理具体包括如下内容:首先,指将英文字符变为小写;然后,将单词缩减为词根形式,如“cars”到“car”等;最后,将单词转变为词根形式,如“drove”到“drive”等。通过采用语言处理组件对词次进行处理,得到词元,为创建全文索引提供技术支持。
在一个实施例中,步骤S621中,即对历史发文信息的内容进行预处理,获取词元,具体包括如下步骤:
S6213:若历史发文信息的内容为中文字符,则采用全文搜索引擎中的词典库对历史发文信息的内容进行处理,获取纯净文本。
其中,词典库是包含大量以中文字符为基础的停用词的词库。该词典库可以是开发人员预先定义好的,也可以是从第三方平台中获取的开源数据。其中,纯净文本是指去除停用词干扰后所得到的本文。具体地,若历史发文信息的内容为中文字符,则采用全文搜索中的词典库对历史发文信息的内容进行处理,即对历史发文信息的内容进行去除停用词处理,获取纯净文本。本步骤中的去除停用词处理与步骤S6211中的去除停用词处理的处理 过程相同,此处不再赘述。
S6214:采用全文搜索引擎中的词库分词法对纯净文本进行处理,获取词元。
具体地,对于中文字符来说,可采用词库分词法进行分词,即按照某种算法构造词,然后去匹配已建好的词库集合,如果匹配到就切分出来成为词元,其分词过程简单,容易实现。其中,词库分词法包括最大正向匹配的算法和最大逆向匹配的算法。本实施例中,采用但不限于采用最大逆向匹配的算法对纯净文本进行分词,获取词元。最大逆向匹配的算法是用于对中文进行分词的算法,该算法具有准确率高、算法复杂度低的优点。
具体地,在采用词库分词法对纯净文本进行分词之前,开发人员会预先设定好中文词库,为分词提供技术支持。其中,中文词库(以下简称“词库”)是用于对中文字符进行分词的词库。采用最大逆向匹配的算法对历史发文信息的内容(或者纯净文本)进行分词的具体步骤为:首先需设定句子分割的最大长度MAX;然后将历史发文信息拆分为至少一个句子,具体可按照句子的结束符进行划拆分(如:?。,!);再对每一句子按照从右往左的顺序开始切分,获取单字串;然后将该单字串和词库进行比对,若词库中包含有该词就记录下来,形成一词元,否则通过减少一个单字,继续比较,直至剩下一个单字则停止。
例如,句子分割的最大长度MAX=5,输入的句子为“我一个人吃饭”,首先按照从右往左的顺序开始切分,获取单字串即“一个人吃饭”;在词库中没有该词,则减少一个单字即“一”变为“个人吃饭”;在词库中没有该词,则继续减少一个单字“个”,变为“人吃饭”;在词库中没有该词则减少一个单字即“人”,变为“吃饭”;在词库中存在该词即“吃饭”,将该词记录下来,获取一词元。此时,句子变为“我一个人”,在词库中没有该词,则减少一个单字即“我”,变为“一个人”;在词库中没有该词,则继续减少一个单字“一”,变为“个人”;在词库中存在该词即“个人”,将该词记录下来,获取另一词元。此时句子变为“我一”,在词库中没有该词,则减少一个单字即“我”,变为“一”;在词库中存在该词即“一”,将该词记录下来,获取另一词元。此时句子只剩下一个单字“我”,算法终止。最终,采用最大逆向匹配的算法对于句子“我一个人吃饭”的分词结果为“我/一/个人/吃饭”。
本实施例中,服务器先对历史发文信息的内容进行中英文区分,若历史发文信息的内容为英文字符,则采用全文搜索引擎中的分词组件对历史发文信息的内容进行去除标点符号处理和去除停词处理,最后按照英文词典库将历史发文信息分成单独的单词即词次,获取纯净文本,以排除干扰,便于服务器采用全文搜索引擎中的语言处理组件对词次进行处 理,获取词元,为创建全文索引提供技术支持。若历史发文信息的内容为中文字符,则采用全文搜索引擎中的词典库对历史发文信息的内容进行去除停用词处理,获取纯净文本,以便服务器采用最大逆向匹配的算法对纯净文本进行处理,获取词元,提高了分词效率和分词准确率。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
在一个实施例中,提供一种政务系统发文装置,该政务系统发文装置与上述实施例中政务系统发文方法一一对应。如图6所示,该政务系统发文装置包括用户发文请求获取模块10、历史发文信息获取模块20、信息选择请求获取模块30、原始发文信息系获取模块40、全文搜索引擎创建模块60和历史发文信息显示模块70。各功能模块详细说明如下:
用户发文请求获取模块10,用于获取用户发文请求,用户发文请求包括搜索条件。
历史发文信息获取模块20,用于基于搜索条件调用政务系统上内置的全文搜索引擎,基于全文搜索引擎获取与搜索条件对应的至少一个历史发文信息。
信息选择请求获取模块30,用于获取信息选择请求,在政务系统的发文编辑界面上显示与信息选择请求相对应的历史发文信息。
原始发文信息获取模块40,用于在发文编辑界面上获取发文信息修改请求,基于发文信息修改请求对历史发文信息进行修改,获取原始发文信息,原始发文信息中突出显示对历史发文信息进行修改的修改内容。
目标发文信息获取模块50,用于将原始发文信息发送给与政务系统相连的审核平台,并接收审核平台反馈的审核通过的目标发文信息,基于目标发文信息完成发文。
具体地,该政务系统发文装置还包括历史发文信息显示模块70,在政务系统的发文编辑界面上显示至少一个历史发文信息和每一历史发文信息对应的被引用次数,基于被引用次数的顺序显示历史发文信息。
具体地,该政务系统发文装置还包括全文搜索引擎创建模块60,用于在所述政务系统上创建全文搜索引擎。
全文搜索引擎创建模块60包括全文索引创建任务生成单元61和全文索引建立单元62。
全文索引创建任务生成单元61,用于在基于历史发文信息完成发文之后,生成全文索引创建任务,全文索引创建任务包括索引建立接口和文档管理模块。
全文索引建立单元62,用于调用索引建立接口,基于历史发文信息建立全文索引,并 将全文索引存储在文档管理模块中。
相应地,历史发文信息获取模块20,用于基于全文搜索引擎,获取与搜索条件相对应的全文索引,根据全文索引获取的至少一个历史发文信息。
具体地,全文索引建立单元62包括词元获取单元621和全文索引建立单元622。
词元获取单元621,用于对历史发文信息的内容进行预处理,获取词元。
全文索引建立单元622,用于基于全文搜索引擎中的索引组件对词元进行处理,建立全文索引。
具体地,词元获取单元621包括词次获取子单元6211和词元获取子单元6212。
词次获取子单元6211,用于若历史发文信息的内容为英文字符,则采用全文搜索引擎中的分词组件对历史发文信息的内容进行分词,获取词次。
词元获取子单元6212,用于采用全文搜索引擎中的语言处理组件对词次进行处理,获取词元。
具体地,词元获取单元621包括纯净文本获取子单元6213和词元获取子单元6214。
纯净文本获取子单元6213,用于若历史发文信息的内容为中文字符,则采用全文搜索引擎中词典库对历史发文信息的内容进行处理,获取纯净文本。
词元获取子单元6214,用于采用词库分词法对纯净文本进行处理,获取词元。
具体地,信息选择请求获取模块30,用于在所述政务系统的发文编辑界面上显示至少一个所述历史发文信息和每一所述历史发文信息对应的被引用次数,基于所述被引用次数的顺序显示所述历史发文信息。
在一实施例中,提供了一个或多个存储有计算机可读指令的非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行时实现上述实施例中政务系统发文方法,为避免重复,这里不再赘述。或者,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行时实现上述实施例中政务系统发文装置中各模块/单元的功能,为避免重复,这里不再赘述。
在一实施例中,提供了一种计算机设备。如图7所示,该实施例的计算机设备80包括:处理器81、存储器82以及存储在存储器82中并可在处理器81上运行的计算机可读指令83。处理器81执行计算机可读指令83时实现上述实施例中政务系统发文方法的步骤,例如图1所示的步骤S10至S50。或者,处理器81执行计算机可读指令83时实现上述实 施例中政务系统发文装置中各模块/单元的功能,例如图6所示的用户发文请求获取模块10、历史发文信息获取模块20、信息选择请求获取模块30、原始发文信息系获取模块40和历史发文信息显示模块70的功能。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种政务系统发文方法,其特征在于,包括:
    获取用户发文请求,所述用户发文请求包括搜索条件;
    基于所述搜索条件调用政务系统上内置的全文搜索引擎,基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息;
    获取信息选择请求,在所述政务系统的发文编辑界面上显示与所述信息选择请求相对应的所述历史发文信息;
    在所述发文编辑界面上获取发文信息修改请求,基于所述发文信息修改请求对所述历史发文信息进行修改,获取原始发文信息,所述原始发文信息中突出显示对所述历史发文信息进行修改的修改内容;
    将所述原始发文信息发送给与所述政务系统相连的审核平台,并接收所述审核平台反馈的审核通过的目标发文信息,基于所述目标发文信息完成发文。
  2. 如权利要求1所述的政务系统发文方法,其特征在于,在所述获取用户发文请求的步骤之前,所述政务系统发文方法包括:在所述政务系统上创建全文搜索引擎;
    所述在所述政务系统上创建全文搜索引擎,包括:
    在基于历史发文信息完成发文之后,生成全文索引创建任务,所述全文索引创建任务包括索引建立接口和文档管理模块;
    调用所述索引建立接口,基于历史发文信息建立全文索引,并将所述全文索引存储在所述文档管理模块中;
    所述基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息,包括:基于所述全文搜索引擎,获取与所述搜索条件相对应的全文索引,根据所述全文索引获取的至少一个历史发文信息。
  3. 如权利要求2所述的政务系统发文方法,其特征在于,所述基于历史发文信息建立全文索引,包括:
    对所述历史发文信息的内容进行预处理,获取词元;
    基于所述全文搜索引擎中的索引组件对所述词元进行处理,建立所述全文索引。
  4. 如权利要求3所述的政务系统发文方法,其特征在于,所述对所述历史发文信息的内容进行预处理,获取词元,包括:
    若所述历史发文信息的内容为英文字符,则采用所述全文搜索引擎中的分词组件对所 述历史发文信息的内容进行分词,获取词次;
    采用所述全文搜索引擎中的语言处理组件对所述词次进行处理,获取词元。
  5. 如权利要求3所述的政务系统发文方法,其特征在于,所述对所述历史发文信息的内容进行预处理,获取词元,包括:
    若所述历史发文信息的内容为中文字符,则采用所述全文搜索引擎中词典库对所述历史发文信息的内容进行处理,获取纯净文本;
    采用词库分词法对所述纯净文本进行处理,获取词元。
  6. 如权利要求1所述的政务系统发文方法,其特征在于,在所述基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息的步骤之后,所述政务系统发文方法还包括:
    在所述政务系统的发文编辑界面上显示至少一个所述历史发文信息和每一所述历史发文信息对应的被引用次数,基于所述被引用次数的顺序显示所述历史发文信息。
  7. 一种政务系统发文装置,其特征在于,包括:
    用户发文请求获取模块,用于获取用户发文请求,所述用户发文请求包括搜索条件;
    历史发文信息获取模块,用于基于所述搜索条件调用政务系统上内置的全文搜索引擎,基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息;
    信息选择请求获取模块,用于获取信息选择请求,在所述政务系统的发文编辑界面上显示与所述信息选择请求相对应的所述历史发文信息;
    原始发文信息系获取模块,用于在所述发文编辑界面上获取发文信息修改请求,基于所述发文信息修改请求对所述历史发文信息进行修改,获取原始发文信息,所述原始发文信息中突出显示对所述历史发文信息进行修改的修改内容;
    目标发文信息获取模块,用于将所述原始发文信息发送给与所述政务系统相连的审核平台,并接收所述审核平台反馈的审核通过的目标发文信息,基于所述目标发文信息完成发文。
  8. 如权利要求7所述的政务系统发文装置,其特征在于,所述政务系统发文装置还包括全文搜索引擎创建模块,用于在所述政务系统上创建全文搜索引擎;
    所述全文搜索引擎创建模块包括:
    全文索引创建任务生成单元,用于在基于历史发文信息完成发文之后,生成全文索引创建任务,所述全文索引创建任务包括索引建立接口和文档管理模块;
    全文索引建立单元,用于调用所述索引建立接口,基于历史发文信息建立全文索引, 并将所述全文索引存储在所述文档管理模块中;
    所述历史发文信息获取模块,用于基于所述全文搜索引擎,获取与所述搜索条件相对应的全文索引,根据所述全文索引获取的至少一个历史发文信息。
  9. 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:
    获取用户发文请求,所述用户发文请求包括搜索条件;
    基于所述搜索条件调用政务系统上内置的全文搜索引擎,基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息;
    获取信息选择请求,在所述政务系统的发文编辑界面上显示与所述信息选择请求相对应的所述历史发文信息;
    在所述发文编辑界面上获取发文信息修改请求,基于所述发文信息修改请求对所述历史发文信息进行修改,获取原始发文信息,所述原始发文信息中突出显示对所述历史发文信息进行修改的修改内容;
    将所述原始发文信息发送给与所述政务系统相连的审核平台,并接收所述审核平台反馈的审核通过的目标发文信息,基于所述目标发文信息完成发文。
  10. 如权利要求9所述的计算机设备,其特征在于,在所述获取用户发文请求的步骤之前,所述处理器执行所述计算机可读指令时实现如下步骤:在所述政务系统上创建全文搜索引擎;
    所述在所述政务系统上创建全文搜索引擎,包括:
    在基于历史发文信息完成发文之后,生成全文索引创建任务,所述全文索引创建任务包括索引建立接口和文档管理模块;
    调用所述索引建立接口,基于历史发文信息建立全文索引,并将所述全文索引存储在所述文档管理模块中;
    所述基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息,包括:基于所述全文搜索引擎,获取与所述搜索条件相对应的全文索引,根据所述全文索引获取的至少一个历史发文信息。
  11. 如权利要求10所述的计算机设备,其特征在于,所述基于历史发文信息建立全文索引,包括:
    对所述历史发文信息的内容进行预处理,获取词元;
    基于所述全文搜索引擎中的索引组件对所述词元进行处理,建立所述全文索引。
  12. 如权利要求11所述的计算机设备,其特征在于,所述对所述历史发文信息的内容进行预处理,获取词元,包括:
    若所述历史发文信息的内容为英文字符,则采用所述全文搜索引擎中的分词组件对所述历史发文信息的内容进行分词,获取词次;
    采用所述全文搜索引擎中的语言处理组件对所述词次进行处理,获取词元。
  13. 如权利要求11所述的计算机设备,其特征在于,所述对所述历史发文信息的内容进行预处理,获取词元,包括:
    若所述历史发文信息的内容为中文字符,则采用所述全文搜索引擎中词典库对所述历史发文信息的内容进行处理,获取纯净文本;
    采用词库分词法对所述纯净文本进行处理,获取词元。
  14. 如权利要求9所述的计算机设备,其特征在于,在所述基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息的步骤之后,所述处理器执行所述计算机可读指令时还实现如下步骤:
    在所述政务系统的发文编辑界面上显示至少一个所述历史发文信息和每一所述历史发文信息对应的被引用次数,基于所述被引用次数的顺序显示所述历史发文信息。
  15. 一个或多个存储有计算机可读指令的非易失性可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:
    获取用户发文请求,所述用户发文请求包括搜索条件;
    基于所述搜索条件调用政务系统上内置的全文搜索引擎,基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息;
    获取信息选择请求,在所述政务系统的发文编辑界面上显示与所述信息选择请求相对应的所述历史发文信息;
    在所述发文编辑界面上获取发文信息修改请求,基于所述发文信息修改请求对所述历史发文信息进行修改,获取原始发文信息,所述原始发文信息中突出显示对所述历史发文信息进行修改的修改内容;
    将所述原始发文信息发送给与所述政务系统相连的审核平台,并接收所述审核平台反馈的审核通过的目标发文信息,基于所述目标发文信息完成发文。
  16. 如权利要求15所述的非易失性可读存储介质,其特征在于,在所述获取用户发文请求的步骤之前,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处 理器执行如下步骤:在所述政务系统上创建全文搜索引擎;
    所述在所述政务系统上创建全文搜索引擎,包括:
    在基于历史发文信息完成发文之后,生成全文索引创建任务,所述全文索引创建任务包括索引建立接口和文档管理模块;
    调用所述索引建立接口,基于历史发文信息建立全文索引,并将所述全文索引存储在所述文档管理模块中;
    所述基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息,包括:基于所述全文搜索引擎,获取与所述搜索条件相对应的全文索引,根据所述全文索引获取的至少一个历史发文信息。
  17. 如权利要求16所述的非易失性可读存储介质,其特征在于,所述基于历史发文信息建立全文索引,包括:
    对所述历史发文信息的内容进行预处理,获取词元;
    基于所述全文搜索引擎中的索引组件对所述词元进行处理,建立所述全文索引。
  18. 如权利要求17所述的非易失性可读存储介质,其特征在于,所述对所述历史发文信息的内容进行预处理,获取词元,包括:
    若所述历史发文信息的内容为英文字符,则采用所述全文搜索引擎中的分词组件对所述历史发文信息的内容进行分词,获取词次;
    采用所述全文搜索引擎中的语言处理组件对所述词次进行处理,获取词元。
  19. 如权利要求17所述的非易失性可读存储介质,其特征在于,所述对所述历史发文信息的内容进行预处理,获取词元,包括:
    若所述历史发文信息的内容为中文字符,则采用所述全文搜索引擎中词典库对所述历史发文信息的内容进行处理,获取纯净文本;
    采用词库分词法对所述纯净文本进行处理,获取词元。
  20. 如权利要求15所述的非易失性可读存储介质,其特征在于,在所述基于所述全文搜索引擎获取与所述搜索条件对应的至少一个历史发文信息的步骤之后,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:
    在所述政务系统的发文编辑界面上显示至少一个所述历史发文信息和每一所述历史发文信息对应的被引用次数,基于所述被引用次数的顺序显示所述历史发文信息。
PCT/CN2018/092555 2018-04-19 2018-06-25 政务系统发文方法、装置、计算机设备及存储介质 WO2019200699A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810351738.0A CN108829698A (zh) 2018-04-19 2018-04-19 政务系统发文方法、装置、计算机设备及存储介质
CN201810351738.0 2018-04-19

Publications (1)

Publication Number Publication Date
WO2019200699A1 true WO2019200699A1 (zh) 2019-10-24

Family

ID=64154812

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/092555 WO2019200699A1 (zh) 2018-04-19 2018-06-25 政务系统发文方法、装置、计算机设备及存储介质

Country Status (2)

Country Link
CN (1) CN108829698A (zh)
WO (1) WO2019200699A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110852091A (zh) * 2019-11-11 2020-02-28 杭州安恒信息技术股份有限公司 错别字的监测方法、装置、电子设备和计算机可读介质
CN115271686A (zh) * 2022-09-28 2022-11-01 北京长河数智科技有限责任公司 政务数据智能审核方法及装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918407B (zh) * 2019-01-28 2024-06-04 平安科技(深圳)有限公司 搜索信息处理方法和装置
CN110705285B (zh) * 2019-09-20 2022-11-22 北京市计算中心有限公司 一种政务文本主题词库构建方法、装置、服务器及可读存储介质

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520800A (zh) * 2009-03-27 2009-09-02 华中科技大学 一种基于密文的安全全文索引和检索系统

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520800A (zh) * 2009-03-27 2009-09-02 华中科技大学 一种基于密文的安全全文索引和检索系统

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HAN, BING: "Research in Solutions of E-public Administration Websites Based-on Cloud Cumputing Mode", DOCTORAL DISSERTATION OFTIANJIN UNIVERSITY, 15 November 2017 (2017-11-15) *
ZHANG, XIANZHONG ET AL.: "The Design and Implementation of Electronic Government Information Reporting System", MASTER'S DEGREE OF ENGINEERING OF SOUTHWEST UNIVERSITY OF SCIENCE & TECHNOLOGY, vol. 18, 15 October 2017 (2017-10-15), pages 40 - 43 ; 71 *
ZHANG, XIANZHONG ET AL.: "The Design and Implementation of Electronic Government Information Reporting System", THESIS OF MASTER'S DEGREE OF ENGINEERING OF SOUTHWEST UNIVERSITY OF SCIENCE & TECHNOLOGY, 15 October 2017 (2017-10-15), pages 17, 18, 40 - 43 ; 71 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110852091A (zh) * 2019-11-11 2020-02-28 杭州安恒信息技术股份有限公司 错别字的监测方法、装置、电子设备和计算机可读介质
CN110852091B (zh) * 2019-11-11 2023-08-15 杭州安恒信息技术股份有限公司 错别字的监测方法、装置、电子设备和计算机可读介质
CN115271686A (zh) * 2022-09-28 2022-11-01 北京长河数智科技有限责任公司 政务数据智能审核方法及装置

Also Published As

Publication number Publication date
CN108829698A (zh) 2018-11-16

Similar Documents

Publication Publication Date Title
US9659084B1 (en) System, methods, and user interface for presenting information from unstructured data
US7523102B2 (en) Content search in complex language, such as Japanese
US9020808B2 (en) Document summarization using noun and sentence ranking
JP5241828B2 (ja) 辞書の単語及び熟語の判定
WO2019200699A1 (zh) 政务系统发文方法、装置、计算机设备及存储介质
EP3345118B1 (en) Identifying query patterns and associated aggregate statistics among search queries
US9639522B2 (en) Methods and apparatus related to determining edit rules for rewriting phrases
CN111970186A (zh) 确定电子通信回复中包括的非文本回复内容的方法和装置
US8316032B1 (en) Book content item search
US10185748B1 (en) Combining natural language and keyword search queries for personal content collections
US8521739B1 (en) Creation of inferred queries for use as query suggestions
JP2002197104A (ja) 情報検索処理装置,情報検索処理方法および情報検索処理プログラムを記録した記録媒体
US9569484B2 (en) Query generation system for an information retrieval system
US11151317B1 (en) Contextual spelling correction system
JPH0484271A (ja) 文書内情報検索装置
TWI682286B (zh) 利用文字解析結果與自然語言輸入的文件搜尋系統
JPH1145267A (ja) 文書検索装置およびその装置としてコンピュータを機能させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体
US20060248037A1 (en) Annotation of inverted list text indexes using search queries
JPWO2015075920A1 (ja) 入力支援装置、入力支援方法及びプログラム
US20210073258A1 (en) Information processing apparatus and non-transitory computer readable medium
JPH0581326A (ja) データベース検索装置
WO2010103916A1 (ja) 文書の特徴語提示装置及び特徴語の優先度付与プログラム
KR100885527B1 (ko) 문맥 기반 색인데이터 생성장치와 문맥기반 검색장치 및 그방법
JP2002183175A (ja) テキストマイニング方法
Jena et al. Semantic desktop search application for Hindi-English code-mixed user query with query sequence analysis

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 05/02/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18915433

Country of ref document: EP

Kind code of ref document: A1