CN110046110A - A kind of method and adapter that terminal is set on site - Google Patents

A kind of method and adapter that terminal is set on site Download PDF

Info

Publication number
CN110046110A
CN110046110A CN201910331704.XA CN201910331704A CN110046110A CN 110046110 A CN110046110 A CN 110046110A CN 201910331704 A CN201910331704 A CN 201910331704A CN 110046110 A CN110046110 A CN 110046110A
Authority
CN
China
Prior art keywords
terminal
adapter
smart phone
site
interface
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
Application number
CN201910331704.XA
Other languages
Chinese (zh)
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.)
Jiaying University
Original Assignee
Jiaying University
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 Jiaying University filed Critical Jiaying University
Priority to CN201910331704.XA priority Critical patent/CN110046110A/en
Publication of CN110046110A publication Critical patent/CN110046110A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
    • G06F13/128Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine for dedicated transfers to a network

Abstract

The invention discloses a kind of with the method that terminal is arranged on site, belong to technical field of electronic equipment, it is main to be to solve the technical issues of terminal is arranged to scene in special equipment inconvenient to carry, the method is one adapter that can be connect smart phone with terminal of design, mutually passes the command information between the smart phone and terminal by the adapter.The invention also discloses the adapters that terminal is arranged in a kind of use for realizing the above method on site.The present invention can facilitate in-site installation, detection and maintenance terminal equipment.

Description

