CN103227779A - Communication control method, system and device for building equipment - Google Patents

Communication control method, system and device for building equipment Download PDF

Info

Publication number
CN103227779A
CN103227779A CN2013101021693A CN201310102169A CN103227779A CN 103227779 A CN103227779 A CN 103227779A CN 2013101021693 A CN2013101021693 A CN 2013101021693A CN 201310102169 A CN201310102169 A CN 201310102169A CN 103227779 A CN103227779 A CN 103227779A
Authority
CN
China
Prior art keywords
agreement
instruction
document
producer
file
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
CN2013101021693A
Other languages
Chinese (zh)
Other versions
CN103227779B (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.)
China Security and Surveillance Technology PRC Inc
Original Assignee
China Security and Surveillance Technology PRC Inc
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 China Security and Surveillance Technology PRC Inc filed Critical China Security and Surveillance Technology PRC Inc
Priority to CN201310102169.3A priority Critical patent/CN103227779B/en
Publication of CN103227779A publication Critical patent/CN103227779A/en
Application granted granted Critical
Publication of CN103227779B publication Critical patent/CN103227779B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention is applicable to the field of automatic control and weak current intelligent integration, and provides a communication control method, a communication control system and a communication control device for building equipment. The communication control method comprises the following steps: firstly, converting a non-standardized protocol file of acquisition equipment into a labeled protocol file; secondly, analyzing and defining commands in the labeled protocol file one by one to generate an acquisition drive configuration file corresponding to the non-standardized protocol file provided by a manufacturer; thirdly, according to the type of a drive template and the acquisition drive configuration file which are provided by the manufacturer, generating an acquisition drive file; and finally, loading the acquisition drive file, analyzing the acquisition drive file according to the acquisition driving configuration file, establishing connection with the acquisition equipment according to an analysis result, sending an acquisition control command to the acquisition equipment, and sending an execution result returned by the acquisition equipment to a corresponding integrated system/linkage device by the communication control device. Through the communication control method, the communication control system and the communication control device, the development cost is saved and the project implementing efficiency is improved.

Description

