CN101459887A - Implementing method for information interaction between mobile and computer - Google Patents

Implementing method for information interaction between mobile and computer Download PDF

Info

Publication number
CN101459887A
CN101459887A CNA2009100139066A CN200910013906A CN101459887A CN 101459887 A CN101459887 A CN 101459887A CN A2009100139066 A CNA2009100139066 A CN A2009100139066A CN 200910013906 A CN200910013906 A CN 200910013906A CN 101459887 A CN101459887 A CN 101459887A
Authority
CN
China
Prior art keywords
mobile phone
computer
information interaction
network
function
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.)
Pending
Application number
CNA2009100139066A
Other languages
Chinese (zh)
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.)
Inspur Communication Information System Co Ltd
Original Assignee
Inspur Communication Information System 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 Inspur Communication Information System Co Ltd filed Critical Inspur Communication Information System Co Ltd
Priority to CNA2009100139066A priority Critical patent/CN101459887A/en
Publication of CN101459887A publication Critical patent/CN101459887A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to an application program system in cell phone communication, in particular to the cell phone application field of mobile data business, in particular to a method for realizing the information alternation between the cell phone and a computer. The method for realizing the information alternation between the cell phone and the computer opens the mechanism of an Socket network through a newly established connection point, which can easily realize the random connection from the cell phone to the computer, because the application program can not obtain the number of the cell phone, however can obtain the IMSI number of an SIM card, thereby the information of users can be obtained, thereby other business development can be carried out, and through the correction of the data format, the accuracy and the completeness of data can be guaranteed.

Description