A kind of method and adapter that terminal is set on site
Technical field
The present invention relates to technical field of electronic equipment, more specifically, it relates to a kind of side that terminal is arranged on site Method and adapter.
Background technique
When engineering staff is to in-site installation, detection and to maintain equipment, heavy and expensive special equipment is often carried, this A little specific device types are various, and model carries special equipment to in-site installation, detection and dimension not to that can not operate relevant device Shield equipment brings very big inconvenience.
Summary of the invention
The technical problem to be solved by the present invention is to be directed to the above-mentioned deficiency of the prior art, the purpose of the present invention one is to provide one Kind can facilitate the method with setting terminal on site of in-site installation, detection and maintenance terminal equipment.
The purpose of the present invention two be to provide it is a kind of can facilitate in-site installation, detection and maintenance terminal equipment with setting on site Set the adapter of terminal.
To achieve the goals above one, the present invention provides a kind of method that terminal is arranged on site, and setting one can be with The adapter that smart phone is connect with terminal mutually passes the letter of the instruction between the smart phone and terminal by the adapter Breath.
As a further improvement, the specific work process of the adapter is,
S1, the command information for receiving the smart phone transmission are simultaneously decoded;
S2, the terminal is sent to after the command information in step S1 is converted to the data format of the terminal;
S3, the command information for receiving the terminal transmission are simultaneously decoded;
S4, the intelligent hand is sent to after the command information in step S3 to be converted to the data format of the smart phone Machine.
Further, the adapter includes embeded processor, the communication mould with the smart phone communication connection Block, the interface module connecting with terminal called, the embeded processor are separately connected the communication module, interface module.
Further, corresponding firmware is generated according to the communication protocol of the terminal and downloaded to the firmware described embedding Enter formula processor.
Further, mobile phone terminal APP, the mobile phone terminal APP and institute are generated according to the driving of the embeded processor It states adapter and data exchange is carried out by JSON string.
Further, the communication module is CH340 chip.
Further, the interface module includes serial ports, I2C interface, SPI interface.
To achieve the goals above two, the present invention provides a kind of adapter that terminal is arranged on site, including embedded Processor, burning mouth, with the communication module of smart phone communication connection, the interface module being connect with terminal called, described is embedding Enter formula processor and is separately connected the burning mouth, communication module, interface module.
As a further improvement, the communication module is CH340 chip.
Further, the interface module includes serial ports, I2C interface, SPI interface.
Beneficial effect
Compared with prior art, the present invention having the advantage that are as follows:
1, the adapter that smart phone is connect by present invention setting with terminal, mutually passes smart phone and terminal by adapter Between command information, at the scene using smart phone can setting terminal equipment function and operating parameter, can be to avoid work Cheng personnel need to carry heavy and expensive special equipment, greatly facilitate in-site installation, detection and maintenance terminal equipment.
2, the present invention need to only generate corresponding firmware according to the communication protocol of terminal and firmware is downloaded to embedded processing Device can connect corresponding terminal, and hardware circuit is fixed and invariable, and user, only need to be according to different without carrying out circuit exploitation Terminal replaces different firmwares, adapter it is applied widely.
3, adapter allomeric function of the invention is complete, rich interface, particularly suitable to write computer program, but not opens The Computer Engineer of Power Generation Road carries out secondary development, and development cost is low.
Detailed description of the invention
Fig. 1 is structure chart of the invention;
Fig. 2 is flow chart of the invention.
Wherein: 1- smart phone, 2- terminal, 3- adapter, 4- embeded processor, 5- communication module, 6- serial ports, 7- I2C interface, 8-SPI interface, 9- burning mouth.
Specific embodiment
The present invention is described further for specific embodiment in reference to the accompanying drawing.
Refering to fig. 1-2, a kind of method and adapter that terminal being arranged on site, setting one can be by smart phone 1 The adapter 3 connecting with terminal 2 mutually passes the command information between smart phone 1 and terminal 2 by adapter 3.
The specific work process of adapter 3 is,
S1, the command information for receiving the transmission of smart phone 1 are simultaneously decoded;
S2, terminal 2 is sent to after the command information in step S1 is converted to the data format of terminal 2;
S3, the command information for receiving the transmission of terminal 2 are simultaneously decoded;
S4, smart phone 1 is sent to after the command information in step S3 is converted to the data format of smart phone 1.
In the present embodiment, adapter 3 include embeded processor 4, with the communication module 5 of 1 communication connection of smart phone, With the interface module of 2 communication connection of terminal, embeded processor 4 is separately connected communication module 5, interface module.According to terminal 2 Communication protocol generates corresponding firmware and firmware is downloaded to embeded processor 4, can connect corresponding terminal, hardware circuit It is fixed and invariable, user need to only replace different firmwares, adapter without carrying out circuit exploitation according to different terminals It is applied widely.Mobile phone terminal APP is generated according to the driving of embeded processor 4, mobile phone terminal APP and adapter 3 pass through JSON String carries out data exchange, and certainly, adapter 3 further includes firmware development packet, and firmware development is contained for mobile phone terminal APP, insertion Formula processor 4 handles the library file of data, to facilitate user oneself to carry out secondary development according to the actual situation.When smart phone 1 When sending setting data, embeded processor 4 carries out terminal data processing, and is sent to terminal 2 by hardware interface module;When When 2 feedback information data of terminal, embeded processor 4 carries out data in mobile phone processing, and JSON string generates and sends to smart phone 1。
In the present embodiment, communication module 5 is CH340 chip, and the USB port of mobile phone is converted into serial ports, made by CH340 chip Adapter 3 connect very convenient, and message transmission rate height with smart phone 1, stability is good.Interface module include serial ports 6, I2C interface 7, SPI interface 8, to be suitable for connecting the terminal 2 of a variety of distinct interfaces, adapter allomeric function is complete, interface is rich Richness, it is particularly suitable to write computer program, but not the Computer Engineer for developing circuit carries out secondary development, development cost It is low.Adapter 3 further includes burning mouth 9, and embeded processor 4 connects burning mouth 9, and firmware is downloaded to embedded by burning mouth 9 After processor 4, adapter can be detached from computer and firmware burning device works, and adapter is small in size, light-weight, very just Portable belt.
In other embodiments, communication module 5 can also be Wifi module or bluetooth module, and interface module further includes network The data communication interface of interface and other forms.
The adapter that connect smart phone with terminal is arranged in the present invention, mutually passed by adapter smart phone and terminal it Between command information, at the scene using smart phone can setting terminal equipment function and operating parameter, can be to avoid engineering Personnel need to carry heavy and expensive special equipment, greatly facilitate in-site installation, detection and maintenance terminal equipment.
The above is only the preferred embodiment of the present invention, it should be pointed out that for those skilled in the art, is not taking off Under the premise of from structure of the invention, several modifications and improvements can also be made, these all will not influence the effect that the present invention is implemented And patent practicability.

