Summary of the invention
The object of the present invention is to provide stable, the user's clear public computer system in urban area simple to operate of a kind of system security of operation.
The present invention is achieved in that public computer system in urban area is mainly by public's multi-media information terminal of extensive distribution, communication line, remote network management control center constitutes, remote network management control center is by the running status of network line Centralized Monitoring information terminal in interior total system, information terminal comprises the industrial control host plate, display screen, touch-screen, the IC-card read write line, IC Card Telephone and network-termination device, comprise CPU on the industrial control host plate, memory bar, hard disk, network interface card, sound card, video card, the information terminal software systems comprise operating system, graphic user interface, the Chinese software bag, the terminal access interface software and the telemanagement client software that comprise the WWW browser function, system comprises during operation:
A: information terminal starts module, and this module further comprises:
A1: generate submodule, be used for generating successively Main form and data module, Main form provides and comprises two application marks can surfing the Net with receiving and dispatching mail at least;
A2: abnormality processing submodule;
A3: the shielding submodule is used for shielding harness function key and desktop system;
B: operation module, be used within the predetermined time, by selecting described application mark, the information terminal operation connects the application submodule of network, and mark connection forms are used in generation, surpass the schedule time, information terminal calling system database, and move an application subprogram, under the successful connection state, according to the online mark that Main form provides, generation and operational network are browsed forms, and the receiving and dispatching mail mark that provides according to Main form generates and operation mail forms;
C: the network forms are browsed module, the network browsing forms that described operation module generates provide at least one keyboard applications mark and network address to use mark, and information terminal is according to selecting these two application marks to call soft keyboard submodule and network address selection/input submodule respectively;
D: network address selection/input forms are browsed submodule, this module of network address selection/input forms provides network address mark and dummy keyboard of several common network address, this dummy keyboard contains network address common combinations character string http: //, www .com .net, cn, this module is used for judging whether the network address mark of common network address has required network address, have then select this mark after information terminal move corresponding submodule, then do not select simulating keyboard input network address after information terminal move corresponding submodule;
E: the mail forms are browsed module, the mail forms that generate in described information terminal startup module provide a plurality of forms of cutting apart, one side provides receiving emails, sends out mail, keyboard, the application mark that is similar to navigation bar that withdraws from, call corresponding submodule after the selection, opposite side adopts the multipage control, is divided into receiving emails page controlling sub, sends out mail page controlling sub, voice attachment page controlling sub;
F: update module, described mail forms are browsed the receiving emails in the module and sent out the mail submodule the sequence of operation of upgrading database service information respectively, and to existing information, change is then upgraded, and to new information, then adds database;
G: base class forms generation module, be used for generation and operation to the base class forms, comprising:
G1: display sub-module is used for showing forms in appointment/animation mode;
G2: discharge submodule, be used to discharge forms;
G3: judge submodule, be used to judge whether multimedia file, be then to play described multimedia file, otherwise return, and pick up counting;
H: the base class forms module that works online is used for the base class forms that work online are provided:
H1: display sub-module: be used for showing the system time with certain format;
H2: increase progressively submodule, be used to increase progressively the surf time;
H3: the timing submodule is used for calculating the demonstration surf time according to certain rate.
Described information terminal starts in the module, and Main form also can provide ecommerce and telecommunication service to use mark, and according to selecting the corresponding submodule of operation.
The present invention adopts the programming technique of user oriented object, security of system is stable, powerful and simple to operate, realized foolproof surfing the web, foolproof E-mail service, make the operation of domestic consumer more simple, the setting of post office and use have intelligent, have save user's configuration effort to greatest extent, have simplified operation, cooperate touch-screen in addition, make the user can obtain the service of High Speed I nternet network by shirtsleeve operation.
Embodiment
Public computer system in urban area mainly inserts online by the ISDN private-line mode, it also can pass through the DDN special line, analog of telephone line, frame relay and Ethernet mode insert online, be mainly the user surfing on the net is provided, send and receive e-mail and the telecommunication service propaganda, the telecommunication service inquiry, functions such as ecommerce, with reference to figure 1, information terminal comprises industrial control host plate 1, display screen 2, touch-screen 3, IC-card read write line 4, IC Card Telephone, isdn network termination 5 (NT1) and primary power 9 and hard disk 8, be integrated with CPU6 on the industrial control host plate 1, memory bar 7, sound card circuit 14, video card circuit 15, display screen 2 is connected with video card circuit 15, touch-screen 3 connects the serial port 18 of motherboard 1 through AC-AC converter 17, IC-card read write line 4 is connected with serial port 19, the numeral mouthful (S/T) of isdn network termination 5 (NT1) connects to the ISDN adapter 16 that is arranged on the industrial control host plate 1, simulation mouthful (PHONE) is connected into the telephone control circuit 22 of IC Card Telephone, telephone set partly comprises microphone 24, telephone control circuit 22, speech channel plate 23, hook switch 26 and ring loudspeaker 25, telephone control circuit 22 is integrated on the industrial control host plate 1, the dial (of a telephone) of IC Card Telephone and LCD plate can be cancelled, the dial (of a telephone) input is finished by touch-screen, also has microphone 10 in the information terminal, loudspeaker 11, power amplifier plate 12, fan 13, stabilized voltage supply 20 and the connection terminal 21 that is connected with circumscripted power line.
With reference to figure 2, system's operation beginning 100, at first initialization context 102, show product and copyright information, show that forms are executing main operation back release, consider that whole application program is comparatively complicated, for reducing to compile the back size of application programs, overwhelming majority forms all dynamically generate in program, start in the module at information terminal, have only generated Main form frmcpc and data module dm.Show sliding screen 104 after the initialization, generate Main form frmcpc and data module dm106 then, carry out abnormality processing at abnormality processing submodule 108, when maloperation occurring, dialog box does not appear in the interface, transfers the backstage to by oneself.In order to prevent that because of after external cause withdraws from, user misoperation is destroyed system resource, shielding submodule 110 can shielding harness function key and desktop window, hides, discharges sliding screen frmimage112 then, enters operation module 114 application program that brings into operation at last.
With reference to figure 3 is Main form operation interface process flow diagram, after Main form generates, begin to show Main form 200, enter the service 202 of selecting, if unattended playing advertisements 204 in the certain hour, the selection service that the interface provides is also shown four kinds and is used mark: surf the web, receiving and dispatching mail, telecommunication service (service inquiry, service propaganda), ecommerce, correspondence is put and is turned to network service mark 206 respectively, put and turn to mail service sign 208, generate, operation inquiry forms frmdxywxc210, generate, operation propaganda forms frmdxywxc212, putting to turn to network service mark 206 and put turns to mail service sign 208 to turn to generation side by side, operation connects forms frmcon214, this part is the main interface of application module, the various services that provided can be selected to enter in the interface thus, return main interface after finishing using again, if it is unattended in the certain hour, then begin playing advertisements, promptly call TscreenPro (screen protection) thread.
Be connection flow through a network figure with reference to figure 4, in described operation module, set up and being connected of Internet, after the forms generation, call Card Reader thread TicRead, judge whether to be inserted with network interface card 302, have and then read the card internal information, fill in username and password 304 automatically, otherwise need the user to import username and password 306, do not put dialing parameters 308 then, begin to connect, in connection procedure, but point " cancellation " stops connecting.What realize the dial-up connection function is that this control of Tdialup control has encapsulated RasAPI32, can be with the asynchronous system dial-up connection, and can the control linkage state.Begin to show dial-up connection forms frmcon300 as shown in Figure 4, judge whether to be inserted with card of surfing Internet 302, have and then read username and password 304 in the card, otherwise input username and password 306, dialing parameters, dialing 308 are set then, carry out dial-up connection, and judge dialing result 310, if connect overtime, then withdraw from connection procedure 312, judge whether that then retry connects 318, is then to turn to 302, otherwise returns main interface 324.If connection failure then shows error message 314, judge whether that then retry connects 318.If turn marking 316 is judged in successful connection, if turn to the network service, then generate, move and browse forms frmhtml320, if turn to mail service, then generate, move mail forms frmEmail322.
With reference to figure 5 are web page browsing process flow diagrams of network browsing form module, and the basic function of browser is realized in this part, is ActiveX control TwebBrowser.Call its method GoBack, GoForward, GoHome, Stop, Refresh realization " retreating ", " advancing ", " homepage ", " stopping ", " refreshing " control.In view of the characteristics of touch-screen, need provide the page location locomotive function by browser program, the realization of " on move ", " moving down ", " moving to left ", " moving to right " is put focus SetFocus to the current page or leaf of browsing earlier, simulates the keystroke incident of respective direction key then.Display network is browsed forms 100 during beginning, be connected to default website 402, select network operation 404 then,, then generate if select network address, operation selection/input network address forms frmIsp406, retreat or advance if select, back/forward one step 408 then processes 424 to whether continuing back/forward then, stops if selecting, then stop to link 410, if select to refresh, then refresh link 412, if select homepage, then be linked to homepage 414, if the selection mail then generates, operation receiving and dispatching mail forms frmEmail416 is if select " on move ", " move down ", " move to left " or " moving to right ", then current browsing document is put focus 418, simulate respective direction thump key events 426 then,, then call soft keyboard process 420 if select keyboard, if select off linely, then disconnect network and connect 422.
With reference to figure 6 is that network address selects the input forms to browse the network address forms process flow diagram of submodule, is not having to be linked to arbitrary network address under the situation of keyboard for convenient, and selecting appears in click " network address ", input network address forms frmIsp.Begin to show selection/input network address forms frmisp500, judge whether common Web address field has required network address 502, be then to put to get required network address 506, enter the Web page then and browse forms frmHtml and change selected website 508 over to, otherwise use dummy keyboard input network address and carriage return 504, enter the Web page then and browse forms frmHtml and change selected website 508 over to.Web page browsing forms frmHtml lists network address commonly used in the top, bottom is the simulating keyboard of fixing, numeral, letter key are arranged on the keyboard, and considered network address domain name conventional characters string: http: //, www .com .net .cn etc., pass to web page browsing forms frmHtml after network address is got, is combined into to point.In web page browsing forms frmHtml, click in " mail ", then change the mail service forms over to.Click " keyboard " and then call " soft keyboard " process.
Browse the receiving and dispatching mail interface process flow diagram of module for the mail forms with reference to figure 7, functions such as the transmitting-receiving of this part realization Email and voice attachment, adopt a plurality of Tpanel controls to cut apart forms, realize many Fram (frame) style of similar Web, the left side is similar to navigation bar, can select " receiving emails ", " sending out mail ", " keyboard ", " withdrawing from ", multipage control TnoteBook is adopted on the right, in respect of pgReceive (receiving emails), pgEmailDetail (Mail Contents), pgPost (sending out mail), pgVoice (voice attachment).Begin to show receiving and dispatching mail forms frmEmail600, select type service 602 then, if select " receiving emails ", then show receiving emails page pgReceive604,, then show and send out mail page pgPost606 if select " sending out mail ", if select on " keyboard ", then call keyboard process 608,, then close these forms 610 if select " withdrawing from ".
Use the receiving emails process flow diagram of submodule for receiving emails with reference to figure 8, show the receiving emails page pgReceive700 during beginning, import addressee's mailbox 702 then, and whether this mailbox message 704 arranged in the judgment data storehouse, otherwise input post office server address 706, forward to then collection of letters control Parameter H ost is set, UserID, UserPassword710, be then to fill in post office server address 708 automatically, collection of letters control Parameter H ost is set then, UserID, UserPassword710, judge whether again to connect and login successfully 712, otherwise revise input information 714, return collection of letters control Parameter H ost is set, UserID, UserPassword710 is then to receive letter header file 716, then Pop3 server info 718 in the new database more, show letter header file 720, show selected mail details 722 at last.
With reference to figure 9 are the process flow diagrams that show Mail Contents, receive during beginning and specify mail 800, show Mail Contents page pgEmailDetail802, judged whether annex 804, be then to list all attachment files 806, select to continue file 808 then, and judge file type 810, otherwise judge file type 810, if text, show 812 with Memo, if image file shows 814 with Imago, if audio files, play 816 with MediaPlayer, select mail action 818 then, if deletion, then delete specified file 820, if reply, then show and send out mail page pgPost822, and fill in transmitting-receiving address, post office 828 automatically, if select to check envelope letter/lower seal letter, on then showing/and lower seal letter 824, if return, then return receiving emails page pgReceive826.
With reference to the mail flow figure of Figure 10 for a mail submodule, begin to show a mail page pgPost900, import sender information 902 then, whether this mail mailbox 904 is arranged in the judgment data storehouse, then do not import post office server address 908, have and then fill in post office server address 906 automatically, recipient information input 910 again, the input theme, make a copy for, information 912 such as secretly send, then judging whether to select voice attachment 914, is then to show voice attachment page pgVioce, recorded speech information 916, the control parameter 918 of posting a letter is set then, judge whether voice attachment 920, had and then paste voice attachment information 922, connected smtp server 924 after finishing, send and display result 926 information 928 of STMP server in the final updating database.
With reference to Figure 11 is the process flow diagram of voice attachment function sub-modules, the voice attachment function is realized by MediaPlayer, begin to show voice attachment page pgVoice930, selection operation 932 then, the page provides and begins recording, limit to the time, finish recording, audition, send, return application identity mutually arranged side by side, choosing begins recording, then recorded speech information 934, choose time restriction/end recording, then stop recording and allow audition 936, select audition, then play voice messaging 938, publish and send, then fill in pgPost annex hurdle 940, choosing is returned then to return and is sent out the mail page 942.
With reference to Figure 12 is the renewal database information process flow diagram of update module, and renewal is the realization by post office address learning function: after the sending and receiving mail success, and more Pop3, STMP server info (add fresh information or upgrade existing information) in the new database.Beginning 950 is searched current post office address information 952 in ps_server table, judge whether not find 954, is then to insert this record 956, otherwise judges whether that lookup result and user are used different 958, is then to revise this record 960, finishes 962 at last.
With reference to Figure 13 is the generation of base class forms and the operational flow diagram of base class forms generation module, the base class of most of forms, can realize that forms show/close (being realized by FormAnimate) in the animation mode of appointment, play multimedia files (realizing) by MmqMediaPlayer, functions such as (being realized by Timerl) is returned in unattended time-delay, moves forms by RunForm.The beginning 1000 animation modes with appointment show forms 1002, discharge forms 1004 then, have judged whether multimedia file 1006, and then play multimedia files 1008 is arranged, and time-delay is at last returned timer and picked up counting 1010.
With reference to Figure 14 is the work online realization flows of module of base class forms, and the NetBase forms base class that works online is inherited from frmBase, has realized showing the system time, and functions such as online charging are come timing by SysTimre.Beginning 1020 shows the system time 1022, shows online timing 1024 then, regularly calculates with certain rate at last and shows the surf time 1026.
With reference to the realization flow of Figure 15 for telecommunication service inquiry submodule, multimedia telecommunication service inquiry is realized in this part, though queried for items is various, nested layer by layer, but to the two kinds of forms that show of Query Result: ScrollingText.pas Pagination Display Rtf text and Common Pagination Display Rtf text are also play Mpeg phonotape and videotape file.During with ScrollingText.pas Pagination Display Rtf text, only need to specify Rtf text to be shown, the Rtf text of packing into to be shown with an invisible RichEdit sets font earlier, calculate number of pages, show the first two ten row of Rtf text with 20 clear label then.The Rtf text 1032 that beginning 1030 is packed into to be shown with an invisible RichEdit, then show the first two ten row 1034 of Rtf text with 20 clear label, then judge page turning 1036, if turn over to nextpage, then judging whether and can turn over 1038 downwards, is then to show 20 row under the Rtf text with 20 clear label, if turn over upwards page or leaf, then judging whether and can upwards turn over, is then to show 20 row 1044 on the Rtf text with 20 clear label.Common Pagination Display Rtf text and to play steps flow chart and the ScrollingText. of Mpeg phonotape and videotape file basic identical, only many broadcasts of the audio-video file of Mpeg.
With reference to Figure 16 is telecommunication service propaganda submodule realization flow, multimedia telecommunication service propaganda is realized in this part, specify Mpeg phonotape and videotape file and play position to be played to get final product during use, flow process is: begin to show telecommunication service propaganda forms formdxywxc1050, select propaganda item 1052 then, if select domestic greeting telegram, 200 calling card services or public data communications option, the promotional content that then displays the play forms formdxywxc21054, and at appointed area broadcast appointment Mpeg file 1056, if select the wireless traffic option, the wireless traffic that then displays the play propaganda forms formdxywxc1058, and select propaganda item 1058, play selected Mpeg file 1062 at last in the appointed area.