CN104317575B - Method and device for packaging code file of air conditioner assembly - Google Patents

Method and device for packaging code file of air conditioner assembly Download PDF

Info

Publication number
CN104317575B
CN104317575B CN201410522982.0A CN201410522982A CN104317575B CN 104317575 B CN104317575 B CN 104317575B CN 201410522982 A CN201410522982 A CN 201410522982A CN 104317575 B CN104317575 B CN 104317575B
Authority
CN
China
Prior art keywords
file
code file
statement
class
air
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410522982.0A
Other languages
Chinese (zh)
Other versions
CN104317575A (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 CN201410522982.0A priority Critical patent/CN104317575B/en
Publication of CN104317575A publication Critical patent/CN104317575A/en
Application granted granted Critical
Publication of CN104317575B publication Critical patent/CN104317575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a method and a device for packaging a code file of an air conditioner component. The packaging method of the code file of the air conditioner component comprises the following steps: scanning an object file in the code file, wherein the object file is a file for storing a program statement in the code file; in the scanning process, extracting a structural body definition and a method statement corresponding to the structural body definition from a target file; and encapsulating the structure definitions and method declarations as classes. The invention solves the problem of low development efficiency of the embedded program of the air conditioner in the prior art, thereby achieving the effect of improving the development efficiency of the controller software.

Description

The method for packing and device of the code file of air-conditioning device assembly
Technical field
The present invention relates to air-conditioner field, in particular to a kind of method for packing of the code file of air-conditioning device assembly And device.
Background technology
During the embedded software developing of air conditioner mainboard, the quick change of demand is usually tackled rapidly, to be protected Demonstrate,prove the quality and efficiency of product development.General all to have huge history codes storehouse, these codes are mostly write using c language, Exist in the form of structuring or so-called module, and seldom consider the characteristic of itself and function specifically loaded.For example generally may be used Refrigeration module, heating module can be divided into, load and how to control in heating module, in refrigeration module load how to control again System, the control logic of load are dispersed in modules., may if the operation of load itself or manner of execution change Need to change all modules for controlling the load, recompilate and test all modifications module, if these modules are not sealed Dress up storehouse, but be multiplexed with code form, then need to recompilate and test the control program of whole mainboard, what this spent Time is more, if these modules are used by the control program of more products, then the control program of all these products It is required for recompilating and tests, causes the development efficiency of air conditioner embedded program low.
For air conditioner embedded program in correlation technique development efficiency it is low the problem of, not yet propose effective solution at present Certainly scheme.
The content of the invention
It is a primary object of the present invention to provide a kind of method for packing and device of the code file of air-conditioning device assembly, with solution The problem of certainly development efficiency of air conditioner embedded program is low in the prior art.
A kind of according to an aspect of the invention, there is provided method for packing of the code file of air-conditioning device assembly.
The method for packing of the code file of air-conditioning device assembly according to the present invention includes:Scan the mesh in the code file File is marked, wherein, the file destination is the file that save routine is stated in the code file;In scanning process, from institute State extraction structure in file destination and define and correspond to the method statement that the structure defines;And the structure is defined Class is encapsulated as with the method statement.
Further, structure definition and the method statement are encapsulated as class and included:The structure is defined Be converted to the title of the class;And the method statement is converted to the attribute of the class.
Further, in scanning process, structure definition and the corresponding structure are extracted from the file destination The method statement of definition includes:In scanning process, the structure definition is extracted from the statement of the top of the file destination; And in scanning process, the method statement that the corresponding structure defines is extracted from the statement of the lower part of the file destination.
Further, before the file destination in scanning the code file, the method for packing further includes:Reception is matched somebody with somebody Instruction is put, wherein, the configuration-direct is used to configure the air-conditioning device assembly;Obtain with the air conditioner group postponed The information of part;And according to the information architecture operational order got, wherein, the operational order is used to operate the code text Part.
Further, after structure definition and the method statement are encapsulated as class, the method for packing is also Including:The code file is multiplexed based on the class.
According to another aspect of the present invention, there is provided a kind of packaging system of the code file of air-conditioning device assembly.
The packaging system of the code file of air-conditioning device assembly according to the present invention includes:Scanning element, it is described for scanning File destination in code file, wherein, the file destination is the file that save routine is stated in the code file;Extraction Unit, in scanning process, extraction structure to define and correspond to the side that the structure defines from the file destination Method is stated;And encapsulation unit, for structure definition and the method statement to be encapsulated as class.
Further, the encapsulation unit includes:First conversion subunit, for structure definition to be converted to institute State the title of class;And second conversion subunit, for the method statement to be converted to the attribute of the class.
Further, the extraction unit includes:First extraction module, in scanning process, from target text The structure definition is extracted in the top statement of part;And second extraction module, in scanning process, from the target The method statement that the corresponding structure defines is extracted in the lower part statement of file.
Further, the packaging system further includes:Receiving unit, for receiving configuration-direct, wherein, the configuration refers to Order is used to configure the air-conditioning device assembly;Acquiring unit, for obtaining the information with the air-conditioning device assembly postponed; And construction unit, for according to the information architecture operational order got, wherein, the operational order is used to operate the generation Code file.
Further, the packaging system further includes:Multiplexing Unit, for being carried out based on the class to the code file Multiplexing.
In the present invention, using the file destination scanned in the code file, wherein, the file destination is the generation The file that save routine is stated in code file;In scanning process, structure definition is extracted from the file destination and is corresponded to The method statement that the structure defines;And structure definition and the method statement are encapsulated as class.By to generation Structure in code file defines the method statement defined with enantiomorph and is obtained, and the two is encapsulated as class, realizes The angle specifically loaded from air conditioner, scattered control logic is packaged together, thus can externally provide one Accordant interface, modules all control the behavior of load by this interface.The behavior and attributes encapsulation each loaded exists A component is formed together, can individually be tested, be compiled into c storehouses (lib), and be directly multiplexed in the form of binary.This Sample only need to control load in modules by the interface of component, and load-receipt is to how this moves actually after control instruction Make to meet that functional requirement is then oneself to be responsible for completion by the load.If the operation of load itself and manner of execution become Change, it is only necessary to change load component and compile and test, and refrigeration or heating module without change using load, if equally The Control sequence loaded in modules or the arrange parameter of load etc. change, and need to only change the module, and without becoming More load component.Being realized with this need not recompilate and test, and solve air conditioner embedded program in the prior art The problem of development efficiency is low, and then improve the effect of the development efficiency of controller software.
Brief description of the drawings
The attached drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention Apply example and its explanation is used to explain the present invention, do not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the method for packing of the code file of air-conditioning device assembly according to embodiments of the present invention;And
Fig. 2 is the schematic diagram of the packaging system of the code file of air-conditioning device assembly according to embodiments of the present invention.
Embodiment
In order to make those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Attached drawing, is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work, should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to the embodiment of the present invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
In the case where there is no conflict, the feature in the embodiment and embodiment in the application can be mutually combined.Below will The present invention will be described in detail with reference to the accompanying drawings and embodiments.
Embodiment 1
According to embodiments of the present invention, there is provided it is a kind of can be real by method that the application device embodiment is practiced or carried out Example is applied, it is necessary to which explanation, step shown in the flowchart of the accompanying drawings can be in the meter of such as a group of computer-executable instructions Performed in calculation machine system, although also, show logical order in flow charts, in some cases, can be with difference Shown or described step is performed in order herein.
According to embodiments of the present invention, there is provided a kind of method for packing of the code file of air-conditioning device assembly, below to this hair The method for packing of the code file of the air-conditioning device assembly of bright embodiment does specific introduction:
Fig. 1 is the flow chart of the method for packing of the code file of air-conditioning device assembly according to embodiments of the present invention, such as Fig. 1 institutes Show, this method includes steps S102 to step S106:
S102:File destination in scan code file, wherein, file destination is that save routine is stated in code file File, specifically, in embodiments of the present invention, the code file of air-conditioning device assembly makes to show a C language, and file destination can To be " .h files ", i.e. file destination is the header file in code file.
S104:In scanning process, extraction structure defines the method sound defined with enantiomorph from file destination Bright, specifically, the header file as file destination is divided into two parts, and top defines for c language structures, and the field of the inside represents The attribute of component;Lower part states the method that component is possessed.In scanning process, the structure definition on top is successively read Stated with the method for lower part.
S106:Structure definition and method statement are encapsulated as class, specifically, the structure that will be extracted from file destination Body defines and the statement of corresponding method merges in a class, realizes the encapsulation of class.
The method for packing of the code file for the air-conditioning device assembly that the embodiment of the present invention is provided, by code file Structure defines the method statement defined with enantiomorph and is obtained, and the two is encapsulated as class, realizes from air conditioner The angle specifically loaded, scattered control logic is packaged together, thus can externally provide an accordant interface, Modules all control the behavior of load by this interface.One is formed together with the behavior each loaded and attributes encapsulation Component, can individually be tested, and be compiled into c storehouses (lib), and be directly multiplexed in the form of binary.So in modules In only load need to be controlled by the interface of component, and load-receipt is to how this acts and meet function actually after control instruction It is required that it is then that completion oneself is responsible for by the load.If the operation of load itself and manner of execution change, it is only necessary to change Load component is simultaneously compiled and tested, and refrigeration or heating module without change using load, if equally in modules The Control sequence of load or the arrange parameter of load etc. change, and need to only change the module, and without change load component.With This, which is realized, need not recompilate and test, and the development efficiency for solving air conditioner embedded program in the prior art low is asked Topic, and then improve the effect of the development efficiency of controller software.
Also, the method for packing of the code file for the air-conditioning device assembly that the embodiment of the present invention is provided, does not use function to refer to The method of pin, can not only remove the EMS memory occupation of the part, but also be adapted to changeable type function, and the method for component liaison exists Directly statement comes out in " .h files ", and to be maximally maintained the memory surplus of embedded system, it is embedded to have reached reduction Memory in software uses.
Meanwhile the method for packing of the code file of the air-conditioning device assembly of the embodiment of the present invention is next auxiliary without other configurations information The encapsulation of class is helped, existing c code resources can be utilized to greatest extent by realizing, and be worked with minimum code refactoring to seal Dress.Without special factory's creation method in use, while also unlike ADT (definition of abstract data type structure), instrument can Directly to access the attribute member of component, although destroying Information encapsulation to a certain extent, bring it is many easy-to-use, The simplified effect for programming and using is reached.
Specifically, in embodiments of the present invention, structure definition and method statement are encapsulated as class and mainly included:By structure Body defines the title for being converted to class, and method statement is converted to the attribute of class.
In scanning process, structure is extracted from file destination and defines the method statement bag defined with enantiomorph Include:In scanning process, structure definition is extracted from the statement of the top of file destination;In scanning process, from file destination Lower part statement in extraction enantiomorph define method statement.
Preferably, before the file destination in scan code file, the code of the air-conditioning device assembly of the embodiment of the present invention The method for packing of file further includes following steps S1 to step S3:
S1:Receive configuration-direct, wherein, configuration-direct be used for air-conditioning device assembly is configured, specifically, mainly into The configuration of row assembly function, the instruction which can be issued based on the demand analysis of component, in the effect of configuration-direct The lower design instruction for forming component, and then so that the statement of requirements book subsequently to product or control logic specification divide Analysis, therefrom extracts the component for needing to encapsulate.
S2:The information with the air-conditioning device assembly postponed is obtained, specifically, the name for describing air-conditioning device assembly can be found out Word, adjective and verb, wherein, noun or adjective can be used for setting up the structure definition in code file, and verb can be with For setting up the statement of the method in code file.
S3:According to the information architecture operational order got, wherein, operational order is used for operation code file, i.e. according to Configuration to assembly function, generates the instruction operated to the code file of component, with the behaviour such as modify to code file Make.
Before the scanning of file destination is carried out, first the code file of component is operated according to configuration-direct, is realized Operation and/or manner of execution to air-conditioning device assembly be configured, and then improves the flexibility of component and expansible Property.
It is further preferred that after structure definition and method statement are encapsulated as class, the embodiment of the present invention is provided The method for packing of code file of air-conditioning device assembly further include:Code file is multiplexed based on class.
Since the code file of air-conditioning device assembly is encapsulated as class, realizes and component is individually compiled into storehouse (lib), and pass through Cross test.The negative of test using the attribute and function of load component, is so then had already passed through by " h files " comprising load Carrying component can be used by multiple product programs, and without the re-test component, the change of the operation action of load component in itself The program using the load component will not be influenced again, so as to improve reusability.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because According to the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but very much In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, a kind of encapsulation side for the code file for being used to implement above-mentioned air-conditioning device assembly is additionally provided The packaging system of the code file of the air-conditioning device assembly of method, the packaging system of the code file of the air-conditioning device assembly are mainly used for holding The method for packing of the code file for the air-conditioning device assembly that row the above of the embodiment of the present invention is provided, below implements the present invention The packaging system of the code file for the air-conditioning device assembly that example is provided does specific introduction:
Fig. 2 is the schematic diagram of the packaging system of the code file of air-conditioning device assembly according to embodiments of the present invention, such as Fig. 2 institutes Showing, the packaging system of the code file of the air-conditioning device assembly mainly includes scanning element 10, extraction unit 20 and encapsulation unit 30, Wherein:
Scanning element 10 is used for the file destination in scan code file, wherein, file destination preserves journey for code file The file of sequence statement, specifically, in embodiments of the present invention, the code file of air-conditioning device assembly makes to show a C language, mesh It can be " .h files " to mark file, i.e. file destination is the header file in code file.
Extraction unit 20 is used in scanning process, and structure definition and enantiomorph definition are extracted from file destination Method statement, specifically, the header file as file destination is divided into two parts, and top is the definition of c language structures, the inside Field illustrates the attribute of component;Lower part states the method that component is possessed.In scanning process, the knot on top is successively read Structure body is defined to be stated with the method for lower part.
Encapsulation unit 30 is used to structure definition and method statement being encapsulated as class, specifically, will be carried from file destination The structure definition and the statement of corresponding method of taking-up merge in a class, realize the encapsulation of class.
The packaging system of the code file for the air-conditioning device assembly that the embodiment of the present invention is provided, by code file Structure defines the method statement defined with enantiomorph and is obtained, and the two is encapsulated as class, realizes from air conditioner The angle specifically loaded, scattered control logic is packaged together, thus can externally provide an accordant interface, Modules all control the behavior of load by this interface.One is formed together with the behavior each loaded and attributes encapsulation Component, can individually be tested, and be compiled into c storehouses (lib), and be directly multiplexed in the form of binary.So in modules In only load need to be controlled by the interface of component, and load-receipt is to how this acts and meet function actually after control instruction It is required that it is then that completion oneself is responsible for by the load.If the operation of load itself and manner of execution change, it is only necessary to change Load component is simultaneously compiled and tested, and refrigeration or heating module without change using load, if equally in modules The Control sequence of load or the arrange parameter of load etc. change, and need to only change the module, and without change load component.With This, which is realized, need not recompilate and test, and the development efficiency for solving air conditioner embedded program in the prior art low is asked Topic, and then improve the effect of the development efficiency of controller software.
Also, the packaging system of the code file for the air-conditioning device assembly that the embodiment of the present invention is provided, does not use function to refer to The method of pin, can not only remove the EMS memory occupation of the part, but also be adapted to changeable type function, and the method for component liaison exists Directly statement comes out in " .h files ", and to be maximally maintained the memory surplus of embedded system, it is embedded to have reached reduction Memory in software uses.
Meanwhile the packaging system of the code file of the air-conditioning device assembly of the embodiment of the present invention is next auxiliary without other configurations information The encapsulation of class is helped, existing c code resources can be utilized to greatest extent by realizing, and be worked with minimum code refactoring to seal Dress.Without special factory's creation method in use, while also unlike ADT (abstract data type), instrument can be accessed directly The attribute member of component, although destroying Information encapsulation to a certain extent, brings many easy-to-use, has reached simplification Program the effect used.
Specifically, in embodiments of the present invention, encapsulation unit 30 mainly includes the first conversion subunit and the second conversion Unit, wherein, the first conversion subunit is used to defining structure into the title for being converted to class, and the second conversion subunit is used for general side Method is stated to be converted to the attribute of class.
Extraction unit 20 includes the first extraction module and the second extraction module, wherein, the first extraction module is used to scan During, structure definition is extracted from the statement of the top of file destination;Second extraction module is used in scanning process, from mesh The method statement that extraction enantiomorph defines in the lower part statement of mark file.
Preferably, the packaging system of the code file of the air-conditioning device assembly of the embodiment of the present invention further includes receiving unit, obtains Unit and construction unit are taken, wherein:
Before file destination in 10 scan code file of scanning element, receiving unit is used to receive configuration-direct, its In, configuration-direct is used to configure air-conditioning device assembly, specifically, mainly carries out the configuration of assembly function, which refers to The instruction that can be issued based on the demand analysis of component is made, the design instruction of component is formed under the action of configuration-direct, into And so that the statement of requirements book subsequently to product or control logic specification are analyzed, therefrom extract the group for needing to encapsulate Part.
Acquiring unit is used to obtain the information with the air-conditioning device assembly postponed, specifically, can find out for describing air-conditioning Noun, adjective and the verb of device assembly, wherein, the structure that noun or adjective can be used for setting up in code file is determined Justice, verb can be used for setting up the method statement in code file.
Construction unit is used for according to the information architecture operational order got, wherein, operational order is used for operation code text Part, i.e. according to the configuration to assembly function, generate the instruction operated to the code file of component, with to code file into The operations such as row modification.
Before the scanning of file destination is carried out, first the code file of component is operated according to configuration-direct, is realized Operation and/or manner of execution to air-conditioning device assembly be configured, and then improves the flexibility of component and expansible Property.
It is further preferred that the packaging system of the code file of the air-conditioning device assembly of the embodiment of the present invention further includes multiplexing list Member, after structure definition and method statement are encapsulated as class, which is used to answer code file based on class With.
Since the code file of air-conditioning device assembly is encapsulated as class, realizes and component is individually compiled into storehouse (lib), and pass through Cross test.The negative of test using the attribute and function of load component, is so then had already passed through by " h files " comprising load Carrying component can be used by multiple product programs, and without the re-test component, the change of the operation action of load component in itself The program using the load component will not be influenced again, so as to improve reusability.
It can be seen from the above description that the present invention realize have already passed through the load component of test can be multiple Product program uses, and will not influence to use again without the re-test component, the change of the operation action of load component in itself The program of the load component, so as to improve reusability, and improves development efficiency.And facilitate programming tool information;Subtract at the same time Memory in few embedded software uses;Existing code resource is multiplexed to greatest extent, reconstructs existing code to carry out component Encapsulation;Simplify programming to use.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored Performed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention be not restricted to it is any specific Hardware and software combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this area For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.

Claims (8)

  1. A kind of 1. method for packing of the code file of air-conditioning device assembly, it is characterised in that including:
    The file destination in the code file is scanned, wherein, the file destination is save routine sound in the code file Bright file, the code file are shown a C language;
    In scanning process, extraction structure defines and corresponds to the method sound that the structure defines from the file destination It is bright;And
    The angle specifically loaded from air conditioner, is encapsulated as class, there is provided one by structure definition and the method statement Interface, and the behavior loaded by Interface Controller,
    Before the file destination in scanning the code file, the method for packing further includes:
    Configuration-direct is received, wherein, the configuration-direct is used for operation and/or manner of execution progress to the air-conditioning device assembly Configuration;
    Obtain the information with the air-conditioning device assembly postponed;And
    According to the information architecture operational order got, wherein, the operational order is used to operate the code file.
  2. 2. method for packing according to claim 1, it is characterised in that by structure definition and the method statement envelope Fill includes for class:
    The structure is defined to the title for being converted to the class;And
    The method statement is converted to the attribute of the class.
  3. 3. method for packing according to claim 1, it is characterised in that in scanning process, carried from the file destination Taking structure to define and correspond to the method statement that the structure defines includes:
    In scanning process, the structure definition is extracted from the statement of the top of the file destination;And
    In scanning process, the method statement that the corresponding structure defines is extracted from the statement of the lower part of the file destination.
  4. 4. method for packing according to claim 1, it is characterised in that stated by structure definition and the method It is encapsulated as after class, the method for packing further includes:
    The code file is multiplexed based on the class.
  5. A kind of 5. packaging system of the code file of air-conditioning device assembly, it is characterised in that including:
    Scanning element, for scanning the file destination in the code file, wherein, the file destination is the code file The file of save routine statement, the code file are shown a C language;
    Extraction unit, in scanning process, structure definition and the corresponding structure to be extracted from the file destination The method statement of definition;And
    Encapsulation unit, for the angle specifically loaded from air conditioner, by structure definition and the method statement encapsulation For class, there is provided an interface, and the behavior loaded by Interface Controller;
    The packaging system further includes:
    Receiving unit, for receiving configuration-direct, wherein, the configuration-direct is used to configure the air-conditioning device assembly;
    Acquiring unit, for obtaining the information with the air-conditioning device assembly postponed;And
    Construction unit, for according to the information architecture operational order got, wherein, the operational order is used to operate the generation Code file.
  6. 6. packaging system according to claim 5, it is characterised in that the encapsulation unit includes:
    First conversion subunit, the title of the class is converted to for the structure to be defined;And
    Second conversion subunit, for the method statement to be converted to the attribute of the class.
  7. 7. packaging system according to claim 5, it is characterised in that the extraction unit includes:
    First extraction module, determines for extracting the structure in scanning process, in being stated from the top of the file destination Justice;And
    Second extraction module, in scanning process, the corresponding structure to be extracted from the statement of the lower part of the file destination The method statement that body defines.
  8. 8. packaging system according to claim 5, it is characterised in that the packaging system further includes:
    Multiplexing Unit, for being multiplexed based on the class to the code file.
CN201410522982.0A 2014-09-30 2014-09-30 Method and device for packaging code file of air conditioner assembly Active CN104317575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410522982.0A CN104317575B (en) 2014-09-30 2014-09-30 Method and device for packaging code file of air conditioner assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410522982.0A CN104317575B (en) 2014-09-30 2014-09-30 Method and device for packaging code file of air conditioner assembly

Publications (2)

Publication Number Publication Date
CN104317575A CN104317575A (en) 2015-01-28
CN104317575B true CN104317575B (en) 2018-04-13

Family

ID=52372810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410522982.0A Active CN104317575B (en) 2014-09-30 2014-09-30 Method and device for packaging code file of air conditioner assembly

Country Status (1)

Country Link
CN (1) CN104317575B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764779B (en) * 2019-10-21 2023-09-15 百度在线网络技术(北京)有限公司 Encapsulation method, registration method, device and rendering equipment
CN111596903B (en) * 2020-03-27 2024-01-05 完美世界(北京)软件科技发展有限公司 Data processing method and device in rendering engine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0969361A1 (en) * 1998-06-30 2000-01-05 Sun Microsystems, Inc. Class loader
US6389589B1 (en) * 1998-09-21 2002-05-14 Microsoft Corporation Class store schema
CN1514361A (en) * 2002-12-31 2004-07-21 北京科泰世纪科技有限公司 Construction member self description packaging method and method of operation
CN1519716A (en) * 2003-01-22 2004-08-11 北京科泰世纪科技有限公司 Method for generating C++ program based on component definition language
CN101840334A (en) * 2010-04-16 2010-09-22 中国电子科技集团公司第二十八研究所 Software component service packaging method
CN102270223A (en) * 2011-06-22 2011-12-07 中兴通讯股份有限公司 Method and device for generating message decoding library, and message decoding method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0969361A1 (en) * 1998-06-30 2000-01-05 Sun Microsystems, Inc. Class loader
US6389589B1 (en) * 1998-09-21 2002-05-14 Microsoft Corporation Class store schema
CN1514361A (en) * 2002-12-31 2004-07-21 北京科泰世纪科技有限公司 Construction member self description packaging method and method of operation
CN1519716A (en) * 2003-01-22 2004-08-11 北京科泰世纪科技有限公司 Method for generating C++ program based on component definition language
CN101840334A (en) * 2010-04-16 2010-09-22 中国电子科技集团公司第二十八研究所 Software component service packaging method
CN102270223A (en) * 2011-06-22 2011-12-07 中兴通讯股份有限公司 Method and device for generating message decoding library, and message decoding method and device

Also Published As

Publication number Publication date
CN104317575A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN103178996B (en) Distributed packet-switching chip model verification system and method
CN107704386B (en) Unit testing method and device of business process, computer equipment and storage medium
CN104821954B (en) A kind of cross-platform remote procedure calling (PRC) method
CN111367818B (en) System component testing method and device based on dynamic data return
CN103237083B (en) A kind of mobile information service resource paradigmatic system and method
CN104683386A (en) Pile service implementation method and device capable of customizing response
CN107391366B (en) Test case generation method, test case execution method and test case execution device
CN109697060A (en) Special video effect software and its generation method, device, equipment and storage medium
CN107526676B (en) Cross-system test method and device
CN109002033B (en) Automatic calibration system and method based on UDS
CN103718159B (en) Image processing software development approach, image processing software development device
CN105183466A (en) Encapsulating method for simplifying echarts invocation
CN102141991A (en) Method and system for web server
CN113238834B (en) Simulation model file processing method and device and electronic equipment
CN104317575B (en) Method and device for packaging code file of air conditioner assembly
CN105630563A (en) Dynamic model configuration method of relay protection device specification based on XML (Extensible Markup Language)
CN105404574B (en) Smart card and mobile terminal consistency test method and device
CN104049974A (en) Dynamic control assembly method and system
CN111475154A (en) Program editing system, method, electronic device, and storage medium
CN110187986A (en) A kind of command management method, system, device and computer readable storage medium
CN104063231B (en) Test resource rapid access method based on HIT-TENA
CN117370203A (en) Automatic test method, system, electronic equipment and storage medium
CN104423932B (en) The method that Binary Element is called in Javascript
CN107463421A (en) A kind of compiling implement method and system of static procedural model
CN113534682B (en) Method and apparatus for managing logic blocks in an industrial controller

Legal Events

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