CN103379120B - The method and apparatus manager that enterprise operation system and middleware interact - Google Patents

The method and apparatus manager that enterprise operation system and middleware interact Download PDF

Info

Publication number
CN103379120B
CN103379120B CN201310021500.9A CN201310021500A CN103379120B CN 103379120 B CN103379120 B CN 103379120B CN 201310021500 A CN201310021500 A CN 201310021500A CN 103379120 B CN103379120 B CN 103379120B
Authority
CN
China
Prior art keywords
middleware
data
operation system
enterprise operation
logical device
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
CN201310021500.9A
Other languages
Chinese (zh)
Other versions
CN103379120A (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.)
Aerospace Information Technology (shenzhen) Co Ltd
Original Assignee
Aerospace Information Technology (shenzhen) 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 Aerospace Information Technology (shenzhen) Co Ltd filed Critical Aerospace Information Technology (shenzhen) Co Ltd
Priority to CN201310021500.9A priority Critical patent/CN103379120B/en
Publication of CN103379120A publication Critical patent/CN103379120A/en
Application granted granted Critical
Publication of CN103379120B publication Critical patent/CN103379120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses the method and apparatus manager that a kind of enterprise operation system interacts with middleware, described equipment manager includes: logical device arranges unit, logical device searches unit, conversion unit of protocol, data filtering units, data processing unit.Enforcement the invention has the beneficial effects as follows, when the application demand of enterprise operation system changes, it is only necessary to finds corresponding logical device according to application, then interacts the acquisition realizing data according to the corresponding relation in logical device and middleware;And middleware has only to send out the data got from hardware return, it is not necessary to process service logic and add too much application, improve the data-handling efficiency of middleware;And make enterprise operation system can dock multiple middlewares according to configuration by arranging logical device, it is not necessary to change service code, thus improve the autgmentability of enterprise operation system, make middleware and enterprise operation system can realize hardware integration.

Description

