CN105101079A - Position transmission method for positioning device and positioning device - Google Patents

Position transmission method for positioning device and positioning device Download PDF

Info

Publication number
CN105101079A
CN105101079A CN201510375234.9A CN201510375234A CN105101079A CN 105101079 A CN105101079 A CN 105101079A CN 201510375234 A CN201510375234 A CN 201510375234A CN 105101079 A CN105101079 A CN 105101079A
Authority
CN
China
Prior art keywords
information
positioning
positioning device
proxy server
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510375234.9A
Other languages
Chinese (zh)
Other versions
CN105101079B (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.)
Beijing 360 Zhiling Technology Co ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510375234.9A priority Critical patent/CN105101079B/en
Publication of CN105101079A publication Critical patent/CN105101079A/en
Application granted granted Critical
Publication of CN105101079B publication Critical patent/CN105101079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to the field of communications and discloses a position transmission method for a positioning device and the positioning device to solve the technical problem that great data traffic of the positioning device needs to be consumed for the positioning device to access to a network in the prior art. The method comprises the steps of determining the current position information of the positioning device, and sending the current position information of the positioning device to a proxy server via the network of a mobile communications operator, wherein data transmission in the process of the positioning device accessing to the network is marked with a traffic-free identifier, and all or partial data traffic generated in the process of the positioning device accessing to the network via the proxy server is counted to a specified service provider by the mobile communications operator based on the traffic-free identifier. The technical effect of reducing the data traffic consumed by the positioning device in sending the current position information thereof to other electronic devices is achieved.

Description