The implementation method of information interaction between a kind of mobile phone and the computer
Technical field
The present invention relates to the application program system in the mobile communication, relate in particular to the mobile phone application of mobile data services.The implementation method of information interaction between a kind of mobile phone and the computer specifically is provided.
Background technology
In application program of mobile phone, most of program all is not have operating function Network Based.And along with the raising of social informatization degree, the situation about reducing significantly of mobile network's cost, the application program of unit can't satisfy the needs of users to information, more user wishes to come the real-time transmission of realization information by a kind of interactive mode.
At present big portion surfing Internet with cell phone only is confined to browse the WAP page mode, and the function of WAP mode is subjected to significantly limiting, and realizes stronger function so need another kind of mode to replace the WAP browser.C/S (Client/Server) pattern not only finds application between computer, between mobile phone and computer, can take same mode to carry out the transmission of data.
Summary of the invention
The present invention be directed to above problem, the implementation method of information interaction between a kind of mobile phone and the computer is provided, it is by the network platform of China Mobile, realize that the computer on mobile phone and the Internet carries out the mutual of information, by http protocol beared information source, and then enrich the function of surfing Internet with cell phone, what be convenient for people to manipulates.
The technical solution adopted for the present invention to solve the technical problems is:
The implementation method of information interaction between a kind of mobile phone and the computer, comprise computer server-side and client mobile phone, described computer server-side provides client Connection Service program, the request of described client Connection Service program energy customer in response end mobile phone, described computer server-side and client mobile phone are carried out information interaction by the network platform of China Mobile's infinite network, and its concrete steps are as follows:
A, described computer server-side initialization network are opened HTTP network contiguous function;
B, described client mobile phone start the authentication function and send client-requested;
C, described client mobile phone start receiver function, and waiting for server information is returned;
D, described computer server-side and client mobile phone are finished information interaction, close network and connect.
Client mobile phone has the breakpoint transmission function of message transmission.
Initialization network in the steps A comprises the step of the Network Access Point of a newly-built CMWAP.
Open the HTTP network function in the steps A, comprise the step of access point choice function the selection of each access point.
Startup authentication function among the step B comprises and obtains software version, obtains the IMSI number, carries out the step of computer server-side registration.
Receiver function among the step C comprises the mode of data check.
The breakpoint transmission function comprises the transmission employing breakpoint transmission to big data.
The implementation method of information interaction can be carried out verification for losing of information between a kind of mobile phone of the present invention and the computer, if there is loss situation, then needs to carry out again Data Update.Adopt after the implementation method of information interaction between a kind of mobile phone of the present invention and the computer, compare with traditional WAP browser, can realize selectivity, high efficiency, the integrality of information, thereby realize reducing the unnecessary network bandwidth, and then effectively economize on resources.
Description of drawings
The present invention is further described below in conjunction with drawings and Examples.
Fig. 1 is to be the flow chart of the implementation method of information interaction between a kind of mobile phone of the present invention and the computer;
Fig. 2 is the legal proof diagrams of data;
Fig. 3 data breakpoint continues blit.
Embodiment
Be further described below in conjunction with the implementation method of the drawings and specific embodiments information interaction between a kind of mobile phone of the present invention and the computer.
In summary of the invention, technical scheme of the present invention is described in detail, described below in conjunction with accompanying drawing and concrete enforcement.
Discuss below and how to realize on Nokia 6681 these mobile phones and the information interaction mechanism of computer that the mode of realization is based on C/S (Client/Server) pattern.The development language that uses is C++, guarantees high efficiency, stability, the fail safe of application program like this.On mobile phone, provide good GUI graphical interfaces, for carrying out the mutual, simple to operate, easy to use of information between user and the computer.
Fig. 1 is the main flow process of the present invention.
When opening the network contiguous function, at first search the cell phone network tie point and whether have an effective tie point, the CCommsDatabase object that provides by mobile phone, all network connection points that provide are read into mobile phone EMS memory, judge the type of access point, select the GPRS type, and demonstrate APN, offer the user and select different networkings, we also provide the networking mode of creating ourselves, can use the network of oneself setting up to connect like this in application program.Our form is: application name+platform number+software version number, can obtain the configuration information of network so easily by set form, and if exist then select this access point, then use this access point to carry out network and connect; Create the Network Access Point program otherwise use, create a access point according to the CMWAP of this naming rule.The network of opening a Socket connects, and connects the computer client of appointment.
After network connects foundation, the data that preparation will send, read the version information of application program self, by calling the function that obtains IMSI, obtain the IMSI number of mobile phone, use the unique expression of IMSI as mobile phone, so can be easily for application program and commmunication company carry out information interaction, as custom service etc.; Use http protocol to carry out the encapsulation of data, the CHTTPFormEncoder object by mobile phone provides carries out the encapsulation of data, submits data at last to, the returning of waiting for server end data, and finish the mutual of this information.
Fig. 2 is the legal checkings of data of the present invention.When the mobile phone termination is received the information of returning on the server, because network exists certain destabilizing factor to cause the loss situation of data.The form of data is: ID#Length#Data; ID is unique identifier of interaction data this time; Length is the length of data division; The data of Data client actual needs; If there are a plurality of data, each complete data segment uses @ to cut apart; Obtain data, at first use the @ decollator with data, be divided into a plurality of data entities, carry out cutting apart of literal then, resolve into three parts by #, when the value of the Length that splits equals the length of Data, judge that these data are legal data, and carry out level cache, thereby effectively reduce accesses network in client by changing ID; Do not abandon this data if data conform to rule, perhaps request server resends once.
Fig. 3 is the continuous biography of data breakpoint of the present invention.When mobile phone receiving data volume bigger the time because uncertain factors such as network cause the interruption of message transmission, cause finishing this information interaction.The function of breakpoint transmission is considered design for this situation just.We each time transfer of data be provided with a stature, as the data format of setting forth among Fig. 2.When data committee loads successfully, can be by calculating, obtain the current amount of data downloaded, form by the another one file header: ID#Length returns to server end, when server gets access to current ID, just the data of current I D are begun to be transferred to client computer from the extension position of Length, data format has more normally transmitted a field many.Form is: SEQ#ID#Lenght#Data, SEQ are designated the data of breakpoint transmission, and ID number is the unique identifier of data, the length of Length remaining data, the remaining data of Data.In client a baseline is set, when the number of times of breakpoint transmission surpasses this baseline, thinks that these data are illegal, and the continuous biography of cancellation, and reload data or other operation.
Above-described embodiment, the present invention embodiment a kind of more preferably just, the common variation that those skilled in the art carries out in the technical solution of the present invention scope and replacing all should be included in protection scope of the present invention.

Claims (7)

