CN106647666A - Data collection method based on online identification assembling device object protocol library - Google Patents

Data collection method based on online identification assembling device object protocol library Download PDF

Info

Publication number
CN106647666A
CN106647666A CN201611237968.1A CN201611237968A CN106647666A CN 106647666 A CN106647666 A CN 106647666A CN 201611237968 A CN201611237968 A CN 201611237968A CN 106647666 A CN106647666 A CN 106647666A
Authority
CN
China
Prior art keywords
device object
equipment
protocol library
object protocol
data
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
CN201611237968.1A
Other languages
Chinese (zh)
Other versions
CN106647666B (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.)
HEFEI CITY CLOUD DATA CENTER Co Ltd
Original Assignee
HEFEI CITY CLOUD DATA CENTER Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HEFEI CITY CLOUD DATA CENTER Co Ltd filed Critical HEFEI CITY CLOUD DATA CENTER Co Ltd
Priority to CN201611237968.1A priority Critical patent/CN106647666B/en
Publication of CN106647666A publication Critical patent/CN106647666A/en
Application granted granted Critical
Publication of CN106647666B publication Critical patent/CN106647666B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4183Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31282Data acquisition, BDE MDE
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The present invention discloses a data collection method based on an online identification assembling device object protocol library, belonging to the industrial data collection technology field. The method comprises: based on a device selected in advance, updating and assembling the device object protocol library; and employing the updated collection device supported by the device object protocol library to collect the signal data inputted at present. The identity of the current collection device is identified when the identity identification of the collection device is successful, the collection device updates the obtained device object protocol library to a local library, and the collection device supported in the device object protocol library is employed to collect to the received industrial data so as to reduce the complexity capable of being enforced and configured on site and greatly reduce the cost of the industrial users collecting industrial data.

Description

