CN103346816A - Wireless communication system and remote updating method thereof - Google Patents

Wireless communication system and remote updating method thereof Download PDF

Info

Publication number
CN103346816A
CN103346816A CN2013102630171A CN201310263017A CN103346816A CN 103346816 A CN103346816 A CN 103346816A CN 2013102630171 A CN2013102630171 A CN 2013102630171A CN 201310263017 A CN201310263017 A CN 201310263017A CN 103346816 A CN103346816 A CN 103346816A
Authority
CN
China
Prior art keywords
pin
module
baseband processor
signal
communication module
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.)
Pending
Application number
CN2013102630171A
Other languages
Chinese (zh)
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.)
CHANGSHA WASION INFORMATION TECHNOLOGY Co Ltd
Original Assignee
CHANGSHA WASION INFORMATION 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 CHANGSHA WASION INFORMATION TECHNOLOGY Co Ltd filed Critical CHANGSHA WASION INFORMATION TECHNOLOGY Co Ltd
Priority to CN2013102630171A priority Critical patent/CN103346816A/en
Publication of CN103346816A publication Critical patent/CN103346816A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transceivers (AREA)

Abstract

The invention discloses a wireless communication system which comprises a concentrator, a network table, a main station and a GPRS communication module. The GPRS communication module is connected with the concentrator or the network table through a serial port, and the module is in wireless connection with the main station through a GPRS network. The GPRS communication module comprises an antenna, a base band processor, an application interface unit, an RF power amplifier, a transceiver, a power supply management unit, a FLASH storage and a signal shielding sleeve. The wireless communication system is reliable in performance, high in integration level and high in automation degree, and product cost is greatly lowered. The GPRS communication module is externally connected with a large-capacity FLASH chip, and an MCU in a base band processor chip is opened for a user to develop an application program. The GPRS communication module is suitable for the network table and can be used for the concentrator, universality and openness of the GPRS communication module are improved, and the hardware and the structure of the module do not need to be developed repeatedly.

Description

Wireless communication system and remote upgrade method thereof
Technical field
The present invention relates to a kind of wireless communication system and remote upgrade method thereof.
Background technology
At present, the GPRS communication mode is confirmed as the main flow communication mode of terminal uplink communication, has obtained application more and more widely at products such as distribution transformer terminals, special transformer terminals, concentrator and networking tables.But existing GPRS communication module price for power product is very high, has brought very big cost pressure.GPRS communication module on the market, baseband processing chip all can't external FLASH chips, and can't use to the user the MCU of inside is open, when the user designs application system, need external MCU, and carry out alternately with the GPRS communication module by the AT instruction, Development and Production efficient is not high.In addition, existing function and the structure disunity of GPRS module application on concentrator terminal and net list strengthened the difficulty of power department buying and configuration.
Summary of the invention
The purpose of this invention is to provide a kind of high integration and high wireless communication system and the remote upgrade method thereof of stability.
This wireless communication system provided by the invention comprises concentrator, net list, main website and GPRS communication module, and the GPRS communication module is connected with concentrator or net list by serial ports, and this module is by GPRS network and main website wireless connections.
Described GPRS communication module comprises baseband processor, radio circuit, application interface unit, Power Management Unit, FLASH memory and signal shielding cover; Described baseband processor has the GPRS functional module, and this processor is connected with described master station communication by GPRS network; The GPIO port of baseband processor is connected with application interface unit, and the RF port of baseband processor is connected with radio circuit, and Power Management Unit links to each other with baseband processor, and the safety management ESM interface of baseband processor is connected with the FLASH memory; The signal shielding cover is installed in described GPRS communication module outside, is used for reducing radiofrequency signal to the influence of other circuit; Baseband processor reads the signal that is imported into by application interface unit by described concentrator or net list, and this signal is sent by radio circuit; Exterior terminal equipment reaches baseband processor by radio circuit with signal, and baseband processor is sent to described concentrator or net list with this signal by application interface unit again.
Described radio circuit comprises transceiver, RF power amplifier, filter and antenna, described transceiver is connected with the RF port of described baseband processor, the output pin of transceiver is connected with the input pin of RF power amplifier, the RF power amplifier is connected with antenna, the RF power amplifier is connected with the input of filter, and the output of filter is connected with transceiver; Transceiver will transfer to the RF power amplifier by the signal to be sent that baseband processor transmits, and this amplifier reaches described main website by antenna with this signal; Main website reaches the RF power amplifier with control signal by described antenna, and this amplifier transfers to filter with this control signal, and filter will reach transceiver through the control signal that filtering is handled, and transceiver transfers to described baseband processor with this control signal again.
Described application interface unit comprises UART interface, USB interface, jtag interface and SIM card interface.Described filter comprises two single-frequency filters and a double frequency filter.
Remote upgrade method of the present invention adopts the upgrading mode of separating, and this method adopts separates the upgrading mode, and this method comprises the steps:
Step 1 generates the executable file that is used for upgrading upgrading, and the module of finishing same function on the logic function is jointly put together is compiled into an executable file;
Described FLASH memory is carried out subregion, comprise program storage area, data field, upgrading district; The original position in planning procedure memory block, data field and upgrading district and size on this FLASH memory;
Step 2, main website will reach described GPRS communication module for a plurality of new executable file packing of upgrading upgrading, and this module is put into these new executable files in the upgrading district of described FLASH memory;
Step 3 adopts and disperses load document, according to the size of different executable files to be upgraded, these executable files is separately assigned to the position of each executable file to be upgraded of program storage area corresponding in the FLASH memory;
Step 4, the GPRS communication module is restarted; The boot stage is transported to the executable file of need upgrading each correspondence position of the program storage area on the FLASH memory that disperses the appointment of load document lock from the upgrading district that reserves, cover each corresponding former executable file; Each file to be upgraded upgrades upgrading respectively, thereby finishes remote upgrade.
Described dispersion load document is used to indicate original position that each described new executable file goes to and the size of this new executable file.
Dependable performance of the present invention, the integrated level height, the automaticity height, and greatly reduce the cost of GPRS communication module product.
Of the present invention is the open communication module, and its electronic devices and components are selected the device of the technical grade of former factory recommendation for use; 6 laminates of high TG material are selected in its printed board for use, and place and route all takes into full account the EMC performance, and whole module has been added the signal shielding cover of metal quality simultaneously, reduce radiofrequency signal to the influence of other circuit.Significantly reduce required peripheral component quantity and design complexity in the circuit in the hardware designs, shortened the research and development time.Pcb board layout cabling is more reasonable, and reliability is higher.
Whole module bottom, application all are independent research on the software, and the exploitation flexibility is big, safeguards that the response time is fast.The traffic fee that long-range separation upgrading has produced when having saved upgrading is used.
GPRS communication module of the present invention is by external high capacity FLASH chip, and the MCU of baseband processing chip inside is open, for user's developing application.GPRS communication module among the present invention both had been applicable to net list, can be used for concentrator again, had improved versatility and the opening of GPRS communication module, and hardware and the structure of module need not overlapping development.
Direct economic benefit, the module of developing is than each saving cost 50% of module of outsourcing.Indirect economic effect has been saved when ging wrong and module manufacturer is linked up and the cost of maintenance.
Description of drawings
Fig. 1 is functional block diagram of the present invention.
Fig. 2 is the theory diagram of GPRS communication module of the present invention.
Fig. 3 is the application interface unit circuit schematic diagram of GPRS communication module of the present invention.
Fig. 4 is the circuit diagram of the radio circuit transceiver of GPRS communication module of the present invention.
Fig. 5 is the circuit diagram of the radio circuit filter of GPRS communication module of the present invention.
Fig. 6 is the circuit diagram of the radio circuit RF power amplifier of GPRS communication module of the present invention.
Fig. 7 is the circuit theory diagrams of the Power Management Unit of GPRS communication module of the present invention.
Fig. 8 is the FLASH storage unit circuit schematic diagram of GPRS communication module of the present invention.
Fig. 9 is application software system structural representation of the present invention.
Figure 10 is inner function module call graph of the present invention.
Figure 11 is that the present invention separates the upgrading schematic diagram.
Embodiment
As shown in Figure 1, the present invention includes concentrator, net list, main website and GPRS communication module, the GPRS communication module is connected with concentrator or net list by serial ports, and this module is by GPRS network and main website wireless connections.
As shown in Figure 2, the GPRS communication module comprises baseband processor, application interface unit, radio circuit, Power Management Unit, FLASH memory and signal shielding cover.
Baseband processor has the GPRS functional module, and this processor is connected with master station communication by GPRS network; The GPIO port of baseband processor is connected with application interface unit, is used for reading the information of UART interface data, USB interface data, jtag interface data and SIM card, reaches this application interface unit after the radiofrequency signal demodulation that will be received by antenna simultaneously; The RF port of baseband processor is connected with radio circuit, and Power Management Unit links to each other with baseband processor, provides power supply by it for baseband processor; The safety management ESM interface of baseband processor is connected with the FLASH memory; The signal shielding cover is installed in GPRS communication module outside, is used for reducing radiofrequency signal to the influence of other circuit; Baseband processor reads the signal that is imported into by application interface unit by concentrator or net list, and this signal is sent by radio circuit; Exterior terminal equipment reaches baseband processor by radio circuit with signal, and baseband processor is sent to concentrator or net list with this signal by application interface unit again.
Baseband processor of the present invention can adopt spreadtrum company high-performance, baseband chip cheaply, and its model is SC6610.Other electronic devices and components are selected the device of the technical grade that former factory recommends for use, as electric capacity and inductance select for use high frequency performance superior spring field company product, the PA(RF power amplifier) select the product of RDA company for use, its model is RDA6626; Crystal is selected TXC for use, and the product of companies such as SEIKO, FLASH are selected the product of WINBOND company for use, guarantees stable performance of the present invention.6 laminates of high TG material are selected in printed board for use, and place and route all takes into full account the EMC performance, and whole module has been added metallic shield simultaneously, reduce radiofrequency signal to the influence of other circuit.
As shown in Figure 3, application interface unit comprises UART interface, USB interface, jtag interface and SIM card interface.The P11 pin of baseband processor, T13 pin, T14 pin and R13 pin link to each other with the UART1 interface; The P11 pin is used for sending rs 232 serial interface signal U0TXD, and the T13 pin is used for receiving rs 232 serial interface signal U0RXD, and the T14 pin is used for receiving signal U0CTS, and the R13 pin is used for sending signal U0RTS.Application interface unit comprises UART interface, USB interface, jtag interface.
The U2 pin of baseband processor links to each other with power supply VSIM2, and this pin is also by capacitor C 6 ground connection simultaneously; Its P3 pin links to each other with the UART2 interface by resistance R 42, is used for sending signal U1TXD; The R3 pin links to each other with the UART2 interface by resistance R 43, is used for receiving signal U1RXD.
The K4 pin of baseband processor links to each other with the positive signal end of USB interface by resistance R 44, is used for Data transmission positive signal USBDP; The L4 pin of baseband processor links to each other with the negative signal end of USB interface by resistance R 45, is used for Data transmission negative signal USBDM; Its L2 pin links to each other with power vd DBUS, and this pin is also by capacitor C 7 ground connection simultaneously.
The U8 pin of baseband processor, T8 pin, T7 pin, R7 pin and P7 pin link to each other with jtag interface; The U8 pin is used for transfer mode signal MTMS, and the T8 pin is used for Data transmission input signal MTDI, and the T7 pin is used for transmitting clock input signal MTCK, and the R7 pin is used for Data transmission output signal MTDO, and the P7 pin is used for transmitting reset signal MTRSTN.
The present invention is connected communication by the UART interface with the corresponding UART interface of the base table of concentrator or net list.
Radio circuit comprises transceiver, RF power amplifier, filter and antenna.Filter can adopt two single-frequency filters and a double frequency filter, perhaps adopts a double frequency filter.
Transceiver is connected with the RF port of baseband processor, is used for receiving the signal that is spread out of by baseband processor, also can reach baseband processor by the signal that antenna receives; The output pin of transceiver is connected with the input pin of RF power amplifier, is used for being reached the RF power amplifier by the signal that baseband processor spreads out of; The RF power amplifier is connected with external antenna, and the RF power amplifier is connected with the input of filter, and the output of filter is connected with transceiver.
Transceiver will transfer to the RF power amplifier by the signal to be sent that baseband processor transmits, and this amplifier reaches main website by antenna with this signal; Main website reaches the RF power amplifier with control signal by antenna, and this amplifier transfers to filter with this control signal, and filter will reach transceiver through the control signal that filtering is handled, and transceiver transfers to baseband processor with this control signal again.
Baseband processor reads the signal that application interface unit transmits, and this signal is reached the RF power amplifier by transceiver, after by it signal being carried out filtering and handles, connects antenna by it signal is sent; Exterior terminal equipment reaches the RF power amplifier by antenna with signal, reaches filter again, via filter signal is carried out transmitting signals to baseband processor by transceiver behind the filtering and noise reduction, and baseband processor transmits the signal to application interface unit again.
Fig. 4, Fig. 5 and Fig. 6 are a kind of embodiment of whole radio circuit, and Fig. 4 and Fig. 5 couple together by A1 to A8, and Fig. 5 and Fig. 6 couple together by B1 to B5, form a kind of radio circuit scheme of the present invention thus.
As Fig. 4, Fig. 5, shown in Figure 6, radio circuit of the present invention comprises transceiver U404, single-frequency filter U400, double frequency filter U405, single-frequency filter U410 and RF power amplifier U1.It is the transceiver of SR528 that transceiver U404 can adopt the model of spreadtrum company; It is the SAW (Surface Acoustic Wave) filter of SAFEB881MFL0F00 that single-frequency filter U400 can adopt the model of field, village company; It is the SAW (Surface Acoustic Wave) filter of SAFEB1G96FA0F00 that single-frequency filter U410 can adopt the model of field, village company.
1 pin of transceiver U404 all links to each other with power vd DRF with 3 pin, and capacitor C 420 and capacitor C 406 are connected between power vd DRF and the ground.5 pin of transceiver U404 link to each other with 24 pin of RF power amplifier by inductance L 405 series capacitance C440; Its 6 pin links to each other with 23 pin of RF power amplifier by inductance L 417 series capacitance C439; One end of inductance L 405 is by capacitor C 426 ground connection, and this inductance other end is by capacitor C 425 ground connection; One end of inductance L 417 is by capacitor C 452 ground connection, and the other end of this inductance is by capacitor C 453 ground connection.
7 pin of transceiver link to each other with 3 pin of single-frequency filter U400 by capacitor C 417, and its 8 pin links to each other with 4 pin of single-frequency filter U400 by capacitor C 416, and inductance L 407 is connected between 7 pin and 8 pin of transceiver; 9 pin of transceiver link to each other with 9 pin of double frequency filter U405 by capacitor C 415; Its 10 pin links to each other with 8 pin of double frequency filter U405 by capacitor C 414, and inductance L 406 is connected between 9 pin and 10 pin of transceiver; 11 pin of transceiver link to each other with 7 pin of double frequency filter U405 by capacitor C 404; Its 12 pin links to each other with 6 pin of double frequency filter U405 by capacitor C 405, and inductance L 403 is connected between 12 pin and 11 pin of transceiver; 13 pin of transceiver link to each other with 3 pin of single-frequency filter U410 by capacitor C 433; Its 14 pin links to each other with 4 pin of single-frequency filter U410 by capacitor C 4032, and inductance L 402 is connected between 13 pin and 14 pin of transceiver.
15 pin of transceiver link to each other with the C7 pin of baseband processor, are used for transmitting signal RF/TXQN; Its 16 pin links to each other with the D7 pin of baseband processor, is used for transmitting signal RF/TXQP; Its 17 pin links to each other with the D6 pin of baseband processor, is used for transmitting signal RF/TXIP; Its 18 pin links to each other with the D5 pin of baseband processor, is used for transmitting signal RF/TXIN; Its 19 pin links to each other with power vd DRF by inductance L 400, and this pin is also by capacitor C 418 ground connection simultaneously, and capacitor C 407 is connected in parallel with capacitor C 418; 20 pin of transceiver link to each other with power vd DRF, and power vd DRF is by capacitor C 421 ground connection; Its 21 pin links to each other with the C12 pin of baseband processor, is used for transmitting enable signal RFSEN; Its 22 pin links to each other with the B12 pin of baseband processor, is used for transmitting clock signal RFSCK; Its 23 pin links to each other with the C11 pin of baseband processor, is used for communicated data signal RFSDA; Its 24 pin links to each other with power vd DRF; Its 25 pin links to each other with 3 pin of crystal oscillator X1; Its 26 pin links to each other with 1 pin of crystal oscillator G1; 2 pin of crystal oscillator X1 and the equal ground connection of 4 pin; 27 pin of transceiver are by resistance R 402 series capacitance C460 ground connection, and this pin also links to each other with the A8 pin of baseband processor by capacitor C 402 series resistance R100, are used for transmitting clock signal clk _ 26M; Its 29 pin ground connection.
1 pin of single-frequency filter U410 links to each other with 5 pin of RF power amplifier U1 by capacitor C 424 series capacitance C13; Its 2 pin and the equal ground connection of 5 pin.
4 pin of double frequency filter U405 link to each other with 6 pin of RF power amplifier U1 by capacitor C 410 series capacitance C17, and this pin also series capacitance C18 links to each other with 6 pin of RF power amplifier U1; Its 1 pin links to each other with 7 pin of RF power amplifier U1 by capacitor C 411 series connection C10; Its 2 pin, 3 pin, 5 pin and the equal ground connection of 10 pin.
1 pin of single-frequency filter U400 links to each other with 8 pin of RF power amplifier U1 by capacitor C 412 series capacitance C8; Its 1 pin is also by capacitor C 412 series inductance L456 ground connection; Its 2 pin and the equal ground connection of 5 pin.
13 pin of RF power amplifier U1 are connected with power supply VBAT, its 14 pin is connected with power supply VBAT, and power supply VBAT is by voltage stabilizing didoe D201 ground connection, and capacitor C 445 is connected between power supply VBAT and the ground, capacitor C 441 is connected between power supply VBAT and the ground, and capacitor C 446 is connected between power supply VBAT and the ground.
19 pin of RF power amplifier U1 are connected with the B7 pin of baseband processor by resistance R 401, are used for transmitting radio frequency amplifying signal RF_RAMP, and also by resistance R 405 ground connection, capacitor C 435 is connected between this 19 pin and the ground this 19 pin; Its 15 pin is connected with the A14 pin of baseband processor, is used for transfer control signal SW_VC3, and capacitor C 447 is connected between this 15 pin and the ground; Its 16 pin is connected with the B14 pin of baseband processor, is used for transfer control signal SW_VC2, and capacitor C 443 is connected between this 16 pin and the ground; Its 17 pin is connected with the B13 pin of baseband processor, is used for transfer control signal SW_VC1, and capacitor C 422 is connected between this 17 pin and the ground; Its 18 pin is connected with the B7 pin of baseband processor, is used for transmitting power amplifier enable signal PA_EN, and capacitor C 442 is connected between this 18 pin and the ground.
9 pin of RF power amplifier U1 are connected with test lead MHC1 by inductance L 452 series inductance L410, and this test lead MHC1 is connected with antenna ANT by resistance R 6.Between inductance L 452 and inductance L 410, connect capacitor C 419, the other end ground connection of this capacitor C 419; Between inductance L 410 and test lead MHC1, connect capacitor C 16, the other end ground connection of this capacitor C 16.Resistance R 6 drags tin with its short circuit after frequency calibration.
20 pin of RF power amplifier U1 are connected the back by capacitor C 4 ground connection with 22 pin.1 pin of RF power amplifier U1,2 pin, 3 pin, 4 pin, 10 pin, 11 pin, 12 pin, 25 pin, 27 pin, 29 pin, 30 pin, 31 pin, 32 pin and the equal ground connection of 33 pin.
As shown in Figure 7, Power Management Unit is responsible for powering to baseband processor.The B1 pin of baseband processor links to each other with power supply VBAT; Be connected between this B1 pin and the ground after spark pipe V2, capacitor C 12 and the capacitor C 13 three's parallel connections; The D1 pin of baseband processor links to each other with power supply AVDDB0, and this pin is also by capacitor C 15 ground connection simultaneously; Its G2 pin and H1 pin ground connection; Its L1 pin, B2 pin, A10 pin, B10 pin, C9 pin, G10 pin and T1 pin all link to each other with power supply VBAT; Its B6 pin links to each other with power supply AVDDBB, and this pin is also by capacitor C 14 ground connection simultaneously; Its A7 pin ground connection; Its N1 pin links to each other with power vd DRF, and this pin is also by capacitor C 18 ground connection simultaneously; Its A2 pin links to each other with power vd DCAMA, and this pin is also by capacitor C 20 ground connection simultaneously; Its K3 pin links to each other with power supply VCHG by resistance R 47, and this pin is also by resistance R 47 series capacitance C22 ground connection simultaneously; Phasmajector D2 is in parallel with capacitor C 22; The U4 pin of baseband processor, D10 pin and D11 pin all link to each other with power supply VMEM, and these three pins are also respectively by capacitor C 16 ground connection; Its C8 pin, D8 pin, G9 pin, L7 pin, P6 pin and R6 pin all link to each other with power vd DCORE, and these six pins are also respectively by capacitor C 17 ground connection; Its T3 pin links to each other with power vd DIO1V8, and this pin is also by capacitor C 19 ground connection; Its B9 pin links to each other with power vd DIO3V0, and this pin is also by capacitor C 21 ground connection; Its H10 pin all links to each other with power vd DIO3V0 with the M4 pin; Its L10 pin links to each other with power vd DIO1V8 by resistance R 48, and this pin also links to each other with power vd DIO3V0 by resistance R 49, and this pin also links to each other with power supply VMEM_SPI; Its H7 pin, H8 pin, H9 pin, J7 pin, J8 pin, J9 pin, K7 pin, K8 pin, K9 pin, K10 pin, B11 pin, D12 pin, J10 pin, the equal ground connection of N3 pin.
As shown in Figure 8, the FLASH memory cell comprises the FLASH memory.1 pin of this memory links to each other with the N16 pin of baseband processor, is used for transmitting chip selection signal QPI_CSN; Its 2 pin links to each other with the N17 pin of baseband processor, is used for outputting data signals QPI_IO1; Its 3 pin links to each other with the M15 pin of baseband processor, is used for output signal QPI_IO2; Its 5 pin links to each other with the M16 pin of baseband processor, is used for input data signal QPI_IO0; Its 6 pin links to each other with the L15 pin of baseband processor, is used for input clock signal QPI_CLK; Its 7 pin links to each other with the L16 pin of baseband processor, is used for transmitting inhibit signal QPI_IO3; Its 8 pin links to each other with power supply VMEM_SPI, and this pin is also by capacitor C 50 ground connection; Its 4 pin and 9 pin ground connection.
During work, electric quantity data and other useful information on the products such as concentrator, net list and large user's terminal, issue the present invention by the UART interface, a series of processing such as the D/A conversion of the present invention by baseband processor, information source coding, chnnel coding, useful information is sent by antenna, the main website server obtains information needed by the GPRS wireless private network of China Mobile or CHINAUNICOM.
The present invention is by external high capacity FLASH chip, and the MCU of baseband processing chip inside is open, for user's open applications program.
By the operating system of using on the baseband processor chip, part bottom layer driving source code, in software development, we are according to the demand of GPRS transfer of data, part is simplified operating system, and on the basis in bottom source code that Yuan Chang provides or storehouse, general GPRS communication module and single-chip networking table acquisition module that terminals such as suitable concentrator and net list are used have been developed.That is to say, for the GPRS communication module in the application and development on the net list repertoire on the two MCU of legacy network table; And the application the present invention on concentrator of this module has developed corresponding bottom layer driving layer and AT Command Set.During concrete the application, GPRS communication module of the present invention can be general, only needs to install different software and can realize the replacement of GPRS communication module function on different terminal equipment, and need not to change hardware and structure.
In the software design, the application aspect concentrator is fairly simple, mainly is driving and the AT Command Set of exploitation baseband processor bottom, and is consistent with traditional standard GPRS module.
Stress the layout strategy that the present invention uses below aspect net list.
1. function and the stipulations design that is separated.
In view of the net list module that use with uplink communication main website and with the stipulations disunity that connects the downlink communication of electric energy meter down, and also have trickle even bigger difference with a kind of stipulations in different regions, if each module of net list inside modules is relevant with stipulations, the change of stipulations will cause needs to revise all hardware capability modules relevant with the stipulations corresponding function.
Therefore, this project exploitation need set up one with up-downgoing stipulations application software platform independently mutually, namely the functional module that the net list module is relevant with stipulations has only the stipulations parsing module, other functional modules all have nothing to do with stipulations.It is the external interface of GPRS communication module that stipulations are resolved, and its function is that the data transaction with the stipulations of outside becomes internal datas such as the inner general parameter of GPRS communication module, data, abnormal information.
On the basis of data such as general inner parameter, data and abnormal information, all functional modules (except the stipulations parsing module) start in module, and data generate, and three aspects of abnormality processing all can realize being separated with stipulations.
2. stratification design.
Consider the net list module when satisfying users ' individualized requirement, usually need the function of net list module is improved.Although demand is changing in the future, wherein some function is basic, and this part function is more stable, core, is difficult for changes in demand.Can according to itself and professional correlation and stability each function be divided into several levels to the function of net list module, what be conducive to that the net list module software develop from now on is multiplexing, the simplified design complexity.Hierarchical structure is shown in chart 9.
3. modularized design.
As shown in Figure 9, each function is an independently module, and the principle of modular design is high cohesion, low coupling.The basic function module exists in the mode of public library, and the upper-layer functionality module exists in task (thread) mode, can adapt to the needs of difference in functionality application scenario by the mode of block configuration.
Below in conjunction with Fig. 9 application software system structure of the present invention is further described.
Application software system structure of the present invention comprises operating system layer, supporting layer, data source layer, Business treatment and data presentation layer.
Operating system layer: as the bottom (comprising file system) of application software, the stable operation of support applications software is for application software provides communication and machine-processed api interface such as synchronous between task management, resource-sharing, memory management, task.
Supporting layer: as the basal layer of GPRS communication module function, for other modules provide operation, parameter, the support of aspects such as communication not only requires to accomplish to be separated with stipulations for this layer Module Design, and will accomplish to be separated with service logic (function).
Data source layer: provide all business datums to upper layer module, and data are managed and store.This layer has embodied basic functions such as the collection of GPRS communication module, storage.Require to accomplish with stipulations irrelevant for this layer Module Design.And adopt the thought of configurationization to design.
Business treatment: Business treatment is embodying the management function of GPRS communication module, abnormality processing, initiatively reports etc. and all to embody in this one deck.Accomplish strictly with demand for the designing requirement of this layer application module, distinguish core demand and non-core demand, be conducive to the improvement of function in the future and perfect.
Data presentation layer: data presentation layer is the interface layer in GPRS communication module and the external world, local interaction, and the remote interaction function realizes at this layer.Resolve the effect that requires to embody its shielding for stipulations, i.e. the effect of stipulations conversion.Stipulations are resolved the form that needs the stipulations of all main websites are converted to the data/parameter of corresponding GPRS communication module inside, perhaps carry out opposite conversion.
Application software system structure of the present invention comprises public library module, parameter management module, link communication module, data acquisition and statistical module, monitoring of tools module, data memory module, data processing module, abnormality processing module and stipulations parsing module.
The public library module: api interface function such as communication encapsulates between the resource-sharing that operating system is provided, task, reaches the purpose that is easy to call.
Parameter management module: the access control of all parameters of GPRS communication module is provided; The legitimacy of certificate parameter; The modification time of management parameters etc.
Link communication module: manage the link communication of different physical communication passages; Foundation, maintenance link etc.
Data acquisition and statistical module: from ammeter, gather initial data and convert GPRS communication module internal unity form to, generate the work condition state of ammeter and measurement point etc.
Monitoring of tools module: the displacement event of monitoring GPRS communication module remote signalling equipment; The abnormality of monitoring GPRS communication module; The show state of control indicator light.
Data memory module: storage, retrieval, the historical data of management GPRS communication module, storage, retrieval, the event data of management GPRS communication module, the form of terminal storage data can freely define.
Data processing module: generate GPRS communication module historical data, the inquiry of response data presentation layer historical data, the retrieval requirement provides Query Result.Has initiatively reporting functions of data.
Abnormality processing module: handle all anomalous events (ammeter operating mode event, measurement point operating mode event, terminal abnormal event), report anomalous event, the local warning.Recording events.
The stipulations parsing module: resolve and organize message, carry out the interface of data communication as the GPRS communication module, by the form of stipulations requirement translation data (parameter), the various command of response main website.Extensive with other module relations.
Call relation between the level of above-mentioned each intermodule as shown in figure 10.Among the figure, arrow is represented to call, and lower floor is called on the upper strata, and the superiors' functional module is near the user, and the functional module of lower floor is the service of stipulations parsing module.
(1) public library module
Use object: other modules among Figure 10.
Function: api interface function such as communication encapsulates between the resource-sharing that operating system is provided, task, reaches the purpose that is easy to call.
(2) parameter management module
Use object: contain the public library module among Figure 10, other modules.
Function: the access control of all parameters of GPRS communication module is provided; The legitimacy of certificate parameter; The modification time of management parameters etc.
(3) data memory module
Use object: each module of Business treatment and data presentation layer.
Function: storage, retrieval, the historical data of management GPRS communication module, storage, retrieval, the event data of management GPRS communication module, the form of terminal storage data can freely define.
(4) data processing module
Use object: each module of data presentation layer.
Function: generate GPRS communication module historical data, the inquiry of response data presentation layer historical data, the retrieval requirement provides Query Result.Has initiatively reporting functions of data.
(5) data acquisition and statistical module
Use object: each module of Business treatment and data presentation layer.
Function: from electric energy meter, gather initial data and convert GPRS communication module internal unity form to, generate the work condition state of electric energy meter and measurement point etc.
(6) monitoring of tools module
Use object: each module of Business treatment and data presentation layer.
Function: the displacement event of monitoring GPRS communication module remote signalling equipment; The abnormality of monitoring GPRS communication module; The show state of control indicator light.
(7) abnormality processing module
Use object: the data presentation layer module.
Function: handle all anomalous events (electric energy meter operating mode event, measurement point operating mode event, terminal abnormal event), report anomalous event, the local warning.Recording events.
(8) stipulations parsing module
Use object: main website.
Function: resolve and organize message, carry out the interface of data communication as the GPRS communication module, by the form of stipulations requirement translation data (parameter), the various command of response main website.Extensive with other module relations.
(9) link communication module
Use object: stipulations parsing module, data acquisition module.
Function: manage the link communication of different physical communication passages; Foundation, maintenance link etc.
As shown in figure 11, remote upgrade of the present invention adopts and separates upgrading GPRS software module and relative program.Separate the upgrading mode with disperseing load document to realize.Disperse the principle of load document to be: different binary executables can be loaded into the initial address that FLASH goes up appointment, and can specify the size of corresponding former executable file place program storage area according to the size of different executable files to be upgraded; It is on the position of Address 1 that first executable file (First Bin) is loaded into the last address of FLASH, it is on the position of Address 2 that second executable file (Second Bin) is loaded into the last address of FLASH, and it is on the position of Address N that N executable file is loaded into the last address of FLASH.The benefit of separating upgrading is to upgrade respectively, and the program of the required upgrading of accomplishing only to upgrade has significantly reduced the flow that upgrading consumes, and matches with the breakpoint transmission function success rate of upgrading is being provided jointly.
Remote upgrade method of the present invention adopts and separates the upgrading mode, and this method comprises the steps:
Step 1, the planned project module;
Step 2, the planning executable file, the module of finishing same function on the logic function is jointly put together and is compiled into an executable file;
Step 3, the compiling link program generates a plurality of executable files;
Step 4, estimate each bin file size and, determine its program storage area space size;
Step 5, the executable file of planning constant part and the executable file of variable part;
Step 6 is simplified the code of constant part executable file;
Step 7, the code of assessment variable part executable file;
Step 8 is reserved the onesize space of the executable file of and variable part at least as the upgrading district;
Step 9, the FLASH in selected enough spaces; The FLASH memory is carried out subregion, comprise program storage area, data field, upgrading district;
Step 10, the original position in planning procedure memory block, data field and upgrading district and size on this FLASH memory;
Step 11, main website will reach the GPRS communication module for a plurality of new executable file packing of upgrading upgrading, and this module is put into these new executable files in the upgrading district of FLASH memory;
Step 12 adopts and disperses load document, according to the size of different executable files to be upgraded, these executable files is separately assigned to the position of each executable file to be upgraded of program storage area corresponding in the FLASH memory;
Step 13, the GPRS communication module is restarted; The boot stage is transported to the executable file of need upgrading each correspondence position of the program storage area on the FLASH memory that disperses the appointment of load document lock from the upgrading district that reserves, cover each corresponding former executable file; Each file to be upgraded upgrades upgrading respectively;
Step 14, the executable file in the deletion upgrading district; Thereby finish remote upgrade.

