CN114022103A - Data processing method and device, electronic equipment and readable storage medium - Google Patents

Data processing method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114022103A
CN114022103A CN202111248997.9A CN202111248997A CN114022103A CN 114022103 A CN114022103 A CN 114022103A CN 202111248997 A CN202111248997 A CN 202111248997A CN 114022103 A CN114022103 A CN 114022103A
Authority
CN
China
Prior art keywords
file
standard
target file
target
correspondence
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
CN202111248997.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.)
Borui Shangge Technology Co ltd
Original Assignee
Borui Shangge Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Borui Shangge Technology Co ltd filed Critical Borui Shangge Technology Co ltd
Priority to CN202111248997.9A priority Critical patent/CN114022103A/en
Publication of CN114022103A publication Critical patent/CN114022103A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • G06F16/1794Details of file format conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Abstract

The embodiment of the application provides a data processing method and device, electronic equipment and a readable storage medium, and relates to the technical field of computers. According to the method and the device for converting the target file, the converted process of the target file can be independent, so that the converted process of the target file is not bound with the corresponding application program, when a new standard appears, only the corresponding conversion relation needs to be set in the identification standard configuration library, and the import program of the application program does not need to be modified, so that the difficulty of standard conversion of the target file can be reduced through the method and the device, and the time for modifying the import program is saved.

Description

