CN109255107A - Configuration software processing method and device, computer equipment and storage medium - Google Patents

Configuration software processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN109255107A
CN109255107A CN201811114762.9A CN201811114762A CN109255107A CN 109255107 A CN109255107 A CN 109255107A CN 201811114762 A CN201811114762 A CN 201811114762A CN 109255107 A CN109255107 A CN 109255107A
Authority
CN
China
Prior art keywords
file
platform
projects
engineering
target
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
CN201811114762.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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811114762.9A priority Critical patent/CN109255107A/en
Publication of CN109255107A publication Critical patent/CN109255107A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • 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)
  • Stored Programmes (AREA)

Abstract

The application relates to a configuration software processing method, a configuration software processing device, computer equipment and a storage medium. The method comprises the following steps: acquiring project engineering files of the configured engineering; acquiring the type of a target platform of a project to be applied, and determining a pre-stored template file corresponding to the type of the target platform; and converting the project engineering file into a platform output project file of the target platform by adopting the determined pre-stored template file. By adopting the method, the configuration software is not simply applied to a specific single platform any more, the use range is wider, and the compatibility is good.

Description

Configuration software processing method, device, computer equipment and storage medium
Technical field
This application involves field of computer technology, set more particularly to a kind of configuration software processing method, device, computer Standby and storage medium.
Background technique
With the continuous development of raising and computer technology that people require industrial automation level, it is soft to there is configuration Part.HMI (Human Machine Interface, man-machine interface) configuration software is exactly that a kind of configuration for human-computer interaction is soft Part, user can be according to oneself control needs, oneself configuration picture, function are to achieve the effect that control monitoring.
The file obtained after the configuration of configuration software one engineering of progress can be used in based on Windows system or Linux The platforms such as desktop, Web page, cell phone application (Application application program) and the industrial LCD of system.However, traditional The configuration software used is mostly matching used simultaneously with the terminal where platform, is directed to a kind of platform of fixation.If User needs to use identical engineering in other platforms, then needs to do the journey of corresponding platform using the configuration software of other platforms Sequence, poor compatibility.
Summary of the invention
Based on this, it is necessary to which, for the technical problem of traditional configuration software compatibility difference, providing one kind can be improved compatibility Configuration software processing method, device, computer equipment and the storage medium of property.
A kind of configuration software processing method, which comprises
Obtain the projects file for the engineering that configuration is completed;
The type of the target platform of the engineering to be applied is obtained, is determined pre- corresponding to the type with the target platform Deposit template file;
Template file is prestored using identified, the platform that the projects file is converted to the target platform is defeated Item file out.
A kind of configuration software processing unit, described device include:
Projects file acquisition module, the projects file of the engineering for obtaining configuration completion;
Template file respective modules are prestored, the type of the target platform for obtaining the engineering to be applied, determining and institute Template file is prestored corresponding to the type for stating target platform;
Projects file conversion module, for prestoring template file determined by use, by the projects file Be converted to the platform output item file of the target platform.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Obtain the projects file for the engineering that configuration is completed;
The type of the target platform of the engineering to be applied is obtained, is determined pre- corresponding to the type with the target platform Deposit template file;
Template file is prestored using identified, the platform that the projects file is converted to the target platform is defeated Item file out.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Obtain the projects file for the engineering that configuration is completed;
The type of the target platform of the engineering to be applied is obtained, is determined pre- corresponding to the type with the target platform Deposit template file;
Template file is prestored using identified, the platform that the projects file is converted to the target platform is defeated Item file out.
Above-mentioned configuration software processing method, device, computer equipment and storage medium, by the class for determining target platform Type, and template file is prestored using corresponding to the type with target platform, the projects file of engineering is converted into target The platform of platform exports item file.In this way, being converted using template file is prestored to projects file, it can be generated and answer Platform for different target platform exports item file, so as to be applied to different target platform, so that configuration software is not Be again it is simple be applied to specific single platform, using face is broader, good compatibility.
Detailed description of the invention
Fig. 1 is the flow diagram of configuration software processing method in one embodiment;
Fig. 2 is the flow diagram of configuration software processing method in another embodiment;
Fig. 3 is the flow diagram of configuration software processing method in another embodiment;
Fig. 4 is the flow diagram of configuration software processing method in further embodiment;
Fig. 5 is the structural block diagram of configuration software processing unit in one embodiment;
Fig. 6 is the processing that the platform that projects file is converted to target platform is exported to item file in one embodiment Flow to schematic diagram;
Fig. 7 is to be shown in one embodiment according to the processing flow direction that platform output project file process obtains projects file It is intended to;
Fig. 8 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
In one embodiment, as shown in Figure 1, providing a kind of configuration software processing method, it is applied in this way eventually It is illustrated for end, specifically can be the configuration software applied to terminal.Configuration software processing method the following steps are included:
S110: the projects file for the engineering that configuration is completed is obtained.
User establishes the engineering for building interface using configuration software, configuration is carried out using component models, according to the behaviour of user Project project file is generated when putting into effect.Wherein, the information of projects file storage engineering project, is specifically stored with and builds interface Component models;One engineering correspondence can have multiple projects files.Platform applied by projects file and engineering It is unrelated, it is independently of any platform.
The engineering that configuration is completed refers to the configured good engineering of user.Specifically, terminal obtains the engineering that configuration is completed Projects file, can be and directly transferred from local, be also possible to download from other equipment.For example, user uses load There is the configuration software in the terminal of configuration software processing method to carry out configuration, generate project project file, then terminal is directly from this Projects file is transferred under the catalogue of ground stored items project file.User uses the end for being loaded with configuration software processing method Configuration software in other equipment except end carries out configuration, generates project project file, then terminal is from other equipment download items Mesh project file.
S130: obtaining the type of the target platform of engineering to be applied, determines and prestores corresponding to the type with target platform Template file.
Target platform is the platform for the engineering that configuration to be applied is completed.The type of target platform can be made by target platform Operating system and computer language determine that the platform using identical operating system, different computer languages is difference The platform of type, the platform using different operating system, identical computer language are different types of platform.For example, mesh The type for marking platform may include: windows desktop, Linux desktop, Web page, cell phone application etc..Target platform is worked as with terminal The platform of preceding operation is different types of platform.For example, currently running platform is windows desktop, then target platform can be with It is Linux desktop, Web page, cell phone application etc..Prestoring template file is the template file for being stored in advance in terminal, uses template A kind of computer language can be converted to another computer language by file.The target platform of each type corresponds to a set of pre- Deposit template file, a set of template file that prestores may include that one or more quantity prestore template file.
Specifically, terminal can determine the type of target platform according to the platform information that user inputs, wherein platform information It is the information for identifying target platform, such as platform names.Terminal can be previously stored with variant type in database Target platform corresponding to prestore template file;It, can be by preset right after terminal gets the type of target platform It should be related to that from database, lookup is corresponding with the type of target platform and prestore template file.
S150: prestoring template file determined by use, the platform that projects file is converted to target platform is exported Item file.
The item file of configuration software is broadly divided into two kinds, and one is projects file, another kind is platform output item Mesh file.Platform output item file is by projects file generated, is used in the file of platform, related to platform. The platform output item file of target platform is the executable file of target platform.
Terminal converts projects file, specifically carries out the conversion of computer language.For different types of The platform output item file of target platform, the different target platform that projects file is converted to is different;That is, an item Mesh project file can correspond to the platform output item file for being converted into multiple and different types.
In above-mentioned configuration software processing method, by determining the type of target platform, and using the type with target platform Corresponding prestores template file, and the platform that the projects file of engineering is converted to target platform is exported item file.Such as This, converts projects file using template file is prestored, and can be generated defeated applied to the platform of different target platform Item file out, so as to be applied to different target platform, so that configuration software is no longer simple applied to specific single One platform, using face is broader, good compatibility.
In above-mentioned configuration software processing method, specifically it can be applied to HMI configuration software.HMI configuration software is by holding The above-mentioned configuration software processing method of row can generate according to the engineering project file of engineering and be applied to the flat of different target platform Platform exports item file, and so as to be applied to different target platform, using face is broader, good compatibility.
In one embodiment, template file storage language conversion code is prestored.Step S150 includes: determined by execution The language conversion code of template file is prestored, the target language document after generating the conversion of project project file;By object language text Part is compiled as the executable file of target platform, obtains the platform output item file of target platform.
The language conversion code for prestoring template file storage, for projects file to be converted to a kind of computer language File.Wherein, the computer language after conversion is the meter that prestores the type of target platform corresponding to template file and can support Calculation machine language.Specifically, by the target language document after the conversion of projects file, the calculating that can be as supported with target platform The file that machine language is write.Terminal operating language conversion code, then exportable target language document.
Compiling is a function of configuration software, the environment in the library of compiling and compiling can be all integrated into configuration software In.By being compiled to target language document, the executable file of target platform can be generated.Wherein, target platform can Executing file is exactly the file that can be run directly on target platform.Such as: the executable file of windows desktop is suffix The file of entitled .exe, the executable file of Web page are HTML (HyperText Markup Language hypertext markups Language) file, the executable file of the display screen based on linux system is binary file, the cell phone application of Android operation system Executable file be apk (AndroidPackage Android installation kit) format file, the cell phone application of IOS operating system Executable file is the file of IPA (iPhoneApplication) format.Specifically, terminal can pass through the side of cross compile Formula is compiled target language document.
The language conversion code that template file is prestored by executing, is converted to target language document for projects file, Then target language document is compiled as executable file, executable file can run directly in target platform, thus in target Configured good engineering can be directly run on platform.
Terminal can be managed by the way of template engine a set of corresponding to each target platform prestores template file.Tool Body, it includes dynamic template file and static template file that one, which prestores template file,.Dynamic template file is used for from project work Journey file reads configuration project data and the configuration project data read is converted to the machine word of corresponding target platform Speech.Static template file is used to be converted to the target platform data of engineering the computer language of corresponding target platform.Further Ground, dynamic template file and static template file are stored with language conversion code.The language conversion of dynamic template file storage Code is used to read configuration project data from projects file and the configuration project data read is converted to corresponding target The computer language of platform.The language conversion code of static template file storage is for being converted to the target platform data of engineering The computer language of corresponding target platform.Prestored corresponding to terminal performance objective platform in template file dynamic template file and Language conversion code in static template file, the target language document after generating the conversion of project project file.
Wherein, configuration project data includes the attribute of each component models, configured the respective option etc..Target is flat Number of units does not need to be read out from projects file according to being the text data that can directly convert.For example, target platform number According to the function that can be the target platform that one has been finished writing, does not need dynamically to go to read projects file, do not need to pass yet Ginseng, only a simple function, calls directly when needing to call.
In one embodiment, after step S150 further include: receive the different platform application signal of target platform;According to different The platform output item file of target platform is sent to target platform and applied by platform application signal.
Different platform application signal can be the request of target platform transmission, be also possible to instruction input by user.Pass through The platform output item file of target platform is sent to target platform, is allowed on target platform using configured good Engineering, good compatibility, convenience is high.
For example, target platform can be cell phone application.After terminal executes step S150, user connects terminal, behaviour using mobile phone Make mobile phone and send request to terminal, after terminal receives request, the platform output item file of target platform is sent to mobile phone, Item file can be exported by operation platform in cell phone application.
In one embodiment, before step S110 further include: the projects file for the engineering that configuration is completed is generated, and Intermediate file in generating process is saved.
Specifically, terminal generates project project file in real time depending on the user's operation.Wherein, intermediate file refers to generating item The file generated during mesh project file, further, during terminal can store the relevant information of the engineering of configuration to obtain Between file.
Accordingly, in the present embodiment, after step S150 further include: export platform in item file and corresponding engineering Between file be associated.
The engineering of one configuration can correspond to an intermediate file and a platform output item file.By will be same The platform output item file of engineering is associated with intermediate file, intermediate literary to search convenient for exporting item file according to platform Part provides convenience to file search.Specifically, terminal can be by sending out key-value pair to intermediate file and platform output item mesh file It is associated.
In one embodiment, configuration software processing method further includes step S210 and step S230.It should be noted that Step S210, the not absolute sequence that executes of the execution of step S230 and step S110 to step S150 limit;That is, step S210 can be located at step S150 after execute, as shown in Fig. 2, step S210 and step S230 can also be located at step S110 it Preceding execution, as shown in figure 3, step S210 and step S230 can also be performed simultaneously with step S110 to step S150.
S210: platform output item file to be converted is obtained.
Platform to be converted exports item file, is to need to invert the platform output project text for being changed to projects file Part.Specifically, terminal, which can be, downloads platform output item file to be converted from other equipment, is also possible to transfer from local Platform to be converted exports item file.
Further, platform to be converted output item file can with the output item file of platform obtained in step S150 To be no associated different files, it is also possible to same file.That is, terminal can be other except acquisition target platform The platform output item file of platform exports item file as platform to be converted, is also possible to the platform in step S150 Item file is exported as platform to be converted and exports item file.
S230: carrying out conversion process according to platform output item file to be converted, the projects text that obtains that treated Part.
Projects file is the file unrelated with the application type of platform.For the same engineering, the engineering item of generation Mesh file is fixed.Therefore, the platform of the different type target platform of the corresponding same engineering exports item file, at conversion The projects file obtained after reason is identical.
Obtain projects file by exporting item file conversion process according to platform to be converted, further realize by Platform exports item file to the inverse transform of projects file, thus between projects file and platform output item file It can convert mutually, it is easy-to-use.
In one embodiment, step S230 includes: that acquisition and platform output item file to be converted are corresponding associated Intermediate file;The inverse transform template file that prestores is called, intermediate file is parsed to obtain treated projects file.
Intermediate file refers in the projects file mistake for generating engineering corresponding to platform output item file to be converted It is saved in journey and associated file corresponding with platform output item file to be converted, intermediate file stores the related letter of engineering Breath.For example, for obtaining platform to be converted by execution step S110 to step S150 and export item file, in step Before S110, the projects file of engineering is generated, and the intermediate file in generating process is saved;It is obtained executing step S150 After exporting item file to platform to be converted, by the intermediate file of platform output item file and corresponding engineering to be converted It is associated.Specifically, terminal opens platform output item file to be converted, can go identification defeated with platform to be converted automatically Item file corresponds to associated intermediate file out.
The inverse transform template file prestored is the file that developer write and be pre-stored in terminal.Specifically, reversion mold changing Plate file store code.The code of inverse transform template file is called and executed to terminal, can parse intermediate file and be handled Projects file afterwards.
Platform output item file is the file that the specific computer language used of corresponding platform is write, if directly right Platform exports item file and carries out reverse conversion, operates more complicated.By using inverse transform template file pair with it is to be converted Platform output item file corresponds to associated intermediate file and is parsed, the engineering project file that obtains that treated, easy to operate.
Further, priority assignation can be carried out to the database of storage inverse transform template file, just may be used by purview certification Call inverse transform template file.In this way, the permission of parsing can be limited, improves platform and export item file to projects file Inverse transform safety.
In one embodiment, with reference to Fig. 4, after step S230, further includes: will treated projects file conduct The projects file of new engineering, and execute step S130.Specifically, it is carried out according to platform output item file to be converted Conversion process after the projects file that obtains that treated, obtains the type of the target platform of new engineering to be applied, determines Template file is prestored corresponding to type with target platform;Template file is prestored using identified, by projects file Be converted to the platform output item file of target platform.
By executing step S130 after step S230, the projects file that can be obtained to processing is redeveloped, A kind of platform project output file of platform is converted into the platform project output file of another platform, it is final to realize that two kinds are put down The mutual conversion of platform code further improves the compatibility and scalability of configuration software.Also, it is not necessary to developer's needle Different platform is reprogramd, is largely improved work efficiency, repetitive work is reduced.
It should be understood that although each step in the flow chart of Fig. 1-4 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 1-4 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in figure 5, providing a kind of configuration software processing unit, comprising: projects file It obtains module 510, prestore template file respective modules 530 and projects file conversion module 550, in which: projects text Part obtains the projects file that module 510 is used to obtain the engineering of configuration completion.Template file respective modules 530 are prestored to be used for The type of the target platform of engineering to be applied is obtained, prestores template file corresponding to the determining type with target platform.Project Projects file is converted to target platform for prestoring template file determined by use by project file conversion module 550 Platform export item file.
Above-mentioned configuration software processing unit, by determining the type of target platform, and using the type institute with target platform It is corresponding to prestore template file, the platform that the projects file of engineering is converted to target platform is exported into item file.In this way, Projects file is converted using template file is prestored, the platform output item applied to different target platform can be generated Mesh file, so as to be applied to different target platform, so that configuration software is no longer simple applied to specific single flat Platform, using face is broader, good compatibility.
With reference to Fig. 6 and Fig. 7, schematic diagram is flowed to for the processing of above-mentioned configuration software processing method/device.Specifically, above-mentioned Configuration software processing unit can be applied to the HMI configuration software of terminal.
In one embodiment, template file storage language conversion code is prestored.Projects file conversion module 550 is used The language conversion code of template file is prestored determined by the execution, the object language text after generating the conversion of project project file Part;Target language document is compiled as to the executable file of target platform, obtains the platform output item file of target platform.
The language conversion code that template file is prestored by executing, is converted to target language document for projects file, Then target language document is compiled as executable file, executable file can run directly in target platform, thus in target Configured good engineering can be directly run on platform.
In one embodiment, prestoring template file includes the dynamic template file and static mould for storing language conversion code Plate file;The language conversion code of dynamic template file storage is used to read configuration project data from projects file and will The configuration project data read is converted to the computer language of corresponding target platform;The language conversion of static template file storage Code is used to be converted to the target platform data of engineering the computer language of corresponding target platform.
In one embodiment, above-mentioned configuration software processing unit further includes sending module (not shown), in project After project file conversion module 550 executes corresponding function, the different platform application signal of target platform is received;It is answered according to different platform The platform output item file of target platform target platform is sent to signal to apply.
It is sent to target platform by the way that the platform of target platform is exported item file, allows to answer on target platform With configured good engineering, good compatibility, convenience height.
In one embodiment, above-mentioned configuration software processing unit further includes intermediate file preserving module (not shown) and right Answer relating module (not shown).Intermediate file preserving module is used to obtain configuration in projects file acquisition module 510 and complete Engineering projects file before, generate the projects file for the engineering that configuration is completed, and will be in generating process Between file save.Corresponding relating module is used for after projects file conversion module 550 executes corresponding function, and platform is defeated Item file and the intermediate file of corresponding engineering are associated out.
It is associated by the way that the platform of the same engineering is exported item file with intermediate file, convenient for being exported according to platform Item file searches intermediate file, and file search is given to provide convenience.
In one embodiment, above-mentioned configuration software processing unit further includes platform output project file acquisition module (figure Do not show) and platform output item mesh file conversion module (not shown).Platform output project file acquisition module is for obtaining wait turn The platform output item file changed.Platform exports item file conversion module and is used to export item file according to platform to be converted Conversion process is carried out, the projects file that obtains that treated.
Obtain projects file by exporting item file conversion process according to platform to be converted, further realize by Platform exports item file to the inverse transform of projects file, thus between projects file and platform output item file It can convert mutually, it is easy-to-use.
In one embodiment, platform output item file conversion module is used to obtain and platform to be converted output project File corresponds to associated intermediate file;The inverse transform template file that prestores is called, intermediate file is parsed to obtain treated item Mesh project file.
By using inverse transform template file pair associated intermediate file corresponding with platform output item file to be converted It is parsed, the engineering project file that obtains that treated is easy to operate.
In one embodiment, platform output item file conversion module according to platform to be converted export item file into Row conversion process, after the projects file that obtains that treated, also using treated projects file as new engineering Projects file, and by prestore template file respective modules 530 execute corresponding function.
It is redeveloped, the projects file being converted to can be carried out by the projects file obtained to processing A kind of platform project output file of platform, is converted into the platform project output file of another platform by redevelopment, final real The mutual conversion of existing two kinds of platform codes, further improves the compatibility and scalability of configuration software.Also, it is not necessary to open Hair personnel reprogram for different platform, largely improve work efficiency, reduce repetitive work.
Specific about configuration software processing unit limits the limit that may refer to above for configuration software processing method Fixed, details are not described herein.Modules in above-mentioned configuration software processing unit can fully or partially through software, hardware and its Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding Operation.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure Figure can be as shown in Figure 8.The computer equipment includes processor, the memory, network interface, display connected by system bus Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journey Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor with Realize a kind of configuration software processing method.The display screen of the computer equipment can be liquid crystal display or electric ink is shown Screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible on computer equipment shell Key, trace ball or the Trackpad of setting can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 8, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory It the step of computer program, which realizes aforementioned configuration software processing method when executing computer program, does not do herein superfluous It states.
Above-mentioned computer equipment similarly may make configuration software no longer due to realizing aforementioned configuration software processing method Be it is simple be applied to specific single platform, using face is broader, good compatibility.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes the step of aforementioned configuration software processing method when being executed by processor, this will not be repeated here.
Above-mentioned computer readable storage medium similarly may make configuration due to realizing aforementioned configuration software processing method Software be no longer it is simple be applied to specific single platform, using face is broader, good compatibility.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (11)

