CN103093601B - Realize the method for full-function remote control of short-wave radio station - Google Patents

Realize the method for full-function remote control of short-wave radio station Download PDF

Info

Publication number
CN103093601B
CN103093601B CN201210591492.7A CN201210591492A CN103093601B CN 103093601 B CN103093601 B CN 103093601B CN 201210591492 A CN201210591492 A CN 201210591492A CN 103093601 B CN103093601 B CN 103093601B
Authority
CN
China
Prior art keywords
radio station
remote control
control equipment
serial ports
key assignments
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
CN201210591492.7A
Other languages
Chinese (zh)
Other versions
CN103093601A (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.)
Panda Electronics Group Co Ltd
Original Assignee
Panda Electronics Group Co Ltd
Nanjing Panda Handa Technology 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 Panda Electronics Group Co Ltd, Nanjing Panda Handa Technology Co Ltd filed Critical Panda Electronics Group Co Ltd
Priority to CN201210591492.7A priority Critical patent/CN103093601B/en
Publication of CN103093601A publication Critical patent/CN103093601A/en
Application granted granted Critical
Publication of CN103093601B publication Critical patent/CN103093601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

Realize a method for full-function remote control of short-wave radio station, first, the guidance panel of remote control equipment is designed to identical with the guidance panel in radio station; Then, the key assignments that operator presses by remote control equipment issues radio station by serial ports, and radio station is then defined as operator and presses this key on the guidance panel in radio station after receiving this key assignments; Finally, issue remote control equipment by serial ports after the operation interface refreshing in radio station, remote control equipment receives rear refreshing display.The full-function remote-control of short-wave radio set can be realized after adopting this method, and not by the impact that short-wave radio set function changes.

Description

