CN111913699B - Electric tuning antenna controller software design method for realizing compatibility of AISG-V3 and AISG-V2 protocols - Google Patents
Electric tuning antenna controller software design method for realizing compatibility of AISG-V3 and AISG-V2 protocols Download PDFInfo
- Publication number
- CN111913699B CN111913699B CN202010816467.9A CN202010816467A CN111913699B CN 111913699 B CN111913699 B CN 111913699B CN 202010816467 A CN202010816467 A CN 202010816467A CN 111913699 B CN111913699 B CN 111913699B
- Authority
- CN
- China
- Prior art keywords
- aisg
- firmware
- protocol
- program
- executing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000004891 communication Methods 0.000 claims abstract description 14
- 230000009191 jumping Effects 0.000 claims abstract description 13
- 230000002093 peripheral effect Effects 0.000 claims abstract description 8
- 230000004044 response Effects 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000013500 data storage Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 7
- 238000011161 development Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Communication Control (AREA)
Abstract
The invention discloses a software design method for an electrically tunable antenna controller compatible with AISG-V3 and AISG-V2 protocols, which comprises the following steps: dividing an electrically tunable antenna controller program into three parts, namely a Bootloader, an AISGV2Firmware and an AISGV3Firmware, wherein the Bootloader is used for Firmware updating, the AISGV2Firmware, AISGV3Firmware is a Firmware program of AISG-V2 and AISG-V3, the AISGV2Firmware is divided into a first part and a second part, the first part is used for peripheral initialization, system self-checking and data configuration programs, and the second part is used for an AISGV2Firmware system main program; executing, namely starting a Bootloader, and then executing a first part of AISTV 2 Firmware; and then directly jumping to AISG 3Firmware, working in an AISG-V3 mode, and switching to AISG 2Firmware if an AISG-V2 communication frame is received. After the method is started, the AISG-V2 firmware is firstly entered, time-consuming operations such as peripheral initialization, system self-checking and data configuration are completed, the firmware can be quickly started after the AISG-V3 firmware is switched to the AISG-V2 firmware, and the scanning command and the address assignment command to the AISG-V2 can be responded within the protocol specified time (10 ms).
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method for designing electrically-tunable antenna controller software compatible with AISG-V3 and AISG-V2 protocols.
The AISG protocol is an industry standard for electrically tunable antenna products to communicate with base station systems. The AISG-V2 protocol was released in 2006, and through years of development, the morphology of the electrically tunable antenna product is greatly changed, and the multi-unit and multi-band antenna is increasingly widely applied, and the objective requirement of adapting the same electrically tunable antenna to a plurality of base station systems is also generated. Currently, the AISG-V2 protocol cannot well support the development requirements of the current electrically tunable antenna industry, and AISG organizations have issued AISG-V3 version protocols in 2019. The protocol is greatly improved on the premise that the physical layer and the AISG-V2 protocol are kept consistent, supports multi-host operation and multi-band electrically-tunable antenna operation are realized, functions such as MALD, site-mapping and ping are realized, functions of ALD products are further perfected, efficiency of ALD product configuration, identification and adjustment is improved, and convenience is provided for system optimization.
The AISG specifications require that the latest ALD equipment be compatible with the AISG-V2 protocol while supporting the AISG-V3 protocol in order to allow ALD to still function properly in base stations that do not support the-V3 version of the protocol. However, the complexity of the logic functions of ALD in AISG-V3 is greatly increased relative to AISG-V2 protocol, especially the support of multi-host operation, multi-band antennas, so that the simultaneous compatibility of AISG-V2 and AISG-V3 protocols on the same set of codes is very heavy, and can cause the codes of two versions of protocols to be coupled to each other, increasing the complexity of system testing and interoperation testing with the base station, and according to AISG-V3 and AISG-V2 protocol specifications: after the ALD receives any command from the base station, a reply frame must be returned within 10ms, otherwise the base station will consider the ALD device to be in communication timeout, disconnecting the communication link.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention aims to provide a software design method for an electrically tunable antenna controller compatible with AISG-V3 and AISG-V2 protocols, which realizes seamless switching under the AISG-V3 protocol specification and greatly reduces the design complexity of ALD software.
In order to solve the problems, the invention adopts the following technical scheme.
An electrically tunable antenna controller software design method for realizing compatibility of AISG-V3 and AISG-V2 protocols comprises the following steps:
dividing an electrically tunable antenna controller program into three parts, namely a Bootloader, an AISGV2Firmware and an AISGV3Firmware, wherein the program storage space and the data storage space of the three parts of Firmware are mutually independent, the Bootloader is used for Firmware updating, the AISGV2Firmware, AISGV3Firmware is a Firmware program of AISG-V2 and AISG-V3, the AISGV2Firmware is divided into a first part and a second part, the first part is a peripheral initialization, system self-checking and data configuration program, and the second part is an AISGV2Firmware system main program;
executing, namely firstly running a Bootloader after the system is started, and then executing a first part of AISGV2 Firmware;
and then directly jumping to the AISG 3Firmware, working in an AISG-V3 mode, and jumping to a second part of the AISG 2Firmware if an AISG-V2 communication frame is received, thereby completing the switching from the AISG-V3 protocol to the AISG-V2 protocol.
In the switching operation, if the AISG-V2 equipment scanning frame is received for the first time, generating a CRC error response frame and immediately starting the transmission of the response frame, then executing program jump, executing interrupt vector table head address switching, jumping to the second part of AISG 2Firmware, then executing AISG-V2 protocol Firmware, and after receiving the error scanning frame, continuing to execute equipment scanning by the base station, thereby completing the correct switching of AISG-V2 protocol.
In the switching operation, if the Address Asign is received for the first time, copying the whole content of the received frame to a shared memory area of the Firmware of the AISG 2Firmware and the AISG 3Firmware, then jumping to a second part of the AISG 2Firmware, entering an AISG-V2 communication protocol main program, and at the moment, the AISG-V2 Firmware main program detects a new command frame in the shared memory area and responds to the Address Asign command frame of the shared memory area, thereby completing the correct switching of the AISG-V2 protocol.
The beneficial effects of the invention are that
Compared with the prior art, the invention has the advantages that:
after the method is started, the AISG-V2 firmware is firstly entered, time-consuming operations such as peripheral initialization, system self-checking and data configuration are completed, the firmware can be quickly started after the AISG-V3 firmware is switched to the AISG-V2 firmware, and the scanning frame and the address assignment command of the AISG-V2 can be responded within the protocol specified time (10 ms);
in the AISG-V3 program, the received address assignment command of the AISG-V2 is stored in a shared memory area of Firmware of the AISG 2Firmware and the AISG 3Firmware, after the AISG 2Firmware jumps to a second part of the AISG 2Firmware, the AISG-V2 Firmware main program detects a new command frame in the shared memory area and immediately responds to the address assignment command of the shared memory area, so that the function of switching from the AISG-V3 to the AISG-V2 after receiving the address assignment command is realized.
Drawings
Fig. 1 is a schematic diagram of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention; it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments, and that all other embodiments obtained by persons of ordinary skill in the art without making creative efforts based on the embodiments in the present invention are within the protection scope of the present invention.
As shown in fig. 1, a method for implementing an electrically tunable antenna controller software compatible with AISG-V3 and AISG-V2 protocols includes the following steps:
dividing an electrically tunable antenna controller program into three parts, namely a Bootloader, an AISGV2Firmware and an AISGV3Firmware, wherein the program storage space and the data storage space of the three parts of Firmware are mutually independent, the Bootloader is used for Firmware updating, the AISGV2Firmware, AISGV3Firmware is a Firmware program of AISG-V2 and AISG-V3 respectively, the AISGV2Firmware is divided into a first part and a second part, the first part is a data initialization program, and the second part is a peripheral initialization program and a system main program;
executing, namely firstly running a Bootloader after starting, and then executing a first part of AISGV2 Firmware;
and then directly jumping to the AISG 3Firmware, working in an AISG-V3 mode, and jumping to a second part of the AISG 2Firmware if an AISG-V2 communication frame is received, thereby completing the switching from the AISG-V3 protocol to the AISG-V2 protocol. The method firstly enters the AISG-V2 firmware after starting, finishes time-consuming operations such as data initialization and the like, ensures that the firmware can be started quickly after being switched from the AISG-V3 firmware to the AISG-V2 firmware, and ensures that a scanning frame of the AISG-V2 can respond within the protocol specified time (10 ms).
In the switching operation, if the AISG-V2 equipment scanning frame is received for the first time, generating a CRC error response frame and immediately starting the transmission of the response frame, then executing program jump, jumping to the second part of AISG 2Firmware, executing peripheral initialization, interrupting vector table head address switching, then executing AISG-V2 protocol Firmware, and after receiving the error scanning frame, continuing to execute equipment scanning by the base station, thereby completing the correct switching of the AISG-V2 protocol. In the AISG-V3 firmware program, after receiving an AISG-V2 scanning frame, rewriting a CRC field of the response frame, returning a CRC error response frame to the base station, ensuring that the base station can scan downwards further, and realizing the function of switching from AISG-V3 to AISG-V2 after receiving a device scanning command.
In the switching operation, if the Address Asign command is received for the first time, copying the whole content of the received frame to a shared memory area of Firmware of the AISG-V2 communication protocol and the AISG-V3 communication protocol, then jumping to a second part of AISG 2Firmware, executing peripheral initialization, interrupting vector table head Address switching, and finally entering the Firmware of the AISG-V2 communication protocol, wherein the AISG-V2 Firmware detects a new command frame and responds to the Address Asign command frame of the shared memory area, thereby completing correct switching of the AISG-V2 protocol. In an AISG-V3 firmware program, a received AISG-V2 addressing command is stored in a shared memory area of an AISG-V2 communication protocol and AISG-V3 communication protocol firmware, after the AISG-V2 firmware is jumped to, the AISG-V2 firmware detects the shared memory area and responds to the address addressing command of the shared memory area, and the function of switching from AISG-V3 to AISG-V2 after the address addressing command is received is realized.
The above description is only of the preferred embodiments of the present invention; the scope of the invention is not limited in this respect. Any person skilled in the art, within the technical scope of the present disclosure, may apply to the present invention, and the technical solution and the improvement thereof are all covered by the protection scope of the present invention.
Claims (1)
1. The method for realizing the software design of the electrically tunable antenna controller compatible with AISG3.0 and AISG2.0 protocols is characterized by comprising the following steps:
dividing an electrically tunable antenna controller program into three parts, namely a Bootloader, an AISGV2Firmware and an AISGV3Firmware, wherein the program storage space and the data storage space of the three parts of Firmware are mutually independent, the Bootloader is used for Firmware updating, the AISGV2Firmware, AISGV3Firmware is a Firmware program of AISG2.0 and AISG3.0 respectively, the AISGV2Firmware is divided into a first part and a second part, the first part is a peripheral initialization, system self-checking and data configuration program, and the second part is an AISGV2Firmware system main program;
executing, namely firstly running a Bootloader after the system is started, and then executing a first part of AISGV2 Firmware;
then directly jumping to AISG 3Firmware, working in AISG3.0 mode, if an AISG2.0 communication frame is received, jumping to the second part of AISG 2Firmware to complete the switching from AISG3.0 protocol to AISG2.0 protocol;
in the switching operation, if the AISG2.0 equipment scanning frame is received for the first time, generating a CRC error response frame and immediately starting the transmission of the response frame, then executing program jump, jumping to the second part of the AISG 2Firmware, executing interrupt vector table head address switching, then executing AISG2.0 protocol Firmware, and continuing to execute equipment scanning after the base station receives the error scanning frame, thereby completing correct switching of the AISG2.0 protocol;
in the switching operation, if the Address Asign is received for the first time, copying the whole content of the received frame to the shared memory area of the AISG 2Firmware and the AISG 3Firmware, then jumping to the second part of the AISG 2Firmware, executing the switching of the head Address of the interrupt vector table, entering the main program of the AISG2.0 communication protocol, and at the moment, the main program of the AISG2.0 communication protocol will detect a new command frame in the shared area and will respond to the Address Asign command frame of the shared memory area, thereby completing the correct switching of the AISG2.0 protocol.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010816467.9A CN111913699B (en) | 2020-08-14 | 2020-08-14 | Electric tuning antenna controller software design method for realizing compatibility of AISG-V3 and AISG-V2 protocols |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010816467.9A CN111913699B (en) | 2020-08-14 | 2020-08-14 | Electric tuning antenna controller software design method for realizing compatibility of AISG-V3 and AISG-V2 protocols |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111913699A CN111913699A (en) | 2020-11-10 |
CN111913699B true CN111913699B (en) | 2023-04-28 |
Family
ID=73283149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010816467.9A Active CN111913699B (en) | 2020-08-14 | 2020-08-14 | Electric tuning antenna controller software design method for realizing compatibility of AISG-V3 and AISG-V2 protocols |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111913699B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010146471A1 (en) * | 2009-06-15 | 2010-12-23 | Le Sage Hendrikus A | Antenna identification module |
WO2011079597A1 (en) * | 2009-12-31 | 2011-07-07 | 中兴通讯股份有限公司 | Management system and method for electrically-regulated antenna |
CN103246536A (en) * | 2013-04-28 | 2013-08-14 | 常州南京大学高新技术研究院 | Method for wirelessly upgrading firmware of instrumented positioning system |
CN103559066A (en) * | 2013-11-19 | 2014-02-05 | 上海创程车联网络科技有限公司 | CANOPEN-protocol-based embedded software upgrading method |
CN110751479A (en) * | 2019-10-29 | 2020-02-04 | 深圳市乐唯科技开发有限公司 | Method for implementing mobile payment hardware |
CN111478019A (en) * | 2019-04-28 | 2020-07-31 | 李玮 | V-shaped electric-tuning mobile communication antenna |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002084484A2 (en) * | 2001-04-18 | 2002-10-24 | Domosys Corporation | Method of remotely upgrading firmware in field-deployed devices |
CN101674591A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Electrical tilt antenna system and scanning method of electrical tilt antenna |
CN102855151B (en) * | 2012-08-21 | 2016-06-08 | 武汉电信器件有限公司 | The optical module firmware not interrupting business is in application upgrade method |
-
2020
- 2020-08-14 CN CN202010816467.9A patent/CN111913699B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010146471A1 (en) * | 2009-06-15 | 2010-12-23 | Le Sage Hendrikus A | Antenna identification module |
WO2011079597A1 (en) * | 2009-12-31 | 2011-07-07 | 中兴通讯股份有限公司 | Management system and method for electrically-regulated antenna |
CN103246536A (en) * | 2013-04-28 | 2013-08-14 | 常州南京大学高新技术研究院 | Method for wirelessly upgrading firmware of instrumented positioning system |
CN103559066A (en) * | 2013-11-19 | 2014-02-05 | 上海创程车联网络科技有限公司 | CANOPEN-protocol-based embedded software upgrading method |
CN111478019A (en) * | 2019-04-28 | 2020-07-31 | 李玮 | V-shaped electric-tuning mobile communication antenna |
CN110751479A (en) * | 2019-10-29 | 2020-02-04 | 深圳市乐唯科技开发有限公司 | Method for implementing mobile payment hardware |
Non-Patent Citations (1)
Title |
---|
李文生 ; 罗仁泽 ; 吕D ; 邓春健 ; .电调天线设备控制系统的设计与实现.电讯技术.2011,(第01期),1-6. * |
Also Published As
Publication number | Publication date |
---|---|
CN111913699A (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3972330A1 (en) | Network connection control method, terminal, and storage medium | |
EP3007515A1 (en) | Method, terminal, client, smart card and system for accessing wireless network | |
CN109391444A (en) | A kind of active control method of BWP, user equipment and base station | |
WO2007112687A1 (en) | A method and an apparatus for configuring the parameters of the antenna equipment | |
CN105163372A (en) | Network access method and network access device of intelligent household appliance | |
EP2498181B1 (en) | Information processing device, information processing method, and program | |
US20210044315A1 (en) | Device Control Method and Apparatus, Storage Medium, Processor, and Terminal | |
US10841783B2 (en) | Method and apparatus for data communication using bluetooth low energy | |
CN106101989A (en) | A kind of method selecting safe unit and mobile terminal | |
US8650387B2 (en) | IC chip, information processing apparatus, software module control method, information processing system, information processing method, and program | |
CN111586717A (en) | Network terminal equipment, multi-card mobile terminal and network configuration method and system thereof | |
CN111913699B (en) | Electric tuning antenna controller software design method for realizing compatibility of AISG-V3 and AISG-V2 protocols | |
CN111756427A (en) | Multi-card single-standby GNSS receiver intelligent switching device, method, equipment and medium | |
US20150163833A1 (en) | Network connection method and system | |
KR20210067441A (en) | Electronic device for performing node selection based on system information block and method for the same | |
EP4175335A1 (en) | Wifi network access method, communication method, peripheral apparatus, and storage medium | |
EP2410435B1 (en) | Signal transmission device and method | |
CN112583661B (en) | Method and device for sharing different networks, storage medium and all-in-one machine equipment | |
CN114586419B (en) | Cell searching method and communication device applied to terminal | |
US11652512B2 (en) | Fast NFC processing | |
CN114302381A (en) | Method for improving dual-mode Bluetooth compatibility of POS terminal and mobile terminal | |
CN109495119B (en) | Radio frequency switch control method, device, mobile terminal and storage medium | |
EP3334197B1 (en) | Method and system for acquiring identification code of terminal | |
JP2022527782A (en) | Communication methods, terminals, and network devices | |
CN101459919B (en) | Network selecting method and apparatus |
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 |