The collecting method of device object protocol library is assembled based on ONLINE RECOGNITION
Technical field
The present invention relates to industrial data collection technical field, more particularly to a kind of based on ONLINE RECOGNITION assembling device object association The collecting method in view storehouse.
Background technology
The spreading out in the whole world with made in China 2025, internet+and industry 4.0, it is intelligent irresistible, and work Impact of the real-time acquisition of industry data to intelligent development is extremely great.Therefore, under this intelligentized overall situation, industrial number According to enforcement obtain become particularly important, from environmental monitoring to road and bridge, from plant produced to data detection, all be unable to do without work The acquisition of industry data, these industrial datas are inseparable with the industrial construction of Internet of Things and the collection of industrial data.
The characteristics of there is variation, complicate due to the collection of industrial data, the production that different manufacturers produces Equipment, communication interface and communications protocol are different, in actual applications with more serious defect:One is, due to soft Part system and device talk agreement it is inconsistent, in actual application, need for a point standard communication protocol to be converted to mark Quasi- communications protocol, this has resulted in system communication connection and the cost increase of data exchange, and is implemented into from equipment installation Data acquisition, whole process is complicated.Two are, the knowledge tomography due to generally there are different field in enterprise, cause industrial data Acquisition system can not be substantially used, and there is serious wasting of resources phenomenon.
The content of the invention
It is an object of the invention to provide a kind of collecting method that device object protocol library is assembled based on ONLINE RECOGNITION, To solve the problems, such as that existing industrial data collection process is complicated.
To realize object above, the technical solution used in the present invention is:A kind of ONLINE RECOGNITION assembling device object association is provided View is put into collecting method, and the method includes:
Equipment based on being pre-selected, is updated and assembles to device object protocol library;
The collecting device supported using the device object agreement place after renewal is adopted to the signal data of current input Collection.
Compared with prior art, there is following technique effect in the present invention:Known by the identity to present collection device Not, in the identification success of collecting device, collecting device updates the device object protocol library for obtaining to local library, and profit Incoming industrial data is acquired with the collecting device supported in device object protocol library, reducing field conduct can match somebody with somebody The complexity put, significantly reduces the cost that industry user gathers industrial data.
Description of the drawings
Fig. 1 is the collecting method that device object protocol library is assembled based on ONLINE RECOGNITION in one embodiment of the invention Schematic flow sheet;
Fig. 2 is the schematic flow sheet of the fine division step of step S1 in one embodiment of the invention;
Fig. 3 is the schematic flow sheet of the fine division step of step S2 in one embodiment of the invention;
Fig. 4 is the schematic diagram of the device object protocol library online updating assembling in one embodiment of the invention.
Specific embodiment
With reference to shown in Fig. 1 to Fig. 4, the present invention is described in further detail.
As shown in figure 1, present embodiment discloses a kind of collecting method based on ONLINE RECOGNITION device object protocol library, The method comprises the steps S1 to S2:
S1, the equipment based on being pre-selected, are updated and assemble to device object protocol library;
S2, the collecting device supported using the device object agreement place after renewal are carried out to the signal data of current input Collection.
Specifically, collection of the present embodiment actually by a kind of data acquisition Integrative Program to whole industrial data Journey is controlled, in actual applications, by the identity identification information for obtaining the equipment that is pre-selected, and to the identification of equipment Information is verified, in the case where being proved to be successful, the equipment can obtain device object protocol library and update in local library, When being acquired to industrial data.Therefore, as long as the equipment that device object agreement place is supported can enter to industrial data Row collection, the premise of whole gatherer process is that the equipment needs to obtain the online support of device object protocol library.Entirely implemented Journey is simple, reduces the complexity of device configuration.
Specifically carry, as shown in Figure 2, Figure 4 shows, step S1 specifically includes following fine division step S11 to S12:
S11, the equipment based on being pre-selected, to device object protocol library online updating is carried out;
S12, based on GCI patterns, the device object protocol library after renewal is assembled.
It should be noted that requiring that device object protocol library meets GCI patterns (Generic Callable in the present embodiment Interface, GCI).
Specifically, step S11 specifically includes following steps:
Acquisition is pre-selected equipment and obtains object coding and access protocal coding;
Encoded according to the object coding and access protocal of equipment, the body of collecting device is generated based on default algorithmic function Part identification code;
The identity code of equipment is verified by device object protocol library, and equipment is provided when verifying successfully and obtained Taking equipment Object Protocol storehouse is updating local authority.
Specifically, the process that device object protocol library carries out online updating is described as follows:
The object coding DID and access protocal coding PID of selection equipment is obtained first, using default algorithmic function f (DID, PID) generates the identity card identification code ID of the equipment, then the identity card identification using device object protocol library to equipment Code ID is verified, when verifying successfully, it is allowed to which the legal equipment updates device object protocol library in local library.
Specifically, step S12 specifically includes following steps:
Class array and algorithm groups are packaged using the device object agreement library component in GCI patterns form unified tune Use interface;
The assembling of the device object protocol library after adjusting back unified call interface to realize the renewal using host object.
It should be noted that GCI patterns are by generic group, algorithm groups, United Dispatching interface and the part group of host object four Into, because the design of device object protocol library described in the present embodiment meets GCI patterns, therefore, the present embodiment utilizes GCI moulds Formula is assembled online to device object protocol library.
Specifically, as shown in figure 3, step S2 specifically includes following steps S21 to S23:
S21, the signal data to current input are decoded;
S22, the saltus step amount in decoded data is corrected based on empirical value moment correction method;
S23, the decoding data after correction is acquired by the equipment being pre-selected.
It should be noted that the saltus step amount at this is referred to compared with normal range value more afterwards finds mutation, abnormal conditions Value.And need to be corrected saltus step amount when there is saltus step amount, with the integrality and reliability of guarantee information.Because if no Saltus step amount is processed, is directly acquired, then the hop value will affect the correctness of whole data acquisition, if will The hop value is ignored and is not acquired, then can affect the integrality of data acquisition.Therefore, saltus step amount is carried out in the present embodiment Correction can ensure that the integrality and reliability of data acquisition.
Specifically, step S21 includes:
Judge whether the packet for carrying data-signal being input into is complete;
If packet is complete, decoding process is carried out to complete packet;
If packet is imperfect, process is modified to incomplete packet.
It should be noted that packet here is imperfect to generally comprise two kinds of situations:Packet splicing and disconnected bag.Packet splicing refers to two Individual packet sticks together, and disconnected bag refers to that a data coating is divided into two packets, if solved to both packets Easily there is loss of data phenomenon in code, accordingly, it would be desirable to the packet of both of these case is modified, to ensure to be obtained after decoding Data when it is complete.Wherein, the makeover process for packet splicing phenomenon is that two coherent data separatings come, for The makeover process of disconnected bag phenomenon is to be combined two parts or some of the disconnection of same packet.
Specifically, step S22 specifically includes following steps:
Intercept the hop value and bound-time stamp of current transition amount;
The empirical value for obtaining predetermined amount of time is stabbed according to bound-time;
Empirical value is processed using intermediate value power method, is obtained empirical value and is obtained weights;
Rule of thumb it is worth weights, current saltus step amount is corrected based on weighted mean approach.
Wherein, to being described as follows to the detailed process that saltus step amount is processed using empirical value moment correction method:
When collection signal data there is saltus step when, intercept hop value Vt and time stamp T at this moment, by hop value Vt with Aforesaid normal range value compares, if hop value Vt is in the normal range (NR), need not be corrected.If do not existed In the normal range (NR), then judge that hop value Vt needs to be corrected.The process of correction is as follows:
(1) empirical value (T, T-n*To) of one group of special time period is obtained according to time stamp T, it is inclined that To refers to forward temporal Shifting amount, n refers to time offset multiple, i.e. Vn=V (T, T-n*To);
(2) weighted value is obtained using median method, i.e., intermediate value sequence number queue (S is ranked up and obtained to empirical value Vn1,…, Smid,…,Sn), you can by algorithm βi∈(S1,…,Smid,Smid-1,…,Smid-n/2) obtain weights;
(3) calculated using weighted mean approach:Vf=∑ (Vii)/∑βi, wherein Vi∈(V1,Vn);VfIt is to correct The end value for arriving.
Specifically, method disclosed in the present embodiment also included before step S21:
Adaptation processing is carried out to the signal data of current input, to filter out the selection equipment collection category is not belonging to Signal data.
It should be noted that the data of the current input in the present embodiment carry out adaptation processing, it is to avoid set to being not belonging to this The data of standby collection are acquired, and to avoid waste of resource, reduce the utilization rate of equipment.
Specifically, step step S23 in the present embodiment includes:
Obtain the database link and transmission channel of free time;
Decoded data are deposited into local data by collecting device by idle database link and transmission channel Storehouse and/or it is uploaded to convergence gateway.
By idle database link and transmission channel, it is to avoid carry out data transmission leading by busy transmission channel The phenomenon for causing data to transmit.
General principle, principal character and the advantages of the present invention of the present invention has been shown and described above.The technology of the industry The simply present invention of the personnel it should be appreciated that the present invention is not restricted to the described embodiments, described in above-described embodiment and specification Principle, without departing from the spirit and scope of the present invention the present invention also have various changes and modifications, these change and Improvement is both fallen within the range of claimed invention.The protection domain of application claims by appending claims and its Equivalent is defined.