Claims (7)

1. a wireless communication system comprises concentrator, net list and main website, it is characterized in that, also comprises the GPRS communication module, and the GPRS communication module is connected with concentrator or net list by serial ports, and this module is by GPRS network and main website wireless connections.
2. wireless communication system according to claim 1 is characterized in that, described GPRS communication module comprises baseband processor, radio circuit, application interface unit, Power Management Unit, FLASH memory and signal shielding cover; Described baseband processor has the GPRS functional module, and this processor is connected with described master station communication by GPRS network; The GPIO port of baseband processor is connected with application interface unit, and the RF port of baseband processor is connected with radio circuit, and Power Management Unit links to each other with baseband processor, and the safety management ESM interface of baseband processor is connected with the FLASH memory; The signal shielding cover is installed in described GPRS communication module outside, is used for reducing radiofrequency signal to the influence of other circuit; Baseband processor reads the signal that is imported into by application interface unit by described concentrator or net list, and this signal is sent by radio circuit; Exterior terminal equipment reaches baseband processor by radio circuit with signal, and baseband processor is sent to described concentrator or net list with this signal by application interface unit again.
3. wireless communication system according to claim 2, it is characterized in that, described radio circuit comprises transceiver, RF power amplifier, filter and antenna, described transceiver is connected with the RF port of described baseband processor, the output pin of transceiver is connected with the input pin of RF power amplifier, the RF power amplifier is connected with antenna, and the RF power amplifier is connected with the input of filter, and the output of filter is connected with transceiver; Transceiver will transfer to the RF power amplifier by the signal to be sent that baseband processor transmits, and this amplifier reaches described main website by antenna with this signal; Main website reaches the RF power amplifier with control signal by described antenna, and this amplifier transfers to filter with this control signal, and filter will reach transceiver through the control signal that filtering is handled, and transceiver transfers to described baseband processor with this control signal again.
4. wireless communication system according to claim 2 is characterized in that, described application interface unit comprises UART interface, USB interface, jtag interface and SIM card interface.
5. wireless communication system according to claim 3 is characterized in that, described filter comprises two single-frequency filters and a double frequency filter.
6. a remote upgrade method that is applicable to the described wireless communication system of claim 1 is characterized in that, this method adopts separates the upgrading mode, and this method comprises the steps:
Step 1 generates the executable file that is used for upgrading upgrading, and the module of finishing same function on the logic function is jointly put together is compiled into an executable file;
Described FLASH memory is carried out subregion, comprise program storage area, data field, upgrading district; The original position in planning procedure memory block, data field and upgrading district and size on this FLASH memory;
Step 2, main website will reach described GPRS communication module for a plurality of new executable file packing of upgrading upgrading, and this module is put into these new executable files in the upgrading district of described FLASH memory;
Step 3 adopts and disperses load document, according to the size of different executable files to be upgraded, these executable files is separately assigned to the position of each executable file to be upgraded of program storage area corresponding in the FLASH memory;
Step 4, the GPRS communication module is restarted; The boot stage is transported to the executable file of need upgrading each correspondence position of the program storage area on the FLASH memory that disperses the appointment of load document lock from the upgrading district that reserves, cover each corresponding former executable file; Each file to be upgraded upgrades upgrading respectively, thereby finishes remote upgrade.
7. the remote upgrade method of wireless communication system according to claim 6 is characterized in that, described dispersion load document is used to indicate the original position that each described new executable file goes to.
CN2013102630171A 2013-06-28 2013-06-28 Wireless communication system and remote updating method thereof Pending CN103346816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102630171A CN103346816A (en) 2013-06-28 2013-06-28 Wireless communication system and remote updating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102630171A CN103346816A (en) 2013-06-28 2013-06-28 Wireless communication system and remote updating method thereof

