CN112446196A - File revision method, device and equipment - Google Patents

File revision method, device and equipment Download PDF

Info

Publication number
CN112446196A
CN112446196A CN202011150207.9A CN202011150207A CN112446196A CN 112446196 A CN112446196 A CN 112446196A CN 202011150207 A CN202011150207 A CN 202011150207A CN 112446196 A CN112446196 A CN 112446196A
Authority
CN
China
Prior art keywords
revision
attribute information
revised
information
target object
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
CN202011150207.9A
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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202011150207.9A priority Critical patent/CN112446196A/en
Publication of CN112446196A publication Critical patent/CN112446196A/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
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a file revision method, device and equipment. The method comprises the following steps: acquiring various attribute information contained in a plurality of configuration files and a plurality of object sets corresponding to the various attribute information; receiving revision information input by a user, wherein the revision information comprises attribute information to be revised and revision content of the attribute information to be revised; determining a target object corresponding to the attribute information to be revised from the plurality of object sets; and revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised, thereby efficiently revising a large batch of files.

Description

File revision method, device and equipment
Technical Field
The invention relates to the technical field of internet, in particular to a file revision method, device and equipment.
Background
Extensible Markup Language (XML) is a structured Markup Language, which has the advantages of simple syntax definition and constraint and easy expansion. In practical applications, an XML file may be used to describe related information of a product, such as a product name, a corresponding function that can be implemented, and attribute information of the product.
For example, a company uses an XML file to describe information about products produced by the company, and as time goes on, more and more products are produced, and more XML files are used to describe the products. At this time, if one attribute information needs to be modified to adapt to a plurality of products, manual revision needs to be performed on XML files corresponding to the plurality of products one by one, which is inefficient and prone to missing errors.
Disclosure of Invention
The embodiment of the invention provides a file revision method, a file revision device, equipment and a storage medium, so that a large batch of files can be efficiently revised.
In a first aspect, an embodiment of the present invention provides a file revision method, where the method includes:
acquiring various attribute information contained in a plurality of configuration files and a plurality of object sets corresponding to the various attribute information;
receiving revision information input by a user, wherein the revision information comprises attribute information to be revised and revision content of the attribute information to be revised;
determining a target object corresponding to the attribute information to be revised from the plurality of object sets;
and revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised.
In a second aspect, an embodiment of the present invention provides a file revision apparatus, including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring various attribute information contained in a plurality of configuration files and a plurality of object sets corresponding to the various attribute information;
the system comprises a receiving module, a judging module and a display module, wherein the receiving module is used for receiving revision information input by a user, and the revision information comprises attribute information to be revised and revision content of the attribute information to be revised;
the determining module is used for determining a target object corresponding to the attribute information to be revised from the plurality of object sets;
and the revision module is used for revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised.
In a third aspect, an embodiment of the present invention provides an electronic device, including: the device comprises a memory, a processor, a communication interface and a display screen; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to implement at least the file revision method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to implement at least the file revision method according to the first aspect.
In the embodiment of the invention, a plurality of types of attribute information contained in a plurality of configuration files and a plurality of object sets corresponding to the plurality of types of attribute information are obtained; the method comprises the steps that an object corresponds to at least one configuration file in a plurality of configuration files, revision information input by a user is received, the revision information comprises attribute information to be revised and revision content of the attribute information to be revised, the attribute information to be revised comprises attributes of the object corresponding to the configuration files and corresponding attribute values, and the revision content of the attribute information to be revised comprises the corresponding attribute values after the attribute values are revised; furthermore, a target object corresponding to the attribute information to be revised is determined from the plurality of object sets, so that the configuration file corresponding to the target object is revised according to the attribute information to be revised and the revision content of the attribute information to be revised, and the configuration files corresponding to the target object can be revised efficiently.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
FIG. 1 is a flow chart of a file revision method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a file revision method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a scenario in which multiple configuration files are stored according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another scenario for storing multiple configuration files according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a file revision device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device corresponding to the file revision apparatus provided in the embodiment shown in fig. 5.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
Before describing the file revision method provided by the embodiment of the present invention, the problem of file revision currently performed is exemplarily described: generally, some companies will use XML files to describe the attribute information of products, and whenever a product is added or the attribute information of some products is modified, at least one XML file is manually added or the existing XML file set corresponding to the newly added or modified content is revised to perform adaptation, so as to ensure the normal operation of product production. However, with the increasing of the number of products or the continuous modification of the attribute information of the products, a huge number of XML file sets may be formed, and when the XML files need to be managed subsequently, the XML file sets need to be managed by manual comparison.
The following describes the implementation of the file revision method provided herein, in conjunction with some of the following embodiments.
Fig. 1 is a flowchart of a file revision method according to an embodiment of the present invention, and as shown in fig. 1, the file revision method may include the following steps:
101. acquiring multiple kinds of attribute information contained in multiple configuration files and multiple object sets corresponding to the multiple kinds of attribute information.
Wherein, the configuration files are used for describing a plurality of objects, each object needs at least one configuration file for description, optionally, the object includes at least one of the following items: the product corresponding to the configuration file and the components included in the product corresponding to the configuration file.
For example, a computer is a product, which includes a plurality of components such as a mouse, a keyboard, a display screen, and a case. Correspondingly, each time a product or component is added, at least one configuration file is added for adaptation.
Wherein the plurality of attribute information includes: and describing a plurality of attributes and corresponding attribute values of the product corresponding to the configuration file.
Alternatively, one attribute information may correspond to a plurality of objects, that is, one attribute information corresponds to one object set, and correspondingly, the plurality of attribute information corresponds to a plurality of object sets.
Optionally, the obtaining of the at least one attribute information included in any one of the plurality of configuration files and the object set corresponding to the at least one attribute information may be implemented as:
analyzing any configuration file in a plurality of configuration files, wherein the configuration file comprises a plurality of node information describing products corresponding to the configuration file, and the node information comprises at least one of the following items: components, attributes, descriptions, references, global capabilities, global paths, filenames;
determining values corresponding to the node information in the configuration file based on the node information and the configuration file;
and storing the node information according to the plurality of node information and the corresponding values of the node information in the configuration file as subsequent reference data.
Determining at least one attribute information from a plurality of node information, wherein the at least one attribute information comprises at least one component field information corresponding to the at least one attribute information;
and determining at least one component corresponding to at least one attribute information based on the at least one component field information, wherein the at least one attribute information is understood to also correspond to the product corresponding to the configuration file.
And determining an object set corresponding to at least one attribute information based on the product and the at least one component.
And determining a plurality of types of attribute information contained in the plurality of configuration files and a plurality of object sets corresponding to the plurality of types of attribute information based on the manner of determining at least one type of attribute information contained in any one of the plurality of configuration files and the object set corresponding to the at least one type of attribute information.
102. Revision information input by a user is received.
The revision information comprises attribute information to be revised and revision content of the attribute information to be revised.
103. And determining a target object corresponding to the attribute information to be revised from the plurality of object sets.
Optionally, the attribute information to be revised is included in the multiple kinds of attribute information, where the multiple kinds of attribute information have identifiers of at least one object corresponding to the multiple kinds of attribute information, and after the attribute information to be revised is determined from the multiple kinds of attribute information, a target object corresponding to the attribute information to be revised is determined according to the identifier of the at least one object corresponding to the attribute information to be revised.
104. And revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised.
Specifically, the target object corresponding to the attribute information to be revised is revised according to the attribute information to be revised and the revision content of the attribute information to be revised, and correspondingly, the target object may be a set of at least one target file corresponding to the attribute information to be revised.
In the embodiment of the invention, a plurality of kinds of attribute information contained in a plurality of configuration files and object sets corresponding to the plurality of kinds of attribute information are obtained; the object corresponds to at least one configuration file in the plurality of configuration files, revision information input by a user is received, the revision information comprises attribute information to be revised and revision content of the attribute information to be revised, the attribute information to be revised comprises attributes of the object corresponding to the configuration files and corresponding attribute values, and the revision content of the attribute information to be revised comprises the corresponding attribute values after the attribute values are revised; furthermore, a target object corresponding to the attribute information to be revised is determined from the object set, so that the configuration file corresponding to the target object is revised according to the revision information, and the multiple configuration files corresponding to the target object are revised efficiently.
For describing the specific process of how to receive revision information in detail, fig. 2 is a flowchart of a file revision method according to an embodiment of the present invention, and as shown in fig. 2, the file revision method may include the following steps:
201. and determining a target revision template selected by a user from a plurality of preset revision templates corresponding to the plurality of revision behaviors one by one.
The revision behavior includes any one of: an act of adding attribute information, an act of modifying attribute information, and an act of deleting attribute information.
Correspondingly, the input rule of the revision template corresponding to the behavior of modifying the attribute information comprises: the inputted revision information includes at least one of: attribute information to be revised, and revision content of the attribute information to be revised.
The input rules corresponding to the revision template corresponding to the behavior of adding the attribute information and the behavior of deleting the attribute information include: the inputted revision information includes: revision contents of the attribute information to be revised.
202. And visually displaying the various attribute information and the object sets corresponding to the various attribute information so that a user selects attribute information to be revised from the displayed various attribute information, and inputting the information to be revised and revision content of the attribute information to be revised in a target revision template.
Optionally, after the plurality of configuration files are analyzed, the plurality of attribute information and the plurality of object sets corresponding to the plurality of attribute information are displayed in a visualized manner, so that a user selects attribute information to be revised in the plurality of attribute information, and inputs the information to be revised and revised content information of the attribute information to be revised in the target revision template.
For convenience of understanding, fig. 3 is a scene schematic diagram for storing multiple configuration files according to an embodiment of the present invention, as shown in fig. 3, products corresponding to certain four configuration files are a computer 1, a computer 2, a display screen 1 and a display screen 2, the four configuration files are analyzed, multiple node information of the configuration files is determined, for convenience of description, in fig. 3, three attributes of "width of display screen", "color of mouse", and "color of keyboard" in component and attribute information and corresponding values are exemplarily shown, a storage manner of reference data in fig. 3 is to use multiple node information as a row, and a table is generated by using configuration files as columns, so as to store the configuration files. It should be noted that, because the product granularity of the display screen is small, the configuration files corresponding to the display screen 1 and the display screen 2 do not include the node information of the component.
Further, fig. 4 is a schematic view of another scenario in which a plurality of configuration files are stored, where after at least one attribute information of a plurality of node information is determined, as shown in fig. 3, an exemplary display screen width is shown: 30 cm "," mouse color: black "," keyboard color: black three attribute information, taking the attribute information as a row and the corresponding target object as a column, forming a table to store the configuration file, wherein the node information is' width of display screen: the target objects corresponding to 30 cm are the computer 2 and the display screen 2, and the node information is the color of the mouse: the black corresponding target object is the computer 1, so that the user can select the attribute information to be revised from the displayed multiple kinds of attribute information, and the information to be revised and the revision content of the attribute information to be revised are input in the target revision template.
It should be noted that, in a case where data of the object set is large, the attribute information that the user wants to revise and the at least one object corresponding to the attribute information are conveniently and quickly located by the user. Optionally, the manner for the user to select the attribute information to be revised from the displayed multiple kinds of attribute information and to select the target object from the object set corresponding to the attribute information to be revised may be implemented as follows:
after the multiple attribute information and the object sets corresponding to the multiple attribute information contained in the multiple configuration files are respectively obtained, according to the corresponding relation between the multiple attribute information and the object sets, the multiple attribute information and the object sets are stored in a server, and a query page related to the server is provided, wherein the query page comprises at least one item of the following items: an input control and an inquiry control.
And displaying at least one object corresponding to the attribute information based on the attribute information input by the user and responding to the touch operation of the user on the query control, so that the user can select at least one target object needing to be revised subsequently in the plurality of objects.
203. And receiving the information to be revised and the revision content of the attribute information to be revised, which are input by a user in the target revision template.
Optionally, the receiving of the information to be revised selected by the user and the revision content of the attribute information to be revised, which are input by the user in the target revision template, may be implemented as follows:
displaying a template page, the template page comprising: a plurality of revision templates;
in response to a selection operation for a target revision template of the plurality of revision templates, displaying an edit page of the target revision template, the edit page including: the input rule corresponding to the target revision template is convenient for the user to input corresponding revision information according to the input rule;
further, revision information input by the user in the target revision template is received.
And generating a revision file revised for the target object in the revision information according to the target template and the revision information input by the user.
It should be noted that, because it cannot be guaranteed that the revision information input by the user can completely conform to the input rule of the target revision template, optionally, before revising the configuration file corresponding to the target object according to the revision information, the method further includes:
checking the validity of the revision information;
the checking the validity of the revision information includes:
checking whether the attribute information to be revised and the target object conform to a preset input rule or not;
if the attribute information to be revised and the target object are checked to be in accordance with the preset input rule, determining that the revision information passes the validity check;
and if the attribute information to be revised and the target object are not in accordance with the preset input rule, determining that the revision information does not pass the validity check.
Specifically, the format of the revision file may be any one of the following: json file format (JavaScript Object Notation), JS Object Notation), XML file format.
Optionally, the validity check of the revision information may be implemented as:
determining a target data format of a revision file corresponding to the target revision template;
checking whether the attribute information to be revised and the data format of the target object are consistent with the target data format according to the target data format;
if the revision information does not pass the validity check, namely the attribute information to be revised and the data format of the target object are inconsistent with the target data format, outputting prompt information, wherein the prompt information is used for indicating a user to input the revision information again;
and if the revision information passes the validity check, executing a step of revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised.
Correspondingly, the target object comprises identification information of a configuration file corresponding to the target object, and the identification information is used for indicating the configuration file corresponding to the target object, so that after the configuration file of the target object is determined, the configuration file indicated by the identification information is revised according to revision information in the revision file.
Further, in order to ensure that the revised content can complete the corresponding revision effect, after the configuration file corresponding to the target object is revised according to the revision file, the method further includes:
displaying a revision result of the configuration file corresponding to the target object;
creating a virtual application environment corresponding to the target object;
and executing the revision result of the configuration file corresponding to the target object in the virtual application environment.
Specifically, after revision is completed, a revision page is displayed, the revision page including: and the revision result is used for indicating the revision contents of the plurality of configuration files corresponding to the target object so that the user can check the revision contents, thereby determining whether the revision contents are wrong.
In the embodiment of the invention, by visually displaying the various attribute information and the object sets corresponding to the various attribute information, so that the user can select the attribute information to be revised from the displayed multiple kinds of attribute information and select the target object from the object set corresponding to the attribute information to be revised, then, receiving revision information inputted by a user based on an input rule corresponding to the target revision template and the target revision template, generating a corresponding revision file, checking whether the inputted revision information passes a validity check, in the case of passing the validity check, the target file is revised based on the revision information in the revision file, and further, the revision result is determined to meet the requirements of the user by displaying the revision result and executing the revision result in the virtual application environment provided by the server, so that the target file can be revised accurately and efficiently.
The file revision device according to one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these file revision devices may be constructed using commercially available hardware components configured by the steps taught by the present solution.
Fig. 5 is a schematic structural diagram of a file revision device according to an embodiment of the present invention, as shown in fig. 5, the device includes: the system comprises an acquisition module 11, a receiving module 12, a determining module 13 and a revising module 14.
The obtaining module 11 is configured to obtain multiple types of attribute information included in multiple configuration files and multiple object sets corresponding to the multiple types of attribute information.
The receiving module 12 is configured to receive revision information input by a user, where the revision information includes attribute information to be revised and revision content of the attribute information to be revised.
And the determining module 13 is configured to determine a target object corresponding to the attribute information to be revised from the plurality of object sets.
And the revision module 14 is configured to revise the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised.
Optionally, the receiving module 13 is specifically configured to:
determining a target revision template selected by the user from a plurality of preset revision templates corresponding to a plurality of revision behaviors one by one;
visually displaying the multiple kinds of attribute information and object sets corresponding to the multiple kinds of attribute information to enable the user to select the attribute information to be revised from the displayed multiple kinds of attribute information, and inputting the information to be revised and revision content of the attribute information to be revised in the target revision template;
and receiving the information to be revised and the revision content of the attribute information to be revised, which are input by the user in the target revision template.
Optionally, the revision module 14 is specifically configured to:
checking the validity of the revision information;
and if the revision information passes the validity check, executing the step of revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised.
Optionally, the revision module 14 is further specifically configured to:
checking whether the attribute information to be revised and the target object conform to a preset input rule or not;
if the revision information is checked to be in accordance with the preset input rule, determining that the revision information passes the validity check;
and if the revision information does not conform to the preset input rule, determining that the revision information does not pass the validity check.
The apparatus shown in fig. 5 can execute the file revision method provided in the foregoing embodiments shown in fig. 1 to fig. 2, and the detailed execution process and technical effect are described in the foregoing embodiments and will not be described herein again.
In one possible design, the structure of the file revision device shown in fig. 5 described above may be implemented as an electronic device, such as an electronic device integrated with a file revision service. As shown in fig. 6, the electronic device may include: a processor 21, a memory 22, and a communication interface 23. Wherein the memory 22 has stored thereon executable code which, when executed by the processor 21, causes the processor 21 to implement at least the file revision method as provided in the embodiments of fig. 1-2 described above.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which, when executed by a processor of an electronic device, causes the processor to implement at least the file revision method provided in the foregoing embodiments shown in fig. 1 to 2.
The above-described apparatus embodiments are merely illustrative, wherein the units described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of file revision, the method comprising:
acquiring various attribute information contained in a plurality of configuration files and a plurality of object sets corresponding to the various attribute information;
receiving revision information input by a user, wherein the revision information comprises attribute information to be revised and revision content of the attribute information to be revised;
determining a target object corresponding to the attribute information to be revised from the plurality of object sets;
and revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised.
2. The method of claim 1, wherein receiving user-entered revision information comprises:
determining a target revision template selected by the user from a plurality of preset revision templates corresponding to a plurality of revision behaviors one by one;
visually displaying the multiple kinds of attribute information and object sets corresponding to the multiple kinds of attribute information to enable the user to select the attribute information to be revised from the displayed multiple kinds of attribute information, and inputting the information to be revised and revision content of the attribute information to be revised in the target revision template;
and receiving the information to be revised and the revision content of the attribute information to be revised, which are input by the user in the target revision template.
3. The method according to claim 1, wherein before revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised, the method further comprises:
checking the validity of the revision information;
and if the revision information passes the validity check, executing the step of revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised.
4. The method of claim 3, wherein the checking the validity of the revision information comprises:
checking whether the attribute information to be revised and the target object conform to a preset input rule or not;
if the attribute information to be revised and the target object are checked to be in accordance with the preset input rule, determining that the revision information passes the validity check;
and if the attribute information to be revised and the target object are not in accordance with the preset input rule, determining that the revision information does not pass the validity check.
5. The method of claims 1-4, further comprising:
creating a virtual application environment corresponding to the target object;
and executing the revision result of the configuration file corresponding to the target object in the virtual application environment.
6. A file revision apparatus, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring various attribute information contained in a plurality of configuration files and a plurality of object sets corresponding to the various attribute information;
the system comprises a receiving module, a judging module and a display module, wherein the receiving module is used for receiving revision information input by a user, and the revision information comprises attribute information to be revised and revision content of the attribute information to be revised;
the determining module is used for determining a target object corresponding to the attribute information to be revised from the plurality of object sets;
and the revision module is used for revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised.
7. The apparatus of claim 6, wherein the receiving module is specifically configured to:
determining a target revision template selected by the user from a plurality of preset revision templates corresponding to a plurality of revision behaviors one by one;
visually displaying the multiple kinds of attribute information and object sets corresponding to the multiple kinds of attribute information to enable the user to select the attribute information to be revised from the displayed multiple kinds of attribute information, and inputting the information to be revised and revision content of the attribute information to be revised in the target revision template;
and receiving the information to be revised and the revision content of the attribute information to be revised, which are input by the user in the target revision template.
8. The apparatus of claim 6, wherein the revision module is specifically configured to:
checking the validity of the revision information;
and if the revision information passes the validity check, executing the step of revising the configuration file corresponding to the target object according to the attribute information to be revised and the revision content of the attribute information to be revised.
9. The apparatus of claim 8, wherein the revision module is further specifically configured to:
checking whether the attribute information to be revised and the target object conform to a preset input rule or not;
if the attribute information to be revised and the target object are checked to be in accordance with the preset input rule, determining that the revision information passes the validity check;
and if the attribute information to be revised and the target object are not in accordance with the preset input rule, determining that the revision information does not pass the validity check.
10. An electronic device, comprising: the device comprises a memory, a processor, a communication interface and a display screen; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to carry out the file revision method according to any one of claims 1 to 5.
CN202011150207.9A 2020-10-23 2020-10-23 File revision method, device and equipment Pending CN112446196A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011150207.9A CN112446196A (en) 2020-10-23 2020-10-23 File revision method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011150207.9A CN112446196A (en) 2020-10-23 2020-10-23 File revision method, device and equipment