Claims (10)

1. a kind of method that terminal is arranged on site, it is characterised in that: setting one can be by smart phone (1) and terminal (2) adapter (3) connected mutually passes the letter of the instruction between the smart phone (1) and terminal (2) by the adapter (3) Breath.
2. a kind of method that terminal is arranged on site according to claim 1, it is characterised in that: the adapter (3) Specific work process be,
S1, the command information for receiving smart phone (1) transmission are simultaneously decoded;
S2, the terminal (2) are sent to after the command information in step S1 to be converted to the data format of the terminal (2);
S3, the command information for receiving terminal (2) transmission are simultaneously decoded;
S4, the intelligent hand is sent to after the command information in step S3 to be converted to the data format of the smart phone (1) Machine (1).
3. a kind of method that terminal is arranged on site according to claim 1 or 2, it is characterised in that: the adaptation Device (3) includes that the communication module (5) of embeded processor (4) and the smart phone (1) communication connection and terminal (2) communicate The interface module of connection, the embeded processor (4) are separately connected the communication module (5), interface module.
4. a kind of method that terminal is arranged on site according to claim 3, it is characterised in that: according to the terminal (2) communication protocol generates corresponding firmware and the firmware is downloaded to the embeded processor (4).
5. a kind of method that terminal is arranged on site according to claim 3, it is characterised in that: according to described embedded The driving of processor (4) generates mobile phone terminal APP, and the mobile phone terminal APP and the adapter (3) are gone here and there by JSON carries out data Exchange.
6. a kind of method that terminal is arranged on site according to claim 3, it is characterised in that: the communication module It (5) is CH340 chip.
7. a kind of method that terminal is arranged on site according to claim 3, it is characterised in that: the interface module Including serial ports (6), I2C interface (7), SPI interface (8).
8. it is a kind of on site be arranged terminal adapter, it is characterised in that: including embeded processor (4), burning mouth (9), With the communication module (5) of the smart phone (1) communication connection and the interface module of terminal (2) communication connection, the insertion Formula processor (4) is separately connected the burning mouth (9), communication module (5), interface module.
9. a kind of adapter that terminal is arranged on site according to claim 8, it is characterised in that: the communication mould Block (5) is CH340 chip.
10. a kind of adapter that terminal is arranged on site according to claim 8, it is characterised in that: the interface Module includes serial ports (6), I2C interface (7), SPI interface (8).
CN201910331704.XA 2019-04-24 2019-04-24 A kind of method and adapter that terminal is set on site Pending CN110046110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910331704.XA CN110046110A (en) 2019-04-24 2019-04-24 A kind of method and adapter that terminal is set on site

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910331704.XA CN110046110A (en) 2019-04-24 2019-04-24 A kind of method and adapter that terminal is set on site

Publications (1)

Publication Number Publication Date
CN110046110A true CN110046110A (en) 2019-07-23

Family

ID=67278828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910331704.XA Pending CN110046110A (en) 2019-04-24 2019-04-24 A kind of method and adapter that terminal is set on site

Country Status (1)