Claims (9)

1. it is a kind of based on ONLINE RECOGNITION assemble device object protocol library collecting method, it is characterised in that include:
S1, the equipment based on being pre-selected, are updated and assemble to device object protocol library;
S2, the collecting device supported using the device object agreement place after renewal are adopted to the signal data of current input Collection.
2. the method for claim 1, it is characterised in that described step S1 includes:
S11, the equipment based on being pre-selected, to device object protocol library online updating is carried out;
S12, based on GCI patterns, the device object protocol library after renewal is assembled.
3. method as claimed in claim 2, it is characterised in that described step S11 includes:
Acquisition is pre-selected the object coding and access protocal coding of equipment;
Encoded according to the object coding and access protocal of equipment, the identification of equipment is generated based on default algorithmic function Code;
The identity code of equipment is verified by device object protocol library, and equipment acquisition is provided when verifying successfully and set Standby Object Protocol storehouse is updating local authority.
4. method as claimed in claim 2, it is characterised in that described step S12 includes:
Class array and algorithm groups are packaged using the device object agreement library component in GCI patterns are connect with forming unified call Mouthful;
The assembling of the device object protocol library after adjusting back unified call interface to realize the renewal using host object.
5. method as claimed in claim 1 or 2, it is characterised in that described step S2 includes:
S21, the signal data to current input are decoded;
S22, the saltus step amount in decoded data is corrected based on empirical value moment correction method;
S23, the decoding data after correction is acquired by the equipment being pre-selected.
6. method as claimed in claim 5, it is characterised in that described step S21 includes:
Judge whether the packet for carrying data-signal being input into is complete;
If packet is complete, decoding process is carried out to complete packet;
If packet is imperfect, process is modified to incomplete packet.
7. method as claimed in claim 5, it is characterised in that described step S22 includes:
Intercept the hop value and bound-time stamp of current transition amount;
The empirical value for obtaining predetermined amount of time is stabbed according to bound-time;
Empirical value is processed using intermediate value power method, is obtained empirical value and is obtained weights;
Rule of thumb it is worth weights, current saltus step amount is corrected based on weighted mean approach.
8. method as claimed in claim 5, it is characterised in that before described step S21, also include:
Adaptation processing is carried out to the signal data of current input, to filter out the letter that the equipment for being not belonging to the selection gathers category Number.
9. method as claimed in claim 5, it is characterised in that described step S23 includes:
Obtain the database link and transmission channel of free time;
Collecting device by idle database link and transmission channel by decoded data be deposited into local data base and/ Or it is uploaded to convergence gateway.
CN201611237968.1A 2016-12-28 2016-12-28 Collecting method based on online recognition assembling device object protocol library Active CN106647666B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611237968.1A CN106647666B (en) 2016-12-28 2016-12-28 Collecting method based on online recognition assembling device object protocol library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611237968.1A CN106647666B (en) 2016-12-28 2016-12-28 Collecting method based on online recognition assembling device object protocol library

