CN1558573A - Method for communication between dispatching / monitoring center and terminal in vehicle GPRS networks - Google Patents

Method for communication between dispatching / monitoring center and terminal in vehicle GPRS networks Download PDF

Info

Publication number
CN1558573A
CN1558573A CNA2004100159245A CN200410015924A CN1558573A CN 1558573 A CN1558573 A CN 1558573A CN A2004100159245 A CNA2004100159245 A CN A2004100159245A CN 200410015924 A CN200410015924 A CN 200410015924A CN 1558573 A CN1558573 A CN 1558573A
Authority
CN
China
Prior art keywords
center
terminal
msg
udp
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2004100159245A
Other languages
Chinese (zh)
Other versions
CN100382467C (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.)
SHANGHAI FLEETY COMMUNICATIONS CO Ltd
Original Assignee
SHANGHAI FLEETY COMMUNICATIONS 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 SHANGHAI FLEETY COMMUNICATIONS CO Ltd filed Critical SHANGHAI FLEETY COMMUNICATIONS CO Ltd
Priority to CNB2004100159245A priority Critical patent/CN100382467C/en
Publication of CN1558573A publication Critical patent/CN1558573A/en
Application granted granted Critical
Publication of CN100382467C publication Critical patent/CN100382467C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for communication between dispatching center and terminals in a vehicle GPRS network comprising the steps of, the center starting and checking whether the center information is stored, if the terminal stores the center information, then execute step 5, otherwise sends MSG-SMS to the center, the center receives the message and sends its own IP address and port to the terminal, the terminal receives the SMG-UDP of the center within a finite time and execute the next step, otherwise sends MSG-SMS to the center, 0the terminal establishes TCP connection with the center for normal communication, otherwise sends message to the center continuously.

Description

