CN114638203A - Programmable online document editing method based on graphics primitives - Google Patents

Programmable online document editing method based on graphics primitives Download PDF

Info

Publication number
CN114638203A
CN114638203A CN202210349841.8A CN202210349841A CN114638203A CN 114638203 A CN114638203 A CN 114638203A CN 202210349841 A CN202210349841 A CN 202210349841A CN 114638203 A CN114638203 A CN 114638203A
Authority
CN
China
Prior art keywords
primitive
workbench
text
document editing
library
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.)
Pending
Application number
CN202210349841.8A
Other languages
Chinese (zh)
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.)
Chongqing Weizhe Technology Co ltd
Original Assignee
Chongqing Weizhe 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 Chongqing Weizhe Technology Co ltd filed Critical Chongqing Weizhe Technology Co ltd
Priority to CN202210349841.8A priority Critical patent/CN114638203A/en
Publication of CN114638203A publication Critical patent/CN114638203A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a programmable online document editing method based on a primitive, which is characterized by comprising the following steps: building a document editing environment; designing the style in the billboard workbench by using the graphics primitives; editing a logic relation on a function logic workbench; screening out key information from the logical relationship, and establishing a derivation relationship; establishing an import relation; the edited text is generated into final text. Has the advantages that: the method eliminates the dependence on the local file editing environment, solves the environmental problem of file version updating, digests the updating difficulty of network platform file editing, reduces the updating cost, supports multiple users to edit the file at the same time in advance, and improves the editing speed. The method supports batch processing of complex forms and documents, reduces the manufacturing cost and the manufacturing period of a large number of similar files, improves the accuracy and reduces the error rate.

Description