Publications (2)

Publication Number Publication Date
CN106647666A true CN106647666A (en) 2017-05-10
CN106647666B CN106647666B (en) 2019-04-19

Family

ID=58832358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611237968.1A Active CN106647666B (en) 2016-12-28 2016-12-28 Collecting method based on online recognition assembling device object protocol library

Country Status (1)

Country Link
CN (1) CN106647666B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518087A (en) * 2021-07-12 2021-10-19 广州乐摇摇信息科技有限公司 IOT protocol reverse docking method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921652A (en) * 2005-08-26 2007-02-28 中兴通讯股份有限公司 Digital user unit and digitalized S/T interface
CN101883034A (en) * 2010-06-30 2010-11-10 中山大学 Interconnection equipment for 3C fusion
US8170926B1 (en) * 2011-02-01 2012-05-01 Jake Ackerman Method and system for instant redirection of an online consumer from a referring website to a vendor website
KR101355241B1 (en) * 2012-12-27 2014-01-28 김나경 Voice communication terminal for managing real estate contract
CN103763396A (en) * 2014-02-12 2014-04-30 浙江大学 Energy consumption data acquisition unit and method based on multi-protocol parallel acquisition technology
CN104852845A (en) * 2015-03-11 2015-08-19 佛山职业技术学院 Internet of Things intelligent gateway
CN104881990A (en) * 2015-06-12 2015-09-02 合肥市徽腾网络科技有限公司 Multi-protocol parallel acquisition technology based energy consumption data acquisition unit and acquisition method thereof
CN104917768A (en) * 2015-06-12 2015-09-16 安徽朗坤物联网有限公司 Energy consumption data acquisition unit based on multi-protocol parallel acquisition technology and acquisition method thereof
CN105282123A (en) * 2014-07-24 2016-01-27 亿阳安全技术有限公司 Network protocol identification method and device
CN105978738A (en) * 2016-07-14 2016-09-28 上海东方延华节能技术服务股份有限公司 Distributed energy consumption monitoring unit based on smart Internet of things and monitoring method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921652A (en) * 2005-08-26 2007-02-28 中兴通讯股份有限公司 Digital user unit and digitalized S/T interface
CN101883034A (en) * 2010-06-30 2010-11-10 中山大学 Interconnection equipment for 3C fusion
US8170926B1 (en) * 2011-02-01 2012-05-01 Jake Ackerman Method and system for instant redirection of an online consumer from a referring website to a vendor website
KR101355241B1 (en) * 2012-12-27 2014-01-28 김나경 Voice communication terminal for managing real estate contract
CN103763396A (en) * 2014-02-12 2014-04-30 浙江大学 Energy consumption data acquisition unit and method based on multi-protocol parallel acquisition technology
CN105282123A (en) * 2014-07-24 2016-01-27 亿阳安全技术有限公司 Network protocol identification method and device
CN104852845A (en) * 2015-03-11 2015-08-19 佛山职业技术学院 Internet of Things intelligent gateway
CN104881990A (en) * 2015-06-12 2015-09-02 合肥市徽腾网络科技有限公司 Multi-protocol parallel acquisition technology based energy consumption data acquisition unit and acquisition method thereof
CN104917768A (en) * 2015-06-12 2015-09-16 安徽朗坤物联网有限公司 Energy consumption data acquisition unit based on multi-protocol parallel acquisition technology and acquisition method thereof
CN105978738A (en) * 2016-07-14 2016-09-28 上海东方延华节能技术服务股份有限公司 Distributed energy consumption monitoring unit based on smart Internet of things and monitoring method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518087A (en) * 2021-07-12 2021-10-19 广州乐摇摇信息科技有限公司 IOT protocol reverse docking method and device