A kind of communication control method of building equipment, system and device
Technical field
The invention belongs to the intelligent integration field of building equipment automation control and light current, relate in particular to a kind of communication control method, system and device of building equipment.
Background technology
At present, increasing along with the continuous sustainable development of economy to the intelligentized demand of building control appliance, therefore intelligent building to be had higher requirement, the construction of Ground Connection in Intelligent Building control appliance and management become more and more important.
Because the development of demand, people are also constantly developed the requirement in life and space, have proposed more and more higher to become more meticulous, the business need of comfortableization.For example, for optical sensor, people require to receive the intensity index of illumination; Temperature sensor, humidity sensor can be collected temperature, the humidity of an enclosure space; Curtain controller can guarantee the amplitude that curtain is opened, closed, and scatters and closed amplitude; Lighting controller can be controlled the brightness of assigned address lighting etc., and producer adopts the instruction of customization or other implementations to finish to these specific (special) requirements usually, the initial delimiter of its byte that adopts, check character and data bit length usually vary, and the checking algorithm that adopts also has nothing in common with each other, therefore collection, control, test and the adjustment of these equipment are carried out customized development in implementing at the scene with regard to needs, expend a large amount of manpowers and the wasting of resources, the effect that often can not get.
Summary of the invention
The embodiment of the invention provides a kind of communication control method, system and device of building equipment, is intended to solve prior art and expends a large amount of manpowers and the wasting of resources, the problem of the effect that often but can not get.
On the one hand, provide a kind of communication control method of building equipment, described method comprises:
The communication control unit of building equipment obtains producer's document of agreement of collecting device;
If described producer document of agreement criteria of right and wrong document of agreement then converts described producer document of agreement to the label document of agreement;
Instruction in the described label document of agreement is resolved one by one and defined, generate and the corresponding collection drive arrangements file of described producer document of agreement;
The drive template type, the described collection drive arrangements file that provide according to producer generate collection driving file;
Load described collection and drive file, according to described collection drive arrangements file described collection being driven file resolves, connect according to analysis result and described collecting device, send the acquisition controlling instruction to described collecting device, the execution result that described collecting device is returned is sent to corresponding integrated system/interlocking equipment simultaneously.
Further, describedly convert described producer document of agreement to the label document of agreement and comprise:
Load described producer document of agreement;
Setting command defines symbol, argumnent separator, explanation in Chinese start-stop symbol;
After setting is finished, according to instruction define symbol, argumnent separator, explanation in Chinese start-stop symbol tentatively extracts classifications, the described label document of agreement of arrangement formation.
Further, described instruction in the described label document of agreement resolved one by one and defined, generate the collection drive arrangements file corresponding and comprise with described producer document of agreement:
Load prefabricated tag library;
Load producer instruction label storehouse;
Read one of described label document of agreement instruction text, from tag library, instruction label storehouse, instruct the pairing of title, parameter-definition, form the format matched order label of this instruction;
Read next bar instruction text again, and repeat above pairing process,, then form the collection drive arrangements file and the output of labelization if pairing finishes.
Further, described prefabricated tag library is the nonstandard protocol acquisition controlling masterplate that communication control unit pre-defines, and every cover masterplate comprises the three major types instruction: initialization link order, acquisition controlling instruction and exit instruction;
Described producer instruction label storehouse is to carry out the instruction label storehouse that classified finishing forms by the staff according to the nonstandard protocol acquisition controlling masterplate that producer's nonstandardized technique document of agreement and communication control unit provide.
Further, described nonstandard protocol acquisition controlling masterplate is four classes: database acquisition controlling masterplate, Netz ocket connected mode acquisition controlling masterplate, RS232/RS485 connected mode acquisition controlling masterplate, content of text connected mode acquisition controlling masterplate.
On the other hand, provide a kind of communication control unit of building equipment, described device comprises:
Producer's agreement acquiring unit is used to obtain producer's document of agreement of collecting device;
Conversion unit of protocol if be used for described producer document of agreement criteria of right and wrong document of agreement, then converts described producer document of agreement to the label document of agreement;
Gather the drive arrangements file generating unit, be used for the instruction of described label document of agreement is resolved one by one and defined, generate and the corresponding collection drive arrangements file of described producer document of agreement;
Gather and drive file generating unit, the drive template type that provides according to producer, described collection drive arrangements file generation collection driving file are provided;
Collecting unit, be used to load described collection and drive file, according to described collection drive arrangements file described collection being driven file resolves, connect according to analysis result and described collecting device, send the acquisition controlling instruction to described collecting device, the execution result that described collecting device is returned is sent to corresponding integrated system/interlocking equipment simultaneously.
Further, described conversion unit of protocol comprises:
Producer's agreement load-on module is used to load described producer document of agreement;
The symbol setting module is used for setting command and defines symbol, argumnent separator, explanation in Chinese start-stop symbol;
Label document of agreement generation module, be used for setting finish after, define symbol, argumnent separator, explanation in Chinese start-stop symbol according to instruction and tentatively extract classifications, the described label document of agreement of arrangement formation.
Further, described collection drive arrangements file generating unit comprises:
The tag library load-on module is used to load prefabricated tag library;
Instruction label storehouse load-on module is used to load producer instruction label storehouse;
The label matching module is used to read an instruction text of described label document of agreement, instructs the pairing of title, parameter-definition from tag library, instruction label storehouse, forms the format matched order label of this instruction;
Gather drive arrangements file output module, be used for reading again next bar instruction text, and repeat above pairing process,, then form the collection drive arrangements file and the output of labelization if pairing finishes.
Further, described prefabricated tag library is the nonstandard protocol acquisition controlling masterplate that described communication control unit pre-defines, and every cover masterplate comprises the three major types instruction: initialization link order, acquisition controlling instruction and exit instruction;
Described producer instruction label storehouse is to carry out the instruction label storehouse that classified finishing forms by the staff according to the nonstandard protocol acquisition controlling masterplate that producer's nonstandardized technique document of agreement and communication control unit provide.
Further, described nonstandard protocol acquisition controlling masterplate is four classes: database acquisition controlling masterplate, Netz ocket connected mode acquisition controlling masterplate, RS232/485 connected mode acquisition controlling masterplate, content of text connected mode acquisition controlling masterplate.
Again on the one hand, a kind of communication control system of building equipment is provided, comprise integrated system/interlocking equipment and light current collecting device/light current subsystem, collecting device is arranged in light current collecting device/light current subsystem, and described system also comprises: the communication control unit that is installed on the aforesaid building equipment between described integrated system/interlocking equipment and the described light current collecting device/light current subsystem.
In the embodiment of the invention, the communication control unit of building equipment converts the nonstandardized technique document of agreement of collecting device to the label document of agreement earlier; Again the instruction in this label document of agreement is resolved one by one and defined, the corresponding collection drive arrangements file of nonstandardized technique document of agreement that provides with producer is provided; The drive template type that provides according to producer, collection drive arrangements file generate to gather and drive file then, and this gathers the driving file can be by the correct identification of the communication control unit of building equipment; At last, the communication control unit of building equipment loads this collection and drives file, according to gathering the drive arrangements file this collection driving file is resolved, connect according to analysis result and collecting device, send acquisition controlling and instruct to collecting device, the execution result that collecting device is returned is sent to corresponding integrated system/interlocking equipment simultaneously.Wherein by prefabricated tag library and producer instruction label storehouse, and nonstandard protocol acquisition controlling masterplate, carry out the label document of agreement of labelization resolves automatically at the nonstandardized technique acquisition protocols file of different manufacturers, and the method that acquisition controlling instruction is classified is provided, compared with prior art, standard the automatic resolving of version of an agreement, accelerated development efficiency, solve the difficulty of on-site customization exploitation and debugging, saved development cost, improved the efficient of engineering construction.
Description of drawings
Fig. 1 is the realization flow figure of the communication control method of the building equipment that provides of the embodiment of the invention one;
Fig. 2 is the structured flowchart of the communication control system of the building equipment that provides of the embodiment of the invention one.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, the communication control unit of building equipment converts the nonstandardized technique document of agreement of collecting device to the label document of agreement earlier; Again the instruction in this label document of agreement is resolved one by one and defined, the corresponding collection drive arrangements file of nonstandardized technique document of agreement that provides with producer is provided; The drive template type that provides according to producer, collection drive arrangements file generate to gather and drive file then, and this gathers the driving file can be by the correct identification of communication control unit; At last, communication control unit loads this collection and drives file, according to gathering the drive arrangements file this collection driving file is resolved, connect according to analysis result and collecting device, send acquisition controlling and instruct to collecting device, the execution result that collecting device is returned is sent to corresponding integrated system/interlocking equipment simultaneously.
Below in conjunction with specific embodiment realization of the present invention is described in detail:
Embodiment one
Fig. 1 shows the realization flow of the communication control method of the building equipment that the embodiment of the invention one provides, and details are as follows:
In step S101, communication control unit obtains producer's document of agreement of collecting device.
In the present embodiment, communication control unit is installed between integrated system/interlocking equipment and the light current collecting device/light current subsystem usually, and producer customizes collecting device and generally is arranged in light current collecting device/light current subsystem.Communication control unit customizes with producer and being connected between the collecting device supports TCP/IP mode, serial mode and 485 modes, after communication control unit and collecting device connect, can get access to producer's document of agreement of collecting device.
In step S102, if producer's document of agreement criteria of right and wrong document of agreement then converts producer's document of agreement to the label document of agreement.
In the present embodiment, collecting device can provide two kinds of producer's document of agreement: standard agreement and customization agreement (nonstandardized technique document of agreement).
Standard agreement does not need exploitation, directly selects from the configuration driven storehouse, and the configuration driven storehouse is the standard driver storehouse of carrying out prefabricated generation according to present general in the world standard agreement by communication control unit, as OPC, Modbus, Bacnet etc.; Customizing agreement needs the user to customize according to the acquisition protocols or the open interface of collecting device, presses the interface type that the corresponding device type selecting adopts, and generates the label document of agreement that customizes agreement automatically.
The nonstandardized technique document of agreement generally comprises equipment acquisition driver and the equipment collection that producer provides and drives the protocol specification file, nonstandardized technique document of agreement in the present embodiment at be that the equipment collection drives the protocol specification file.
Concrete, the text formatting label instrument that is provided by communication control unit is converted to preliminary label document of agreement with the nonstandardized technique document of agreement, the label document of agreement adopts the XML form to preserve, text formatting label instrument is that the method step that adopts of label document of agreement is as follows with producer's nonstandard protocol file conversion: at first load producer's nonstandardized technique document of agreement, define symbol according to the prompting setting command then, argumnent separator, explanation in Chinese start-stop symbol, after setting is finished, then text formatting label instrument defines symbol according to instruction, argumnent separator, explanation in Chinese start-stop symbol etc. tentatively extracts classification, last human-edited, arrangement forms preliminary label document of agreement.
In step S103, the instruction in the label document of agreement is resolved one by one and defined, generate and the corresponding collection drive arrangements file of producer's document of agreement.
In the present embodiment, load prefabricated tag library earlier, reload producer instruction label storehouse, then one of the reading tag document of agreement the instruction text, from tag library, instruction label storehouse, instruct the pairing of title, parameter-definition, form the format matched order label of this instruction, detailed process is: pass through keyword query in tag library, locate the affiliated content of such instruction, and in the instruction label storehouse, locate this instruction, and from this instruction, take out corresponding contents and format label value according to this keyword.And then read next bar instruction text, and repeat above pairing process, if pairing finishes, then form the collection drive arrangements file and the output of labelization.
Wherein, prefabricated tag library is the nonstandard protocol acquisition controlling masterplate that communication control unit pre-defines, and every cover masterplate comprises the three major types instruction: initialization link order, acquisition controlling instruction and exit instruction.
At present, can predefined nonstandardized technique agreement acquisition controlling can classify as following four class nonstandard protocol acquisition controlling masterplates usually, the user also can add nonstandard protocol acquisition controlling masterplate according to the needs of self:
1, database acquisition controlling masterplate, the initialization link order has: definition database type, definition connection attribute character, table and Field Definition, login; The acquisition controlling instruction has: read the table and the field contents of appointment, carry out querying condition, write in the specific field of named list; Exit instruction has: close connection, discharge resource etc.;
2, Netz ocket connected mode acquisition controlling masterplate, the initialization link order has: definition socket connection type, the definition connectivity port, the ip address, initialization connects; The acquisition controlling instruction has: send request command, receive data parsing, and order and reception data are formatd, be divided into start byte, define symbol, checking algorithm stops byte, data bit length, command name, parameter 1 length and type, parameter 2 length and type etc.; Exit instruction has: close connection, discharge resource etc.;
3, RS232/485 connected mode acquisition controlling masterplate, the initialization link order has: definition RS232/485 connection type, definition connectivity port character string, the ip address, initialization connects; The acquisition controlling instruction has the transmission request command, receives data parsing, and order and reception data are formatd, and is divided into start byte, define symbol, checking algorithm stops byte, data bit length, command name, parameter 1 length and type, parameter 2 length and type etc.; Exit instruction is closed connection, discharges resource etc.;
4, content of text connected mode acquisition controlling masterplate, the initialization link order has: definition text title, initialization opens file; Acquisition controlling instruction has: read capable content, and writing line, and format reading and write data, being divided into begin column, row define symbol, Field Definition etc.; Exit instruction has: close connection, discharge resource etc.
Producer instruction label storehouse is to carry out the instruction label storehouse that classified finishing forms by the staff according to the nonstandard protocol acquisition controlling masterplate that the communication control unit of producer's nonstandardized technique document of agreement and building equipment provides.
Concrete, the process that the instruction in the document of agreement is resolved one by one and defined relates to the definition of acquisition controlling instruction and the definition of acquisition parameter.
The process that label that acquisition controlling instruction definition step, the acquisition controlling that exactly producer is provided instruction can be discerned with machine or code define.
Acquisition parameter definition step is that each output parameter that acquisition controlling instruction definition step generates carry out labelization, and carries out the process that special definition is sorted out.Wherein, acquisition parameter is divided three classes: numeric type, character type and Boolean type.
Divide class definition according to these bases, the format label definition of input is carried out in every instruction, form at last with producer and drive corresponding collection drive arrangements file of document of agreement and output.
In step S104, the drive template type, the collection drive arrangements file that provide according to producer generate collection and drive file.
In the present embodiment, according to producer's document of agreement that producer provides, select prefabricated driving masterplate type, just nonstandard protocol acquisition controlling masterplate earlier; Select and the corresponding collection drive arrangements file of producer's document of agreement again; The driving file (if there is) of selecting producer to provide is at last carried out the packing compiling, drives file but compiling forms the collection carried out of the dynamic load that customizes.
In step S105, load to gather and drive file, resolve gathering the driving file according to gathering the drive arrangements file, connect according to analysis result and collecting device, send acquisition controlling and instruct to collecting device, the execution result that collecting device is returned is sent to corresponding interlocking equipment simultaneously.
In the present embodiment, the collection of the customization of the communication control unit dynamic load of building equipment compiling formation drives file; The collection drive arrangements file of load step S103 generation simultaneously, according to gathering the drive arrangements file collection driving file that customizes is resolved, carry out successively according to analysis result: set up initialization with collecting device and be connected, sending acquisition controlling instructs to collecting device, carry out exit instruction after the data that the reception collecting device sends, the output acquisition parameter is given integrated system or interlocking equipment.
Introduce the implementation procedure of present embodiment below with an example: for example, the optical sensor that certain producer provides is because the illuminance collection that provides drives relatively uniqueness of protocol specification file, two instructions only are provided, article one, collecting work range (0~200,000 lx) is gathered output signal (0~10V, 0~20mA) for one; Specification also describes optical sensor in detail and adopts the connection of 485 buses simultaneously, and the requirement of communication baud rate, data bit, position of rest and check digit has been described; At this supporting paper, at first from nonstandard protocol acquisition controlling masterplate, select the affiliated type of this document, by text formatting label instrument this supporting paper is converted to preliminary label document of agreement again, again the instruction in this label document of agreement is resolved one by one, defined, be converted to the collection drive arrangements file that communication control unit can be discerned; Collection drive arrangements file will instruct and specifically be divided three classes:
The initialization link order:
1), opens 485 serial ports connected modes (by communication baud rate, data bit, position of rest and check digit requirement)
The acquisition controlling instruction:
1), send read write command, get work range (input parameter is the ID of transducer, and return value is the work range)
2), send read write command, get output signal (input parameter is the ID of transducer, and return value is the work range)
Exit instruction:
1), closing 485 serial ports connects the release resource.
The drive template type that provides according to producer, collection drive arrangements file generate to gather and drive file then, and this collection driving file of dynamic load carries out data acquisition, export to integrated system/interlocking equipment, whole process need not to specialize in personnel and develops at the scene, and only needing to be configured generation label document of agreement according to prompting can finish.
In addition,, can show in real time to gather to drive the detailed return information that file is carried out each step when gathering, make things convenient for the field engineer to debug as a preferred embodiment of the present invention; The reception information and the execution information that show every instruction in real time; In addition, can also carry out track record, make things convenient for the user to check its log information generating the process of gathering the driving file.
Present embodiment, the communication control unit of building equipment converts the nonstandardized technique document of agreement of collecting device to the label document of agreement earlier; Again the instruction in this label document of agreement is resolved one by one and defined, the corresponding collection drive arrangements file of nonstandardized technique document of agreement that provides with producer is provided; The drive template type that provides according to producer, collection drive arrangements file generate to gather and drive file then, and this gathers the driving file can be by the correct identification of the communication control unit of building equipment; At last, the communication control unit of building equipment loads this collection and drives file, according to gathering the drive arrangements file this collection driving file is resolved, connect according to analysis result and collecting device, send acquisition controlling and instruct to collecting device, the execution result that collecting device is returned is sent to corresponding integrated system/interlocking equipment simultaneously.Wherein by prefabricated tag library and producer instruction label storehouse, and nonstandard protocol acquisition controlling masterplate, carry out the label document of agreement of labelization resolves automatically at the nonstandardized technique acquisition protocols file of different manufacturers, and the method that acquisition controlling instruction is classified is provided, compared with prior art, standard the automatic resolving of version of an agreement, accelerated development efficiency, solve the difficulty of on-site customization exploitation and debugging, saved development cost, improved the efficient of engineering construction.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the various embodiments described above method is to instruct relevant hardware to finish by program, corresponding program can be stored in the computer read/write memory medium, described storage medium is as ROM/RAM, disk or CD etc.
Embodiment two
Fig. 2 shows the concrete structure block diagram of the communication control system of the building equipment that the embodiment of the invention two provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.This system comprises: integrated system/interlocking equipment 21 and light current collecting device/light current subsystem 22, collecting device 221 is arranged in light current collecting device/light current subsystem 22, and system also comprises: the communication control unit 23 that is installed on the building equipment between integrated system/interlocking equipment 21 and light current collecting device/light current subsystem 22.
Wherein, the communication control unit 23 of building equipment comprises: producer's agreement acquiring unit 231, conversion unit of protocol 232, collection drive arrangements file generating unit 233, collection drive file generating unit 234 and collecting unit 235.
Concrete, producer's agreement acquiring unit 231 is used to obtain producer's document of agreement of collecting device;
Conversion unit of protocol 232 if be used for producer's document of agreement criteria of right and wrong document of agreement, then converts producer's document of agreement to the label document of agreement;
Gather drive arrangements file generating unit 233, be used for the instruction of label document of agreement is resolved one by one and defined, generate and the corresponding collection drive arrangements file of producer's document of agreement;
Gather and drive file generating unit 234, the drive template type, the collection drive arrangements file that are used for providing according to producer generate to gather and drive file;
Collecting unit 235, be used for loading gathering and drive file, resolve gathering the driving file according to gathering the drive arrangements file, connect according to analysis result and collecting device, send acquisition controlling and instruct to collecting device, the execution result that collecting device is returned is sent to corresponding integrated system/interlocking equipment simultaneously.
Further, conversion unit of protocol 232 comprises:
Producer's agreement load-on module is used to load producer's document of agreement;
The symbol setting module is used for setting command and defines symbol, argumnent separator, explanation in Chinese start-stop symbol;
Label document of agreement generation module, be used for setting finish after, define symbol, argumnent separator, explanation in Chinese start-stop symbol according to instruction and tentatively extract classifications, arrangement formation label document of agreement.
Further, gathering drive arrangements file generating unit 233 comprises:
The tag library load-on module is used to load prefabricated tag library;
Instruction label storehouse load-on module is used to load producer instruction label storehouse;
The label matching module is used for one of reading tag document of agreement instruction text, instructs the pairing of title, parameter-definition from tag library, instruction label storehouse, forms the format matched order label of this instruction;
Gather drive arrangements file output module, be used for reading again next bar instruction text, and repeat above pairing process,, then form the collection drive arrangements file and the output of labelization if pairing finishes.
Further, tag library is the nonstandard protocol acquisition controlling masterplate that communication control unit 23 pre-defines, and every cover masterplate comprises the three major types instruction: initialization link order, acquisition controlling instruction and exit instruction;
Producer instruction label storehouse is to carry out the instruction label storehouse that classified finishing forms by the staff according to the nonstandard protocol acquisition controlling masterplate that the communication control unit 33 of producer's nonstandardized technique document of agreement and building equipment provides.
Further, nonstandard protocol acquisition controlling masterplate is four classes: database acquisition controlling masterplate, Netz ocket connected mode acquisition controlling masterplate, RS232/485 connected mode acquisition controlling masterplate, content of text connected mode acquisition controlling masterplate.
Further, the communication control unit 23 of building equipment can also comprise: monitoring unit, this unit are used for producer's agreement acquiring unit 231, conversion unit of protocol 232, gather drive arrangements file generating unit 233, gather implementation record and log information that the implementation that drives file generating unit 234 and collecting unit 235 is carried out trace debug, checked these unit.
The system that the embodiment of the invention provides can be applied among the method embodiment one of aforementioned correspondence, and details do not repeat them here referring to the description of the foregoing description one.
Present embodiment, the communication control unit of building equipment converts the nonstandardized technique document of agreement of collecting device to the label document of agreement earlier; Again the instruction in this label document of agreement is resolved one by one and defined, the corresponding collection drive arrangements file of nonstandardized technique document of agreement that provides with producer is provided; The drive template type that provides according to producer, collection drive arrangements file generate to gather and drive file then, and this gathers the driving file can be by the correct identification of the communication control unit of building equipment; At last, the communication control unit of building equipment loads this collection and drives file, according to gathering the drive arrangements file this collection driving file is resolved, connect according to analysis result and collecting device, send acquisition controlling and instruct to collecting device, the execution result that collecting device is returned is sent to corresponding integrated system/interlocking equipment simultaneously.Wherein by prefabricated tag library and producer instruction label storehouse, and nonstandard protocol acquisition controlling masterplate, carry out the label document of agreement of labelization resolves automatically at the nonstandardized technique acquisition protocols file of different manufacturers, and the method that acquisition controlling instruction is classified is provided, compared with prior art, standard the automatic resolving of version of an agreement, accelerated development efficiency, solve the difficulty of on-site customization exploitation and debugging, saved development cost, improved the efficient of engineering construction.
It should be noted that among the said system embodiment that each included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize function corresponding; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. the communication control method of a building equipment is characterized in that, described method comprises:
The communication control unit of building equipment obtains producer's document of agreement of collecting device;
If described producer document of agreement criteria of right and wrong document of agreement then converts described producer document of agreement to the label document of agreement;
Instruction in the described label document of agreement is resolved one by one and defined, generate and the corresponding collection drive arrangements file of described producer document of agreement;
The drive template type, the described collection drive arrangements file that provide according to producer generate collection driving file;
Load described collection and drive file, according to described collection drive arrangements file described collection being driven file resolves, connect according to analysis result and described collecting device, send the acquisition controlling instruction to described collecting device, the execution result that described collecting device is returned is sent to corresponding integrated system/interlocking equipment simultaneously.
2. the method for claim 1 is characterized in that, describedly converts described producer document of agreement to the label document of agreement and comprises:
Load described producer document of agreement;
Setting command defines symbol, argumnent separator, explanation in Chinese start-stop symbol;
After setting is finished, according to instruction define symbol, argumnent separator, explanation in Chinese start-stop symbol tentatively extracts classifications, the described label document of agreement of arrangement formation.
3. the method for claim 1 is characterized in that, described instruction in the described label document of agreement is resolved one by one and defined, and generates the collection drive arrangements file corresponding with described producer document of agreement and comprises:
Load prefabricated tag library;
Load producer instruction label storehouse;
Read one of described label document of agreement instruction text, from tag library, instruction label storehouse, instruct the pairing of title, parameter-definition, form the format matched order label of this instruction;
Read next bar instruction text again, and repeat above pairing process,, then form the collection drive arrangements file and the output of labelization if pairing finishes.
4. method as claimed in claim 3, it is characterized in that, described prefabricated tag library is the nonstandard protocol acquisition controlling masterplate that communication control unit pre-defines, and every cover masterplate comprises the three major types instruction: initialization link order, acquisition controlling instruction and exit instruction;
Described producer instruction label storehouse is to carry out the instruction label storehouse that classified finishing forms by the staff according to the nonstandard protocol acquisition controlling masterplate that producer's nonstandardized technique document of agreement and communication control unit provide.
5. method as claimed in claim 4, it is characterized in that described nonstandard protocol acquisition controlling masterplate is four classes: database acquisition controlling masterplate, Netz ocket connected mode acquisition controlling masterplate, RS232/RS485 connected mode acquisition controlling masterplate, content of text connected mode acquisition controlling masterplate.
6. the communication control unit of a building equipment is characterized in that, described device comprises:
Producer's agreement acquiring unit is used to obtain producer's document of agreement of collecting device;
Conversion unit of protocol if be used for described producer document of agreement criteria of right and wrong document of agreement, then converts described producer document of agreement to the label document of agreement;
Gather the drive arrangements file generating unit, be used for the instruction of described label document of agreement is resolved one by one and defined, generate and the corresponding collection drive arrangements file of described producer document of agreement;
Gather and drive file generating unit, the drive template type that provides according to producer, described collection drive arrangements file generation collection driving file are provided;
Collecting unit, be used to load described collection and drive file, according to described collection drive arrangements file described collection being driven file resolves, connect according to analysis result and described collecting device, send the acquisition controlling instruction to described collecting device, the execution result that described collecting device is returned is sent to corresponding integrated system/interlocking equipment simultaneously.
7. device as claimed in claim 6 is characterized in that, described conversion unit of protocol comprises:
Producer's agreement load-on module is used to load described producer document of agreement;
The symbol setting module is used for setting command and defines symbol, argumnent separator, explanation in Chinese start-stop symbol;
Label document of agreement generation module, be used for setting finish after, define symbol, argumnent separator, explanation in Chinese start-stop symbol according to instruction and tentatively extract classifications, the described label document of agreement of arrangement formation.
8. device as claimed in claim 6 is characterized in that, described collection drive arrangements file generating unit comprises:
The tag library load-on module is used to load prefabricated tag library;
Instruction label storehouse load-on module is used to load producer instruction label storehouse;
The label matching module is used to read an instruction text of described label document of agreement, instructs the pairing of title, parameter-definition from tag library, instruction label storehouse, forms the format matched order label of this instruction;
Gather drive arrangements file output module, be used for reading again next bar instruction text, and repeat above pairing process,, then form the collection drive arrangements file and the output of labelization if pairing finishes.
9. device as claimed in claim 8, it is characterized in that, described prefabricated tag library is the nonstandard protocol acquisition controlling masterplate that described communication control unit pre-defines, and every cover masterplate comprises the three major types instruction: initialization link order, acquisition controlling instruction and exit instruction;
Described producer instruction label storehouse is to carry out the instruction label storehouse that classified finishing forms by the staff according to the nonstandard protocol acquisition controlling masterplate that producer's nonstandardized technique document of agreement and communication control unit provide.
10. device as claimed in claim 9, it is characterized in that described nonstandard protocol acquisition controlling masterplate is four classes: database acquisition controlling masterplate, Netz ocket connected mode acquisition controlling masterplate, RS232/485 connected mode acquisition controlling masterplate, content of text connected mode acquisition controlling masterplate.
11. the communication control system of a building equipment, comprise integrated system/interlocking equipment and light current collecting device/light current subsystem, collecting device is arranged in light current collecting device/light current subsystem, it is characterized in that described system also comprises: be installed on the communication control unit between described integrated system/interlocking equipment and the described light current collecting device/light current subsystem as claim 6 to 10 building equipment as described in each.
CN201310102169.3A 2013-03-27 2013-03-27 A kind of communication control method of building equipment, system and device Expired - Fee Related CN103227779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310102169.3A CN103227779B (en) 2013-03-27 2013-03-27 A kind of communication control method of building equipment, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310102169.3A CN103227779B (en) 2013-03-27 2013-03-27 A kind of communication control method of building equipment, system and device

