CN103532999A - Data transmission method, mobile device and background service system - Google Patents

Data transmission method, mobile device and background service system Download PDF

Info

Publication number
CN103532999A
CN103532999A CN201210230824.9A CN201210230824A CN103532999A CN 103532999 A CN103532999 A CN 103532999A CN 201210230824 A CN201210230824 A CN 201210230824A CN 103532999 A CN103532999 A CN 103532999A
Authority
CN
China
Prior art keywords
mobile device
server
mobile
proxy
mobile equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210230824.9A
Other languages
Chinese (zh)
Other versions
CN103532999B (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210230824.9A priority Critical patent/CN103532999B/en
Publication of CN103532999A publication Critical patent/CN103532999A/en
Application granted granted Critical
Publication of CN103532999B publication Critical patent/CN103532999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a data transmission method, a mobile device and a background service system. The background service system includes a positioning server; the positioning server is used for receiving a query request which is transmitted by the mobile device when the mobile device requires to download a data file, and queries whether other mobile devices which open point-to-point (P2P) agencies exist at other positions which are separated from the mobile device by a first set distance according to the query request, and transmits a query result to the mobile device, wherein the mobile device performs point-to-point (P2P) data transmission service with the other mobile devices through the opened point-to-point (P2P) agencies so as to acquire the data file when the other mobile devices which open the point-to-point (P2P) agencies exist at the other positions which are separated from the mobile device by the first set distance.

Description

Data transmission method, mobile device and background service system
Technical Field
The present invention relates to network communication technologies, and in particular, to a data transmission method, a mobile device, and a background service system.
Background
At present, many application resources on mobile devices need to go through the network of an operator and be downloaded from a server. For example, when the map navigation data or the street view application on the server is updated, the client actively downloads the updated map navigation data or the street view application from the server, or the server provides a link for the client to download the updated map navigation data or the street view application, and the client directly downloads the updated map navigation data or the street view application from the server according to the link.
This downloading from the server consumes a lot of network resources and also results in high cost based on the charging by the mobile operator per traffic. Also, due to limited wireless bandwidth resources, in a crowded environment with dense mobile devices, the wireless bandwidth resources are more scarce, which may result in a decrease in the performance and speed of the download.
Disclosure of Invention
The invention provides a data transmission method, mobile equipment and a background service system, which are used for reducing data traffic cost and saving network resources.
The technical scheme provided by the invention comprises the following steps:
a background service system for data transfer, comprising: a positioning server;
the positioning server is used for receiving an inquiry request sent by a mobile device when the data file needs to be downloaded, inquiring whether other mobile devices which open a peer-to-peer P2P proxy exist at other positions which are different from the mobile device by a first set distance according to the inquiry request, and sending an inquiry result to the mobile device, so that the mobile device can acquire the data file by performing P2P data transmission service with the other mobile devices through the opened P2P proxy when the inquiry result is yes.
A mobile device for data transmission, comprising: the device comprises a sending unit, an acquisition unit and a transmission unit;
the sending unit is used for sending a query request to a positioning server in the background service system when the data file needs to be downloaded;
a learning unit, configured to learn, from the location server, another mobile device that has opened a peer-to-peer P2P proxy at a location that is different from the mobile device by a first set distance;
and the transmission unit is used for performing P2P data transmission service with the mobile equipment known by the learning unit through the opened P2P proxy so as to acquire the data file to be downloaded.
A method of data transmission, comprising:
when the mobile equipment needs to download the data file, the mobile equipment sends a query request to a positioning server connected with the mobile equipment so as to acquire other mobile equipment of which the point-to-point P2P proxy is started at a position which is different from the mobile equipment by a first set distance from the positioning server;
and the mobile device performs P2P data transmission service with the other mobile devices through the P2P proxy opened by the mobile device so as to acquire the data files needing to be downloaded.
According to the technical scheme, when one mobile device (marked as a first mobile device) needs to download the data file, as long as other mobile devices (marked as second mobile devices) near the first mobile device download the data file from the service server, the first mobile device can download the data file from the second mobile device in a P2P direct connection mode, compared with the existing method of directly downloading the data file from the service server, the data volume downloaded from the server end can be effectively saved, the traffic cost is reduced, the bandwidth peak value of the server is reduced, and the success rate of data downloading is improved.
Drawings
Fig. 1 is a flowchart of a background service system according to an embodiment of the present invention;
FIG. 2 is a block diagram of a mobile device according to an embodiment of the present invention;
fig. 3 is a flowchart of a method provided by an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
In practical application, mobile devices near the same area have a high probability of needing the same application information, and therefore, when a certain mobile device needs a data file such as an input method lexicon and the like, if other mobile devices which download the data file exist near the mobile device, the mobile device downloads the data file from other mobile devices near the mobile device in a point-to-point (P2P) direct connection mode, and the data is transmitted in a wireless direct connection P2P mode, so that the data volume downloaded from a server end can be effectively saved, the traffic cost is reduced, the bandwidth peak value of the server is reduced, and the success rate of data downloading is improved.
In order to realize the transmission between the mobile devices in a wireless direct connection P2P manner, the background service system and the mobile terminal need to be improved in the present invention, which are respectively described as follows:
referring to fig. 1, fig. 1 is a structural diagram of a background service system according to an embodiment of the present invention. As shown in fig. 1, the system includes: a positioning server;
the positioning server is connected with the mobile device and used for receiving an inquiry request sent by the mobile device when the data file needs to be downloaded, inquiring whether other mobile devices with point-to-point (P2P) agents opened exist at other positions with a first set distance away from the mobile device according to the inquiry request, and sending inquiry results to the mobile device, so that the mobile device can acquire the data file by performing P2P data transmission service with the other mobile devices through the opened P2P agents when the inquiry results are yes.
In a specific implementation, as shown in fig. 1, the location server may include: a positioning interface server and a positioning logic server;
the positioning interface server is connected between the mobile equipment and the positioning logic server, and is used for receiving the query request from the mobile equipment and forwarding the query request to the positioning logic server;
and after receiving the query request, the positioning logic server queries whether other mobile devices with the P2P proxy opened exist at other positions which are different from the mobile device by a first set distance, and informs the mobile device of the query result through the positioning interface server.
Preferably, to facilitate the location logic server to inquire whether there is another mobile device having the P2P proxy opened at another location different from the mobile device by the first set distance, as shown in fig. 1, the location logic server further includes: a location database. The location database stores a location map in advance.
Before describing the location database, further features performed by the location interface server and the location logic server are described:
in the invention, the positioning interface server is also used for receiving the geographical position of the mobile equipment positioned by the mobile equipment and sending the geographical position to the positioning logic server;
the positioning logic server is further configured to, after receiving the geographic location, correct the geographic location by using a location map stored in the location database, so that the corrected geographic location accurately represents the location of the mobile device, and store the corrected geographic location in the location database as the geographic location of the mobile device;
based on the characteristics further executed by the positioning interface server and the positioning logic server, the positioning logic server inquires whether other mobile devices which start the P2P proxy exist at other positions which are different from the mobile device by a first set distance, and the method comprises the following steps:
and determining the geographic position of the mobile equipment from the position database, and inquiring whether other mobile equipment which opens the P2P proxy exists in other positions which are different from the geographic position by a first set distance in the position database.
Based on the above description, it can be seen that the location database is used for pre-storing a location map and dynamically storing the geographical location of the mobile device. In order to distinguish the geographic locations of the mobile devices, the storing the geographic locations of the mobile devices specifically includes: a correspondence between a device identification of the mobile device and a geographic location of the mobile device is saved. The device identifier of the mobile device may be a GUID of the mobile device, a MAC address of an AP accessed by the mobile device, GPS location information of the AP, and the like.
Preferably, as an alternative embodiment of the present invention, the geographic location of the mobile device may not be sent to the location server, but the geographic location and the device identifier corresponding to each mobile device may be directly imported into the location database from the background, for example, similar to the information collecting vehicle of Google today.
As can be seen from the above description, in the present invention, when a mobile device (denoted as a first mobile device) needs to download a data file, as long as the positioning server determines that there are other mobile devices (denoted as second mobile devices) near the first mobile device that have downloaded the data file from the service server and the second mobile device has started the P2P proxy, the first mobile device may download the data file from the second mobile device in a P2P direct connection manner, which can effectively save the data amount downloaded from the server, reduce the traffic cost, reduce the bandwidth peak of the server, and improve the success rate of data downloading compared with the existing method of directly downloading the data file from the service server.
Of course, if all the mobile devices near the first mobile device do not download the data file, in order to ensure that the first mobile device can also obtain the data file, in the present invention, as shown in fig. 1, the system further includes: and a service server.
The service server corresponds to the mobile device and provides a data output source for the mobile device, such as downloading a data file, to complete a service function of the mobile device. Specifically, the service server is configured to receive a data download request sent by the mobile device when the query result is negative, and provide the data file corresponding to the data download request to the mobile device for downloading.
Preferably, in the present invention, when providing the data file, the service server may provide the data file to the mobile device through its associated service material source for downloading. In addition, in the invention, the service server can also configure the upgrading strategy of the mobile equipment, so that the mobile equipment can be upgraded conveniently according to the upgrading strategy.
In the present invention, as shown in fig. 1, the system may further include: an application server;
the application server is used for receiving and storing the data file registered to the application server by calling the P2P proxy of the mobile device after the mobile device downloads the data file.
Preferably, the application server is further configured to receive a peer request sent by the mobile device before performing a P2P data transmission service with other mobile devices notified by the location logic server through the opened P2P proxy, query the data file from all files registered to the application server for the peer request, determine, if the query is received, the other mobile devices that have registered the data file and currently opened the P2P proxy as peers performing a P2P data transmission service with the mobile device, and notify the determined peers to the mobile device, so that the mobile device performs a P2P data transmission service through the opened P2P proxy and the determined peers.
In a specific implementation, in the present invention, the application server may include: an inquiry access server and a logical application server.
The inquiry access server is used for receiving the data file registered by the mobile equipment and forwarding the data file to the logic application server, and receiving a peer request sent by the mobile equipment and forwarding the peer request to the logic application server;
the logic application server is configured to receive and store the data file forwarded by the query access server, query the data file from all files registered to the application server after receiving the peer request, and determine, if the data file is queried, another mobile device that meets the following conditions as a peer performing a P2P data transmission service with the mobile device: and registering the inquired data file, and a mobile device which is different from the mobile device which sends the peer request by a second set distance, or registering the inquired data file, and a mobile device which accesses the same Access Point (AP) as the mobile device which sends the peer request, and informing the determined peer to the mobile device.
Wherein, in order to inquire the mobile device which has opened the P2P proxy, the logic application server can maintain the information list of the online peer node of a certain data file in real time. Here, whether the peer node is online or not may be determined by the query access server by maintaining a heartbeat with the peer node.
Preferably, as an embodiment of the present invention, the query access server may be a tracker conn server, and the logical application server is a tracker app service server, respectively.
It should be noted that the data file registered by the mobile terminal to the application server does not always exist, and can be deleted according to actual situations.
So far, the description of the background service system structure shown in fig. 1 is completed.
The mobile device provided by the present invention is described below with reference to fig. 2:
referring to fig. 2, fig. 2 is a block diagram of a mobile device according to an embodiment of the present invention. The mobile device interacts with the background service system described in fig. 1, and as shown in fig. 2, the mobile device may include: the device comprises a sending unit, an acquisition unit and a transmission unit.
The sending unit is used for sending a query request to a positioning server of the background service system when a data file needs to be downloaded;
a learning unit, configured to learn, from the positioning server, another mobile device that has opened a P2P proxy at a location that is different from the mobile device by a first set distance;
and the transmission unit is used for performing P2P data transmission service with the mobile equipment known by the learning unit through the opened P2P proxy so as to acquire the data file to be downloaded.
Preferably, in the present invention, the sending unit is further configured to send a data download request to a service server of the background service system if the query result is negative; correspondingly, the transmission unit is also used for downloading the data file from a service server.
In the present invention, as shown in fig. 2, the mobile device further includes:
and the positioning unit is used for positioning the geographical position of the mobile equipment and sending the geographical position to the positioning server so that the positioning server inquires whether other mobile equipment with a peer-to-peer P2P proxy opened at other positions with a first set distance from the mobile equipment exists according to the geographical position.
Here, the positioning unit may locate a geographic Location where the mobile device is currently located Based on a Location Based Service (LBS). The location-based service is a value-added service that obtains geographic locations (such as geographic coordinates or geodetic coordinates) through a radio communication network (such as a GSM network or a CDMA network) of a telecommunication mobile operator or an external positioning mode (such as a GPS), and provides corresponding services to mobile device users with the support of a Geographic Information System (GIS) platform.
In the present invention, the sending unit is further configured to send a data download request to the service server of the background service system when the learning unit learns that there is no mobile device that has started the P2P proxy at a position that is different from the mobile device by a first set distance; based on this, the transmission unit is further configured to download the data file from a service server.
Preferably, in the present invention, as shown in fig. 2, the mobile device further includes:
and the registering unit is used for registering the downloaded data file to the application server in the background service system by calling the P2P proxy of the mobile equipment after the transmission unit downloads the data file from the service server. .
The registration unit invokes the P2P proxy of the mobile device to register the data file with the application server in the background service system, so as to facilitate other mobile devices to subsequently perform P2P data service directly with the mobile device to acquire the data file.
In the present invention, the learning unit is further configured to learn the number of mobile devices that have opened P2P proxies at a position that is different from the mobile device by a first set distance; based on this, before the transmitting unit performs the P2P data transmission service with the mobile device known by the learning unit through the opened P2P proxy, the transmitting unit further includes: and judging whether the number of the mobile devices acquired by the acquiring unit is greater than or equal to a set threshold, if so, determining to start the P2P proxy, and continuing to execute the operation of performing the P2P data transmission service on the mobile devices acquired by the acquiring unit through the started P2P proxy, otherwise, determining not to start the P2P proxy. Through the judgment operation, the optionality of the transmission unit for performing the P2P data transmission service with the other mobile device through the opened P2P proxy can be ensured, and the transmission unit does not perform the P2P data transmission service with the mobile device as long as the learning unit learns the mobile device, so that the reliability of the P2P data transmission service can be further ensured.
Preferably, in the present invention, the transmission unit is further configured to send an opposite peer request to an application server in the background service system before performing a P2P data transmission service with the mobile device known by the learning unit through the activated P2P agent; the learning unit is further configured to learn, from the application server, a peer to peer for performing a P2P data transmission service; based on this, the transmission unit learns that the data file needing to be downloaded includes the data file needing to be downloaded through the opened P2P proxy and the P2P data transmission service of the mobile device learned by the learning unit:
the transmission unit acquires the data file needing to be downloaded by carrying out P2P data transmission service through the opened P2P proxy and the peer acquired by the acquisition unit. It can be seen that the transmission unit does not perform the P2P data transmission service with all other mobile devices different by the first set distance, but performs the P2P data transmission service only with the opened P2P proxy and the peer determined by the application server for the peer request, which can ensure that the mobile device obtains the data file that the mobile device needs to download as soon as possible.
So far, the description of the mobile device structure shown in fig. 2 is completed.
The following describes how the background service system shown in fig. 1 and the mobile device shown in fig. 2 communicate with each other through fig. 3:
referring to fig. 3, fig. 3 is a flowchart of a method provided by an embodiment of the invention. As shown in fig. 3, the process may include the following steps:
step 301, the mobile device sends a query request to a location server connected to the mobile device when a data file needs to be downloaded.
Step 302, the location server queries whether other mobile devices with the P2P proxy opened are located at other positions different from the mobile device by a first set distance with respect to the query request, and sends a query result to the mobile device.
As an embodiment of the present invention, before the step 302 is executed, the present invention further includes:
the mobile equipment locates the geographical position and sends the geographical position to the positioning server;
after receiving the geographic position, the positioning server corrects the geographic position by using a position map stored in a position database so that the corrected geographic position accurately represents the position of the mobile equipment, and stores the corrected geographic position as the geographic position of the mobile equipment in the position database;
based on this, in this step 302, the querying, by the positioning server, whether there is another mobile device having opened the peer-to-peer P2P proxy at another location different from the mobile device by the first set distance with respect to the query request includes:
the positioning server inquires the geographic position of the mobile device from the position database, and inquires whether other mobile devices which open the P2P proxy exist at other positions which are different from the geographic position by a first set distance.
And step 303, when the query result is yes, the mobile device performs a P2P data transmission service with the other mobile device through the opened P2P proxy to acquire the data file.
In the present invention, if the query result is yes, the method further includes: the number of other wireless mobile devices which open P2P agents at other positions which are different from the wireless mobile devices by a first set distance;
based on this, in this step 303, before performing the P2P data transmission service with the other mobile device through the opened P2P proxy, the method may further include:
and judging whether the number of the wireless mobile devices in the query result is greater than or equal to a set threshold, wherein the set threshold can be set according to the actual network situation, if so, determining to open the P2P proxy, and continuing to perform the operation of acquiring the data file through the opened P2P proxy and the P2P data transmission service of the other mobile device rows, otherwise, determining not to open the P2P proxy. By performing this determination operation, the optionality of the P2P data transmission service with the other mobile device through the opened P2P proxy in this step 303 can be ensured, and the P2P data transmission service in this step 303 is not executed as long as the query result in step 302 is yes, which can further ensure the reliability of the P2P data transmission service.
It should be noted that, in the present invention, when the query result is negative, the mobile device may further send a data download request to the service server connected thereto, so that the service server provides the data file corresponding to the data download request to the mobile device for downloading. Then, after downloading the data file from the service server, the mobile device registers to the application server connected with the data file by calling the P2P proxy of the mobile device. The P2P proxy is called to register the data file to the application server in the background service system, so as to facilitate other mobile devices to subsequently perform P2P data service directly with the mobile device to acquire the data file.
Thus, in this step 303, the mobile device obtaining the data file through the opened P2P proxy and the data transmission service of the other mobile device row P2P includes:
sending an opposite-end peer request to the application server;
the application server inquires the data file from all files registered to the application server aiming at the peer request, if the data file is inquired, other mobile equipment which registers the data file and currently opens a P2P proxy is determined as the peer which performs the P2P data transmission service with the mobile equipment, and the determined peer is informed to the mobile equipment;
the mobile device acquires the data file through the opened P2P proxy and the peer informed by the application server for P2P data transmission service.
Here, the application server determines the peer of the P2P data transmission service with the mobile device, and the purpose is to explain: the mobile device does not perform the P2P data transmission service with all other mobile devices different by the first set distance, but performs the P2P data transmission service only through the peer determined by the opened P2P proxy and the application server, which can ensure that the mobile device obtains the data files which the mobile device needs to download as soon as possible.
Wherein, the peer determined by the application server is:
the mobile equipment which has registered the inquired data file and has a second set distance with the mobile equipment which has sent the peer request; or,
and the mobile equipment which has registered the inquired data file and accesses the same access point AP as the mobile equipment which sends the peer request.
Thus, the flow description of the method shown in fig. 3 is completed.
According to the technical scheme, when one mobile device (marked as a first mobile device) needs to download the data file, as long as other mobile devices (marked as second mobile devices) near the first mobile device download the data file from the service server, the first mobile device can download the data file from the second mobile device in a P2P direct connection mode, compared with the existing method of directly downloading the data file from the service server, the data volume downloaded from the server end can be effectively saved, the traffic cost is reduced, the bandwidth peak value of the server is reduced, and the success rate of data downloading is improved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (21)

1. A background service system for data transmission, the system comprising: a positioning server;
the positioning server is used for receiving an inquiry request sent by a mobile device when the data file needs to be downloaded, inquiring whether other mobile devices which open a peer-to-peer P2P proxy exist at other positions which are different from the mobile device by a first set distance according to the inquiry request, and sending an inquiry result to the mobile device, so that the mobile device can acquire the data file by performing P2P data transmission service with the other mobile devices through the opened P2P proxy when the inquiry result is yes.
2. The system of claim 1, wherein the location server comprises: a positioning interface server and a positioning logic server;
the positioning interface server is used for receiving the query request from the mobile equipment and forwarding the query request to the positioning logic server;
and the positioning logic server is used for inquiring whether other mobile equipment with the P2P proxy opened exists at other positions with a first set distance from the mobile equipment after receiving the inquiry request, and informing the inquiry result to the mobile equipment through the positioning interface server.
3. The system of claim 2, wherein the location server further comprises: a location database;
the positioning interface server is also used for receiving the geographical position of the mobile equipment positioned by the mobile equipment and sending the geographical position to the positioning logic server;
the positioning logic server is further configured to, after receiving the geographic location, correct the geographic location by using a location map stored in the location database, so that the corrected geographic location accurately represents the location of the mobile device, and store the corrected geographic location in the location database as the geographic location of the mobile device;
the location database is used for storing a location map and the geographic location of the mobile equipment;
the positioning logic server inquires whether other mobile devices which open the P2P proxy exist at other positions which are different from the mobile device by a first set distance through the following steps:
and determining the geographic position of the mobile equipment from the position database, and inquiring whether other mobile equipment which opens the P2P proxy exists in other positions which are different from the geographic position by a first set distance in the position database.
4. The system of claim 1, further comprising: a service server;
and the service server is used for receiving a data downloading request sent by the mobile equipment when the query result is negative, and providing the data file corresponding to the data downloading request for the mobile equipment to download.
5. The system of claim 4, further comprising: an application server;
and the application server is used for receiving and storing the data file registered to the application server by calling the P2P proxy of the mobile equipment after the mobile equipment downloads the data file.
6. The system of claim 5, wherein the application server is further configured to receive a peer request sent by the mobile device before performing the P2P data transmission service with the other mobile devices through the opened P2P proxy, query the data file from all files registered in the application server for the peer request, determine, if the query is received, the other mobile devices which register the data file and currently open the P2P proxy as peers of the P2P data transmission service with the mobile device, and notify the determined peers to the mobile device, so that the mobile device performs the P2P data transmission service through the opened P2P proxy and the determined peers.
7. The system of claim 6, wherein the application server comprises: inquiring an access server and a logic application server;
the inquiry access server is used for receiving the data file registered by the mobile equipment and forwarding the data file to the logic application server, and receiving a peer request sent by the mobile equipment and forwarding the peer request to the logic application server;
the logic application server is configured to receive and store the data file forwarded by the query access server, query the data file from all files registered to the application server after receiving the peer request, and determine, if the data file is queried, another mobile device that meets the following conditions as a peer performing a P2P data transmission service with the mobile device: and the mobile equipment which has registered the inquired data file and is different from the mobile equipment which has sent the peer request by a second set distance, or the mobile equipment which has registered the inquired data file and is accessed to the same access point AP as the mobile equipment which has sent the peer request, and the determined peer is informed to the mobile equipment.
8. A mobile device for data transmission, the mobile device comprising: the device comprises a sending unit, an acquisition unit and a transmission unit;
the sending unit is used for sending a query request to a positioning server in the background service system when the data file needs to be downloaded;
a learning unit, configured to learn, from the location server, another mobile device that has opened a peer-to-peer P2P proxy at a location that is different from the mobile device by a first set distance;
and the transmission unit is used for performing P2P data transmission service with the mobile equipment known by the learning unit through the opened P2P proxy so as to acquire the data file to be downloaded.
9. The mobile device of claim 8, wherein the mobile device further comprises:
and the positioning unit is used for positioning the geographic position of the mobile equipment and sending the geographic position to the positioning server.
10. The mobile device according to claim 8, wherein the sending unit is further configured to send a data download request to a service server of the background service system when the learning unit learns that there is no mobile device that has started the P2P proxy at a location that is different from the mobile device by a first set distance;
the transmission unit is also used for downloading the data file from a service server.
11. The mobile device of claim 10, wherein the mobile device further comprises:
and the registering unit is used for registering the downloaded data file to the application server in the background service system by calling the P2P proxy of the mobile equipment after the transmission unit downloads the data file from the service server.
12. The mobile device according to claim 8, wherein the learning unit is further configured to learn the number of mobile devices that have opened P2P proxies at locations that differ from the mobile device by a first set distance;
before the transmission unit performs the P2P data transmission service with the mobile device known by the learning unit through the opened P2P proxy, the transmission unit further determines whether the number of the mobile devices known by the learning unit is greater than or equal to a set threshold, if so, the transmission unit determines to open the P2P proxy and continues to perform the operation of performing the P2P data transmission service with the mobile device known by the learning unit through the opened P2P proxy, and otherwise, determines not to open the P2P proxy.
13. The mobile device according to any one of claims 8 to 12, wherein the transmitting unit is further configured to send a peer request to an application server in the background service system before performing a P2P data transmission service with the mobile device known by the learning unit through the activated P2P proxy;
the learning unit is further configured to learn, from the application server, a peer to peer for performing a P2P data transmission service;
the transmission unit acquires the data file needing to be downloaded by carrying out P2P data transmission service through the opened P2P proxy and the peer acquired by the acquisition unit.
14. A method of data transmission, the method comprising:
when the mobile equipment needs to download the data file, the mobile equipment sends a query request to a positioning server connected with the mobile equipment so as to acquire other mobile equipment of which the point-to-point P2P proxy is started at a position which is different from the mobile equipment by a first set distance from the positioning server;
and the mobile device performs P2P data transmission service with the other mobile devices through the P2P proxy opened by the mobile device so as to acquire the data files needing to be downloaded.
15. The method of claim 14, wherein the method is preceded by:
the mobile equipment locates the geographical position and sends the geographical position to the positioning server, so that after the geographical position is received by the positioning server, the geographical position is corrected by using a position map stored in a position database, the corrected geographical position represents the position of the mobile equipment, and the corrected geographical position is stored in the position database as the geographical position of the mobile equipment.
16. The method as claimed in claim 15, wherein the mobile device sending a query request to a location server connected to the mobile device to learn from the location server that the other mobile device having a peer-to-peer P2P proxy opened at a location different from the mobile device by a first set distance comprises:
the mobile equipment sends a query request to a positioning server connected with the mobile equipment;
after receiving the query request, the positioning server finds the geographic position of the mobile device from the position database, queries whether other mobile devices with the P2P proxy opened exist at the position with the first set distance from the geographic position, and notifies the query result to the mobile device.
17. The method of claim 16, wherein if the query result is no, the method further comprises:
the mobile equipment sends a data downloading request to a service server connected with the mobile equipment;
and the service server receives the downloading request and provides a data file corresponding to the data downloading request for the mobile equipment to download.
18. The method of claim 17, further comprising:
after downloading the data file from the service server, the mobile device registers the downloaded data file to the application server connected to the mobile device by calling the P2P proxy of the mobile device.
19. The method of claim 18, wherein the mobile device conducting P2P data transfer services with the other mobile devices through the opened P2P proxy comprises:
the mobile equipment sends an opposite-end peer request to an application server connected with the mobile equipment;
the application server inquires data files needing to be downloaded by the mobile equipment from all data files registered to the application server aiming at the peer request, if the data files are inquired, other mobile equipment which registers the data files and currently opens the P2P proxy is determined as the peer which performs the P2P data transmission service with the mobile equipment, and the determined peer is informed to the mobile equipment;
the mobile device performs P2P data transmission service through the opened P2P proxy and the peer informed by the application server.
20. The method of claim 19, wherein the peer determined by the application server comprises:
the mobile equipment which has registered the inquired data file and has a second set distance with the mobile equipment which has sent the peer request; or,
and the mobile equipment which has registered the inquired data file and accesses the same access point AP as the mobile equipment which sends the peer request.
21. The method according to any one of claims 16 to 20, wherein the query result is yes, further comprising: the number of mobile devices that have activated the P2P proxy at locations that differ from the geographic location by a first set distance;
the further comprising, prior to conducting the P2P data transfer service with the other mobile device through the opened P2P proxy:
and judging whether the number of the mobile devices in the query result is greater than or equal to a set threshold value, if so, continuing to execute the data transmission service between the P2P proxy of the device and the other mobile device rows P2P, and otherwise, not starting the P2P proxy of the device.
CN201210230824.9A 2012-07-05 2012-07-05 Data transmission method, mobile device and background service system Active CN103532999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210230824.9A CN103532999B (en) 2012-07-05 2012-07-05 Data transmission method, mobile device and background service system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210230824.9A CN103532999B (en) 2012-07-05 2012-07-05 Data transmission method, mobile device and background service system

Publications (2)

Publication Number Publication Date
CN103532999A true CN103532999A (en) 2014-01-22
CN103532999B CN103532999B (en) 2019-03-12

Family

ID=49934675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210230824.9A Active CN103532999B (en) 2012-07-05 2012-07-05 Data transmission method, mobile device and background service system

Country Status (1)

Country Link
CN (1) CN103532999B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161488A (en) * 2015-03-24 2016-11-23 杨恒迪 Action information servosystem
CN109063121A (en) * 2018-08-01 2018-12-21 平安科技(深圳)有限公司 Date storage method, device, computer equipment and computer storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972469A (en) * 2006-11-28 2007-05-30 华为技术有限公司 Method, communication system, terminal for implementing service in mobile network
CN101009568A (en) * 2006-01-24 2007-08-01 腾讯科技(深圳)有限公司 A method and system for the data download in the P2P network
CN101039247A (en) * 2007-03-13 2007-09-19 华为技术有限公司 Point-to-point network system and intercommunicating method for overlapped network node
CN101136911A (en) * 2006-08-31 2008-03-05 腾讯科技(深圳)有限公司 Method to download files using P2P technique and P2P download system
CN101299065A (en) * 2008-06-19 2008-11-05 宇龙计算机通信科技(深圳)有限公司 Method and system for positioning mobile terminal
CN101420337A (en) * 2007-10-26 2009-04-29 北大方正集团有限公司 Method, device and indexing server for resource positioning
CN101582891A (en) * 2009-06-19 2009-11-18 杭州华三通信技术有限公司 Wide area network endpoint access domination (EAD) authentication method, system and terminal
CN102055786A (en) * 2009-11-06 2011-05-11 腾讯科技(深圳)有限公司 File download method and server, download client and system adopting same
CN102111426A (en) * 2009-12-23 2011-06-29 中国移动通信集团公司 Method, system and device for implementing point-to-point technology
CN102164342A (en) * 2010-02-12 2011-08-24 美国博通公司 A method and system for physical mapassisted wireless access point locating

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009568A (en) * 2006-01-24 2007-08-01 腾讯科技(深圳)有限公司 A method and system for the data download in the P2P network
CN101136911A (en) * 2006-08-31 2008-03-05 腾讯科技(深圳)有限公司 Method to download files using P2P technique and P2P download system
CN1972469A (en) * 2006-11-28 2007-05-30 华为技术有限公司 Method, communication system, terminal for implementing service in mobile network
CN101039247A (en) * 2007-03-13 2007-09-19 华为技术有限公司 Point-to-point network system and intercommunicating method for overlapped network node
CN101420337A (en) * 2007-10-26 2009-04-29 北大方正集团有限公司 Method, device and indexing server for resource positioning
CN101299065A (en) * 2008-06-19 2008-11-05 宇龙计算机通信科技(深圳)有限公司 Method and system for positioning mobile terminal
CN101582891A (en) * 2009-06-19 2009-11-18 杭州华三通信技术有限公司 Wide area network endpoint access domination (EAD) authentication method, system and terminal
CN102055786A (en) * 2009-11-06 2011-05-11 腾讯科技(深圳)有限公司 File download method and server, download client and system adopting same
CN102111426A (en) * 2009-12-23 2011-06-29 中国移动通信集团公司 Method, system and device for implementing point-to-point technology
CN102164342A (en) * 2010-02-12 2011-08-24 美国博通公司 A method and system for physical mapassisted wireless access point locating

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
博客园: ""P2P编程"", 《URL:HTTPS://WWW.CNBLOGS.COM/PHQUAN/ARCHIVE/2012/03/20/2408250.HTML》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161488A (en) * 2015-03-24 2016-11-23 杨恒迪 Action information servosystem
CN109063121A (en) * 2018-08-01 2018-12-21 平安科技(深圳)有限公司 Date storage method, device, computer equipment and computer storage medium
WO2020024445A1 (en) * 2018-08-01 2020-02-06 平安科技(深圳)有限公司 Data storage method and apparatus, computer device, and computer storage medium
CN109063121B (en) * 2018-08-01 2024-04-05 平安科技(深圳)有限公司 Data storage method, device, computer equipment and computer storage medium

Also Published As

Publication number Publication date
CN103532999B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
US8527987B2 (en) Method and device for installing applications on NFC-enabled devices
US8774836B2 (en) Method and system for optimized transfer of location database information
US8386589B2 (en) System that provides embedded software to an embedded system
JP2016105080A (en) Method of updating car navigation map, car navigation device, and system thereof
US8145239B2 (en) Location register for trusted WiFi devices that roam
EP2672674A2 (en) Network system
EP1977621A1 (en) Terminal status discovery in secure user plane location positioning procedure
CN104349275A (en) Positioning database management applied to server-based positioning system
MX2011012792A (en) Method for obtaining cell location, locating service apparatus and system.
CN105978975A (en) Upgrading method and system for automobile function module
US10045175B2 (en) Handling device generated data
CN105610932B (en) Data delivery system and method suitable for urban track traffic
CN103532999B (en) Data transmission method, mobile device and background service system
CN104955153B (en) Method, device and equipment for discovering resources
JP2018116349A (en) Relay apparatus, communication control method and communication control program
JP2007531387A (en) Method and apparatus for sending a message to a mobile station by addressing a hardware part
US9210680B2 (en) Method and apparatus for selecting a real time location service provider
CN103001717B (en) Method, device and system for downloading programs based on vehicle-mounted terminal
CN112514459B (en) Managing UE configuration in a serving PLMN with UE default configuration for all PLMNs
KR20090100131A (en) Apparatus and method for location information service of terminal in broadband wireless communication system
KR20120071957A (en) System and method for providing position information
US20230164733A1 (en) Positioning method, device, and system, and storage medium
EP2600572A2 (en) Network system
CN102158991B (en) Method and device for managing device
KR101285116B1 (en) System and method for providing location route search service of nearest road using SMS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190808

Address after: 518057 Nanshan District science and technology zone, Guangdong, Zhejiang Province, science and technology in the Tencent Building on the 1st floor of the 35 layer

Co-patentee after: Tencent cloud computing (Beijing) limited liability company

Patentee after: Tencent Technology (Shenzhen) Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.