Also Published As

Publication number Publication date
CN106647666B (en) 2019-04-19

Similar Documents

Publication Publication Date Title
CN103281373A (en) Home gateway intelligent upgrading device and upgrading method
CN103312543A (en) Intelligent speed-up client-side and intelligent speed-up method thereof
WO2012152132A1 (en) Method and system for realizing application platform adaptation
CN111970353A (en) Data processing method and device for heterogeneous equipment in Internet of things of cloud computing platform
CN103618679A (en) Service quality control method, device and system
CN107181743A (en) Network direct broadcasting data reporting method and device
CN104376005A (en) Method and system for processing user detail lists by software heartbeat mechanism signaling access probe
CN111131493B (en) Data acquisition method and device and user portrait generation method and device
CN103746915A (en) Routing selection method based on differentiated service
CN104468408A (en) Method for adjusting dynamically service bandwidth and control center server
CN109639655A (en) A kind of intelligent depth resolution system and analytic method
CN105791024B (en) The improvement system and method for third party's united net management on access device
CN103177209B (en) Server password guard method and device
CN106647666B (en) Collecting method based on online recognition assembling device object protocol library
CN103179047B (en) The resource regulating method of business, Apparatus and system
CN105657671B (en) A kind of method and apparatus for realizing multicast
CN107645597A (en) The synchronous method and terminal of application program
CN103517317B (en) A kind of system and method matched between phone number and operator passage
CN103414648B (en) A kind of communication flow rate control method and system
CN103686599B (en) Method and system for providing applications for intelligent terminals
CN105490944A (en) Reporting method of user event in SDN and network system
CN103915899A (en) Autonomous networking structure and method for electric power automatic terminals
CN104378329A (en) Safety verification method, device and system
WO2022208975A8 (en) Method for scheduling tsn flows, communication system, and central network configuration entity
CN104104526A (en) Network logging-on behavior monitoring method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Data acquisition method based on on-line identification and assembly equipment object protocol library

Effective date of registration: 20220324

Granted publication date: 20190419

Pledgee: China Construction Bank Corporation Hefei Shushan sub branch

Pledgor: HEFEI CITY CLOUD DATA CENTER Co.,Ltd.

Registration number: Y2022980003149