+

CN102158847A - Communication method and system between mobilephone and server - Google Patents

Communication method and system between mobilephone and server Download PDF

Info

Publication number
CN102158847A
CN102158847A CN2010105683302A CN201010568330A CN102158847A CN 102158847 A CN102158847 A CN 102158847A CN 2010105683302 A CN2010105683302 A CN 2010105683302A CN 201010568330 A CN201010568330 A CN 201010568330A CN 102158847 A CN102158847 A CN 102158847A
Authority
CN
China
Prior art keywords
mobile phone
server
request
file
files
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
CN2010105683302A
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.)
BEIJING XUNJIE YINGXIANG NETWORK TECHNOLOGY Co Ltd
Original Assignee
BEIJING XUNJIE YINGXIANG NETWORK TECHNOLOGY 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 BEIJING XUNJIE YINGXIANG NETWORK TECHNOLOGY Co Ltd filed Critical BEIJING XUNJIE YINGXIANG NETWORK TECHNOLOGY Co Ltd
Priority to CN2010105683302A priority Critical patent/CN102158847A/en
Publication of CN102158847A publication Critical patent/CN102158847A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a communication method and system between a mobilephone and a server. The method comprises the following steps: the server receives a data request requesting a file, sent by the mobilephone; (2) the server sends the requested file in a file block form to the mobilephone according to the data request and records the positions of the sent file blocks in caching equipment in real time; and (3) the server transmits the follow-up file blocks according to the positions of the file blocks, recorded in the caching equipment, when the mobilephone and the server are disconnected and the server receives the data request retransmitted by the mobilephone. By means of the communication method and system between the mobilephone and the server, the communication can be enabled to be safer and more efficient.

Description

The means of communication between mobile phone and the server and system
Technical field
The present invention relates to a kind of mechanics of communication, the means of communication and system between particularly a kind of mobile phone and the server.
Background technology
Fast development along with the mobile phone mobile network, what stand in the breach is exactly to be described as the mobile phone music service that the mobile phone trump card is used, the function of mobile phone has not only been expanded in this application service, greatly promoting mobile phone hardware and mobile network's development especially, allow mobile phone no longer only just play the song resource that has existed on the mobile phone, but can become reality by mobile phone and server communication by mobile internet.By the mobile phone music service effect of mobile phone and network interdynamic is amplified more and expanded, make that mobile phone no longer only is the instrument of making a phone call or sending short messages, but mobile music terminal truly can be downloaded abundanter online music material resource continuously or be pushed on the mobile phone.
A kind of client device adopts following communication instruction step to finish mutual transmission with communicating by letter of server device, and it can be concluded abstractdesription and is: conn (connection)->user (user rs authentication)->pass (cryptosecurity is shaken hands)->init (initialization data)->list (tabulation)->items (resource element)->download (download) or play (broadcast); Also comprise back (returning) instruction and exit (withdrawing from) instruction, wherein the back instruction is for returning the instruction of the last instruction of request, it can be at conn instruction any one instruction of back (user, pass, init, list, items, download play) asks after the operation, the exit instruction is the instruction that notification service end equipment withdraws from the client device software systems, and its sequence of positions is identical with the back instruction; And list instruction institute request msg is a tree, if certain leaf node data is a list structure in the data of returning, can repetitive requests list instruction be asked by the data of leaf node.
(single-track static authenticationmodule is SSM) as the mode of carrying out user rs authentication in client device and the server communication process to adopt a kind of unidirectional static security login verification model.With reference to figure 1, it shows the sequential chart of unidirectional static security login verification model.After client device sent login instruction user, common customer end equipment also needed to send cryptographic check order pass, can allow server device carry out safety check like this.When safety check by after server device can know just whether the request of this client device belongs to legal request, and then just can carry out the operation of follow-up command word.This security model is enough to for most of client devices, but for the client device that has adopted some charging means, this mode just has certain limitation, this is to shake hands because only carry out the once safety verification, and this safety check to shake hands be unidirectional behavior, to such an extent as to thereby can cause some illegal programs to trespass or dummy instruction send server device to this information fully without any judgement, thereby make fail safe very poor.
In addition, and a kind of client multithreading model of use in the communication process of client device and server device (Mobile client multithreading module, MTM).In this client multithreading model, when client device needs batch down-load music material resource or played songs, the way that adopts is under the pattern that some middle and high end mobile phone can be supported, take the technology of multithreading simultaneously to server requests material file data resource at client device, and the material file data resource downloaded on the client device synchronously, roughly sequential chart is as shown in Figure 2 for it.As can be seen, see all well and goodly on this model theory, can think that almost data are the concurrent server device of asking in the same time period, and server device can concurrently respond also, and data are pushed to client device in the same time period.But the mobile phone hardware resource is often limited, low and middle-end mobile phone particularly, and multithreading generally can not be used, if adopt that will greatly consume hardware resource yet, makes its loss become big, lifetime, and easily " deadlock " (machine of delaying) phenomenon takes place; In addition, even the mobile phone of higher-end, still be subject to the disposal ability of handset processes device chip, the time that remains in very little timeslice is linear carries out, though taked multi-theread processor system and another factor is a client device, but server device has but only been opened the single-threaded data communication of carrying out, can not really reach the effect of " simultaneously " when both are in conjunction with the deal with data resource so like this, can cause being partial to the processing procedure of single material resource like this, and other resource needs always to wait for.
In addition, use a kind of client-cache model (Mobile client cache module, CCM) quicken the execution efficient of client device, because most of client devices can adopt the data cached technology of a kind of cell-phone customer terminal, the server return data that the order of historical requests is obtained is temporarily stored in the mobile phone EMS memory, so that when same request is arranged, can reduce expense to remote server access, the crucial part of this technology is that client device thinks that server device is searched expense that magnetic disc i/o causes in data are carried out big and wish to reduce this remote request as far as possible, certainly, this behavior only can be carried out after initialization, still need carry out the secure log verification with server device before the initialization, roughly flow process is as shown in Figure 3 for it.But, because server device does not keep the state of historical data and the connection of certain client device, after so client device and server disconnect and being connected when network failure occurring, client device must just can carry out follow-up operation after the initialization by reconnecting also, and the operation before these subsequent operations and the disconnection does not have continuity fully, thereby make operating efficiency reduce, and to user's profit of making troubles.And if mobile phone shutdown is restarted, then the historical data of temporary cache in mobile phone EMS memory disappears in the lump, any state that need keep when client device can't be reset to last the use.
In sum, in the communication of aforementioned client device and server device, no matter be based on the still more basic tcp/ip mode of expansion of http protocol, all just allow client device and server device do the verification of simply shaking hands, and take multithreading can handle the affairs of a plurality of SoundBreeze Clubtunes resources of request simultaneously by mobile phone at client device, can ensure certain Information Security and certain reliability like this, some following technical characteristics mainly are provided:
(1) client device and the server device legitimacy that only verification once comes source channels before initialization is set up long the connection then, and data are afterwards no longer done data encryption and handled when client device is delivered to server device;
(2) but client device adopts a plurality of tasks of multithreading batch process, as batch down-load music material resource etc.;
(3) take place in the communication process can attempt automatically reconnecting behind the network failure, so client device can connect to come initialization again or reorientate the resource file that needs are downloaded;
(4) historical data operation is buffered in the internal memory of mobile phone, can not quicken the operational efficiency of client device under the situation of cycle power at mobile phone.
As mentioned above, there is following several problem in the mechanics of communication of above-mentioned as can be seen client device and server device:
(1), thereby is difficult to guarantee well the fail safe of communication because the secure log verification only uses the once safety verification to shake hands;
(2), cause the client device loss to become big, lifetime, speed is slow, and make communication efficiency step-down between client device and the server owing to use multithreading at client device;
(3) because server device does not keep the state of historical data and client device connection, thereby when network failure occurring server device and client device disconnect the back client device must by reconnect and initialization after just can carry out follow-up operation, and these subsequent operations with disconnect before operation do not have continuity fully.
(4) because the historical data of temporary cache in mobile phone EMS memory disappears thereby any state that need keep when can't be reset to last use of client device in the lump after mobile phone shutdown is restarted.
Summary of the invention
In view of above-mentioned defective, the application's a purpose provides a kind of safer, the means of communication and system between mobile phone and the server efficiently, it is specially adapted to the music client software in the telecom charging field, can stop the illegal request that produces in this field and the phenomenon of the charging that leads to errors.
Another purpose of the application provides and a kind ofly can reduce dependence to memory device in the mobile phone hardware (cost) so that wider mobile phone and the means of communication between the server and the system of its mobile phone coverage rate that relates to.
Another purpose of the application provides a kind of mobile phone and the means of communication between the server and system that gives full play to the more powerful advantage of server device operational capability, it can utilize the bandwidth among the mobile network better, finishes the propelling movement of director data more quickly.
Another purpose of the application provides a kind of mobile phone and the means of communication between the server and system that ad infinitum continues the continuation operation of communication command in time.
To achieve these goals, the application proposes the means of communication between a kind of mobile phone and the server, comprises the steps: that (1) server receives the request of data of request one file of mobile phone transmission; (2) according to this request of data, server sends the file of being asked with the form of blocks of files to mobile phone, and the position of the blocks of files that sends is recorded in real time in the buffer memory equipment; And (3) after being connected of mobile phone and server disconnects, and server carries out the transmission of subsequent file piece according to the position of the blocks of files that writes down in this buffer memory equipment when receiving the request of data that mobile phone retransmits.
The application also proposes a kind of system that carries out communication with mobile phone, and comprising: server is used for carrying out communication with mobile phone; With buffer memory equipment, be arranged in the server or be independent of the server setting; Wherein, server sends the file of being asked with the form of blocks of files to mobile phone when receiving the request of data of request one file that mobile phone sends, and the position of the blocks of files that sends is recorded in real time in the buffer memory equipment; And wherein, server when receiving the request of data of mobile phone repeating transmission, carries out the transmission of subsequent file piece according to the position of the blocks of files that writes down in this buffer memory equipment after disconnecting with being connected of mobile phone.
Utilize the application, can be safer, charge efficiently.
Utilize the application, can reduce the dependence to memory device in the mobile phone hardware (cost), the mobile phone coverage rate that it is related to is wider.
Utilize the application, can give full play to the more powerful advantage of server device operational capability, the multi-thread mechanism of server device can allow client device and server device set up a plurality of concurrent communication passages simultaneously, and then utilized the bandwidth among the mobile network better, finish the propelling movement of director data more quickly.
Utilize the application; because server device has increased buffer memory equipment; any data that the client device request is produced all can completely keep; can ad infinitum continue the continuation operation of communication command in time; can be and the normal recovery of historical requests data when having influence on next running client device software because of the outage of cell-phone customer terminal or shutdown; can develop better man-machine interactive system on this basis, make the waste communication resource that client device can be not in vain under any abnormal conditions.
Utilize the application, model by expansion client device and server device agreement, avoided because the security risk that the pseudo-operation of equipment room data brings, avoided the waste of mobile network resource, lowered the loss and the cost of mobile phone hardware, the history command word of increase has solved the problem that the generation that causes unusually and easily of client device repeated and fixed inflexible instruction manipulation in the man-machine interaction.
The application includes but not limited to as above advantage.Certainly, arbitrary product of enforcement the application might not need to reach simultaneously above-described all advantages.
Description of drawings
Fig. 1 shows the sequential chart of secure log verification model;
Fig. 2 shows the sequential chart of client multithreading model;
Fig. 3 shows the flow chart of client-cache model;
Fig. 4 is exemplary to show a example according to the sequential chart of the two-way dynamic security verification model of the embodiment of the present application;
The exemplary example that shows according to the service end multithreading buffer memory expansion sequential chart of the embodiment of the present application of Fig. 5; And
Fig. 6 is exemplary to show a example according to the crucial sequential chart of the history command word of the embodiment of the present application.
Embodiment
In this manual, unless offer some clarification on, mentioned " client device " is music class mobile phone, and it can be via wireless network and server communication; Mentioned " server device " is for providing the server of services such as music download, broadcast for music class mobile phone.And, only be exemplary at the example shown in this, be not intended to limit the application's scope.
The application expands SSM, MTM and three models of CCM, increase in server device " historical data retain model (history restore module for server; HRM) ", and increased buffer memory equipment and safety check equipment in server device one side.
1, two-way dynamic security verification expansion
According to an embodiment, in the communication between two-way dynamic security verification model introducing mobile phone and the server.In this two-way dynamic security verification model, one safety check equipment is set in server device one side.According to the concrete condition of communication system, this safety check equipment can be combined in the server device, also can be independent of server device.This model can make communication safer, and is particularly useful for having the music class mobile phone of telecom charging mechanism.
To the two-way dynamic security verification model of present embodiment be described in detail below.
At first, send cryptographic check order pass by client device, server device is carried out safety check to the cryptographic check order pass that sends from client device, whether belongs to legal request with the request of judging client.If cryptographic check is passed through, then send response word (acknowledge character string) ok and give client from server device, this verification step is identical with the verification step that background technology is partly described.Then, client device sends the initialization directive init that carries equipment unique identification MDN (mobile directorynumber) to server device, afterwards according to each request of client device, safety check equipment by server device one side setting generates and passes to random number m of client device at random and encrypts string c, and client device need be transferred to server device with this random number m and encryption string c and equipment unique identification MDN in request next time, the safety check equipment of server device one side in verification this time generate a random number m at random again and encrypt string c after legitimacy of request, and with newly-generated random number m with encrypt string c and replace random number m original in the internal memory of safety check equipment and encrypt and go here and there c.
Refer now to Fig. 4, give an example with the operation of command word init, list and items, description is according to an example of the sequential of the two-way dynamic security verification model of the embodiment of the present application.At first, client device sends cryptographic check order pass to server device, if checking is passed through, then server device sends response word ok to client device.Then, client device sends initialization directive init to server device, and this initialization directive carries MDN, wherein " carries " data segment that is meant behind this instruction init and carries MDN or utilize independent communication channel to carry MDN.Server device is carried out initialization according to this instruction init to data, and the request of client device is sent to safety check equipment.This safety check equipment generates random number m1 at random and encrypts string c1 according to the request of client device, and random number m1 and the encryption string c1 that generates is stored in its internal memory.If the initialization success then will be carried the random number m1 of generation and the response word welcome of encryption string c1 and be sent to client device.Afterwards, client device sends to server device and carries MDN and receive random number m1 that comes and the instruction list that encrypts string c1 from server device in previous step is rapid.The safety check equipment of server device one side is with this random number of sending from client device and encrypt the random number of having stored string and its internal memory and encrypt string and compare.If the two is identical, then verification is passed through, and server device execution command list tabulates, and safety check equipment generates new random number m2 and password string c2 once more at random, and newly-generated random number m2 and password string c2 are stored in its internal memory.Newly-generated random number m2 and password string c2 be carried among the response word list song data send to client device.Afterwards, according to the instruction items that comprises MDN and random number m2 and encryption string c2 that sends from client device, server device is carried out verification to random number m2 and encryption string c2, and under the situation that verification is passed through, execution command items, and generate new random number m3 once more and encrypt string c3, newly-generated random number m3 is carried among the response word song items data with encryption string c3 sends to client device.In above-mentioned steps, if random number of storing from client device random number of sending and the internal memory of encrypting string and safety check equipment and encryption string do not match, client device access service end equipment is refused in then verification failure.
This model can be stopped common a kind of Client command pseudo-operation behavior well: be the terminal that normal legal client software has been installed as certain client device A, client device B has installed the illegal client software of having stolen the username and password that client device A distributed, so utilizing order user and pass to verify under the situation about all passing through, client device B is when transmission instruction init is to server device, not because not matching of terminal unique identification MDN information of transmitting and service end, and then can't generate correct m and c passes to client, so it is the client device that illegitimate client software has been installed that server device and client device A all can correctly judge this client device B, thereby refusal provides service.Any illegal client-requested can be refused better like this, thereby fail safe to greatest extent can be guaranteed.
And, this model can also provide following effect: when client device A is infected by trojan horse, because each communication verification password is dynamic, wooden horse can't be truncated to the verification rule easily, increased the technical difficulty that wooden horse cracks, because password generates the randomness of point, the encryption of becoming a partner property and data, the crack method of walking around this password m and c process obviously can't pass through by serviced end, even take unique violence method to crack, but client device A may can not use or also can only carry out long-range simulation pseudo-operation on client device A owing to resource exhaustion, and because the infeasibility of foregoing pseudo-operation, can not transfer on the client device B, then thisly crack and lost in all senses.Thereby this model can be so that communication be safer reliable.
2, service end multithreading buffer memory expansion
According to an embodiment, server device is carried out the expansion of multithreading buffer memory to form service end multithreading cache model.This model is primarily aimed at the situation of initiating 2 above material resource request in client device simultaneously.When client device only sent 1 material resource request, server device can adopt single thread mode.In service end multithreading cache model, in server device one side one buffer memory equipment is set, according to the concrete condition of communication system, this buffer memory equipment can be combined in the server device, also can be independent of server device.In the following description, will be that example is described with buffer memory equipment and server device situation independent of each other.
To the service end multithreading cache model according to present embodiment be described in detail below.
When the client device request is downloaded a plurality of file simultaneously, client device and server device all adopt multithread mode, thereby the task transfers of being finished by client device originally when client device is downloaded a plurality of file simultaneously can be carried out to server device; And owing to increased buffer memory equipment in server device, thereby the resource information that obtains can be buffered processing, not only can reduce like this client device the hardware loss, maximally utilise mobile network's bandwidth, also can allow client device in repeated downloads or repetitive lots played songs, directly from buffer memory equipment, take out corresponding data, reduce the time delay that when searching resource data, causes by the poor efficiency running of server device magnetic disc i/o according to the sign that defines.
Referring now to Fig. 5, describe process in detail according to the service end multithreading buffer memory of the embodiment of the present application.At first, client device sends instruction items request to server device and obtains music information, and server device sends response word song items info according to this request to client device.Afterwards, client device sends download instruction download request with multithread mode to server device and downloads N object (iteml, item 2, ... item N), server device is at first sought the object of download of asking in buffer memory equipment, if having, then directly with the (file1 of the corresponding document in the buffer memory equipment, file 2 ... file N) send to client device with multithread mode; If do not have, then continue in disk storage device, to seek, then with corresponding document (file1, file 2 ... file N) send to client device with multithread mode.
Under this expansion, not only by using buffer memory equipment to come the efficient of acceleration request response, and when client device is initiated the individual material resource request of N (N>=2) simultaneously, server device also can start N thread simultaneously and handle, server device adopts this multithread mode will utilize the advantage of server device high-performance processor fully, even for non-existent data in the buffer memory equipment, also can read corresponding data from disk efficiently, and at this moment because the in-process both sides that client device is communicated by letter with server device all take the multithreading ways of connecting, even thereby client device causes the processing of " deflection " single resource owing to the scarce capacity of hardware, but on the whole, it is a lot of that " deflection " effect is reduced, this is because server device will send the packet of other resource when client device is handled single resource in a steady stream improperly, the client device sheet of will having to find time is handled these packets, though rather than sent a plurality of resource request as client device in the MTM model, but server device but can only be waited for and could handle the next one after single file process is finished fully, cause the waste of server time resources costs.
3, breakpoint transmission service end expansion
Because the existing of wireless network destabilizing factor (as a little less than the entering signal during overlay area), traditional MTM mode is easy to lose the relevant situation that downloads to the packet of client device when network is unusual, and have to resend original request of data, server device then has only the transmission of from the beginning carrying out packet again, this has not only wasted Internet resources, but also has consumed the time that a large amount of repetitive data packet transmits.
At this situation,, server device has been carried out the expansion of breakpoint transmission service according to the application's a embodiment.In the breakpoint transmission service of this expansion, at first, set the scope (being preferably 24 hours or 48 hours) of an experience time in server device, when receiving because of network reason such as temporarily disconnected, server device in this time range makes after client device and the request of data that resends from client device after the server device disconnection is connected, client is given in information such as the blocks of files position response in time that be recorded in during server device will be transmitted last time in the buffer memory equipment of server device, submit the request of the reception work that is used to finish the subsequent file piece to by client device identification and to server device, thereby the service equipment end can send to client device with the subsequent file piece according to this request of client device.
How real time record blocks of files position in the buffer memory equipment of server device now will be described in the present embodiment in data transmission procedure.At first, when sending initialization directive init, server device is suitable for maximum blocks of files size (block size) data that this client device file system can be discerned according to one of the characteristic propelling movement of client device model, when requested resource file greater than this blocks of files size the time, server device is divided into several parts according to this block size with a file and transmits during transmission.And server device will start the transmission situation that a monitoring thread (monitor thread) is ceaselessly gone each blocks of files in " supervision " each transfer of data thread always when transmission, which which resource file of client device request for example, resource file can be divided into several altogether, transmitted and finished which piece, whether this document transmits thread because of information such as network have unusually withdrawed from.Thereby the position of blocks of files can be recorded in real time in the buffer memory equipment of server device.
Wherein, the time interval of monitoring thread is relevant with the size of resource file, for example, it can be defined as shown in following table 1:
Figure BDA0000035468460000101
Table 1
4, service end historical data cache model (HRM)
As mentioned above, the client device data in buffer can be lost because of electric power, failure and other reasons, thereby according to the application's a embodiment, by forming service end historical data cache model (HRM), can avoid the problem of " all need to redo " behind the mobile phone power-on in server device.The buffer memory equipment of server device all carries out buffer memory until the network disconnection connects preceding all command words of being asked and requested packets with the last normally login of client device verification after initialization, and keep the experience time (being preferably one month) of setting at least, after treating that client device recovers normally, verification and initialization are finished again, client device is restore data to the end in the formed mode of operation of once command soon, and then allows client device finish man-machine interaction work better.
In this model, in agreement, increase command word: history, and the successful instruction of server device response is history ok, failure then is none (representing the historical data that asked no last time).That is, the communication protocol of client device and server device change to following pattern (" | " expression " or " relation, back, exit and list implication are with carrying in the background technology):
Conn->user->pass->init->history|->list->items->download or play
Items->download of |->or play
Download of |->or play
One example of the crucial sequential of command word history is described below with reference to Fig. 6.At first, client device carries out safety check by sending instruction user and pass, and after verification was passed through, client device sent and carries the initialization command init of MDN and return random number m and password string c from server device.Then, client device sends and carries the command word history of MDN, random number m and password string c to server device, if there is the historical data of request last time in server device, then server device will represent that successful response word History ok sends to client device, thereby make the client device restore data formed mode of operation of once command to the end, and carry out last instruction; If server device does not have the historical data of request last time, then server device will represent that the response word none of failure sends to client device, thereby enter normal communication process.
Present techniques scheme beneficial effect comprises following several aspect:
1. can be safer, efficient, be specially adapted to the music client software in the telecom charging field, can stop the illegal request that produces in this field and the phenomenon of the charging that leads to errors;
2. can reduce the dependence to memory device in the mobile phone hardware (cost), the mobile phone coverage rate that it is related to is wider;
3. give full play to the more powerful advantage of server device operational capability, the multi-thread mechanism of server device can allow client device and server device set up a plurality of concurrent communication passages simultaneously, and then utilized the bandwidth among the mobile network better, finish the propelling movement of director data more quickly;
4. because server device has increased buffer memory equipment; any data that the client device request is produced all can completely keep; can ad infinitum continue the continuation operation of communication command in time; can be and the normal recovery of historical requests data when having influence on next running client device software because of the outage of cell-phone customer terminal or shutdown; can develop better man-machine interactive system on this basis, make the waste communication resource that client device can be not in vain under any abnormal conditions.
Model by expansion client device and server device agreement, avoided because the security risk that the pseudo-operation of equipment room data brings, avoided the waste of mobile network resource, lowered the loss and the cost of mobile phone hardware, the history command word of increase has solved the problem that the generation that causes unusually and easily of client device repeated and fixed inflexible instruction manipulation in the man-machine interaction.
All examples described herein and conditional language all are used to instruct purpose, improve the design of being contributed to help reader understanding the application and inventor for prior art, it should be read as not to be the example of concrete record and the restriction of condition.Although described the application's embodiment in detail, should understand under the spirit and scope that do not depart from the application and can carry out various variations, replacement and change.

Claims (16)

1. the means of communication between mobile phone and the server comprise the steps:
(1) server receives the request of data of request one file of mobile phone transmission;
(2) according to this request of data, server sends the file of being asked with the form of blocks of files to mobile phone, and the position of the blocks of files that sends is recorded in real time in the buffer memory equipment; And
(3) after being connected of mobile phone and server disconnected, server carried out the transmission of subsequent file piece according to the position of the blocks of files that writes down in this buffer memory equipment when receiving the request of data of mobile phone repeating transmission.
2. the means of communication according to claim 1, mobile phone normally lands all command words of being asked and data pack buffer for the last time in this buffer memory equipment before also comprising the steps: being connected of mobile phone and server disconnected; And when disconnecting the back mobile phone being connected of mobile phone and server and send connection request again, server based on the content of buffer memory in this buffer memory equipment make mobile phone return to connect disconnect before the mode of operation of last order.
3. the means of communication according to claim 1 wherein, also comprise two-way dynamic security checking procedure before in step (1).
4. the means of communication according to claim 3, wherein, this two-way dynamic security checking procedure comprises: server when receiving the request of mobile phone at every turn, control safety check equipment generates at random and goes here and there in this safety check Device memory storage random number and encryption, and with the random number that generates with encrypt string and pass to mobile phone, by the random number that will in the request next time of mobile phone, send with encrypt the random number of storing in string and the described safety check equipment and encrypt string and compare the legitimacy of verifying mobile phone.
5. the means of communication according to claim 1 also comprise: when receiving mobile phone when downloading the request of a plurality of files simultaneously, server responds with multithreading.
6. the means of communication according to claim 1, wherein, step (2) comprising: server pushes the data of the maximum blocks of files size that mobile phone can discern to mobile phone according to the characteristic of mobile phone, when the file of asking was big or small greater than described maximum blocks of files, server was divided into many parts according to the file of the big young pathbreaker's request of described maximum blocks of files.
7. the means of communication according to claim 1, wherein, step (2) comprising: server is with the transmission situation of predetermined time interval Monitoring Files piece.
8. the means of communication according to claim 7, wherein, described predetermined time interval is set according to the size of the file of request.
9. system that carries out communication with mobile phone comprises:
Server is used for carrying out communication with mobile phone; With
Buffer memory equipment is arranged in the server or is independent of the server setting;
Wherein, server sends the file of being asked with the form of blocks of files to mobile phone when receiving the request of data of request one file that mobile phone sends, and the position of the blocks of files that sends is recorded in real time in the buffer memory equipment; And
Wherein, server when receiving the request of data of mobile phone repeating transmission, carries out the transmission of subsequent file piece according to the position of the blocks of files that writes down in this buffer memory equipment after disconnecting with being connected of mobile phone.
10. system according to claim 9, wherein, this buffer memory device storage mobile phone normally lands all command words and the packet of being asked for the last time with the preceding mobile phone of disconnection that is connected of server; And server is when disconnecting the back mobile phone being connected of mobile phone and server and initiate connection request, based on the content of buffer memory in this buffer memory equipment make mobile phone return to connect disconnect before the mode of operation of last order.
11. system according to claim 9, wherein, this system also comprises safety check equipment, and it is arranged in the server or is independent of the server setting.
12. system according to claim 11, wherein, this safety check equipment generates and stores random number at random within it and encrypt string according to each request of mobile phone, with the random number that generates with encrypt string and pass to mobile phone, and by the random number that will in the request next time of mobile phone, send with encrypt the random number of storing in string and the described safety check equipment and encrypt string and compare the legitimacy of verifying mobile phone.
13. system according to claim 9, wherein, server responds with multithreading when mobile phone is downloaded a plurality of file simultaneously.
14. system according to claim 9, wherein, server pushes the data of the maximum blocks of files size that mobile phone can discern to mobile phone according to the characteristic of mobile phone, and when the file of asking was big or small greater than described maximum blocks of files, server was divided into many parts according to the file of the big young pathbreaker's request of described maximum blocks of files.
15. system according to claim 9, wherein, server is with the transmission situation of predetermined time interval Monitoring Files piece.
16. system according to claim 15, wherein, described predetermined time interval is set according to the size of the file of request.
CN2010105683302A 2010-12-01 2010-12-01 Communication method and system between mobilephone and server Pending CN102158847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105683302A CN102158847A (en) 2010-12-01 2010-12-01 Communication method and system between mobilephone and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105683302A CN102158847A (en) 2010-12-01 2010-12-01 Communication method and system between mobilephone and server