Publications (1)

Publication Number Publication Date
CN103346816A true CN103346816A (en) 2013-10-09

Family

ID=49281598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102630171A Pending CN103346816A (en) 2013-06-28 2013-06-28 Wireless communication system and remote updating method thereof

Country Status (1)

Country Link
CN (1) CN103346816A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361685A (en) * 2014-11-07 2015-02-18 国网湖南省电力公司岳阳供电分公司 Power purchase type intelligent electric meter box
CN104659909A (en) * 2014-09-24 2015-05-27 深圳友讯达科技股份有限公司 Communication equipment and communication system
CN105511918A (en) * 2015-12-06 2016-04-20 江苏林洋能源股份有限公司 Automatic data storage format maintenance method of intelligent electric energy meter
CN106128080A (en) * 2016-08-30 2016-11-16 长沙威胜信息技术有限公司 A kind of novel concentrator
CN110471675A (en) * 2019-08-21 2019-11-19 山东比特智能科技股份有限公司 A kind of burning program method, system, device and computer readable storage medium
CN110496013A (en) * 2019-08-30 2019-11-26 深圳市小牛共享科技有限公司 Control device for massage chair and control method
CN111314133A (en) * 2020-02-14 2020-06-19 宁波三星智能电气有限公司 Ammeter communication module upgrading method, ammeter control module and ammeter communication module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777003A (en) * 2010-02-08 2010-07-14 宁波大学 Method for remotely updating program of industrial fuel gas meter data reader
CN201699786U (en) * 2010-03-08 2011-01-05 厦门敏讯信息技术股份有限公司 TD-SCDMA and GSM dual-mode wireless communication module
CN201813397U (en) * 2010-08-06 2011-04-27 大唐微电子技术有限公司 Wireless data communication module
CN102237885A (en) * 2010-04-20 2011-11-09 国民技术股份有限公司 Wireless communication module
CN202949414U (en) * 2012-12-10 2013-05-22 长沙威胜信息技术有限公司 Net list module used for electric energy meter
CN203352584U (en) * 2013-06-28 2013-12-18 长沙威胜信息技术有限公司 Wireless communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777003A (en) * 2010-02-08 2010-07-14 宁波大学 Method for remotely updating program of industrial fuel gas meter data reader
CN201699786U (en) * 2010-03-08 2011-01-05 厦门敏讯信息技术股份有限公司 TD-SCDMA and GSM dual-mode wireless communication module
CN102237885A (en) * 2010-04-20 2011-11-09 国民技术股份有限公司 Wireless communication module
CN201813397U (en) * 2010-08-06 2011-04-27 大唐微电子技术有限公司 Wireless data communication module
CN202949414U (en) * 2012-12-10 2013-05-22 长沙威胜信息技术有限公司 Net list module used for electric energy meter
CN203352584U (en) * 2013-06-28 2013-12-18 长沙威胜信息技术有限公司 Wireless communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
耿新民等: "基于ARM和GPRS的无线通信系统设计", 《仪表技术》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104659909A (en) * 2014-09-24 2015-05-27 深圳友讯达科技股份有限公司 Communication equipment and communication system
CN104361685A (en) * 2014-11-07 2015-02-18 国网湖南省电力公司岳阳供电分公司 Power purchase type intelligent electric meter box
CN105511918A (en) * 2015-12-06 2016-04-20 江苏林洋能源股份有限公司 Automatic data storage format maintenance method of intelligent electric energy meter
CN105511918B (en) * 2015-12-06 2018-10-26 江苏林洋能源股份有限公司 A kind of data memory format automatic maintenance method of intelligent electric energy meter
CN106128080A (en) * 2016-08-30 2016-11-16 长沙威胜信息技术有限公司 A kind of novel concentrator
CN110471675A (en) * 2019-08-21 2019-11-19 山东比特智能科技股份有限公司 A kind of burning program method, system, device and computer readable storage medium
CN110496013A (en) * 2019-08-30 2019-11-26 深圳市小牛共享科技有限公司 Control device for massage chair and control method
CN111314133A (en) * 2020-02-14 2020-06-19 宁波三星智能电气有限公司 Ammeter communication module upgrading method, ammeter control module and ammeter communication module