The method and apparatus manager that enterprise operation system and middleware interact
Technical field
The present invention relates to Internet of Things field, more particularly, it relates to a kind of business event system for Internet of Things The method and apparatus manager that system interacts with middleware.
Background technology
In Internet of Things, RF identification (Radio Frequency Identification, RFID) read write line, The data that the equipment such as sensor device, GPS position finder obtain the most all are delivered to industry by RFID middleware Business system end.RFID middleware is used to processing and processes from all information of read write line and flow of event Software, is to connect the enterprise operation system (hereinafter referred to as operation system) in read write line and Internet of things system Tie, uses RFID middleware to provide one group of general application programming interfaces (API), can link RFID Read write line, reads RFID tag data.Label data to filter by RFID middleware, be grouped and Counting, to reduce the data volume mailing to operation system and to prevent mistake recognition, many readings information.
Because the different application of operation system needs different types of data, so RFID middleware must be fitted Should these features applied.When there is many RFID application, operation system is necessary for RFID to be adjusted Middleware is to meet the needs of these application.And operation system is the middleware that each application adjusts correspondence Time, more time and work will be consumed.It addition, when the corresponding multiple application of a RFID middleware, Adding too much application in this RFID middleware can cause the system degree of coupling to rise, be unfavorable for system maintenance, Extension and upgrading.And the process service logic that RFID middleware is too much, also result in treatment effeciency and reduce.
Summary of the invention
The technical problem to be solved in the present invention is, the above-mentioned enterprise operation system for prior art needs root Cause in the system degree of coupling according to application change RFID middleware and RFID middleware are added too much application The defect that liter, treatment effeciency reduce, it is provided that one is handed over for enterprise operation system and RFID middleware Mutual method and apparatus manager.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of method that enterprise operation system and middleware interact, described method includes:
One or more logical device is set, storage and different business pair in the one or more logical device The middleware type answered and associated hardware ID;
When enterprise operation system needs to Middleware Request business datum, inquire about the one or more logic Equipment, obtains the logical device corresponding with this business;
According to the middleware type in the described logical device corresponding with this business and associated hardware ID, to right The Middleware Request business datum answered;
By middleware return data filter, and will filter after data carry out caching or returning to enterprise Operation system.
The described step to corresponding Middleware Request business datum includes: generate during to Middleware Request data URI identifier, and URI identifier is converted to and the association of corresponding middleware together with associated hardware ID View, is sent to the application software interface of the middleware of correspondence.
The described data step that carries out filtering returned by middleware includes: according to the data filtering being pre-configured with Condition filters;Or carry out data filtering according to the data type of hardware.
The method that described enterprise operation system and middleware interact also includes: described enterprise operation system from Described caching obtains business datum.
A kind of equipment manager interacted for enterprise operation system and middleware, described equipment manager Including:
Logical device arranges unit, is used for arranging one or more logical device, the one or more logic Equipment stores middleware type corresponding to different business and associated hardware ID.
Logical device searches unit, for the request according to enterprise operation system, inquires about corresponding with this request Logical device;
Conversion unit of protocol, for according to the information in described logical device, changes into mutual with middleware Agreement;
Data filtering units, for filtering the hardware data that middleware returns;
Data processing unit, the hardware data after filtering carries out caching or return to business event system System.
The described agreement mutual with middleware includes: associated hardware ID, URI identifier, property parameters;
Described URI identifier is used for making middleware be returned by hardware data according to URI address after getting data Return to equipment manager;
The parameter needing to arrange of middlewares different according to described property parameters.
Described data filtering units is to filter according to the data filtering condition being pre-configured with;Or according to hardware Data type carry out data filtering.
Described enterprise operation system obtains business datum from described caching.
A kind of enterprise operation system for Internet of Things of the enforcement present invention and RFID middleware interact Method and device, has the advantages that when the application demand of enterprise operation system changes, only Need to find corresponding logical device, then according to the corresponding relation in logical device and middleware according to application Interact the acquisition realizing data;And middleware has only to the data got from hardware be sent out return i.e. Can, it is not necessary to process service logic and add too much application, improve the data-handling efficiency of middleware; And make enterprise operation system can dock multiple middlewares according to configuration by arranging logical device, it is not necessary to Change service code, thus improve the autgmentability of enterprise operation system, make middleware and enterprise operation system Hardware integration can be realized.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the enterprise operation system of a preferred embodiment of the present invention offer and setting that middleware interacts The structure chart of standby manager;
Fig. 2 is the side that the enterprise operation system that a preferred embodiment of the present invention provides interacts with middleware The flow chart of method.
Detailed description of the invention
In order to be more clearly understood from the technical characteristic of the present invention, purpose and effect, now comparison accompanying drawing is detailed Describe the detailed description of the invention of the bright present invention in detail.
It is illustrated in figure 1 the enterprise operation system for Internet of Things that a preferred embodiment of the present invention provides With the structure chart of the equipment manager 20 that middleware interacts, this equipment manager 20 includes:
Logical device arranges unit 21, is used for arranging one or more logical device, the one or more Logical device stores middleware type corresponding to different business and associated hardware ID.
Logical device searches unit 22, for the request according to an enterprise operation system 10, inquires about and should ask Seek corresponding logical device;
Conversion unit of protocol 23, for according to the information in described logical device, changes into and middleware 30 Mutual agreement, returns an action ID to enterprise operation system simultaneously;
Data filtering units 24, for filtering the hardware data that middleware 30 returns;
Data processing unit 25, the hardware data after filtering carries out caching or returning to business event System 10.
Information in the agreement mutual with middleware 30 that described conversion unit of protocol 23 changes into includes: close Connection hardware ID, URI identifier, property parameters;Described URI identifier is used for making middleware get number According to URI identifier, hardware data is returned to equipment manager after according to;Described property parameters is according to difference Middleware need parameter be configured.The application software interface 31 of middleware 10 receives equipment manager After the agreement that the conversion unit of protocol 23 of 20 transmits, pass sequentially through processing module 32, reader interfaces 33 From reader 40, obtain data, then pass application software interface 31 back, by application software interface 31 by number According to passing to equipment manager 20.Data filtering is carried out by the data filtering units 24 of equipment manager 20.
Described data filtering units 24 is to filter according to the data filtering condition being pre-configured with;Or according to The data type of hardware carries out data filtering;Or carry out data filtering according to action ID.According to action ID The filtration of configuration carries out data filtering and is built upon while Middleware Request data returning to operation system On the basis of action ID.The data that data filtering units 24 filters transfer to data processing unit 25 to enter Row cache, described enterprise operation system 10 obtains business datum according to the action ID received from caching.If Described enterprise operation system uses the mode of synchronization request, then data are directly returned by data processing unit 25 To enterprise operation system 10.
The process that implements that in the embodiment of the present invention, enterprise operation system and middleware interact is: when with Card Reader is clicked on by Web client in family, and enterprise operation system 10 triggers Card Reader event, and by equipment pipe Logical device lookup unit 22 in reason device 20 arranges to search unit 21 from logical device and asks with this business Seek corresponding logical device;Conversion unit of protocol 23 builds action parameter according to the logical device inquired, Action parameter includes associated hardware ID, URI identifier, property parameters, is then converted into by action parameter With the agreement of middleware 30 be sent to middleware 30.Middleware 30 obtains after hardware data according to URI Identifier carrys out response apparatus manager 20, and returns data to equipment manager 20.Equipment manager 20 Data filtering units 24 data received are filtered after, by data processing unit 25 by filtered Data are put in caching or return to enterprise operation system 10.If synchronous working mechanism, data process single Data are directly returned enterprise operation system 10 by unit 25.If asynchronous working is machine-processed, enterprise operation system can The request of data is carried out by polling mechanism.Equipment manager 20 receives enterprise operation system data again After request, data processing unit 25 returns data to enterprise operation system 10, and enterprise operation system returns Card number is to Web client.
As in figure 2 it is shown, be that the enterprise operation system for Internet of Things of a preferred embodiment of the present invention is with middle The method flow diagram that part interacts, the method includes:
S1, one or more logical device is set, the one or more logical device stores the most of the same trade or business The middleware type of business correspondence and associated hardware ID;
S2, when enterprise operation system is to Middleware Request business datum, inquire about the one or more and patrol The equipment of collecting, obtains the logical device corresponding with this business;
S3, according to the middleware type in the described logical device corresponding with this business and associated hardware ID, To corresponding Middleware Request data;
The described step to corresponding Middleware Request data specifically includes: by URI identifier, association firmly Part ID is converted to the agreement with middleware, is sent to the application software interface of middleware.
S4, by middleware return data filter, and will filter after data cache or return To enterprise operation system.
The described data by middleware return carry out filtration and include: the data filtering condition according to being pre-configured with enters Row filters;Or carry out data filtering according to the data type of hardware.
Described method also includes: described enterprise operation system obtains business datum from caching.
In a preferred embodiment of the present invention, described logical device is a data base, for by enterprise's industry The business of business system is associated with the middleware processing this business and hardware so that enterprise operation system is to firmly During part request data, it is not necessary to specify hardware.The field of each logical device is as shown in table 1, including: patrol Collect device id, hardware device type, middleware type, associated hardware ID, associated hardware state.
Table 1
Title Type
DeviceID(logical device ID) Character string
DeviceType(type of hardware) Character string
MiddlewareType(middleware type) Character string
HardwareID(associated hardware ID) Character string
Device Status (hardware state) Shaping
Such as, the information of some logical device is: DeviceID=TKReader20101, DeviceType= TKReader, MiddlewareType=ProjectMiddleWare, hardwareID=Dn20101, Device Status=1 (acquiescence 1 is normal, and 0 is abnormal).
In the embodiment of the present invention, the corresponding different agreement of different middleware type (MiddlewareType), Therefore according to the middleware type in logical device, in that case it can be decided that be converted to the agreement of any correspondence to realize Data interaction.Enterprise operation system can dock multiple middleware in an embodiment of the present invention, it is therefore desirable to By corresponding to business and corresponding middleware type.
Associated hardware ID is No. ID of the hardware providing data for this business, and such as Card Reader business is corresponding Associated hardware ID is card reader Dn20101, and logical device ID is TKReader20101.
The hardware of same type can be made after type of hardware (DeviceType) is set to take same mode mistake Filter data.Therefore this field is set, filter data can be helped.
Hardware state, is query logic equipment when, carries out immediate updating.When hardware state is different Chang Shi, can point out enterprise operation system hardware unavailable, it is impossible to get data.
When enterprise operation system initiating business request, and inquire the logic corresponding with the business of described request and set After Bei, according to the information in described logical device, generate the parameter mutual with corresponding middleware and convert Become the agreement mutual with corresponding middleware.
The protocol parameter mutual with middleware includes: URI identifier, associated hardware ID, the most also wraps Include property parameters, because different middleware may have different requirements, such as in some to the data received Between part need authentication information, then needing to include in property parameters the authentication information of this middleware.URI identifies Symbol is to the address that data indicate according to URI be returned data after making middleware get data, to protect Correct being obtained by enterprise operation system of data that card is corresponding.Associated hardware ID is to make middleware can determine This service request needs which hardware to obtain data from.
After the application software interface of middleware receives request, from corresponding hardware, obtain data basis Data are returned by URI mark.The data that middleware returns are probably the document of the agreements such as xml, by centre The data that part is passed back will carry out the filtration of data acquisition system before caching, and filtration can be by three kinds of modes: 1, Data filtering condition according to being pre-configured with filters;2, data mistake is carried out according to the data type of hardware Filter;3, data filtering is carried out according to the filtration of action ID configuration.Filtration according to action ID configuration is entered Row data filtering is built upon returning to operation system the base of action ID while Middleware Request data On plinth.In an embodiment of the present invention, it is possible to not to operation system return action ID, the most this situation Data filtering can not be carried out according to action ID.Action ID is used to the service request identified each time, is Request one action ID of distribution of enterprise operation system each time, service request has difference the most each time Action ID.Then can carry out data filtering according to the action ID of each request, or correct for data is returned Back to enterprise's industry operation system.
The data filtering condition that described basis is pre-configured with refers to be pre-configured with the data mistake of each class business Filter condition, when receiving the data that middleware returns, can filter.
Data cache after filtering, if enterprise operation system is B/S framework, can use the machine of poll System, when having data corresponding for action ID in caching, enterprise operation system can get business datum.
The present invention is by building equipment manager 20, and the logical device in equipment manager 20 is arranged in unit Store different business and middleware and the corresponding relation of hardware so that during enterprise operation system requested service, Need not business with hardware to corresponding, directly can obtain by searching the logical device corresponding with this business Corresponding middleware and hardware, sent service request to corresponding centre by equipment manager 20 Part, middleware obtains data again.And the data that middleware returns, it is possible to by equipment manager 20 Data filtering units 24 just returns data to enterprise operation system after again carrying out data filtering.
When the application demand of enterprise operation system 10 changes, it is only necessary to find correspondence according to application Logical device, is then interacted the acquisition realizing data by equipment manager 20 and middleware 30;In and Between part 30 have only to the data got from hardware are sent to equipment manager 20, it is not necessary to process The application that service logic is too much with interpolation, improves the data-handling efficiency of middleware 30;And by arranging Logical device makes enterprise operation system 10 can dock multiple middlewares according to configuration, it is not necessary to more change trade Business code, thus improve the autgmentability of enterprise operation system, make middleware and enterprise operation system to realize Hardware integration.
Above in conjunction with accompanying drawing, embodiments of the invention are described, but the invention is not limited in above-mentioned Detailed description of the invention, above-mentioned detailed description of the invention is only schematic rather than restrictive, this The those of ordinary skill in field, under the enlightenment of the present invention, is being protected without departing from present inventive concept and claim Under the ambit protected, it may also be made that a lot of form, within these belong to the protection of the present invention.

