CN103093601A - Method for realizing full-function remote control of short-wave radio station - Google Patents

Method for realizing full-function remote control of short-wave radio station Download PDF

Info

Publication number
CN103093601A
CN103093601A CN2012105914927A CN201210591492A CN103093601A CN 103093601 A CN103093601 A CN 103093601A CN 2012105914927 A CN2012105914927 A CN 2012105914927A CN 201210591492 A CN201210591492 A CN 201210591492A CN 103093601 A CN103093601 A CN 103093601A
Authority
CN
China
Prior art keywords
radio station
remote control
control equipment
byte
short
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012105914927A
Other languages
Chinese (zh)
Other versions
CN103093601B (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

Images

Landscapes

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

Abstract

The invention discloses a method for realizing full-function remote control of a short-wave radio station. The method comprises the following steps of: designing an operating panel of remote control equipment to be completely the same as an operating panel of the radio station; then sending a key value pressed by an operator by the remote control equipment to the radio station through a serial port, and defining the key value by the radio station to be operation that an operator presses a key on the operating panel of the radio station; and finally, after the operating panel of the radio station is refreshed, sending the key value to the remote control equipment through the serial port, and refreshing and displaying after the remote control equipment receives the key value. By the method, the full-function remote control of the short-wave radio station can be realized; and the influence caused by change of functions of the short-wave radio station can be avoided.

Description

Realize the method for short-wave radio set full-function remote-control
One, technical field
The present invention relates to a kind of technology and implementation method of radio communication, can realize the full-function remote-control of short-wave radio set after employing the method.
Two, background technology
In the actual use to short-wave radio set, often need to use remote control equipment, remote control radio with requiring the energy global function.Usual way is the Functional Design one cover remote control agreement that will realize according to the radio station, realizes that in radio station and remote control equipment the remote control agreement completes distant control function.If the function in radio station changes to some extent, the remote control agreement will change, and the software in radio station and remote control equipment will change, and bring great inconvenience to the designer.
Three, summary of the invention
The present invention seeks to: provide a kind of technology and implementation method of radio communication, make and to realize the full-function remote-control of short-wave radio set after adopting the method, and be not subjected to the impact of short-wave radio set Functional change.
Technical scheme of the present invention is as follows:
At first a kind of method that realizes the short-wave radio set full-function remote-control, is designed to the guidance panel of remote control equipment and the guidance panel in radio station identical; Then, remote control equipment is issued the radio station with the key assignments that the operator presses by serial ports, and the radio station receives that being defined as the operator after this key assignments presses this key on the guidance panel in radio station; At last, issue remote control equipment by serial ports after the operation interface in radio station refreshes, refresh demonstration after remote control equipment is received;
For the remote control equipment end:
1) detect whether receive the serial ports refresh command; If receive, refresh demonstration, if do not receive, change step 2 over to);
2) judge whether to detect actuation of keys; If actuation of keys do not detected, return to step 1), if actuation of keys detected, change step 3) over to;
3) key assignments with the corresponding button of the actuation of keys that detects sends to the radio station;
For the interface end corresponding with remote control equipment in the radio station:
Whether 1) detect the radio station operation interface changes; If change, current interface is sent to remote control equipment by serial ports, if do not change, change step 2 over to);
2) judge whether to receive key assignments from serial ports; If do not receive, return to step 1), if receive, change step 3) over to;
3) treatment step 2) in the key assignments received.
The interface end corresponding with remote control equipment in described radio station and the communication protocol of remote control equipment end are as follows:
This communication protocol adopts character-oriented SLIP agreement, and it defines one group of character, with the data assembling framing, is implemented as follows:
The SLIP protocol definition 4 characters, that is:
End character: C0
ESC: DB
End alternatives: DC
Escape alternatives: DD
Head and the tail at each Frame respectively add an end character C0, are packaged into the SLIP frame;
At transmit leg, in the Frame of transmission, the data identical with end character C0 add alternatives with ESC DBDC and replace, and the data identical with ESC DB replace with ESC DBDD;
The take over party, the SLIP agreement is done opposite alternative work to the data in frame, is about to DBDC and becomes C0, and DBDD is become DB;
The data frame format of pressing the SLIP formal definition is as shown in table 1,
Table 1: data frame format
CRC0 and CRC1 are check bit.
The production method of described check bit is: the data after escape by the simple exclusive or check of byte, is obtained 1 byte, get the high 4bit of this byte as the low 4bit of first byte 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.
Beneficial effect of the present invention is: provide a kind of technology and implementation method of radio communication, make and can realize the full-function remote-control of short-wave radio set after adopting the method, and be not subjected to the impact of short-wave radio set Functional change.
Four, description of drawings
Fig. 1 is the software flow schematic diagram of remote control equipment;
Fig. 2 is in the radio station and the software flow schematic diagram of remote control equipment interface.
Five, embodiment
At first a kind of method that realizes the short-wave radio set full-function remote-control, is designed to the guidance panel of remote control equipment and the guidance panel in radio station identical; Then, remote control equipment is issued the radio station with the key assignments that the operator presses by serial ports, and the radio station receives that being defined as the operator after this key assignments presses this key on the guidance panel in radio station; At last, issue remote control equipment by serial ports after the operation interface in radio station refreshes, refresh demonstration after remote control equipment is received;
For the remote control equipment end:
1) detect whether receive the serial ports refresh command; If receive, refresh demonstration, if do not receive, change step 2 over to);
2) judge whether to detect actuation of keys; If actuation of keys do not detected, return to step 1), if actuation of keys detected, change step 3) over to;
3) key assignments with the corresponding button of the actuation of keys that detects sends to the radio station;
For the interface end corresponding with remote control equipment in the radio station:
Whether 1) detect the radio station operation interface changes; If change, current interface is sent to remote control equipment by serial ports, if do not change, change step 2 over to);
2) judge whether to receive key assignments from serial ports; If do not receive, return to step 1), if receive, change step 3) over to;
3) treatment step 2) in the key assignments received.
Communication protocol
Communication protocol between injecting program and radio station adopts character-oriented SLIP agreement, and its major function is one group of character of definition, with the data assembling framing.Be implemented as follows:
The SLIP protocol definition 4 characters, that is:
End character: C0
ESC: DB
End alternatives: DC
Escape alternatives: DD
Head and the tail at each Frame respectively add an end character (C0), are packaged into the SLIP frame.
In the Frame that sends, the data identical with end character (C0) add alternatives with ESC (DBDC) and replace, and the data identical with ESC (DB) replace with ESC (DBDD).
The take over party, the SLIP agreement is done opposite alternative work to the data in frame, is about to " DBDC " and becomes " C0 ", and " DBDD " become " DB "
The data frame format of pressing the SLIP formal definition is as shown in table 1.
Table 1: data frame format
Figure BDA00002698057900031
CRC0 and CRC1 are check bit, and check bit is produced by following method.
The data after escape by the simple exclusive or check of byte, is obtained 1 byte, get the high 4bit of this byte, as the low 4bit of first byte 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 that defines in the present invention the radio station is ID The radio station, the ID of remote control equipment is ID Remote controlThe frame control word is that FrameCtrl passes the key assignments order, is designated IDkey, is designated IDdisp, shows that refresh command is as follows.
Pass the key assignments order: C0 A0 frame length ID The radio station, ID Remote control, FrameCtrl IDkey key assignments CRC0 CRC1 C0
Show refresh command: C0 A0 frame length, ID Remote controlID The radio station, FrameCtrl IDdisp shows data CRC0 CRC1 C0
After button on remote control equipment is pressed, transmit the key assignments order to the radio station from serial ports, key value is taken out in the radio station after serial ports is received this order, carry out the keystroke handling program.Send from serial ports after the interface, radio station changes to show refresh command to remote control equipment, remote control equipment refreshes demonstration after serial ports is received this order, keep consistent with the demonstration in radio station.Can realize the full-function remote-control of short-wave radio set after adopting the method, as long as pass the key assignments order and show that refresh command is constant, not be subjected to the impact of short-wave radio set Functional change.