Realize the method for full-function remote control of short-wave radio station
One, technical field
The present invention relates to a kind of technology and implementation method of radio communication, the full-function remote-control of short-wave radio set after adopting the method, can be realized.
Two, background technology
To in the actual use of short-wave radio set, often need to use remote control equipment, requiring can global function ground remote control radio.Usual way is a set of Remoting Protocol of Functional Design that will realize according to radio station, realizes Remoting Protocol to complete distant control function in radio station and remote control equipment.If the function in radio station changes to some extent, Remoting Protocol will change, and the software in radio station and remote control equipment will change, and bring great inconvenience to designer.
Three, summary of the invention
The present invention seeks to: the technology and the implementation method that provide a kind of radio communication, the full-function remote-control of short-wave radio set after making to adopt the method, can be realized, and not by the impact that short-wave radio set function changes.
Technical scheme of the present invention is as follows:
Realize a method for full-function remote control of short-wave radio station, first, the guidance panel of remote control equipment is designed to identical with the guidance panel in radio station; Then, the key assignments that operator presses by remote control equipment issues radio station by serial ports, and radio station is then defined as operator and presses this key on the guidance panel in radio station after receiving this key assignments; Finally, issue remote control equipment by serial ports after the operation interface refreshing in radio station, remote control equipment receives rear refreshing display;
For remote control equipment end:
1) detect whether receive serial ports refresh command; If received, then refresh display, if do not received, then proceed to step 2);
2) judge whether actuation of keys to be detected; If actuation of keys do not detected, then return step 1), if actuation of keys detected, then proceed to step 3);
3) key assignments of corresponding for the actuation of keys detected button is sent to radio station;
The interface end corresponding with remote control equipment in radio station:
1) detect radio station operation interface whether to change; If changed, then current interface is sent to remote control equipment by serial ports, if do not changed, then proceed to step 2);
2) judge whether to receive the key assignments from serial ports; If do not received, then return step 1), if received, then proceed to step 3);
3) treatment step 2) in the key assignments that receives.
The interface end corresponding with remote control equipment in described radio station and the communication protocol of remote control equipment end as follows:
This communication protocol adopts character-oriented SLIP agreement, and it defines one group of character, by data assembling framing, is implemented as follows:
SLIP agreement defines 4 characters, that is:
End character: C0
ESC: DB
End alternatives: DC
Escape alternatives: DD
Respectively add an end character C0 at the head and the tail of each Frame, be packaged into SLIP frame;
At transmit leg, in the Frame of transmission, the data ESC DBDC identical with end character C0 adds alternatives and replaces, and the data ESC DBDD identical with ESC DB replaces;
Take over party, SLIP agreement does contrary alternative work to the data in frame, becomes C0, DBDD is become DB by DBDC;
It is as shown in table 1 by the data frame format of SLIP form definition,
Table 1: data frame format
CRC0 and CRC1 is check bit.
The production method of described check bit is: to the data acquisition after escape with by the simple exclusive or check of byte, obtain 1 byte, and get the low 4bit of high 4bit as the first character joint of verification of this byte, a high position fills out 0; Get the low 4bit of low 4bit as second byte of verification of this byte, a high position fills out 0.
Beneficial effect of the present invention is: the technology and the implementation method that provide a kind of radio communication, can realize the full-function remote-control of short-wave radio set after making to adopt the method, and not by the impact that short-wave radio set function changes.
Four, accompanying drawing explanation
Fig. 1 is the software flow schematic diagram of remote control equipment;
Fig. 2 is in radio station and the software flow schematic diagram of remote control equipment interface.
Five, embodiment
Realize a method for full-function remote control of short-wave radio station, first, the guidance panel of remote control equipment is designed to identical with the guidance panel in radio station; Then, the key assignments that operator presses by remote control equipment issues radio station by serial ports, and radio station is then defined as operator and presses this key on the guidance panel in radio station after receiving this key assignments; Finally, issue remote control equipment by serial ports after the operation interface refreshing in radio station, remote control equipment receives rear refreshing display;
For remote control equipment end:
1) detect whether receive serial ports refresh command; If received, then refresh display, if do not received, then proceed to step 2);
2) judge whether actuation of keys to be detected; If actuation of keys do not detected, then return step 1), if actuation of keys detected, then proceed to step 3);
3) key assignments of corresponding for the actuation of keys detected button is sent to radio station;
The interface end corresponding with remote control equipment in radio station:
1) detect radio station operation interface whether to change; If changed, then current interface is sent to remote control equipment by serial ports, if do not changed, then proceed to step 2);
2) judge whether to receive the key assignments from serial ports; If do not received, then return step 1), if received, then proceed to step 3);
3) treatment step 2) in the key assignments that receives.
Communication protocol
Communication protocol between injecting program and radio station adopts character-oriented SLIP agreement, and its major function is definition one group of character, by data assembling framing.Be implemented as follows:
SLIP agreement defines 4 characters, that is:
End character: C0
ESC: DB
End alternatives: DC
Escape alternatives: DD
Respectively add end character (C0) at the head and the tail of each Frame, be packaged into SLIP frame.
In the Frame sent, the data ESC (DBDC) identical with end character (C0) adds alternatives and replaces, and the data ESC (DBDD) identical with ESC (DB) replaces.
Take over party, SLIP agreement does contrary alternative work to the data in frame, is about to " DBDC " and becomes " C0 ", " DBDD " become " DB "
As shown in table 1 by the data frame format of SLIP form definition.
Table 1: data frame format
CRC0 and CRC1 is check bit, and check bit is produced by method below.
To the data acquisition after escape with by the simple exclusive or check of byte, obtain 1 byte, get the high 4bit of this byte, as the low 4bit of the first character joint of verification, a high position fills out 0; Get the low 4bit of this byte, as the low 4bit of second byte of verification, a high position fills out 0.
Concrete methods of realizing
The ID defining radio station is in the present invention ID radio station, the ID of remote control equipment is ID remote control.Frame control word is FrameCtrl, is designated IDkey, is designated IDdisp, passes key assignments order, and display refresh command is as follows.
Pass key assignments order: C0A0 frame length ID radio station, ID remote control, FrameCtrl IDkey key assignments CRC0CRC1C0
Display refresh command: C0A0 frame length, ID remote controliD radio station, FrameCtrl IDdisp shows data CRC0CRC1C0
After button on remote control equipment is pressed, transmit key assignments order to radio station from serial ports, key value is taken out in radio station after serial ports receives this order, performs keystroke handling program.Send display refresh command to remote control equipment from serial ports after the change of interface, radio station, remote control equipment refreshes display after serial ports receives this order, keeps consistent with the display in radio station.The full-function remote-control of short-wave radio set can be realized, as long as pass key assignments order and show refresh command constant, by the impact that short-wave radio set function changes after adopting the method.

