CN116108811B - Method and system for upgrading content of SaaS application specific format document - Google Patents

Method and system for upgrading content of SaaS application specific format document Download PDF

Info

Publication number
CN116108811B
CN116108811B CN202310376718.XA CN202310376718A CN116108811B CN 116108811 B CN116108811 B CN 116108811B CN 202310376718 A CN202310376718 A CN 202310376718A CN 116108811 B CN116108811 B CN 116108811B
Authority
CN
China
Prior art keywords
content
document
upgraded
upgrading
original document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310376718.XA
Other languages
Chinese (zh)
Other versions
CN116108811A (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.)
Tianjin Lenovo Collaboration Technology Inc
Original Assignee
Tianjin Lenovo Collaboration Technology Inc
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 Tianjin Lenovo Collaboration Technology Inc filed Critical Tianjin Lenovo Collaboration Technology Inc
Priority to CN202310376718.XA priority Critical patent/CN116108811B/en
Publication of CN116108811A publication Critical patent/CN116108811A/en
Application granted granted Critical
Publication of CN116108811B publication Critical patent/CN116108811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • G06F40/154Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/143Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
    • 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/73Program documentation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a method and a system for upgrading the content of a SaaS application specific format document, wherein a content segment of an intermediate document to be upgraded is obtained by modifying a record; obtaining relevant content segments of the original document by combining the modification record with the original document DataEntry, judging whether upgrading is needed or not by combining the modification record, the content segments of the original document and the content segments of the intermediate document to be upgraded, and generating the content segments of the target intermediate document according to an upgrading strategy; the modification record is an upgrade record related to the version in the upgrading process of the SaaS application; the original document DataEntry is a map that is kept during the conversion of the original document with respect to the content pieces of the original document. According to the invention, the content of the intermediate document format is updated by combining the original document record with the intermediate document data description and the modification record of the SaaS application, so that the problem of the content updating of the intermediate document is solved.

Description

