CN110362335A - Handle method, server and the system of configuration project - Google Patents

Handle method, server and the system of configuration project Download PDF

Info

Publication number
CN110362335A
CN110362335A CN201910659461.2A CN201910659461A CN110362335A CN 110362335 A CN110362335 A CN 110362335A CN 201910659461 A CN201910659461 A CN 201910659461A CN 110362335 A CN110362335 A CN 110362335A
Authority
CN
China
Prior art keywords
configuration
project
information
software
edition
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.)
Granted
Application number
CN201910659461.2A
Other languages
Chinese (zh)
Other versions
CN110362335B (en
Inventor
孙悦珈
李伟进
王灵军
曾云洪
朱康
李�杰
候许刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910659461.2A priority Critical patent/CN110362335B/en
Publication of CN110362335A publication Critical patent/CN110362335A/en
Application granted granted Critical
Publication of CN110362335B publication Critical patent/CN110362335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The disclosure proposes a kind of method, server and system for handling configuration project, is related to computer field.The project information that the disclosure passes through acquisition configuration project, the project information is updated using the configuration software of new version, and configuration project is updated using the updated project information, so that updated configuration project is by the configuration software normal compilation of new version and runs, solve the problems, such as incompatible between the configuration project built of the configuration software based on legacy version and the configuration software of new version, the work of mitigation configuration user.

Description

Handle method, server and the system of configuration project
Technical field
This disclosure relates to computer field, in particular to a kind of method, server and system for handling configuration project.
Background technique
Configuration software is widely used in industrial circle, for carrying out Service control and business monitoring.Configuration software version After update, the configuration software of configuration project and new version that the configuration software based on legacy version is built is likely to occur incompatible ask Topic, causes configuration project to compile failure on the configuration software of new version, configuration user can only build configuration project again.
Summary of the invention
The disclosure updates the project information using the configuration software of new version by the project information of acquisition configuration project, And update configuration project using the updated project information so that updated configuration project by the configuration software of new version just It often compiles and runs, solve not simultaneous between the configuration project built of the configuration software based on legacy version and the configuration software of new version The problem of appearance, mitigates the work of configuration user.
Some embodiments of the present disclosure propose a kind of method for handling configuration project, comprising:
Obtain the project information for the configuration project built based on first version configuration software;
The project information of the configuration project is updated using second edition configuration software;
The configuration project is updated using the project information of updated configuration project, so that updated configuration project quilt The second edition configuration software operation.
In some embodiments, the project information packet that the configuration project is updated using second edition configuration software It includes:
Judge whether the project information of the configuration project is supported by the second edition configuration software;
The project information for the configuration project that the second edition configuration software is not supported is marked.
In some embodiments, whether the project information for judging the configuration project is soft by the second edition configuration Part is supported
The project information of the configuration project is matched with the functional information that the second edition configuration software is supported, If successful match, the second edition configuration software supports the project information of the configuration project, if matching is unsuccessful, institute State the project information that second edition configuration software does not support the configuration project.
In some embodiments, the project information using updated configuration project updates the configuration project packet It includes:
The project letter for the configuration project that the second edition configuration software is not supported is searched from the configuration project The corresponding configuration entry portion of breath;
The configuration entry portion is labeled as not executing.
In some embodiments, the project information of the configuration project includes: service logic and logical data;
Alternatively, the configuration project includes human-computer interaction configuration project.
In some embodiments, further includes:
Receive the second configuration project of the compiling failure of the first user transmission;
The second configuration project is sent to second user to modify;
Receive the modified second configuration project that second user returns;
Modified second configuration project is sent to the first user.
Some embodiments of the present disclosure propose a kind of processing configuration item destination server, comprising:
Acquiring unit is configured as obtaining the project information for the configuration project built based on first version configuration software;
First updating unit is configured as updating the project information of the configuration project using second edition configuration software;
Second updating unit is configured as updating the configuration project using the project information of updated configuration project, So that updated configuration project is run by the second edition configuration software.
In some embodiments, further includes:
Receiving unit is configured as receiving the second configuration project of the compiling failure that the first user sends, and receives the The modified second configuration project that two users return;
Transmission unit is configured as the second configuration project being sent to second user and modify, and will modification The second configuration project afterwards is sent to the first user.
Some embodiments of the present disclosure propose a kind of processing configuration item destination server, comprising:
Memory;And
It is coupled to the processor of the memory, the processor is configured to the finger based on storage in the memory It enables, the method for executing the processing configuration project of any one embodiment.
Some embodiments of the present disclosure propose a kind of system for handling configuration project, comprising:
The server of any one embodiment;And
Client is configured as sending the project information of configuration project or configuration project to server, receives server and return Treated the configuration project of returning.
Some embodiments of the present disclosure propose a kind of computer readable storage medium, are stored thereon with computer program, should The method of the processing configuration project of any one embodiment is realized when program is executed by processor.
Detailed description of the invention
Attached drawing needed in embodiment or description of Related Art will be briefly described below.According to following ginseng According to the detailed description of attached drawing, the disclosure can be more clearly understood,
It should be evident that the accompanying drawings in the following description is only some embodiments of the present disclosure, skill common for this field For art personnel, without any creative labor, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic diagram for some embodiments of system 10 that the disclosure handles configuration project.
Fig. 2 is the schematic diagram for some embodiments of method 20 that the disclosure handles configuration project.
Fig. 3 is the schematic diagram for some embodiments of method 30 that the disclosure handles configuration project.
Fig. 4 is the schematic diagram that the disclosure handles some embodiments of configuration item destination server 11.
Fig. 5 is the schematic diagram that the disclosure handles 11 other embodiments of configuration item destination server.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete Site preparation description.
" configuration (Configure) " is meant that " configuration ", " setting " etc. look like, and refers to that user passes through similar " playing with building blocks " Plain mode complete software function required for oneself, without writing computer program.
Configuration software is, for example, HMI (Human Machine Interface) configuration software, but is not limited to examples cited.
Configuration project is the project that the function that configuration user is provided based on configuration software is built, such as base HMI configuration software The HMI configuration project built.
Fig. 1 is the schematic diagram for some embodiments of system 10 that the disclosure handles configuration project.
As shown in Figure 1, the system 10 of the embodiment includes: server 11 and client 12.Server 11 can be more A client 12 is shared.Server 11 is used to cache configuration software, configuration project, project information of configuration project etc., and to group State project is handled, subsequent detailed description processing method.Client 12 is used to send configuration project or configuration to server 11 The project information of project receives server 11 and returns to treated configuration project.Client 12 can for example be configured user It uses, programmer's use can also be configured.That is, each configuration user and the accessible server of each configuration program person, Obtain newest data.
Fig. 2 is the schematic diagram for some embodiments of method 20 that the disclosure handles configuration project.
As shown in Fig. 2, the method 20 of the embodiment includes:
In step 21, configuration user is sent by its user end to server and is based on first version configuration software (i.e. old edition This configuration software) project information and configuration project of configuration project built.
Wherein, the project information of configuration project for example, service logic and logical data etc..Wherein, service logic example Such as include various businesses function, such as nullifies function logout () { }, window turn function etc..Logical data is for example including various The information such as control, various variables.
In step 22, server obtains the project letter for the configuration project that configuration user is built based on first version configuration software Breath.
In step 23, server by utilizing second edition configuration software (i.e. new version configuration software) updates the configuration project Project information.
In some embodiments, the project information of the configuration project is updated for example, server judges configuration project Whether project information is supported by second edition configuration software, for example, the project information of configuration project and second edition configuration is soft The functional information that part is supported is matched, if successful match, second edition configuration software supports the project information of configuration project, If matching is unsuccessful, second edition configuration software does not support the project information of configuration project, then soft to second edition configuration The project information for the configuration project that part is not supported is marked.
For example, server is by project information and second such as the service logic that configuration project is realized, the control used and variables The functional informations such as all logics, control type, types of variables that version configuration software is supported are matched, if configuration project A certain project information matched with the functional information of second edition configuration software unsuccessful, illustrate that second edition configuration software does not prop up Hold the project information of configuration project.
Configuration project is updated in the project information of step 24, the updated configuration project of server by utilizing, so that after updating Configuration project run by second edition configuration software.
In some embodiments, configuration project is updated for example, second edition configuration software is searched from configuration project Configuration entry portion corresponding to the project information (i.e. labeled project information) for the configuration project that do not support, by the configuration item Mesh part is labeled as not executing.
Updated configuration project is sent to the client of configuration user by server, and configuration is by its client second It is compiled on version configuration software and runs updated configuration project.
By obtaining the project information of configuration project, the project information is updated using the configuration software of new version, and utilize The updated project information updates configuration project, so that updated configuration project is by the configuration software normal compilation of new version And run, solve incompatible between the configuration project built of the configuration software based on legacy version and the configuration software of new version ask Topic mitigates the work of configuration user.
Some application examples are set forth below.
Assuming that 1 configuration software of version, which has, nullifies function logout () { }, the configuration project that configuration user builds has used this Function is nullified, deletes the cancellation function logout () { } in version 2 configuration software, then configuration project is compiled by version 2 configuration software It can malfunction when translating.According to the scheme of the disclosure, server obtains the project information of configuration user transmission (including cancellation function Logout () { }), and project information is matched with the functional information that version 2 configuration software is supported, due to version 2 configuration The cancellation function logout () { } is deleted in software, therefore, matches unsuccessful, marks this project information, and will be labeled Configuration entry portion corresponding to project information allows updated configuration project by version 2 configuration labeled as not executing Software normal compilation is simultaneously run.
Similar with above-mentioned example, version 2 deletes some types of variables relative to the configuration software of version 1, and configuration is used The certain controls for the configuration project that family is built have used the variable of the type, then when configuration project is compiled by version 2 configuration software It can malfunction.According to the scheme of the disclosure, server obtains the project information that configuration user sends and (uses including configuration project Types of variables), and project information is matched with the functional information that version 2 configuration software is supported, since version 2 configuration is soft The types of variables is deleted in part, therefore, matching is unsuccessful, marks this project information, and labeled project information institute is right The configuration entry portion (such as the control of the variable using the type) answered is not labeled as executing, so that updated configuration project can By version 2 configuration software normal compilation and to run.
Fig. 3 is the schematic diagram for some embodiments of method 30 that the disclosure handles configuration project.
As shown in figure 3, the method 30 of the embodiment includes:
In step 31, the first user (such as certain configuration user) sends the of compiling failure to server based on its client 1 Two configuration projects.
In step 32, server receives the second configuration project, and the second configuration project is sent to second user (such as certain group State programmer) client 2 modify.
Configuration program person is more familiar with configuration software relative to configuration user, therefore, can quickly find out the second configuration item Purpose problem, and modify.
In step 33, second user (such as certain configuration program person) is based on its client 2 and returns to modified the to server Two configuration projects.
In step 34, server receives modified second configuration project, and modified second configuration project is sent To the client 1 of the first user.Modified second configuration project is compiled successfully and is operated normally.
To allow users to the configuration project for debugging and modifying other users in real time.
Fig. 4 is the schematic diagram that the disclosure handles some embodiments of configuration item destination server 11.
As shown in figure 4, the method server 11 of the embodiment includes: unit 41~43, or/and, unit 44~45.
Acquiring unit 41 is configured as obtaining the project information for the configuration project built based on first version configuration software;
First updating unit 42, the project for being configured as being updated the configuration project using second edition configuration software are believed Breath;
Second updating unit 43 is configured as updating the configuration item using the project information of updated configuration project Mesh, so that updated configuration project is run by the second edition configuration software.
In some embodiments, the first updating unit 42, be configured as judging the configuration project project information whether It is supported by the second edition configuration software, for example, the project information of the configuration project and the second edition configuration is soft The functional information that part is supported is matched, if successful match, the second edition configuration software supports the configuration project Project information, if matching is unsuccessful, the second edition configuration software does not support the project information of the configuration project, then The project information for the configuration project that the second edition configuration software is not supported is marked.
In some embodiments, the second updating unit 43 is configured as searching the second edition from the configuration project Configuration entry portion corresponding to the project information for the configuration project that this configuration software is not supported, by the configuration project management department Minute mark, which is denoted as, not to be executed.
By unit 41~43, so that updated configuration project is by the configuration software normal compilation of new version and runs, Solve the problems, such as incompatible between the configuration project built of the configuration software based on legacy version and the configuration software of new version, mitigation The work of configuration user.
Receiving unit 44 is configured as receiving the second configuration project of the compiling failure that the first user sends, and receives The modified second configuration project that second user returns;
Transmission unit 45 is configured as the second configuration project being sent to second user and modify, and will repair The second configuration project after changing is sent to the first user.
By unit 44~45, the configuration project for debugging and modifying other users in real time is allowed users to.
Fig. 5 is the schematic diagram that the disclosure handles 11 other embodiments of configuration item destination server.
As shown in figure 5, the method server 11 of the embodiment includes:
Memory 51;And
It is coupled to the processor 52 of the memory, the processor 52 is configured as based on storage in the memory Instruction, the method for executing the processing configuration project of any one embodiment.
Wherein, memory 51 is such as may include system storage, fixed non-volatile memory medium.System storage Such as be stored with operating system, application program, Boot loader (Boot Loader) and other programs etc..
Those skilled in the art should be understood that embodiment of the disclosure can provide as method, system or computer journey Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the disclosure The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the disclosure, which can be used in one or more, Machine can use the meter implemented in non-transient storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of calculation machine program product.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all spirit in the disclosure and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the protection scope of the disclosure.

Claims (11)

1. a kind of method for handling configuration project characterized by comprising
Obtain the project information for the configuration project built based on first version configuration software;
The project information of the configuration project is updated using second edition configuration software;
The configuration project is updated using the project information of updated configuration project, so that updated configuration project is described The operation of second edition configuration software.
2. the method according to claim 1, wherein described update the configuration using second edition configuration software The project information of project includes:
Judge whether the project information of the configuration project is supported by the second edition configuration software;
The project information for the configuration project that the second edition configuration software is not supported is marked.
3. according to the method described in claim 2, it is characterized in that, the project information for judging the configuration project whether by The second edition configuration software is supported
The project information of the configuration project is matched with the functional information that the second edition configuration software is supported, if Successful match, the second edition configuration software supports the project information of the configuration project, if matching is unsuccessful, described Two version configuration softwares do not support the project information of the configuration project.
4. the method according to claim 1, wherein the project information using updated configuration project is more Newly the configuration project includes:
The project information institute for the configuration project that the second edition configuration software is not supported is searched from the configuration project Corresponding configuration entry portion;
The configuration entry portion is labeled as not executing.
5. method according to claim 1-4, which is characterized in that the project information of the configuration project includes: Service logic and logical data;
Alternatively, the configuration project includes human-computer interaction configuration project.
6. method according to claim 1-4, which is characterized in that further include:
Receive the second configuration project of the compiling failure of the first user transmission;
The second configuration project is sent to second user to modify;
Receive the modified second configuration project that second user returns;
Modified second configuration project is sent to the first user.
7. a kind of processing configuration item destination server characterized by comprising
Acquiring unit is configured as obtaining the project information for the configuration project built based on first version configuration software;
First updating unit is configured as updating the project information of the configuration project using second edition configuration software;
Second updating unit is configured as updating the configuration project using the project information of updated configuration project, so that Updated configuration project is run by the second edition configuration software.
8. server according to claim 7, which is characterized in that further include:
Receiving unit is configured as receiving the second configuration project of the compiling failure that the first user sends, and receives second and use The modified second configuration project that family returns;
Transmission unit is configured as the second configuration project being sent to second user and modify, and will be modified Second configuration project is sent to the first user.
9. a kind of processing configuration item destination server characterized by comprising
Memory;And
It is coupled to the processor of the memory, the processor is configured to the instruction based on storage in the memory, The method that perform claim requires processing configuration project described in any one of 1-6.
10. a kind of system for handling configuration project characterized by comprising
The described in any item servers of claim 7-9;And
Client is configured as sending the project information of configuration project or configuration project to server, receives what server returned Configuration project that treated.
11. a kind of computer readable storage medium, is stored thereon with computer program, power is realized when which is executed by processor The method that benefit requires processing configuration project described in any one of 1-6.
CN201910659461.2A 2019-07-22 2019-07-22 Method, server and system for processing configuration items Active CN110362335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910659461.2A CN110362335B (en) 2019-07-22 2019-07-22 Method, server and system for processing configuration items

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910659461.2A CN110362335B (en) 2019-07-22 2019-07-22 Method, server and system for processing configuration items

Publications (2)

Publication Number Publication Date
CN110362335A true CN110362335A (en) 2019-10-22
CN110362335B CN110362335B (en) 2020-10-30

Family

ID=68221342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910659461.2A Active CN110362335B (en) 2019-07-22 2019-07-22 Method, server and system for processing configuration items

Country Status (1)

Country Link
CN (1) CN110362335B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202905A1 (en) * 2009-09-30 2011-08-18 Amitt Mahajan Apparatuses, methods and systems for an api call abstractor
CN102622241A (en) * 2011-01-26 2012-08-01 腾讯科技(深圳)有限公司 Software upgrading method and software upgrading device
US8606765B2 (en) * 2007-11-30 2013-12-10 Red Hat, Inc. Systems and methods for updating software appliances
CN104317817A (en) * 2014-09-26 2015-01-28 浙江中控技术股份有限公司 Version compatible method and device of configuration files
US9098374B2 (en) * 2013-02-25 2015-08-04 Hamilton Sundstrand Corporation Version control for software configurable aircraft systems
CN105930185A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Application updating method and apparatus, terminal and server
CN106933580A (en) * 2017-03-02 2017-07-07 北京天恒长鹰科技股份有限公司 A kind of embedded-type software architecture system
CN108089874A (en) * 2017-12-27 2018-05-29 北京海泰方圆科技股份有限公司 Upgrade method, the device and system of software
CN108717360A (en) * 2018-08-24 2018-10-30 江苏神州信源系统工程有限公司 A kind of software version updating method and device
CN109255107A (en) * 2018-09-25 2019-01-22 珠海格力电器股份有限公司 Configuration software processing method, device, computer equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8606765B2 (en) * 2007-11-30 2013-12-10 Red Hat, Inc. Systems and methods for updating software appliances
US20110202905A1 (en) * 2009-09-30 2011-08-18 Amitt Mahajan Apparatuses, methods and systems for an api call abstractor
CN102622241A (en) * 2011-01-26 2012-08-01 腾讯科技(深圳)有限公司 Software upgrading method and software upgrading device
US9098374B2 (en) * 2013-02-25 2015-08-04 Hamilton Sundstrand Corporation Version control for software configurable aircraft systems
CN104317817A (en) * 2014-09-26 2015-01-28 浙江中控技术股份有限公司 Version compatible method and device of configuration files
CN105930185A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Application updating method and apparatus, terminal and server
CN106933580A (en) * 2017-03-02 2017-07-07 北京天恒长鹰科技股份有限公司 A kind of embedded-type software architecture system
CN108089874A (en) * 2017-12-27 2018-05-29 北京海泰方圆科技股份有限公司 Upgrade method, the device and system of software
CN108717360A (en) * 2018-08-24 2018-10-30 江苏神州信源系统工程有限公司 A kind of software version updating method and device
CN109255107A (en) * 2018-09-25 2019-01-22 珠海格力电器股份有限公司 Configuration software processing method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
执卓: ""更新android studio后导入旧版本的项目方法"", 《CSDN博客:HTTPS://BLOG.CSDN.NET/QQ_41167962/ARTICLE/DETAILS/90182459》 *

Also Published As

Publication number Publication date
CN110362335B (en) 2020-10-30

Similar Documents

Publication Publication Date Title
US20070250575A1 (en) Deployment
US9754242B2 (en) Deployment mechanism for non-versioning business process artifacts
Liu et al. Detecting duplications in sequence diagrams based on suffix trees
US7950024B2 (en) Mechanism for transparently interfacing with a third party version control system
US6754848B1 (en) Method, system and program products for operationally migrating a cluster through emulation
WO2014150422A1 (en) Application compatibility checking in a distributed computing environment
CN104391717B (en) Code dynamic updating method during one kind debugging
CN102696026A (en) Efficient immutable syntax representation with incremental change
Kim et al. Dual execution for on the fly fine grained execution comparison
CN112148272A (en) Method, device, equipment and medium for configuration sharing in engineering componentization development
US8078555B2 (en) Decoupling static program data and execution data
Kolovos et al. The epsilon pattern language
CN104657137A (en) Software model data version management method
CN109800006A (en) A kind of dissemination method, system and storage medium customizing script
CN107526966B (en) Composite stain propagation tracking method for Android platform
CN110362335A (en) Handle method, server and the system of configuration project
GB2504122A (en) Locating software units of a software module to facilitate software refactoring
CN102262537A (en) Method for processing abnormities of execution engine working in mixed model
Diethelm et al. Turning collaboration diagram strips into storycharts
Campinhos et al. Type-safe evolution of web services
KR20130020135A (en) System and method of providing the developer list of developing code simultaneously in an integrated development environment
CN109857380B (en) Workflow file compiling method and device
JP4908539B2 (en) Workflow processing apparatus, program, and method
CN112988225A (en) Annotation configuration method, device, equipment and storage medium
Lubbers et al. Could Tierless Languages Reduce IoT Development Grief?

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant