CN1411258A - Method of automatic frequency conversion transmitting data - Google Patents
Method of automatic frequency conversion transmitting data Download PDFInfo
- Publication number
- CN1411258A CN1411258A CN 01135456 CN01135456A CN1411258A CN 1411258 A CN1411258 A CN 1411258A CN 01135456 CN01135456 CN 01135456 CN 01135456 A CN01135456 A CN 01135456A CN 1411258 A CN1411258 A CN 1411258A
- Authority
- CN
- China
- Prior art keywords
- data
- frequency conversion
- automatic frequency
- transmitting terminal
- transmission
- 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
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
This invention put forward an automatically converting frequency transfer data method for automatically selecting fairly good data transmission rate between a data transmission end (personal computer PC) and mobile phones, designing an automatic frequency conversion program enabling automatically changing data transmission rate, which is to look for the maximum transmission rate for both parties via cable from the allowable maximum transmission rate by hardware, via negotiation and protocol between data sending end and mobile phone before formal data transmission, then to carry on the formal data transmission, so as to guarantee finishing transmission at highest speed and within shortest time.
Description
Technical field
The present invention relates to a kind of between data sending terminal and mobile phone, by the method for cable transmission data, the particularly a kind of method that can find out the fastest and reliable message transmission rate automatically.
Background technology
Existing Mobile Communications product promptly is alleged mobile phone, except having good communication quality, (for example: the function of online refresh routine many more convenient and diversified man-machine interfaces and additional function have also been comprised, with electronic game or the like), and integrate the powerful data management function of personal digital assistant and the trend of present especially this series products future development of function of surfing the Net and exploitation.
The user can be by PC from networking down loading updating procedure code, then by data cable (as the serial cable line), the refresh routine sign indicating number is transferred to mobile phone, finish the renewal of program or the upgrading of function, for example: can download new the tinkle of bells, new start-up picture and upgrade.
At present in the operation of transmission data between PC and the mobile phone, success and reliability in order to ensure transfer of data, lower even the minimum transmission rate (baud rate of general all selections, Baud rate) as 38.4K, as fixing message transmission rate, but with regard to the design of original hardware, the message transmission rate that hardware allows all is greater than this value, testing present employed serial cable line through reality finds, its transmission rate can reach the baud rate of 115.2K, and the reason of selecting lower transmission rate is normally considered the length of serial cable line, the quality or the difference of hardware environment, might influence or reduce transmission rate, so just can more conservatively select for use lower transmission rate to carry out the transmission of data.But this give up higher transmission rate need not, though can guarantee the success and the reliability of transfer of data, make that also the transmission time of data is longer, compared to higher baud rate transmission data, will lose the time of lot of valuable.
Summary of the invention
Main purpose of the present invention will be improved aforesaid problem exactly, finds out the highest and the transmission times reliable message transmission rate and shortening data between transmitting terminal that transmits data by cable and mobile phone.
The time of required cost when another object of the present invention is carried out program updates (run time version renewal) at the reduction mobile phone.
According to method proposed by the invention, mainly be before mobile phone and data sending terminal are each other by cable transmission data, at first can all support and guarantee a mobile phone and data sending terminal both sides successfully to transmit under the baud rate of data, come a past communication way by both sides one, begin to seek downwards the fastest and can guarantee the baud rate of transmission success again by the highest baud rate, then the Transmission bit rate when formally transmitting data between mobile phone and the data sending terminal both sides.
Relevant detailed technology content of the present invention and preferred embodiment, conjunction with figs. is described as follows now.
Description of drawings
Fig. 1 is that hardware of the present invention is formed calcspar.
Fig. 2 is a key step flow chart of the present invention.
Fig. 3 is a local flow chart of steps of the present invention.
Fig. 4 is a local flow chart of steps of the present invention.
Embodiment
At first see also Fig. 1, realize that the required hardware device of method of the present invention includes at least: computer 10, one serial cable 20, a mobile phone 30 and an automatic frequency-conversion program 40.
Computer 10 wherein, desktop PC (Personal Computer for example, PC), notebook computer (Note Book, NB), wherein store refresh routine (or executable code) and automatic frequency-conversion program 40 in order to mobile phone 30 is upgraded, and this refresh routine can be obtained via download by the mode that is linked to network (as the Internet internet or world wide web www), can certainly be by program development personnel for example in other mode (for example from hard disk, CD, the recording medium that computer-readables such as floppy disk are got) copy (Copy) is to computer 10.
Mobile phone 30 has a Port 31 of supporting the standard serial communication at least, and is connected with the port connected in series 11 of computer 10 by serial cable line 20, in order to receive the refresh routine from computer 10.
As for disclosed method then is by aforesaid automatic frequency-conversion program 40, between computer 10 (hereinafter referred to as transmitting terminal) and mobile phone 30 (hereinafter referred to as receiving terminal), realize the method for automatic frequency conversion transmitting data according to following step, its key step includes as shown in Figure 2:
1, the step of the communication speed of initialization transmitting terminal and receiving terminal can correctly be linked up in order to guarantee both sides;
2, set the step of " transfer protocol value ", in order to the initial value that determines to begin to seek best Transmission bit rate;
3, the step of the Transmission bit rate of agreement transmitting terminal and receiving terminal all is reset to this transfer protocol value in order to the Transmission bit rate with transmitting terminal and receiving terminal;
4, send the step of a test data package from transmitting terminal to receiving terminal;
5, check the step that above-mentioned steps 4 (sending the step that the test data package gives receiving terminal) is whether successful,, and return step 3 if unsuccessfully then reduce and upgrade aforesaid transfer protocol value, otherwise the continuation next step;
6, beginning to transmit the step of data, mainly is to begin from transmitting terminal transmission of data packets to receiving terminal according to the set Transmission bit rate of above-mentioned transfer protocol value.
Mainly be to be made as identical with the Transmission bit rate (Baud rate) of receiving terminal transmitting terminal in aforesaid step 1, and the value of this Transmission bit rate is called " initial baud rate value ", the minimum Transmission bit rate that normally hardware allowed is as the baud rate of 38.4K.And mainly be that the high-transmission baud rate value of choosing that hardware allows be this transfer protocol value in aforesaid step 2, so that the fastest and reliable Transmission bit rate of searching down since then.As among step 6, including the step of utilizing general crc check method (periodic cycle inspection technique, CyclicalRedundancy Check) verification, to guarantee the correctness of transmission of data packets.
And the crc check method, this is a kind of known algorithm that is used in proving correctness after the transfer of data, for example XMomdem, X.25, whether SDLC, Ethernet, the Token Ring data that just adopt this mode to check that the data of transmission, ZIP archive file also be to use CRC to investigate after the compression correct.
See also Fig. 3 again, the detailed step of abovementioned steps 3 then includes:
3-1, send a kind of message package of above-mentioned transfer protocol value that contains to receiving terminal from transmitting terminal;
3-2, after receiving terminal is correctly received above-mentioned message package, respond one of transmitting terminal and set successful message; And
3-3, respectively that transmitting terminal and receiving terminal is current Transmission bit rate are made as the transfer protocol value again.
See also Fig. 4 again, the detailed step of abovementioned steps 5 then includes:
5-1, after receiving terminal is received correct test data package, respond the message of a transfer of data success and give transmitting terminal, the Transmission bit rate of expression mutual agreement can be correctly and is transmitted data reliably, continues next step 6 then; And
5-2, transmitting terminal is as if the message of not receiving in a stand-by period of presetting from the transfer of data success of receiving terminal, just time of awaiting a response of transmitting terminal surpasses (Time out) after default stand-by period, then represent the Transmission bit rate failure of present mutual agreement, then the communication speed (being Transmission bit rate) with transmitting terminal and receiving terminal is reset to " initial baud rate value ", be the baud rate of 38.4K, reduce then and upgrade aforesaid transfer protocol value, and return step 3, can guarantee under the situation that both sides still can link up each other the both sides' that reach an agreement on again Transmission bit rate like this.
Claims (8)
1, a kind of method of automatic frequency conversion transmitting data, in order to pass through automatically to select preferable message transmission rate between a cable data sending terminal connected to one another and the mobile phone, it includes:
The step of the communication speed of A, initialization transmitting terminal and mobile phone is set an initial baud rate value, can correctly link up in order to guarantee both sides;
The step of B, setting one transfer protocol value is in order to the initial value that determines to begin to seek best Transmission bit rate;
The step of the Transmission bit rate of C, agreement transmitting terminal and mobile phone all is reset to this transfer protocol value in order to the Transmission bit rate with transmitting terminal and mobile phone;
D, step from test data package of transmitting terminal transmission to mobile phone;
E checks the step that above-mentioned steps D (sending the step that the test data package gives mobile phone) is whether successful, if unsuccessfully then reduce and upgrade aforesaid transfer protocol value, and returns step C, otherwise the continuation next step;
F, beginning to transmit the step of data, mainly is to begin from transmitting terminal transmission of data packets to mobile phone according to the set Transmission bit rate of above-mentioned transfer protocol value.
2, the method for automatic frequency conversion transmitting data as claimed in claim 1 is characterized in that, this steps A is to be made as identical with this initial baud rate value of receiving terminal transmitting terminal.
3, the method for automatic frequency conversion transmitting data as claimed in claim 2 is characterized in that, this initial baud rate value is the minimum Transmission bit rate that hardware allowed.
4, the method for automatic frequency conversion transmitting data as claimed in claim 3 is characterized in that, this minimum Transmission bit rate is 38.4K.
5, the method for automatic frequency conversion transmitting data as claimed in claim 1 is characterized in that, this transfer protocol value that this step B sets is the high-transmission baud rate that hardware allows.
6, the method for automatic frequency conversion transmitting data as claimed in claim 1 is characterized in that, this step C includes:
C-1, send a kind of message package of this transfer protocol value that contains to receiving terminal from transmitting terminal;
C-2, after receiving terminal is correctly received this message package, respond one of transmitting terminal and set successful message; And
C-3, respectively that transmitting terminal and receiving terminal is current Transmission bit rate are made as this transfer protocol value again.
7, the method for automatic frequency conversion transmitting data as claimed in claim 1 is characterized in that, this step e includes:
E-1, after receiving terminal is received this correct test data package, respond the message of a transfer of data success and give transmitting terminal, continue next step F then; And
E-2, transmitting terminal are as if the message of not receiving in a stand-by period of presetting from the transfer of data success of receiving terminal, just the Transmission bit rate with transmitting terminal and receiving terminal is reset to this initial baud rate value, reduce then and upgrade aforesaid transfer protocol value, and return this step C.
8, the method for automatic frequency conversion transmitting data as claimed in claim 1 is characterized in that, this step F more includes the step of utilizing the verification of general crc check method, to guarantee the correctness of transmission of data packets.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 01135456 CN1411258A (en) | 2001-10-09 | 2001-10-09 | Method of automatic frequency conversion transmitting data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 01135456 CN1411258A (en) | 2001-10-09 | 2001-10-09 | Method of automatic frequency conversion transmitting data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1411258A true CN1411258A (en) | 2003-04-16 |
Family
ID=4673149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 01135456 Pending CN1411258A (en) | 2001-10-09 | 2001-10-09 | Method of automatic frequency conversion transmitting data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1411258A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102595519A (en) * | 2009-10-28 | 2012-07-18 | 华为终端有限公司 | Working methods of wireless access point equipment and wireless access point equipment |
CN101742708B (en) * | 2009-10-28 | 2013-01-30 | 华为终端有限公司 | Operating methods of wireless access point equipment and wireless access point equipment |
-
2001
- 2001-10-09 CN CN 01135456 patent/CN1411258A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102595519A (en) * | 2009-10-28 | 2012-07-18 | 华为终端有限公司 | Working methods of wireless access point equipment and wireless access point equipment |
CN101742708B (en) * | 2009-10-28 | 2013-01-30 | 华为终端有限公司 | Operating methods of wireless access point equipment and wireless access point equipment |
CN102595519B (en) * | 2009-10-28 | 2014-08-20 | 华为终端有限公司 | Working methods of wireless access point equipment and wireless access point equipment |
US9055485B2 (en) | 2009-10-28 | 2015-06-09 | Huawei Device Co., Ltd. | Operating method of wireless access point device and wireless access point device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100338209B1 (en) | Method and system for sharing the browser | |
EP1402364B1 (en) | Method and apparatus for wide-spread distribution of electronic content in a peer to peer fashion | |
Wetteroth | OSI reference model for telecommunications | |
CN104539690B (en) | A kind of Server remote method of data synchronization detected based on feedback mechanism and MD5 codes | |
AU2003291909A1 (en) | System and method of creating and communicating with component based wireless applications | |
US6351487B1 (en) | Digital subscriber line device driver using communication window size based on relative data rates of upstream and downstream communications | |
EP2014037A1 (en) | Hover to call | |
CN101073056A (en) | Program acquisition and execution device, program acquisition and execution method, program acquisition and execution program recording medium and program acquisition and execution program | |
EP1499086B1 (en) | Internet service synchronization method for mobile communication terminal | |
CN1411258A (en) | Method of automatic frequency conversion transmitting data | |
CN102710760B (en) | Embedded network terminal synchronous configuration method and equipment | |
WO2001073562A1 (en) | Content server device | |
Jipping | Symbian OS communications programming | |
US20020181678A1 (en) | Data transmission method by automatic frequency control | |
US7447750B2 (en) | Program setting system, program setting method, server, client and program | |
US7448069B2 (en) | Access-request control method, driver program for communication device, and communication device | |
JP2007281731A (en) | Communication device, communication method, and program | |
Cisco | Release Notes for Cisco 700 X.25 Software Version 4.1(2) | |
Cisco | Release Notes for Cisco 700 Series Router Software Release 4.4.4 | |
KR100935000B1 (en) | Adaptive approach to express different bus protocols | |
Cisco | Release Notes for Cisco\ 700 Software Release\ 4.1.2 X.25 | |
Cisco | Release Notes for Cisco\ 700 Software Release\ 4.1.2 X.25 | |
Cisco | Serial Configuration Upload Download Switch | |
Cisco | Release Notes for Cisco 700 Series Router Software Version 4.4.1 | |
Cisco | Cisco 700 - Release Notes for Release 4.4(1) Feature Packs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |