CN111913699A - Design method for electrically-regulated antenna controller software compatible with AISG-V3 and AISG-V2 protocols - Google Patents

Design method for electrically-regulated antenna controller software compatible with AISG-V3 and AISG-V2 protocols Download PDF

Info

Publication number
CN111913699A
CN111913699A CN202010816467.9A CN202010816467A CN111913699A CN 111913699 A CN111913699 A CN 111913699A CN 202010816467 A CN202010816467 A CN 202010816467A CN 111913699 A CN111913699 A CN 111913699A
Authority
CN
China
Prior art keywords
aisg
firmware
protocol
frame
switching
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
CN202010816467.9A
Other languages
Chinese (zh)
Other versions
CN111913699B (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.)
University of Electronic Science and Technology of China Zhongshan Institute
Original Assignee
University of Electronic Science and Technology of China Zhongshan Institute
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 University of Electronic Science and Technology of China Zhongshan Institute filed Critical University of Electronic Science and Technology of China Zhongshan Institute
Priority to CN202010816467.9A priority Critical patent/CN111913699B/en
Publication of CN111913699A publication Critical patent/CN111913699A/en
Application granted granted Critical
Publication of CN111913699B publication Critical patent/CN111913699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system

Abstract

The invention discloses a method for designing electrically-controlled antenna controller software compatible with AISG-V3 and AISG-V2 protocols, which comprises the following steps: the method comprises the steps that a program of an electric tuning antenna controller is divided into three parts, namely Bootloader, AISG GV2Firmware and AISG GV3Firmware, wherein the Bootloader is used for Firmware updating, the AISG GV2Firmware and the AISG GV3Firmware are respectively Firmware programs of AISG-V2 and AISG-V3, the AISG GV2Firmware is divided into a first part and a second part, the first part has functions of peripheral initialization, system self-test and data configuration programs, and the second part is a main AISG GV2Firmware system program; executing, namely starting Bootloader firstly, and then executing the first part of AISGV2 Firmware; then directly jumping to AISG-V3 Firmware, working in AISG-V3 mode, and switching to AISG-V2 Firmware if AISG-V2 communication frame is received. The invention firstly enters the AISG-V2 firmware after starting, completes time-consuming operations such as peripheral initialization, system self-test and data configuration, ensures that the firmware can be quickly started after the AISG-V3 firmware is switched to the AISG-V2 firmware, and ensures that a scanning command and an addressing command of the AISG-V2 can respond within the time (10ms) specified by a protocol.

Description