Data processing method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method and apparatus, an electronic device, and a readable storage medium.
Background
At present, with the development of computer technology, digital office has become the mainstream working mode. In the process of digital office work, because the processing standards of data are different between users, when one user receives a data file sent by other users, the data file needs to be standardized and identified.
For example, user A derives a standard X data file using an application program, and sends the standard X data file to user B. After the user B receives the data file of the standard X, if the application program used by the user B is a program for processing the data file of the standard Y, the user B needs to first develop a standard conversion program for the standard X, and then convert the data file of the standard X into the data file of the standard Y through the standard conversion program, so as to read the data file after the standard conversion.
The standard conversion program needs professional personnel to develop and test, and the development and test of the standard conversion program needs high cross-professional skills and needs a plurality of professional personnel to spend a great deal of time for communication, development and test. Therefore, how to simply and efficiently process data files with different standards is a problem which needs to be solved urgently.
Disclosure of Invention
In view of this, embodiments of the present application provide a data processing method, an apparatus, an electronic device, and a readable storage medium, so as to improve efficiency of processing data files of different standards.
In a first aspect, a data processing method is provided, where the method is applied to an electronic device, and the method includes:
acquiring a first target file, wherein the first target file at least comprises a model or a drawing made based on a first standard;
standard conversion is carried out on the first target file based on a standard corresponding relation pre-stored in an identification standard configuration library, a second target file is determined, the second target file at least comprises a model or a drawing made based on a second standard, and the standard corresponding relation comprises a conversion rule between different standards; and
and outputting the second target file.
In some embodiments, the method further comprises:
generating a standard correspondence based on the first and second criteria in response to a correspondence configuration request; and
and storing the standard corresponding relation to the identification standard configuration library.
In some embodiments, the method further comprises:
and storing the second target file to a target database, wherein the target database comprises at least one second target file.
In some embodiments, the method further comprises:
receiving a file calling request, wherein the file calling request at least comprises a file identifier;
determining a second target file corresponding to the file identifier in the target database according to the file identifier in the file calling request; and
and sending a second target file corresponding to the file calling request.
In some embodiments, the method further comprises:
receiving a file updating request, wherein the file updating request at least comprises a file identifier and an updating instruction;
determining a second target file corresponding to the file identifier in the target database according to the file identifier in the file updating request; and
and executing an updating operation on a second target file corresponding to the file identification based on the updating instruction.
In some embodiments, the first target file is a json file output by a Revit application.
In some embodiments, the standard correspondence includes at least one of a model floor marking correspondence of different standards, a component type correspondence of different standards, an equipment attribute correspondence of different standards, and a name correspondence of different standards.
In a second aspect, a data processing apparatus is provided, where the apparatus is applied to an electronic device, and the method includes:
the acquisition module is used for acquiring a first target file, wherein the first target file at least comprises a model or a drawing made based on a first standard;
the standard conversion module is used for performing standard conversion on the first target file based on a standard corresponding relation pre-stored in an identification standard configuration library to determine a second target file, wherein the second target file at least comprises a model or a drawing made based on a second standard, and the standard corresponding relation comprises a conversion rule between different standards; and
and the output module is used for outputting the second target file.
In some embodiments, the apparatus further comprises:
a generating module, configured to generate a standard correspondence based on the first standard and the second standard in response to a correspondence configuration request; and
and the first storage module is used for storing the standard corresponding relation to the identification standard configuration library.
In some embodiments, the apparatus further comprises:
and the second storage module is used for storing the second target file to a target database, and the target database comprises at least one second target file.
In some embodiments, the apparatus further comprises:
the first receiving module is used for receiving a file calling request, wherein the file calling request at least comprises a file identifier;
a first determining module, configured to determine, according to a file identifier in the file call request, a second target file corresponding to the file identifier in the target database; and
and the sending module is used for sending a second target file corresponding to the file calling request.
In some embodiments, the apparatus further comprises:
the second receiving module is used for receiving a file updating request, wherein the file updating request at least comprises a file identifier and an updating instruction;
a second determining module, configured to determine, according to a file identifier in the file update request, a second target file corresponding to the file identifier in the target database; and
and the updating module is used for executing updating operation on the second target file corresponding to the file identifier based on the updating instruction.
In some embodiments, the first target file is a json file output by a Revit application.
In some embodiments, the standard correspondence includes at least one of a model floor marking correspondence of different standards, a component type correspondence of different standards, an equipment attribute correspondence of different standards, and a name correspondence of different standards.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, where the memory is used to store one or more computer program instructions, where the one or more computer program instructions are executed by the processor to implement the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium on which computer program instructions are stored, which when executed by a processor implement the method according to the first aspect.
In this embodiment of the application, the electronic device may receive the first object file, and then perform standard conversion on the first object file based on a standard correspondence pre-stored in the identification standard configuration library to obtain a second object file. According to the method and the device for converting the target file, the converted process of the target file can be independent, so that the converted process of the target file is not bound with the corresponding application program, when a new standard appears, only the corresponding conversion relation needs to be set in the identification standard configuration library, and the import program of the application program does not need to be modified, so that the difficulty of standard conversion of the target file can be reduced through the method and the device, and the time for modifying the import program is saved.
Drawings
The foregoing and other objects, features and advantages of the embodiments of the present application will be apparent from the following description of the embodiments of the present application with reference to the accompanying drawings in which:
FIG. 1 is a schematic diagram of a data processing system according to an embodiment of the present application;
FIG. 2 is a flow chart of a data processing method according to an embodiment of the present application;
FIG. 3 is a flowchart of a standard conversion process according to an embodiment of the present application;
FIG. 4 is a flow chart of another data processing method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application is described below based on examples, but the present application is not limited to only these examples. In the following detailed description of the present application, certain specific details are set forth in detail. It will be apparent to one skilled in the art that the present application may be practiced without these specific details. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present application.
Further, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
In order to solve the above problem, embodiments of the present application provide a data processing system, which can separate the export and identification processes of a target file, so that the identification process of the target file is independent of the corresponding application program itself.
Specifically, as shown in fig. 1, fig. 1 is a schematic diagram of a data processing system according to an embodiment of the present application, where the data processing system includes: electronic device 11 and electronic device 12, wherein electronic device 11 includes application 111 therein, and electronic device 12 includes standard conversion program 121 and identification standard configuration library 122 therein.
The application 111 may be an application for model drawing or an application for drawing, and the application 111 may include the derivation program 1111.
In addition, as shown in fig. 1, the application 111, the standard conversion program 121, and the identification standard configuration library 122 may be respectively disposed in different electronic devices, for example, the application 111 may be disposed in the electronic device 11, the standard conversion program 121 and the identification standard configuration library 122 may be disposed in the electronic device 12, the electronic device may be a terminal or a server, the terminal may be a smartphone, a tablet Computer, or a Personal Computer (PC), and the like, and the server may be a single server, a server cluster configured in a distributed manner, or a cloud server.
In the data processing system shown in fig. 1, during data processing, the electronic device 11 may receive a file creation instruction, generate an a-standard object file 112 based on the file creation instruction and the application 111, and then the electronic device 11 may output the a-standard object file 112 through the export program 1111.
The file creation instruction may be an instruction input by a user to the electronic device 11 through an input device, for example, the user may input a specific instruction to the electronic device 11 through a peripheral such as a mouse, a keyboard, a tablet, or the like, so that the electronic device 11 may control the application 111 in the electronic device 11 to perform a corresponding operation according to the input instruction and generate the a-standard target file 112.
After the export program 1111 outputs the a-standard object file 112, the electronic device 12 provided with the standard conversion program 121 may receive the a-standard object file 112 by means of data transmission (e.g., internet data transmission, bluetooth data transmission, data line transmission, a usb disk, etc.).
Then, the electronic device 12 may perform standard conversion on the a-standard object file 112 based on the standard conversion program 121 and the identification standard configuration library 122 to obtain a B-standard object file 123.
In the embodiment of the present application, the electronic device 11 provided with the application 111 may be used to export the a-standard object file 112, and the electronic device 12 provided with the standard conversion program 121 may be used to convert the a-standard object file 112 into the B-standard object file 123. That is to say, through the embodiment of the present application, a process of exporting a target file and a process of converting the target file can be separated, so that the process of converting the target file is not bound to a corresponding application program, when a new standard occurs, only a corresponding conversion relationship needs to be set in the identification standard configuration library 122, and modification of an import program of the application program is not needed, so that difficulty in standard conversion of the target file can be reduced through the embodiment of the present application, and time for modifying the import program is saved.
A data processing method provided in the embodiments of the present application will be described in detail below with reference to specific embodiments, as shown in fig. 2, the specific steps are as follows:
in step 21, a first target file is obtained.
The first target file at least comprises a model or drawing made based on a first standard.
In practical applications, different users have different file creation standards, for example, for different enterprises, the standard for enterprise a to create a file is X, and the standard for enterprise B to create a file is Y, so if enterprise B sends the created file to enterprise a, enterprise a needs to convert the received file with the X standard into a file with the Y standard.
It can be seen that, in step 21, the first target file produced based on the first standard may be a target file sent by another user, and after the electronic device receives the first target file, the standard conversion may be performed on the first target file.
In step 22, the first target file is subjected to standard conversion based on the standard correspondence pre-stored in the recognition standard configuration library, and a second target file is determined.
The second target file at least comprises a model or drawing made based on a second standard, and the standard corresponding relation comprises conversion rules among different standards.
In the above example, the second standard may be a standard applicable to the electronic device, and the second object file is the first object file after the standard conversion.
Specifically, as shown in fig. 3, fig. 3 is a flowchart of a standard conversion process according to an embodiment of the present application.
After the electronic device receives the first object file 31, a first criterion corresponding to the first object file 31 may be determined. Then, the conversion rules 33 of the first standard and the second standard are determined in the recognition standard configuration library 32. The electronic device may then perform a standard transformation on the first object file 31 based on transformation rules 33 of the first and second criteria to determine a second object file 34.
It should be noted that, compared with the second object file 34, the first object file 31 and the second object file 34 have substantially the same contents, but the production standard thereof is changed. For example, the first object file 31 and the second object file 34 are modeling files of a certain building a. In the first object file 31, the floor of the building a model is marked as a mark of the saga standard, the naming rule of the component or equipment type configured in the building a model is X, and the naming rule of the pipeline configured in the building a model is Y. In the second object file 34, the floor of the building a model is marked as the marking of the Wanda standard, the naming rule of the component or equipment type configured in the building a model is X, and the naming rule of the pipe configured in the building a model is Y.
Among them, the saga standard and the Wanda standard are standards used when modeling for a building.
Further, when the first object file 31 is subjected to standard conversion based on the conversion rules 33 of the first standard and the second standard, the floor mark of the building a model can be converted from the saga standard to the Wanda standard, and since the naming rule of the component, equipment, and pipe type configured in the building a model is not changed, the naming rule of the component, equipment, and pipe type configured in the building a model does not need to be converted.
It should be noted that, in practical applications, items that need to convert the standard are not limited to the above examples, and may also include, for example, a naming standard of a room/space in the model, a standard of a device attribute in the model, a naming standard of a model stage, a standard of a size in the model, and the like, which is not described herein again in this embodiment of the application.
It can be seen that when the electronic device performs the standard conversion on the first object file 31, the electronic device may perform the standard conversion only on a part of the standards, and certainly, if all items corresponding to the first standard and the second standard are different, the electronic device performs the standard conversion on the first object file 31, the electronic device needs to perform the standard conversion on all the standards.
Based on the above embodiment, in a preferred implementation, the first object file may be a json file output by a Revit application, that is, the first object file may be a model file output by a modeling application.
The Revit application program is the name of a series of software, and the Revit series software is specially constructed for the building information model, so that the Revit application program can help an architectural designer to design, build and maintain a building with better quality and higher energy efficiency. json is a lightweight data exchange format. It stores and represents data in a text format that is completely independent of the programming language. The compact and clear hierarchy makes json an ideal data exchange language. The network transmission method is easy to read and write by people, is easy to analyze and generate by machines, and effectively improves the network transmission efficiency.
Further, on the premise that the first target file is a json file output by the Revit application, the standard correspondence may include at least one of a model floor mark correspondence of different standards, a component type correspondence of different standards, an equipment attribute correspondence of different standards, and a name correspondence of different standards.
In addition, it should be noted that the above embodiment is described by taking a model file as an example, in the embodiment of the present application, the standard conversion may also be performed on a drawing file (for example, a two-dimensional engineering drawing), and a standard conversion process on the drawing file is similar to that of the model file, which is not described herein again in this embodiment of the present application.
In step 23, the second object file is output.
In this embodiment of the application, the electronic device may receive the first object file, and then perform standard conversion on the first object file based on a standard correspondence pre-stored in the identification standard configuration library to obtain a second object file. According to the method and the device for converting the target file, the converted process of the target file can be independent, so that the converted process of the target file is not bound with the corresponding application program, when a new standard appears, only the corresponding conversion relation needs to be set in the identification standard configuration library, and the import program of the application program does not need to be modified, so that the difficulty of standard conversion of the target file can be reduced through the method and the device, and the time for modifying the import program is saved.
In a preferred embodiment, the process of determining the standard correspondence may be performed as: in response to the correspondence configuration request, a standard correspondence is generated based on the first standard and the second standard, and then the standard correspondence is stored to the identification standard configuration library.
The standard correspondence may be a table-form correspondence table.
In an embodiment of the application, the second criterion may be used to characterize a criterion local to the electronic device, that is, a target criterion in a criterion conversion process. The first criterion may be a criterion for characterizing the first object file.
When a new standard corresponding relation needs to be established, the electronic device may generate a new standard corresponding relation according to the corresponding relation between the first standard and the second standard and store the new standard corresponding relation in the identification standard configuration library. When the standard conversion is performed subsequently, if the electronic device receives the first target file of the first standard, the electronic device may perform the standard conversion according to the standard corresponding relationship stored in the identification standard configuration library, so that modification of the import program of the application program may be avoided, and the efficiency of the standard conversion is improved.
After the standard conversion and the second object file are obtained, the second object file can be stored in the object database. Wherein the target database comprises at least one second target file.
In a preferred embodiment, after storing the second object file in the object database, the electronic device or other external device may call the second object file from the object database. Specifically, the process may be performed as: receiving a file calling request, determining a second target file corresponding to the file identifier in a target database according to the file identifier in the file calling request, and then sending the second target file corresponding to the file calling request.
The file calling request at least comprises a file identifier. After the second object file is called, the model or drawing in the second object file can be queried.
In another preferred embodiment, the second target file obtained after the standard conversion may be subjected to an update operation. Specifically, the process may be performed as: receiving a file updating request, determining a second target file corresponding to the file identification in the target database according to the file identification in the file updating request, and then executing updating operation on the second target file corresponding to the file identification based on an updating instruction.
The file update request includes at least a file identifier and an update instruction, and the update instruction may include a plurality of command fields, for example, the update instruction may include a command field for adding data to the second target file, a command field for deleting data from the second target file, a command field for modifying data in the second target file, and so on.
The conversion process of the target file can be independent, so that the conversion process of the target file can be not bound with the corresponding application program, and when a new standard appears, only the corresponding conversion relation needs to be set in the identification standard configuration library. Furthermore, when the electronic device performs operations such as data adding, data deleting, data modifying, data inquiring and the like, the second target file which is converted into the second standard can be directly extracted from the target database, so that the standard conversion process is saved, and the file processing efficiency is improved.
Further, as shown in fig. 4, fig. 4 is a flowchart of a data processing method according to an embodiment of the present application, where fig. 4 includes an electronic device 41 and an electronic device 42, a Revit program 412 and a Revit export program 413 are provided in the electronic device 41, and a standard conversion program 421, an identification standard configuration library 422, and a standard configuration program 423 are provided in the electronic device 42.
In the electronic device 41, the Revit program 412 can open the Revit file 411 and perform operations such as editing and saving. For example, a user may input an instruction into the electronic device 41 through an external device (a mouse, a keyboard, a tablet, etc.), and after receiving the instruction, the electronic device 41 may perform a corresponding operation on the Revit file 411 according to the instruction input by the user and the Revit program 412.
When the electronic device 41 needs to export a Revit file 411, the electronic device 41 may export the Revit file 411 as a standard json file 414 based on the Revit export program 413. After the electronic device 41 exports the standard json file 414, the standard json file 414 may be transmitted to the electronic device 42.
The reference json file 414 may correspond to a first target file of the first reference.
After the electronic device 42 receives the standard json file 414, the standard json file 414 may be subjected to a standard conversion based on the standard conversion program 421. Specifically, after receiving the standard json file 414, the standard conversion program 421 may first read and identify the standard correspondence stored in the standard configuration library 422, and then perform standard conversion on the standard json file 414 according to the standard correspondence and store the standard json file to the target database 424. That is, the standard conversion program 421 may convert the standard json file 414 of the first standard into a second target file of the second standard according to the standard correspondence stored in the recognition standard configuration library 422, and then store the second target file into the target database 424.
The standard correspondence stored in the identification standard configuration library 422 may be generated by the standard configuration program 423 in the electronic device 42. That is, the standard configuration program 423 may be used to generate a correspondence (i.e., standard correspondence) between the first standard and the second standard and store the correspondence in the identification standard configuration library 422.
In this embodiment of the present application, the electronic device 42 may receive the standard json file 414 sent by the electronic device 41, and then, the electronic device 42 may perform standard conversion on the standard json file 414 based on the standard correspondence pre-stored in the standard conversion program 421 and the identification standard configuration library 422, so as to obtain a second target file. As can be seen from fig. 4, according to the embodiment of the present application, the process of converting the target file may be independent, so that the process of converting the target file may not be bound to the corresponding application program, and when a new standard occurs, only the corresponding conversion relationship needs to be set in the identification standard configuration library 422 through the standard configuration program 423 without modifying the import program of the Revit program 412.
Based on the same technical concept, an embodiment of the present application further provides a data processing apparatus, as shown in fig. 5, the apparatus includes: an acquisition module 51, a standard conversion module 52 and an output module 53.
An obtaining module 51, configured to obtain a first target file, where the first target file at least includes a model or a drawing manufactured based on a first standard;
a standard conversion module 52, configured to perform standard conversion on the first target file based on a standard correspondence pre-stored in an identification standard configuration library, and determine a second target file, where the second target file at least includes a model or a drawing made based on a second standard, and the standard correspondence includes a conversion rule between different standards; and
and an output module 53, configured to output the second target file.
In some embodiments, the apparatus further comprises:
a generating module, configured to generate a standard correspondence based on the first standard and the second standard in response to a correspondence configuration request; and
and the first storage module is used for storing the standard corresponding relation to the identification standard configuration library.
In some embodiments, the apparatus further comprises:
and the second storage module is used for storing the second target file to a target database, and the target database comprises at least one second target file.
In some embodiments, the apparatus further comprises:
the first receiving module is used for receiving a file calling request, wherein the file calling request at least comprises a file identifier;
a first determining module, configured to determine, according to a file identifier in the file call request, a second target file corresponding to the file identifier in the target database; and
and the sending module is used for sending a second target file corresponding to the file calling request.
In some embodiments, the apparatus further comprises:
the second receiving module is used for receiving a file updating request, wherein the file updating request at least comprises a file identifier and an updating instruction;
a second determining module, configured to determine, according to a file identifier in the file update request, a second target file corresponding to the file identifier in the target database; and
and the updating module is used for executing updating operation on the second target file corresponding to the file identifier based on the updating instruction.
In some embodiments, the first target file is a json file output by a Revit application.
In some embodiments, the standard correspondence includes at least one of a model floor marking correspondence of different standards, a component type correspondence of different standards, an equipment attribute correspondence of different standards, and a name correspondence of different standards.
In this embodiment of the application, the electronic device may receive the first object file, and then perform standard conversion on the first object file based on a standard correspondence pre-stored in the identification standard configuration library to obtain a second object file. According to the method and the device for converting the target file, the converted process of the target file can be independent, so that the converted process of the target file is not bound with the corresponding application program, when a new standard appears, only the corresponding conversion relation needs to be set in the identification standard configuration library, and the import program of the application program does not need to be modified, so that the difficulty of standard conversion of the target file can be reduced through the method and the device, and the time for modifying the import program is saved.
Fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device shown in fig. 6 is a general address query device, which includes a general computer hardware structure, which includes at least a processor 61 and a memory 62. The processor 61 and the memory 62 are connected by a bus 63. The memory 62 is adapted to store instructions or programs executable by the processor 61. The processor 61 may be a stand-alone microprocessor or a collection of one or more microprocessors. Thus, the processor 61 implements the processing of data and the control of other devices by executing the instructions stored in the memory 62 to execute the method flow of the embodiment of the present application as described above. The bus 63 connects the above components together, and also connects the above components to a display controller 64 and a display device and an input/output (I/O) device 65. Input/output (I/O) devices 65 may be a mouse, keyboard, modem, network interface, touch input device, motion sensing input device, printer, and other devices known in the art. Typically, the input/output device 65 is connected to the system through an input/output (I/O) controller 66.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus (device) or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may employ a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow in the flow diagrams can be implemented by computer program instructions.
These computer program instructions may be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows.
These computer program instructions may also be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows.
Another embodiment of the present application is directed to a non-transitory storage medium storing a computer-readable program for causing a computer to perform some or all of the above-described method embodiments.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be accomplished by specifying the relevant hardware through a program, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of data processing, the method comprising:
acquiring a first target file, wherein the first target file at least comprises a model or a drawing made based on a first standard;
standard conversion is carried out on the first target file based on a standard corresponding relation pre-stored in an identification standard configuration library, a second target file is determined, the second target file at least comprises a model or a drawing made based on a second standard, and the standard corresponding relation comprises a conversion rule between different standards; and
and outputting the second target file.
2. The method of claim 1, further comprising:
generating a standard correspondence based on the first and second criteria in response to a correspondence configuration request; and
and storing the standard corresponding relation to the identification standard configuration library.
3. The method of claim 1, further comprising:
and storing the second target file to a target database, wherein the target database comprises at least one second target file.
4. The method of claim 3, further comprising:
receiving a file calling request, wherein the file calling request at least comprises a file identifier;
determining a second target file corresponding to the file identifier in the target database according to the file identifier in the file calling request; and
and sending a second target file corresponding to the file calling request.
5. The method of claim 3, further comprising:
receiving a file updating request, wherein the file updating request at least comprises a file identifier and an updating instruction;
determining a second target file corresponding to the file identifier in the target database according to the file identifier in the file updating request; and
and executing an updating operation on a second target file corresponding to the file identification based on the updating instruction.
6. The method of claim 1, wherein the first target file is a json file output by a Revit application.
7. The method of claim 6, wherein the standard correspondence comprises at least one of a model floor marking correspondence of different standards, a component type correspondence of different standards, a device attribute correspondence of different standards, and a name correspondence of different standards.
8. A data processing apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring a first target file, wherein the first target file at least comprises a model or a drawing made based on a first standard;
the standard conversion module is used for performing standard conversion on the first target file based on a standard corresponding relation pre-stored in an identification standard configuration library to determine a second target file, wherein the second target file at least comprises a model or a drawing made based on a second standard, and the standard corresponding relation comprises a conversion rule between different standards; and
and the output module is used for outputting the second target file.
9. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method of any one of claims 1-7.
CN202111248997.9A 2021-10-26 2021-10-26 Data processing method and device, electronic equipment and readable storage medium Pending CN114022103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111248997.9A CN114022103A (en) 2021-10-26 2021-10-26 Data processing method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111248997.9A CN114022103A (en) 2021-10-26 2021-10-26 Data processing method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114022103A true CN114022103A (en) 2022-02-08

