CN110826667B - Beidou RD smart card remote card reading method - Google Patents

Beidou RD smart card remote card reading method Download PDF

Info

Publication number
CN110826667B
CN110826667B CN201911068453.7A CN201911068453A CN110826667B CN 110826667 B CN110826667 B CN 110826667B CN 201911068453 A CN201911068453 A CN 201911068453A CN 110826667 B CN110826667 B CN 110826667B
Authority
CN
China
Prior art keywords
beidou
smart card
arm platform
card
equipment
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
CN201911068453.7A
Other languages
Chinese (zh)
Other versions
CN110826667A (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.)
Shenzhen Fareast Huaqiang Navigation Positioning Co ltd
Original Assignee
Shenzhen Fareast Huaqiang Navigation Positioning 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 Shenzhen Fareast Huaqiang Navigation Positioning Co ltd filed Critical Shenzhen Fareast Huaqiang Navigation Positioning Co ltd
Priority to CN201911068453.7A priority Critical patent/CN110826667B/en
Publication of CN110826667A publication Critical patent/CN110826667A/en
Application granted granted Critical
Publication of CN110826667B publication Critical patent/CN110826667B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The invention relates to the field of satellite navigation, in particular to a Beidou RD smart card remote reading method, which does not need any Beidou equipment for assistance and independently uses an ARM (advanced RISC machine) to realize the Beidou RD smart card remote reading technology. The Beidou equipment has common message communication, positioning and navigation functions, the Beidou RD smart card needs to be installed together with the Beidou equipment for outdoor use, the lowest normal working temperature of the Beidou RD smart card is-20 ℃, and the Beidou RD smart card in the north can not be used frequently in winter. The big dipper RD smart card can be separated from the big dipper equipment, and the big dipper equipment can be used for solving the difficult problem by the technology of remote operation of the big dipper RD smart card. Therefore, the Beidou RD smart card remote card reading technology has very important significance by analyzing the physical characteristics and the command characteristics of the Beidou RD smart card.

Description