The method that scheduling/Surveillance center and terminal communicate in a kind of vehicle GPRS network
Technical field
The invention belongs to the GPRS network communication technology, relate in particular to the method that both sides communicate after vehicle scheduling/Surveillance center and terminal all insert GPRS network.
Background technology
At present, along with the development of wireless communication technology to the broadband direction, the business of using cordless communication network to carry out data communication gets more and more, in vehicle scheduling/monitor service industry, some are equipped with the vehicle of car-mounted terminal (comprising locating module and RFDC module) to begin by the geographical location information of GPRS network to scheduling/Surveillance center's transmission oneself.But current scheduling/Surveillance center's access network is Internt, and this needs a legal IP address, and in addition, some users also worry the fail safe of Internet, thereby wishes that the center also inserts GPRS network.Yet, what access GPRS obtained is a dynamic assignment private IP address, and this makes center and terminal all not know the other side's IP address, realizes that communication each other is rather difficult, even both sides can communicate by letter, a large amount of short messages that sent before connection have also increased cost.
Summary of the invention
The technical issues that need to address of the present invention are to provide the method that scheduling/Surveillance center and terminal communicate in a kind of vehicle GPRS network, to overcome the quite high defective of prior art intercommunication difficulty and cost.
Based on the problems referred to above, core concept of the present invention is:
If terminal need be known the IP address and the port at center, can send oneself IP address to the center by short message, and after the center receives short message, just its IP address and port are sent to terminal according to the IP address of coming self terminal by UDP; After terminal is received UDP message, set up TCP according to IP address wherein with port and center and be connected; After the IP address modification of center, initiatively all terminals are issued by UDP in its IP address and port.
Based on above-mentioned core concept, technical scheme of the present invention may further comprise the steps:
1. the center starts, and has two threads to be in SMS respectively and monitors and the TCP listening state, and after the mobile data terminal startup, at first check whether preserve central information;
2. if terminal is preserved central information, jump over and carried out for the 5th step; Otherwise, then send MSG-SMS message to the center if terminal does not have central information;
3. after MSG-SMS message is received at the center, oneself IP address and port are issued this terminal by MSG-UDP message.
4. if terminal is received the MSG-UDP message at center within a certain period of time, continues to carry out next step, otherwise continues to send MSG-SMS message to the center;
5. terminal is set up TCP with the center and is connected, if normal TCP communication is then carried out in success, otherwise continues to send MSG-SMS message to the center;
6. under normal TCP communications status, MSG-UDP will be sent to all terminals if restart in the center, notify its current IP address and port;
7. under normal TCP communications status, terminal is then set up TCP with the center according to the IP address at MSG-UDP or current center once more with port and is connected if receive MSG-UDP message or detect the connection interruption.
The invention has the beneficial effects as follows: not only support scheduling/Surveillance center and terminal to insert GPRS network and communicate, and can preserve scheduling/Surveillance center's information of receiving in terminal by SMS, after the IP address modification at center, terminal is also initiatively notified by UDP in the center, thereby has significantly reduced the transmission number of times and the cost of short message.
Description of drawings
Fig. 1 is a flow chart of the present invention;
Among the figure, Server scheduling/Surveillance center; MDT represents mobile data terminal; MSG-SMS represent MDT by SMS to the message of sending, comprise the IP address of MDT; MSG-UDP represents to think the message that MDT sends by UDP, comprises IP address and the port of Server.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is elaborated.
Scheduling/Surveillance center in the present embodiment has used and has supported the Modem of SMS and GPRS to insert GPRS network, and its MSISDN is configured to terminal, so that send SMS message.
Shown in flow chart, Server starts, and sends MSG-UDP information to all terminals, and the center has two threads to be in SMS monitoring and TCP listening state respectively; MDT also starts, and at first checks whether preserve Server information, this be because might MDT last time move and received MSG-UDP message; If MDT preserves Server information, the IP address that can read the center is connected to set up TCP with Server with port, otherwise if do not preserve central information, MDT promptly sends MSG-SMS message to Server; After Server receives MSG-SMS message, oneself IP address and port are issued this MDT by MSG-UDP message.If MDT receives the MSG-UDP message of Server within a certain period of time, then sets up TCP with Server and is connected, otherwise continue to send MSG-SMS to the center; Then carry out normal TCP and communicate by letter when MDT and Server set up the TCP successful connection, otherwise continue again to send MSG-SMS to the center; Under normal TCP communications status, Server will send MSG-UDP to all MDT if restart, and notify current IP address and port; Under normal TCP communications status, if receive MSG-UDP message or detect the connection interruption, terminal is then set up TCP with Server according to the IP address of MSG-UDP or current Server once more with port and is connected.

Claims (2)

1. the method that scheduling/Surveillance center and terminal communicate in the vehicle GPRS network is characterized in that: may further comprise the steps:
A. the center starts, and has two threads to be in SMS respectively and monitors and the TCP listening state, and after the mobile data terminal startup, at first check whether preserve central information;
B. if terminal is preserved central information, jump over and carry out the e step; Otherwise, then send MSG-SMS message to the center if terminal does not have central information;
C. after MSG-SMS message is received at the center, oneself IP address and port are issued this terminal by MSG-UDP message.
D. if terminal is received the MSG-UDP message at center within a certain period of time, continues to carry out next step, otherwise continues to send MSG-SMS message to the center;
E. terminal is set up TCP with the center and is connected, if normal TCP communication is then carried out in success, otherwise continues to send MSG-SMS message to the center;
F. under normal TCP communications status, MSG-UDP will be sent to all terminals if restart in the center, notify its current IP address and port;
G. under normal TCP communications status, terminal is then set up TCP with the center according to the IP address at MSG-UDP or current center once more with port and is connected if receive MSG-UDP message or detect the connection interruption.
2. the method that scheduling/Surveillance center and terminal communicate in the vehicle GPRS network as claimed in claim 1 is characterized in that: center and terminal can be synchronously or asynchronous starting.
CNB2004100159245A 2004-01-17 2004-01-17 Method for communication between dispatching / monitoring center and terminal in vehicle GPRS networks Expired - Fee Related CN100382467C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100159245A CN100382467C (en) 2004-01-17 2004-01-17 Method for communication between dispatching / monitoring center and terminal in vehicle GPRS networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100159245A CN100382467C (en) 2004-01-17 2004-01-17 Method for communication between dispatching / monitoring center and terminal in vehicle GPRS networks