Position transmission method for positioning equipment and positioning equipment
Technical Field
The present invention relates to the field of communications, and in particular, to a position transmission method for a positioning device and a positioning device.
Background
In the prior art, the positioning device may adopt various positioning schemes, such as: base station based positioning, GPS (global positioning system) based positioning, and the like. In order to improve positioning accuracy and speed, the prior art provides an AGPS (assisted global positioning system) positioning that combines base station positioning and GPS positioning, wherein in an AGPS positioning scheme, a location server first needs to determine base station information for providing positioning for a positioning device; then, the satellite information providing the GPS positioning service is determined through the base station information, then the satellite information is sent to the positioning equipment through the network, and the positioning equipment can realize the GPS positioning through the satellite information.
In the prior art, if the positioning device needs to send the determined current location information to other electronic devices, the positioning device needs to access a network, so that a large amount of data traffic of the positioning device is consumed.
Disclosure of Invention
In view of the above, the present invention has been made to provide a location-based device location acquisition method, a proxy server, and a network access system that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a position transmission method for a positioning apparatus, including:
determining the current position information of the positioning equipment;
sending current location information of the positioning device to a proxy server through a network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and the mobile network operator counts all or part of data flow generated in the process of accessing the network through the proxy server into a specified service provider based on the flow-free identifier.
Optionally, the determining the current location information of the positioning device specifically includes:
receiving a position acquisition request sent by the proxy server, wherein the position acquisition request is sent to the proxy server by another electronic device; responding to the position acquisition request, further acquiring the current position information, and sending the current position information to the electronic equipment by the proxy server; or,
and acquiring the current position information periodically.
Optionally, the location obtaining request includes authority authentication information of the electronic device, and the responding to the location obtaining request further obtains the current location information, specifically including:
judging whether the electronic equipment has the authority to acquire the current position information or not based on the authority authentication information;
and when the electronic equipment has the right, acquiring the current position information.
Optionally, the sending, to a proxy server, current location information of the positioning device through a network of a mobile communication carrier specifically includes:
judging whether the distance between the current position and a preset position is greater than a preset distance or not based on the current position information;
and when the distance is greater than the preset distance, sending the current position information to the proxy server.
Optionally, when the distance is greater than the preset distance, the method further includes:
and sending alarm information to a preset communication identifier, wherein the alarm information carries the current position information.
Optionally, the determining the current location information of the positioning device specifically includes:
receiving the positioning information sent by the proxy server through the network of the mobile communication operator, the positioning information being sent to the proxy server by the location server, and the positioning information being determined by the location server based on the sending time and arrival time of the positioning signal sent to the base station by the positioning device;
and determining the current position information of the positioning equipment according to the positioning information.
Optionally, the positioning information specifically includes: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information specifically includes: satellite information for performing GPS positioning on the positioning equipment, which is determined by the position server based on the sending time and the arrival time;
the determining, by the positioning information, the current position information of the positioning device specifically includes:
and carrying out GPS positioning on the positioning equipment based on the satellite information, and further determining second position information of the positioning equipment.
Optionally, the determining, by the positioning information, the current location information of the positioning device further includes:
sending the second location information to the proxy server through the network of the mobile communication operator, wherein the second location information is sent to the location server by the proxy server, and the location server is used for integrating the first location information and the second location information to determine the current location information of the positioning equipment;
and receiving the current position information sent by the proxy server through the network of the mobile communication operator, wherein the current position information is sent to the proxy server by the position server.
Optionally, the positioning information specifically includes: first location information of the positioning device determined by the location server based on the sending time and the arrival time; and satellite information for performing GPS positioning on the positioning device, which is determined by the position server based on the sending time and the arrival time;
the determining, by the positioning information, the current position information of the positioning device specifically includes:
carrying out GPS positioning on the positioning equipment based on the satellite information so as to determine second position information of the positioning equipment;
and integrating the first position information and the second position information to determine the current position information of the positioning equipment.
Optionally, before the sending the current location information of the positioning device to the proxy server through the network of the mobile communication carrier, the method further includes:
and sending a positioning request to a distribution server through the network of the mobile communication operator, wherein the positioning request comprises the identification information and the authentication information of the positioning equipment, so that the distribution server allocates the proxy server for the positioning equipment to access the network in a flow-free manner when determining that the identification information has a flow-free right based on the identification information and the authentication information.
Optionally, the method further includes:
receiving a preset tag sent by the proxy server, wherein the preset tag is carried when data transmission is carried out in the process that the positioning equipment accesses the network, and the preset tag is the flow-free identifier; or,
the IP address of the proxy server is a preset IP address, and the preset IP address is the flow-free identifier.
Optionally, the mobile network operator adds all or part of data traffic generated in the process of the positioning device accessing the network through the proxy server to a specified service provider based on the traffic-free identifier, specifically:
when the data in the process that the positioning equipment accesses the network is determined to contain the preset label, recording all or part of data traffic in the process that the positioning equipment accesses the network into the specified service provider; or
And transmitting data in the process of accessing the network by the positioning equipment through the proxy server with the preset IP address, and counting all or part of data traffic flowing through the preset IP address into the specified service provider.
According to another aspect of the present invention, there is provided a positioning apparatus comprising:
the first determining module is used for determining the current position information of the positioning equipment;
a first sending module, configured to send current location information of the positioning device to a proxy server through a network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and the mobile network operator counts all or part of data flow generated in the process of accessing the network through the proxy server into a specified service provider based on the flow-free identifier.
Optionally, the first determining module specifically includes:
a first receiving unit, configured to receive a location acquisition request sent by the proxy server, where the location acquisition request is sent to the proxy server by another electronic device; a response unit, configured to respond to the location obtaining request, and further obtain the current location information, where the current location information is sent to the electronic device by the proxy server; or,
the first determining module is specifically configured to periodically obtain the current location information.
Optionally, the location obtaining request includes authority authentication information of the electronic device, and the response unit specifically includes:
a judging subunit, configured to judge, based on the authority authentication information, whether the electronic device has an authority to acquire the current location information;
and the acquisition subunit is used for acquiring the current position information when the electronic equipment has the right.
Optionally, the first sending module specifically includes:
a first judging unit, configured to judge whether a distance between the current position and a preset position is greater than a preset distance based on the current position information;
and the first sending unit is used for sending the current position information to the proxy server when the distance is greater than the preset distance.
Optionally, the positioning apparatus further includes:
and the alarm module is used for sending alarm information to a preset communication identifier when the distance is greater than the preset distance, and the alarm information carries the current position information.
Optionally, the first determining module specifically includes:
a second receiving unit configured to receive the positioning information sent by the proxy server through the network of the mobile communication carrier, the positioning information being sent by the location server to the proxy server, and the positioning information being determined by the location server based on a sending time and an arrival time of a positioning signal sent by the positioning apparatus to a base station;
and the determining unit is used for determining the current position information of the positioning equipment through the positioning information.
Optionally, the positioning information specifically includes: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information specifically includes: satellite information for performing GPS positioning on the positioning equipment, which is determined by the position server based on the sending time and the arrival time;
the determination unit includes:
and the first positioning subunit is used for carrying out GPS positioning on the positioning equipment based on the satellite information so as to determine second position information of the positioning equipment.
Optionally, the determining unit further includes:
a sending subunit, configured to send the second location information to the proxy server through a network of the mobile communications operator, where the second location information is sent to the location server by the proxy server, and the location server is configured to determine current location information of the positioning device by integrating the first location information and the second location information;
a receiving subunit, configured to receive the current location information sent by the proxy server through the network of the mobile communications operator, where the current location information is sent to the proxy server by the location server.
Optionally, the positioning information specifically includes: first location information of the positioning device determined by the location server based on the sending time and the arrival time; and satellite information for performing GPS positioning on the positioning device, which is determined by the position server based on the sending time and the arrival time;
the determining unit specifically includes:
the second positioning subunit is configured to perform GPS positioning on the positioning device based on the satellite information, and further determine second position information of the positioning device;
and the determining subunit is configured to determine current location information of the positioning device by integrating the first location information and the second location information.
Optionally, the positioning apparatus further includes:
a second sending module, configured to send, before sending the current location information of the location device to a proxy server through a network of a mobile communications carrier, a location request to a distribution server through the network of the mobile communications carrier, where the location request includes identification information and authentication information of the location device, so that the distribution server allocates the proxy server, which is used for the location device to access the network in a traffic-free manner, to the location device when determining that the identification information has a traffic-free right based on the identification information and the authentication information.
Optionally, the positioning apparatus further includes:
the first receiving module is used for receiving a preset tag sent by the proxy server, and the preset tag is carried when data transmission is carried out in the process that the positioning equipment accesses the network, and is the flow-free identifier; or,
the IP address of the proxy server is a preset IP address, and the preset IP address is the flow-free identifier.
Optionally, the mobile network operator adds all or part of data traffic generated in the process of the positioning device accessing the network through the proxy server to a specified service provider based on the traffic-free identifier, specifically:
when the data in the process that the positioning equipment accesses the network is determined to contain the preset label, recording all or part of data traffic in the process that the positioning equipment accesses the network into the specified service provider; or
And transmitting data in the process of accessing the network by the positioning equipment through the proxy server with the preset IP address, and counting all or part of data traffic flowing through the preset IP address into the specified service provider.
According to another aspect of the present invention, there is provided a position acquiring method based on a positioning device, including:
the method comprises the steps that a proxy server receives current position information of positioning equipment, which is sent by the positioning equipment through a network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and the mobile network operator counts all or part of data flow generated in the process of accessing the network through the proxy server into a specified service provider based on the flow-free identifier.
Optionally, the method further includes:
and the proxy server sends the current position information to an electronic device.
Optionally, before the receiving the current location information of the positioning device sent by the positioning device through the network of the mobile communication carrier, the method further includes:
the proxy server receives a position acquisition request sent by the electronic equipment;
and the proxy server sends the position acquisition request to the positioning equipment so that the positioning equipment responds to the position acquisition request to further acquire the current position information.
Optionally, before the proxy server sends the current location information to an electronic device, the method further includes:
the proxy server receives a position acquisition request sent by the electronic equipment;
and the proxy server responds to the position acquisition request and sends the current position information to the electronic equipment.
Optionally, the location obtaining request includes authority authentication information of the electronic device, and the proxy server responds to the location obtaining request and sends the current location information to the electronic device, specifically:
the proxy server judges whether the electronic equipment has the authority to acquire the current position information or not based on the authority authentication information;
and when the proxy server determines that the electronic equipment has the right, the current position information is sent to the electronic equipment.
Optionally, the receiving, by the proxy server, current location information of the positioning device sent by the positioning device through a network of a mobile communication operator specifically includes:
receiving the current position information periodically acquired by the positioning equipment; or
And receiving the current position information sent by the positioning equipment when the positioning equipment determines that the distance between the current position and the preset position is greater than the preset distance based on the current position information.
Optionally, before the proxy server receives the current location information of the positioning device sent by the positioning device through the network of the mobile communication carrier, the method further includes:
the proxy server receives positioning information which is sent by a position server and used for positioning the positioning equipment, wherein the positioning information is determined by the position server based on sending time and arrival time of a positioning signal sent to a base station by the positioning equipment;
and the proxy server sends the positioning information to the positioning equipment through the network of the mobile communication operator so that the positioning equipment determines the current position information of the positioning equipment based on the positioning information.
Optionally, the positioning information specifically includes: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information specifically includes: the position server determines satellite information used for performing GPS positioning on the positioning equipment based on the sending time and the arrival time, and the satellite information is used for performing GPS positioning on the positioning equipment by the positioning equipment so as to determine second position information of the positioning equipment.
Optionally, the method further includes:
the proxy server receiving the second location information sent by the positioning device through the network of the mobile communication operator;
the proxy server sends the second location information to the location server, so that the location server determines the current location information based on the second location information and first location information, where the first location information specifically is: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information includes: first location information of the positioning device determined by the location server based on the sending time and the arrival time; the position server determines satellite information for GPS positioning of the positioning device based on the sending time and the arrival time.
Optionally, the method further includes:
a distribution server receives a positioning request sent by the positioning equipment through a network of the mobile communication operator, wherein the positioning request comprises identification information and identity authentication information of the positioning equipment;
the distribution server judges whether the identification information has the traffic-free permission or not based on the identification information and the identity authentication information;
and when the identification information has the traffic-free right, the distribution server allocates the proxy server for the positioning equipment to access the network in a traffic-free manner to the positioning equipment.
Optionally, the proxy server sends a preset tag to the positioning device, where the preset tag is carried when the positioning device performs data transmission in a network access process, and the preset tag is the traffic-free identifier; or,
the IP address of the proxy server is a preset IP address, and the preset IP address is the flow-free identifier.
Optionally, the mobile network operator adds all or part of data traffic generated in the process of the positioning device accessing the network through the proxy server to a specified service provider based on the traffic-free identifier, specifically:
when the data in the process that the positioning equipment accesses the network is determined to contain the preset label, recording all or part of data traffic in the process that the positioning equipment accesses the network into the specified service provider; or
And transmitting data in the process of accessing the network by the positioning equipment through the proxy server with the preset IP address, and counting all or part of data traffic flowing through the preset IP address into the specified service provider.
According to another aspect of the present invention, there is provided a proxy server comprising:
the second receiving module is used for receiving the current position information of the positioning equipment, which is sent by the positioning equipment through a network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and the mobile network operator counts all or part of data flow generated in the process of accessing the network through the proxy server into a specified service provider based on the flow-free identifier.
Optionally, the proxy server further includes:
and the third sending module is used for sending the current position information to an electronic device.
Optionally, the proxy server further includes:
a third receiving module, configured to receive a location acquisition request sent by the electronic device before receiving current location information of the positioning device sent by the positioning device through a network of a mobile communication operator;
and the fourth sending module is used for sending the position obtaining request to the positioning equipment so that the positioning equipment responds to the position obtaining request to further obtain the current position information.
Optionally, the proxy server further includes:
the fourth receiving module is used for receiving a position acquisition request sent by the electronic equipment before the proxy server sends the current position information to the electronic equipment;
and the response module is used for responding to the position acquisition request and sending the current position information to the electronic equipment.
Optionally, the response module specifically includes:
a second determination unit, configured to determine, when the location acquisition request includes permission authentication information of the electronic device, whether the electronic device has a permission to acquire the current location information based on the permission authentication information;
and the second sending unit is used for sending the current position information to the electronic equipment when the electronic equipment is determined to have the right.
Optionally, the second receiving module is configured to:
receiving the current position information periodically acquired by the positioning equipment; or
And receiving the current position information sent by the positioning equipment when the positioning equipment determines that the distance between the current position and the preset position is greater than the preset distance based on the current position information.
Optionally, the proxy server further includes:
a fifth receiving module, configured to receive, before the proxy server receives current location information of the positioning device sent by the positioning device through a network of a mobile communications operator, location information for locating the positioning device sent by the location server, where the location information is determined by the location server based on a sending time and an arrival time of a location signal sent by the positioning device to the base station;
a fifth sending module, configured to send the positioning information to the positioning device through the network of the mobile communications operator, so that the positioning device determines, based on the positioning information, current location information of the positioning device.
Optionally, the positioning information specifically includes: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information specifically includes: the position server determines satellite information used for performing GPS positioning on the positioning equipment based on the sending time and the arrival time, and the satellite information is used for performing GPS positioning on the positioning equipment by the positioning equipment so as to determine second position information of the positioning equipment.
Optionally, the proxy server further includes: a sixth receiving module, configured to receive the second location information sent by the positioning device through the network of the mobile communication operator;
a sixth sending module, configured to send the second location information to the location server, so that the location server determines the current location information based on the second location information and the first location information, where the first location information specifically is: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information includes: first location information of the positioning device determined by the location server based on the sending time and the arrival time; the position server determines satellite information for GPS positioning of the positioning device based on the sending time and the arrival time.
According to another aspect of the present invention, there is provided a network access system including: the proxy server and the distribution server introduced in any embodiment of the present invention include:
a seventh receiving module, configured to receive a positioning request sent by the positioning device through a network of the mobile communications operator, where the positioning request includes identification information and authentication information of the positioning device;
the judging module is used for judging whether the identification information has the flow-free permission or not based on the identification information and the identity authentication information;
and the distribution module is used for distributing the proxy server for the positioning equipment to access the network in a flow-free mode when the identification information has the flow-free right.
Optionally, the proxy server sends a preset tag to the positioning device, where the preset tag is carried when the positioning device performs data transmission in a network access process, and the preset tag is the traffic-free identifier; or,
the IP address of the proxy server is a preset IP address, and the preset IP address is the flow-free identifier.
Optionally, the mobile network operator adds all or part of data traffic generated in the process of the positioning device accessing the network through the proxy server to a specified service provider based on the traffic-free identifier, specifically:
when the data in the process that the positioning equipment accesses the network is determined to contain the preset label, recording all or part of data traffic in the process that the positioning equipment accesses the network into the specified service provider; or
And transmitting data in the process of accessing the network by the positioning equipment through the proxy server with the preset IP address, and counting all or part of data traffic flowing through the preset IP address into the specified service provider.
Optionally, the system further includes a positioning device as described in any embodiment of the present invention.
According to the data transmission method for the positioning equipment, the current position information of the positioning equipment is determined; sending the current position information of the positioning equipment to a proxy server through a network of a mobile communication operator; the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and all or part of data flow generated in the process of accessing the network by the positioning device through the proxy server is included in a specified service provider by a mobile network operator based on the flow-free identifier. That is to say, when the positioning device sends the current location information of the positioning device to another electronic device, the data traffic consumed by the specified service provider can be consumed wholly or partially, and the data traffic of the positioning device does not need to be consumed partially or completely, so that the technical problem that the traffic of the positioning device needs to be consumed when the positioning device sends the current location information to another electronic device in the prior art is solved, the technical effect of reducing the data traffic consumed when the positioning device sends the current location information to another electronic device is achieved, and the data traffic consumed when the positioning device accesses the network can be reduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 illustrates an interaction diagram of an interaction method for location acquisition according to one embodiment of the invention;
fig. 2 is a flowchart illustrating a navigation device acquiring current location information in an interactive method for location acquisition according to an embodiment of the present invention;
FIG. 3 shows a flow diagram of a position transmission method for a positioning device according to one embodiment of the invention;
FIG. 4 shows a schematic view of a positioning apparatus according to an embodiment of the invention;
fig. 5 shows a block diagram of a network access system according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the invention provides a position transmission method for positioning equipment, the positioning equipment and a network access system, which are used for solving the technical problem that a large amount of data flow of the positioning equipment needs to be consumed when the positioning equipment in the prior art accesses a network.
An embodiment of the present invention provides an interaction method for obtaining a location, as shown in fig. 1, which is an interaction diagram of the method, and a device related to the method includes: positioning equipment, a distribution server and a proxy server, wherein the positioning equipment is, for example: mobile phones, tablet computers, and the like, the user of the positioning device being the user; the distribution server is mainly used for providing identity authentication for the positioning equipment and selecting the proxy server; the proxy server is mainly used for providing network access service for the positioning equipment with the internet surfing flow-free authority.
Referring to fig. 1, the interactive method includes the following steps:
step S110: the positioning equipment determines the current position information of the positioning equipment;
step S120: the positioning equipment sends the current position information of the positioning equipment to the proxy server through the network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and all or part of data flow generated in the process of accessing the network by the positioning device through the proxy server is included in a specified service provider by a mobile network operator based on the flow-free identifier.
In step S110, the positioning apparatus may obtain the current location information of the positioning apparatus based on multiple occasions, and two of them are listed below for description, and of course, in the specific implementation process, the current location information is not limited to the following two occasions.
Firstly, after receiving a position acquisition request sent by another electronic device through a proxy server, a positioning device responds to the position acquisition request to further acquire current position information of the positioning device; in an optional embodiment, after receiving the location obtaining request, the positioning device directly obtains current location information; in another optional embodiment, the location obtaining request received by the positioning device includes authority authentication information of the electronic device, in this case, the positioning device may determine whether the electronic device has an authority to obtain the current location information based on the authority authentication information, and when the electronic device has the authority to obtain the current location information, the positioning device obtains the current location information.
In an optional embodiment, the authority authentication information of the electronic device is identification information (e.g., a communication identifier, a device identifier, etc.) of the electronic device, the electronic device may first bind the identification information to the positioning device, and then, if the positioning device detects a location obtaining request carrying the identification information of the electronic device, the positioning device determines whether the identification information matches with pre-stored identification information, if matching is successful, it indicates that the electronic device has an authority to obtain current location information of the positioning device, otherwise, it indicates that the electronic device does not have the authority to obtain the current location information of the positioning device.
The device identifier of the electronic device is used to uniquely characterize the electronic device, and is, for example: an IMEI (International Mobile Equipment identity), MAC (media Access control) address; the communication identity is used for the electronic device to access the network of the mobile communication operator, for example: a USIM (universal subscriber identity module) card number, a SIM (subscriber identity module) card number, and the like.
In another optional embodiment, the positioning device sends its unique identifier (e.g., a two-dimensional code, a device identifier, etc.) to the proxy server, if the electronic device needs to obtain the current location information of the positioning device, it first needs to send a binding application to the proxy server, where the binding application includes the device identifier of the positioning device, after receiving the binding application sent by the electronic device, the proxy server determines whether to permit the electronic device to obtain its current location information, and if the information fed back by the positioning device represents that the electronic device is permitted to obtain its current location information, the proxy server generates a right authentication information, and sends the communication identifier and the right authentication information of the electronic device to the positioning device; and the permission authentication information is sent to the electronic equipment, the position acquisition request sent by the electronic equipment to the positioning equipment contains the permission authentication information and the communication identifier, after the positioning equipment receives the position acquisition request sent by the electronic equipment, the permission authentication information corresponding to the communication identifier of the electronic equipment is matched with the prestored permission authentication information, and if the matching is successful, the electronic equipment has the permission to acquire the current position information.
Second, the positioning device may periodically obtain current location information, such as: the positioning device acquires current position information every 30min, 1h, and so on.
In step S110, in an alternative embodiment, the positioning device may determine the current location information directly through a GPS positioning method.
In an alternative embodiment, the positioning device may determine the current location information directly through a base station positioning manner.
In an alternative embodiment, referring to fig. 2, the positioning device may determine the current location information by:
step S201: receiving positioning information sent by a proxy server through a network of a mobile communication operator, wherein the positioning information is sent to the proxy server by a position server, and the positioning information is determined by the position server based on sending time and arrival time of a positioning signal sent to a base station by positioning equipment;
step S202: and determining the current position information of the positioning equipment through the positioning information.
In step S201, if the positioning device needs to determine the current location information, it may send a pilot signal (the pilot signal is a positioning signal) to a plurality of base stations (usually 3) around the positioning device, where the sent pilot signal includes a sending time of the pilot signal;
after each base station receives the pilot signal, the arrival time of the pilot signal at the base station is recorded respectively, and then the base station sends the base station information (such as the position of the base station), the sending time of the pilot signal and the arrival time to a position server;
after receiving the base station information sent by the base station, the sending time of the pilot signal, and the arrival time, the location server can determine the distance between the positioning device and each base station, and the base station location is fixed, so that the first location information of the positioning device can be determined by the base station positioning method based on the distance between the positioning device and each base station and the base station location.
In addition, the location server may also roughly determine satellite information for GPS positioning of the positioning device based on the first location information of the positioning device, for example: frequency band, azimuth, elevation and other relevant information of the satellite.
Therefore, the positioning information sent by the location server to the positioning device through the proxy server in step S201 can be classified into various cases, for example: firstly, positioning information is first position information; the positioning information is satellite information used for carrying out GPS positioning on the positioning equipment; and the positioning information comprises first position information and satellite information.
In step S202, based on the difference of the positioning information received by the positioning device, the manner of determining the current position information is also different, and three of them are listed below for description, and certainly, in the specific implementation process, the method is not limited to the following three cases.
First, the positioning information received by the positioning device is the first location information, and in this case, the first location information may be directly used as the current location information of the positioning device.
Second, the positioning information is satellite information used for performing GPS positioning on the positioning device, in which case, the positioning device may be GPS-positioned based on the satellite information, and then the second position information of the positioning device is determined.
After determining the second location information, the positioning device may directly use the second location information as the current location information, and as another optional embodiment, the method further includes:
the positioning equipment sends the second position information to a proxy server through a network of a mobile communication operator, the second position information is sent to the position server by the proxy server, and the position server is used for determining the current position information of the positioning equipment by integrating the first position information and the second position information;
the positioning device receives current position information sent by the proxy server through a network of a mobile communication operator, and the current position information is sent to the proxy server by the position server.
Specifically, after determining the second location information of the positioning device by GPS positioning, the positioning device may send the second location information to the location server again through the proxy server, and the location server integrates the first location information and the second location information to obtain more accurate current location information, for example: the location server may take a midpoint of the first location information and the second location information as current location information, and the location server may obtain the current location information by performing fine adjustment on the second location information through the first location information, and so on.
Thirdly, the positioning information includes the first position information and satellite information for GPS positioning, in which case the positioning device may first perform GPS positioning on the positioning device based on the satellite information, and then determine the second position information of the positioning device; and finally, the current position information of the positioning device is determined by integrating the first position information and the second position information, and the mode of acquiring the current position information by the positioning device based on the first position information and the second position information is similar to that of the position server, so that the description is omitted here.
In the implementation process, the positioning device may send the current location information to the proxy server at multiple occasions, which are described below by listing two occasions, but is not limited to the following two cases in the implementation process.
First, after detecting current location information, the positioning device sends the current location information to a proxy server;
secondly, the positioning equipment judges whether the distance between the current position and the preset position is greater than the preset distance or not based on the current position information; and when the distance is greater than the preset distance, sending the current position information to the proxy server.
For example, the preset positions are: the method comprises the steps that the current position information is sent to a proxy server by the positioning device, so that the proxy server sends the current position information to another electronic device (for example, the electronic device where a guardian of the old or the child is located), the guardian can know the position of a user wearing the positioning device as soon as possible, and the safety of the user wearing the positioning device can be guaranteed through the scheme.
In this case, as another optional embodiment, when the positioning device determines that the distance between the positioning device and the preset position is greater than the preset distance, the positioning device may further send alarm information to a preset communication identifier, where the alarm information carries current position information. The preset communication identifier is, for example, a communication identifier of a guardian of a user wearing the positioning device, a public alarm telephone, and the like, where the preset communication identifier may be a telephone number or account information of instant chat software, and the embodiment of the present invention is not limited thereto.
In a specific implementation process, in order to ensure that all or part of data traffic in a process of accessing a network by a positioning device is included in a specified service provider, a positioning device needs to determine a proxy server providing a streaming-free service for the positioning device, please continue to refer to fig. 1, and the proxy server may be determined through the following steps:
step S101: the positioning equipment sends a positioning request to a distribution server through a network of a mobile communication operator, wherein the positioning request comprises identification information and identity authentication information of the positioning equipment;
step S102, the distribution server judges whether the communication identification has the flow-free authority or not based on the identification information and the identity authentication information;
step S103: and when the distribution server determines that the identification information has the traffic-free right, the distribution server distributes a proxy server for the positioning equipment to access the network in a traffic-free mode to the positioning equipment.
For example, before step S101, the positioning device may bind, in advance, identification information (communication identifier or device identifier) of the positioning device at the distribution server by means of registration or the like, for example: the positioning device can firstly apply for a flow-free service from a distribution server, after receiving the application of the positioning device, the distribution server determines whether to distribute a flow-free authority to the device identifier according to some preset conditions (for example, whether the positioning device uses preset software, whether the device identifier of the positioning device represents that the positioning device is manufactured by a preset manufacturer, and the like), and if the distribution server determines to distribute the flow-free authority to the device identifier, the distribution server sends a UserKey (user password) to the positioning device as identity authentication information; further, in order to ensure that there is no situation that other users apply for the traffic exemption permission by using the communication identifier of the positioning device, the distribution server may first send an authentication code to the communication identifier of the positioning device, and after the user of the positioning device successfully fills the authentication code, the user of the positioning device allocates the authentication information to the positioning device to access the network.
In addition, when providing the stream-exempting service for the network access process of the positioning device, the distribution server may have no traffic limitation, or may have a traffic limitation, where the absence of the traffic limitation means that no matter how much traffic is used by the positioning device in the network access process, the positioning device is provided with a stream-exempting right as long as the stream-exempting requirement is met, for example: the distribution server may set the VIP identity for device identifications of certain positioning devices (e.g., positioning devices manufactured by a particular vendor, positioning devices using a particular type of operating system, etc.), thereby providing an unlimited amount of exemption for device identifications of those positioning devices, or the distribution server may set the VIP identity for communication identifications using a particular mobile carrier network, etc.; and there may be a traffic restriction for non-VIP users, where the presence of a traffic restriction refers to allocation of a specific traffic for each predetermined period of time for the location device, and if the total traffic cumulatively used by the location device in accessing the network does not exceed the specific traffic, then the location device is allocated a traffic exempt authority if it meets the traffic exempt requirement, and if the total traffic used by the location device in accessing the network exceeds the specific traffic, then the location device is not allocated the traffic exempt authority, for example; a 30M free traffic, a 50M free traffic, etc. may be allocated for a positioning device for one month.
In an alternative embodiment, if there is a traffic limitation on the free traffic that the distribution server allocates to the location device, the user of the location device may also obtain the data traffic that the distribution server rewards through some activities, such as: the pointing device clicks on a predetermined advertisement, clicks on a predetermined web page, downloads a predetermined APP, etc., in which case the distribution server may increase the data traffic allocated for the pointing device, e.g., 30M, 40M, etc.
Further in step S101, if the positioning device needs to access the network, for example: when detecting that the positioning device needs to receive a position acquisition request sent by another electronic device, or detecting that the positioning device sends a positioning signal to the base station to acquire current position information, etc., the positioning device first accesses the network through its communication identifier, and then sends its own identification information and authentication information to a distribution server, etc.
In step S102, the distribution server determines whether the received authentication information of the device identification information matches with the pre-stored authentication information of the identification information, and if so, indicates that the corresponding positioning device has the traffic exemption permission, otherwise indicates that the corresponding positioning device does not have the traffic exemption permission.
In step S103, if the distribution server does not have flow limitation when allocating the flow-free right to the device identifier positioning device, the distribution server may directly allocate a proxy server to the device identifier positioning device after determining that the identifier information of the device identifier positioning device has the flow-free right, and if the distribution server has flow limitation when allocating the flow-free right to the device identifier positioning device, the distribution server needs to determine whether the remaining flow exceeds a threshold value after determining that the identifier information of the device identifier positioning device has the flow-free right, and allocates the proxy server to the device identifier positioning device when the remaining flow exceeds the threshold value, where the processing procedure specifically includes the following steps: acquiring free residual flow information of the identification information of the positioning equipment, which is charged by adopting a charging mode of a specified service provider; judging whether the free remaining traffic of the identification information is greater than a preset amount (such as the foregoing threshold) based on the free remaining traffic information; and when the free residual flow is larger than the preset amount, distributing a proxy server for the identification information.
In general, one of the functions of the distribution server is to count the free remaining traffic information of the identification information, and the preset amount is, for example: 0M, 1M, 512K and the like, wherein if the free residual flow is larger than the preset amount, the flow-free residual flow can meet the network access in the normal condition, so that a proxy server can be allocated to the flow-free residual flow; and if the free residual flow is not greater than the preset amount, the situation is shown that the free residual flow cannot meet the current network access under the normal condition, so that the proxy server is not allocated to the free residual flow.
When the distribution server allocates a proxy server to a positioning device, the distribution server may select a proxy server closest to the physical location of the positioning device from a plurality of proxy servers to allocate to the positioning device, may select a proxy server with the lightest network load to allocate to the positioning device, or select a proxy server with the lowest network delay to allocate to the positioning device, or the like, or select the distribution server by taking comprehensive consideration of at least two policies of the plurality of distribution policies, and as to what manner the distribution server adopts to allocate the proxy server to the positioning device, the embodiments of the present invention are not listed in detail and are not limited.
As an optional embodiment, under the condition that the traffic-free permission of the identification information allocated to the positioning device by the distribution server is not limited by traffic, if the identification information of the positioning device has the traffic-free permission, the distribution server may generate temporary verification information (token) for the positioning device to access the network at this time; alternatively, when the distribution server has traffic limitation in the traffic exemption authority of the identification information assigned to the positioning device, the distribution server may generate the temporary verification information if the identification information has the traffic exemption authority and the identification information has a free remaining traffic.
In addition, in order to ensure that the subsequent positioning device can be connected to the proxy server, the distribution server needs to send some data to the proxy server, and four data are listed below for description, and of course, in the implementation process, the following four cases are not limited. Firstly, a distribution server sends a communication identifier of a positioning device to a proxy server; the distributing server sends the communication identification and the temporary verification information of the positioning equipment to the proxy server; thirdly, the distribution server sends the communication identification and the free residual flow of the positioning equipment to the proxy server; and fourthly, the distribution server sends the communication identification, the free residual flow and the temporary verification information of the positioning equipment to the proxy server.
In addition, the address information of the proxy server also needs to be provided to the positioning device, wherein the address information of the proxy server can be directly sent to the positioning device by the distribution server; the proxy server may also send the communication identifier of the positioning device to the positioning device after receiving the communication identifier of the positioning device. As shown in step S104 of fig. 1, it is a procedure of the positioning apparatus to which the address information of the proxy server is transmitted by the distribution server.
In a specific implementation process, the fact that all data traffic in a process of accessing the network by the positioning device is counted in a specified service provider means that in the process of accessing the network, no matter how much data traffic is consumed by the positioning device, the data traffic is counted in the data traffic consumed by the specified service provider.
However, part of the data traffic in the process of accessing the network by the positioning device is counted into the data traffic consumed by the designated service provider, and may be divided into a plurality of cases, two of which are listed below for introduction, and certainly, in the specific implementation process, the data traffic is not limited to the following two cases.
First, a certain percentage of the data traffic during the network access of the positioning device is accounted for by the data traffic consumed by the designated service provider.
For example, the specific ratios are, for example: 50%, 70%, etc., wherein the charging system, when determining that the positioning device has the traffic-free authority in accessing the network (for example, the data transmission carries the traffic-free identifier), credits a specific proportion of the charging system to the designated service provider, and credits the rest of the charging system to the communication identifier, for example: assuming that the positioning device consumes 10M of traffic in the network accessing process, and the specific proportion is 50%, the charging system counts 5M of traffic into the designated service provider during charging, and counts the rest 5M of traffic into the communication identifier of the positioning device. Of course, the above data are by way of example only and not by way of limitation.
Second, a certain amount of data traffic during the location device's access to the network is accounted for by the data traffic consumed by the designated service provider.
For example, the specific number is, for example: 10M, 20M and the like, wherein when the charging system determines that the positioning device has a traffic-free permission (for example, the data transmission carries a traffic-free identifier) in the network access process, after the network access process is finished, the charging system judges whether the data traffic in the network access process exceeds the specific quantity, and if not, all the data traffic is counted into a specified service provider; if the specified amount is exceeded, no more than a portion of the data traffic is included in the designated service provider and more than a portion is included in the communication identification of the locating device.
Third, the data traffic for a particular piece of content during the process of accessing the network by the positioning device is credited to the designated facilitator.
For example, the specific content is, for example: when the positioning equipment has the traffic-free right in the network access process, the corresponding gateway (or a charging system connected with the corresponding network) acquires data transmitted in the network access process, then determines the data such as the characters and the pictures from the data transmitted in the network access process, and records the corresponding data traffic into a specified service provider; while for other types of content, for example: and the video counts the corresponding data flow into the communication identifier of the positioning equipment.
In step S120, if the distribution server does not allocate the temporary verification information for the current network access process in steps S101 to S103, the positioning device directly sends the current location information to the proxy server; if the distribution server distributes the temporary verification information for the network access process in the steps S101 to S103, the positioning device sends the current position information carrying the temporary verification information to the proxy server. After the proxy server receives the current position information sent by the positioning equipment, the proxy server can actively send the current position information to another electronic equipment, and the proxy server can also respond to a position acquisition request sent by the electronic equipment; then, the location information (which may be current location information or historical location information) collected by the positioning device is sent to the electronic device based on the location obtaining request, wherein when the proxy server sends the current location information to the electronic device in response to the request of the electronic device, the proxy server may first perform an authorization authentication on the location obtaining request, specifically: the position acquisition request comprises authority authentication information of the electronic equipment, and the proxy server judges whether the electronic equipment has the authority to acquire the current position information or not based on the authority authentication information; and when the proxy server determines that the electronic equipment has the right, the current position information is sent to the electronic equipment. The process of performing the authority authentication on the electronic device by the proxy server is similar to the process of performing the authority authentication on the electronic device by the positioning device, and therefore, the description is omitted here.
In a specific implementation process, the proxy server may directly provide a traffic-free service for the positioning device after receiving current location information sent by the positioning device, and then send the current location information to another electronic device actively or in response to a request of another electronic device or store the current location information in the proxy server, and based on different information sent to the proxy server before the distribution server, the proxy server may also perform some verification processes first, and the positioning device can provide the traffic-free service only after the verification is passed, and the following three verification processes are listed for description, but of course, in the specific implementation process, the present invention is not limited to the following three cases.
The data sent by the distribution server to the proxy server comprises a communication identifier and temporary verification information of the positioning equipment, and under the condition, the current position information sent by the positioning equipment also comprises the temporary verification information, so that when the proxy server verifies that the flow-free authority of the positioning equipment is legal through the temporary verification information, the current position information is stored in the proxy server or sent to another electronic equipment; the proxy server matches the temporary verification information sent by the positioning equipment with the temporary verification information sent by the distribution server, if the matching is successful, the data access request is legal, otherwise, the data access request is illegal. By the scheme, the security of the network access process can be ensured.
If the data sent by the distribution server to the proxy server comprises the communication identifier of the positioning equipment and the free residual flow information, the proxy server firstly judges whether the latest free residual flow of the communication identifier is greater than the preset amount based on the free residual flow information after receiving the current position information; when the latest free remaining traffic information is greater than the preset amount, a traffic-free server is provided for the mobile terminal, for example: storing the current position information in a proxy server or transmitting the current position information to another electronic device; and if the latest free residual flow information is not greater than the preset amount, informing the positioning equipment, and uploading the current position information to a network or sending the current position information to another electronic equipment by the positioning equipment through another access path. Through the scheme, a specified service provider can provide a specific amount of free data flow to the positioning equipment.
If the distribution server judges that the free residual flow of the equipment identifier is larger than the preset amount, the proxy server does not need to judge whether the latest free residual flow (namely the free residual flow sent by the distribution server) is larger than the preset amount when receiving the current position information for the first time; the data traffic consumed by the positioning device for the network access request is directly counted, and then the data traffic is subtracted from the free residual traffic sent by the distribution server, so that the latest free data traffic can be obtained; whether to send the data access request to the resource server can be determined subsequently by judging whether the latest free data flow is larger than a preset amount.
In addition, the proxy server can also count the data traffic information consumed by the communication identifier according to a preset counting period, and acquire the latest free residual traffic information of which the positioning device has the traffic-free permission.
For example, the preset statistical period may be, for example, a preset statistical time interval, the preset statistical time interval may be, for example, 30s, 50s, 1min, and the like, and the proxy server may set a timer, acquire, every time the preset time interval arrives, the data traffic consumed by the positioning device counted in the current time interval, and obtain the latest free remaining traffic information of the positioning device based on the data traffic statistics.
The preset statistical period is, for example: the method comprises the steps that preset statistical flow is 512k, 1M and the like, a proxy server can monitor data flow consumed by the positioning equipment, and when the preset statistical flow is consumed, the latest free residual flow information of the positioning equipment is determined according to the preset statistical flow.
Through the scheme, the latest free residual flow information of the positioning equipment can be ensured to be obtained in time.
Of course, after the data traffic information consumed by the positioning device is counted by the proxy server in the counting period, the data traffic information may also be sent to the distribution server, and the distribution server may count the latest free remaining traffic information identified by the device. If the identification information of the positioning device is a communication identification, the distribution server directly subtracts the data traffic consumed by the communication identification at this time from the free residual traffic before the communication identification, and then obtains the latest free residual traffic information of the communication identification.
If the identification information of the positioning device is the device identification, the distribution server stores the corresponding relationship between the communication identification of the positioning device and the device identification, and after the distribution server receives the data traffic information consumed by the communication identification sent by the proxy server, the distribution server corresponds the data traffic information to the corresponding device identification, and then subtracts the data traffic consumed by the communication identification from the free residual traffic information of the device identification, so as to obtain the latest free residual traffic information of the device identification.
After obtaining the data traffic information consumed by the positioning device, the distribution server can also send the data traffic information to the positioning device or inform the data traffic information when the positioning device inquires; or after determining the latest free remaining flow information of the device identifier, the distribution server can also send the latest free remaining flow information to the positioning device, so that the positioning device can further know the current flow use condition, and then a better network access strategy is selected. Or upon inquiry by a location device.
And thirdly, the data sent by the distribution server to the proxy server comprises identification information of the positioning device, free residual flow information and temporary verification information, and under the condition, the proxy server adopts the resource server to acquire the requested data when the temporary verification information verifies that the data access request is legal and the latest free residual flow information is larger than the preset amount. By the scheme, the security of the network access process can be ensured, and the appointed service provider can be ensured to provide a preset amount of free flow to the positioning equipment.
The flow-free identifier may be a plurality of different forms of flow-free identifiers, and two of them are listed below for description, and certainly, in the specific implementation process, the flow-free identifier is not limited to the following two cases.
The proxy server sends a preset label to the positioning equipment after receiving the communication identifier of the positioning equipment sent by the distribution server and before receiving the current position information sent by the positioning equipment, and the preset label is carried when the positioning equipment carries out data transmission in the process of accessing the network and is a flow-free identifier.
And secondly, the IP address of the proxy server distributed by the distribution server for the positioning equipment is a preset IP address, and the preset IP address is the flow-free identifier.
In a specific implementation process, data in a process that the positioning device accesses the network includes uplink data and downlink data, where the uplink data is data (e.g., current location information, first location information, and the like) sent by the positioning device to the proxy server, and the downlink data is data (e.g., positioning information, current location information determined by the location server integrating the first location information and the second location information, and the like) sent by the proxy server to the positioning device, where data traffic of at least one of the uplink data and the downlink data is included in a specified service provider.
If uplink data (such as current position information, first position information and the like) sent to the proxy server by the positioning equipment contains a flow-free identifier, the data flow corresponding to the uplink data is included in a specified service provider based on the flow-free identifier; and if the proxy server sends the downstream data to the positioning equipment, the downstream data carries the traffic-free identifier, and then the downstream data is counted into the designated service provider based on the traffic-free identifier.
If the traffic-free identifier is a preset identifier, adding a preset label to the uplink data by the mobile terminal; the downlink data is preset with an identifier on the proxy server; if the traffic-free identifier is the preset IP, the uplink data and the downlink data pass through the proxy server containing the preset IP, so that the traffic-free identifier is directly carried in the address information of the proxy server through which the uplink data and the downlink data pass.
In the specific implementation process, data traffic in the process of accessing the network by the positioning device can be counted through the gateway arranged between the positioning device and the proxy server.
Aiming at the condition that the flow-free identifier is a preset IP, after receiving uplink data sent by the positioning equipment, the corresponding gateway (or a charging system connected with the corresponding network) judges whether the IP of the next node corresponding to the data access request is the preset IP, if so, the data flow of the next node is counted into a specified service provider, after receiving downlink data sent by the proxy server, the corresponding gateway (or the charging system connected with the corresponding network) judges whether the IP of the proxy server is the preset IP, and if so, the data flow of the proxy server is counted into the data flow of the specified service provider; in the case that the traffic-free identifier is a preset tag, after receiving uplink data (or downlink data sent by a proxy server) sent by a positioning device, a corresponding gateway (or a charging system connected to a corresponding network) determines whether the uplink data (or the downlink data) includes the preset tag, and if the uplink data (or the downlink data) includes the preset tag, the corresponding gateway counts the data traffic of the gateway into a specified service provider.
As an alternative embodiment, with continued reference to fig. 1, the method further includes:
step S130: judging whether any data access request of the positioning equipment is received within a preset time period;
step S140: and if any data access request of the positioning equipment is not received within a preset time period, prompting that the positioning equipment exits the login.
For example, the preset time period is, for example: 10min, 30min, 40min and so on, if the proxy server does not receive any data access request sent by the positioning device within the preset time period, it indicates that the process of the positioning device accessing the network is finished, so a corresponding prompt message can be generated. Further, the proxy server may also send the hint information to the distribution server after generating the hint information.
In this case, if the temporary authentication information is previously allocated to the current network access procedure by the distribution server, the distribution server cancels the temporary authentication information based on the prompt information transmitted from the proxy server, and the proxy server also cancels the temporary authentication information. By the scheme, the distributed temporary verification information can be ensured to be only used as the verification information in the network access process at this time, and new temporary verification information still needs to be generated in the next network access, so that the security of the network access is improved.
As an alternative embodiment, if the proxy server prompts the positioning device to log out, please continue to refer to fig. 1, the method further includes:
step S150: the proxy server sends the initial internet surfing time, the end internet surfing time and the consumed data traffic information of the positioning equipment to the distribution server;
step S160: and the distribution server counts the free residual flow of the positioning equipment based on the data flow information sent by the proxy server.
For example, the proxy server may send the distribution server the information shown in table 1:
TABLE 1
Starting time End time Consumed data traffic information
2015-4-1514:23 2015-4-1514:44 1.6M
Assuming that the total free data traffic allocated by the distribution server for the identification information of the positioning device is: 30M, and the device identifier of the positioning device is before the network access and consumes 20M traffic, it can be determined that the free remaining traffic of the identification information of the positioning device after the network access process is: 10M-1.6M ═ 8.4M. Of course, the above data traffic is by way of example only and not by way of limitation.
The distribution server and the proxy server introduced in the embodiment of the invention can be two servers with completely independent physical positions; the present invention may also be two different functional modules of the same server, and the embodiment of the present invention is not limited thereto.
According to the interactive method for location acquisition provided by the embodiment of the present invention, an embodiment of the present invention further provides a location transmission method for a positioning device, please refer to fig. 3, including:
step S301: determining the current position information of the positioning equipment;
step S302: sending the current position information of the positioning equipment to a proxy server through a network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and all or part of data flow generated in the process of accessing the network by the positioning device through the proxy server is included in a specified service provider by a mobile network operator based on the flow-free identifier.
Optionally, determining the current location information of the positioning device specifically includes: receiving a position acquisition request sent by a proxy server, wherein the position acquisition request is sent to the proxy server by another electronic device; responding to the position acquisition request to further acquire current position information, and sending the current position information to the electronic equipment by the proxy server; alternatively, the current position information is acquired periodically.
Optionally, the location obtaining request includes authority authentication information of the electronic device, and the location obtaining request is responded to further obtain current location information, which specifically includes: judging whether the electronic equipment has the authority for acquiring the current position information or not based on the authority authentication information; and when the electronic equipment has the right, acquiring the current position information.
Optionally, the sending, to the proxy server, current location information of the positioning device through a network of a mobile communication operator specifically includes: judging whether the distance between the current position and the preset position is greater than the preset distance or not based on the current position information; and when the distance is greater than the preset distance, sending the current position information to the proxy server.
Optionally, when the distance is greater than the preset distance, the method further includes: and sending alarm information to a preset communication identifier, wherein the alarm information carries current position information.
Optionally, determining the current location information of the positioning device specifically includes: receiving positioning information sent by a proxy server through a network of a mobile communication operator, wherein the positioning information is sent to the proxy server by a position server, and the positioning information is determined by the position server based on sending time and arrival time of a positioning signal sent to a base station by positioning equipment; and determining the current position information of the positioning equipment through the positioning information.
Optionally, the positioning information specifically includes: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information specifically includes: the position server determines satellite information used for carrying out GPS positioning on the positioning equipment based on the sending time and the arrival time; determining the current position information of the positioning device through the positioning information, specifically comprising: and carrying out GPS positioning on the positioning equipment based on the satellite information, and further determining second position information of the positioning equipment.
Optionally, determining the current location information of the positioning device through the positioning information further includes: sending the second position information to a proxy server through a network of a mobile communication operator, wherein the second position information is sent to the position server by the proxy server, and the position server is used for determining the current position information of the positioning equipment by integrating the first position information and the second position information; and receiving current position information sent by the proxy server through a network of a mobile communication operator, wherein the current position information is sent to the proxy server by the position server.
Optionally, the positioning information specifically includes: the location server determines first location information of the positioning device based on the sending time and the arrival time; the position server determines satellite information used for carrying out GPS positioning on the positioning equipment based on the sending time and the arrival time; determining the current position information of the positioning device through the positioning information, specifically comprising: carrying out GPS positioning on the positioning equipment based on the satellite information so as to determine second position information of the positioning equipment; and integrating the first position information and the second position information to determine the current position information of the positioning equipment.
Optionally, before sending the current location information of the positioning device to the proxy server through the network of the mobile communication carrier, the method further includes: and sending a positioning request to a distribution server through a network of a mobile communication operator, wherein the positioning request comprises identification information and identity authentication information of the positioning equipment, so that when the distribution server determines that the identification information has a traffic-free right based on the identification information and the identity authentication information, the distribution server allocates a proxy server for the positioning equipment to access the network in a traffic-free mode.
Optionally, the method further comprises: receiving a preset label sent by a proxy server, wherein the preset label is carried when data transmission is carried out in the process that a positioning device accesses a network, and the preset label is a flow-free identifier; or the IP address of the proxy server is a preset IP address, and the preset IP address is a flow-free identifier.
Optionally, the mobile network operator adds all or part of data traffic generated in the process of the positioning device accessing the network through the proxy server to the designated service provider based on the traffic-free identifier, specifically: when the fact that the data in the process that the positioning equipment accesses the network contain the preset label is determined, all or part of data traffic in the process that the positioning equipment accesses the network is counted into a specified service provider; or the data in the process of accessing the network by the positioning equipment is transmitted through the proxy server with the preset IP address, and all or part of data traffic flowing through the preset IP address is counted in the appointed service provider.
According to the interaction method for obtaining a location provided by the embodiment of the present invention, an embodiment of the present invention further provides a positioning device, please refer to fig. 4, including:
a first determining module 40, configured to determine current location information of a positioning device;
a first sending module 41, configured to send current location information of the positioning device to the proxy server through a network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and all or part of data flow generated in the process of accessing the network by the positioning device through the proxy server is included in a specified service provider by a mobile network operator based on the flow-free identifier.
Optionally, the first determining module 40 specifically includes: the first receiving unit is used for receiving a position acquisition request sent by the proxy server, and the position acquisition request is sent to the proxy server by another electronic device; the response unit is used for responding to the position acquisition request so as to acquire the current position information, and the current position information is sent to the electronic equipment by the proxy server; or, the first determining module 40 is specifically configured to periodically obtain the current location information.
Optionally, the location obtaining request includes authority authentication information of the electronic device, and the response unit specifically includes: the judging subunit is used for judging whether the electronic equipment has the authority for acquiring the current position information based on the authority authentication information; and the obtaining subunit is used for obtaining the current position information when the electronic equipment has the right.
Optionally, the first sending module 41 specifically includes: the first judging unit is used for judging whether the distance between the current position and the preset position is greater than the preset distance or not based on the current position information; and the first sending unit is used for sending the current position information to the proxy server when the distance is greater than the preset distance.
Optionally, the positioning apparatus further includes: and the alarm module is used for sending alarm information to a preset communication identifier when the distance is greater than the preset distance, and the alarm information carries current position information.
Optionally, the first determining module 40 specifically includes: a second receiving unit for receiving positioning information sent by the proxy server through the network of the mobile communication operator, the positioning information being sent to the proxy server by the location server, and the positioning information being determined by the location server based on the sending time and arrival time of the positioning signal sent to the base station by the positioning device; and the determining unit is used for determining the current position information of the positioning equipment through the positioning information.
Optionally, the positioning information specifically includes: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information specifically includes: the position server determines satellite information used for carrying out GPS positioning on the positioning equipment based on the sending time and the arrival time; a determination unit comprising: and the first positioning subunit is used for carrying out GPS positioning on the positioning equipment based on the satellite information so as to determine second position information of the positioning equipment.
Optionally, the determining unit further includes: the sending subunit is configured to send the second location information to a proxy server through a network of a mobile communication operator, where the second location information is sent to the location server by the proxy server, and the location server is configured to determine current location information of the positioning device by integrating the first location information and the second location information; and the receiving subunit is used for receiving the current position information sent by the proxy server through the network of the mobile communication operator, and the current position information is sent to the proxy server by the position server.
Optionally, the positioning information specifically includes: the location server determines first location information of the positioning device based on the sending time and the arrival time; the position server determines satellite information used for carrying out GPS positioning on the positioning equipment based on the sending time and the arrival time; the determining unit specifically includes: the second positioning subunit is used for carrying out GPS positioning on the positioning equipment based on the satellite information so as to determine second position information of the positioning equipment; and the determining subunit is used for integrating the first position information and the second position information to determine the current position information of the positioning equipment.
Optionally, the positioning apparatus further includes: and the second sending module is used for sending a positioning request to the distribution server through the network of the mobile communication operator before sending the current position information of the positioning device to the proxy server through the network of the mobile communication operator, wherein the positioning request comprises the identification information and the identity verification information of the positioning device, so that the proxy server used for the positioning device to access the network in a flow-free mode is allocated to the positioning device when the distribution server determines that the identification information has the flow-free right based on the identification information and the identity verification information.
Optionally, the positioning apparatus further includes: the first receiving module is used for receiving a preset tag sent by the proxy server, carrying the preset tag when data transmission is carried out in the process that the positioning equipment accesses the network, and the preset tag is a flow-free identifier; or the IP address of the proxy server is a preset IP address, and the preset IP address is a flow-free identifier.
Optionally, the mobile network operator adds all or part of data traffic generated in the process of the positioning device accessing the network through the proxy server to the designated service provider based on the traffic-free identifier, specifically: when the fact that the data in the process that the positioning equipment accesses the network contain the preset label is determined, all or part of data traffic in the process that the positioning equipment accesses the network is counted into a specified service provider; or the data in the process of accessing the network by the positioning equipment is transmitted through the proxy server with the preset IP address, and all or part of data traffic flowing through the preset IP address is counted in the appointed service provider.
According to the interaction method for acquiring the position, provided by the embodiment of the invention, the embodiment of the invention also provides a position acquisition method based on the positioning equipment, which comprises the following steps:
the proxy server receives the current position information of the positioning equipment sent by the positioning equipment through the network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and all or part of data flow generated in the process of accessing the network by the positioning device through the proxy server is included in a specified service provider by a mobile network operator based on the flow-free identifier.
Optionally, the method further comprises: the proxy server sends the current position information to an electronic device.
Optionally, before receiving the current location information of the positioning device sent by the positioning device through the network of the mobile communication carrier, the method further includes: the method comprises the steps that a proxy server receives a position acquisition request sent by electronic equipment; the proxy server sends the position acquisition request to the positioning equipment so that the positioning equipment responds to the position acquisition request to further acquire the current position information.
Optionally, before the proxy server sends the current location information to an electronic device, the method further includes: the method comprises the steps that a proxy server receives a position acquisition request sent by electronic equipment; the proxy server responds to the position acquisition request and sends the current position information to the electronic equipment.
Optionally, the location obtaining request includes authority authentication information of the electronic device, and the proxy server responds to the location obtaining request and sends current location information to the electronic device, specifically: the proxy server judges whether the electronic equipment has the authority to acquire the current position information based on the authority authentication information; and when the proxy server determines that the electronic equipment has the right, the current position information is sent to the electronic equipment.
Optionally, the receiving, by the proxy server, current location information of the positioning device sent by the positioning device through a network of a mobile communication operator specifically includes: receiving current position information periodically acquired by positioning equipment; or receiving the current position information sent by the positioning equipment when the positioning equipment determines that the distance between the current position and the preset position is greater than the preset distance based on the current position information.
Optionally, before the proxy server receives the current location information of the positioning device sent by the positioning device through the network of the mobile communication carrier, the method further includes: the proxy server receives positioning information which is sent by the position server and used for positioning the positioning equipment, wherein the positioning information is determined by the position server based on the sending time and the arrival time of a positioning signal sent to the base station by the positioning equipment; the proxy server sends the positioning information to the positioning equipment through the network of the mobile communication operator so that the positioning equipment determines the current position information of the positioning equipment based on the positioning information.
Optionally, the positioning information specifically includes: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information specifically includes: the position server determines satellite information used for carrying out GPS positioning on the positioning equipment based on the sending time and the arrival time, and the satellite information is used for carrying out the GPS positioning on the positioning equipment by the positioning equipment, so that second position information of the positioning equipment is determined.
Optionally, the method further comprises: the proxy server receives second position information sent by the positioning equipment through a network of a mobile communication operator; the proxy server sends the second location information to the location server so that the location server determines the current location information based on the second location information and the first location information, wherein the first location information specifically is: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information includes: the location server determines first location information of the positioning device based on the sending time and the arrival time; the location server determines satellite information for GPS positioning of the positioning device based on the time of transmission and the time of arrival.
Optionally, the method further comprises: a distribution server receives a positioning request sent by a positioning device through a network of a mobile communication operator, wherein the positioning request comprises identification information and identity authentication information of the positioning device; the distribution server judges whether the identification information has the flow-free permission or not based on the identification information and the identity authentication information; and when the identification information has the traffic-free right, the distribution server allocates a proxy server for the positioning equipment to access the network in a traffic-free mode.
Optionally, the proxy server sends a preset tag to the positioning device, and the preset tag is carried when the positioning device performs data transmission in a network access process, and is a flow-free identifier; or the IP address of the proxy server is a preset IP address, and the preset IP address is a flow-free identifier.
Optionally, the mobile network operator adds all or part of data traffic generated in the process of the positioning device accessing the network through the proxy server to the designated service provider based on the traffic-free identifier, specifically: when the fact that the data in the process that the positioning equipment accesses the network contain the preset label is determined, all or part of data traffic in the process that the positioning equipment accesses the network is counted into a specified service provider; or the data in the process of accessing the network by the positioning equipment is transmitted through the proxy server with the preset IP address, and all or part of data traffic flowing through the preset IP address is counted in the appointed service provider.
According to the interaction method for acquiring the position, provided by the embodiment of the invention, the embodiment of the invention also provides a proxy server, which comprises the following steps:
the second receiving module is used for receiving the current position information of the positioning equipment, which is sent by the positioning equipment through the network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and all or part of data flow generated in the process of accessing the network by the positioning device through the proxy server is included in a specified service provider by a mobile network operator based on the flow-free identifier.
Optionally, the proxy server further includes: and the third sending module is used for sending the current position information to an electronic device.
Optionally, the proxy server further includes: a third receiving module, configured to receive a location acquisition request sent by an electronic device before receiving current location information of a positioning device sent by the positioning device through a network of a mobile communication operator; and the fourth sending module is used for sending the position obtaining request to the positioning equipment so that the positioning equipment responds to the position obtaining request to further obtain the current position information.
Optionally, the proxy server further includes: the fourth receiving module is used for receiving a position acquisition request sent by the electronic equipment before the proxy server sends the current position information to the electronic equipment; and the response module is used for responding to the position acquisition request and sending the current position information to the electronic equipment.
Optionally, the response module specifically includes: the second judging unit is used for judging whether the electronic equipment has the authority for acquiring the current position information or not based on the authority authentication information when the position acquisition request comprises the authority authentication information of the electronic equipment; and the second sending unit is used for sending the current position information to the electronic equipment when the electronic equipment is determined to have the right.
Optionally, the second receiving module is configured to: receiving current position information periodically acquired by positioning equipment; or receiving the current position information sent by the positioning equipment when the positioning equipment determines that the distance between the current position and the preset position is greater than the preset distance based on the current position information.
Optionally, the proxy server further includes: a fifth receiving module, configured to receive, before the proxy server receives current location information of the positioning device, which is sent by the positioning device through a network of a mobile communications operator, location information for locating the positioning device, where the location information is determined by the location server based on sending time and arrival time of a location signal sent by the positioning device to the base station; and a fifth sending module, configured to send the positioning information to the positioning device through the network of the mobile communication operator, so that the positioning device determines current location information of the positioning device based on the positioning information.
Optionally, the positioning information specifically includes: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information specifically includes: the position server determines satellite information used for carrying out GPS positioning on the positioning equipment based on the sending time and the arrival time, and the satellite information is used for carrying out the GPS positioning on the positioning equipment by the positioning equipment, so that second position information of the positioning equipment is determined.
Optionally, the proxy server further includes: a sixth receiving module, configured to receive second location information sent by the positioning device through a network of a mobile communications operator; a sixth sending module, configured to send the second location information to the location server, so that the location server determines current location information based on the second location information and the first location information, where the first location information specifically is: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
Optionally, the positioning information includes: the location server determines first location information of the positioning device based on the sending time and the arrival time; the location server determines satellite information for GPS positioning of the positioning device based on the time of transmission and the time of arrival.
According to the interaction method for location acquisition provided by the embodiment of the present invention, an embodiment of the present invention further provides a network access system, please refer to fig. 5, including: in the proxy server 50 and the distribution server 51 according to any embodiment of the present invention, the distribution server 51 includes:
a seventh receiving module, configured to receive a positioning request sent by the positioning device 52 through a network of a mobile communications operator, where the positioning request includes identification information and authentication information of the positioning device 52; the judging module is used for judging whether the identification information has the flow-free permission or not based on the identification information and the identity authentication information; and the allocating module is used for allocating the proxy server 50 for the positioning device 52 to access the network in a traffic-free manner to the positioning device 52 when the identification information has the traffic-free right.
Optionally, the proxy server 50 sends a preset tag to the positioning device 52, where the preset tag is carried when the positioning device 52 performs data transmission in a network access process, and the preset tag is a traffic-free identifier; alternatively, the IP address of the proxy server 50 is a preset IP address, and the preset IP address is a traffic-free identifier.
Optionally, all or part of data traffic generated during the process that the positioning device 52 accesses the network through the proxy server 50 is included in a designated service provider by the mobile network operator based on the traffic-free identifier, specifically: when the data in the process that the positioning equipment 52 accesses the network is determined to contain the preset label, recording all or part of data traffic in the process that the positioning equipment 52 accesses the network into a specified service provider; or data during the process of accessing the network by the positioning device 52 is transmitted through the proxy server 50 with the preset IP address, and all or part of the data traffic flowing through the preset IP address is counted by the designated service provider.
Optionally, the system further comprises a positioning device 52 as described in any of the embodiments of the invention.
One or more embodiments of the invention have at least the following beneficial effects:
in the embodiment of the invention, according to the data transmission method for the positioning equipment, the current position information of the positioning equipment is determined; sending the current position information of the positioning equipment to a proxy server through a network of a mobile communication operator; the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and all or part of data flow generated in the process of accessing the network by the positioning device through the proxy server is included in a specified service provider by a mobile network operator based on the flow-free identifier. That is to say, when the positioning device sends the current location information of the positioning device to another electronic device, the data traffic consumed by the specified service provider can be consumed wholly or partially, and the data traffic of the positioning device does not need to be consumed partially or completely, so that the technical problem that the traffic of the positioning device needs to be consumed when the positioning device sends the current location information to another electronic device in the prior art is solved, and the technical effect of reducing the data traffic consumed when the positioning device sends the current location information to another electronic device is achieved.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that microprocessors or Digital Signal Processors (DSPs) may be used in practice to implement some or all of the functions of some or all of the components of a positioning device, a distribution server, a proxy server and a network access system according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses a1, a position transmission method for positioning equipment, which is characterized by comprising the following steps:
determining the current position information of the positioning equipment;
sending current location information of the positioning device to a proxy server through a network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and the mobile network operator counts all or part of data flow generated in the process of accessing the network through the proxy server into a specified service provider based on the flow-free identifier.
A2 the method of claim a1, wherein the determining the current location information of the positioning device specifically includes:
receiving a position acquisition request sent by the proxy server, wherein the position acquisition request is sent to the proxy server by another electronic device; responding to the position acquisition request, further acquiring the current position information, and sending the current position information to the electronic equipment by the proxy server; or,
and acquiring the current position information periodically.
A3 the method according to claim a2, wherein the location obtaining request includes authorization authentication information of the electronic device, and the obtaining the current location information in response to the location obtaining request specifically includes:
judging whether the electronic equipment has the authority to acquire the current position information or not based on the authority authentication information;
and when the electronic equipment has the right, acquiring the current position information.
A4, the method of claim a2, wherein the sending the current location information of the positioning device to a proxy server through a network of a mobile communication carrier is:
judging whether the distance between the current position and a preset position is greater than a preset distance or not based on the current position information;
and when the distance is greater than the preset distance, sending the current position information to the proxy server.
A5, the method of claim a4, wherein when the distance is greater than the preset distance, the method further comprises:
and sending alarm information to a preset communication identifier, wherein the alarm information carries the current position information.
A6, the method according to any of claims a1-a5, wherein the determining the current location information of the positioning device specifically includes:
receiving the positioning information sent by the proxy server through the network of the mobile communication operator, the positioning information being sent to the proxy server by the location server, and the positioning information being determined by the location server based on the sending time and arrival time of the positioning signal sent to the base station by the positioning device;
and determining the current position information of the positioning equipment according to the positioning information.
A7, the method of claim a6, wherein the positioning information is specifically: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
A8, the method of claim a6, wherein the positioning information is specifically: satellite information for performing GPS positioning on the positioning equipment, which is determined by the position server based on the sending time and the arrival time;
the determining, by the positioning information, the current position information of the positioning device specifically includes:
and carrying out GPS positioning on the positioning equipment based on the satellite information, and further determining second position information of the positioning equipment.
The method of claim A8, a9, wherein the determining the current location information of the positioning device from the positioning information further comprises:
sending the second location information to the proxy server through the network of the mobile communication operator, wherein the second location information is sent to the location server by the proxy server, and the location server is used for integrating the first location information and the second location information to determine the current location information of the positioning equipment;
and receiving the current position information sent by the proxy server through the network of the mobile communication operator, wherein the current position information is sent to the proxy server by the position server.
A10, the method of claim a6, wherein the positioning information specifically includes: first location information of the positioning device determined by the location server based on the sending time and the arrival time; and satellite information for performing GPS positioning on the positioning device, which is determined by the position server based on the sending time and the arrival time;
the determining, by the positioning information, the current position information of the positioning device specifically includes:
carrying out GPS positioning on the positioning equipment based on the satellite information so as to determine second position information of the positioning equipment;
and integrating the first position information and the second position information to determine the current position information of the positioning equipment.
A11, the method according to any of claims a1-a5, wherein before the sending the current location information of the positioning device to a proxy server through a network of a mobile communication carrier, the method further comprises:
and sending a positioning request to a distribution server through the network of the mobile communication operator, wherein the positioning request comprises the identification information and the authentication information of the positioning equipment, so that the distribution server allocates the proxy server for the positioning equipment to access the network in a flow-free manner when determining that the identification information has a flow-free right based on the identification information and the authentication information.
A12, the method of claim a11, wherein the method further comprises:
receiving a preset tag sent by the proxy server, wherein the preset tag is carried when data transmission is carried out in the process that the positioning equipment accesses the network, and the preset tag is the flow-free identifier; or,
the IP address of the proxy server is a preset IP address, and the preset IP address is the flow-free identifier.
A13, the method of claim a12, wherein all or part of the data traffic generated by the positioning device during the access to the network via the proxy server is included by the mobile network operator into the designated service provider based on the traffic-free id, specifically:
when the data in the process that the positioning equipment accesses the network is determined to contain the preset label, recording all or part of data traffic in the process that the positioning equipment accesses the network into the specified service provider; or
And transmitting data in the process of accessing the network by the positioning equipment through the proxy server with the preset IP address, and counting all or part of data traffic flowing through the preset IP address into the specified service provider.
B14, a positioning apparatus, comprising:
the first determining module is used for determining the current position information of the positioning equipment;
a first sending module, configured to send current location information of the positioning device to a proxy server through a network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and the mobile network operator counts all or part of data flow generated in the process of accessing the network through the proxy server into a specified service provider based on the flow-free identifier.
B15, the positioning device of claim B14, wherein the first determining module specifically comprises:
a first receiving unit, configured to receive a location acquisition request sent by the proxy server, where the location acquisition request is sent to the proxy server by another electronic device; a response unit, configured to respond to the location obtaining request, and further obtain the current location information, where the current location information is sent to the electronic device by the proxy server; or,
the first determining module is specifically configured to periodically obtain the current location information.
B16, the positioning device of claim B15, wherein the location obtaining request includes authority authentication information of the electronic device, and the response unit specifically includes:
a judging subunit, configured to judge, based on the authority authentication information, whether the electronic device has an authority to acquire the current location information;
and the acquisition subunit is used for acquiring the current position information when the electronic equipment has the right.
B17, the positioning device of claim B15, wherein the first sending module specifically includes:
a first judging unit, configured to judge whether a distance between the current position and a preset position is greater than a preset distance based on the current position information;
and the first sending unit is used for sending the current position information to the proxy server when the distance is greater than the preset distance.
B18, the positioning device of claim B15, further comprising:
and the alarm module is used for sending alarm information to a preset communication identifier when the distance is greater than the preset distance, and the alarm information carries the current position information.
B19, the positioning apparatus according to any of claims B14-B18, wherein the first determining module specifically includes:
a second receiving unit configured to receive the positioning information sent by the proxy server through the network of the mobile communication carrier, the positioning information being sent by the location server to the proxy server, and the positioning information being determined by the location server based on a sending time and an arrival time of a positioning signal sent by the positioning apparatus to a base station;
and the determining unit is used for determining the current position information of the positioning equipment through the positioning information.
B20, the positioning device of claim B19, wherein the positioning information is specifically: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
B21, the positioning device of claim B19, wherein the positioning information is specifically: satellite information for performing GPS positioning on the positioning equipment, which is determined by the position server based on the sending time and the arrival time;
the determination unit includes:
and the first positioning subunit is used for carrying out GPS positioning on the positioning equipment based on the satellite information so as to determine second position information of the positioning equipment.
B22, the positioning device of claim B21, wherein the determining unit further comprises:
a sending subunit, configured to send the second location information to the proxy server through a network of the mobile communications operator, where the second location information is sent to the location server by the proxy server, and the location server is configured to determine current location information of the positioning device by integrating the first location information and the second location information;
a receiving subunit, configured to receive the current location information sent by the proxy server through the network of the mobile communications operator, where the current location information is sent to the proxy server by the location server.
B23, the positioning device of claim B19, wherein the positioning information specifically includes: first location information of the positioning device determined by the location server based on the sending time and the arrival time; and satellite information for performing GPS positioning on the positioning device, which is determined by the position server based on the sending time and the arrival time;
the determining unit specifically includes:
the second positioning subunit is configured to perform GPS positioning on the positioning device based on the satellite information, and further determine second position information of the positioning device;
and the determining subunit is configured to determine current location information of the positioning device by integrating the first location information and the second location information.
B24, the positioning apparatus of any one of claims B14-B18, further comprising:
a second sending module, configured to send, before sending the current location information of the location device to a proxy server through a network of a mobile communications carrier, a location request to a distribution server through the network of the mobile communications carrier, where the location request includes identification information and authentication information of the location device, so that the distribution server allocates the proxy server, which is used for the location device to access the network in a traffic-free manner, to the location device when determining that the identification information has a traffic-free right based on the identification information and the authentication information.
B25, the positioning device of claim B24, further comprising:
the first receiving module is used for receiving a preset tag sent by the proxy server, and the preset tag is carried when data transmission is carried out in the process that the positioning equipment accesses the network, and is the flow-free identifier; or,
the IP address of the proxy server is a preset IP address, and the preset IP address is the flow-free identifier.
B26, the positioning apparatus of claim B25,
the mobile network operator adds all or part of data traffic generated in the process that the positioning equipment accesses the network through the proxy server into a specified service provider based on the traffic-free identifier, and the specific steps are as follows:
when the data in the process that the positioning equipment accesses the network is determined to contain the preset label, recording all or part of data traffic in the process that the positioning equipment accesses the network into the specified service provider; or
And transmitting data in the process of accessing the network by the positioning equipment through the proxy server with the preset IP address, and counting all or part of data traffic flowing through the preset IP address into the specified service provider.