Publications (1)

Publication Number Publication Date
CN112446196A true CN112446196A (en) 2021-03-05

Family

ID=74736650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011150207.9A Pending CN112446196A (en) 2020-10-23 2020-10-23 File revision method, device and equipment

Country Status (1)

Country Link
CN (1) CN112446196A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1406181A2 (en) * 2002-10-02 2004-04-07 K-Plex Inc. Document revision support
CN101908039A (en) * 2010-06-29 2010-12-08 北京科技大学 Report template customizing system
CN103995813A (en) * 2013-02-20 2014-08-20 中国银联股份有限公司 Method and system for generating electronic bill template
CN106933888A (en) * 2015-12-31 2017-07-07 北京城市网邻信息技术有限公司 Database configuration management system
CN109597796A (en) * 2018-10-23 2019-04-09 平安科技(深圳)有限公司 File content amending method, device and computer readable storage medium
CN110188337A (en) * 2019-06-05 2019-08-30 中国联合网络通信集团有限公司 Revise mask method, device, equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1406181A2 (en) * 2002-10-02 2004-04-07 K-Plex Inc. Document revision support
CN101908039A (en) * 2010-06-29 2010-12-08 北京科技大学 Report template customizing system
CN103995813A (en) * 2013-02-20 2014-08-20 中国银联股份有限公司 Method and system for generating electronic bill template
CN106933888A (en) * 2015-12-31 2017-07-07 北京城市网邻信息技术有限公司 Database configuration management system
CN109597796A (en) * 2018-10-23 2019-04-09 平安科技(深圳)有限公司 File content amending method, device and computer readable storage medium
CN110188337A (en) * 2019-06-05 2019-08-30 中国联合网络通信集团有限公司 Revise mask method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US8601438B2 (en) Data transformation based on a technical design document
US20160062963A1 (en) Synchronizing DOM Element References
US20130263089A1 (en) Generating test cases for functional testing of a software application
US9471211B2 (en) Chaining applications
US11128721B2 (en) Action flow fragment management
CN110647322B (en) List rendering method and device, electronic equipment and computer readable medium
CN107943466B (en) Database access statement generation method, device and equipment
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
US20160162539A1 (en) Computer executable method of generating analysis data and apparatus performing the same and storage medium for the same
CN115599386A (en) Code generation method, device, equipment and storage medium
CN113535587B (en) Target application detection method and device and computer equipment
US20240020350A1 (en) Method and system for navigation control
US20160132552A1 (en) Odata custom query composer
US10445290B1 (en) System and method for a smart configurable high performance interactive log file viewer
CN115469849B (en) Service processing system, method, electronic equipment and storage medium
US9152388B2 (en) Tailored language sets for business level scripting
CN112446196A (en) File revision method, device and equipment
CN115033436A (en) Page testing method and device, electronic equipment and storage medium
CN111475156B (en) Page code generation method and device, electronic equipment and storage medium
US10007493B1 (en) Event based validation
US20200341973A1 (en) Template Search System and Template Search Method
CN110147477B (en) Data resource modeling extraction method, device and equipment of Web system
CN110045961B (en) Management method and management platform of business rules
US11340918B2 (en) Knowledge engine auto-generation of guided flow experience
CN116755684B (en) OAS Schema generation method, device, equipment and medium

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