CN101583086B - Method for controlling data interaction among mobile terminals and system thereof - Google Patents

Method for controlling data interaction among mobile terminals and system thereof Download PDF

Info

Publication number
CN101583086B
CN101583086B CN2009100403961A CN200910040396A CN101583086B CN 101583086 B CN101583086 B CN 101583086B CN 2009100403961 A CN2009100403961 A CN 2009100403961A CN 200910040396 A CN200910040396 A CN 200910040396A CN 101583086 B CN101583086 B CN 101583086B
Authority
CN
China
Prior art keywords
portable terminal
data
data interaction
group
gprs network
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
CN2009100403961A
Other languages
Chinese (zh)
Other versions
CN101583086A (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.)
GUANGZHOU CITY ZHONGHAIDA SURVEYING INSTRUMENT CO Ltd
Original Assignee
GUANGZHOU CITY ZHONGHAIDA SURVEYING INSTRUMENT 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 GUANGZHOU CITY ZHONGHAIDA SURVEYING INSTRUMENT CO Ltd filed Critical GUANGZHOU CITY ZHONGHAIDA SURVEYING INSTRUMENT CO Ltd
Priority to CN2009100403961A priority Critical patent/CN101583086B/en
Publication of CN101583086A publication Critical patent/CN101583086A/en
Application granted granted Critical
Publication of CN101583086B publication Critical patent/CN101583086B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for controlling data interaction among mobile terminals, comprising the following steps: configurating a data interaction interface with a fixed address for mobile terminals accessed in a GPRS network; establishing one-to-one corresponding relation between the data interaction interface distributed to the mobile terminals and the preset groups corresponding to the mobile terminals and customer numbers corresponding to the mobile terminals; controlling the mobile terminals to interact on data via the data interaction interface according to the set groups and theuser numbers. Correspondingly, the embodiment of the invention also discloses a system for controlling data interaction among mobile terminals. By the embodiment of the invention, data interaction am ong mobile terminals can be realized by configurating the data interaction interface with a fixed address.

Description