1. a kind of configuration software processing method, which is characterized in that the described method includes:
Obtain the projects file for the engineering that configuration is completed;
The type of the target platform of the engineering to be applied is obtained, prestores mould corresponding to the determining type with the target platform Plate file;
Template file is prestored using identified, the projects file is converted to the platform output item of the target platform Mesh file.
2. the method according to claim 1, wherein described prestore template file storage language conversion code;Institute It states and prestores template file determined by use, the platform that the projects file is converted to the target platform is exported into project File, comprising:
The language conversion code that template file is prestored determined by execution, the target language after generating the projects file conversion Say file;
The target language document is compiled as to the executable file of the target platform, the platform for obtaining the target platform is defeated Item file out.
3. according to the method described in claim 2, it is characterized in that, the template file that prestores includes storage language conversion code Dynamic template file and static template file;The language conversion code of the dynamic template file storage is used for from the project Project file reads configuration project data and the configuration project data read is converted to the machine word of corresponding target platform Speech;The language conversion code of the static template file storage is used to the target platform data of the engineering being converted to corresponding mesh Mark the computer language of platform.
4., will be described the method according to claim 1, wherein prestore template file determined by the use Projects file is converted to after the platform output item file of the target platform, further includes:
Receive the different platform application signal of the target platform;
The platform output item file of the target platform is sent to the target platform according to the different platform application signal It is applied.
5. the method according to claim 1, wherein the projects file for obtaining the engineering that configuration is completed Before, further includes:
The projects file for the engineering that configuration is completed is generated, and the intermediate file in generating process is saved;
Template file is prestored determined by the use, the platform that the projects file is converted to the target platform is defeated Out after item file, further includes:
The intermediate file that the platform exports item file and corresponding engineering is associated.
6. method described in -5 any one according to claim 1, which is characterized in that the method also includes:
Obtain platform output item file to be converted;
Conversion process is carried out according to platform output item file to be converted, the projects file that obtains that treated.
7. according to the method described in claim 6, it is characterized in that, described carry out according to platform output item file to be converted Conversion process, the projects file that obtains that treated, comprising:
Obtain associated intermediate file corresponding with platform to be converted output item file;
The inverse transform template file that prestores is called, the intermediate file is parsed to obtain treated projects file.
8. according to the method described in claim 6, it is characterized in that, described carry out according to platform output item file to be converted Conversion process, after the projects file that obtains that treated, further includes:
Using treated projects file as the projects file of new engineering, and execute it is described obtain it is to be applied described The step of prestoring template file corresponding to the type of the type of the target platform of engineering, determination and the target platform.
9. a kind of configuration software processing unit, which is characterized in that described device includes:
Projects file acquisition module, the projects file of the engineering for obtaining configuration completion;
Template file respective modules are prestored, the type of the target platform for obtaining the engineering to be applied, the determining and mesh Template file is prestored corresponding to the type for marking platform;
Projects file conversion module converts the projects file for prestoring template file determined by use Item file is exported for the platform of the target platform.
10. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 8 the method when executing the computer program.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any item of the claim 1 to 8 is realized when being executed by processor.
CN201811114762.9A 2018-09-25 2018-09-25 Configuration software processing method and device, computer equipment and storage medium Pending CN109255107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811114762.9A CN109255107A (en) 2018-09-25 2018-09-25 Configuration software processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811114762.9A CN109255107A (en) 2018-09-25 2018-09-25 Configuration software processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109255107A true CN109255107A (en) 2019-01-22