Publications (2)

Publication Number Publication Date
CN103227779A true CN103227779A (en) 2013-07-31
CN103227779B CN103227779B (en) 2016-04-27

Family

ID=48838040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310102169.3A Expired - Fee Related CN103227779B (en) 2013-03-27 2013-03-27 A kind of communication control method of building equipment, system and device

Country Status (1)

Country Link
CN (1) CN103227779B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025056A (en) * 2014-04-25 2015-11-04 上海迪爱斯通信设备有限公司 Internet of Things information collection and monitoring system design method
CN105812445A (en) * 2015-08-17 2016-07-27 北京轻停网络科技有限公司 Internet of Things connection method, device and equipment
CN106059833A (en) * 2016-07-28 2016-10-26 武汉虹信技术服务有限责任公司 Multi-protocol adaptation method and system applied to intelligent building platform
CN107124337A (en) * 2017-04-19 2017-09-01 珠海格力电器股份有限公司 A kind of equipment configuration method, device, system and collection control terminal
CN107689924A (en) * 2017-08-29 2018-02-13 北京格是菁华信息技术有限公司 The sending method and system of monitoring data
CN107911440A (en) * 2017-11-13 2018-04-13 广东电网有限责任公司电力科学研究院 The standard configurations parameter management-control method and system of station level data remote equipment
CN109768970A (en) * 2018-12-24 2019-05-17 通号通信信息集团有限公司 It is a kind of based on configurable puppy parc generation method
CN110313159A (en) * 2017-02-14 2019-10-08 Ls产电株式会社 Communication data modeling method
CN110434857A (en) * 2019-08-30 2019-11-12 天津施格自动化科技有限公司 A kind of robot control method based on edge calculations and compatible multi-motion instruction
CN112837525A (en) * 2021-01-20 2021-05-25 蘑菇物联技术(深圳)有限公司 RS485 instrument configuration and communication method, system, terminal and storage medium
CN113034692A (en) * 2021-04-29 2021-06-25 上海智大电子有限公司 BIM-based underground pipe gallery data initialization method and system
CN113489802A (en) * 2021-07-15 2021-10-08 罗慧 Internet of things collection equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030208294A1 (en) * 2001-12-26 2003-11-06 National Science Council Equipment management method
CN101566835A (en) * 2009-05-21 2009-10-28 中兴通讯股份有限公司 Method and device for controlling instrument
CN202512425U (en) * 2012-02-28 2012-10-31 安阳工学院 Intelligent control system for building
CN102857567A (en) * 2012-09-07 2013-01-02 中科方德软件有限公司 System and method for data transmission based on sensor of Internet of things

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030208294A1 (en) * 2001-12-26 2003-11-06 National Science Council Equipment management method
CN101566835A (en) * 2009-05-21 2009-10-28 中兴通讯股份有限公司 Method and device for controlling instrument
CN202512425U (en) * 2012-02-28 2012-10-31 安阳工学院 Intelligent control system for building
CN102857567A (en) * 2012-09-07 2013-01-02 中科方德软件有限公司 System and method for data transmission based on sensor of Internet of things

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025056A (en) * 2014-04-25 2015-11-04 上海迪爱斯通信设备有限公司 Internet of Things information collection and monitoring system design method
CN105812445A (en) * 2015-08-17 2016-07-27 北京轻停网络科技有限公司 Internet of Things connection method, device and equipment
CN105812445B (en) * 2015-08-17 2019-02-01 北京轻停网络科技有限公司 Internet of Things connection method, device and equipment
CN106059833A (en) * 2016-07-28 2016-10-26 武汉虹信技术服务有限责任公司 Multi-protocol adaptation method and system applied to intelligent building platform
CN110313159A (en) * 2017-02-14 2019-10-08 Ls产电株式会社 Communication data modeling method
CN110313159B (en) * 2017-02-14 2021-11-02 Ls产电株式会社 Communication data modeling method
US11102088B2 (en) 2017-02-14 2021-08-24 Lsis Co., Ltd. Communication data modeling method
CN107124337A (en) * 2017-04-19 2017-09-01 珠海格力电器股份有限公司 A kind of equipment configuration method, device, system and collection control terminal
CN107689924A (en) * 2017-08-29 2018-02-13 北京格是菁华信息技术有限公司 The sending method and system of monitoring data
CN107911440A (en) * 2017-11-13 2018-04-13 广东电网有限责任公司电力科学研究院 The standard configurations parameter management-control method and system of station level data remote equipment
CN109768970B (en) * 2018-12-24 2021-05-04 通号通信信息集团有限公司 Configurable universal protocol generation method
CN109768970A (en) * 2018-12-24 2019-05-17 通号通信信息集团有限公司 It is a kind of based on configurable puppy parc generation method
CN110434857A (en) * 2019-08-30 2019-11-12 天津施格自动化科技有限公司 A kind of robot control method based on edge calculations and compatible multi-motion instruction
CN112837525A (en) * 2021-01-20 2021-05-25 蘑菇物联技术(深圳)有限公司 RS485 instrument configuration and communication method, system, terminal and storage medium
CN113034692A (en) * 2021-04-29 2021-06-25 上海智大电子有限公司 BIM-based underground pipe gallery data initialization method and system
CN113034692B (en) * 2021-04-29 2022-12-06 上海智大电子有限公司 BIM-based underground pipe gallery data initialization method and system
CN113489802A (en) * 2021-07-15 2021-10-08 罗慧 Internet of things collection equipment