Family

ID=80057852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111248997.9A Pending CN114022103A (en) 2021-10-26 2021-10-26 Data processing method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114022103A (en)

Similar Documents

Publication Publication Date Title
CN105528418B (en) A kind of design documentation generation method and device
CN104035754A (en) XML (Extensible Markup Language)-based custom code generation method and generator
JPS63181033A (en) Automatic program generating system
US10101727B2 (en) Common parameter interface generation program and parameter reading program
CN112818457A (en) BIM (building information modeling) model intelligent generation method and system based on CAD (computer-aided design) drawing
WO2017090475A1 (en) Information processing system, function creation method, and function creation program
KR20150092880A (en) Method and Apparatus for Re-Configuring Design Decisions after Developing Graphic User Interface
JP5194581B2 (en) Document processing apparatus and document processing program
CN107729474B (en) Data quality detection method, system, equipment and storage medium of CAD model
JP2020140450A (en) Structured data generation method and structured data generation device
CN111401023B (en) Report generation method, report generation device, server and storage medium
JP2012164148A (en) Reverse engineering support device, reverse engineering support method and program thereof
CN114022103A (en) Data processing method and device, electronic equipment and readable storage medium
CN110989999A (en) Code generation method and device, electronic equipment and medium
CN109086476B (en) Data processing method for drawing design, PLM plug-in and computing equipment
US20220180011A1 (en) Systems and methods for modifying cad files
CN115469849A (en) Service processing system, method, electronic device and storage medium
CN111680337B (en) PDM system product design requirement information acquisition method and system
CN114282029A (en) Primitive management method and device, electronic equipment and storage medium
KR20210008545A (en) Method for providing business process management system based on automatic report generation
CN106294064A (en) A kind of device and method that baseboard management controller attribute is set
JP2015200978A (en) Database access control program, database access control method, and information processing device
JP2012150740A (en) Program generating device and method
CN113744359B (en) Method and system for constructing system flow chart of nuclear power station
CN111858324B (en) Automatic generation method and device for test cases

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