Family

ID=65048649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811114762.9A Pending CN109255107A (en) 2018-09-25 2018-09-25 Configuration software processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109255107A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110361986A (en) * 2019-07-22 2019-10-22 珠海格力电器股份有限公司 Simulation file generation method and device and simulation system
CN110362335A (en) * 2019-07-22 2019-10-22 珠海格力电器股份有限公司 Method, server and system for processing configuration items
CN110457107A (en) * 2019-08-09 2019-11-15 珠海格力电器股份有限公司 configuration software operation instruction management method, device and system
CN110609678A (en) * 2019-08-26 2019-12-24 珠海格力电器股份有限公司 Function programming method and device and configuration software system
CN110989515A (en) * 2019-11-21 2020-04-10 杭州和利时自动化有限公司 Configuration file generation method, device, equipment and readable storage medium
CN112162881A (en) * 2020-09-04 2021-01-01 郑州阿帕斯数云信息科技有限公司 Platform switching method and device
CN112367206A (en) * 2020-11-12 2021-02-12 珠海格力电器股份有限公司 Configuration data processing method, device and system
CN113676270A (en) * 2021-08-25 2021-11-19 深圳市广和通无线股份有限公司 5G wireless module signal noise detection method and device supporting multi-chip platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000347875A (en) * 1999-04-23 2000-12-15 Sun Microsyst Inc File transplanting technique
CN101510151A (en) * 2009-03-23 2009-08-19 国电南瑞科技股份有限公司 Synthesis monitoring cross-platform configuration human-machine interface system
CN104572231A (en) * 2013-10-23 2015-04-29 航天信息股份有限公司 Device and method for project migration among different operating platforms
CN104598240A (en) * 2015-01-20 2015-05-06 北京仿真中心 Platform-spanning simulation model development method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000347875A (en) * 1999-04-23 2000-12-15 Sun Microsyst Inc File transplanting technique
CN101510151A (en) * 2009-03-23 2009-08-19 国电南瑞科技股份有限公司 Synthesis monitoring cross-platform configuration human-machine interface system
CN104572231A (en) * 2013-10-23 2015-04-29 航天信息股份有限公司 Device and method for project migration among different operating platforms
CN104598240A (en) * 2015-01-20 2015-05-06 北京仿真中心 Platform-spanning simulation model development method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GUOLIN: "Android安全攻防战,反编译与混淆技术完全解析(上)", 《HTTPS://BLOG.CSDN.NET/SINYU890807/ARTICLE/DETAILS/49738023》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110361986A (en) * 2019-07-22 2019-10-22 珠海格力电器股份有限公司 Simulation file generation method and device and simulation system
CN110362335A (en) * 2019-07-22 2019-10-22 珠海格力电器股份有限公司 Method, server and system for processing configuration items
CN110361986B (en) * 2019-07-22 2021-02-19 珠海格力电器股份有限公司 Simulation file generation method and device and simulation system
CN110457107A (en) * 2019-08-09 2019-11-15 珠海格力电器股份有限公司 configuration software operation instruction management method, device and system
CN110609678A (en) * 2019-08-26 2019-12-24 珠海格力电器股份有限公司 Function programming method and device and configuration software system
CN110989515A (en) * 2019-11-21 2020-04-10 杭州和利时自动化有限公司 Configuration file generation method, device, equipment and readable storage medium
CN112162881A (en) * 2020-09-04 2021-01-01 郑州阿帕斯数云信息科技有限公司 Platform switching method and device
CN112367206A (en) * 2020-11-12 2021-02-12 珠海格力电器股份有限公司 Configuration data processing method, device and system
CN112367206B (en) * 2020-11-12 2021-10-22 珠海格力电器股份有限公司 Configuration data processing method, device and system
CN113676270A (en) * 2021-08-25 2021-11-19 深圳市广和通无线股份有限公司 5G wireless module signal noise detection method and device supporting multi-chip platform
CN113676270B (en) * 2021-08-25 2024-08-30 深圳市广和通无线股份有限公司 Method and device for detecting signal noise of 5G wireless module supporting multi-chip platform