A kind of method and system thereof that controls data interaction among mobile terminals
Technical field
The present invention relates to moving communicating field, relate in particular to a kind of method and system thereof that controls data interaction among mobile terminals.
Background technology
(General Packet Radio Service GPRS) is a kind of mobile data services that the gsm mobile telephone user can use to the general packet radio service technology.It provides the data passes of middling speed through utilizing untapped TDMA channel in the GSM network.GPRS has broken through the GSM net can only provide the Circuit-switched mode of thinking; Only through increasing the function corresponding entity and existing base station system being carried out the part transformation realize packet switching; The input of this transformation is also little comparatively speaking, but the user data rate that obtains is considerable.GPRS (General Packet Radio Service) is a kind of data transmission technology that is the basis with global cell phone system (GSM), the continuity of the GSM that can say so.GPRS is continuously different in the mode of channel transmission with in the past, is to transmit with package (Packet) formula, so the expense that the user bore is to calculate with its data transmission unit, is not its whole channel of use, and is comparatively cheap in theory.
GPRS is an association value-added service that is based upon on the GSM network foundation, and it utilizes the GSM network to carry out data communication, and GSM carrier's data center provides the passage that is connected to the Internet, makes the GPRS Intranet to couple together with the Internet, world INTERNET.Because GPRS just is in GSM carrier's Intranet; Operator can not for each communication module that is connected to GPRS (like mobile phone; Card of surfing Internet etc.) distribute a fixing internet ip; But distribute an interim dynamic IP, so between two communication modules, be that the temporary IP that can't know the other side is and so on, also just can't accomplish point-to-point communication automatically and connect.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the present invention has supplied a kind of method and system thereof that controls data interaction among mobile terminals, can realize data interaction among mobile terminals through disposing a fixed address specified number according to mutual port.
In order to address the above problem, the present invention proposes a kind of method of controlling data interaction among mobile terminals, comprising:
For being linked into the data interaction port of the mobile terminal configuration fixed address in the GPRS network;
The data interaction port that said portable terminal distributes is set up one-to-one relationship with the portable terminal corresponding group of institute and the pairing user number of portable terminal that are provided with in advance;
Group and user number according to said setting are controlled portable terminal through data interaction port interaction data.
Accordingly, the embodiment of the invention also provides a kind of system that controls data interaction among mobile terminals, comprising:
First dispensing unit is used to the data interaction port of the mobile terminal configuration fixed address that is linked into GPRS;
Second dispensing unit is used for the data interaction port that said portable terminal is distributed and sets up one-to-one relationship with the portable terminal that is provided with in advance corresponding group of institute and the pairing user number of portable terminal;
The data interaction port is a fixed address end in the GPRS network, is used for according to the group of said setting and the data interaction between user number control portable terminal.
Embodiment of the present invention embodiment; Has following beneficial effect: through being the data interaction port that is linked into the mobile terminal configuration fixed address of GPRS; It can connect the passage that exchanges for two GPRS terminals directly provide data, thereby has guaranteed that the user realizes the possible of transfer of data according to GPRS terminal number and group under the data interaction port.
Description of drawings
Fig. 1 is the network system architecture figure in the embodiment of the invention;
Fig. 2 is the method flow diagram of the control data interaction among mobile terminals in the embodiment of the invention;
Fig. 3 is terminal applies scene mode figure in the embodiment of the invention;
Fig. 4 is the flow chart of portable terminal login in the embodiment of the invention;
Fig. 5 is that portable terminal sends heartbeat order flow chart in the embodiment of the invention;
Fig. 6 is the system configuration sketch map of control data interaction among mobile terminals in the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of method and system thereof that controls data interaction among mobile terminals, through between two or more communication modules, connecting and must setting up communication by third party device.This third party device is exactly the server that has fixed ip address on the internet.After communication module has inserted GPRS network, has obtained the dynamic IP of oneself, initiatively with the third party fixedly the IP server connect, and on server registration number.After communication module had all been registered, server was intercoursed transmission to data, to reach the purpose of data communication between a plurality of communication modules.
Fig. 1 shows the network system architecture figure in the embodiment of the invention; It comprises the terminating machine of a plurality of GPRS of having; Mobile phone 10 and mobile phone 11 shown in figure, its mobile phone all has the GPRS module, carries through the GPRS module being linked in the GPRS network 12; Be linked into INTELNET the Internet 13 through GPRS network, realize the data exchange process between the mobile phone through the monitoring software on the server hardware platform 14.Need to prove that the monitoring software 14 on the server hardware platform here is the data interaction port of a fixed address, has realized the data interaction between the mobile phone through this monitoring software.
Fig. 2 shows the method flow diagram of control data interaction among mobile terminals in the embodiment of the invention, specifically comprises the steps:
S201: for being linked into the data interaction port of the mobile terminal configuration fixed address in the GPRS network;
Concrete, it need be the dynamic IP of the mobile terminal configuration that is linked into GPRS network address, and obtains the group and the pairing user number of portable terminal at said portable terminal place.The group and the pairing user number of portable terminal at this portable terminal place are that said portable terminal carries, and perhaps dispose for portable terminal place network is automatic.
S202: the data interaction port that said portable terminal distributes is set up one-to-one relationship with the portable terminal corresponding group of institute and the pairing user number of portable terminal that are provided with in advance;
S203: group and user number according to said setting are controlled portable terminal through data interaction port interaction data.
If a plurality of said mobile terminal user number in same group, a plurality of said portable terminals of said data interaction port controlling mutual interaction data under GPRS network; If a plurality of said mobile terminal user are not number in same group, said data interaction port controlling is not can not interaction data under GPRS network with the portable terminal in the group.
Need to prove, also need detect the situation of the heartbeat order bag of portable terminal transmission here, and judge the state of activation of said portable terminal according to the situation of said heartbeat order bag according to the time interval that is provided with.
If in the time interval that is provided with, receive the heartbeat order bag of portable terminal, detect said portable terminal whether on said GPRS network according to the heartbeat order bag of said reception.
If detect said portable terminal not on said GPRS network the time, said portable terminal is logined GPRS network again according to the result that heartbeat order bag detects.The result that the portable terminal here detects according to heartbeat order bag logins GPRS network again and comprises: said portable terminal uses group and the pairing user number of portable terminal interaction data in GPRS network of the portable terminal that is provided with in advance; Perhaps said portable terminal uses group and the pairing user number of portable terminal interaction data in GPRS network of the portable terminal that writes again.
If in the time interval that is provided with, do not receive the heartbeat order bag of portable terminal, then cancel resource to said mobile terminal configuration.
Fig. 3 shows terminal applies scene mode figure in the embodiment of the invention; Owing in the system architecture numerous mobile phone is arranged; This mobile phone is provided with the GPRS module and is linked in the GPRS network, and its mobile phone uses user's group number and little group number to divide into groups to finally carrying out the mutual terminating machine of identical data simultaneously.User's group number here shows the terminating machine that same Subscriber Unit has, i.e. mobile phone group, little group number are the mobile phone that carries out the different types of data exchange in the same Subscriber Unit.Because the mobile phone that same Subscriber Unit has can not change; This user's group number is carried out encode management by the monitoring software on the server hardware platform; And can being divided into the mobile phone of a plurality of groups, Subscriber Unit carries out work; Its grouping can be interim change, so little group number can be by the user through the mobile terminal self setting.
Here portable terminal 31, portable terminal 32, portable terminal 33, portable terminal 34 are arranged at same user and organize down; The classification of its user's group is 1; Its corresponding little group number is followed successively by 11,12,13,14; Portable terminal 31 can send to data on portable terminal 32, portable terminal 33, the portable terminal 34 so, also can be sent to data on portable terminal 31, portable terminal 33, the portable terminal 34 by portable terminal 32.
If here portable terminal 31, portable terminal 32 are arranged at same user and organize down; The classification of its user's group is 1; Its corresponding little group number is followed successively by 11,12; Portable terminal 33, portable terminal 34 are arranged at same user and organize down, and the classification of its user's group is 2 o'clock, and its corresponding little group number is followed successively by 23,24.Have only 32 of the portable terminals 31, portable terminal can interaction data and portable terminal 33,34 interaction datas of portable terminal so.
Fig. 4 shows the process of mobile phone login in the embodiment of the invention, and its step is following:
S401: mobile phone sends log on command to server;
S402: server is given portable terminal distribute data port, and is ready to receive data;
S403: server returns login and responds order, and it has comprised data designated port content;
S404: mobile phone extracts the data designated port value;
S405: mobile phone sends packet to server specific data port.
Need to prove that this FPDP is a data interaction end mouth.The data that mobile phone sends need be carried out the processing of form package, have formulated the control command bag in order to carry out information exchange with server software simultaneously.These data command bags are generally by forming with the lower part: the bag marking head, and data length, user's group number, little group number, the command checksum byte, the data check byte, data content is formed.If the order bag possibly not include data content and data check byte part, at this moment data length word territory content is " 0 ".
Need to prove,, but keep inserting the terminating machine of greater number as far as possible for the unified port that lands, a special use of server monitoring software set land port, and open up a plurality of FPDPs.Portable terminal sends and lands the port that lands that the order bag is given server monitoring software; Server monitoring software returns a response order from landing port, has comprised software in this response order and has specified the FPDP value of using to this terminating machine according to current terminating machine quantity and FPDP operating position.Server monitoring software has been ready to the data that this FPDP is used to receive this terminating machine simultaneously.Terminating machine extracts the FPDP value after receiving and responding order.Terminating machine sends packet to the specific data port of server monitoring software.
Further, server monitoring software administration personnel need set the Packet State of the terminating machine of appointment, then can use long-rangely the order of user number and little group number is set makes amendment.Through specify giving the new user's group number and the little group number of this terminating machine, after terminating machine is received this order, revise local setup parameter, reuse new user's group number and little group number and carry out landfall process and get final product.
If mobile phone does not carry out the transmission of data within a certain period of time; When not receiving data in server simultaneously yet; Then in order to keep the state of activation of this mobile phone, mobile phone need send to unite as one to server monitoring software jumps the order bag, and concrete steps are as follows as shown in Figure 5:
S501: portable terminal does not have transceive data in the preset time;
S502: portable terminal sends the heartbeat order to the server data port;
S503: the server data port returns response command to portable terminal, and this order can be heartbeat order, and also otherwise bulletin is moved emphasis it has been received this heartbeat order.
Characteristics of GPRS wireless network are if free of data amount transmitting-receiving in this GPRS terminal certain hour will be reclaimed IP and the port resource of distributing to this terminal.Just the network state at terminal has changed, if want transceive data just can't carry out so again.
To this situation, the IP and the port resource that have only some data traffics of generation to be enough to make the GPRS wireless network keep distributing to this terminal do not produce change yet.
When not having exchanges data, terminating machine has arrived setting-up time and has sent at interval to unite as one and jump the order bag, activates the GPRS wireless network port, keep that this terminating machine is assigned to IP and port do not change.
Server monitoring software and services device hardware platform also has the reason that produces fault simultaneously, and terminating machine need know also whether server monitoring software is normal.So server monitoring software when receiving heartbeat order bag, to the intact heartbeat order bag that returns of terminating machine, is normal state to show server monitoring software and services device.If terminating machine carries out the trial of game server monitoring software again under the no response scenarios of several heartbeat order bag, attempt to recover normal data transfer.
What this shows is, server monitoring software shows as the monitoring management main contents of mobile phone: the Packet State to terminating machine is managed, and can remotely modifying; State of activation to terminating machine is discerned management, and the terminating machine that overtime free of data does not have a heartbeat is thought and rolled off the production line, and reclaims the resource of distributing to this terminating machine; Data volume is sent in the reception of each terminating machine adds up; Landing time to each terminating machine is added up or the like.
Accordingly, Fig. 6 also shows the system configuration sketch map of the control data interaction among mobile terminals in the embodiment of the invention, comprising:
First dispensing unit 601 is used to the data interaction port of the mobile terminal configuration fixed address that is linked into GPRS;
Second dispensing unit 602 is used for the data interaction port that said portable terminal is distributed and sets up one-to-one relationship with the portable terminal that is provided with in advance corresponding group of institute and the pairing user number of portable terminal;
Data interaction port 603 is a fixed address end in the GPRS network, is used for according to the group of said setting and the data interaction between user number control portable terminal.Need to prove, if a plurality of said mobile terminal user number in same group, the said data interaction port 603 a plurality of said portable terminals of control mutual interaction data under GPRS network; If a plurality of said mobile terminal user are not number in same group, said data interaction port 603 controls are not can not interaction data under GPRS network with the portable terminal in the group.
Accordingly, this system also comprises:
The 3rd dispensing unit 604 is used to the dynamic IP of the mobile terminal configuration that is linked into GPRS network address;
Acquiring unit 605 is used to obtain group and the pairing user number of portable terminal that said portable terminal belongs to;
Judgment processing unit 606 is used for detecting according to the time interval that is provided with the situation of the heartbeat order bag that portable terminal sends, and judges the state of activation of said portable terminal according to the situation of said heartbeat order bag.
Cancel unit 607, be used in the time interval that is provided with, not receiving the heartbeat order bag of portable terminal, cancellation is to the resource of said mobile terminal configuration.
Through being the data interaction port that is linked into the mobile terminal configuration fixed address of GPRS; It can connect the passage that exchanges for two GPRS terminals directly provide data, thereby has guaranteed that the user realizes the possible of transfer of data according to GPRS terminal number and group under the data interaction port.
Above disclosedly be merely a kind of preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (2)