Country Link
CN (1) CN110046110A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1023650A1 (en) * 1997-10-13 2000-08-02 Rosemount Inc. Communication technique for field devices in industrial processes
CN1735090A (en) * 2004-03-18 2006-02-15 上海电器科学研究所(集团)有限公司 Communication adapter of field bus equipment communication
CN101192334A (en) * 2006-11-27 2008-06-04 Vega格里沙贝两合公司 Interface adapter
JP2011211470A (en) * 2010-03-30 2011-10-20 Japan Tobacco Inc Information reading system and mobile phone terminal
CN103621013A (en) * 2011-06-24 2014-03-05 恩德斯+豪斯流量技术股份有限公司 Method for operating a field device, and field device
EP2944139A1 (en) * 2013-01-10 2015-11-18 Awox System and method for distributing additional information to a secondary terminal
CN106294243A (en) * 2016-08-11 2017-01-04 合肥阿格德信息科技有限公司 A kind of PROFIBUS interface of multi output interface
CN206209396U (en) * 2016-11-18 2017-05-31 杭州塔网科技有限公司 Production scene serial monitoring intelligent terminal
CN206331274U (en) * 2016-12-01 2017-07-14 桥弘软件开发(上海)有限公司 A kind of equipment long-distance service system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1023650A1 (en) * 1997-10-13 2000-08-02 Rosemount Inc. Communication technique for field devices in industrial processes
CN1735090A (en) * 2004-03-18 2006-02-15 上海电器科学研究所(集团)有限公司 Communication adapter of field bus equipment communication
CN101192334A (en) * 2006-11-27 2008-06-04 Vega格里沙贝两合公司 Interface adapter
JP2011211470A (en) * 2010-03-30 2011-10-20 Japan Tobacco Inc Information reading system and mobile phone terminal
CN103621013A (en) * 2011-06-24 2014-03-05 恩德斯+豪斯流量技术股份有限公司 Method for operating a field device, and field device
EP2944139A1 (en) * 2013-01-10 2015-11-18 Awox System and method for distributing additional information to a secondary terminal
CN106294243A (en) * 2016-08-11 2017-01-04 合肥阿格德信息科技有限公司 A kind of PROFIBUS interface of multi output interface
CN206209396U (en) * 2016-11-18 2017-05-31 杭州塔网科技有限公司 Production scene serial monitoring intelligent terminal
CN206331274U (en) * 2016-12-01 2017-07-14 桥弘软件开发(上海)有限公司 A kind of equipment long-distance service system

Similar Documents

Publication Publication Date Title
US20140228074A1 (en) Embedded Accessory for Mobile Devices
CN205680208U (en) A kind of single node bluetooth controlled in wireless self-help terminal equipment
CN106961665A (en) A kind of Intelligent hardware based on Bluetooth communication matches somebody with somebody network method
CN103107825A (en) Bluetooth adapter, system and method of realizing mobile terminal controlling operation terminal
CN206759736U (en) Portable data transmitter based on bluetooth and WIFI
CN204968123U (en) Portable micropower wireless communication network debugs device
CN201011718Y (en) Wireless network interface card for developing and its developing device
CN110046110A (en) A kind of method and adapter that terminal is set on site
CN205232465U (en) Intelligence wireless communication system
CN107370515B (en) Mobile internet device and equipment
CN204087151U (en) A kind of external assembly being exclusively used in touch display unit
CN202771698U (en) Radio receiving and transmitting training device
CN203027289U (en) System for realizing serial communication among computer, host computer and slave computer
CN206363306U (en) A kind of terminal and its serial communication circuit
CN206894677U (en) A kind of display screen route board with WIFI
CN109062845A (en) multi-terminal control method and system
CN2765254Y (en) Data exchange and charging apparatus for handset
CN103929457A (en) Internet of things application data interaction system and method based on mobile internet
CN208423100U (en) A kind of battery pack debugging system
CN103457645A (en) Method for maintaining industrial device on posts through Bluetooth wireless technology
CN206498401U (en) LoRa MANET communication systems based on Beidou satellite communication
CN106584862A (en) 3D printing WIFI control system with built-in Web service and control method thereof
CN203242003U (en) RFID device based on audio port communication
CN206610285U (en) A kind of usb expansion circuit and its hub with power supply interface
CN104363118A (en) Multi-mode communication hand-held device, management system and method based on community management

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