Similar Documents

Publication Publication Date Title
CN103346816A (en) Wireless communication system and remote updating method thereof
CN103092658B (en) The application program installation method of a kind of intelligent mobile communication terminal, system
CN101609403B (en) Page layout dynamic switch method and system
CN103516551B (en) Utilize passive pair of RFID tag to optical fiber physical port intelligent management system
CN106502960A (en) A kind of wireless communication chips encapsulated based on SIP
CN103001667A (en) Communication apparatus, communication system and communication method
CN103259936A (en) Operating system upgrade method for mobile terminal and operating system upgrade device of operating system upgrade method
CN108616604A (en) A kind of intelligent electric energy meter supplements repeating installation, ammeter communication system and the means of communication with money
CN109816481A (en) Bill processing method, device and computer readable storage medium
CN102723779A (en) Non-contact intelligent distribution device based on WebService and design method thereof
CN103248400A (en) Appliance management apparatus and appliance management method
CN103412900A (en) File downloading treatment method and terminal
CN203352584U (en) Wireless communication system
CN204408377U (en) Gateway hardware
CN204102158U (en) Intelligent terminal is dynamically connected and the system of opertaing device certainly by identification label
CN104680769A (en) Bluetooth-to-infrared meter reading system of intelligent mobile phone
CN104578418B (en) Configuration method and system of automatic power distribution equipment based on 101 protocols, and equipment
CN105069714A (en) NFC (near field communication) technology based electronic ordering system
CN106919121A (en) A kind of underground tunnel advertisement lamp box monitoring system
CN103916427B (en) First mobile communication terminal and communication means, Internet of things system
CN102385516A (en) Method for designing reconfigurable radio frequency identification (RFID) middleware based on cloud server
CN201681290U (en) General equipment controller
CN101938367B (en) Method and system for enabling comprehensive network management system to realize performance access of lower network management system in telecommunication network
CN102945593A (en) Meter reading system based on smart phone
CN207938026U (en) A kind of intelligent power terminal based on Spot Price

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131009