CN110781189B - Document platform construction method and device, electronic equipment and storage medium - Google Patents

Document platform construction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110781189B
CN110781189B CN201911024075.2A CN201911024075A CN110781189B CN 110781189 B CN110781189 B CN 110781189B CN 201911024075 A CN201911024075 A CN 201911024075A CN 110781189 B CN110781189 B CN 110781189B
Authority
CN
China
Prior art keywords
document platform
project
information
database table
data packet
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.)
Active
Application number
CN201911024075.2A
Other languages
Chinese (zh)
Other versions
CN110781189A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201911024075.2A priority Critical patent/CN110781189B/en
Publication of CN110781189A publication Critical patent/CN110781189A/en
Application granted granted Critical
Publication of CN110781189B publication Critical patent/CN110781189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The disclosure relates to a document platform construction method, which comprises the following steps: receiving an inquiry request carrying a functional database table identifier, inquiring a preset document platform data packet set according to the functional database table identifier, feeding back a newly-built form prompt message when functional database table information corresponding to the functional database table identifier does not exist in the document platform data packet set, receiving a newly-built form request carrying functional form information fed back by a user according to the newly-built form prompt message, newly building a functional database table according to the functional form information in the newly-built form request, updating the document platform data packet set according to the functional database table to obtain a target document platform data packet set, and obtaining a document platform according to the target document platform data packet set. The function addition of the document platform according to the function database table information can be realized in the whole process, and the problem of poor expansibility of the existing document platform is solved.

Description

Document platform construction method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for constructing a document platform, an electronic device, and a storage medium.
Background
With the development of computer technology, document platforms began to emerge. The document platform mainly refers to a platform operable on various terminals and used for performing operations such as document writing and document modification. Document platforms are widely used in various industries, and most of the enterprises currently use the document platforms mainly provided by third-party enterprises.
However, the document platform provided by the third-party enterprise has strong coupling, and the enterprise can only use the existing functions on the document platform, and cannot add the functions according to the business requirements of the enterprise, so that the problem of poor expansibility exists.
Disclosure of Invention
The disclosure provides a method, a device and a system for constructing a document platform, which are used for at least solving the problem of poor expansibility of the current document platform in the related technology. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a document platform construction method, including:
receiving a query request carrying a functional database table identifier, and querying a preset document platform data packet set according to the functional database table identifier;
when the document platform data packet set does not have the functional database table information corresponding to the functional database table identifier, feeding back a prompt message of a newly-built form;
receiving a new form request carrying functional form information and fed back by a user according to the new form prompt message;
establishing a function database table according to the function form information in the form establishing request, and updating the document platform data packet set according to the function database table to obtain a target document platform data packet set;
and obtaining the document platform according to the target document platform data packet set.
In one possible implementation, the creating a function database table according to the function form information in the new form request includes:
acquiring function database address information and account information in the function form information;
and sending a link request carrying account information to the functional database according to the address information of the functional database, wherein the link request is used for indicating the functional database to establish a link according to the account information, and the functional database comprises a functional database table.
In one possible implementation, obtaining the document platform according to the target document platform data package set includes:
pushing an updated form prompt message;
receiving project configuration parameters fed back by a user according to the updated form prompt message;
and updating the target document platform data packet set according to the project configuration parameters, and obtaining the document platform according to the updated target document platform data packet set.
In one possible implementation, the updating the target document platform data package set according to the project configuration parameters, and the obtaining the document platform according to the updated target document platform data package set includes:
acquiring real-time port use information;
distributing starting ports according to the real-time port use information and the project starting port information in the project configuration parameters to obtain target starting port information;
updating a target document platform data packet set according to the target starting port information, the project starting name information in the project configuration parameters and the project environment parameter information;
and obtaining the document platform according to the updated target document platform data packet set.
In a possible implementation manner, after receiving a query request carrying a function database table identifier and querying a document platform data packet set according to the function database table identifier, the document platform construction method further includes:
when functional database table information corresponding to the functional database table identification exists in the document platform data packet set, pushing a prompt message of an existing form, and receiving a project configuration parameter fed back by a user according to the prompt message of the existing form;
and updating the document platform data packet set according to the project configuration parameters, and obtaining the document platform according to the updated document platform data packet set.
In a possible implementation manner, after obtaining the document platform according to the updated target document platform data package set, the document platform construction method further includes:
receiving a project operation request carrying a project data identifier, and linking a function database, wherein the function database comprises a function database table;
and generating a project data updating request according to the project data identifier and the project operation request, and sending the project data updating request to the function database, wherein the project data updating request is used for indicating the function database to update the project data according to the project data identifier and the project operation request.
In a possible implementation manner, after obtaining the document platform according to the target document platform data package set, the document platform construction method further includes:
monitoring user input data according to a preset time interval;
when the user input data is not received within a time interval, acquiring the current input data of the user and the project parameters corresponding to the input data;
and saving the input data according to the article identification and the user identification in the project parameters.
According to a second aspect of the embodiments of the present disclosure, there is provided a document platform building apparatus including:
the first receiving module is configured to receive an inquiry request carrying a functional database table identifier and inquire a preset document platform data packet set according to the functional database table identifier;
the feedback module is configured to feed back a prompt message of a newly-built form when the functional database table information corresponding to the functional database table identifier does not exist in the document platform data packet set;
the second receiving module is configured to receive a new form request carrying the functional form information and fed back by the user according to the new form prompt message;
the updating module is configured to create a function database table according to the function form information in the form creating request, and update the document platform data packet set according to the function database table to obtain a target document platform data packet set;
and the processing module is configured to obtain a document platform according to the target document platform data packet set.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the document platform construction method of the first aspect and any of its possible implementations.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, wherein instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the document platform construction method according to the first aspect and any one of the possible implementation manners of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product including one or more instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the operations performed by the document platform construction method of any one of the first aspect and possible implementations of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
querying a preset document platform data packet set according to the functional database table identifier to determine whether corresponding functional database table information exists in the document platform data packet set, and when the document platform data packet set does not have the functional database table information, receiving a new form request carrying the functional form information fed back by a user, the new establishment of the functional database table is realized according to the functional form information in the new establishment form request, so that the document platform data packet set can be updated according to the newly established functional database table to obtain a target document platform data packet set, the target document platform data packet set comprises the functional database table information, and then, the document platform can be obtained according to the target document platform data packet set, the function addition of the document platform according to the function database table information can be realized in the whole process, and the problem of poor expansibility of the existing document platform is solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a diagram of an application environment illustrating a document platform construction method in accordance with an exemplary embodiment.
FIG. 2 is a flowchart illustrating a document platform construction method according to an exemplary embodiment.
FIG. 3 is a flowchart illustrating a document platform building method according to an exemplary embodiment.
FIG. 4 is a timing diagram illustrating a document platform build methodology in accordance with an exemplary embodiment.
FIG. 5 is a block diagram illustrating a document platform construction apparatus in accordance with an exemplary embodiment.
FIG. 6 is a block diagram illustrating a document platform construction apparatus in accordance with an exemplary embodiment.
FIG. 7 is a block diagram illustrating an electronic device for document platform building in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The document platform construction method provided by the disclosure can be applied to the application environment shown in FIG. 1. The document platform construction system comprises a display component 101, an input component 102 and a processor 103. The display component 101 and the input component 102 are each coupled to a processor 103. The processor 103 receives an inquiry request carrying a function database table identifier, inquires a preset document platform data packet set according to the function database table identifier, feeds back a new form prompt message to the display component 101 when function database table information corresponding to the function database table identifier does not exist in the document platform data packet set, receives a new form request carrying function form information fed back by a user through the input component 102 according to the new form prompt message, creates a function database table according to the function form information in the new form request, updates the document platform data packet set according to the function database table to obtain a target document platform data packet set, and obtains a document platform according to the target document platform data packet set. The display component 101 may be various display screens, and the input component 102 may be a touch layer covered on the display component, a key, a track ball or a touch pad arranged on a housing of the terminal device, or an external keyboard, a touch pad or a mouse, etc. This is not necessarily limited in this specification.
FIG. 2 is a flowchart illustrating a document platform construction method applied to the processor of FIG. 1, as shown in FIG. 2, including the following steps S21-S25, according to an exemplary embodiment.
In step S21, an inquiry request carrying a function database table identifier is received, and a preset document platform data package set is inquired according to the function database table identifier.
The document platform data package set refers to a basic framework data package set used for constructing a document platform, when an enterprise wants to construct the document platform according to self functional requirements, the enterprise acquires the document platform data package set in advance, then performs data updating on the document platform data package set to obtain the document platform data package set capable of meeting the self functional requirements, and obtains the document platform according to the updated document platform data package set.
In this embodiment, the specific form of the pre-acquiring the document platform data packet set is not limited, for example, the pre-acquiring the document platform data packet set may be performed by acquiring a download link of the document platform data packet set, displaying the download link on the display component, and skipping to a designated webpage to download the document platform data packet set by clicking the download link on the input component; the document platform data packet set may be obtained in advance by sending a data packet obtaining request to a third-party processor connected to the processor through the input component, so that the third-party processor issues the document platform data packet set to the processor according to the data packet obtaining request.
The function database table identifier refers to an identifier for identifying a function database table in the function database. The function database table refers to a table stored in the function database, is a next-layer data storage unit of the function database, and stores data capable of realizing function requirements in the function database table. After receiving an inquiry request which is input by a user through an input component and carries a function database table identifier, the processor inquires a preset document platform data packet set according to the function database table identifier, inquires whether function database table information corresponding to the function database identifier exists in the document platform data packet set or not, the function database table information corresponds to a function requirement, and when the function database table information corresponding to the function database table identifier exists in the document platform data packet set, the processor indicates that a document platform is started by installing the document platform data packet set, so that the required function can be realized. When the functional database table information corresponding to the functional database table identifier does not exist in the document platform data packet set, the processor needs to acquire the functional database table information, and updates the document platform data packet set according to the functional database table information to obtain a target document platform data packet set, so that the document platform can be started by installing the target document platform data packet set, and the required functions are realized.
In this embodiment, the specific form of the function database table identifier is not limited, and for example, the identifier may be an ID (Identity document) of the function database table, or may be a keyword of the function database table, and the like.
In step S22, when there is no function database table information corresponding to the function database table identifier in the document platform data package set, a new form prompt message is fed back.
The new form prompting message is mainly used for prompting a user to feed back functional form information to perform new form creation. When the functional database table information corresponding to the functional database table identification does not exist in the document platform data packet set, the processor feeds back a new form prompt message to the display component, a user can check the new form prompt message by checking the display component, and then feeds back a new form request carrying the functional form information to the processor according to the new form prompt message.
In step S23, a new form request carrying function form information fed back by the user according to the new form prompting message is received.
The functional form information refers to information which can be used for creating a new form and comprises functional database address information and account information, the functional database address information refers to address information of a functional database comprising a functional database table, the account information refers to information which can be used for the functional database to perform identity verification, and the account information comprises account number information and password information. The processor can realize the linkage with the function database through the address information of the function database, further realize the data exchange with the function database table stored in the function database, and the function database can verify the identity of the user according to the account information in the linkage process.
In step S24, a function database table is created according to the function form information in the new form request, and the document platform data package set is updated according to the function database table, so as to obtain a target document platform data package set.
The target document platform data package set refers to a document platform data package set which is updated according to the functional database table. After the processor receives the new form request, a function database table is newly built according to the function form information in the new form request, the document platform data packet set is updated according to the function database table, a target document platform data packet set is obtained, after the function database table is newly built, the processor can obtain corresponding function database table information, and then the document platform data packet set can be updated according to the function database table information, namely the function database table information is written into the document platform data packet set.
In one possible implementation, the creating a function database table according to the function form information in the new form request includes:
acquiring function database address information and account information in the function form information;
and sending a link request carrying account information to the functional database according to the address information of the functional database, wherein the link request is used for indicating the functional database to establish a link according to the account information, and the functional database comprises a functional database table.
The functional database is a database storing a plurality of functional database tables, and the processor can complete the new establishment of the functional database tables as long as the processor establishes a link with the functional database, namely, the processor can realize data exchange with the functional database tables required by the processor in the functional database as long as the processor establishes a link with the functional database. The processor can send a link request carrying account information to the functional database according to the address information of the functional database, the account information comprises account information and corresponding password information, after the functional database receives the link request, identity verification can be carried out according to the account information, namely, stored account information is searched according to the account information, when the corresponding account information is found, verification can be passed, and the link is established with the processor, so that the processor can realize data exchange with a self-required functional database table in the functional database after the link is established. By the method, accurate linkage with the functional database can be realized according to the address information and the account information of the functional database, and further data exchange with the functional database table in the functional database can be realized, so that new establishment of the functional database table is realized.
In step S25, a document platform is obtained according to the target document platform data package set.
After the target document platform data packet set is obtained, the processor can obtain the document platform according to the target document platform data packet set and the project configuration parameters only by acquiring the project configuration parameters, wherein the project configuration parameters refer to the configuration parameters of the document platform and comprise project starting name information, project environment parameter information, project starting port information and the like.
In one possible implementation, obtaining the document platform according to the target document platform data package set includes:
pushing updated form prompting messages;
receiving project configuration parameters fed back by a user according to the updated form prompt message;
and updating the target document platform data packet set according to the project configuration parameters, and obtaining the document platform according to the updated target document platform data packet set.
And the updated form prompting message is used for prompting the user that the form is newly built. The processor can push the updated form prompting message to the display component, the user can see the updated form prompting message by checking the display component, and after the updated form prompting message is seen, the user can feed back the project configuration parameters through the input component. The project configuration parameters refer to configuration parameters of the document platform and are mainly used for realizing the configuration of the operation parameters of the document platform. After receiving the project configuration parameters, the processor updates the target document platform data packet set according to the project configuration parameters, namely, the processor configures the operation parameters of the document platform according to the project configuration parameters to obtain the operation parameters, and updates the target document platform data packet set according to the operation parameters. After the updated target document platform data package set is obtained, the processor can obtain the document platform only by installing the target document platform data package set. By receiving the project configuration parameters fed back by the user according to the updated form prompt messages, the target document platform data packet set can be accurately updated according to the project configuration parameters, and then the document platform can be obtained according to the updated target document platform data packet set, so that the document platform can be constructed.
In one possible implementation, the updating the target document platform data package set according to the project configuration parameters, and the obtaining the document platform according to the updated target document platform data package set includes:
acquiring real-time port use information;
distributing starting ports according to the real-time port use information and the project starting port information in the project configuration parameters to obtain target starting port information;
updating a target document platform data packet set according to the target starting port information, the project starting name information in the project configuration parameters and the project environment parameter information;
and obtaining the document platform according to the updated target document platform data packet set.
The real-time port use information is used for representing the real-time use condition of the ports of the processor, namely, the real-time port use information can be used for knowing which ports are idle and which ports are occupied, so that the ports can be selected from the idle ports, and the used ports are distributed to the document platform. The project starting port information refers to port requirement information constructed by the document platform, and comprises port types and port numbers required by the construction of the document platform. Specifically, the processor can determine idle port information according to the real-time port use information, can determine port demand information according to the project starting port information, and can obtain target starting port information by comparing the idle port information with the port demand information.
Target initiated port information refers to port information assigned by a processor to a document platform. The project starting name information refers to the name information of the document platform, and the project environment parameter information refers to the environment parameter information of the document platform. Because the target starting port information comprises the port information distributed for the document platform, after the target starting port information is obtained, the processor updates the target document platform data packet set according to the target starting port information, the project starting name information in the project configuration parameters and the project environment parameter information, and the configured target document platform data packet set can be obtained, so that the required document platform can be obtained by installing the target document platform data packet set, and the document platform can be accurately constructed.
In a possible implementation manner, after receiving a query request carrying a function database table identifier and querying a document platform data packet set according to the function database table identifier, the document platform construction method further includes:
when functional database table information corresponding to the functional database table identification exists in the document platform data packet set, pushing a prompt message of an existing form, and receiving a project configuration parameter fed back by a user according to the prompt message of the existing form;
and updating the document platform data packet set according to the project configuration parameters, and obtaining the document platform according to the updated document platform data packet set.
And the existing form prompt message is used for prompting the user that the required function database table exists in the current document platform data package set. When functional database table information corresponding to the functional database table identification exists in the document platform data packet set, the processor can push existing form prompt messages to the display component, a user can check the existing form prompt messages through checking the display component, after the existing form prompt messages are checked, the user can feed back project configuration parameters through the input component, and therefore the processor can update the document platform data packet set according to the project configuration parameters, obtain a document platform according to the updated document platform data packet set, and achieve construction of the document platform.
In a possible implementation manner, after obtaining the document platform according to the updated target document platform data package set, the document platform construction method further includes:
receiving a project operation request carrying a project data identifier, and linking a function database, wherein the function database comprises a function database table;
and generating a project data updating request according to the project data identifier and the project operation request, and sending the project data updating request to the function database, wherein the project data updating request is used for indicating the function database to update the project data according to the project data identifier and the project operation request.
The project corresponds to the function database table, and the project data identifier corresponds to the data in the function database table and is used for identifying different data in the function database table. For example, the item may be specifically a chapter table, a navigation table, and the like. The item data identification may specifically be an article identification, a navigation identification, and the like. The item operation request refers to a request for operating on data in the function database table. For example, for an article table, the item operation request may specifically be document writing, document deleting, document adding, document sorting, document loss prevention switching, and the like, and for a navigation table, the item operation request may specifically be navigation adding, navigation deleting, navigation modification, navigation deletion error recovery, navigation sorting, and the like. The item data update request is a request for updating item data. The processor receives a project operation request carrying a project data identifier, links a function database comprising a function database table, generates a project data updating request according to the project data identifier and the project operation request, and sends the project data updating request to the function database, so that the function database updates the project data according to the project data identifier and the project operation request. In this way, real-time updates to project data can be achieved.
In a possible scenario, the item data identifier may specifically be an article identifier, a navigation identifier to which the article belongs, and a parent navigation identifier to which the navigation belongs, and the item operation request may specifically be a document writing request, where the document writing request carries document data written by a user and a document title corresponding to the document data at the same time. The processor determines which article needs to be modified according to the article identifier, links a function database including an article database table through SQL (Structured Query Language) middleware, and replaces original content of the article corresponding to the article identifier with document data written by a user by operating an SQL update statement through a newly-built connection pool.
In a possible scenario, the item data identifier may be a navigation identifier to which the article belongs, and the item operation request may be a document addition request, where the document addition request carries document data input by a user and a document title corresponding to the document data. After receiving the document addition request, the processor inserts document data and a document title corresponding to the document data into an article database table of the functional database according to the navigation identifier to which the article belongs by using the SQL connection pool. After the successful insertion, the function database returns a newly added article identifier to the processor, the processor sends the article identifier to the display component after receiving the article identifier, the display component skips to an article detail page according to the article identifier after receiving the article identifier, and can acquire article titles and contents through the article detail page, and the article titles and the contents can be displayed in the display page of the display component.
In a possible scenario, the item data identifier may be a navigation name, the item operation request may be a newly added navigation request, when a new navigation is required, the user may send the navigation name of the newly added navigation to the processor through the input component, the processor may execute an addition operation to the function database through an SQL statement, and after the addition is successful, the function database may return an addition success identifier to the processor, indicating that the addition is successful.
In a possible scenario, the item data identifier may be a modified navigation name and a navigation identifier, the item operation request may be a modified navigation request, when the navigation needs to be modified, the user may send the modified navigation name and the navigation identifier to the processor through the input component, the processor may determine which navigation needs to be modified according to the navigation identifier, and send the modified navigation name to the function database through an SQL statement, and the function database is operated to replace the original navigation name corresponding to the navigation identifier with the modified navigation name.
In a possible implementation manner, after obtaining the document platform according to the target document platform data package set, the document platform construction method further includes:
monitoring user input data according to a preset time interval;
when the input data of the user are not received in a time interval, acquiring the currently input data of the user and the project parameters corresponding to the input data;
and saving the input data according to the article identification and the user identification in the project parameters.
Wherein, the preset time interval can be set according to the requirement. The data input by the user is the data input by the user through the input component, the data input by the user is displayed on the display component, and the input page is displayed on the display component. When the user input data is not received within the time interval, the processor acquires the input data of the user on the current input page and the project parameters corresponding to the input data, and stores the input data according to the article identification and the user identification in the project parameters. The item parameter refers to a data identifier corresponding to the input data, and is mainly used for identifying the input data. The project parameters comprise a current input page title, an article identifier, a user identifier and the like. The article identifier is an identifier of an article corresponding to the input data, and the user identifier is an identifier of a user who inputs the input data. By the method, the input data of the user can be automatically stored, and the input data is prevented from being lost.
In this embodiment, the specific form of the article identifier is not limited, and for example, the article identifier may be an ID of the article identifier, or a keyword of the article identifier. In this embodiment, the specific form of the user identifier is also not limited, and for example, the user identifier may be an ID, or a keyword of the user identifier.
In a possible scenario, when a user inputs data through an input component, a processor monitors the input data of the user according to a preset time interval, when the input data of the user is not received in the time interval, the processor acquires the input data of the user on a current input page and project parameters corresponding to the input data, wherein the project parameters comprise a title, an article identifier and a user identifier of the current page, the processor queries a preset article database table according to the article identifier and the user identifier, determines whether an article corresponding to the article identifier is stored for the current user in the article database table, updates the original automatically stored content to the acquired input data if the article is automatically stored, newly inserts a piece of data into the article database table if the article is not automatically stored, and returns a corresponding success status code to a display component, to prompt the user to complete the save.
In this embodiment, the specific form of the successful status code is not limited, as long as the successful status code that has been automatically saved is different from the successful status code that has not been automatically saved. The success status code may be specifically a number or a combination of a number and a letter.
FIG. 3 is a flowchart illustrating a document platform construction method applied to a processor in a system, as shown in FIG. 3, according to an exemplary embodiment, including the following steps S31 to S45.
In step S31, receiving an inquiry request carrying a function database table identifier, and inquiring a preset document platform data package set according to the function database table identifier;
in step S32, when there is no function database table information corresponding to the function database table identifier in the document platform data packet set, feeding back a new form prompt message and jumping to step S33, and when there is function database table information corresponding to the function database table identifier in the document platform data packet set, jumping to step S39;
in step S33, a new form request carrying function form information and fed back by a user according to the new form prompt message is received;
in step S34, function database address information and account information in the function form information are acquired;
in step S35, according to the address information of the function database, sending a link request carrying account information to the function database, where the link request is used to instruct the function database to establish a link according to the account information, and the function database includes a function database table;
in step S36, updating the document platform data package set according to the functional database table to obtain a target document platform data package set;
in step S37, an updated form prompting message is pushed;
in step S38, receiving item configuration parameters fed back by the user according to the updated form prompting message;
in step S39, pushing a prompt message of an existing form, and receiving a project configuration parameter fed back by a user according to the prompt message of the existing form;
in step S40, acquiring real-time port usage information;
in step S41, allocating a start port according to the real-time port usage information and the project start port information in the project configuration parameters, to obtain target start port information;
in step S42, updating the target document platform data package set according to the target start port information, the project start name information in the project configuration parameters, and the project environment parameter information;
in step S43, a document platform is obtained according to the updated target document platform data package set;
in step S44, receiving a project operation request carrying a project data identifier, and linking a function database, where the function database includes a function database table;
in step S45, a project data update request is generated based on the project data identifier and the project operation request, and the project data update request is sent to the function database, where the project data update request is used to instruct the function database to perform project data update based on the project data identifier and the project operation request.
FIG. 4 is a timing diagram illustrating a document platform construction method applied to the processor of FIG. 4, as shown in FIG. 4, in accordance with an exemplary embodiment.
The processor receives a query request which is input by a user through the input component and carries a function database table identifier, queries a preset document platform data packet set according to the function database table identifier, feeds back a newly-built form prompt message to the display component when function database table information corresponding to the function database table identifier does not exist in the document platform data packet set, receives a newly-built form request which carries function form information and is fed back by the user through the input component according to the newly-built form prompt message, acquires function database address information and account information in the function form information, sends a link request carrying account information to the function database according to the function database address information, the link request is used for indicating the function database to establish a link according to the account information, the function database comprises the function database table, and updates the document platform data packet set according to the function database table, obtaining a target document platform data packet set, pushing an updated form prompt message to a display component, receiving a project configuration parameter fed back by a user through an input component according to the updated form prompt message, obtaining real-time port use information, distributing a start port according to the real-time port use information and project start port information in the project configuration parameter to obtain target start port information, updating the target document platform data packet set according to the target start port information, the project start name information in the project configuration parameter and the project environment parameter information, obtaining a document platform according to the updated target document platform data packet set, receiving a project operation request which is input by the user through the input component and carries a project data identifier, linking a functional database, and generating a project data updating request according to the project data identifier and the project operation request, and sending a project data updating request to the function database, wherein the project data updating request is used for indicating the function database to update the project data according to the project data identification and the project operation request.
FIG. 5 is a block diagram illustrating a document platform construction apparatus according to an exemplary embodiment. Referring to fig. 5, the apparatus includes a first receiving module 501, a feedback module 502, a second receiving module 503, an updating module 504, and a processing module 505.
The first receiving module 501 is configured to receive a query request carrying a functional database table identifier, and query a preset document platform data packet set according to the functional database table identifier;
the feedback module 502 is configured to feed back a new form prompt message when no function database table information corresponding to the function database table identifier exists in the document platform data packet set;
the second receiving module 503 is configured to receive a new form request carrying function form information, which is fed back by a user according to the new form prompt message;
the updating module 504 is configured to create a new function database table according to the function form information in the new form request, and update the document platform data package set according to the function database table to obtain a target document platform data package set;
the processing module 505 is configured to derive a document platform from a set of target document platform data packages.
In one possible implementation, the update module 504 includes:
an information acquisition unit configured to acquire function database address information and account information in the function form information;
and the link request unit is configured to send a link request carrying account information to the functional database according to the address information of the functional database, the link request is used for indicating the functional database to establish a link according to the account information, and the functional database comprises a functional database table.
In one possible implementation, the processing module 505 includes:
an updated push unit configured to push an updated form cue message;
a feedback receiving unit configured to receive an item configuration parameter fed back by a user according to the updated form prompting message;
and the parameter updating unit is configured to update the target document platform data package set according to the project configuration parameters and obtain the document platform according to the updated target document platform data package set.
In one possible embodiment, the parameter updating unit includes:
a port information acquisition component configured to acquire real-time port usage information;
the port distribution component is configured to distribute starting ports according to the real-time port use information and the project starting port information in the project configuration parameters to obtain target starting port information;
the parameter updating component is configured to update the target document platform data packet set according to the target starting port information, the project starting name information in the project configuration parameters and the project environment parameter information;
and the processing component is configured to obtain a document platform according to the updated target document platform data packet set.
In a possible implementation manner, referring to fig. 6, the document platform construction apparatus further includes a configuration module 601, where the configuration module 601 is configured to push an existing form prompt message when functional database table information corresponding to a functional database table identifier exists in the document platform data package set, receive an item configuration parameter fed back by a user according to the existing form prompt message, update the document platform data package set according to the item configuration parameter, and obtain a document platform according to the updated document platform data package set.
In a possible implementation manner, referring to fig. 6, the document platform building apparatus further includes a data operation module 602, where the data operation module 602 is configured to receive an item operation request carrying an item data identifier, and link a function database including a function database table, generate an item data update request according to the item data identifier and the item operation request, and send the item data update request to the function database, where the item data update request is used to instruct the function database to perform item data update according to the item data identifier and the item operation request.
In a possible implementation manner, referring to fig. 6, the document platform building apparatus further includes a monitoring module 603, where the monitoring module 603 is configured to monitor the user input data according to a preset time interval, and when the user input data is not received within the time interval, obtain the currently input data of the user and project parameters corresponding to the input data, and save the input data according to an article identifier and a user identifier in the project parameters.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 7 is a block diagram illustrating an electronic device 700 for document platform building in accordance with an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in fig. 7. The electronic device comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a document platform construction method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and does not constitute a limitation on the electronic devices to which the disclosed aspects apply, as a particular electronic device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In an exemplary embodiment, a storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of the electronic device 700 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A document platform construction method is characterized by comprising the following steps:
receiving an inquiry request carrying a functional database table identifier, and inquiring a preset document platform data packet set according to the functional database table identifier;
when the document platform data packet set does not have the functional database table information corresponding to the functional database table identifier, feeding back a prompt message of a newly-built form;
receiving a new form request carrying functional form information and fed back by a user according to the new form prompt message;
establishing a function database table according to the function form information in the form establishing request, and updating the document platform data packet set according to the function database table to obtain a target document platform data packet set;
and obtaining a document platform according to the target document platform data packet set.
2. The document platform construction method according to claim 1, wherein said creating a function database table according to the function form information in the new form request comprises:
acquiring function database address information and account information in the function form information;
and sending a link request carrying the account information to a function database according to the address information of the function database, wherein the link request is used for indicating the function database to establish a link according to the account information, and the function database comprises a function database table.
3. The document platform construction method of claim 1, wherein obtaining a document platform according to the target document platform data package set comprises:
pushing an updated form prompt message;
receiving project configuration parameters fed back by a user according to the updated form prompt message;
and updating the target document platform data packet set according to the project configuration parameters, and obtaining a document platform according to the updated target document platform data packet set.
4. The document platform construction method according to claim 3, wherein the updating the target document platform data package set according to the project configuration parameters and obtaining a document platform according to the updated target document platform data package set comprises:
acquiring real-time port use information;
distributing starting ports according to the real-time port use information and the project starting port information in the project configuration parameters to obtain target starting port information;
updating the target document platform data packet set according to the target starting port information, the project starting name information in the project configuration parameters and the project environment parameter information;
and obtaining the document platform according to the updated target document platform data packet set.
5. The document platform construction method according to claim 1, wherein after receiving the query request carrying the function database table identifier and querying the document platform data package set according to the function database table identifier, the document platform construction method further comprises:
when functional database table information corresponding to the functional database table identification exists in the document platform data packet set, pushing a prompt message of an existing form, and receiving a project configuration parameter fed back by a user according to the prompt message of the existing form;
and updating the document platform data packet set according to the project configuration parameters, and obtaining a document platform according to the updated document platform data packet set.
6. The document platform construction method according to claim 1, wherein after obtaining the document platform from the updated set of target document platform data packages, the document platform construction method further comprises:
receiving a project operation request carrying a project data identifier, and linking a functional database, wherein the functional database comprises a functional database table;
and generating a project data updating request according to the project data identifier and the project operation request, and sending the project data updating request to the function database, wherein the project data updating request is used for indicating the function database to update project data according to the project data identifier and the project operation request.
7. The document platform construction method according to claim 1, wherein after obtaining the document platform according to the updated target document platform data package set, the document platform construction method further comprises:
monitoring user input data according to a preset time interval;
when the user input data are not received in the time interval, acquiring the current input data of the user and the project parameters corresponding to the input data;
and saving the input data according to the article identification and the user identification in the project parameters.
8. A document platform building apparatus, comprising:
the first receiving module is configured to receive a query request carrying a functional database table identifier, and query a preset document platform data packet set according to the functional database table identifier;
the feedback module is configured to feed back a new form prompt message when the function database table information corresponding to the function database table identifier does not exist in the document platform data packet set;
the second receiving module is configured to receive a new form request carrying functional form information and fed back by a user according to the new form prompting message;
the updating module is configured to establish a function database table according to the function form information in the new form request, and update the document platform data packet set according to the function database table to obtain a target document platform data packet set;
and the processing module is configured to obtain a document platform according to the target document platform data packet set.
9. The document platform building apparatus according to claim 8, wherein the updating module comprises:
an information obtaining unit configured to obtain function database address information and account information in the function form information;
and the link request unit is configured to send a link request carrying the account information to a function database according to the address information of the function database, wherein the link request is used for indicating the function database to establish a link according to the account information, and the function database comprises a function database table.
10. The document platform construction device according to claim 8, wherein the processing module comprises:
an updated pushing unit configured to push an updated form prompting message;
a feedback receiving unit configured to receive item configuration parameters fed back by a user according to the updated form prompting message;
and the parameter updating unit is configured to update the target document platform data package set according to the project configuration parameters and obtain a document platform according to the updated target document platform data package set.
11. The document platform construction device according to claim 10, wherein the parameter updating unit includes:
a port information acquisition component configured to acquire real-time port usage information;
the port distribution component is configured to distribute starting ports according to the real-time port use information and the project starting port information in the project configuration parameters to obtain target starting port information;
a parameter updating component configured to update the target document platform data packet set according to the target starting port information, the project starting name information in the project configuration parameters, and the project environment parameter information;
and the processing component is configured to obtain the document platform according to the updated target document platform data packet set.
12. The document platform construction device according to claim 8, wherein the document platform construction device further comprises a configuration module, and the configuration module is configured to push an existing form prompt message when there is function database table information corresponding to the function database table identifier in the document platform data packet set, receive a project configuration parameter fed back by a user according to the existing form prompt message, update the document platform data packet set according to the project configuration parameter, and obtain a document platform according to the updated document platform data packet set.
13. The document platform building device according to claim 8, further comprising a data operation module, wherein the data operation module is configured to receive a project operation request carrying a project data identifier, link a function database comprising a function database table, generate a project data update request according to the project data identifier and the project operation request, and send the project data update request to the function database, wherein the project data update request is used for instructing the function database to perform project data update according to the project data identifier and the project operation request.
14. The document platform building device according to claim 8, further comprising a monitoring module, wherein the monitoring module is configured to monitor user input data according to a preset time interval, when the user input data is not received in the time interval, obtain the currently input data of the user and project parameters corresponding to the input data, and store the input data according to article identifiers and user identifiers in the project parameters.
15. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the document platform construction method of any one of claims 1 to 7.
16. A storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the document platform construction method of any one of claims 1 to 7.
CN201911024075.2A 2019-10-25 2019-10-25 Document platform construction method and device, electronic equipment and storage medium Active CN110781189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911024075.2A CN110781189B (en) 2019-10-25 2019-10-25 Document platform construction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911024075.2A CN110781189B (en) 2019-10-25 2019-10-25 Document platform construction method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110781189A CN110781189A (en) 2020-02-11
CN110781189B true CN110781189B (en) 2022-08-26

Family

ID=69386658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911024075.2A Active CN110781189B (en) 2019-10-25 2019-10-25 Document platform construction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110781189B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113378041B (en) * 2021-05-24 2024-04-16 北京京东振世信息技术有限公司 Prompt message pushing method, device, electronic equipment and computer readable medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314519A (en) * 2011-10-11 2012-01-11 中国软件与技术服务股份有限公司 Information searching method based on public security domain knowledge ontology model
CN104717233A (en) * 2013-12-11 2015-06-17 中国电信股份有限公司 Database deployment method and device
CN105653973A (en) * 2015-12-16 2016-06-08 金蝶软件(中国)有限公司 Data encryption method and apparatus based on business platform
CN105740383A (en) * 2016-01-27 2016-07-06 中国科学院计算技术研究所 Method and system for realizing data consistency of database and cache in big data platform
CN106534091A (en) * 2016-10-26 2017-03-22 浙江中控软件技术有限公司 Cloud-based PID parameter setting method and device
CN107480111A (en) * 2016-06-07 2017-12-15 福建福昕软件开发股份有限公司 A kind of the automatic of interconnection document makes a report on method
CN108337208A (en) * 2017-01-19 2018-07-27 中国电信股份有限公司 Data guard method, alternative based on cloud storage and cloud storage system
CN108446283A (en) * 2017-02-16 2018-08-24 杭州海康威视数字技术股份有限公司 Date storage method and device
CN108960627A (en) * 2018-07-02 2018-12-07 王红岩 A kind of full Schedule monitoring management system and method based on scientific research project
CN109240670A (en) * 2018-11-21 2019-01-18 北京锐安科技有限公司 Modular software development methodology, system, equipment and medium
CN110221833A (en) * 2019-06-05 2019-09-10 浙江魔豆科技有限公司 A kind of wisdom enterprise platform based on no code development
CN110333850A (en) * 2019-05-30 2019-10-15 重庆金融资产交易所有限责任公司 Generation method, device, computer equipment and the storage medium of interface document

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4164516B2 (en) * 2006-05-11 2008-10-15 キヤノン株式会社 Image output device, history management method, and history management program
CN101408882B (en) * 2008-08-05 2012-10-31 北大方正集团有限公司 Method and system for searching authorization document
CN101437051B (en) * 2008-12-04 2011-09-28 四川长虹电器股份有限公司 Method for downloading network resource
CN102053982B (en) * 2009-11-02 2017-03-01 阿里巴巴集团控股有限公司 A kind of database information management method and equipment
CN102081661A (en) * 2011-01-19 2011-06-01 吉林大学 Data integration method and system of heterogeneous relational database based on XML (Extensive Makeup Language)
US8775917B2 (en) * 2012-08-09 2014-07-08 Sweetlabs, Inc. Systems and methods for alert management
CN102880832B (en) * 2012-08-28 2016-08-31 曙光信息产业(北京)有限公司 A kind of implementation method of the system of the data magnanimity management under cluster
CN103605703B (en) * 2013-11-08 2017-07-04 北京奇虎科技有限公司 It is a kind of it is multi-platform between data consistency detection method and system
US20160055233A1 (en) * 2014-08-25 2016-02-25 Ca, Inc. Pre-join tags for entity-relationship modeling of databases
CN104657430A (en) * 2015-01-28 2015-05-27 武汉烽火众智数字技术有限责任公司 Method and system for data acquisition
CN108268476B (en) * 2016-12-30 2021-11-30 北京国双科技有限公司 Data query method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314519A (en) * 2011-10-11 2012-01-11 中国软件与技术服务股份有限公司 Information searching method based on public security domain knowledge ontology model
CN104717233A (en) * 2013-12-11 2015-06-17 中国电信股份有限公司 Database deployment method and device
CN105653973A (en) * 2015-12-16 2016-06-08 金蝶软件(中国)有限公司 Data encryption method and apparatus based on business platform
CN105740383A (en) * 2016-01-27 2016-07-06 中国科学院计算技术研究所 Method and system for realizing data consistency of database and cache in big data platform
CN107480111A (en) * 2016-06-07 2017-12-15 福建福昕软件开发股份有限公司 A kind of the automatic of interconnection document makes a report on method
CN106534091A (en) * 2016-10-26 2017-03-22 浙江中控软件技术有限公司 Cloud-based PID parameter setting method and device
CN108337208A (en) * 2017-01-19 2018-07-27 中国电信股份有限公司 Data guard method, alternative based on cloud storage and cloud storage system
CN108446283A (en) * 2017-02-16 2018-08-24 杭州海康威视数字技术股份有限公司 Date storage method and device
CN108960627A (en) * 2018-07-02 2018-12-07 王红岩 A kind of full Schedule monitoring management system and method based on scientific research project
CN109240670A (en) * 2018-11-21 2019-01-18 北京锐安科技有限公司 Modular software development methodology, system, equipment and medium
CN110333850A (en) * 2019-05-30 2019-10-15 重庆金融资产交易所有限责任公司 Generation method, device, computer equipment and the storage medium of interface document
CN110221833A (en) * 2019-06-05 2019-09-10 浙江魔豆科技有限公司 A kind of wisdom enterprise platform based on no code development

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
协同管理平台的部署及应用;詹国红;《宁夏电力》;20080228(第01期);第60-62+66页 *
基于WBEM存储网络管理中资源注册机制的实现;骆岩红等;《西北民族大学学报(自然科学版)》;20090615(第02期);第41-44+52页 *
面向任务的移动灾情快速采集直报技术与应用;廖永丰等;《地球信息科学学报》;20130815(第04期);第60-67页 *

