CN110191125A - Based on the unrelated communication means of detection cabinet equipment module port type - Google Patents
Based on the unrelated communication means of detection cabinet equipment module port type Download PDFInfo
- Publication number
- CN110191125A CN110191125A CN201910460574.XA CN201910460574A CN110191125A CN 110191125 A CN110191125 A CN 110191125A CN 201910460574 A CN201910460574 A CN 201910460574A CN 110191125 A CN110191125 A CN 110191125A
- Authority
- CN
- China
- Prior art keywords
- communication
- class
- interface
- type
- unit
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/24—Negotiation of communication capabilities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses the communication means unrelated based on detection cabinet equipment module port type, define communication class base class interface;Each communication class unit inherits communication class base class interface, and realizes the function of each communication class unit;Intelligent recognition communication type unit judges the specific child interface that communication type and calling are inherited out from base class based on the incoming parameter type of port agreement is opened;The interface for finally exposing secondary development is exactly specific communication interface API that base class defines.Through the above way, the present invention is based on design pattern thought Integration Technologies, solidification demand, a communication type independent communication development platform is researched and developed in Unified Communication interface input and output, forms a foolproof development mode, reduce development difficulty, the stability of design is enhanced, external interference factor has been evaded, to reach qualified product standard.
Description
Technical field
The present invention relates to communications method regimes, more particularly to based on detecting, cabinet equipment module port type is unrelated to lead to
Letter method.
Background technique
Bank self-aid apparatus product diversification, module manufacturers diversification, module and Computer Data Communication mode diversification,
Very big difficulty is brought so as to cause driving research and development, the system integration of self-service device;And due to module manufacturers processing equipment
Communication mode is inconsistent, the standard that do not agree to, gives later development to increase extra workload, increases manufacturing cost, to setting
Standby stability brings great risk.
Existing communication mode mainly has the modes such as USB, HID, serial ports, parallel port, network interface, bluetooth to communicate.The module of mainstream
Different method bases, or the communication mode that research and development are different are called in exploitation both for different communication types, thus similarly
Demand causes reciprocal demand to position, and multiple exploitation greatly wastes workload, meanwhile, each communication type establishes a set of generation
Ink recorder system is to be later period code maintenance band difficulty.Due to demand analysis diversification, programming diversification, output of products is same
Sample is diversified, not same standard and technical specification to constrain, and results in the difference of same class product communication efficiency in this way
Different and communication failure risk increases, and product quality is difficult to effectively be ensured.
Existing communication mode has the disadvantages that
1, different communication mode, the mode that software communication library is realized is different, and interface disagrees, and causes secondary development tired
It is difficult;
2, it is handled without effective mechanism, the demand analysis not communicated clearly causes product unstable factor to increase.
Summary of the invention
The invention mainly solves the technical problem of providing based on detecting, cabinet equipment module port type is unrelated to lead to
Letter method, using design pattern research and develop thought development frame fixed demand, unified standard, research and development integrate a set of communication type without
The communication means of pass facilitates system integration development, reduces workload, forms foolproof development mode, unified communication
Input and output standard enhances the stability of the system integration, improves product quality.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: it provides based on detection cabinet equipment mould
The unrelated communication means of block port type, comprising the following steps:
The first step defines communication class base class interface;
Second step, each communication class unit inherits communication class base class interface, and realizes the function of each communication class unit;It is logical
Believe that class unit includes bluetooth class processing unit, serial ports class processing unit, USB class processing unit, HID class processing unit, parallel port class
Processing unit and network interface class processing unit;
Third step, intelligent recognition communication type unit judge communication type based on the incoming parameter type of port agreement is opened
And call the specific child interface for inheriting out from base class;
4th step, the interface for finally exposing secondary development is exactly specific communication interface API that base class defines.
Further, in second step bluetooth class communication interface by bluetooth equipment name query its fictionalize come input and output
Serial ports realizes serial communication.
Further, USB class exports different USB subclasses according to different hardware module performances in second step.
The beneficial effects of the present invention are: the present invention uses the factory mode technology of design pattern, communication mode demand is specified,
And communication mode difference element paritng, identical part and different parts are clearly separated, it is unified to go out to meet each layer
The secondary interface platform for using and being concerned about, secondary development do not need what communication type interested devices are, how real do not need to be concerned about
Existing, it is only necessary to it is concerned about how oneself uses, reduces development difficulty, ensure that unitized management input and output, from
And ensure that the unified standard of hardware module, production accident is reduced, the competitiveness of product in market is provided.
Detailed description of the invention
Fig. 1 is that the present invention is based on the streams of unrelated one preferred embodiment of communication means of detection cabinet equipment module port type
Cheng Tu.
Specific embodiment
The preferred embodiments of the present invention will be described in detail with reference to the accompanying drawing, so that advantages and features of the invention energy
It is easier to be readily appreciated by one skilled in the art, so as to make a clearer definition of the protection scope of the present invention.
Referring to Fig. 1, the embodiment of the present invention includes:
Based on the unrelated communication means of detection cabinet equipment module port type, comprising the following steps:
The first step defines communication class base class interface;
Second step, each communication class unit inherits communication class base class interface, and realizes the function of each communication class unit, leads to
Believe that class unit includes bluetooth class processing unit, serial ports class processing unit, USB class processing unit, HID class processing unit, parallel port class
Processing unit and network interface class processing unit;
Bluetooth class communication interface by bluetooth equipment name query its fictionalize come input and output serial ports, realize that serial ports is logical
Letter;USB class exports different USB subclasses according to different hardware module performances;
Third step, intelligent recognition communication type unit judge communication type based on the incoming parameter type of port agreement is opened
And call the specific child interface for inheriting out from base class;
4th step, the interface for finally exposing secondary development is exactly specific communication interface API that base class defines.
The present invention includes following functions:
1, foolproof development mode, it is what kind of communication that user, which requires no knowledge about, does not need to be concerned about each communication
How mode is realized, it is only necessary to know the interface parameters that communication pool defines, simple development mode.
2, data incoming interface has been unified and the demand that port communication uses has been segmented according to design pattern thought, be exactly to count
According to read-write, the design interface of factory mode has been gone out according to fixed requirement definition.
3, Uniform Communication Platform management avoids second-stage development standard from disagreeing, and forms normalization platform management.
4, solidify interface communication mode, lay the foundation for the realization of the standardization of products.
5, fixed communication interface, fixed development mode, unified research and development standard form unified product.
This method is related to computer software technology, and application product includes bank self-aid apparatus, and present invention uses design moulds
Communications platform research and development technology under formula thought, communication type integration technology and port communication monitoring protection;Have developed communication class
The unrelated communications platform of type provides normalization platform for secondary communication exploitation, forms foolproof exploitation, reduce workload, improve
Working efficiency, unified management, and data stream monitoring is carried out to communication port, it reduces because Development Factors export product unsteady wind
Danger, increases the quality of product.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (3)
1. based on the unrelated communication means of detection cabinet equipment module port type, which comprises the following steps:
The first step defines communication class base class interface;
Second step, each communication class unit inherits communication class base class interface, and realizes the function of each communication class unit;Communication class
Unit includes bluetooth class processing unit, serial ports class processing unit, USB class processing unit, HID class processing unit, the processing of parallel port class
Unit and network interface class processing unit;
Third step, intelligent recognition communication type unit based on open port arrange incoming parameter type judge communication type and
Call the specific child interface for inheriting out from base class;
4th step, the interface for finally exposing secondary development is exactly specific communication interface API that base class defines.
2. the communication means unrelated based on detection cabinet equipment module port type according to claim 1, feature exist
In: in second step bluetooth class communication interface by bluetooth equipment name query its fictionalize come input and output serial ports, realize string
Port communications.
3. the communication means unrelated based on detection cabinet equipment module port type according to claim 1, feature exist
In: USB class exports different USB subclasses according to different hardware module performances in second step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910460574.XA CN110191125A (en) | 2019-05-30 | 2019-05-30 | Based on the unrelated communication means of detection cabinet equipment module port type |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910460574.XA CN110191125A (en) | 2019-05-30 | 2019-05-30 | Based on the unrelated communication means of detection cabinet equipment module port type |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110191125A true CN110191125A (en) | 2019-08-30 |
Family
ID=67718660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910460574.XA Pending CN110191125A (en) | 2019-05-30 | 2019-05-30 | Based on the unrelated communication means of detection cabinet equipment module port type |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110191125A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110727420A (en) * | 2019-09-06 | 2020-01-24 | 广东宝莱特医用科技股份有限公司 | Serial port compatible method and system |
CN110795083A (en) * | 2019-10-31 | 2020-02-14 | 浪潮金融信息技术有限公司 | Automatic repair method for communication of driving peripheral |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1963794A (en) * | 2006-12-12 | 2007-05-16 | 北京中星微电子有限公司 | System and method to realize driving of equipment |
US7762454B2 (en) * | 2000-05-25 | 2010-07-27 | Diebold Self-Service Systems | Cash dispensing automated banking machine diagnostic method |
CN103777942A (en) * | 2013-12-06 | 2014-05-07 | 深圳市证通电子股份有限公司 | Embedded type software product development framework applied to financial terminal |
US20150248129A1 (en) * | 2014-03-03 | 2015-09-03 | Bank Of America Corporation | Sample-keyed adaptive product development tool |
CN105654628A (en) * | 2015-12-25 | 2016-06-08 | 浪潮软件集团有限公司 | Self-service terminal equipment and self-service method |
-
2019
- 2019-05-30 CN CN201910460574.XA patent/CN110191125A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7762454B2 (en) * | 2000-05-25 | 2010-07-27 | Diebold Self-Service Systems | Cash dispensing automated banking machine diagnostic method |
CN1963794A (en) * | 2006-12-12 | 2007-05-16 | 北京中星微电子有限公司 | System and method to realize driving of equipment |
CN103777942A (en) * | 2013-12-06 | 2014-05-07 | 深圳市证通电子股份有限公司 | Embedded type software product development framework applied to financial terminal |
US20150248129A1 (en) * | 2014-03-03 | 2015-09-03 | Bank Of America Corporation | Sample-keyed adaptive product development tool |
CN105654628A (en) * | 2015-12-25 | 2016-06-08 | 浪潮软件集团有限公司 | Self-service terminal equipment and self-service method |
Non-Patent Citations (5)
Title |
---|
余东: ""基于XFS规范的ATM设备驱动程序"", 《中国优秀硕士学位论文全文数据库》 * |
刘宗沛: ""中国邮政储蓄银行深圳分行自助终端软件系统的设计与实现"", 《万方》 * |
张瑞玲: ""Visual+Basic中通过接口和授权实现继承的研究"", 《万方》 * |
李娜: ""基于WOSA_XFS标准的ATM设备测试系统的设计与实现"", 《万方》 * |
李龙腾: ""嵌入式板级支持包通信平台研究与实现"", 《万方》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110727420A (en) * | 2019-09-06 | 2020-01-24 | 广东宝莱特医用科技股份有限公司 | Serial port compatible method and system |
CN110795083A (en) * | 2019-10-31 | 2020-02-14 | 浪潮金融信息技术有限公司 | Automatic repair method for communication of driving peripheral |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101304331B (en) | Platform for uniting north direction interfaces and starting method thereof | |
US10027536B2 (en) | System and method for affinity-based network configuration | |
CN107203376A (en) | A kind of enterprise-level information system | |
CN110191125A (en) | Based on the unrelated communication means of detection cabinet equipment module port type | |
CN103425497B (en) | The method and apparatus that a kind of network engineering script is changed across producer | |
CN108923935A (en) | A kind of narrowband internet of things data analysis management control system, method and application | |
CN103455423A (en) | Software automatic testing device and system based on cluster framework | |
CN107678949A (en) | Realize the automated testing method of embedded device different communication mode | |
CN103777928A (en) | Graph front-end system for bank foreground operation interface | |
CN106648920A (en) | Interface-based data communication method | |
CN105933767A (en) | Middleware device, middleware realization method and television set | |
CN103685564A (en) | Plug-in application ability layer introduced industry application online operation cloud platform architecture | |
Li et al. | Multi-chain and data-chains partitioning algorithm in intelligent manufacturing CPS | |
CN113766026A (en) | Data processing method and system applied to energy industrial network | |
CN104461832B (en) | A kind of method and device for monitoring application server resource | |
CN109684164A (en) | A kind of isomery operation management method and system based on autonomous controllable software and hardware | |
Chai | Design of Rural Human Resource Management Platform Integrating IoT and Cloud Computing | |
WO2023045636A1 (en) | Pipeline-based machine learning method and apparatus, electronic device, computer-readable storage medium, and computer program product | |
Venanzi et al. | Miint: Middleware for iiot platforms integration | |
CN103592612B (en) | Electrical-testing test system | |
CN103136162A (en) | ASIC (application specific integrated circuit) on-chip cloud architecture and design method based on same | |
CN114465850A (en) | API gateway management platform based on big data technology | |
CN114330363A (en) | Industrial control protocol vulnerability mining method based on vulnerability semantic intelligent analysis | |
CN106341267A (en) | North interface module in multilevel network management system and information processing method thereof | |
CN206991199U (en) | A kind of spliced computer cabinet |
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 | ||
CB03 | Change of inventor or designer information |
Inventor after: Hu Yan Inventor after: Sheng Wei Inventor after: Deng Haigang Inventor before: Hu Yan Inventor before: Sheng Wei Inventor before: Deng Haigang |
|
CB03 | Change of inventor or designer information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190830 |
|
RJ01 | Rejection of invention patent application after publication |