Beidou RD smart card remote reading method
Technical Field
The invention relates to the field of satellite navigation, in particular to a technology for realizing remote reading of a Beidou RD smart card by independently using an ARM platform without the assistance of any Beidou equipment.
Background
The Beidou No. two satellite navigation system is a global satellite positioning navigation system independently researched and developed in China, and provides all-round global navigation positioning service in sea, land and air. The RDSS mainly integrates two functions of Beidou RDSS positioning and RDSS short messages, and the Beidou RD intelligent card is a key for starting the two functions. The Beidou RD smart card can be used for realizing Beidou two-way short digital message communication, information of 140 words can be transmitted at one time, and the position of a publisher can be positioned and displayed. In places without communication and network, such as oceans, deserts and the field, the position of the user can be positioned, and the text information can be released to the outside. However, the Beidou RD smart card needs to be installed with the Beidou user machine to be used outdoors, the lowest normal working temperature of the Beidou RD smart card is-20 ℃, and the lowest normal working temperature of the Beidou RD smart card can easily reach-20 ℃ in winter in the northern part of China, so that the Beidou RD smart card cannot work normally. If can have a method and can separate big dipper RD smart card and big dipper equipment under the prerequisite that does not change original big dipper equipment, needn't be in the same place with big dipper equipment fixing, put the local work that the environment is suitable to big dipper RD smart card, can also let big dipper equipment accomplish the communication positioning function through remote control big dipper RD smart card, then perfectly solved big dipper RD smart card characteristics that the environment adaptability is poor. The technology which can be communicated with the Beidou equipment and can realize remote operation of the Beidou RD smart card is urgently needed to solve the problem.
Therefore, the Beidou RD smart card remote card reading technology has very important significance in analyzing the physical characteristics and the command characteristics of the Beidou RD smart card.
At present, no patent or thesis about the Beidou RD smart card remote card reading technology is found abroad and domestically.
Disclosure of Invention
In view of this, the technical problem to be solved by the present invention is to provide a technology for remotely reading a beidou RD smart card by using an ARM platform alone without the assistance of other devices.
The technical scheme adopted by the invention is as follows:
a Beidou RD smart card remote card reading method comprises the following steps:
(1) The ARM platform is connected with the Beidou equipment through a general interface and is connected with the Beidou RD intelligent card through general IO special configuration; the ARM platform is connected with the Beidou RD intelligent card through four pins of CLK, VCC, RST and data IO which are specially configured for general IO, provides power supply voltage and a working clock for the Beidou RD intelligent card through the VCC and CLK pins, configures the data IO pin into a receiving state, configures a start bit, a data bit and a stop bit according to a data structure in a technical protocol of the Beidou RD intelligent card, and configures the working clock and an output baud rate of the Beidou RD intelligent card;
(2) The ARM platform controls the RST pin to send a reset signal to the Beidou RD smart card, the RST lead is kept at a low level for a set time and then is set to be high, and the Beidou RD smart card sends a response signal to the ARM after the RST lead is lifted;
(3) If the ARM platform receives a response signal of the Beidou RD smart card, the ARM platform enters an analysis state, a working clock and an output baud rate of the Beidou RD smart card in the response signal are analyzed, if the working clock and the output baud rate are consistent with an initial setting, a resetting process of the Beidou RD smart card is completed, and the ARM platform enters a normal card reading state; if the working clock is inconsistent with the initial setting, the hardware interface is reinitialized according to the analyzed working clock and baud rate of the Beidou RD smart card, and the step (2) is returned; if the ARM platform does not receive the response signal of the Beidou RD smart card, the initialization fails, the reset signal is provided for the Beidou RD smart card again, the step (3) is returned, and the ARM platform enters a normal card reading state until the response signal of the Beidou RD smart card is received;
(4) After the ARM platform is switched into a normal card reading state, actively reading the card number and the serial number of the Beidou RD smart card according to the Beidou RD smart card technical protocol, transmitting the read Beidou RD smart card information to Beidou equipment through a general interface, and informing the Beidou equipment that the card reading operation of the Beidou RD smart card can be completed through the ARM platform;
(5) After the Beidou device receives the notification, the Beidou device transmits the received information needing to be processed by the Beidou RD smart card to the ARM platform, and the ARM platform re-frames the information and then transmits the information to the Beidou RD smart card; the information is encrypted or decrypted by the Beidou RD smart card and then returned to the Beidou equipment through the ARM platform, and the Beidou equipment completes positioning communication operation by utilizing the returned Beidou RD smart card information.
Wherein, general interface selects USART, SPI, IIC, net gape or wireless transmission interface arbitrary one kind, and the connecting cable of interface can increase or subtract the weak point according to actual need.
When the ARM platform sends information to the Beidou RD smart card in the step (4) and the step (5), if the Beidou RD smart card detects that the data frame sent by the ARM platform is wrong, the Beidou RD smart card sends a pull-down signal of one bit clock period to the ARM through the data IO lead, and the ARM platform processes and resends the data according to a protocol after detecting the pull-down signal.
And (4) after the ARM platform sends data to the Beidou RD smart card in the step (5), the output enable is released after a protection time, so that the data in the data buffer zone is sent completely.
The technical scheme adopted by the invention has the advantages that:
the ARM platform can be used as a bridge to realize remote communication between the Beidou equipment and the Beidou RD smart card. Therefore, the Beidou RD smart card does not need to be installed together with Beidou equipment, and the defect that the Beidou RD smart card is poor in environmental adaptability is overcome.
Description of the drawings:
FIG. 1 is a hardware platform principle for implementing the present invention;
FIG. 2 is a card reading implementation flow of the present invention.
Detailed Description
The present invention will now be described in further detail with reference to the accompanying figures 1 to 2
The invention is implemented in the hardware platform of fig. 1, which comprises an antenna, a Beidou device, an ARM platform, an electrical characteristic protection circuit and a Beidou RD smart card.
After receiving satellite outbound information through an antenna, the Beidou equipment transmits the satellite outbound information to the ARM platform through a cable. The ARM platform recodes the information needing to be processed by the Beidou RD smart card according to a Beidou RD smart card technical protocol and sends the information to the Beidou RD smart card, receives the information processed by the Beidou RD smart card, and forwards the information to Beidou equipment after decoding; meanwhile, the Beidou equipment utilizes the Beidou RD smart card to process the back information to realize the active communication positioning inbound function.
The hardware ARM platform selects USART1 to carry out two-way communication with Beidou equipment. ARM realizes two-way communication with big dipper RD smart card through four pins of general IO special configuration CLK, VCC, RST and data IO. The connecting cable at USART1 can be lengthened or shortened according to actual needs. Other interfaces can be selected for connection according to the actual conditions of the Beidou equipment (SPI, IIC, internet access and wireless transmission interface).
The card reading flow chart is shown in FIG. 2;
(1) The ARM platform is connected with the Beidou equipment through USART1, CLK, VCC, RST and data IO are specially configured through four general IOs and connected with a Beidou RD intelligent card, and the data IO is used as a bidirectional communication data IO line;
(2) When the ARM platform starts in the initialization state, the power supply is not provided for the Beidou RD smart card (VCC = 0), the Beidou RD smart card interface is forbidden, and meanwhile, the Beidou RD smart card does not have a working clock. And the ARM platform performs hardware initialization configuration on each pin so as to establish connection between the ARM platform and the Beidou RD smart card. Configuring data as a 1-bit start bit, an 8-bit data bit and a 1-bit stop bit according to a data structure in a Beidou RD smart card technical protocol, configuring a power supply clock of the smart card, and configuring an output baud rate.
(3) The ARM platform provides power supply voltage and a working clock for the Beidou RD smart card through VCC and CLK pins respectively, configures a data IO pin into a receiving state, controls a RST pin to send a reset signal to the Beidou RD smart card, keeps a RST lead at a low level for a set time, then raises the RST lead, and sends a response signal to the ARM by the Beidou RD smart card after the RST lead is raised; the Beidou RD smart card and the ARM platform can transmit data on the same channel, but the Beidou RD smart card and the ARM platform cannot transmit data at the same time. After initialization, the Beidou RD smart card and the ARM platform both enter a receiving state and monitor information on the data IO lead. After the reset signal is sent, the ARM platform is still in a receiving state, but the Beidou RD smart card enters a sending state, and the answer signal can be received by the ARM platform.
(4) And if the ARM platform receives a response signal of the Beidou RD smart card, the ARM platform enters an analysis state. And the ARM platform analyzes the working clock and the output baud rate of the Beidou RD intelligent card in the response signal. If the analyzed working clock and baud rate are consistent with the initial setting, the resetting process of the Beidou RD smart card is completed, and the ARM platform enters a normal card reading state; and (5) if the working clock is inconsistent with the initial setting, re-initializing the hardware interface according to the analyzed working clock and baud rate of the Beidou RD smart card, and returning to the step (2). If the ARM platform does not receive the response signal of the Beidou RD smart card, the initialization fails, a reset signal is provided for the smart card again, the step (3) is returned, and the ARM platform enters a normal card reading state until the response signal of the Beidou RD smart card is received;
(5) After the ARM platform changes over to the normal card reading state, the card number and the sequence number of big dipper RD smart card are read out according to big dipper RD smart card technical agreement in the initiative, and big dipper RD smart card information that will read out transmits for big dipper equipment through USART1 to inform big dipper equipment can read the card operation through ARM platform to big dipper RD smart card. In the card reading operation, if the Beidou RD intelligent card detects that the data frame sent by the ARM platform is wrong, after the sending is completed, the sending IO line is pulled down for one bit clock period, and the ARM platform is informed that the Beidou RD intelligent card does not receive the correct data frame. At this time, the ARM platform needs to process the retransmission data according to the protocol. The ARM platform outputs the enable and needs to be released through a protection time after sending data to the big dipper RD smart card, thereby guaranteeing that the data in the data buffer zone is sent and is accomplished.
(6) The big dipper equipment will be through the information transfer that the antenna received needs big dipper RD smart card to handle to the ARM platform, and the ARM platform is through transferring for big dipper RD smart card, and the information after big dipper RD smart card is handled returns for big dipper equipment through the ARM platform again. When the Beidou equipment needs to actively initiate communication and positioning inbound, useful information is sent to the Beidou RD intelligent card for processing according to the method, and then positioning communication inbound operation is carried out.
The result of testing a plurality of Beidou RD intelligent cards produced by a plurality of manufacturers shows that the working clock and baud rate analyzed from the response signal by most Beidou RD intelligent cards are consistent with the regulations in the technical protocol of the Beidou RD intelligent cards. The working clock and baud rate of the Beidou RD intelligent card produced by a manufacturer are inconsistent with those specified in the Beidou RD intelligent card protocol, and the card reading operation can be completed only by adjusting according to an analysis result.
The ARM platform is connected with Beidou equipment through USART 1. In the in-service use USART 1's connecting cable can increase or subtract the weak point according to actual need, also can be connected with the ARM platform with other interfaces according to the actual need of big dipper equipment to accomplish big dipper RD smart card and big dipper equipment both-way communication.