1, the implementation method of information interaction between a kind of mobile phone and the computer, it is characterized in that, comprise computer server-side and client mobile phone, described computer server-side provides client Connection Service program, the request of described client Connection Service program energy customer in response end mobile phone, described computer server-side and client mobile phone are carried out information interaction by the network platform of China Mobile's infinite network, and its concrete steps are as follows:
A, described computer server-side initialization network are opened HTTP network contiguous function;
B, described client mobile phone start the authentication function and send client-requested;
C, described client mobile phone start receiver function, and waiting for server information is returned;
D, described computer server-side and client mobile phone are finished information interaction, close network and connect.
2, the implementation method of information interaction between a kind of mobile phone according to claim 1 and the computer is characterized in that, described client mobile phone has the breakpoint transmission function of message transmission.
3, the implementation method of information interaction between a kind of mobile phone according to claim 1 and the computer is characterized in that, the initialization network in the described steps A comprises the step of the Network Access Point of a newly-built CMWAP.
4, the implementation method of information interaction between a kind of mobile phone according to claim 1 and the computer is characterized in that, opens the HTTP network function in the described steps A, comprises the step of access point choice function to the selection of each access point.
5, the implementation method of information interaction between a kind of mobile phone according to claim 1 and the computer is characterized in that, the startup authentication function among the described step B comprises and obtains software version, obtains the IMSI number, carries out the step of computer server-side registration.
6, the implementation method of information interaction between a kind of mobile phone according to claim 1 and the computer is characterized in that, the receiver function among the described step C comprises the mode of data check.
7, the implementation method of information interaction between a kind of mobile phone according to claim 2 and the computer is characterized in that, described breakpoint transmission function comprises the transmission employing breakpoint transmission to big data.
CNA2009100139066A 2009-01-07 2009-01-07 Implementing method for information interaction between mobile and computer Pending CN101459887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009100139066A CN101459887A (en) 2009-01-07 2009-01-07 Implementing method for information interaction between mobile and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009100139066A CN101459887A (en) 2009-01-07 2009-01-07 Implementing method for information interaction between mobile and computer

Publications (1)

Publication Number Publication Date
CN101459887A true CN101459887A (en) 2009-06-17

Family

ID=40770455

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009100139066A Pending CN101459887A (en) 2009-01-07 2009-01-07 Implementing method for information interaction between mobile and computer

Country Status (1)

Country Link
CN (1) CN101459887A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916958A (en) * 2012-10-15 2013-02-06 福建榕基软件股份有限公司 Method and system for realizing access encryption of mobile terminal browser
CN103124407A (en) * 2011-11-18 2013-05-29 ***通信集团内蒙古有限公司 Determination method and device for on-line mode of mobile user
CN104253816A (en) * 2014-09-25 2014-12-31 武汉传神信息技术有限公司 HTTP (hyper text transport protocol)-based large file page breakpoint resuming method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103124407A (en) * 2011-11-18 2013-05-29 ***通信集团内蒙古有限公司 Determination method and device for on-line mode of mobile user
CN103124407B (en) * 2011-11-18 2016-04-27 ***通信集团内蒙古有限公司 The defining method of mobile subscriber's network access and device
CN102916958A (en) * 2012-10-15 2013-02-06 福建榕基软件股份有限公司 Method and system for realizing access encryption of mobile terminal browser
CN104253816A (en) * 2014-09-25 2014-12-31 武汉传神信息技术有限公司 HTTP (hyper text transport protocol)-based large file page breakpoint resuming method

Similar Documents

Publication Publication Date Title
CN102665114B (en) Method, apparatus and system for intelligent device interaction
CN104333599A (en) Application sharing method and system and application service platform
CN104935744A (en) Verification code display method, verification code display device and mobile terminal
WO2016202265A1 (en) Network access method and mobile communication terminal
CN102595407A (en) System and method both enabling mobile equipment to log in automatically and access into wireless network
CN103078881A (en) Sharing control system and method for network resource downloading information
KR20070118309A (en) A shortcut generator for services accessible via a messaging service system
CN104053126B (en) Show wireless communication terminal, the device and method of both call sides position
CN103312660A (en) Service realization method based on ability opening platform and ability opening platform
CN101551922A (en) A method and system for remotely fetching number
CN102130941A (en) Information system of mobile communication terminal and information sharing method thereof
CN105069669A (en) Flow transaction method and system based on WiFi
CN102571941A (en) Cloud point-to-point data transmission method and system
CN105681260A (en) Cloud storage file transmission method, fusion communication platform, sending end and system
CN103812900A (en) Data synchronization method, device and system
CN102299963A (en) File downloading system
CN101699839A (en) Mobile terminal figure adaptive system and method thereof
CN102843308A (en) Instant messaging method and system based on mobile terminal local address book
CN101729673A (en) Method and device for setting ringtone and wallpaper of mobile terminal
CN103916444A (en) Method for displaying number information through cloud model
TWI373939B (en)
KR100676052B1 (en) System and method for jointing contents using sync server
CN101459887A (en) Implementing method for information interaction between mobile and computer
CN201585139U (en) Mobile terminal graph adapting system
CN101834884B (en) System using mobile phone as long-distance wireless memory and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20090617