The utility model content
Technical problem to be solved in the utility model provides a kind of onboard wireless web browser that can be applied to vehicle environment realization wireless Internet access.
The technical scheme that the utility model adopted is: the onboard wireless web browser, comprise main control singlechip, GPRS module, display module, button control module, memory, GPRS antenna, the GPRS antenna is connected with the GPRS module, the GPRS module is connected with main control singlechip, main control singlechip outputs to display module with info web and shows, the button control module is instructed the input main control singlechip with the operator, and main control singlechip is connected with memory.
The main control singlechip model adopts STR712, and GPRS module model adopts SIM300, and display module is selected MCG12864A8-3 for use.
Good effect of the present utility model is:
The utility model is an automobile integrated information platform, with the automobile driver and crew is the service object, by navigation, amusement, safety, mobile office system etc., collect the multi-functional hommization mobile platform of one that is for driver and crew create one, it is the car-mounted terminal that has possessed Telematics notion and technology.The not available wireless networking capabilities of existing mobile unit have particularly been realized.Its function of surfing the Net also has following characteristics:
1, Chinese character coding input method is supported association function, and the user imports convenient and swift.
2, multi-page browsing technology, the user can browse a plurality of pages simultaneously, switches smooth rapidly between the page.
3, shield pop-up advertisement automatically.
4,, support the network transmission protocol and security protocol widely based on the IE kernel.
Embodiment
Below in conjunction with accompanying drawing the utility model is further described.
As shown in Figure 1, the onboard wireless web browser, comprise main control singlechip, GPRS module, display module, button control module, memory, GPRS antenna, the GPRS antenna is connected with the GPRS module, the GPRS module is connected with main control singlechip, main control singlechip outputs to display module with info web and shows, the button control module is instructed the input main control singlechip with the operator, and main control singlechip is connected with memory.
The GPRS module realizes landing the function of network as wireless modem.When needs dial up on the telephone, main control singlechip carries out a series of initialization action to the GPRS module earlier, comprise the configuration serial ports, with AT Command Set initialization UNIMODEM equipment etc., treat that its state is ready after, the remote access service RAS dialing that provides by system is directly connected to Internet.When the user used the button control module to select to browse certain webpage, main control singlechip received by serial ports and comes from the web data of UNIMODEM, and resolved to and can show on display module for the data flow of browser display.Some ephemeral data that produces in the browsing page process (as history web pages, collection) can be kept in the memory, can directly open when browsing next time.
This browser is based on the IE kernel, dial up on the telephone by GPRS, support self-defined in/English input method, and has multipage veil page browsing function, software mainly comprises four module: the module that dials up on the telephone, input method module, web page browsing module, download management module, and each functions of modules and operation principle are as follows:
1) dial-up connection: under the WinCE system, the process of setting up of dial-up connection is: an at first newly-built long-range connection, and the configuration serial ports connects parameter (port numbers, baud rate etc.), again with AT order initialization MODEM, treat the MODEM device ready after, call the RAS dialing and set up network and connect.A problem that causes like this is that in a single day port is assigned with, and is just monopolized always, may cause needs to use other modules of this port normally to move.Our solution is to realize a driven management layer BWCOM, and the reciprocal process by BWCOM is in charge of all and resource comprises application, distribution, release and the recovery of resource.When preparing dialing, distribute certain port resource by BWCOM; After connecting disconnection, BWCOM discharges occupied port resource.
BWCOM has defined a cascade logic mouth structure body, creates logic serial ports object according to device type, and port is arranged to the port of device number specified type.When needs load a new equipment, system will be from registration table predefined base address and interrupt number in the fetch equipment cascade logic mouth structure body, and be provided with according to interrupt number and receive the service routine thread.In the physical discontinuity service routine, when receiving one group of complete packet, will provide corresponding event signal, trigger receiving service routine threading operation relevant device.
BWCOM also manages the communication process of UNIMODEM simultaneously, and when needs were networked, the GPRS passage was set to the MODEM passage, and two kinds of mode of operations are provided:
Pattern 1: direct mode operation.The GPRS passage of equipment is as the MODEM passage of standard, read the device data interface by system and receive AT order from UNIMODEM, and the response that will order read interface by equipment and directly exported to UNIMODEM; The write device data-interface that provides by BWCOM receives " PPP " protocol data of operating system TAPI module simultaneously, and " PPP " data that will obtain are directly exported to the TAPI module by write device interface.
Pattern 2: proxy mode.UNIMODEM drives orders such as sending beginning, dialing, on-hook, status poll with the form of message to BWCOM, processes such as dialing are finished by driver control, therefore, the AT command response is by driver handles, and do not export to UNIMODEM, only when connection is finished or break, notify UNIMODEM.After finishing connection procedure, driver changes the ppp protocol pattern automatically over to, and the equipment read-write interface is to the same direct mode operation of the processing of ppp protocol data.
2) self-defined input method: the user is provided the function of the input of essential text and text editing in the browsing page process.Because WinCE does not support the automatic reorientation function to webpage control focus, that is to say after in a single day web page windows returns to active state from inactive state, originally the webpage control that had input focus will no longer have input focus, and this brings very big problem for the input of webpage.The processing method of this software is, writes down current webpage control with input focus, before this webpage control is being about to lose focus, forces focus is put back, guaranteed the consistency of webpage control focus like this.In addition, in order to support self-defining input method, we have expanded the soft input keyboard agreement of system (SIP) interface, utilize this interface, the input method of customization will be in due course by the automatic load operating of system, and simultaneously, user's input also will be forwarded to the SIP of system soft keyboard with the form of character string, automatically send to current webpage control by the SIP of system again, finish user's input with input focus.
3) multi-page browsing: provide the user can browse the function of a plurality of webpages the same time.Realize that principle is to create a plurality of browser instances, and allow the shared view window of a plurality of browser instances, guarantee to have only a browser instances to be in active state at synchronization, view only shows the page of the browser instances of current active, and user's all operations will only be forwarded in the browser object of current active and go.The corresponding label of each page by clicking the browser instances of different tag activation correspondences, switches to the different pages.
4) download management: the function that the online download of user is provided.Comprise download directory control, the browsing of content, editor etc. have been downloaded in download file size control.The effect of download directory control is to guarantee that downloaded files can only leave in the specific directory; Method is to preset download directory, when capturing download beginning message, download directory forced to be set under the default download directory, thus the legitimacy of assurance download directory.Download file size control is meant that downloaded files can not surpass certain byte number, and when exceeding certain byte limit, the prompting user arrives maximum download, can not continue to download.The management of downloading content comprises the All Files of enumerating under the download directory, allows the user to check and edit file in download.
The hardware configuration of this browser as shown in Figure 2.Main control singlechip is selected the STR712 microcontroller of STMicw Electronics (ST) for use, the STR712 microcontroller is based on high performance ARM7TDMI kernel, the RAM memory of the Flash memory of integrated 256+16K byte and 64K on the sheet has the I/O function of abundant peripheral hardware and enhancing.The performance power consumption of this controller is than very good, and the kernel support comprises Thumb instruction set, Fast Multiplication instruction and embedded ICE debugging technique.Because it is embedded ARM kernel, so compatible mutually with all ARM instrument and software.
That the GPRS module in the primary control box adopts is the SIM300 of SIMCOM company, and it is a double mode GSM/GPRS engine towards the world market research and development, and operating frequency is EGSM 900MHz, DCS 1800MHz and PCS1900MHz.SIM300 can carry out multichannel to the GPRS signal to be followed the tracks of, and supports four kinds of GPRS coded format: CS-1, CS-2, CS-3 and CS-4.It has volume little, powerful, be easy to integrated characteristics, in system, handle through necessary interface and power supply promptly to can be system after handling used.
Display module is selected MCG12864A8-3 for use, it is a kind of large-sized solor dot matrix (or diagram form) LCD, friendly interface, attractive in appearance, not only can character display, numeral, can also show various figures, curve and Chinese character, and can realize functions such as screen rolling up and down, animation, flicker, text feature demonstration, purposes is very extensive.This LCD MODULE is to use KS0108B and compatible Control Driver (for example HD61203B) thereof as row driver, uses KS0107B and compatible driver thereof (for example HD61203) Liquid Crystal Module as line driver simultaneously.Because KS0107B (or HD61203B) does not get in touch with MPU, so as long as provide power supply just can produce horizontal-drive signal and various synchronizing signal.Can directly control the control signal of LCD by universaling I/O port with single-chip microcomputer, simultaneously with a certain I/O mouth of single-chip microcomputer as its data/address bus.