CN102347953B - Media service method based on 3G (third generation) mobile communication - Google Patents

Media service method based on 3G (third generation) mobile communication Download PDF

Info

Publication number
CN102347953B
CN102347953B CN201110307090.5A CN201110307090A CN102347953B CN 102347953 B CN102347953 B CN 102347953B CN 201110307090 A CN201110307090 A CN 201110307090A CN 102347953 B CN102347953 B CN 102347953B
Authority
CN
China
Prior art keywords
media server
media
server
access
management server
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.)
Expired - Fee Related
Application number
CN201110307090.5A
Other languages
Chinese (zh)
Other versions
CN102347953A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201110307090.5A priority Critical patent/CN102347953B/en
Publication of CN102347953A publication Critical patent/CN102347953A/en
Application granted granted Critical
Publication of CN102347953B publication Critical patent/CN102347953B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a media service method based on 3G (third generation) mobile communication. In the method, a wireless local area network structure using a user terminal as a leaf node and a media server as a root node is constructed, and a plurality of media servers are controlled by a management server which serves as an upper computer to access a wide area network, wherein access authority is set for the user terminal, an authorized user terminal can access the wide area network, while an unauthorized user terminal can only access local resources of the wireless local area network; and the management server manages a media server to access the wide area network by virtue of a 3G communication module so as to update the local resources of the media server. According to the media service method, a user has high selectivity when receiving services.

Description