Claims (10)

1. A position transmission method for a positioning device, comprising:
determining the current position information of the positioning equipment;
sending current location information of the positioning device to a proxy server through a network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and the mobile network operator counts all or part of data flow generated in the process of accessing the network through the proxy server into a specified service provider based on the flow-free identifier.
2. The method of claim 1, wherein the determining the current location information of the positioning device specifically comprises:
receiving a position acquisition request sent by the proxy server, wherein the position acquisition request is sent to the proxy server by another electronic device; responding to the position acquisition request, further acquiring the current position information, and sending the current position information to the electronic equipment by the proxy server; or,
and acquiring the current position information periodically.
3. The method of claim 2, wherein the location acquisition request includes authorization authentication information of the electronic device, and the responding to the location acquisition request to further obtain the current location information specifically includes:
judging whether the electronic equipment has the authority to acquire the current position information or not based on the authority authentication information;
and when the electronic equipment has the right, acquiring the current position information.
4. The method according to claim 2, wherein the sending the current location information of the positioning device to the proxy server via the network of the mobile communication operator is specifically:
judging whether the distance between the current position and a preset position is greater than a preset distance or not based on the current position information;
and when the distance is greater than the preset distance, sending the current position information to the proxy server.
5. The method of claim 4, wherein when the distance is greater than the preset distance, the method further comprises:
and sending alarm information to a preset communication identifier, wherein the alarm information carries the current position information.
6. The method according to any one of claims 1 to 5, wherein the determining the current location information of the positioning device specifically comprises:
receiving the positioning information sent by the proxy server through the network of the mobile communication operator, the positioning information being sent to the proxy server by the location server, and the positioning information being determined by the location server based on the sending time and arrival time of the positioning signal sent to the base station by the positioning device;
and determining the current position information of the positioning equipment according to the positioning information.
7. The method according to claim 6, wherein the positioning information is specifically: the location server determines first location information of the positioning device based on the transmission time and the arrival time.
8. The method according to claim 6, wherein the positioning information is specifically: satellite information for performing GPS positioning on the positioning equipment, which is determined by the position server based on the sending time and the arrival time;
the determining, by the positioning information, the current position information of the positioning device specifically includes:
and carrying out GPS positioning on the positioning equipment based on the satellite information, and further determining second position information of the positioning equipment.
9. The method of claim 8, wherein said determining current location information of said positioning device from said positioning information further comprises:
sending the second location information to the proxy server through the network of the mobile communication operator, wherein the second location information is sent to the location server by the proxy server, and the location server is used for integrating the first location information and the second location information to determine the current location information of the positioning equipment;
and receiving the current position information sent by the proxy server through the network of the mobile communication operator, wherein the current position information is sent to the proxy server by the position server.
10. A positioning apparatus, comprising:
the first determining module is used for determining the current position information of the positioning equipment;
a first sending module, configured to send current location information of the positioning device to a proxy server through a network of a mobile communication operator;
the positioning device marks a flow-free identifier for data transmission in the process of accessing the network, and the mobile network operator counts all or part of data flow generated in the process of accessing the network through the proxy server into a specified service provider based on the flow-free identifier.
CN201510375234.9A 2015-06-30 2015-06-30 A kind of location transmission method and positioning device for positioning device Active CN105101079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510375234.9A CN105101079B (en) 2015-06-30 2015-06-30 A kind of location transmission method and positioning device for positioning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510375234.9A CN105101079B (en) 2015-06-30 2015-06-30 A kind of location transmission method and positioning device for positioning device