Programmable online document editing method based on graphics primitives
Technical Field
The invention belongs to the technical field of computer network file editing, and particularly relates to a programmable online file editing method based on a graphic element on the graphic programming cloud platform technology of the graphic element.
Background
The technology of performing documentation based on computer network has been widely applied to a plurality of technical fields such as industry, business, agriculture, medical treatment, education, etc., wherein many cases have entered smart homes and smart cities. With the development of internet technology, network platform programming connects technical developers and project demanders together, but cannot meet the networking requirements of documentation. A network platform provides a basic software and hardware environment, and a technical background is built under the technical talent online to support market demands. However, various software and hardware suppliers continuously push out updated bottom layer tools, for example, a plurality of new systems appear in the most basic windows, so that old systems are eliminated, technical personnel are difficult to follow up on the technology and hardware in time, a network platform is difficult to update and promote the basic software and hardware environment rapidly, new systems are downloaded continuously, and the updating of the new systems becomes a pain point of the industry. The diversification and diversification of file editing software and file editing requirements further increase the development difficulty of the industry. With the advent of graphical language editing technology, the problem of logical language can only be solved to a certain extent in individual fields.
Existing graphical language editors provide language editors that are more intuitive and more intuitive to the user. The graphical programming language reduces the learning cost of the user and enables the user to directly and quickly get on the hand. If the editor needs to be updated, a developer is required to release a new version and release the new version, and a user downloads the new version or updates the old version.
But the main drawbacks are:
(1) the file editing environment of a single machine is excessively depended on, and multi-user online editing cannot be realized. Before the file editor uses the file editor, the development environment needs to be configured, and the storage space of a user computer is occupied.
(2) The pain point of the updating work still exists, the editor is very complicated to update, a new version needs to be released, a user downloads and installs the new version, and if serious bug occurs, the user may need to roll back the version.
(3) When the text content is too large, the requirements on the memory for file editing and modification are further improved, and the file editing speed is influenced.
(4) When some texts contain operation logic such as financial statements, a person making the tables needs to input original data during the table making process, perform off-table operation, and input an operation result into a designated position of intermediate data or an output result, so that working errors are inevitable. Even some AH stock marketing companies need to make annual statements of A stock according to the rules of deep crossing and annual statements of H stock according to the rules of port crossing, and the finance is in the embarrassment of repeated work but has to be repeated.
Disclosure of Invention
In view of the above, the present invention provides a programmable online document editing method based on primitives. The first can solve the problem of personal or multi-person file editing environment, the second can coordinate the display pain point updated by the editor, and the third can reduce the occupied space of the file editing on the memory and improve the editing speed. The updating difficulty of the network platform programming is digested, and the updating cost of the network platform programming is reduced. The method reduces the manufacturing cost and the manufacturing period of a large number of similar files, improves the accuracy and reduces the error rate.
The technical scheme is as follows:
a programmable online document editing method based on graphic elements is characterized in that:
step one, establishing a document editing environment, wherein the document editing environment is provided with a billboard workbench and a function logic workbench;
the document editing environment can be set in an editing platform of a certain host, and after a developer enters the editing platform, the document editing environment with personal requirements can be completely configured. And after the user account logs in the editing platform, the editing platform automatically loads the previously configured document development environment.
The document editing environment is connected with a basic environment library, and the basic environment library is used for storing various versions of underlying systems, such as various versions of windows and various versions of android, and various document development tools, such as office tools, WPS office tools, various mobile phone APP development and application tools, and the like. The requirements of editing various files are ensured,
secondly, performing style design of an editing text in a billboard workbench by using the file format type primitives;
according to the editing requirement, the method can exist in the forms of various tables, wave diagrams, bar charts and pie charts, and also can exist in the forms of various TXT documents and JPG files.
Thirdly, editing the logic relation of the text on a function logic workbench by utilizing the data processing type graphics primitives;
screening out key input information, intermediate information and output information from the logical relationship, and establishing a derivation relationship;
the derived information may be listed in the form of a waveform in a waveform map, may be present in the form of data at a certain position in a specified table or waveform, or may be a certain component of a histogram, pie chart, or the like.
Fifthly, determining the specific positions of display primitives of the input information, the intermediate information and the output information in the edited text, and establishing an import relation;
and step six, generating the final text from the edited text by utilizing the relevance of the export relation and the import relation. And finally, the text can be generated until the last key after the editing is finished, or a primary draft can be generated in a certain link, and the text is returned to the editing state by one key. The user can also leave the document editing environment and update the editing file, but can not obtain the support of the document editing environment any more.
The document editing environment is also provided with a user graphic element library: the system is used for storing graphic elements required by a user to edit a text;
the document editing environment is further provided with a resource workbench (5): and the input resource control primitive and the output result control primitive are used for generating a basic input resource control primitive and an output result control primitive to the function logic workbench.
The user primitive library is provided with a control style library, a basic control library, a resource library, a basic function library and a data dictionary;
primitive: the graphic programming language minimum abstract unit is represented as a signboard control, a function, a resource, a line, a structural block diagram and the like, is displayed in a development platform in a form of a solid graph and comprises a name, an ID, an icon, a code, a help description document and the like. Such as switch control, pressure regulation control, integral function control, circumference ratio control, various PID controls, known data controls representing input resources, such as text input control, oscillogram control, numerical control, table control, instrument and dashboard control, frame, line, arrow, structural block diagram and other result data controls, and the like.
The data dictionary provides basic data required by operation for the resource workbench, the function logic workbench and the billboard workbench;
the data dictionary is a collection of information describing data, a collection of definitions for all data elements used in the system. Providing basic data required by operation for a resource workbench, a function logic workbench and a billboard workbench;
the basic data also exist in the form of graphic elements, such as a circumference ratio control, a metric system unit control, an English system unit control, various expression modes such as atmospheric pressure, Pa, millimeter mercury column height, MPa, bar and the like.
The basic function library provides a function relation required by operation for the function logic workbench;
the resource library provides input information for the resource workbench;
these data resources may be text files, video files, tables, forms, block relationships, and the like.
Any file has input information and output result, and the user uses the primitives according to the function requirement, fills the related information, calculates the intermediate data and the result primitives, and stores the intermediate data and the result primitives in the document editing environment.
The basic control library provides control primitives with various basic functions for the billboard workbench;
the control style library provides primitive styles of the functional controls to be endowed for the billboard workbench.
In the second step, the edit text is either word text, Excel text, PPT text, PDF text or JPG text.
When the same file has a plurality of participants, all editing users can edit the same file in a segmented manner on the same editing platform, edit versions uniformly and mutually call resources.
When different files are edited, the corresponding resources of the resources can be mutually called after the authorization approval of the original document manager is obtained. For example, although the financial statement in the last year is not the same file as the financial statement in the present year, the basic format template can be called, the conversion relations such as the basic tax rate and the rate can be called, and even a new statement can be generated by only changing the corresponding input data and the weight of some functions.
In the second step, the file format type primitive is either a table primitive or a link primitive. Or a graphic primitive, or an arrow primitive, or a pattern primitive, or a symbol primitive, a thinking diagram, and a block diagram;
in the third step, the data processing class primitive is either an operation function primitive, a numeric primitive, an operator primitive, a text primitive, a graphics primitive, a pattern primitive or a waveform primitive.
The method for establishing the relevance of the export relation and the import relation comprises the following steps:
firstly, in a function logic workbench, endowing target information with a derivation label;
secondly, in a billboard workbench, one or more import labels are correspondingly arranged on each export label;
thirdly, dragging the import label to a target position in the edited text;
and fourthly, confirming to generate a final printable text.
The billboard workbench and the function logic workbench are displayed in the same interface, and the billboard interface is combined with the function logic relation and displayed in the same interface, so that the import and export relation can be conveniently combed.
The editing platform is provided with a compiler and a memory, wherein the compiler is connected with the billboard workbench, receives and compiles the final text output by the billboard workbench and sends the final text to the memory for storage, and the user side extracts the compiled final text from the memory for publishing.
And compiling the corresponding files by the compiler and storing the files according to the running environments and language requirements of different markets.
The compiler, the basic primitive library and the basic environment library are also connected with a technical background.
Only the technical background can edit the content and limit the functions of the compiler, the basic primitive library and the basic environment library.
The editing platform is provided with a user interface, and the user side is connected with each unit in the editing platform through the user interface;
the editing platform is provided with a technical interface, and the technical background is connected with each unit in the editing platform through the technical interface.
The technical background can also enter the editing platform in the user identity, but the authority is restricted.
Under the general condition, the condition of upgrading the system version does not occur any more, the new function exists in the form of a primitive, and a user can select whether to call the new primitive according to the own requirements, so that the problem of BUG of a new system is not worried about.
The invention has the beneficial effects that: the method eliminates the dependence on a local file editing environment and can be operated only by a network and a browser. The method solves the environmental problem of file version updating, updates the editor, and saves the local storage space of the computer; and updating the code segment corresponding to the primitive in real time according to the primitive ID. The updating difficulty of the network platform file editing is digested, the updating cost of the network platform programming is reduced, multiple users are supported to edit the file at the same time, the occupied space of the file editing on the memory is reduced, and the editing speed is increased. The built-in logic function and the mapping relation support batch complex table and document processing, reduce the manufacturing cost and the manufacturing period of a large number of similar files, improve the accuracy and reduce the error rate.
Drawings
FIG. 1 is a block diagram of an editing platform;
FIG. 2 is a flow chart of the operation of the present invention;
FIG. 3 is a same screen display of a billboard workstation and a function logic workstation;
FIG. 4 is a diagram of a function logic workbench editing interface in FIG. 3;
FIG. 5 is a table interface display of the platen table of FIG. 3.
Detailed Description
The present invention will be further described with reference to the following examples and the accompanying drawings.
Taking the example of making a financial statement of a company, as shown in fig. 2:
a programmable online document editing method based on graphic elements,
step one, a document editing environment of the financial statement is built, the document editing environment can be set in an editing platform 1 of a certain host or a PC, and a developer can completely configure the document editing environment which meets personal requirements after entering the editing platform 1. After the user account logs in the editing platform 1, the editing platform automatically loads the previously configured document development environment.
The document editing environment is provided with a billboard workbench 6 and a function logic workbench 7;
secondly, designing the style of the edited text in a billboard workbench 6 by using the file format type primitives and combining a function logic workbench 7;
in the second step, the edit text is a word text, an Excel text, a PPT text, a PDF text, or a JPG text, a mind map, and a block diagram.
The basic financial statement file is edited and displayed in the embodiment, the file can be provided with a plurality of different table primitives, graphic primitives, text primitives and the like, and each primitive is correspondingly edited and embodied on the function logic workbench 7;
thirdly, editing the logic relation of the text on a function logic workbench 7 by utilizing the data processing type graphic elements;
according to the accounting criteria, the corresponding financial operation logic is input by using the function logic workbench 7, the input data is extracted at the designated position and is merged into the financial operation logic, and the output result is placed in the function logic workbench 7 for standby;
screening out key input information, intermediate information and output information from the logical relationship, and establishing a derivation relationship; and screening of the standby data is realized.
Fifthly, determining the specific positions of display primitives of the input information, the intermediate information and the output information in the edited text, and establishing an import relation;
and step six, exporting the standby data and the related character information to a billboard workbench 6 by using the relevance of the export relation and the import relation, and generating the edited text into a final text.
The method for establishing the relevance of the export relation and the import relation comprises the following steps:
firstly, in a function logic workbench 7, assigning a export label to target information;
secondly, in the billboard workbench 6, one or more import labels are correspondingly arranged on each export label;
thirdly, dragging the import label to a target position in the edited text;
as shown in fig. 4, in the editing interface of the function logic workbench 7, revenue of four seasons can be respectively entered, a summation operation is performed, and a guidance path is given to the operation result, and the path is used as a derivation label and points to the 5 th column and 2 row of the specific report.
As shown in fig. 5, the specific report is displayed in the table interface of the dashboard workbench, and the report carries the import tag attribute of column 5 and row 2, so that the comprehensive summation result is displayed in column 5 and row 2 of the report according to the import/everywhere relationship. When data changes, for example, for four quarters, the output of column 5, row 2 changes accordingly.
And fourthly, confirming to generate a final text.
As shown in fig. 1, the document editing environment is further provided with a user primitive library 4: the system is used for storing graphic elements required by a user to edit a text;
the document editing environment is further provided with a resource workbench 5: and the input resource control primitive and the output result control primitive are used for generating a basic input resource control primitive and an output result control primitive to the function logic workbench 7. The resource workbench 5 can store the original data of the financial statements, the current financial criteria, the rates, interest rates and other financial resources.
The user primitive library 4 is provided with a control style library 41, a basic control library 42, a resource library 43, a basic function library 44 and a data dictionary 45;
the data dictionary 45 provides basic data required by operation for the resource workbench 5, the function logic workbench 7 and the billboard workbench 6; the data dictionary 45 stores different accounting criteria such as an upper exchange, a deep exchange, a port exchange, etc., deposit and loan rates of different banks, etc., service contents and management rules of law offices, accounting offices, etc., a relationship of controlling stocks and taking up ratios of parent and subsidiary companies within an enterprise, a financial accounting relationship, etc.
The basic function library 44 provides a functional relation required by operation for the function logic workbench 7; storing the operation relationship of basic monthly newspaper and quarterly newspaper, the functional expression of the financial management rule of various subjects, etc.
The resource library 43 provides input information for the resource workbench 5; storing basic financial raw data of cost, income and the like of each subject.
The basic control library 42 provides control primitives of various basic functions for the billboard workbench 6;
the widget style library 41 provides the kanban workbench 6 with control primitive styles to wait for the rendering of functionality.
In the second step, the file format type primitive is either a table primitive or a link primitive. Or a graphic primitive, or an arrow primitive, or a pattern primitive, or a symbol primitive;
in the third step, the data processing class primitive is either an operation function primitive, a numeric primitive, an operator primitive, a text primitive, a graphics primitive, a pattern primitive or a waveform primitive.
As shown in fig. 3, the kanban workbench 6 is presented in the same interface as the function logic workbench 7.
The editing platform is provided with a compiler 8 and a memory 9, wherein the compiler 8 is connected with the billboard workbench 6, receives and compiles the final text output by the billboard workbench 6, and stores the final text in the memory 9, and the user side extracts the compiled final text from the memory 9 for publishing.
And compiling the corresponding files by the compiler and storing the files according to the running environments and language requirements of different markets.
The compiler 8, the basic primitive library 11 and the basic environment library 12 are further connected with a technical background.
The editing platform is provided with a user interface, and the user side is connected with each unit in the editing platform through the user interface;
the editing platform is provided with a technical interface, and the technical background is connected with each unit in the editing platform through the technical interface.
The above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and variations, modifications, additions and substitutions which are within the spirit and scope of the present invention and can be made by those skilled in the art are also within the scope of the present invention.