Claims (8)

1. the method that an enterprise operation system interacts with middleware, it is characterised in that described method Including:
One or more logical device is set, storage and different business pair in the one or more logical device The middleware type answered and associated hardware ID;
When enterprise operation system needs to Middleware Request business datum, inquire about the one or more logic Equipment, obtains the logical device corresponding with this business;
According to the middleware type in the described logical device corresponding with this business and associated hardware ID, to right The Middleware Request business datum answered;
By middleware return data filter, and will filter after data carry out caching or returning to enterprise Operation system.
The method that enterprise operation system the most according to claim 1 and middleware interact, it is special Levying and be, the described step to corresponding Middleware Request business datum includes: during to Middleware Request data Generate URI identifier, and URI identifier is converted to and corresponding middleware together with associated hardware ID Mutual agreement, is sent to the application software interface of the middleware of correspondence.
The method that enterprise operation system the most according to claim 1 and middleware interact, it is special Levying and be, the described data step that carries out filtering returned by middleware includes: according to the data being pre-configured with Filtercondition filters;Or carry out data filtering according to the data type of hardware.
The method that enterprise operation system the most according to claim 1 and middleware interact, it is special Levying and be, the described enterprise operation system method mutual with middleware also includes: described enterprise operation system from Described caching obtains business datum.
5. the equipment manager that an enterprise operation system interacts with middleware, it is characterised in that institute State equipment manager to include:
Logical device arranges unit, is used for arranging one or more logical device, the one or more logic Equipment stores middleware type corresponding to different business and associated hardware ID;
Logical device searches unit, for the request according to enterprise operation system, inquires about corresponding with this request Logical device;
Conversion unit of protocol, for according to the information in described logical device, changes into mutual with middleware Agreement;
Data filtering units, for filtering the hardware data that middleware returns;
Data processing unit, the hardware data after filtering carries out caching or return to business event system System.
The equipment manager that enterprise operation system the most according to claim 5 and middleware interact, It is characterized in that, the described agreement mutual with middleware includes: associated hardware ID, URI identifier, Property parameters;
Described URI identifier is used for making middleware be returned by hardware data according to URI address after getting data Return to equipment manager;
The parameter needing to arrange of middlewares different according to described property parameters.
The equipment manager that enterprise operation system the most according to claim 5 and middleware interact, It is characterized in that, described data filtering units is to filter according to the data filtering condition being pre-configured with;Or Data type according to hardware carries out data filtering.
The equipment manager that enterprise operation system the most according to claim 5 and middleware interact, It is characterized in that, described enterprise operation system obtains business datum from described caching.
CN201310021500.9A 2013-01-21 2013-01-21 The method and apparatus manager that enterprise operation system and middleware interact Active CN103379120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310021500.9A CN103379120B (en) 2013-01-21 2013-01-21 The method and apparatus manager that enterprise operation system and middleware interact

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310021500.9A CN103379120B (en) 2013-01-21 2013-01-21 The method and apparatus manager that enterprise operation system and middleware interact