Publications (2)

Publication Number Publication Date
CN105101079A true CN105101079A (en) 2015-11-25
CN105101079B CN105101079B (en) 2019-05-21

Family

ID=54580434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510375234.9A Active CN105101079B (en) 2015-06-30 2015-06-30 A kind of location transmission method and positioning device for positioning device

Country Status (1)

Country Link
CN (1) CN105101079B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108709550A (en) * 2018-05-25 2018-10-26 北斗时空信息技术研究院(北京)有限公司 It is a kind of with trip assistant APP and connection method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1491060A (en) * 2002-10-17 2004-04-21 华为技术有限公司 Positioning method for AGPS mobile in mobile communication network
CN1638521A (en) * 2004-01-08 2005-07-13 华为技术有限公司 Method for processing position information request sent by user's device
CN1691826A (en) * 2004-04-21 2005-11-02 三星电子株式会社 Positioning apparatus and method of a mobile terminal
CN103561073A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Position information prompting method, device and system
CN103561383A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Information processing method, device and system of portable positioning device
CN103686592A (en) * 2012-09-14 2014-03-26 北京网秦天下科技有限公司 Safety promotion method and system
CN103841204A (en) * 2014-03-14 2014-06-04 北京奇虎科技有限公司 Traffic-free downloading method, device and system based on mobile terminal
CN104469684A (en) * 2014-12-15 2015-03-25 宇龙计算机通信科技(深圳)有限公司 Terminal position information processing method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1491060A (en) * 2002-10-17 2004-04-21 华为技术有限公司 Positioning method for AGPS mobile in mobile communication network
CN1638521A (en) * 2004-01-08 2005-07-13 华为技术有限公司 Method for processing position information request sent by user's device
CN1691826A (en) * 2004-04-21 2005-11-02 三星电子株式会社 Positioning apparatus and method of a mobile terminal
CN103686592A (en) * 2012-09-14 2014-03-26 北京网秦天下科技有限公司 Safety promotion method and system
CN103561073A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Position information prompting method, device and system
CN103561383A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Information processing method, device and system of portable positioning device
CN103841204A (en) * 2014-03-14 2014-06-04 北京奇虎科技有限公司 Traffic-free downloading method, device and system based on mobile terminal
CN104469684A (en) * 2014-12-15 2015-03-25 宇龙计算机通信科技(深圳)有限公司 Terminal position information processing method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108709550A (en) * 2018-05-25 2018-10-26 北斗时空信息技术研究院(北京)有限公司 It is a kind of with trip assistant APP and connection method