Claims (7)

1. A programmable online document editing method based on graphic elements is characterized in that:
step one, a document editing environment is set up, and the document editing environment is provided with a billboard workbench (6) and a function logic workbench (7);
secondly, performing style design of an editing text in a billboard workbench (6) by using the file format type primitives;
thirdly, editing the logic relation of the text on a function logic workbench (7) by utilizing the data processing type graphic primitives;
screening out key input information, intermediate information and output information from the logical relationship, and establishing a derivation relationship;
fifthly, determining the specific positions of display primitives of the input information, the intermediate information and the output information in the edited text, and establishing an import relation;
and step six, generating a final text from the edited text by utilizing the relevance of the export relation and the import relation.
2. The programmable primitive-based online document editing method of claim 1, wherein: the document editing environment is also provided with a user graphic element library (4): the system is used for storing graphic elements required by a user to edit a text;
the document editing environment is further provided with a resource workbench (5): and the input resource control element and the output result control element are used for generating basic input resource control element and output result control element to a function logic workbench (7). .
3. The programmable primitive-based online document editing method of claim 2, wherein: the user primitive library (4) is provided with a control style library (41), a basic control library (42), a resource library (43), a basic function library (44) and a data dictionary (45);
the data dictionary (45) provides basic data required by operation for the resource workbench (5), the function logic workbench (7) and the billboard workbench (6);
the basic function library (44) provides a functional relation required by operation for the function logic workbench (7);
the resource library (43) provides input information for the resource workbench (5);
the basic control library (42) provides control primitives of various basic functions for the billboard workbench (6);
the control style library (41) provides the kanban workbench (6) with primitive styles of the functional controls to be endowed.
4. The method of programmable primitive-based online document editing of claim 1, wherein: in the second step, the edit text is a word text, an Excel text, a PPT text, a PDF text, or a JPG text, a mind map, and a block diagram.
5. The programmable primitive-based online document editing method of claim 1, wherein: in the second step, the file format type primitive is either a table primitive or a link primitive. Or a graphic primitive, or an arrow primitive, or a pattern primitive, or a symbol primitive;
in the third step, the data processing class primitive is either an operation function primitive, a numeric primitive, an operator primitive, a text primitive, a graphics primitive, a pattern primitive or a waveform primitive.
6. The method for programmable primitive-based online document editing according to claim 1, wherein the association between the export relationship and the import relationship is established by:
firstly, in a function logic workbench (7), giving a derivation label to target information;
secondly, in a billboard workbench (6), one or more import labels are correspondingly arranged on each export label;
thirdly, dragging the import label to a target position in the edited text;
and fourthly, confirming to generate a final text.
7. The programmable primitive-based online document editing method of claim 1, wherein: the billboard workbench (6) and the function logic workbench (7) are displayed in the same interface.
CN202210349841.8A 2022-04-02 2022-04-02 Programmable online document editing method based on graphics primitives Pending CN114638203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210349841.8A CN114638203A (en) 2022-04-02 2022-04-02 Programmable online document editing method based on graphics primitives

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210349841.8A CN114638203A (en) 2022-04-02 2022-04-02 Programmable online document editing method based on graphics primitives