Method and system for upgrading content of SaaS application specific format document
Technical Field
The invention belongs to the technical field of computer software, and particularly relates to a method and a system for upgrading SaaS application specific format document content.
Background
A SaaS application generally refers to an application program, such as APP, of a SaaS system at a user end, for providing a software product service to a user (enterprise or individual); the documents are indispensable for providing services by the SaaS applications, the document formats supported by each SaaS application are different, the conversion and support of the formats are generally required for the circulation of the document contents among different SaaS applications for users (enterprise terminals or individuals), in the prior art, most of the users use a general document format (original document) for the circulation, each SaaS application performs the content analysis and format conversion on the original document by means of a specific intermediate document format which is supported and conveniently described, and the converted content is displayed and used in the applications of the SaaS applications. However, as shown in fig. 1, when the SaaS application is upgraded, there is a possibility of upgrading and updating a specific intermediate document format supported by the SaaS application, and after the intermediate document format is upgraded and updated, the upgrading of the intermediate document content becomes a problem that must be solved.
There are also some patents related to document format upgrading in the prior art, such as US patent 7581177, which is aimed at solving the problem of upgrading a document of a certain type, that is, searching a module to be upgraded by comparing specific data areas, and then upgrading a specific part; chinese patent CN113885924a is a method for upgrading configuration files in the process of upgrading application programs, that is, a method for finding out a module to be upgraded by combining an upgrade record with an original configuration file, and directly covering original data with upgraded data.
However, the technical solution for upgrading the content of the intermediate document is not proposed in the above patent technology.
Disclosure of Invention
The invention provides a method and a system for upgrading SaaS application specific format document content, which solve the problem of intermediate document content upgrading.
In order to achieve the above object, the technical scheme of the present invention is as follows:
a method of upgrading SaaS application specific format document content, comprising: obtaining a content segment of the intermediate document to be upgraded by modifying the record; then, the content segments of the related original document are searched by combining the modified record with the original document DataEntry; judging whether upgrading is needed or not by combining the modification record, the content fragment of the original document and the content fragment of the intermediate document to be upgraded, and generating the content fragment of the target intermediate document according to an upgrading strategy; the modification record is an upgrade record related to the version in the upgrading process of the SaaS application; the original document DataEntry is data Map about the content fragment of the original document, which is reserved in the conversion process of the original document, and the names and ids of key features of the original document are stored. The object fragment can be positioned in the original document through features and ids stored in the original document DataEntry; the feature may contain some data module, may include some type of attribute, and may also refer to some type of operation set.
Further, the method for obtaining the content segment of the intermediate document to be upgraded by the modification record comprises the following steps: and recording a data module identifier to be upgraded in the local version upgrading of the SaaS application in the modification record, and reading and obtaining the content fragment of the intermediate document to be upgraded through the data module identifier.
Further, the method for judging whether the upgrading is needed comprises the following steps: the unique identification of the upgrading feature is stored in the modification record, and the unique identification corresponds to an original document DataEntry and an intermediate document DataEntry to be upgraded, and whether the content segments of the original document and the content segments of the intermediate document to be upgraded need to be upgraded or not is judged through the unique identification; and the to-be-upgraded intermediate document DataEntry stores the names and ids of key features of the to-be-upgraded intermediate document. And the feature segments can be positioned in the original document through features and ids, and the features corresponding to the associated original document are stored at the same time, so that feature correspondence is facilitated.
Further, in the upgrade policy, if the content segments of the original document and the content segments of the intermediate document to be upgraded are both determined to need to be upgraded, then:
for the newly added feature, directly generating a corresponding data segment of the target intermediate document;
for modifying the original feature, judging whether the content fragment of the intermediate document to be upgraded has a change relative to the current content in the SaaS application or not by reading the content fragment of the intermediate document to be upgraded, if the content fragment does not have the change, directly generating a target fragment of the upgrading feature through the content fragment of the original document, and directly replacing the content fragment of the original intermediate document to be upgraded to generate a corresponding data fragment of the target intermediate document; if the content changes, firstly generating a corresponding data segment of the target intermediate document according to the content segment of the original document; and comparing the modified content in the content segment of the intermediate document to be upgraded, and merging the modified content into the corresponding data segment of the target intermediate document.
The invention also provides a system for upgrading the content of the SaaS application specific format document, which comprises:
content reading analysis module: obtaining a content segment of the intermediate document to be upgraded by modifying the record; then, the content segments of the related original document are searched by combining the modified record with the original document DataEntry; judging whether upgrading is needed or not by combining the modification record, the content fragment of the original document and the content fragment of the intermediate document to be upgraded;
modifying the content queue: for storing content segments to be upgraded;
a content modification module: generating a content segment of the target intermediate document according to the upgrading strategy;
the modification record is an upgrade record related to the version in the upgrading process of the SaaS application; the original document DataEntry is data Map about the content fragment of the original document, which is reserved in the conversion process of the original document, and the names and ids of key features of the original document are stored.
Further, the content reading analysis module includes:
an identification unit: and recording a data module identifier to be upgraded in the local version upgrading of the SaaS application in the modification record, and reading and obtaining the content fragment of the intermediate document to be upgraded through the data module identifier.
Further, the content reading analysis module further includes:
upgrade judging unit: the unique identification of the upgrading feature is stored in the modification record, and the unique identification corresponds to an original document DataEntry and an intermediate document DataEntry to be upgraded, and whether the content segments of the original document and the content segments of the intermediate document to be upgraded need to be upgraded or not is judged through the unique identification; and the to-be-upgraded intermediate document DataEntry stores the names and ids of key features of the to-be-upgraded intermediate document.
Further, the content modification module includes:
an upgrade strategy unit: in the upgrading strategy, if the content segments of the original document and the content segments of the intermediate document to be upgraded are judged to be required to be upgraded, the method comprises the following steps: for the newly added feature, directly generating a corresponding data segment of the target intermediate document;
for modifying the original feature, judging whether the content of the intermediate document to be upgraded has a change relative to the current content in the SaaS application by reading the label of the content segment, if the content of the intermediate document does not change, directly generating a target segment of the upgrading feature through the content segment of the original document, and directly replacing the content segment of the original intermediate document to be upgraded to generate a corresponding data segment of the target intermediate document; if the content changes, firstly generating a corresponding data segment of the target intermediate document according to the content segment of the original document; and comparing the modified content in the content segment of the intermediate document to be upgraded, and merging the modified content into the corresponding data segment of the target intermediate document.
The invention also provides a computer readable storage medium storing a computer program for executing the method for upgrading the content of the SaaS application specific format document.
Compared with the prior art, the invention has the following beneficial effects:
according to the invention, the content of the intermediate document format is updated by combining the original document record with the intermediate document data description and the modification record of the SaaS application, so that the problem of the content updating of the intermediate document is solved.
Drawings
FIG. 1 is a schematic diagram of a problem scenario of the present invention;
FIG. 2 is a schematic view of the overall framework of embodiment 1 of the present invention;
FIG. 3 is a flow chart of analysis conversion by modifying records in embodiment 1 of the present invention;
FIG. 4 is a flowchart of the generation of a target document content segment when the modification record is a featureMap in embodiment 2 of the present invention;
FIG. 5 is a schematic diagram of an upgrade strategy according to an embodiment of the present invention;
fig. 6 is a logic flow diagram of upgrade strategy 1 of fig. 5.
Detailed Description
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The invention will be further illustrated with reference to specific examples.
In an embodiment:
take APP as an example of a SaaS application; the original document is a universal format document for transferring contents among different APPs; the intermediate document is a private format document only used for the current APP cache content;
the original document is used as a general format of an on-line down-stream document and is not suitable for direct reading and use of an on-line APP, an intermediate document format is generally defined, the APP converts the original document into the intermediate document through a format conversion module, and application logic of the APP is used for quick reading and use, so that network transmission and data analysis are convenient, and when the APP is upgraded, the upgrading of the content of the intermediate document is the problem to be solved by the invention.
Example 1:
in embodiment 1, the invention provides a method for upgrading the content of a SaaS application specific format document, aiming at the problem of upgrading the content of an intermediate document of the SaaS application, as shown in fig. 2, specifically comprising the following steps:
in the APP, obtaining a content fragment of an intermediate document to be upgraded through modification record interception by a content reading analysis module; and searching the content segments of the related original document by combining the modification record with the original document DataEntry, judging whether the updating is needed or not by combining the modification record, the content segments of the original document and the content segments of the intermediate document to be updated, storing the content segments to be updated into a modified content queue, updating and modifying by the updating logic of the content modifying module to generate the content segments of the target intermediate document, and writing the content segments into the target intermediate document to complete the updating process. The modification record is an upgrade record related to the version in the upgrading process of the SaaS application; the original document DataEntry is a data Map about the content piece of the original document, which is held in the original document conversion process.
This embodiment illustrates a simple use case to describe the modification record in the scheme, the content segment of the original document, the content segment of the intermediate document to be upgraded, and the original document DataEntry.
Firstly, the modification record in the use case is actually a data update list, the list is defined in the upgrading process of the SaaS application, and the upgrading feature description is stored. The feature has a wide meaning, and may include a functional module, such as a picture, a table, and the like, and may also include a certain attribute, such as: tableprop, etc., may also refer to a collection of operations of some type, such as: operation.
In this example, the modification record is represented in json format, and the contents of the intercepted modification record part are as follows:
“{"modifications":[{"type":"add","tag":"contentProperty","name":"show","valueDefine":
{"type":"bool","value":[{"true":"display the content"},{"false":"hide the content"}]}},
{"type":"add","tag":"tableProperty","name":"color","valueDefine":”。
one of the above segments may be defined as a feature, which represents an upgrade module, as follows:
“{"type":"add","tag":"contentProperty","name":"show","valueDefine":{"type":"bool","value":[{"true":"display the content"},{"false":"hide the content"}]}}”;
the type is defined as a simple type add/remove/update; the method can also be a complex object type, and can describe the type of update required to be done for the current feature;
and (3) tag: feature identification, in which a simple feature "content property" is described, identifies the need to add attribute support to such features in the original document;
name: an added attribute name;
value definition: the added supportable attribute value type;
the content segments of the related features can be searched and acquired in the original document by matching with the original document DataEntry through the tag and the name to carry out upgrading operation.
The original document is in xml format in this use case.
The content piece of the original document includes "first section text content", "second section text content", and the like.
In this use case, the original document DataEntry for the content fragment is in json format, and the name and id of the key feature of the original document are stored in the DataEntry, and the object fragment can be located in the original document through the feature and id. The fragment of the original document DataEntry is as follows:
“{"DataEntry":[{"tag":"document"},{"tag":"mainContent"},
{"tag":"section","id":"1"},
{"tag":"section","id":"2"},
{"tag":"section","id":"3"},”。
in this use case, the intermediate document to be upgraded is a corresponding intermediate document of the original document, and in this use case, expressed in json format, not limited to json format, the content segments of the intermediate document to be upgraded are as follows:
"{" document ": {" main content ": [ {" sectPropecty ": {" t "means" second protocol "," show "means" first text "," t "means" section "," content protocol "," id "means" id_1"," size "means" large "," color "means" red "," id "means" id_2993169670242791"," content "means [" id "means" id_content_1"," ct "means" content protocol "," t "means" c "," style "means" content protocol "," id "means" id_2"," size "means" section "," color "means" black "means" size "means" second text "," size "means" size "," size "means" section "," show "means" section "," content_35 "," content_4 means "second text", "size" means "first text" means "first text-by" means "first text" means "means." means "means." means "means.t.t.t.t.t.t.t.t.t text means.means.t.t.means.t.t.t.t.t text means, means.t.means, means, means.t, means.means.t, means.means.means.means.means.means.means.means.means, means means.means, means means.means.means means means.means, means means.means.means means means.means.means means means.means means means.means means means.means.means means means.means means means.means.means means means.means, means means.means.means.means.means.means.means.means, means, means.
The intermediate document to be upgraded, dataEntry, is also in json format, the fragments of which are shown below:
“{"DataEntry":[{"tag":"document"},{"tag":"mainContent"},
{"tag":"section","srcId":"1","id":"id_2993169670242791"},
{"tag":"section","srcId":"2","id":"id_179c11c87442"},”。
the use case is simpler, and more complex document contents and featuremaps can be defined in the same way. Meanwhile, the method and the efficiency for extracting features in the original document and the intermediate document with upgrading can be improved by adding the relevance definition.
Fig. 3 shows a flow of reading, analyzing, and converting the modified record in the method of the present embodiment, which specifically includes:
reading the modification record, and judging whether related content related to the upgrading of the document exists in the modification record;
if yes, judging whether the intermediate document to be upgraded contains relevant content of the document upgrading and whether the original document contains relevant content of the document upgrading; if the intermediate document to be upgraded contains the related content of the document upgrade, reading the content fragment of the intermediate document to be upgraded by combining the modification record; if the original document contains relevant content of the document upgrade, reading a content fragment of the original document in combination with the modification record;
and combining the modification record, the content fragment of the intermediate document to be upgraded and the content fragment in the original document, modifying to generate a target intermediate document content fragment, and storing the target intermediate document.
By the explanation of the embodiment 1, the method for upgrading the content of the SaaS application specific format document can solve the problem of content upgrading of the intermediate document.
Example 2:
embodiment 2 is a further solution proposed on the basis of embodiment 1, comprising:
the method for obtaining the content fragment of the intermediate document to be upgraded through the modification record is as follows: and intercepting the content fragments of the intermediate document to be upgraded through the data module identification, wherein the content fragments can be available or unavailable, and if the content fragments are available or unavailable, only the modification record and the content fragments in the original document are combined for modification, so that the target intermediate document content fragments are generated.
As shown in the use case of embodiment 1, the modification record format is a set of corresponding data featureMap, as shown in fig. 4, in which a unique identifier of the upgrading feature is stored, which may be a name or id, and by which the unique identifier may correspond to an original document DataEntry and an intermediate document DataEntry to be upgraded (the correspondence relationship is generated in the process of converting from the original document to the intermediate document to be upgraded for the first time), because the data structures of the original document content and the intermediate document to be upgraded are fixed, the location of the data fragment in the document is easily found by the DataEntry. The method of determining whether a content segment needs to be upgraded includes: and judging whether the content segments of the original document and the content segments of the intermediate document to be upgraded need to be upgraded or not through the unique identification.
Example 3:
embodiment 3 is a solution to propose a specific upgrade strategy based on embodiment 1 or 2.
After combining the modification record, the content segment of the original document and the content segment of the intermediate document to be upgraded, judging whether the upgrading is needed, using different upgrading strategies according to different conditions, as shown in fig. 5, including:
(1) Both the content segments of the original document and the content segments of the intermediate document to be upgraded need to be upgraded (i.e. the original document in fig. 5 contains an upgrade DataEntry, and the document to be upgraded contains an upgrade DataEntry), an upgrade policy 1 is adopted, where the upgrade policy 1, as shown in fig. 6, includes:
for the newly added feature, directly generating a corresponding data segment of the target intermediate document;
for modifying the original feature, judging whether the content of the intermediate document to be upgraded has a change relative to the current content in the SaaS application by reading the label of the content segment, if the content of the intermediate document does not change, directly generating a target segment of the upgrading feature through the content segment of the original document, and directly replacing the content segment of the original intermediate document to be upgraded to generate a corresponding content segment of the target intermediate document; if the content changes, firstly generating a corresponding content segment of the target intermediate document according to the content segment of the original document; comparing the modified content in the content segment of the intermediate document to be upgraded, and merging the modified content into the corresponding content segment of the target intermediate document;
(2) The content segments of the original document need to be upgraded, and the content segments of the intermediate document to be upgraded do not need to be upgraded, namely, the original document in FIG. 5 contains an upgrade DataEntry, and the document to be upgraded does not contain the upgrade DataEntry; in this case, adopting the upgrade strategy 2, directly using the conversion logic to convert the content fragment in the original document into a target intermediate document format and storing the target intermediate document format in a corresponding position in the target intermediate document;
(3) The content segments of the original document do not need to be upgraded, and the content segments of the intermediate document to be upgraded need to be upgraded, namely the original document in FIG. 5 does not contain an upgrade DataEntry, and the document to be upgraded contains the upgrade DataEntry; in this case, an upgrade strategy 3 is adopted to upgrade the content segment of the intermediate document to be upgraded;
(4) The content segments of the original document do not need to be upgraded, and the content segments of the intermediate document to be upgraded do not need to be upgraded, namely the original document in fig. 5 does not contain an upgrade DataEntry, and the document to be upgraded does not contain an upgrade DataEntry; in which case no upgrades are necessary.
Example 4:
embodiment 4 of the present invention provides a system for upgrading SaaS application specific format document content, which implements the method described in any one of embodiments 1, 2 and 3, and includes:
content reading analysis module: obtaining a content segment of the intermediate document to be upgraded by modifying the record; combining the modified record with the original document DataEntry to obtain a related content fragment of the original document; combining the modification record, the content fragment of the original document and the content fragment of the intermediate document to be upgraded; judging whether the upgrading is needed or not;
modifying the content queue: for storing content segments to be upgraded;
a content modification module: generating a content segment of the target intermediate document according to the upgrading strategy;
the modification record is an upgrade record related to the version in the upgrading process of the SaaS application; the original document DataEntry is a map that is kept during the conversion of the original document with respect to the content pieces of the original document.
The content reading analysis module includes:
an identification unit: and recording a data module identifier to be upgraded in the local version upgrading of the SaaS application in the modification record, and reading and obtaining the content fragment of the intermediate document to be upgraded through the data module identifier.
The content reading analysis module further includes:
upgrade judging unit: and storing unique identifiers of upgrading features in the modification records, wherein the unique identifiers correspond to an original document DataEntry and an intermediate document DataEntry to be upgraded, and judging whether the content segments of the original document and the content segments of the intermediate document to be upgraded need to be upgraded or not through the unique identifiers.
The content modification module includes:
an upgrade strategy unit: different upgrade strategies are used according to different situations, wherein the most main upgrade strategies are as follows:
if the content segments of the original document and the content segments of the intermediate document to be upgraded are judged to be upgraded, the method comprises the following steps: for the newly added feature, directly generating a corresponding data segment of the target intermediate document;
for modifying the original feature, judging whether the content of the intermediate document to be upgraded has a change relative to the current content in the SaaS application by reading the label of the content segment, if the content of the intermediate document does not change, directly generating a target segment of the upgrading feature through the content segment of the original document, and directly replacing the content segment of the original intermediate document to be upgraded to generate a corresponding data segment of the target intermediate document; if the content changes, firstly generating a corresponding data segment of the target intermediate document according to the content segment of the original document; and comparing the modified content in the content segment of the intermediate document to be upgraded, and merging the modified content into the corresponding data segment of the target intermediate document.
Example 5:
embodiment 5 provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing a method of upgrading SaaS application specific format document content as provided in any of embodiments 1 to 3 above.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (9)

1. A method of upgrading SaaS application specific format document content, comprising: obtaining a content segment of the intermediate document to be upgraded by modifying the record; then, the content segments of the related original document are searched by combining the modified record with the original document DataEntry; judging whether upgrading is needed or not by combining the modification record, the content fragment of the original document and the content fragment of the intermediate document to be upgraded, and generating the content fragment of the target intermediate document according to an upgrading strategy; the modification record is an upgrade record related to the version in the upgrading process of the SaaS application; the original document DataEntry is data Map about the content fragment of the original document, which is reserved in the conversion process of the original document, and the names and ids of key features of the original document are stored.
2. The method for upgrading SaaS application specific format document content according to claim 1, wherein the method for obtaining the content piece of the intermediate document to be upgraded by the modification record is as follows: and recording a data module identifier to be upgraded in the local version upgrading of the SaaS application in the modification record, and reading and obtaining the content fragment of the intermediate document to be upgraded through the data module identifier.
3. The method for upgrading SaaS defined in claim 1, wherein the determining whether the upgrading is required comprises: the unique identification of the upgrading feature is stored in the modification record, and the unique identification corresponds to an original document DataEntry and an intermediate document DataEntry to be upgraded, and whether the content segments of the original document and the content segments of the intermediate document to be upgraded need to be upgraded or not is judged through the unique identification; and the to-be-upgraded intermediate document DataEntry stores the names and ids of key features of the to-be-upgraded intermediate document.
4. The method for upgrading SaaS application specific format document content according to claim 1, wherein in the upgrading policy, if both the content segments of the original document and the content segments of the intermediate document to be upgraded determine that the upgrading is required, then:
for the newly added feature, directly generating a corresponding data segment of the target intermediate document;
for modifying the original feature, judging whether the content fragment of the intermediate document to be upgraded has a change relative to the current content in the SaaS application or not by reading the content fragment of the intermediate document to be upgraded, if the content fragment does not have the change, directly generating a target fragment of the upgrading feature through the content fragment of the original document, and directly replacing the content fragment of the original intermediate document to be upgraded to generate a corresponding data fragment of the target intermediate document; if the content changes, firstly generating a corresponding data segment of the target intermediate document according to the content segment of the original document; and comparing the modified content in the content segment of the intermediate document to be upgraded, and merging the modified content into the corresponding data segment of the target intermediate document.
5. A system for upgrading SaaS application specific format document content, comprising:
content reading analysis module: obtaining a content segment of the intermediate document to be upgraded by modifying the record; then, the content segments of the related original document are searched by combining the modified record with the original document DataEntry; judging whether upgrading is needed or not by combining the modification record, the content fragment of the original document and the content fragment of the intermediate document to be upgraded;
modifying the content queue: for storing content segments to be upgraded;
a content modification module: generating a content segment of the target intermediate document according to the upgrading strategy;
the modification record is an upgrade record related to the version in the upgrading process of the SaaS application; the original document DataEntry is data Map about the content fragment of the original document, which is reserved in the conversion process of the original document, and the names and ids of key features of the original document are stored.
6. The system for upgrading SaaS defined in claim 5, wherein the content reading analysis module comprises:
an identification unit: and recording a data module identifier to be upgraded in the local version upgrading of the SaaS application in the modification record, and reading and obtaining the content fragment of the intermediate document to be upgraded through the data module identifier.
7. The system for upgrading SaaS defined in claim 5, wherein the content reading analysis module further comprises:
upgrade judging unit: the unique identification of the upgrading feature is stored in the modification record, and the unique identification corresponds to an original document DataEntry and an intermediate document DataEntry to be upgraded, and whether the content segments of the original document and the content segments of the intermediate document to be upgraded need to be upgraded or not is judged through the unique identification; and the to-be-upgraded intermediate document DataEntry stores the names and ids of key features of the to-be-upgraded intermediate document.
8. The system for upgrading SaaS defined in claim 5, wherein the content modification module comprises:
an upgrade strategy unit: in the upgrading strategy, if the content segments of the original document and the content segments of the intermediate document to be upgraded are judged to be required to be upgraded, the method comprises the following steps: for the newly added feature, directly generating a corresponding data segment of the target intermediate document;
for modifying the original feature, judging whether the content of the intermediate document to be upgraded has a change relative to the current content in the SaaS application by reading the label of the content segment, if the content of the intermediate document does not change, directly generating a target segment of the upgrading feature through the content segment of the original document, and directly replacing the content segment of the original intermediate document to be upgraded to generate a corresponding data segment of the target intermediate document; if the content changes, firstly generating a corresponding data segment of the target intermediate document according to the content segment of the original document; and comparing the modified content in the content segment of the intermediate document to be upgraded, and merging the modified content into the corresponding data segment of the target intermediate document.
9. A computer readable storage medium storing a computer program for executing the method of upgrading SaaS application specific format document content according to any one of claims 1-4.
CN202310376718.XA 2023-04-11 2023-04-11 Method and system for upgrading content of SaaS application specific format document Active CN116108811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310376718.XA CN116108811B (en) 2023-04-11 2023-04-11 Method and system for upgrading content of SaaS application specific format document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310376718.XA CN116108811B (en) 2023-04-11 2023-04-11 Method and system for upgrading content of SaaS application specific format document

Publications (2)

Publication Number Publication Date
CN116108811A CN116108811A (en) 2023-05-12
CN116108811B true CN116108811B (en) 2023-08-11

Family

ID=86258246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310376718.XA Active CN116108811B (en) 2023-04-11 2023-04-11 Method and system for upgrading content of SaaS application specific format document

Country Status (1)

Country Link
CN (1) CN116108811B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159601A (en) * 2007-10-26 2008-04-09 上海华为技术有限公司 System, device and method for updating network element
IES20080236A2 (en) * 2008-03-28 2008-10-29 Careworks Technology Holding L A process for generating database-backed, web-based documents
US7581177B1 (en) * 2003-08-01 2009-08-25 Microsoft Corporation Conversion of structured documents
WO2017075594A1 (en) * 2015-10-29 2017-05-04 Datto, Inc. Apparatuses, methods, and systems for storage and analysis of saas data and non-saas data for businesses and other organizations
CN109921986A (en) * 2019-01-30 2019-06-21 长春市智慧城市科技有限公司 A kind of multi-protocol data cut-in method, device, intelligent gateway and storage medium
CN112000349A (en) * 2020-07-28 2020-11-27 山东浪潮易云在线科技有限公司 Data upgrading method, equipment and medium based on software as a service (SaaS)
CN113885924A (en) * 2021-12-07 2022-01-04 深圳市明源云科技有限公司 XML configuration file upgrading method and device and readable storage medium
CN114296771A (en) * 2021-12-28 2022-04-08 航天信息软件技术有限公司 Installation package increment upgrading method and device based on file comparison
WO2022095435A1 (en) * 2020-11-06 2022-05-12 深圳市爱云信息科技有限公司 Multilevel linkage management platform for aiot device accessing paas and saas
CN115374759A (en) * 2022-10-24 2022-11-22 天津联想协同科技有限公司 Online document editing area positioning method and device, server and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9003141B2 (en) * 2011-11-14 2015-04-07 Ca, Inc. Enhanced software application platform
US9817651B2 (en) * 2014-03-17 2017-11-14 Successfactors, Inc. Recommending updates to an instance in a SaaS model

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7581177B1 (en) * 2003-08-01 2009-08-25 Microsoft Corporation Conversion of structured documents
CN101159601A (en) * 2007-10-26 2008-04-09 上海华为技术有限公司 System, device and method for updating network element
IES20080236A2 (en) * 2008-03-28 2008-10-29 Careworks Technology Holding L A process for generating database-backed, web-based documents
WO2017075594A1 (en) * 2015-10-29 2017-05-04 Datto, Inc. Apparatuses, methods, and systems for storage and analysis of saas data and non-saas data for businesses and other organizations
CN109921986A (en) * 2019-01-30 2019-06-21 长春市智慧城市科技有限公司 A kind of multi-protocol data cut-in method, device, intelligent gateway and storage medium
CN112000349A (en) * 2020-07-28 2020-11-27 山东浪潮易云在线科技有限公司 Data upgrading method, equipment and medium based on software as a service (SaaS)
WO2022095435A1 (en) * 2020-11-06 2022-05-12 深圳市爱云信息科技有限公司 Multilevel linkage management platform for aiot device accessing paas and saas
CN113885924A (en) * 2021-12-07 2022-01-04 深圳市明源云科技有限公司 XML configuration file upgrading method and device and readable storage medium
CN114296771A (en) * 2021-12-28 2022-04-08 航天信息软件技术有限公司 Installation package increment upgrading method and device based on file comparison
CN115374759A (en) * 2022-10-24 2022-11-22 天津联想协同科技有限公司 Online document editing area positioning method and device, server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于SaaS模式的Y企业会计信息化升级优化研究;赵璐萍;《CNKI》(第10期);全文 *

Also Published As

Publication number Publication date
CN116108811A (en) 2023-05-12

Similar Documents

Publication Publication Date Title
EP3333704B1 (en) Method and apparatus for repairing kernel vulnerability
US8185872B2 (en) Cross-platform software package generation
US8806649B2 (en) Generating vulnerability reports based on application binary interface/application programming interface usage
US7984373B2 (en) EDI instance based transaction set definition
CN109359194B (en) Method and apparatus for predicting information categories
CN110851209B (en) Data processing method and device, electronic equipment and storage medium
US8650250B2 (en) Identifying compatible web service policies
CN112685433B (en) Metadata updating method and device, electronic equipment and computer-readable storage medium
CN101710282B (en) Method and device for realizing system support for multi-language resource
US20190087397A1 (en) Human-computer interaction method and apparatus thereof
US20140074894A1 (en) Format conversion of metadata associated with digital content
US20120290560A1 (en) Mechanism for efficiently querying application binary interface/application programming interface-related information
CN113138781B (en) CSV configuration updating method and storage medium
CN116383193A (en) Data management method and device, electronic equipment and storage medium
US10394551B2 (en) Managing kernel application binary interface/application programming interface-based discrepancies relating to kernel packages
CN116108811B (en) Method and system for upgrading content of SaaS application specific format document
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN109947431A (en) A kind of code generating method, device, equipment and storage medium
CN108694172B (en) Information output method and device
US20050267733A1 (en) System and method for a translation process within a development infrastructure
CN114968345A (en) Code processing method, system, computing device and storage medium
CN114817590A (en) Path storage method, path query method and device, medium and electronic equipment
CN111209075B (en) Multilingual interface maintenance method, system, storage medium and intelligent device
CN112988192A (en) Version updating method and device, electronic equipment and storage medium
US9720660B2 (en) Binary interface instrumentation

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