Based on the media service method of 3G mobile communication
Technical field
The present invention relates to a kind of media service method based on 3G mobile communication.
Background technology
The vehicle information service system of the various uses realizing based on mobile communication technology at present, mainly provides following application mode:
(1) vehicle operating rule monitoring
By GPS(Global Positioning System, global positioning system) location and mobile communication technology, Surveillance center can Real-time Obtaining vehicle geographical location information, travel condition of vehicle information (as distance travelled, speed, direction etc.), by the processing to these data, judge whether vehicle violates " operation rule " of prior formulation, if violated set " operation rule ", vehicle is controlled, as warning, power-off, oil-break etc.
(2) Vehicular video monitoring
By vehicle-mounted video and audio coding and mobile communication technology, the audio-video signal of vehicle position is transferred to Surveillance center, Surveillance center can carry out digitized storage, real time monitoring and monitoring etc. to audio-video signal, and Surveillance center can remotely controlling vehicle mounted video camera.
(3) automatic navigator
Automatic navigator uses the most general, does not need wireless communication technology.According to the cartographic information storing, utilize GPS location, provide the geography information when vehicle in front position, as the position on map, speed, traffic direction etc., for arriving destination smoothly, driver provides guide.
(4) 3G router
Use and share or NAPT(Network Address Port Translation, network port address transition), wherein the latter is mapped as multiple home addresses a legal public network address exactly, but number corresponding from different home addresses with different protocol ports.The namely conversion between < home address+internal port > and < external address+outside port >.NAPT is generally for access device, and it can be by middle-size and small-size network concealed after a legal IP address.3G router provides wired or wireless access function, but there is no localized storage, and generally adopts single 3G module.
(5) in-car TV
Use VCR(Video Cassette Recorder, video cassette recorder) player and monitor, by manually or manually giving the information such as passenger's movie, and interspersed advertisement, weather and lodging.
From above five kinds of main application modes, current vehicle information service system mainly uses mobile communication technology, GPS location technology and audio/video coding technology that geographic information services and audio frequency and video service are provided, and the content providing by these technology and service, realize monitoring and controlling function, or develop on this basis the application of Industry-oriented, as health examination of law enforcement etc.
The service content of above function, be mainly for specific industry (as the monitoring of the running orbit of logistics company to vehicle), specifically need (as the video monitoring system of public transit system) and simple access (as 3G router), it exists following what time not enough:
(1) non expansivity, or autgmentability is not strong.Main cause is that the system core is generally embedded system, and function has cured.
(2) service field is narrow, function singleness.Existing application is mainly for driver and the manager of vehicle, or for the consideration of public safety, not for public transport user---passenger provides service.
(3) local access mode cannot meet networking requirement.Existing product is mainly to provide access by the mode of RS232, RS485 or wired ethernet, and along with the universal of individual laptop computer and mobile phone wireless function of local area network and development, existing local access mode cannot meet the demands.
(4) without the storage of large capacity localization, can not provide content service for user.
(5) content not possessing based on geography information is precisely thrown in function.
(6) user does not have the freedom of initiatively selecting, can only passive viewing film, advertisement, weather or other information.
Summary of the invention
The object of the present invention is to provide a kind of media service method based on 3G mobile communication, make user accept service and have more selectivity.
The present invention is by the following technical solutions:
The media service method of this invention based on 3G mobile communication builds the WLAN structure taking user terminal as leaf node and taking media server as root node, and multiple media servers are controlled by the management server access wide area network as its host computer;
Wherein user terminal is set to access rights, authorizes user terminal can be accessed wide area network, and unauthorized user terminal can only be accessed the local resource of place WLAN;
And access wide area network by described management server management of media server through 3G communication module, to upgrade the local resource of media server.
According to said method, user can be the in the situation that of with no authorized choice for use local resource, and can enjoy the resource on wide area network in the situation that authorizing, and local resource is also open, can carry out regularly or use less in the situation that and upgrade in media server resources local resource, improve user and accept the selectivity of service.Meanwhile, the operating system that is loaded with of media server of access wide area network need to not re-use embedded system because of access network, configure more flexible, the service that provides more.
The above-mentioned media service method based on 3G mobile communication, described 3G communication module coupling has the method again resetting in the time of its deadlock, this method again resetting comprises puts through set all dial-up connections to online 3G communication module, and then send INTERNET Internet Control Message Protocol detection packet at least three known websites, and then receive the ICMP respond packet of beaming back described website, whether verification dialing connects in connection status, forms the first verification method; And judge that periodically the validity of corresponding connection handle is with the second verification method of the connection status of confirmation dial-up connection;
If the one in above-mentioned two kinds of verification methods occurs abnormal, indicate dial-up connection to occur interrupting, and then initiatively close connection, dialing again;
If when dialing occurs that unsuccessful number of times exceedes 3 times, described 3G communication module resets;
Use periodically described the first verification method and the second verification method.
The above-mentioned media service method based on 3G mobile communication, every configuration information that media server is managed all dial-up connections are set by broadband access according to multiple dial-up connections of network address protocol conversion method setting; By network address protocol conversion and described configuration information, make the user side in current media server share the bandwidth that corresponding multiple dial-up connections access.
The above-mentioned media service method based on 3G mobile communication, the mode that user authenticates the access rights that adopt crew member that access code is provided or to set to the particular user open-destination of demarcating with physical address and IP address authenticates.
The above-mentioned media service method based on 3G mobile communication, management server carries out overtime administrative mechanism to user, reaches after setting-up time when the access time, and the authentication state of relative users becomes inefficacy.
Media service method based on 3G mobile communication according to claim 1, it is characterized in that, media server gathers the network operation data of the WLAN taking this media server as root node on its place carrier running route, every fixed time-interval sampling once, and then with sampling current time, place route allocation together generates a record, after reaching setting threshold, local record number uploads management server, and delete local data, management server together stores the data that receive into together with respective media server ticket in the database of management server,
Generate statistics according to network operation data on media server place carrier one working line of database storage in a period of time, and by this statistics of client program calls and show the statistics of described network operation data with graphics mode.
The above-mentioned media service method based on 3G mobile communication, described place route allocation is taken from vehicle GPS, and data sampling employing regular time interval is specially 10 seconds.
The above-mentioned media service method based on 3G mobile communication, described record is preserved taking the GPS information that is loaded with and temporal information as index.
The above-mentioned media service method based on 3G mobile communication, user is connected to after affiliated media server by place WLAN, when any Web website of maiden visit, current media server pushes the home server page by Web page reorientation method to relative users.
The above-mentioned media service method based on 3G mobile communication, it is characterized in that, media server need configure be connected in management server IP address and port numbers, self be used as the certification sequence number of id number and user name, password and the dialed number of the dial-up connection of 3G communication module;
After media server starts, first carry out access authentication to management server, be specially: media server sends to management server the result access request that its id number and password calculate through MD5 algorithm after startup; Management server authenticates correlation ID number and password receiving after this request, if authentication success will be asked, respective media server is set as to active state, otherwise will not answers simultaneously;
Media server exits and is allowed to be expressed as normally with request and exits, and this media server of management server is set to inactive state; If media server exits extremely, management server uses heartbeat mechanism judgement extremely to exit the active state of media server.
Brief description of the drawings
Fig. 1 is according to a kind of composition of the media service system based on 3G mobile communication schematic diagram of the present invention;
Fig. 2 is according to a kind of management server hardware structure diagram of the present invention;
Fig. 3 is according to a kind of media server access process chart of the present invention;
Fig. 4 is according to a kind of media server heartbeat flow chart of the present invention;
Fig. 5 is according to a kind of user authentication process flow chart of the present invention;
Fig. 6 is according to a kind of radio network optimization Data Collection of the present invention, storage and statistical analysis program flow chart;
Fig. 7 is the complete machine composition schematic diagram according to a kind of media server of the present invention;
The circuit theory diagrams that Fig. 8 is the 3G communication board that uses according to a kind of scheme of the present invention;
The circuit theory diagrams that Fig. 9 is the 3G power panel that uses according to a kind of scheme of the present invention;
Figure 10 is according to user's IP Information On Demand program flow diagram of the present invention;
Figure 11 is according to a kind of dial-up connection state-detection of the present invention and 3G module hardware reset routine flow chart;
Figure 12 is according to a kind of network address protocol conversion of the present invention (NAPT) program flow diagram.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the invention will be further described.
(1) overview: can be applied in public transport according to the media service method based on 3G mobile communication of the present invention, also can be arranged on the intensive region of WLAN user, as station, bar, restaurant etc., lay particular emphasis on and be applied in public transport.
Based on the media service system of 3G mobile communication, the system that the media service method based on 3G mobile communication namely runs on realizes WLAN (WLAN by media server, Wireless Local Area Networks) covering, for user provides WLAN access, simultaneously, it possesses the function of wired or wireless 3G broadband router, and user can be by the broadband router function access the Internet of media server.Under the management of management server and controlling, media server can provide information service for user, as the watching online of film, weather and geography information etc.
Wherein, referring to Figure of description 1, build the WLAN structure taking user terminal as leaf node and taking media server as root node, to meet user's WLAN access, multiple media servers are controlled by the management server access wide area network as its host computer, management server adopts rack-mount server, and a management server can access 1024 media servers; Between management server and media server, realize transmission and the exchange of data and information with ICP/IP protocol by the Internet;
Wherein user terminal is set to access rights, authorizes user terminal can be accessed wide area network, and unauthorized user terminal can only be accessed the local resource of place WLAN;
And access wide area network by described management server management of media server through 3G communication module, to upgrade the local resource of media server.
Media server is the equipment taking industrial control mainboard as core, can be arranged in public transport, also can be arranged on fixed-site, as places such as restaurant, bar, hotel, stations.
The management software of management server is one group of software running in WINDOWS SERVER 2005 operating systems, comprises SQL SERVER 2005 Database Systems, media servers manage software.Management server has two kinds of deployment way, a. stand-alone type; B. Double-machine type.The preferred WINDOWS SERVER 2005 of operating system of management server.In stand-alone type deployment scheme, need 1 rack server, above management server program and SQL SERVER 2005 Database Systems are all arranged on.Server via Ethernet and switch or router are connected to the Internet.In Double-machine type deployment scheme, need 2 rack servers, management server program and SQL SERVER 2005 Database Systems are arranged on respectively on different rack servers, and two-server is connected to the Internet by Ethernet and switch or router equally.Concrete which kind of form that adopts, need to determine according to the performance of the scale of system and rack server.
The configuration of management server needs following information: the sequence number of a. media server, as the ID of media server identity; B. line information (media server is deployed in the situation in public transport) or the fixing point information (media server is deployed in as the situation of the fixed-sites such as restaurant, bar, hotel, station) of media server operation; C. user name and initial password, attendant can distribute to accordingly associated user and use; D. keeper's account information, the person of managing management; E. radio network optimization DAP user name and account information.
Media server is an embedded device taking miniature industrial control mainboard as core, and operation WINDOWS XP operating system, does not re-use embedded system, and installation and deployment IIS 5.1 WEB servers.Media server forms the main body of the media service system based on 3G mobile communication.Media server need configure be connected in management server IP address and port numbers, self be used as the certification sequence number of id number and user name, password and the dialed number of the dial-up connection of 3G communication module, convenient certification and operation;
After media server starts, first carry out access authentication to management server, be specially: media server sends to management server the access request that is packaged with its id number and password after startup; Management server authenticates correlation ID number and password receiving after this request, if authentication success will be asked, respective media server is set as to active state, otherwise will not answers simultaneously;
Media server exits and is allowed to be expressed as normally with request and exits, and this media server of management server is set to inactive state; If media server exits extremely, management server uses heartbeat mechanism judgement extremely to exit the active state of media server.
(2) describe in detail:
1, management server, management server is to be mainly made up of one group of rack-mount server and the network equipment on hardware, Figure of description 2 is hardware structure diagrams of management server.Rack server preferably adopts 4 central processing units, storage aspect adopts RAID3(Redundant Array of Independent Disk, raid-array) storage backup scheme, capacity 1T, network service adopts GByte Ethernet to be connected with switch or router.
SQL SERVER 2005 Database Systems that management server loads are business database systems.
The realization of the media services management function of management server be unable to do without the cooperation of media server, in fact, these functions are all that the two completes jointly, therefore, in the time specifically introducing the execution mode of management server, illustrate in the lump together with the partial function of media server.
Between media server and management server, realize the exchange of data and information by the Internet and ICP/IP protocol.
After media server starts, first media server carries out access authentication to management server, detailed process sees Figure of description, access conscientious concrete implementation step as follows: after a. media server starts, the sequence number that this locality is preserved sends to management server by encrypting acquired results as the verification msg of access request after MD5 algorithm; B. management server receives after this request, compares with the MD5 of sequence number preserving, if find identically, just responds this request, otherwise will not respond, and the media server of management server legitimate request is set to active state; C. media server receives the confirmation after the response of access, submits verify data to, and verify data comprises the information such as fixed line number or place numbering of this media server, and confirmation data are preserved and returned to management server after receiving this information; D. in the time that media server is closed, media server sends and exits request, and management server receives after the request of exiting, and send and confirm response, and the state that this media server is set is inactive state.
A kind of situation is that media server is abnormal, as power-off etc., management server judges the active state of media server with heartbeat mechanism, after media server access, interval 90 second period send heartbeat signal, if management server does not receive this signal within 3 continuous cycles, just think that media server exits extremely.More specifically, see Figure of description 4.
The process that user authenticates refers to that WLAN user realizes registration and the certification of user identity by the WLAN access module of the media server as current WLAN root node, user by certification can pass through media server accesses the Internet, and local resource that can only access medium server by the user who authenticates.
A kind of execution mode of user authentication process is for being divided into generally three steps, referring to Figure of description 5.
Wherein access procedure: access procedure refers to that user is connected to the WLAN access point of media server by WLAN, become the process of a main frame of WLAN (wireless local area network).In this process, be mainly that the WLAN access point of media server is to user's radio network interface distributing IP (Internet Protocol, the agreement interconnecting between network) address and DNS(Domain Name System, domain name system) server address.The MAC(Medium Access Control of media server recording user terminal simultaneously, media access control layer) address and IP(Internet Protocol, the agreement interconnecting between network) address, the authorization information while registration as user.
More specifically, a kind of method that WLAN user who combines by WEB page reorientation technology and usemame/password authenticates.Step is as follows: a. user is connected to after media server by WLAN, and when any WEB website of maiden visit, media server pushes the page of home server to WLAN user by WEB page reorientation technology; B. user, by this page and the username and password obtained in advance, realizes the certification of user identity; C. by the user after certification, can use the 3G broadband access function accessing Internet of media server, also can local resource access, the user of unauthenticated can only access local free resource; D. management server carries out timing to user, and when reaching after official hour, management server sends overtime instruction to media server, and this user just can not use media server accessing Internet.
User authentication information is divided into two kinds as previously mentioned, the username and password that a kind of crew member of being provides to passenger, and another is physical address and the IP address of user's wlan device network interface card.
The invention has the beneficial effects as follows: by using physical address and IP address, can prevent usurping of username and password, protection paying passenger's rights and interests.
Registration process is: registration process is that user is submitted to media server by the WEB page by the username and password of obtaining in advance, media server sends user's IP address, MAC Address to management server, and the MD5 value of username and password, MD5 value and the user name of the password of management server and preservation are verified, if by checking, send authentication success, otherwise send the response of authentification failure, media server keeps synchronizeing of user authentication information and result with management server.
User exits step: user exits simple overtime the exiting of preferred employing, and from authentication success completes, management server starts timing, and when reaching after the time of appointment, this user's authentication state becomes inefficacy, and user can not re-use WLAN and be connected to the Internet.
Referring to Figure of description 6, management server has the treatment step of the network operation data such as the collection of radio network optimization Monitoring Data and storage.Media server is responsible for collection network optimization monitoring data, the mode gathering is according to corresponding system deployment scenario, adopt route or fixed location to carry out cycle collection, the time interval gathering was 10 seconds, whole 10 number of seconds in the time gather, ensure like this time consistency of image data, after media server image data by the time, geography information and network optimization Monitoring Data are stored on local hard drive as 1 record, when data accumulation is after some, data are sent to management server by media server, and delete local historical data.Management server is receiving after the transmission data of media server, stores data in its database, and the data of storing should comprise media server ID or other identification informations certainly, to distinguish.
Result according to above-mentioned network operation data can provide reference to the operation of subsequent media server, especially user's reference.So, related media server downloads to data that result forms behind this locality, can be kept in local temporary files, these data are all monitoring records of a certain media server running route, monitoring record is arranged according to time order and function order, first client-side program carries out preliminary treatment to data, be organized into according to the set of records ends of once moving generation, these are integrated on longitude and latitude (obtaining by GPS) and overlap, and these set are presented on interface in the mode of figure.Maximum, minimum value, mean value and four kinds of statistical methods of root-mean-square value of related data can be provided as required, add up for the selected circuit of user, place, place section respectively.
The advantage of the method is: the stationarity of utilizing public transport working line, can within the longer time interval, carry out repeated measurement and supervision to this fixed line, be convenient to adopt statistical method to analyze the radio signal quality of circuit, overcome the uncertainty of single measurement.
2, media server, is mainly used in realizing: the hardware implementation of a. media server is realized; B. the media server relevant with management server access, user authenticate and collect with radio network optimization Monitoring Data and the execution mode of memory function; C. the realization of media server standalone feature.Configure independently media servers manage module, comprise application layer module and driver module, the former can be by developing under Visual C++ 6.0 development environments, and the latter can compile under WINDOWS XP DDK environment.
Second in three realizations of media server relates to above, describes in detail at this about other two.
Referring to Figure of description 7, a kind ofly preferably select to be that its structure adopts 3.5 inches of miniature industrial control mainboard of CTN-BA0135E, is configured in .3G communication board, 3G power panel, hard disk bracket and hard disk on this mainboard, fan. support soft AP(Wireless Access Point, be wireless access points) WLAN module, and casing.Funtion part couples together by cable.
Referring to Figure of description 8,3G communication module is preferably chosen as whole of a kind of circuit board, forms a 3G communication board, comprising:
Power supply conversion, converts the 5V power supply of input to 3.3V power supply, for 3G module, adopts the method for linear transformation, and maximum can provide the electric current output of 3A;
.3G module, can support 2 PCI-E 3G modules, supports WCDMA, CDMA EVDO and tri-kinds of 3G modules of TD-SCDMA to load in mixture;
3G module control circuit, miniature industrial control mainboard is delivered to 3G communication board by cable and interface by control signal, after this control circuit is processed, be used for controlling and the state of monitoring 3G module, as power on, reset and connection status monitor;
Vision indicating circuit, comprises mainboard vision indicating circuit and 3G module vision indicating circuit, all adopts the form of LED light;
Usb circuit, miniature industrial control mainboard is carried out transfer of data by this interface and 3G communication board, realizes dialing, internet login and provides broadband access function for user.
The interface specification of 3G communication board is as shown in the table.
Sequence number Title Direction Specification
1 Power supply input Input 5V DC@2000mA
2 Module interface 1 Two-way USB2.0
3 Module interface 2 Two-way USB2.0
4 Control and state interface Two-way LVTTL
5 Industrial control mainboard running status interface Input LVTTL
Figure of description 9 is circuit theory diagrams of 3G power panel.3G power panel is divided into two types, and direct-current input-type and ac-input type are shown in respectively (a) of Fig. 9 and (b).No matter which kind of form, 3G power panel mainly comprises following several part: a. surge protection; B.12V/1.67A power supply conversion portion; C.5V/4A power supply conversion portion.
Corresponding, media server is also divided into two kinds of direct-current input-type and ac-input types.
Once two tables are respectively the interface specifications of direct-current input-type and ac-input type 3G power panel.
DC power supply plate interface specification
Sequence number Title Direction Specification
1 Power supply input Input 9V~36V
2 The output of 12V/1.67A power supply Output to industrial control mainboard 12V@1670mA
3 The output of 12V/0.1A power supply Output to fan 12V@100mA
4 The output of 5V/4A power supply Output to 3G communication board 5V@4000mA
AC power plate interface specification
Sequence number Title Direction Specification
1 Power supply input Input 165V AC~265V AC
2 The output of 12V/1.57A power supply Output to industrial control mainboard 12V@1570mA
3 The output of 12V/0.1A power supply Output to fan 12V@100mA
4 The output of 5V/4A power supply Output to 3G communication board 5V@4000mA
Hard disk bracket and hard disk are the memory units of media server, adopt solid state hard disc, can effectively resist the damage of Vehicular vibration to the mechanical storage medium of tradition.Hard disk is connected with miniature industrial control mainboard by SATA interface.
Fan adopts AD0312HX-K70, is the compact low power fan of ADDR company, 12V direct current supply, maximum operating currenbt 50mA, air quantity 3.61CFM.
Support the WLAN module of soft AP to adopt the full card module of PCI-E of the Taiwan RT3090 of Lei Ling company chipset, support IEEE 802.11 b/g/n, this module adopts double antenna, is transferred on cabinet by miniature antenna interface.
The independent utility of media server shows user's program request; Dial-up connection state-detection and 3G module hardware reset; C. network address protocol conversion (Network Address Port Translation, NAPT) program.
User's order method is expressed in Figure of description 10 in detail, and this process relates to IIS(Internet Information Services, and Internet Information Service is the service that WINDOWS XP system carries) server.User, by the network address of IE browser input system, has just entered the page of Information Selection, inputs the program request that realizes user profile with media server WEB program interaction by user.
This program will be installed IIS 5.1 servers before use to media server, and the ASP.NET project file of the WEB website of developing according to Figure of description 10 is copied under wwwroot catalogue.
A kind of method that media server has used accurate detection dial-up connection state and in the time of 3G module deadlock, it resetted again.Due to the time variation of mobile radio networks, interrupting often appears in dial-up connection, and 3G module, due to self software defect or signal interference, also there will be the situation of deadlock, these situations can cause the interruption of dial-up connection, affect passenger and use 3G broadband access function.This method monitors the state of dial-up connection by two kinds of measures of software and hardware, and take appropriate measures in the time interrupting, dial-up connection state-detection and 3G module hardware repositioning method flow chart see Figure of description 11, described 3G communication module coupling has the method again resetting in the time of its deadlock, this method again resetting comprises puts through set all dial-up connections to online 3G communication module, and then transmission INTERNET Internet Control Message Protocol (Internet Control Message Protocol, ICMP) detection packet is at least three known websites, and then receive the ICMP respond packet of beaming back described website, whether verification dialing connects in connection status, form the first verification method, and judge that periodically the validity of corresponding connection handle is with the second verification method of the connection status of confirmation dial-up connection,
If the one in above-mentioned two kinds of verification methods occurs abnormal, indicate dial-up connection to occur interrupting, and then initiatively close connection, dialing again;
If when dialing occurs that unsuccessful number of times exceedes 3 times, described 3G communication module resets;
Use periodically described the first verification method and the second verification method.
Cycle calls WINDOWS api function RasGetConnectionStatistics and can judge that the validity that connects handle is to confirm the connection status of dial-up connection.
NAPT is the conversion regime of realizing user and access broadband internet, is also the familiar a kind of conversion regimes of people.NAPT is widely used in access device, and it can be by middle-size and small-size network concealed after a legal IP address.NAPT is different from pooled NAT, and it connects inside on the independent IP address being mapped in external network, adds a tcp port number of being selected by NAT device simultaneously on this address.
NAPT is that the variant of a kind of more popular NAT provides concurrency by changing TCP or udp protocol port numbers and address.Except a pair of source and destination IP address, also comprise a pair of source and destination protocol port number, and a protocol port number of NAT box use.
The main advantage of NAPT is, can use a global valid ip address to obtain versatility.Major defect is that its communication only limits to TCP or UDP.As long as all communication all adopts TCP or UDP, NAPT just allows many outer computers of an inner computer access, and allows same outer computer of many inside host access, can not clash each other.
In this conversion method, it is most important having two data structures: a. dial-up connection handle and dial-up connection virtual mac address; B. the address protocol mapping table taking IP address-port address as index.The handle of dial-up connection converts the virtual mac address of dial-up connection to by certain algorithm, save, for carrying out address protocol when conversion.Address protocol mapping table taking IP address-port address as index has been preserved the packet information that receives and be forwarded to dial-up connection from WLAN, when from dial-up connection receives packet, can instead look into this packet according to this mapping table and should send to obtain the host IP address of wlan network, thereby realize complete NAPT.
For balancing flow, in the time carrying out NAPT, program determines to be forwarded in which dial-up connection according to the traffic statistics information of each dial-up connection, to realize the equilibrium of flow.Traffic statistics information comprises bandwidth and response time two parameters.
Further, on WINDOWS XP SP3 platform, use the NAPT method of 2 or multiple dial-up connections simultaneously.This method is that equipment interface specification Network Based (Network Driver Interface Specification, NDIS) and NAPT realize.Step is as follows: a., by the broadband access hypervisor of moving on media server, arranges the configuration information of all dial-up connections; B. broadband access hypervisor is according to the configuration information of dial-up connection, dial, and monitor the state of dial-up connection, in the time that dial-up connection disconnects extremely, again dialing, to maintain connection, calculates the physical vlan address of dial-up connection according to the handle connecting, and be stored in internal memory, for NAPT; C. by mini-port and the protocol port intermediate driver of NDIS, intercept and capture the IP packet on wlan network interface, by analyzing the header information of packet, determine whether mini-port and protocol port forwarding data bag by dial-up connection, forward if needed, use NAPT conversion to carry out address and port address conversion to packet, send in dial-up connection by the protocol port of NDIS, generate a Visitor Logs simultaneously; D. the packet that dial-up connection receives, through contrary NAPT conversion, sends to wlan network interface by mini-port and the protocol port intermediate driver of NDIS.Through 4 steps, multiple WLAN users can share the bandwidth of multiple 3G WiMAX accesses.

Claims (9)

1. the media service method based on 3G mobile communication, it is characterized in that, build the WLAN structure taking user terminal as leaf node and taking media server as root node, multiple media servers are controlled by the management server access wide area network as its host computer;
Wherein user terminal is set to access rights, authorizes user terminal can be accessed wide area network, and unauthorized user terminal can only be accessed the local resource of place WLAN;
And access wide area network by described management server management of media server through 3G communication module, to upgrade the local resource of media server;
Wherein the local resource of media server carried out regularly or use less in the situation that and upgrade in media server resources;
Described 3G communication module coupling has the method again resetting in the time of its deadlock, this method again resetting comprises puts through set all dial-up connections to online 3G communication module, and then send INTERNET Internet Control Message Protocol detection packet at least three known websites, and then receive the ICMP respond packet of beaming back described website, whether verification dialing connects in connection status, forms the first verification method; And judge that periodically the validity of corresponding connection handle is with the second verification method of the connection status of confirmation dial-up connection;
If the one in above-mentioned two kinds of verification methods occurs abnormal, indicate dial-up connection to occur interrupting, and then initiatively close connection, dialing again;
If when dialing occurs that unsuccessful number of times exceedes 3 times, described 3G communication module resets;
Use periodically described the first verification method and the second verification method.
2. the media service method based on 3G mobile communication according to claim 1, it is characterized in that every configuration information that media server is managed all dial-up connections are set by broadband access according to multiple dial-up connections of network address protocol conversion method setting; By network address protocol conversion and described configuration information, make the user side in current media server share the bandwidth that corresponding multiple dial-up connections access.
3. the media service method based on 3G mobile communication according to claim 1 and 2, it is characterized in that, the mode that user authenticates the access rights that adopt crew member that access code is provided or to set to the particular user open-destination of demarcating with physical address and IP address authenticates.
4. the media service method based on 3G mobile communication according to claim 3, is characterized in that, management server carries out overtime administrative mechanism to user, reaches after setting-up time when the access time, and the authentication state of relative users becomes inefficacy.
5. the media service method based on 3G mobile communication according to claim 1, it is characterized in that, media server gathers the network operation data of the WLAN taking this media server as root node on its place carrier running route, every fixed time-interval sampling once, and then with sampling current time, place route allocation together generates a record, after reaching setting threshold, local record number uploads management server, and delete local data, management server together stores the data that receive into together with respective media server ticket in the database of management server,
Generate statistics according to network operation data on media server place carrier one working line of database storage in a period of time, and by this statistics of client program calls and show the statistics of described network operation data with graphics mode.
6. the media service method based on 3G mobile communication according to claim 5, is characterized in that, described place route allocation is taken from vehicle GPS, and Fixed Time Interval is 10 seconds.
7. the media service method based on 3G mobile communication according to claim 5, is characterized in that, described record is preserved taking the GPS information that is loaded with and temporal information as index.
8. the media service method based on 3G mobile communication according to claim 1, it is characterized in that, user is connected to after affiliated media server by place WLAN, when any Web website of maiden visit, current media server pushes the home server page by Web page reorientation method to relative users.
9. the media service method based on 3G mobile communication according to claim 1, it is characterized in that, media server need configure be connected in management server IP address and port numbers, self be used as the certification sequence number of id number and user name, password and the dialed number of the dial-up connection of 3G communication module;
After media server starts, first carry out access authentication to management server, be specially: media server sends the access request of the result that its id number and password calculate through MD5 algorithm after startup to management server; Management server authenticates correlation ID number and password receiving after this request, if authentication success will be asked, respective media server is set as to active state, otherwise will not answers simultaneously;
Media server exits and is allowed to be expressed as normally with request and exits, and this media server of management server is set to inactive state; If media server exits extremely, management server uses heartbeat mechanism judgement extremely to exit the active state of media server.
CN201110307090.5A 2011-10-12 2011-10-12 Media service method based on 3G (third generation) mobile communication Expired - Fee Related CN102347953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110307090.5A CN102347953B (en) 2011-10-12 2011-10-12 Media service method based on 3G (third generation) mobile communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110307090.5A CN102347953B (en) 2011-10-12 2011-10-12 Media service method based on 3G (third generation) mobile communication

Publications (2)

Publication Number Publication Date
CN102347953A CN102347953A (en) 2012-02-08
CN102347953B true CN102347953B (en) 2014-10-29

Family

ID=45546241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110307090.5A Expired - Fee Related CN102347953B (en) 2011-10-12 2011-10-12 Media service method based on 3G (third generation) mobile communication

Country Status (1)

Country Link
CN (1) CN102347953B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130223230A1 (en) * 2012-02-27 2013-08-29 Qualcomm Incorporated Serving Multiple Subscribers Through a Software-Enabled Access Point
CN102821325B (en) * 2012-08-22 2015-07-08 刘利华 Information interaction system and method based on community wireless nodes
CN103248544B (en) * 2013-05-15 2016-12-28 赵梓权 WLAN information access method and system for extensive dense population
US10623502B2 (en) 2015-02-04 2020-04-14 Blackberry Limited Link indication referring to content for presenting at a mobile device
TW201721498A (en) * 2015-12-01 2017-06-16 Chunghwa Telecom Co Ltd Wired area network user management system and method with security and function scalability wherein a network controller is used to control a programmable network switch, and divert a non-authenticated terminal device to an authentication server
CN106850355B (en) * 2017-02-24 2020-06-16 上海微喂网络科技有限公司 Full-time monitoring intelligent heartbeat method applied to real-time talkback network
CN109510750B (en) * 2018-11-22 2020-09-08 苏州浪潮智能科技有限公司 Circuit board, server and server network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728663A (en) * 2004-07-30 2006-02-01 神州亿品科技(北京)有限公司 Mobile access controller, mobile locak area network and metropolitan area network, and access method
EP1630690A1 (en) * 2004-08-31 2006-03-01 Arizan Corporation Method for viewing document information on a mobile communication device
CN201114135Y (en) * 2007-08-21 2008-09-10 上海鸣啸实业发展有限公司 Traffic guide information alternating issue device for public space
CN201355861Y (en) * 2009-01-21 2009-12-02 上海遥薇实业有限公司 Continuous real-time mobile video monitoring system of bus based on WIFI metropolitan area network
CN101783931A (en) * 2009-01-21 2010-07-21 上海遥薇实业有限公司 Bus continuous real-time mobile video monitoring system
CN101917503A (en) * 2010-08-10 2010-12-15 候万春 Telephone terminal, system and method for supporting automatic collocated multimedia message service

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728663A (en) * 2004-07-30 2006-02-01 神州亿品科技(北京)有限公司 Mobile access controller, mobile locak area network and metropolitan area network, and access method
EP1630690A1 (en) * 2004-08-31 2006-03-01 Arizan Corporation Method for viewing document information on a mobile communication device
CN201114135Y (en) * 2007-08-21 2008-09-10 上海鸣啸实业发展有限公司 Traffic guide information alternating issue device for public space
CN201355861Y (en) * 2009-01-21 2009-12-02 上海遥薇实业有限公司 Continuous real-time mobile video monitoring system of bus based on WIFI metropolitan area network
CN101783931A (en) * 2009-01-21 2010-07-21 上海遥薇实业有限公司 Bus continuous real-time mobile video monitoring system
CN101917503A (en) * 2010-08-10 2010-12-15 候万春 Telephone terminal, system and method for supporting automatic collocated multimedia message service