Publications (1)

Publication Number Publication Date
CN114638203A true CN114638203A (en) 2022-06-17

Family

ID=81950841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210349841.8A Pending CN114638203A (en) 2022-04-02 2022-04-02 Programmable online document editing method based on graphics primitives

Country Status (1)

Country Link
CN (1) CN114638203A (en)

Similar Documents

Publication Publication Date Title
JP3136035B2 (en) Automatic layout generator for database system interface and method for generating the same
CN115658041B (en) Low-code enhanced service implementation method based on online service flow arrangement
US20070055936A1 (en) Markup based extensibility for user interfaces
KR102237877B1 (en) Intelligent software auto development system with real-time collaboration support and method thereof
US6282539B1 (en) Method and system for database publishing
Pidd et al. Simulation software: not the same yesterday, today or forever
CN112163420A (en) NLP technology-based RPA process automatic generation method
CN111881662A (en) Form generation method, device, processing equipment and storage medium
CN110968294B (en) Business domain model establishing system and method
CN113886362A (en) Data storage system and storage method based on workflow engine and low-code platform
Da Silva et al. Integration of RE and MDE paradigms: the ProjectIT approach and tools
JP2022041865A (en) Online working system for template-based excel documents
CN111580786B (en) Internet + -based software engineering development system
JP7339628B2 (en) Online report creation system using Excel tools
CN114638203A (en) Programmable online document editing method based on graphics primitives
CN115809058A (en) Method and related device for generating user interface framework logic tree
CN113138760A (en) Page generation method and device, electronic equipment and medium
CN108228688B (en) Template generation method, system and server based on XBRL
CN110688108A (en) Model generation method and device and storage medium
Scaffidi The impact of human-centric design on the adoption of information systems: A case study of the spreadsheet
Memmel et al. Prototyping corporate user interfaces: towards a visual specification of interactive systems
JP7216377B2 (en) Online reporting system with query binding capabilities
CN116795347B (en) Map-oriented automatic comprehensive graphical programming system and device
CN116204267B (en) Method and device for generating intellectual property flow form
CN113407164B (en) Software code generation method and system based on mind map and tree structure technology

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