1. a method of controlling data interaction among mobile terminals is characterized in that, comprising:
Be the dynamic IP of the mobile terminal configuration that is linked into GPRS network address, and obtain the group and the pairing user number of portable terminal at said portable terminal place; Wherein, the group and the pairing user number of portable terminal at said portable terminal place are that said portable terminal carries, and perhaps are that said portable terminal place network disposes automatically;
For being linked into the data interaction port of the mobile terminal configuration fixed address in the GPRS network;
The data interaction port that said portable terminal distributes is set up one-to-one relationship with the portable terminal corresponding group of institute and the pairing user number of portable terminal that are provided with in advance;
Group and user number according to said setting are controlled portable terminal through data interaction port interaction data; Wherein, If a plurality of said mobile terminal user number in same group, a plurality of said portable terminals of said data interaction port controlling mutual interaction data under GPRS network; If a plurality of said mobile terminal user are not number in same group, said data interaction port controlling is not can not interaction data under GPRS network with the portable terminal in the group;
And, also comprise the situation that detects the heartbeat order bag of portable terminal transmission according to the time interval that is provided with, and judge the state of activation of said portable terminal according to the situation of said heartbeat order bag; Wherein, Said situation according to said heartbeat order bag judges that the state of activation of said portable terminal comprises: if in the time interval that is provided with, receive the heartbeat order bag of portable terminal, detect said portable terminal whether on said GPRS network according to the heartbeat order bag of said reception; If detect said portable terminal not on said GPRS network the time; Said portable terminal is logined GPRS network again according to the result that heartbeat order bag detects, and the result that said portable terminal detects according to heartbeat order bag logins GPRS network again and comprises: said portable terminal uses group and the pairing user number of portable terminal interaction data in GPRS network of the portable terminal that is provided with in advance; Perhaps said portable terminal uses group and the pairing user number of portable terminal interaction data in GPRS network of the portable terminal that writes again; If in the time interval that is provided with, do not receive the heartbeat order bag of portable terminal, then cancel resource to said mobile terminal configuration.
2. a system that controls data interaction among mobile terminals is characterized in that, comprising:
First dispensing unit is used to the data interaction port of the mobile terminal configuration fixed address that is linked into GPRS;
Second dispensing unit is used for the data interaction port that said portable terminal is distributed and sets up one-to-one relationship with the portable terminal that is provided with in advance corresponding group of institute and the pairing user number of portable terminal;
The data interaction port is a fixed address end in the GPRS network, is used for according to the group of said setting and the data interaction between user number control portable terminal; Wherein, if a plurality of said mobile terminal user number in same group, a plurality of said portable terminals of said data interaction port controlling mutual interaction data under GPRS network; If a plurality of said mobile terminal user are not number in same group, said data interaction port controlling is not can not interaction data under GPRS network with the portable terminal in the group;
The 3rd dispensing unit is used to the dynamic IP of the mobile terminal configuration that is linked into GPRS network address;
Acquiring unit is used to obtain group and the pairing user number of portable terminal that said portable terminal belongs to;
The judgment processing unit is used for detecting according to the time interval that is provided with the situation of the heartbeat order bag that portable terminal sends, and judges the state of activation of said portable terminal according to the situation of said heartbeat order bag;
Cancel the unit, be used in the time interval that is provided with, not receiving the heartbeat order bag of portable terminal, cancellation is to the resource of said mobile terminal configuration.
CN2009100403961A 2009-06-19 2009-06-19 Method for controlling data interaction among mobile terminals and system thereof Expired - Fee Related CN101583086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100403961A CN101583086B (en) 2009-06-19 2009-06-19 Method for controlling data interaction among mobile terminals and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100403961A CN101583086B (en) 2009-06-19 2009-06-19 Method for controlling data interaction among mobile terminals and system thereof