Design method for electrically-regulated antenna controller software compatible with AISG-V3 and AISG-V2 protocols
Technical Field
The invention relates to the technical field of computers, in particular to a method for designing software of an electrically-adjustable antenna controller compatible with AISG-V3 and AISG-V2 protocols.
The AISG protocol is an industry standard for communication between electrically-tuned antenna products and base station systems. The AISG-V2 protocol is released in 2006, and through years of development, the forms of electric tilt antenna products are greatly changed, multi-unit and multi-band antennas are increasingly widely applied, and objective requirements that the same electric tilt antenna is adapted to a plurality of base station systems are generated. At present, the AISG-V2 protocol cannot well support the development requirements of the current electric tilt antenna industry, and the AISG organization publishes an AISG-V3 version protocol in 2019. According to the protocol, on the premise that the physical layer and the AISG-V2 protocol are consistent, the protocols of the second layer and the seventh layer are greatly improved, the support for multi-host operation and multi-band electrically-regulated antenna operation is realized, functions such as MALD, Site-mapping and ping are realized, the functions of an ALD product are further perfected, the ALD product configuration, identification and regulation efficiency is improved, and convenience is brought to system optimization.
The AISG specification requires that the latest ALD equipment be compatible with the AISG-V2 protocol while supporting the AISG-V3 protocol in order for ALD to still function properly in base stations that do not support the-V3 version of the protocol. However, compared with the AISG-V2 protocol, the logic function of ALD in AISG-V3 has a greatly increased complexity, especially the support of multi-host operation, multi-band antenna, so that it is very heavy to make the AISG-V2 and AISG-V3 protocols compatible at the same time on the same set of codes, and it will cause the codes of two versions of protocols to couple with each other, increasing the complexity of system test and interoperation test with the base station, and according to AISG-V3 and AISG-V2 protocols, it is required that: after receiving any command from the base station, the ALD must return a response frame within 10ms, otherwise the base station will consider the ALD equipment communication timeout and disconnect the communication link.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a method for designing electrically-regulated antenna controller software compatible with AISG-V3 and AISG-V2 protocols, so that seamless switching under AISG-V3 protocol specifications is realized, and the design complexity of ALD software is greatly reduced.
In order to solve the above problems, the present invention adopts the following technical solutions.
A method for designing software of an electrically-regulated antenna controller compatible with AISG-V3 and AISG-V2 protocols comprises the following steps:
the method comprises the steps that a program of an electric tuning antenna controller is divided into three parts, namely Bootloader, AISG GV2Firmware and AISG GV3Firmware, wherein the program storage spaces and the data storage spaces of the three parts of Firmware are mutually independent, the Bootloader is used for Firmware updating, the AISG GV2Firmware and the AISG GV3Firmware are respectively Firmware programs of AISG-V2 and AISG-V3, the AISG GV2Firmware is divided into a first part and a second part, the first part has functions of peripheral initialization, system self-test and data configuration programs, and the second part is an AIS GV2Firmware system main program;
executing, wherein after the system is started, the Bootloader is operated, and then the first part of the AISG V2Firmware is executed;
then directly jumping to AISG-V3 Firmware, working in AISG-V3 mode, and if AISG-V2 communication frame is received, jumping to AISG-V2 Firmware second part, and completing the switching from AISG-V3 protocol to AISG-V2 protocol.
In the switching operation, if an AISG-V2 equipment scanning frame is received for the first time, a response frame with a CRC error is generated and the sending of the response frame is started immediately, then program jump is executed, the switching of the first address of the interrupt vector table is executed, the second part of the AISG-V2 Firmware is jumped to, then the Firmware of the AISG-V2 protocol is executed, and after the base station receives the error scanning frame, equipment scanning is continuously executed, so that the AISG-V2 protocol is switched correctly.
In the switching operation, if an Address identifier command is received for the first time, copying all the contents of the received frame to a shared memory area of the Firmware of AISG V2Firmware and AISG GV3Firmware, then jumping to a second part of the Firmware of AISG GV2Firmware, and entering an AISG-V2 communication protocol main program, wherein the AISG-V2 Firmware main program detects a new command frame in the shared memory area, and responds to the Address identifier command frame in the shared memory area, thereby completing the correct switching of the AISG-V2 protocol.
The invention has the advantages of
Compared with the prior art, the invention has the advantages that:
the invention firstly enters AISG-V2 firmware after starting, completes time-consuming operations such as peripheral initialization, system self-test and data configuration, ensures that the firmware can be quickly started after the AISG-V3 firmware is switched to AISG-V2 firmware, and ensures that scanning frames and addressing commands of AISG-V2 can respond within the time (10ms) specified by a protocol;
in the AISG-V3 program, the received address assigning command of AISG-V2 is stored in the shared memory area of the Firmware of AISG-GV 2Firmware and AISG-GV 3Firmware, after jumping to the second part of AISG-GV 2Firmware, the main program of AISG-V2 Firmware detects a new command frame in the shared memory area, and immediately responds to the address assigning command of the shared memory area, thus realizing the function of switching from AISG-V3 to AISG-V2 after receiving the address assigning command.
Drawings
Fig. 1 is a schematic diagram of the principle of the present invention.
Detailed Description
The technical solution 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 obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and all other embodiments obtained by those skilled in the art without any inventive work are within the scope of the present invention.
As shown in fig. 1, a method for designing an electrically tunable antenna controller software compatible with AISG-V3 and AISG-V2 protocols includes the following steps:
the method comprises the steps that a program of an electric tilt antenna controller is divided into three parts, namely Bootloader, AISG GV2Firmware and AISG GV3Firmware, wherein the program storage spaces and the data storage spaces of the three parts of Firmware are mutually independent, the Bootloader is used for updating the Firmware, the AISG GV2Firmware and the AISG GV3Firmware are respectively Firmware programs of AISG-V2 and AISG-V3, the AISG GV2Firmware is divided into a first part and a second part, the first part is used as a data initialization program, and the second part is a peripheral initialization program and a system main program;
executing, namely operating Bootloader after starting, and then executing the first part of AISGV2 Firmware;
then directly jumping to AISG-V3 Firmware, working in AISG-V3 mode, and if AISG-V2 communication frame is received, jumping to AISG-V2 Firmware second part, and completing the switching from AISG-V3 protocol to AISG-V2 protocol. The invention firstly enters AISG-V2 firmware after starting, completes time-consuming operations such as data initialization, ensures that the firmware can be quickly started after the AISG-V3 firmware is switched to AISG-V2 firmware, and ensures that scanning frames to AISG-V2 can respond within the time (10ms) specified by a protocol.
In the switching operation, if an AISG-V2 equipment scanning frame is received for the first time, a response frame with a CRC error is generated and the sending of the response frame is started immediately, then an execution program jumps to the second part of AISG V2Firmware, peripheral initialization and interrupt vector table head address switching are executed, then Firmware of an AISG-V2 protocol is executed, and after the base station receives the error scanning frame, equipment scanning is continuously executed, so that the AISG-V2 protocol is switched correctly. In the AISG-V3 firmware program, after receiving the scanning frame of AISG-V2, the CRC field of the response frame is rewritten, and a response frame with CRC error is returned to the base station, so as to ensure that the base station can further scan downwards, and realize the function of switching from AISG-V3 to AISG-V2 after receiving the device scanning command.
In the switching operation, if an Address Assign Address command is received for the first time, all the contents of a received frame are copied to a shared memory area of the AISG-V2 communication protocol and the AISG-V3 communication protocol Firmware, then the second part of the AISG-GV 2Firmware is jumped to, peripheral initialization and interrupt vector table first Address switching are executed, and finally the Firmware of the AISG-V2 communication protocol is entered, at the moment, the AISG-V2 Firmware detects a new command frame and responds to the Address Assign command frame of the shared memory area, and therefore the AISG-V2 protocol is correctly switched. In the AISG-V3 firmware program, storing the received AISG-V2 endow address command to the shared memory area of AISG-V2 communication protocol and AISG-V3 communication protocol firmware, jumping to AISG-V2 firmware, AISG-V2 firmware detecting the shared memory area and responding to the endow address command of the shared memory area, and realizing the function of switching from AISG-V3 to AISG-V2 after receiving the endow address command.
The foregoing is only a preferred embodiment of the present invention; the scope of the invention is not limited thereto. Any person skilled in the art should be able to cover the technical scope of the present invention by equivalent or modified solutions and modifications within the technical scope of the present invention.