Publications (2)

Publication Number Publication Date
CN103379120A CN103379120A (en) 2013-10-30
CN103379120B true CN103379120B (en) 2016-08-10

Family

ID=49463682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310021500.9A Active CN103379120B (en) 2013-01-21 2013-01-21 The method and apparatus manager that enterprise operation system and middleware interact

Country Status (1)

Country Link
CN (1) CN103379120B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273222A (en) * 2017-05-19 2017-10-20 黎敏 A kind of different company's ERP system exchange method and middleware
CN108965410B (en) * 2018-07-02 2021-03-09 成都来肯信息技术有限公司 Inter-enterprise seamless service data interaction ERP system and use method thereof
CN111897843B (en) * 2020-06-19 2023-10-31 深圳奇迹智慧网络有限公司 Configuration method and device of data flow strategy of Internet of things and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398906A (en) * 2008-10-10 2009-04-01 华南理工大学 RFID middleware based on agent and equipment management method thereof
CN102053962A (en) * 2009-11-02 2011-05-11 清华大学深圳研究生院 Lightweight middleware-based networking RFID system and data interaction method
CN102710781A (en) * 2012-06-11 2012-10-03 中山爱科数字科技股份有限公司 Internet of things middleware system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120057835A (en) * 2010-11-29 2012-06-07 한국전자통신연구원 Apparatus of RFID electronic shelf and method of detecting the location of the tag using the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398906A (en) * 2008-10-10 2009-04-01 华南理工大学 RFID middleware based on agent and equipment management method thereof
CN102053962A (en) * 2009-11-02 2011-05-11 清华大学深圳研究生院 Lightweight middleware-based networking RFID system and data interaction method
CN102710781A (en) * 2012-06-11 2012-10-03 中山爱科数字科技股份有限公司 Internet of things middleware system