Claims (3)

1. at first a method that realizes the short-wave radio set full-function remote-control, is characterized in that, is designed to the guidance panel of remote control equipment and the guidance panel in radio station identical; Then, remote control equipment is issued the radio station with the key assignments that the operator presses by serial ports, and the radio station receives that being defined as the operator after this key assignments presses this key on the guidance panel in radio station; At last, issue remote control equipment by serial ports after the operation interface in radio station refreshes, refresh demonstration after remote control equipment is received;
For the remote control equipment end:
1) detect whether receive the serial ports refresh command; If receive, refresh demonstration, if do not receive, change step 2 over to);
2) judge whether to detect actuation of keys; If actuation of keys do not detected, return to step 1), if actuation of keys detected, change step 3) over to;
3) key assignments with the corresponding button of the actuation of keys that detects sends to the radio station;
For the interface end corresponding with remote control equipment in the radio station:
Whether 1) detect the radio station operation interface changes; If change, current interface is sent to remote control equipment by serial ports, if do not change, change step 2 over to);
2) judge whether to receive key assignments from serial ports; If do not receive, return to step 1), if receive, change step 3) over to;
3) treatment step 2) in the key assignments received.
2. the method that realizes the short-wave radio set full-function remote-control according to claim 1 is characterized in that the communication protocol of the interface end corresponding with remote control equipment in described radio station and remote control equipment end is as follows:
This communication protocol adopts character-oriented SLIP agreement, and it defines one group of character, with the data assembling framing, is implemented as follows:
The SLIP protocol definition 4 characters, that is:
End character: C0
ESC: DB
End alternatives: DC
Escape alternatives: DD
Head and the tail at each Frame respectively add an end character C0, are packaged into the SLIP frame;
At transmit leg, in the Frame of transmission, the data identical with end character C0 add alternatives with ESC DBDC and replace, and the data identical with ESC DB replace with ESC DBDD;
The take over party, the SLIP agreement is done opposite alternative work to the data in frame, is about to DBDC and becomes C0, and DBDD is become DB;
The data frame format of pressing the SLIP formal definition is as shown in table 1,
Table 1: data frame format
Figure FDA00002698057800021
CRC0 and CRC1 are check bit.
3. the method that realizes the short-wave radio set full-function remote-control according to claim 2, the production method that it is characterized in that described check bit is: the data after escape is pressed the simple exclusive or check of byte, obtain 1 byte, get the high 4bit of this byte as the low 4bit of first byte 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.
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 true CN103093601A (en) 2013-05-08
CN103093601B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961304A (en) * 2017-02-28 2017-07-18 深圳前沿通信技术开发有限公司 The multi-channel control methods, devices and systems of visible light communication
CN107836099A (en) * 2015-07-17 2018-03-23 高通股份有限公司 Loop detection/solution and load balancing on the double concurrent transponders of double frequency-band