Publications (2)

Publication Number Publication Date
CN101583086A CN101583086A (en) 2009-11-18
CN101583086B true CN101583086B (en) 2012-08-01

Family

ID=41364988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100403961A Expired - Fee Related CN101583086B (en) 2009-06-19 2009-06-19 Method for controlling data interaction among mobile terminals and system thereof

Country Status (1)

Country Link
CN (1) CN101583086B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102892135B (en) * 2012-10-08 2015-06-10 中兴通讯股份有限公司 Release management method and device of mobile terminal network ports
CN104243449A (en) * 2014-07-31 2014-12-24 东莞市福欣电脑科技有限公司 Non-fixed IP data communication implementation method
CN104202334B (en) * 2014-09-16 2018-11-16 广州猎豹网络科技有限公司 A kind of method and device for establishing network connection

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668024A (en) * 2004-03-10 2005-09-14 华为技术有限公司 A data transmission method between GPRS network terminal and IP network equipment
CN2886717Y (en) * 2005-07-14 2007-04-04 张伟良 Multifunctional palm monitoring system for PDA with mobile phone

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668024A (en) * 2004-03-10 2005-09-14 华为技术有限公司 A data transmission method between GPRS network terminal and IP network equipment
CN2886717Y (en) * 2005-07-14 2007-04-04 张伟良 Multifunctional palm monitoring system for PDA with mobile phone