Claims (2)

1. realize a method for full-function remote control of short-wave radio station, it is characterized in that, first the guidance panel of remote control equipment is designed to identical with the guidance panel in radio station; Then, the key assignments that operator presses by remote control equipment issues radio station by serial ports, and radio station is then defined as operator and presses this key on the guidance panel in radio station after receiving this key assignments; Finally, issue remote control equipment by serial ports after the operation interface refreshing in radio station, remote control equipment receives rear refreshing display;
For remote control equipment end:
1) detect whether receive serial ports refresh command; If received, then refresh display, if do not received, then proceed to step 2); 2) judge whether actuation of keys to be detected; If actuation of keys do not detected, then return step 1), if actuation of keys detected, then proceed to step 3);
3) key assignments of corresponding for the actuation of keys detected button is sent to radio station;
The interface end corresponding with remote control equipment in radio station:
1) detect radio station operation interface whether to change; If changed, then current interface is sent to remote control equipment by serial ports, if do not changed, then proceed to step 2);
2) judge whether to receive the key assignments from serial ports; If do not received, then return step 1), if received, then proceed to step 3); 3) treatment step 2) in the key assignments that receives;
The interface end corresponding with remote control equipment in described radio station and the communication protocol of remote control equipment end as follows:
This communication protocol adopts character-oriented SLIP agreement, and it defines one group of character, by data assembling framing, is implemented as follows: SLIP agreement defines 4 characters, that is:
End character: C0
ESC: DB
End alternatives: DC
Escape alternatives: DD
Respectively add an end character C0 at the head and the tail of each Frame, be packaged into SLIP frame;
At transmit leg, in the Frame of transmission, the data ESC DBDC identical with end character C0 adds alternatives and replaces, and the data ESC DBDD identical with ESC DB replaces;
Take over party, SLIP agreement does contrary alternative work to the data in frame, becomes C0, DBDD is become DB by DBDC;
As shown in table 1 by the data frame format of SLIP form definition, table 1: data frame format:
CRC0 and CRC1 is check bit;
The ID in definition radio station is ID radio station, the ID of remote control equipment is ID remote control; Frame control word is FrameCtrl, is designated IDkey, is designated IDdisp, passes key assignments order, and display refresh command is as follows:
Pass key assignments order: C0 A0 frame length ID radio station, ID remote control, FrameCtrl IDkey key assignments CRC0 CRC1 C0;
Display refresh command: C0 A0 frame length, ID remote controliD radio station, FrameCtrl IDdisp shows data CRC0 CRC1 C0;
After button on remote control equipment is pressed, key assignments order is transmitted to radio station from serial ports, key value is taken out in radio station after serial ports receives this order, perform keystroke handling program, send display refresh command to remote control equipment from serial ports after the change of interface, radio station, remote control equipment refreshes display after serial ports receives this order, keeps consistent with the display in radio station.
2. want the method realizing full-function remote control of short-wave radio station described in 1 according to right, it is characterized in that the production method of described check bit is: the data acquisition after escape is used by the simple exclusive or check of byte, obtain 1 byte, get the low 4bit of high 4bit as the first character joint of verification of this byte, a high position fills out 0; Get the low 4bit of low 4bit as second byte of verification of this byte, a high position fills out 0.
CN201210591492.7A 2012-12-31 2012-12-31 Realize the method for full-function remote control of short-wave radio station Active CN103093601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210591492.7A CN103093601B (en) 2012-12-31 2012-12-31 Realize the method for full-function remote control of short-wave radio station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210591492.7A CN103093601B (en) 2012-12-31 2012-12-31 Realize the method for full-function remote control of short-wave radio station

Publications (2)

Publication Number Publication Date
CN103093601A CN103093601A (en) 2013-05-08
CN103093601B true CN103093601B (en) 2015-09-09

Family

ID=48206123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210591492.7A Active CN103093601B (en) 2012-12-31 2012-12-31 Realize the method for full-function remote control of short-wave radio station

Country Status (1)