Claims (4)

1. A Beidou RD smart card remote reading method is characterized by comprising the following steps:
(1) The ARM platform is connected with the Beidou equipment through a general interface and is connected with the Beidou RD intelligent card through general IO special configuration; the ARM platform is connected with the Beidou RD smart card through four pins of CLK, VCC, RST and data IO which are specially configured for general IO, provides power supply voltage and a working clock for the Beidou RD smart card through the VCC and CLK pins, configures the data IO pin into a receiving state, configures a start bit, a data bit and a stop bit according to a data structure in a Beidou smart card technical protocol, and configures the working clock and an output baud rate of the Beidou RD smart card;
(2) The ARM platform controls the RST pin to send a reset signal to the Beidou RD smart card, the RST lead is kept at a low level for a set time and then is set to be high, and the Beidou RD smart card sends a response signal to the ARM after the RST lead is lifted;
(3) If the ARM platform receives a response signal of the Beidou RD smart card, the ARM platform enters an analysis state, analyzes a working clock and an output baud rate of the Beidou RD smart card in the response signal, and if the working clock and the output baud rate are consistent with the initial setting, the resetting process of the Beidou RD smart card is completed, and the ARM platform enters a normal card reading state; if the working clock is inconsistent with the initial setting, the hardware interface is reinitialized according to the analyzed working clock and baud rate of the Beidou RD smart card, and the step (2) is returned; if the ARM platform does not receive the response signal of the Beidou RD smart card, the initialization fails, the Beidou RD smart card is provided with the reset signal again, the step (3) is returned, and the ARM platform enters a normal card reading state until the response signal of the Beidou RD smart card is received;
(4) After the ARM platform is switched to a normal card reading state, actively reading the card number and the serial number of the Beidou RD smart card according to the Beidou smart card technical protocol, transmitting the read Beidou RD smart card information to Beidou equipment through a general interface, and informing the Beidou equipment that the card reading operation of the Beidou RD smart card can be completed through the ARM platform;
(5) After the Beidou equipment receives the notification, the Beidou equipment transmits the received information needing to be processed by the Beidou RD smart card to the ARM platform, and the ARM platform re-frames the information and then transmits the information to the Beidou RD smart card; information is returned to the big dipper equipment through the ARM platform after the encryption of big dipper RD smart card or decryption, and big dipper equipment utilizes the big dipper RD smart card information of returning to accomplish the location communication operation.
2. The Beidou RD smart card remote card reading method according to claim 1, wherein the universal interface selects any one of USART, SPI, IIC, internet access or wireless transmission interface, and connecting cables at the interface can be increased or shortened according to actual needs.
3. The Beidou RD smart card remote card reading method according to claim 1, wherein when the ARM platform sends information to the Beidou RD smart card in the step (4) and the step (5), if the Beidou RD smart card detects that a data frame sent by the ARM platform is wrong, the Beidou RD smart card sends a pull-down signal of one bit clock period to the ARM through a data IO lead, and the ARM platform processes and resends data according to a protocol after detecting the pull-down signal.
4. The Beidou RD smart card remote card reading method according to claim 1, wherein in the step (5), the ARM platform outputs the enable to be released after a protection time after sending data to the Beidou RD smart card is completed, so that the completion of sending data in the data buffer area is guaranteed.
CN201911068453.7A 2019-11-05 2019-11-05 Beidou RD smart card remote card reading method Active CN110826667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911068453.7A CN110826667B (en) 2019-11-05 2019-11-05 Beidou RD smart card remote card reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911068453.7A CN110826667B (en) 2019-11-05 2019-11-05 Beidou RD smart card remote card reading method

Publications (2)

Publication Number Publication Date
CN110826667A CN110826667A (en) 2020-02-21
CN110826667B true CN110826667B (en) 2023-03-14

Family

ID=69552345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911068453.7A Active CN110826667B (en) 2019-11-05 2019-11-05 Beidou RD smart card remote card reading method

Country Status (1)

Country Link
CN (1) CN110826667B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5664157A (en) * 1994-04-08 1997-09-02 Mitsubishi Denki Kabushiki Kaisha Noncontact IC card interface unit and communication system using the interface unit
CN103259654A (en) * 2012-05-07 2013-08-21 中国交通通信信息中心 Intelligent card management system based on satellite communication service
CN103926592A (en) * 2014-04-08 2014-07-16 惠州市北斗应用技术支持中心 Method for achieving Big Dipper RD communication virtual lead aircraft
CN107241133A (en) * 2017-06-14 2017-10-10 华安星科(北京)信息技术有限公司 A kind of soft card user terminal device of the Big Dipper and system
CN109615841A (en) * 2018-12-21 2019-04-12 国网思极神往位置服务(北京)有限公司 Beidou multi-user card data transmission device and transmission method applied to FTU

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5664157A (en) * 1994-04-08 1997-09-02 Mitsubishi Denki Kabushiki Kaisha Noncontact IC card interface unit and communication system using the interface unit
CN103259654A (en) * 2012-05-07 2013-08-21 中国交通通信信息中心 Intelligent card management system based on satellite communication service
CN103926592A (en) * 2014-04-08 2014-07-16 惠州市北斗应用技术支持中心 Method for achieving Big Dipper RD communication virtual lead aircraft
CN107241133A (en) * 2017-06-14 2017-10-10 华安星科(北京)信息技术有限公司 A kind of soft card user terminal device of the Big Dipper and system
CN109615841A (en) * 2018-12-21 2019-04-12 国网思极神往位置服务(北京)有限公司 Beidou multi-user card data transmission device and transmission method applied to FTU

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于卡尔曼滤波的北斗GPS定位应用的研究;张远海等;《电子技术》(第09期);全文 *