Also Published As

Publication number Publication date
CN101583086A (en) 2009-11-18

Similar Documents

Publication Publication Date Title
CN101521855B (en) Mobile terminal and data transmission method based on P2P mode
CN102497630B (en) Machine to machine (M2M) equipment, method for realizing service, intelligent card and communication module
CN108134813A (en) Equipment and its long-range control method, device, storage medium and processor
CN104091374A (en) Real-time attendance method adopting GSM/3G mobile phone perception technology
CN106056876A (en) Enterprise energy management information acquisition system and method
CN101510793A (en) Method for implementing a plurality of Bluetooth device networking through Bluetooth server, software program and server
CN110324808A (en) Switching method, device and the mobile terminal of configuration file
CN102394818B (en) PS domain system for small-sized mobile core network and message processing method
CN103813365A (en) WDS support system, device and method based on Android system
CN101583086B (en) Method for controlling data interaction among mobile terminals and system thereof
CN102413453A (en) Method and system for sharing subscriber number of machine type communication (MTC) equipment
CN104320472A (en) Distributed short message gateway architecture system and design method thereof
CN102378223A (en) M2M (Machine-to-Machine) communication module, M2M terminal, and system and method for remote management on M2M terminal
CN106413127A (en) Method and system for connecting relay device with remote network management server, and the relay device
CN102833782A (en) Method, device and system for acquiring error code information
CN207264402U (en) A kind of multifunctional bar code scanning means
CN102868989A (en) Method, system and equipment for call ticket generation in long-term evolution fusion type core network
CN104980509A (en) Data transmission method under the condition without fixed public network IP based on wireless data transmission terminals
CN102685719B (en) One realizes cross operator many number bindings method, Apparatus and system
CN104617989A (en) Method and terminal for changing terminal working mode based on a Bluetooth beacon
CN1856129B (en) Apparatus and method for making communication between main station and substation via GPRS
CN103517263B (en) Method for configuring uplink communication address information of MTC equipment, equipment and system thereof
CN102811448B (en) A kind of error code recognition method and mobile terminal
CN101286857B (en) Method and system for charging of WAP gateway
CN107168125A (en) A kind of charging equipment of electric automobile Local network communication management 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120801