Publications (1)

Publication Number Publication Date
CN102158847A true CN102158847A (en) 2011-08-17

Family

ID=44439965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105683302A Pending CN102158847A (en) 2010-12-01 2010-12-01 Communication method and system between mobilephone and server

Country Status (1)

Country Link
CN (1) CN102158847A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103378997A (en) * 2012-04-26 2013-10-30 中兴通讯股份有限公司 NFS performance monitoring method, front end node and NFS performance monitoring system
CN104980399A (en) * 2014-04-08 2015-10-14 腾讯科技(深圳)有限公司 File transfer method, client and proxy server
CN106101240A (en) * 2016-06-23 2016-11-09 北京智能管家科技有限公司 A kind of data communication continued access method and device
CN106375822A (en) * 2016-10-08 2017-02-01 广东欧珀移动通信有限公司 A multimedia synchronous playback method, device, system and terminal
CN106973080A (en) * 2017-02-20 2017-07-21 绿网天下(福建)网络科技股份有限公司 A kind of big document distribution method of LAN and system
CN107645517A (en) * 2016-07-20 2018-01-30 腾讯科技(深圳)有限公司 Data push method and device
CN109743135A (en) * 2018-12-29 2019-05-10 中国大唐集团新能源科学技术研究院有限公司 A kind of method of breakpoint transmission file transmission
CN111191552A (en) * 2019-12-23 2020-05-22 合肥美的智能科技有限公司 Image recognition method based on visual terminal and visual terminal
CN112580002A (en) * 2020-12-17 2021-03-30 平安普惠企业管理有限公司 Login method and related equipment
CN114430346A (en) * 2022-01-27 2022-05-03 亿咖通(湖北)技术有限公司 Login method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003052609A1 (en) * 2001-12-13 2003-06-26 Thomson Licensing S.A. Apparatus and methods for information transfer using a cached server
CN1863061A (en) * 2005-09-28 2006-11-15 华为技术有限公司 Method of automatically recovering of mobile terminal on internet game interrupting and system thereof
CN101150540A (en) * 2007-11-07 2008-03-26 北京亿企通信息技术有限公司 A method for continuous file transfer at interruption point in instant communication tool
CN101312566A (en) * 2007-05-25 2008-11-26 上海美通无线网络信息有限公司 Method for mobile phone to download large resource
CN101431410A (en) * 2007-11-09 2009-05-13 康佳集团股份有限公司 Authentication method for network game client and server cluster
CN101719929A (en) * 2009-11-20 2010-06-02 山东中创软件商用中间件股份有限公司 Method for realizing real-time data transmission under Web Service

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003052609A1 (en) * 2001-12-13 2003-06-26 Thomson Licensing S.A. Apparatus and methods for information transfer using a cached server
CN1863061A (en) * 2005-09-28 2006-11-15 华为技术有限公司 Method of automatically recovering of mobile terminal on internet game interrupting and system thereof
CN101312566A (en) * 2007-05-25 2008-11-26 上海美通无线网络信息有限公司 Method for mobile phone to download large resource
CN101150540A (en) * 2007-11-07 2008-03-26 北京亿企通信息技术有限公司 A method for continuous file transfer at interruption point in instant communication tool
CN101431410A (en) * 2007-11-09 2009-05-13 康佳集团股份有限公司 Authentication method for network game client and server cluster
CN101719929A (en) * 2009-11-20 2010-06-02 山东中创软件商用中间件股份有限公司 Method for realizing real-time data transmission under Web Service

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103378997B (en) * 2012-04-26 2018-07-24 中兴通讯股份有限公司 A kind of NFS method for monitoring performance, front end node and system
CN103378997A (en) * 2012-04-26 2013-10-30 中兴通讯股份有限公司 NFS performance monitoring method, front end node and NFS performance monitoring system
CN104980399A (en) * 2014-04-08 2015-10-14 腾讯科技(深圳)有限公司 File transfer method, client and proxy server
CN104980399B (en) * 2014-04-08 2020-04-21 腾讯科技(深圳)有限公司 File transmission method, client and proxy server
CN106101240A (en) * 2016-06-23 2016-11-09 北京智能管家科技有限公司 A kind of data communication continued access method and device
CN106101240B (en) * 2016-06-23 2020-01-14 北京儒博科技有限公司 Data communication continuous connection method and device
CN107645517B (en) * 2016-07-20 2021-04-16 腾讯科技(深圳)有限公司 Data pushing method and device
CN107645517A (en) * 2016-07-20 2018-01-30 腾讯科技(深圳)有限公司 Data push method and device
CN106375822A (en) * 2016-10-08 2017-02-01 广东欧珀移动通信有限公司 A multimedia synchronous playback method, device, system and terminal
CN106375822B (en) * 2016-10-08 2017-11-17 广东欧珀移动通信有限公司 A kind of multimedia synchronous plays method, apparatus, system and terminal
CN106973080A (en) * 2017-02-20 2017-07-21 绿网天下(福建)网络科技股份有限公司 A kind of big document distribution method of LAN and system
CN109743135A (en) * 2018-12-29 2019-05-10 中国大唐集团新能源科学技术研究院有限公司 A kind of method of breakpoint transmission file transmission
CN111191552A (en) * 2019-12-23 2020-05-22 合肥美的智能科技有限公司 Image recognition method based on visual terminal and visual terminal
CN112580002A (en) * 2020-12-17 2021-03-30 平安普惠企业管理有限公司 Login method and related equipment
CN114430346A (en) * 2022-01-27 2022-05-03 亿咖通(湖北)技术有限公司 Login method and device and electronic equipment
CN114430346B (en) * 2022-01-27 2023-09-05 亿咖通(湖北)技术有限公司 Login method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN102158847A (en) Communication method and system between mobilephone and server
KR102193549B1 (en) Practical Byzantine failure-tolerant blockchain consensus and ease of node synchronization
US11669872B2 (en) Smart broadcasting device
JP6490654B2 (en) Method and system for providing a time machine function in live broadcasting
US12058012B1 (en) System and methods for scalable cloud-based platform and related applications
CN102143129B (en) Method and system for realizing service protection in hyper text transmission protocol (HTTP) streaming transmission
CN113505354B (en) Data processing method, device and storage medium
JP2018512660A (en) Method, apparatus and system for providing remote terminal support to electronic device using relay server
CN103037312A (en) Message push method and message push device
KR20130062462A (en) Distributed server system and method for streaming game service
CN103795750B (en) A kind of file transmitting method and its system
CN102333065A (en) Cloud interaction protocol design
CN114172662A (en) Block chain external data acquisition method and device
CN103607452A (en) Method, device and system for acquiring virtual machine terminal data
WO2017088575A1 (en) Encryption mechanism-based ipc service implementation method and system
CN113485952A (en) Data batch transmission method and device
US9288116B2 (en) System and method for NAS server test load generation
CN106156569B (en) Event execution method, electronic equipment, related device and system
CN102075933B (en) Method and system for running application software on intelligent terminal as well as related equipment
CN109981558A (en) Authentication method, equipment and the system of smart home device
CN109167647A (en) Data transmission method and device, electronic equipment and storage medium
KR101615532B1 (en) System for servicing cloud streaming, method of servicing cloud streaming and server for the same
CN101867485B (en) USB interface authentication and security control method
CN113298649A (en) Transaction data processing method and device, and data processing method and device
WO2013189457A2 (en) Terminal, cloud system server and interaction method and system thereof

Legal Events

Date Code Title Description
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

Application publication date: 20110817

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载