Citations (5)

* 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
US20040201491A1 (en) * 2002-04-24 2004-10-14 Linsong Weng Lamp set remote control system
US20050177637A1 (en) * 2002-03-28 2005-08-11 Heron Andrew P. Secure remote control
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

Patent Citations (5)

* 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
US20050177637A1 (en) * 2002-03-28 2005-08-11 Heron Andrew P. Secure remote control
US20040201491A1 (en) * 2002-04-24 2004-10-14 Linsong Weng Lamp set remote control system
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
王海涛,等: "双电台多路遥控系统设计", 《工业控制计算机》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107836099A (en) * 2015-07-17 2018-03-23 高通股份有限公司 Loop detection/solution and load balancing on the double concurrent transponders of double frequency-band
CN106961304A (en) * 2017-02-28 2017-07-18 深圳前沿通信技术开发有限公司 The multi-channel control methods, devices and systems of visible light communication

Also Published As

Publication number Publication date
CN103093601B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
WO2010050784A3 (en) Device and method for transmitting downlink controlinformation in a wireless communication system
WO2014189290A3 (en) Electronic device using logical channels for communication
MY169151A (en) Security key generation for dual connectivity
WO2014163816A3 (en) Wellbore servicing tools, systems and methods utilizing near-field communication
JP2018082368A5 (en) Transmission device and transmission method
WO2009054642A3 (en) Apparatus and method for inputting characters/numerals for communication terminal
WO2011159948A3 (en) Apparatus and method for transitioning enhanced security context from a utran/geran-based serving network to an e-utran-based serving network
WO2011029374A9 (en) Method, equipment and system for inputting characters
CN103607779A (en) Multi-screen coordination intelligent input system and realization method thereof
MY170288A (en) Methods and apparatus for improving management of nfc logical connections
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
WO2008065523A3 (en) Apparatus, method and computer program product providing lcr-tdd compatible frame structure
WO2015132419A3 (en) Method of fitting a hearing assistance device
CN103425944A (en) Information safety input method and information safety device
JP2018082369A5 (en) Transmission device and transmission method
CN102883227B (en) Character inputting method, devices and system
CN103093601B (en) Realize the method for full-function remote control of short-wave radio station
JP2018082366A5 (en) Transmission device and transmission method
CN101587373B (en) Method, system and device for displaying input information
CN106330397B (en) method and device for realizing data interaction by ZigBee and Modbus RTU (remote terminal Unit) protocols
TW200701035A (en) System and method for inputting character
CN104714634A (en) Remote input method and system
WO2014135081A3 (en) Speed dialing configuration method and device for mobile terminal, and mobile terminal
WO2014089896A1 (en) Method for inputting chinese into remote desktop by mobile terminal device
CN204856397U (en) Wired keyboard and operating system with wireless transmission function

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
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.