Also Published As

Publication number Publication date
CN110781189A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN109684054B (en) Information processing method and device, electronic equipment and memory
US7200806B2 (en) System and method for generating pre-populated forms
CN110119292B (en) System operation parameter query method, matching method, device and node equipment
CN111460298A (en) Service data processing method and device, computer equipment and storage medium
US8214508B2 (en) Support apparatus, program, information processing system and support method
CN107943453B (en) Method and system for realizing user-defined plan task of operation and maintenance system
CN112764751B (en) Interface generation method and device, interface request method and device and storage medium
US11416677B2 (en) Dynamic resource management systems and form integration methods
CN111984239A (en) Page configuration method, device, server and storage medium
KR101086620B1 (en) Smart office system and server for managing the sames and method for managing the sames
CN110941779A (en) Page loading method and device, storage medium and electronic equipment
CN104301428A (en) Data synchronization method and server
CN109767098A (en) Processing method, device, computer equipment and the storage medium of product attribute
CN110781189B (en) Document platform construction method and device, electronic equipment and storage medium
CN111047434B (en) Operation record generation method and device, computer equipment and storage medium
CN108279924A (en) Program dissemination method and device
CN101572727B (en) Method for controlling Web page menu and device thereof
CN114185991A (en) Method and related device for realizing data synchronization based on distributed database
CN108345508B (en) Interface call testing method and device
CN106341449B (en) Method of data synchronization and device
CN105653341A (en) Method, device and system for upgrading network invoice client
US20230195792A1 (en) Database management methods and associated apparatus
CN111459907A (en) Method, system and storage medium for configuring master data through model
CN105446710A (en) Interface providing system and interface providing method
US20230315723A1 (en) Low-development system for dynamic information queries

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
GR01 Patent grant