Similar Documents

Publication Publication Date Title
CN109255107A (en) Configuration software processing method and device, computer equipment and storage medium
CN109901834B (en) Document page generation method, device, computer equipment and storage medium
CN108388515B (en) Test data generation method, device, equipment and computer readable storage medium
CN103064403B (en) A kind of ECU hardware-in-loop simulation automated testing method and system
CN111897553B (en) Project system building method, device, equipment and readable storage medium
CN106415495A (en) Programming system and language for application development
CN103019928A (en) Automatic testing method and system
CN105378689A (en) Unified extensible firmware interface (UEFI) driver and protocol
CN113805890B (en) Method, device, terminal, system and storage medium for migration of applets across applications
CN112363694B (en) Integration method of FMU file, solver running environment and industrial software
CN111949529B (en) System debugging method, device, computer equipment and storage medium
CN112650487A (en) Hybrid application development method, system, computer device and storage medium
CN114064601B (en) Storage process conversion method, device, equipment and storage medium
CN104850498A (en) Filling information testing method and filling information testing system
CN110597714A (en) Kafka message testing method and device, computer equipment and storage medium
CN116737174B (en) Automatic subsystem generating tool and method based on open source hong Meng system
CN111857752B (en) PostgreSQL database installation method, device and equipment
CN112527315A (en) Automatic conversion method, device, computer equipment and medium for programming language function
CN116185425B (en) Event flow arrangement method, device, equipment and medium based on node combination
CN113032004B (en) Method, apparatus and program product for managing development jobs in a development environment
CN110659022B (en) Method for automatically calling Python script based on Java
CN116360887A (en) Program parameter loading method, device, equipment and storage medium
CN111240681A (en) Method and device for converting different programming languages
CN115934129A (en) Software project updating method and device, computer equipment and storage medium
CN117078569A (en) Processing method and device of neural network model reasoning framework and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190122

RJ01 Rejection of invention patent application after publication