Also Published As

Publication number Publication date
CN105101079B (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN104967624A (en) Flow-free platform based network accessing method, mobile terminal and system
CN104967688A (en) Method for accessing to network by using flow-free platform, mobile terminal and system
CN104902454B (en) A kind of control the method for acquisition for mobile terminal data, gateway and network access system
CN104954487B (en) A kind of method, proxy server and system being carried out by network positioning
CN104980889B (en) A kind of location acquiring method based on positioning equipment, proxy server and system
CN104980958B (en) A kind of method and mobile terminal carrying out network login
CN104954488B (en) A kind of method for network access control, the distribution server and network access system
CN105142124B (en) A kind of Network Access Method and mobile terminal applied to mobile terminal
CN105120444B (en) A kind of image transfer method, proxy server and network access system
CN109525991B (en) Method, distribution server and system for network login
CN104902453A (en) Mobile terminal and method for controlling network access permission of mobile terminal
CN109526009B (en) Communication method, mobile terminal and system
CN105101079B (en) A kind of location transmission method and positioning device for positioning device
CN104968049B (en) A kind of method positioned for navigator and navigator
CN104933614A (en) Shopping method, proxy server and system applying to mobile terminal
CN105120445A (en) Network access authority control method, distribution server and network access system
CN104980908B (en) The Network Access Method of wireless Internet card and wireless Internet card
CN105142123B (en) Method, Distributor and the system of network access are carried out based on wireless Internet card
CN104994230B (en) A kind of communication means, mobile terminal and system for mobile terminal
CN109525603B (en) Method for accessing network, proxy server and network access system
CN105101144B (en) A kind of acquisition data method and mobile terminal for mobile terminal
CN105101286B (en) A kind of flow statistical method and gateway, the method and system for accessing network
CN104935979B (en) Image transmission method for digital camera and digital camera
CN104967976A (en) Communication method applied to mobile terminal, proxy server and system
CN105096108B (en) A kind of purchase method, mobile terminal and system

Legal Events

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

Effective date of registration: 20220720

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230717

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Hongxiang Technical Service Co.,Ltd.

Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee before: 3600 Technology Group Co.,Ltd.

CP03 Change of name, title or address

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing 360 Zhiling Technology Co.,Ltd.

Country or region after: China

Address before: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee before: Beijing Hongxiang Technical Service Co.,Ltd.

Country or region before: China