Also Published As

Publication number Publication date
CN103379120A (en) 2013-10-30

Similar Documents

Publication Publication Date Title
CN108667725A (en) A kind of industrial AnyRouter and implementation method based on a variety of accesses and edge calculations
CN103379120B (en) The method and apparatus manager that enterprise operation system and middleware interact
CN102916978B (en) Method and device for distributing Internet of Things data messages
CN103905333A (en) Internet of things multi-protocol access transform device and control method thereof
CN105550228A (en) Intelligent storage device and storage and take-out identification method and system based on intelligent storage device
CN105389314A (en) Log file query system and query method
CN106778980A (en) It is a kind of to gather the system and method that clothes touched and tried on frequency
CN101932135A (en) Web management-based wireless data card and implementation method thereof
CN1972276B (en) A management method and system for protocol access
CN103414705B (en) A kind of mobile internet heterogeneous database exchange method based on SAAS pattern
CN101615130A (en) Service function management system and method
US20150026770A1 (en) Safety information transfer system, device and method based on extended parameter set
CN104750814B (en) The automatic storage method of polynary heterogeneous data flow based on multisensor
CN104915457A (en) Off-line commodity search and navigation system and method
CN103176439A (en) Production process management system applying RFID (radiofrequency identification)
KR100974621B1 (en) Radio frequency identification business-aware framework
CN115600936A (en) Supply chain management system applying Internet of things technology
CN103873278B (en) To method, enterprise gateway and the network of the RFID device management in enterprise network
KR101560444B1 (en) Total distribution history system based on RFID
CN111882296A (en) Pipe valve management system
CN106407309A (en) Cluster database data loading tool and method capable of supporting various data sources
KR20080065359A (en) Rfid system and service method, service broker therefor
CN102982357B (en) Radio frequency read/write connects method and the device of external equipment
CN109547544A (en) Content delivery method and device
CN216118443U (en) SCADA system

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