Country Link
CN (1) CN103093601B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170019165A1 (en) * 2015-07-17 2017-01-19 Qualcomm Incorporated Loop detection/resolution and load balancing on dual band dual concurrent repeater
CN106961304A (en) * 2017-02-28 2017-07-18 深圳前沿通信技术开发有限公司 The multi-channel control methods, devices and systems of visible light communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6778097B1 (en) * 1997-10-29 2004-08-17 Shin Caterpillar Mitsubishi Ltd. Remote radio operating system, and remote operating apparatus, mobile relay station and radio mobile working machine
CN1945648A (en) * 2006-09-30 2007-04-11 刘正东 Universal studying programmable remote controller and its control method
CN101399593A (en) * 2007-09-30 2009-04-01 大唐移动通信设备有限公司 Base station, baseband processing unit, radio remote unit and version renovating method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60312138T2 (en) * 2002-03-28 2007-11-29 British Telecommunications P.L.C. SECURE REMOTE CONTROL
US20040201491A1 (en) * 2002-04-24 2004-10-14 Linsong Weng Lamp set remote control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6778097B1 (en) * 1997-10-29 2004-08-17 Shin Caterpillar Mitsubishi Ltd. Remote radio operating system, and remote operating apparatus, mobile relay station and radio mobile working machine
CN1945648A (en) * 2006-09-30 2007-04-11 刘正东 Universal studying programmable remote controller and its control method
CN101399593A (en) * 2007-09-30 2009-04-01 大唐移动通信设备有限公司 Base station, baseband processing unit, radio remote unit and version renovating method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
双电台多路遥控系统设计;王海涛,等;《工业控制计算机》;20120131;第25卷(第1期);第104-105,107页 *

Also Published As

Publication number Publication date
CN103093601A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
US20170193702A1 (en) Head-mounted display device and method for interaction between head-mounted display device and intelligent terminal
WO2010050784A3 (en) Device and method for transmitting downlink controlinformation in a wireless communication system
WO2014107611A3 (en) Enb pdcch implementation to avoid ambiguous dci information
WO2014145367A3 (en) Contactless ehf data communication
WO2011029374A9 (en) Method, equipment and system for inputting characters
PH12019502212A1 (en) Method for performing encoding on basis of parity check matrix of low density parity check (ldpc) code in wireless communication system and terminal using same
MY183513A (en) A radio node and method for selectively providing syncronization information for a device-to-device (d2d) communication
CN103093601B (en) Realize the method for full-function remote control of short-wave radio station
US20160026260A1 (en) Television-and-Computer All-in-One Machine, Method, and Computer Storage Medium for Performing Remote Control on External Computer
CN103337144A (en) Wireless network-based intelligent remote control method and wireless network-based terminal
CN102883227B (en) Character inputting method, devices and system
CN101587373B (en) Method, system and device for displaying input information
CN103067039A (en) Method for converting Bluetooth or wireless fidelity (WIFI) into 433/315 wireless communication interface
CN105743949A (en) Method for realizing double-screen synchronization between two devices
CN204856397U (en) Wired keyboard and operating system with wireless transmission function
CN103731421A (en) ARINC429 bus digital simulation communication method based on Ethernet
CN104714634A (en) Remote input method and system
KR20160043397A (en) Infrared rays transmission system of touch remote control
JP2014194778A (en) Computer input system and method therefor
MY201372A (en) Radio frame sending and receiving methods and apparatus
CN104735825B (en) Dial-up wireless network bridge device
WO2014194823A3 (en) Data processing method and system
CN204480509U (en) A kind of radio sending and receiving telegram demonstration teaching aid
CN202713488U (en) Display having function of position guidance of screen display function buttons
CN203012642U (en) Novel wireless keyboard

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
TR01 Transfer of patent right

Effective date of registration: 20240313

Address after: 210046 Within Nanjing Economic and Technological Development Zone, Jiangsu Province (No. 301 Zhongshan East Road, Xuanwu District)

Patentee after: PANDA ELECTRONICS GROUP Co.,Ltd.

Country or region after: China

Address before: 210002 No. 301 East Zhongshan Road, Jiangsu, Nanjing

Patentee before: PANDA ELECTRONICS GROUP Co.,Ltd.

Country or region before: China

Patentee before: NANJING PANDA HANDA TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right