Publications (2)

Publication Number Publication Date
CN1558573A true CN1558573A (en) 2004-12-29
CN100382467C CN100382467C (en) 2008-04-16

Family

ID=34351597

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100159245A Expired - Fee Related CN100382467C (en) 2004-01-17 2004-01-17 Method for communication between dispatching / monitoring center and terminal in vehicle GPRS networks

Country Status (1)

Country Link
CN (1) CN100382467C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030969B (en) * 2005-10-21 2010-12-08 通用汽车有限责任公司 Method and system for network services with a mobile vehicle
CN107528821A (en) * 2016-06-20 2017-12-29 福特全球技术公司 The remote firewall renewal of the teleprocessing system of In-vehicle networking server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1162021C (en) * 1999-06-01 2004-08-11 诺基亚公司 Massage routing in case of multiple network subscription
US6970711B2 (en) * 2000-12-20 2005-11-29 Nortel Networks Limited Dual protocol GPRS message center and method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030969B (en) * 2005-10-21 2010-12-08 通用汽车有限责任公司 Method and system for network services with a mobile vehicle
CN107528821A (en) * 2016-06-20 2017-12-29 福特全球技术公司 The remote firewall renewal of the teleprocessing system of In-vehicle networking server

Also Published As

Publication number Publication date
CN100382467C (en) 2008-04-16

Similar Documents

Publication Publication Date Title
CN107645529B (en) Heartbeat packet sending method and device
CN106851782B (en) Data transmission method and device
CN102469124B (en) Based on the implementation method of the mobile Internet business of AOG, gateway, agency and system
EP2605582B1 (en) Processing method, device and system for bandwidth control
EP2291801A1 (en) Advertising support for a plurality of service networks by a wireless access point
US20110029631A1 (en) Method, device, and system for message distribution
CN101124736A (en) System and method for network-assisted connection in a wireless environment
CN102202010A (en) Message transmission client and communication method with combination of short message and network
CN101621538A (en) Method and system for selecting medium source nodes in peer-to-peer network
CN101258757A (en) Beep-page and lagging access method after establishing cluster group call
CN101257509A (en) Method, apparatus as well as mobile terminal equipment of wireless downloading
CN101801062A (en) Mobile terminal and network access method thereof
CN102638789B (en) Method for establishing point-to-point transmission and mobile communication system
CN1487706B (en) Method, system and control process for enterprise to communicate timely
CN101557354A (en) Method for sending picture by client service personnel on line
CN1602612A (en) System for transferring information in a wireless data communication network
CN101686081B (en) Method for reestablishing synchronous connection, device and system thereof
CN1585372A (en) Method and system for transmitting information from information system to mobile terminal
CN104301294B (en) A kind of response method, device and the network side equipment of DNS query request
CN101374282B (en) Method and apparatus for displaying different states of wireless one-key-through user in different groups
CN1558573A (en) Method for communication between dispatching / monitoring center and terminal in vehicle GPRS networks
CN104735816A (en) Method for controlling wireless equipment in wireless network direct-connection group to be disconencted and wireless equipment
CN108989467B (en) Centralized addressing method
CN110166368B (en) Cloud storage network bandwidth control system and method
CN114500237A (en) Communication method and system

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
DD01 Delivery of document by public notice

Addressee: Xu Min

Document name: Notification to Pay the Fees

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Shanghai Fleety Communications Co., Ltd.

Document name: Notification of Termination of Patent Right

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080416

Termination date: 20140117