Also Published As

Publication number Publication date
CN102347953A (en) 2012-02-08

Similar Documents

Publication Publication Date Title
CN102347953B (en) Media service method based on 3G (third generation) mobile communication
CN104486835B (en) A kind of positioner based on WAP and video monitoring
US9600726B2 (en) Receiving link approval from remote server to provision remote electronic device associated with user account
US8327432B2 (en) Self-initiated end-to-end monitoring of an authentication gateway
US9344883B2 (en) System and method for wide area wireless connectivity to the internet
CN103827866B (en) Network connection formula WMG for communication network
CN105580314A (en) Apparatus and method by which user device in home network system transmits home-device-related information
KR20140023957A (en) Method of distributing information regarding one or more electrical devices and system for the same
CN101467131A (en) Network user authentication system and method
CA2813906A1 (en) Automatic client device location detection within hospitality establishment
CN101247396A (en) Method, device and system for distributing IP address
KR101127794B1 (en) Judgement system for location of network idendifier and method thereof
CN108199869A (en) For the wireless MAN and its safety management system of education sector
CN105278489A (en) Intelligent home system
CN105592062A (en) Method and device for remaining IP address unchanged
CN109617753A (en) A kind of platform management method, system and electronic equipment and storage medium
CN107018360B (en) A kind of adding method of IPC, apparatus and system
US9584370B2 (en) Network card with searching ability, monitoring device with the network card, and searching method used for the same
CN101867583A (en) Network video releasing method and system thereof
CN105827522A (en) Gateway equipment for processing log files
CN106161499A (en) Off-line acquisition system for WLAN
CN102647435A (en) Police network monitoring system
CN106161048A (en) Audit terminal and the wireless auditing system with this audit terminal
KR101222382B1 (en) Wireless access points sharing method between users based in community and system therefor
CN104238477A (en) Intelligent building weak current system operating method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141029

Termination date: 20191012