Also Published As

Publication number Publication date
CN103227779B (en) 2016-04-27

Similar Documents

Publication Publication Date Title
CN103227779B (en) A kind of communication control method of building equipment, system and device
CN108023952B (en) Cloud and mist combination-based modularized Internet of things application rapid construction platform
CN105068929A (en) Test script generation method, test script generation device, testing method, testing device and testing system
CN101826018B (en) Interactive development system and method for interface of network element management system
US9864346B2 (en) Method for connecting a substation automation device according to IEC61850 to any industry automation field bus
Prehofer et al. From internet of things mashups to model-based development
CN103425497B (en) The method and apparatus that a kind of network engineering script is changed across producer
CN103176924A (en) Output device, log collecting method for output device, and storage medium
CN101821685A (en) Method for configuring arrangement for protecting controlling or monitoring electrical switch or power supply gear
CN102185703A (en) A network device management method based on an SNMP protocol and a primary device
CN105933767A (en) Middleware device, middleware realization method and television set
CN113028603A (en) Equipment monitoring system applied to central air-conditioning system
CN109445384B (en) Multi-device control system
EP1895740B2 (en) Structured data support using metadata and a type library in a control system
Cetina et al. Using feature models for developing self-configuring smart homes
CN113961570A (en) Real-time acquisition method applied to MYSQL BINLog change data
CN204406186U (en) A kind of fieldbus controller
CN109557898A (en) A kind of general-purpose system comprehensive verification equipment for various UAV ground control station
CN101312580A (en) Straight-forward station monitoring center and straight-forward station monitoring method
CN202794976U (en) Remote management system for field devices
CN103916427B (en) First mobile communication terminal and communication means, Internet of things system
CN103856466A (en) Acquisition terminal device capable of configuring protocols automatically
US8050784B2 (en) Integrated programmer reference for industrial control device data
CN101719920B (en) Method for generating component-based assembly in routing protocol software
CN109144491A (en) Microcomputer development platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160427

Termination date: 20180327

CF01 Termination of patent right due to non-payment of annual fee