Also Published As

Publication number Publication date
CN110826667A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
US7567777B2 (en) Apparatus and method for effecting communication between a wireless network and a satellite radio receiver
CN104821841B (en) A kind of earth station's communication device and its matching method
CN110691275B (en) Wireless screen transmission equipment, method and computer storage medium
US20110092158A1 (en) Portable satellite data communication device and related method
KR101471491B1 (en) Wireless communication terminal, semiconductor device, data communication method, and wireless communication system
US20020142797A1 (en) Portable wireless communication systems
CN104052539A (en) Method and device for satellite communication of smart phones through Beidou terminals
Ramanathan et al. NFC in industrial applications for monitoring plant information
US8917161B2 (en) Systems and methods for transmitting data using near field communications
CN101335570A (en) Data communication system and method
US20090270110A1 (en) Portable wireless communication systems
CN110826667B (en) Beidou RD smart card remote card reading method
ZA993367B (en) Method and correspondingly adapted devices for handling data from external devices.
CN204089848U (en) A kind of television teaching system based on NFC
US6798764B2 (en) Wireless communications device with a state model
CA2612978A1 (en) Synchronous one-bit interface protocol or data structure
CN100356359C (en) Connector between processor and user recognition card
CN101888649A (en) Serial interface communication testing system
CN104202064A (en) Data transmission module and method based on GPRS network
CN204479937U (en) A kind of multimachine wireless telecommunication system for Smart Home Near Field Communication
WO2008004269A1 (en) Wireless ic tag and wireless ic tag system
KR101520888B1 (en) System for m2m multi-wireless communication apparatus.
KR0119196B1 (en) Radio public telephone
CN108462583B (en) Communication device
CN206212183U (en) A kind of video transparent transmission module based on WIFI

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
GR01 Patent grant
GR01 Patent grant