Claims (3)

1. A method for designing software of an electrically-regulated antenna controller compatible with AISG-V3 and AISG-V2 protocols is characterized by comprising the following steps:
the method comprises the steps that a program of an electric tuning antenna controller is divided into three parts, namely Bootloader, AISG GV2Firmware and AISG GV3Firmware, wherein the program storage spaces and the data storage spaces of the three parts of Firmware are mutually independent, the Bootloader is used for Firmware updating, the AISG GV2Firmware and the AISG GV3Firmware are respectively Firmware programs of AISG-V2 and AISG-V3, the AISG GV2Firmware is divided into a first part and a second part, the first part has functions of peripheral initialization, system self-test and data configuration programs, and the second part is an AIS GV2Firmware system main program;
executing, wherein after the system is started, the Bootloader is operated, and then the first part of the AISG V2Firmware is executed;
then directly jumping to AISG-V3 Firmware, working in AISG-V3 mode, and if AISG-V2 communication frame is received, jumping to AISG-V2 Firmware second part, and completing the switching from AISG-V3 protocol to AISG-V2 protocol.
2. The method for controlling the electrically tunable antenna controller according to claim 1, for implementing AISG-V3 and AISG-V2 compatible protocols, characterized in that:
in the switching operation, if an AISG-V2 equipment scanning frame is received for the first time, a response frame with a CRC error is generated and the sending of the response frame is started immediately, then the execution program jumps to the second part of AISG V2Firmware, the switching of the first address of the interrupt vector table is executed, then the Firmware of an AISG-V2 protocol is executed, and after the base station receives the error scanning frame, the equipment scanning is continuously executed, so that the correct switching of the AISG-V2 protocol is completed.
3. The method for controlling the electrically tunable antenna controller according to claim 1, for implementing AISG-V3 and AISG-V2 compatible protocols, characterized in that:
in the switching operation, if an Address identification command is received for the first time, copying all contents of a received frame to a shared memory area of AISG V2Firmware and AISG GV3Firmware, jumping to a second part of the AISG GV2Firmware, executing the first Address switching of an interrupt vector table, and entering an AISG-V2 communication protocol main program, wherein the AISG-V2 communication protocol main program detects a new command frame in the shared area and responds to the Address identification command frame in the shared memory area, thereby completing the correct switching of the AISG-V2 protocol.
CN202010816467.9A 2020-08-14 2020-08-14 Electric tuning antenna controller software design method for realizing compatibility of AISG-V3 and AISG-V2 protocols Active CN111913699B (en)

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 true CN111913699A (en) 2020-11-10
CN111913699B 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 (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015952A1 (en) * 2001-04-18 2004-01-22 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
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
US20150154017A1 (en) * 2012-08-21 2015-06-04 Wuhan Telecommunication Devices Co., Ltd. In-application upgrade method for optical module firmware not breaking service
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015952A1 (en) * 2001-04-18 2004-01-22 Domosys Corporation Method of remotely upgrading firmware in field-deployed devices
WO2010146471A1 (en) * 2009-06-15 2010-12-23 Le Sage Hendrikus A Antenna identification module
CN101674591A (en) * 2009-09-29 2010-03-17 中兴通讯股份有限公司 Electrical tilt antenna system and scanning method of electrical tilt antenna
WO2011079597A1 (en) * 2009-12-31 2011-07-07 中兴通讯股份有限公司 Management system and method for electrically-regulated antenna
US20150154017A1 (en) * 2012-08-21 2015-06-04 Wuhan Telecommunication Devices Co., Ltd. In-application upgrade method for optical module firmware not breaking service
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 (4)

* Cited by examiner, † Cited by third party
Title
YI LV: "Design of Firmware Update Strategy in Tower Mounted Amplifier" *
吕燚: "遵循AISG2.0协议的固件更新策略设计" *
李文生;罗仁泽;吕D;邓春健;: "电调天线设备控制系统的设计与实现" *
马小路: "电调天线远程控制单元的设计" *

Also Published As

Publication number Publication date
CN111913699B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
US11930455B2 (en) Method for controlling network connection, terminal and non-transitory storage medium
EP2357568B1 (en) Information processing apparatus, information processing system, method of processing information, and computer program
US11144416B2 (en) Device fault processing method, apparatus, and system
CN103281689A (en) Method for network switching and version upgrading and terminal equipment
JP2008009979A (en) Smart card operating system and process
CN103399761A (en) Firmware burn method and firmware burn device
CN110569053A (en) method for upgrading application chip in electronic equipment and electronic equipment
CN103905631A (en) Mobile terminal and MEDOM chip and LINUX chip unified downloading method thereof
CN111092626B (en) Antenna adjusting method and device and terminal equipment
CN111913699A (en) Design method for electrically-regulated antenna controller software compatible with AISG-V3 and AISG-V2 protocols
US20070073893A1 (en) Embedded protocol selection technique, related interface and computer program product
CN101500335A (en) Dual mode terminal and method for processing data service thereof
CN110011824B (en) Pairing method, storage medium and equipment for Bluetooth single-wire communication
CN113127227B (en) Instruction processing method and device for module communication, microcontroller and medium
EP3798830B1 (en) Communication apparatus and test method thereof
US11652512B2 (en) Fast NFC processing
CN109495119B (en) Radio frequency switch control method, device, mobile terminal and storage medium
CN102799279B (en) Recognition by pressing keys method, keyboard and electronic equipment
US10798257B2 (en) Computer-readable medium, information processing device, and method for selecting image processing apparatus
CN112583661A (en) Method and device for sharing different networks, storage medium and all-in-one machine equipment
CN104994562A (en) Information processing method and apparatus
CN112152736A (en) Client front-end device, failure detection method for client front-end device, and storage medium
CN111694600A (en) Mirror image file design, chip operation method, system, device and medium
KR20170023245A (en) System for auto pairing using near field communication tag
CN111679942A (en) Burning test method, system and computer readable storage medium

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