WO2012155449A1 - Positioning method and system - Google Patents

Positioning method and system Download PDF

Info

Publication number
WO2012155449A1
WO2012155449A1 PCT/CN2011/080941 CN2011080941W WO2012155449A1 WO 2012155449 A1 WO2012155449 A1 WO 2012155449A1 CN 2011080941 W CN2011080941 W CN 2011080941W WO 2012155449 A1 WO2012155449 A1 WO 2012155449A1
Authority
WO
WIPO (PCT)
Prior art keywords
positioning
format
wireless network
result
encapsulation
Prior art date
Application number
PCT/CN2011/080941
Other languages
French (fr)
Chinese (zh)
Inventor
王琪
孟祥裕
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012155449A1 publication Critical patent/WO2012155449A1/en

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
    • H04W4/029Location-based management or tracking services
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/0009Transmission of position information to remote stations
    • G01S5/0018Transmission from mobile station to base station
    • G01S5/0027Transmission from mobile station to base station of actual mobile position, i.e. position determined on mobile
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Definitions

  • the present invention relates to the field of communications, and in particular to a positioning method and system.
  • BACKGROUND OF THE INVENTION Currently, many terminals (Hotspot type terminals) have both a mobile communication access function and a WLAN wireless access function, and can provide wireless mobile network access (3G or 4G) upwards and provide multi-channel WLAN device access downward. Simply put, it is a device that integrates wireless mobile network access with a wireless router, allowing multiple users to share the same air interface resource for mobile data communication services using one physical device.
  • the positioning function is to obtain the location information (geographic coordinates) of the mobile terminal user by means of a telecommunication mobile operator's wireless communication network (3G, 4G network) or satellite positioning (such as Global Position System (GPS)).
  • a telecommunication mobile operator's wireless communication network 3G, 4G network
  • satellite positioning such as Global Position System (GPS)
  • GPS Global Position System
  • the location function can provide users with more rich location-based services and applications.
  • the current terminal product only supports a single user to implement a positioning function through a USB or a serial port, thereby being inconvenient to use.
  • the present invention has been made in view of the problem that the terminal product only supports a single user to implement a positioning function through a USB or a serial port and thus is inconvenient to use. Therefore, the main object of the present invention is to provide a positioning method and system to solve the above problem. .
  • a positioning method is provided.
  • the positioning method includes: receiving, by the terminal, a positioning request encapsulated in a predetermined wireless network data packet format from the PC; performing a positioning response according to the positioning request to obtain a positioning result; and transmitting the positioning result to the PC.
  • the method further includes: the PC packaging the positioning request according to a predetermined wireless network data packet format, where the predetermined wireless network data packet format includes the following A: WLAN data communication format, IP encapsulation AT command format, IP encapsulation MEA data format; the PC sends a packaged positioning request to the terminal.
  • the positioning result is obtained, and the positioning result is obtained by: parsing the positioning request of the package, and obtaining a positioning instruction; performing a positioning response according to the positioning instruction to obtain a positioning result.
  • the method further includes: sorting a plurality of positioning instructions from the plurality of users; determining whether the plurality of positioning instructions are correct; if the determining result is yes, according to the sorted The positioning instruction performs a positioning response, otherwise an error message is sent to the PC.
  • Sending the positioning result to the PC includes: encapsulating the positioning result according to a predetermined wireless network packet format, wherein the predetermined wireless network packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data format;
  • the PC sends the encapsulated positioning result.
  • the method further includes: the PC parsing the encapsulated positioning result; and the PC displays the parsed positioning result to the user.
  • a positioning system is provided.
  • the positioning system includes a terminal and a PC, wherein the terminal comprises: a receiving module configured to receive a positioning request encapsulated in a predetermined wireless network data packet format from the PC; and a positioning response module configured to perform a positioning response according to the positioning request, Obtaining a positioning result; the first sending module is configured to send a positioning result to the PC.
  • the PC includes: a packaging module, configured to encapsulate a positioning request according to a predetermined wireless network data packet format, where the predetermined wireless network data packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data format;
  • the second sending module is configured to send the encapsulated positioning request to the terminal.
  • the first sending module includes: a packaging submodule configured to encapsulate the positioning result according to a predetermined wireless network packet format, wherein the predetermined wireless network packet format includes one of the following: a WLAN data communication format, an IP package AT command format, and an IP package. MEA data format;
  • the sending submodule is set to send the encapsulated positioning result to the PC.
  • the PC further includes: a parsing module configured to parse the encapsulated positioning result; and a display module configured to display the parsed positioning result to its user.
  • a parsing module configured to parse the encapsulated positioning result
  • a display module configured to display the parsed positioning result to its user.
  • FIG. 1 is a flow chart of a positioning method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a Hotspot terminal positioning system according to an embodiment of the present invention
  • FIG. 3 is a flow chart of a positioning method according to a preferred embodiment of the present invention.
  • 4 is a structural block diagram of a positioning system according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of a positioning system according to a preferred embodiment of the present invention
  • FIG. 6 is a block diagram 2 of a positioning system according to a preferred embodiment of the present invention
  • Figure 7 is a block diagram 3 of a positioning system in accordance with a preferred embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
  • the present invention provides a positioning method.
  • FIG. 1 is a flowchart of a positioning method according to an embodiment of the present invention. As shown in FIG. 1, the following steps S102 to S106 are included.
  • Step S102 The terminal receives a positioning request encapsulated in a predetermined wireless network data packet format from the PC.
  • Step S104 Perform a positioning response according to the positioning request to obtain a positioning result.
  • Step S106 Send a positioning result to the PC.
  • the terminal product only supports a single user to implement a positioning function through a USB or a serial port.
  • the terminal and the PC interact according to a predetermined wireless network data packet format, so that the positioning function in the wireless network can be implemented simply and reliably, and the user experience is improved.
  • the method further includes: the PC encapsulating the positioning request according to a predetermined wireless network data packet format, where the predetermined wireless network data packet format includes one of the following:
  • the communication is performed by using the WLAN data communication format, so that users in the WLAN can enjoy the rich application brought by the positioning service, and no USB or other serial device is needed.
  • the positioning response is performed according to the positioning request, and the obtaining the positioning result includes: parsing the positioning request of the encapsulation, obtaining a positioning instruction; performing a positioning response according to the positioning instruction, to obtain a positioning result.
  • the method before performing the positioning response according to the positioning instruction, the method further includes: sorting a plurality of positioning instructions from the plurality of users; determining whether the plurality of positioning instructions are correct; if the determining result is yes, The sorted positioning instruction performs a positioning response, otherwise an error message is sent to the PC.
  • the sending the positioning result to the PC comprises: encapsulating the positioning result according to a predetermined wireless network data packet format, wherein the predetermined wireless network data packet format comprises one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation NMEA data. Format; sends the encapsulated positioning result to the PC.
  • the method further includes: the PC parsing the location result of the encapsulation;
  • the PC displays the resolved positioning results to its users.
  • the implementation process of the embodiment of the present invention will be described in detail below with reference to examples.
  • This example provides a Hotspot terminal positioning system that can be used to implement the above positioning method.
  • the Hotspot terminal positioning system is mainly composed of a PC, a Hotspot terminal, and a communication network (including various positioning value-added service platforms).
  • the SDK driver 101 belongs to the adaptation layer of the PC application software and the operating system. It is responsible for parsing the operation message of the upper layer positioning service application software, and encapsulating the positioning control information into a data packet to be sent to the AP according to the agreed channel, and to other upper layer operation messages (for example) Access to the Internet) Directly transparent to the wireless AP terminal.
  • the parsing location information packet encapsulates the location information for use by the upper application software in a format recognizable by the upper layer software, and other types of data packets are directly transmitted to the upper layer application.
  • the upper layer application communication pipe 102, the upper layer application software communicates with the AP or the external service gateway through a standard communication protocol.
  • the positioning information communication pipeline 103, the upper layer application software and the logical communication channel of the positioning engine interaction complete the interaction between the positioning configuration operation information and the positioning result information through the agreed data message.
  • the WLAN data communication module 104 all the data of the STA in the AP must be processed or forwarded by the STA, and when the external network is accessed, it is transmitted through the OTA through NAT conversion, when communicating with other STAs in the AP or performing specific services (such as using a positioning engine)
  • the module needs to be processed, and the positioning operation data packet is processed and forwarded to the positioning engine proxy server 105 according to the specially agreed filter attribute.
  • the positioning engine proxy server 105 is responsible for parsing the positioning information packet sent from the STA into a positioning engine operation command for the positioning engine to work, and packaging the positioning result information returned by the positioning engine into an agreed data packet and transmitting the data packet to the WLAN data communication module.
  • the positioning engine 106 includes an antenna for performing a positioning function, a processing chip, and corresponding software. Perform various positioning services (GPS, AGPS, CELL positioning, etc.) according to the positioning operation command.
  • the OTA mobile communication module 107 establishes a data connection with the mobile communication network to complete the data communication function between the STA and the external network in the AP.
  • the service gateway 108 a collection abbreviation of the external network, represents a mobile communication network, an Internet network, and various types of application servers.
  • the invention encapsulates positioning information (control information and positioning result) into a contracted data packet.
  • the invention encapsulates positioning information (control information and positioning result) into a contracted data packet.
  • the invention encapsulates positioning information (control information and positioning result) into a contracted data packet.
  • the invention encapsulates positioning information (control information and positioning result) into a contracted data packet.
  • the invention encapsulates positioning information (control information and positioning result) into a contracted data packet.
  • the Hotspot product Through WLAN communication, the user can enjoy various positioning applications by using the Hotspot product, and the PC driver SDK can be customized or compatible with the standard interface according to requirements. Suitable for all types of needs of operators and value-a
  • Step S302 the user starts the upper layer positioning application software and the SDK driver through the PC, and selects corresponding operations and services.
  • step S304 the SDK driver distinguishes whether it is location information. If it is location information, step S310 is performed. If it is not location information (that is, external network data), step S306 is performed. Step S306, the data communicated by the Hotspot terminal and the external network is transparently transmitted to the AP by using the WLAN.
  • Step S308, implementing the corresponding service by OTA forwarding, and ending.
  • the SDK driver sends the positioning information group packet to the AP (Hotspot terminal).
  • the WLAN data communication module in the Hotspot terminal filters the data packet.
  • the WLAN data communication module in the Hotspot terminal determines whether it is a positioning operation data packet, and if it is a positioning operation data packet, proceeds to step S318, otherwise proceeds to step S316.
  • Step S316 discarding the data packet, and ending.
  • Step S318, the WLAN data communication module sends the positioning operation data packet to the positioning engine proxy server, and the positioning engine proxy server parses the positioning information data packet into a positioning instruction recognizable by the positioning engine and sends the positioning instruction to the positioning engine. For multiple positioning instructions of different users, the WLAN data communication module can also sort the positioning instructions and perform access control preprocessing.
  • the positioning engine confirms whether the instruction is correct after receiving the positioning instruction, and if yes, performs the step.
  • step S324 otherwise step S322 is performed.
  • the positioning engine performs a positioning response according to the instruction, and returns the positioning result to the positioning engine proxy server step S326.
  • the positioning engine proxy server encapsulates the positioning result into an agreed data packet and reports the packet to the SDK driver in the PC through the WLAN communication module.
  • Step S328 the SDK driver parses the positioning result data packet into the positioning information that can be recognized by the upper layer application software.
  • the SDK driver reports the location information to the upper layer application.
  • the upper layer positioning software performs multiple applications according to the positioning result and the positioning value-added service of the external network.
  • the technical solution adopted by the present invention design a positioning proxy server and a PC driver SDK for a positioning engine (positioning chip, providing multiple modes of positioning, such as GPS, AGPS, Cell positioning, and Predicted Orbits) in the side of the Hotspot product.
  • the location agent server in the board side is a software module that integrates positioning engine control, positioning information transmission, user access control and WLAN data communication. It combines traditional positioning engine control and positioning information transmission with IP transmission and access control, and encapsulates positioning control commands and positioning information through standard IP packets, compatible with standard or customized positioning data formats, through WLAN links and APs.
  • STA Data communication with the PC side driver SDK to convert the positioning result information into a standard or custom format for direct use by the upper PC location service software, can be effectively compatible with the existing location location software.
  • User access control is mainly used to buffer the ordering of multiple users simultaneously to initiate location service commands, so that each user in the AP shares the positioning result.
  • the positioning system includes a terminal 42 and a PC 44.
  • the terminal 42 includes a receiving module 422, a positioning response module 424, and a first transmitting module 426.
  • the receiving module 422 is configured to receive a positioning request encapsulated in a predetermined wireless network data packet format from the PC.
  • the positioning response module 424 is connected to the receiving module 422, and configured to perform a positioning response according to the positioning request received by the receiving module 422, and obtain the positioning.
  • the first sending module 426 is connected to the positioning response module 424 and configured to send the positioning result obtained by the positioning response module 424 to the PC.
  • the terminal product only supports a single user to implement a positioning function through a USB or a serial port.
  • the terminal and the PC interact according to a predetermined wireless network data packet format, so that the positioning function in the wireless network can be implemented simply and reliably, and the user experience is improved.
  • 5 is a block diagram of a structure of a positioning system in accordance with a preferred embodiment of the present invention.
  • the PC 44 includes a packaging module 442 and a second transmitting module 444. The structure is described below.
  • the encapsulating module 442 is configured to encapsulate the positioning request according to a predetermined wireless network packet format, where the predetermined wireless network packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data format;
  • the sending module 444 is connected to the encapsulating module 442, and configured to send a positioning request encapsulated by the encapsulating module 442 to the terminal.
  • the communication is performed by using the WLAN data communication format, so that users in the WLAN can enjoy the rich application brought by the positioning service, and no USB or other serial port device is needed.
  • 6 is a block diagram showing the structure of a positioning system according to a preferred embodiment of the present invention. As shown in FIG.
  • the first transmitting module 426 includes a packaging sub-module 4262 and a transmitting sub-module 4264.
  • the structure is described in detail below.
  • the encapsulation submodule 4262 is configured to encapsulate the positioning result according to a predetermined wireless network packet format, where the predetermined wireless network packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data format;
  • the sub-module 4264 is connected to the encapsulation sub-module 4262 and configured to send the positioning result of the encapsulation of the encapsulation sub-module 4262 to the PC.
  • 7 is a structural block diagram 3 of a positioning system according to a preferred embodiment of the present invention, as shown in FIG.
  • the 44 also includes a parsing module 446 and a display module 448.
  • the parsing module 446 is configured to parse the positioning result of the encapsulation;
  • the display module 448 is coupled to the parsing module 446 and configured to display the positioning result parsed by the parsing module 446 to its user.
  • the display module 448 may further include an adaptation module configured to provide a specific positioning information interface to the upper layer application without directly providing a display to the user, and the display is completed by other upper UIs. It should be noted that the positioning system described in the device embodiment corresponds to the foregoing method embodiment, and the specific implementation process has been described in detail in the method embodiment, and details are not described herein again.
  • a positioning method and system are provided.
  • the terminal and the PC interact according to a predetermined wireless network data packet format, which solves the problem that the terminal product only supports a single user to implement the positioning function through the USB or the serial port, thereby improving the user experience.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the invention is not limited to any specific combination of hardware and software.
  • the above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a positioning method and system. The method comprises: a terminal receiving a positioning request encapsulated according to a preset radio network data packet format from a PC; performing positioning responding according to the positioning request, to obtain a positioning result; sending the positioning result to the PC. The present invention solves the problem of inconvenient use caused because a terminal product only supports a single user to implement a positioning function through a USB or serial port, thereby improving the user experience.

Description

定位方法及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种定位方法及系统。 背景技术 终端目前很多终端 (Hotspot类终端) 同时具备移动通信接入功能和 WLAN无线 接入功能, 可以向上提供无线移动网络接入 (3G或 4G), 向下提供多路 WLAN设备 接入。 简单来说它是一个将无线移动网络接入与无线路由器融合的设备, 能让多个用 户使用一个物理设备分享同一个空口资源进行移动数据通信业务。 定位功能是通过电信移动运营商的无线通讯网络(3G、 4G网络)或卫星定位(如 全球定位系统 (Global Position System, 简称为 GPS)) 方式获取移动终端用户的位置 信息 (地理坐标)。 在相应的地理信息系统 (Geographic Information System, 简称为 TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a positioning method and system. BACKGROUND OF THE INVENTION Currently, many terminals (Hotspot type terminals) have both a mobile communication access function and a WLAN wireless access function, and can provide wireless mobile network access (3G or 4G) upwards and provide multi-channel WLAN device access downward. Simply put, it is a device that integrates wireless mobile network access with a wireless router, allowing multiple users to share the same air interface resource for mobile data communication services using one physical device. The positioning function is to obtain the location information (geographic coordinates) of the mobile terminal user by means of a telecommunication mobile operator's wireless communication network (3G, 4G network) or satellite positioning (such as Global Position System (GPS)). In the corresponding Geographic Information System (Geographic Information System, referred to as
GIS) 平台的支持下, 定位功能可以为用户提供更加丰富的基于位置的服务和应用。 但是, 相关技术中, 目前的终端产品仅仅支持单个用户通过 USB或者串口实现定 位功能, 从而使用不便。 发明内容 针对相关技术中终端产品仅仅支持单个用户通过 USB 或者串口实现定位功能从 而使用不便的问题而提出本发明, 为此, 本发明的主要目的在于提供一种定位方法及 系统, 以解决上述问题。 为了实现上述目的, 根据本发明的一个方面, 提供了一种定位方法。 根据本发明的定位方法包括: 终端接收到来自 PC 的按照预定的无线网络数据包 格式封装的定位请求; 根据定位请求进行定位响应, 得到定位结果; 向 PC发送定位 结果。 在终端接收到来自 PC 的按照预定的无线网络数据包格式封装的定位请求之前, 上述方法还包括: PC按照预定的无线网络数据包格式封装定位请求,其中预定的无线 网络数据包格式包括以下之一: WLAN数据通信格式、 IP封装 AT命令格式、 IP封装 MEA数据格式; PC向终端发送封装的定位请求。 根据定位请求进行定位响应, 得到定位结果包括: 解析封装的定位请求, 得到定 位指令; 根据定位指令进行定位响应, 得到定位结果。 在根据定位指令进行定位响应, 得到定位结果之前, 上述方法还包括: 对来自多 个用户的多个定位指令进行排序; 判断多个定位指令是否正确; 如果判断结果为是, 则根据排序后的定位指令进行定位响应, 否则向 PC发送错误消息。 向 PC发送定位结果包括: 按照预定的无线网络数据包格式封装定位结果, 其中 预定的无线网络数据包格式包括以下之一: WLAN数据通信格式、 IP封装 AT命令格 式、 IP封装 MEA数据格式; 向 PC发送封装的定位结果。 在向 PC发送定位结果之后, 上述方法还包括: PC解析封装的定位结果; PC向 其用户显示解析的定位结果。 为了实现上述目的, 根据本发明的另一个方面, 提供了一种定位系统。 根据本发明的定位系统包括终端和 PC, 其中终端包括: 接收模块, 设置为接收来 自 PC 的按照预定的无线网络数据包格式封装的定位请求; 定位响应模块, 设置为根 据定位请求进行定位响应, 得到定位结果; 第一发送模块, 设置为向 PC发送定位结 果。 With the support of the GIS) platform, the location function can provide users with more rich location-based services and applications. However, in the related art, the current terminal product only supports a single user to implement a positioning function through a USB or a serial port, thereby being inconvenient to use. SUMMARY OF THE INVENTION The present invention has been made in view of the problem that the terminal product only supports a single user to implement a positioning function through a USB or a serial port and thus is inconvenient to use. Therefore, the main object of the present invention is to provide a positioning method and system to solve the above problem. . In order to achieve the above object, according to an aspect of the present invention, a positioning method is provided. The positioning method according to the present invention includes: receiving, by the terminal, a positioning request encapsulated in a predetermined wireless network data packet format from the PC; performing a positioning response according to the positioning request to obtain a positioning result; and transmitting the positioning result to the PC. Before the terminal receives the positioning request encapsulated by the predetermined wireless network data packet format from the PC, the method further includes: the PC packaging the positioning request according to a predetermined wireless network data packet format, where the predetermined wireless network data packet format includes the following A: WLAN data communication format, IP encapsulation AT command format, IP encapsulation MEA data format; the PC sends a packaged positioning request to the terminal. According to the positioning request, the positioning result is obtained, and the positioning result is obtained by: parsing the positioning request of the package, and obtaining a positioning instruction; performing a positioning response according to the positioning instruction to obtain a positioning result. Before performing the positioning response according to the positioning instruction, the method further includes: sorting a plurality of positioning instructions from the plurality of users; determining whether the plurality of positioning instructions are correct; if the determining result is yes, according to the sorted The positioning instruction performs a positioning response, otherwise an error message is sent to the PC. Sending the positioning result to the PC includes: encapsulating the positioning result according to a predetermined wireless network packet format, wherein the predetermined wireless network packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data format; The PC sends the encapsulated positioning result. After the positioning result is sent to the PC, the method further includes: the PC parsing the encapsulated positioning result; and the PC displays the parsed positioning result to the user. In order to achieve the above object, according to another aspect of the present invention, a positioning system is provided. The positioning system according to the present invention includes a terminal and a PC, wherein the terminal comprises: a receiving module configured to receive a positioning request encapsulated in a predetermined wireless network data packet format from the PC; and a positioning response module configured to perform a positioning response according to the positioning request, Obtaining a positioning result; the first sending module is configured to send a positioning result to the PC.
PC包括: 封装模块, 设置为按照预定的无线网络数据包格式封装定位请求, 其中 预定的无线网络数据包格式包括以下之一: WLAN数据通信格式、 IP封装 AT命令格 式、 IP封装 MEA数据格式; 第二发送模块, 设置为向终端发送封装的定位请求。 第一发送模块包括: 封装子模块, 设置为按照预定的无线网络数据包格式封装定 位结果, 其中预定的无线网络数据包格式包括以下之一: WLAN数据通信格式、 IP封 装 AT命令格式、 IP封装 MEA数据格式; 发送子模块, 设置为向 PC发送封装的定 位结果。 The PC includes: a packaging module, configured to encapsulate a positioning request according to a predetermined wireless network data packet format, where the predetermined wireless network data packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data format; The second sending module is configured to send the encapsulated positioning request to the terminal. The first sending module includes: a packaging submodule configured to encapsulate the positioning result according to a predetermined wireless network packet format, wherein the predetermined wireless network packet format includes one of the following: a WLAN data communication format, an IP package AT command format, and an IP package. MEA data format; The sending submodule is set to send the encapsulated positioning result to the PC.
PC还包括: 解析模块, 设置为解析封装的定位结果; 显示模块, 设置为向其用户 显示解析的定位结果。 通过本发明, 终端与 PC按照预定的无线网络数据包格式进行交互, 解决了终端 产品仅仅支持单个用户通过 USB或者串口实现定位功能从而使用不便的问题,进而提 高了用户体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。 在附图中: 图 1是根据本发明实施例的定位方法的流程图; 图 2是根据本发明实施例的 Hotspot终端定位系统的示意图; 图 3根据本发明优选实施例的定位方法的流程图; 图 4是根据本发明实施例的定位系统的结构框图; 图 5是根据本发明优选实施例的定位系统的结构框图一; 图 6是根据本发明优选实施例的定位系统的结构框图二; 图 7是根据本发明优选实施例的定位系统的结构框图三。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互组合。 下面将参考附图并结合实施例来详细说明本发明。 本发明提供了一种定位方法。 图 1是根据本发明实施例的定位方法的流程图, 如 图 1所示, 包括如下的步骤 S102至步骤 S106。 步骤 S102, 终端接收到来自 PC的按照预定的无线网络数据包格式封装的定位请 求; 步骤 S104, 根据定位请求进行定位响应, 得到定位结果; 步骤 S106, 向 PC发送定位结果。 相关技术中, 终端产品仅仅支持单个用户通过 USB或者串口实现定位功能。本发 明实施例中, 终端与 PC按照预定的无线网络数据包格式进行交互, 从而可以简便、 可靠的实现无线网络中的定位功能, 提高用户体验。 优选地, 在终端接收到来自 PC的定位请求之前, 上述方法还包括: PC按照预定 的无线网络数据包格式封装定位请求,其中预定的无线网络数据包格式包括以下之一:The PC further includes: a parsing module configured to parse the encapsulated positioning result; and a display module configured to display the parsed positioning result to its user. Through the invention, the terminal and the PC interact according to a predetermined wireless network data packet format, which solves the problem that the terminal product only supports the inconvenience of using a single user to implement the positioning function through the USB or the serial port, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a flow chart of a positioning method according to an embodiment of the present invention; FIG. 2 is a schematic diagram of a Hotspot terminal positioning system according to an embodiment of the present invention; FIG. 3 is a flow chart of a positioning method according to a preferred embodiment of the present invention. 4 is a structural block diagram of a positioning system according to an embodiment of the present invention; FIG. 5 is a structural block diagram of a positioning system according to a preferred embodiment of the present invention; FIG. 6 is a block diagram 2 of a positioning system according to a preferred embodiment of the present invention; Figure 7 is a block diagram 3 of a positioning system in accordance with a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. The present invention provides a positioning method. FIG. 1 is a flowchart of a positioning method according to an embodiment of the present invention. As shown in FIG. 1, the following steps S102 to S106 are included. Step S102: The terminal receives a positioning request encapsulated in a predetermined wireless network data packet format from the PC. Step S104: Perform a positioning response according to the positioning request to obtain a positioning result. Step S106: Send a positioning result to the PC. In the related art, the terminal product only supports a single user to implement a positioning function through a USB or a serial port. In the embodiment of the present invention, the terminal and the PC interact according to a predetermined wireless network data packet format, so that the positioning function in the wireless network can be implemented simply and reliably, and the user experience is improved. Preferably, before the terminal receives the positioning request from the PC, the method further includes: the PC encapsulating the positioning request according to a predetermined wireless network data packet format, where the predetermined wireless network data packet format includes one of the following:
WLAN数据通信格式、 IP封装 AT命令格式、 IP封装 MEA数据格式; PC向终端发 送封装的定位请求。 本优选实施例中, 通过使用 WLAN数据通信格式进行通信, 从而可以让 WLAN 内的用户也能够享受定位服务带来的丰富应用, 并无需 USB或其它串口设备。 优选地, 根据定位请求进行定位响应, 得到定位结果包括: 解析封装的定位请求, 得到定位指令; 根据定位指令进行定位响应, 得到定位结果。 优选地, 在根据定位指令进行定位响应, 得到定位结果之前, 上述方法还包括: 对来自多个用户的多个定位指令进行排序; 判断多个定位指令是否正确; 如果判断结 果为是, 则根据排序后的定位指令进行定位响应, 否则向 PC发送错误消息。 优选地, 向 PC发送定位结果包括: 按照预定的无线网络数据包格式封装定位结 果, 其中预定的无线网络数据包格式包括以下之一: WLAN数据通信格式、 IP 封装 AT命令格式、 IP封装 NMEA数据格式; 向 PC发送封装的定位结果。 优选地,在向 PC发送定位结果之后, 上述方法还包括: PC解析封装的定位结果;WLAN data communication format, IP encapsulation AT command format, IP encapsulation MEA data format; PC sends a package location request to the terminal. In the preferred embodiment, the communication is performed by using the WLAN data communication format, so that users in the WLAN can enjoy the rich application brought by the positioning service, and no USB or other serial device is needed. Preferably, the positioning response is performed according to the positioning request, and the obtaining the positioning result includes: parsing the positioning request of the encapsulation, obtaining a positioning instruction; performing a positioning response according to the positioning instruction, to obtain a positioning result. Preferably, before performing the positioning response according to the positioning instruction, the method further includes: sorting a plurality of positioning instructions from the plurality of users; determining whether the plurality of positioning instructions are correct; if the determining result is yes, The sorted positioning instruction performs a positioning response, otherwise an error message is sent to the PC. Preferably, the sending the positioning result to the PC comprises: encapsulating the positioning result according to a predetermined wireless network data packet format, wherein the predetermined wireless network data packet format comprises one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation NMEA data. Format; sends the encapsulated positioning result to the PC. Preferably, after the sending the positioning result to the PC, the method further includes: the PC parsing the location result of the encapsulation;
PC向其用户显示解析的定位结果。 下面将结合实例对本发明实施例的实现过程进行详细描述。 本实例提供了一种 Hotspot终端定位系统,该 Hotspot终端定位系统可以用于实现 上述定位方法。 图 2是根据本发明实施例的 Hotspot终端定位系统的示意图, 如图 2 所示, 该 Hotspot终端定位系统主要由 PC、 Hotspot终端和通信网络(包括各种定位增 值服务平台) 构成。 The PC displays the resolved positioning results to its users. The implementation process of the embodiment of the present invention will be described in detail below with reference to examples. This example provides a Hotspot terminal positioning system that can be used to implement the above positioning method. 2 is a schematic diagram of a Hotspot terminal positioning system according to an embodiment of the present invention. As shown in FIG. 2, the Hotspot terminal positioning system is mainly composed of a PC, a Hotspot terminal, and a communication network (including various positioning value-added service platforms).
SDK驱动 101, 属于 PC应用软件和操作系统的适配层, 它负责解析上层定位业 务应用软件操作消息,将定位控制信息封装成数据包按照约定通道发送给 AP,而对上 层其他操作消息 (比如访问互联网) 直接透传给无线 AP终端。 当 AP有数据返回给 PC应用软件时,解析定位信息数据包按照上层软件能够识别的格式封装定位信息供上 层应用软件使用, 而其他类型的数据包直接透传给上层应用。 上层应用通信管道 102,上层应用软件通过标准协议和 AP或外部服务网关交互的 逻辑通信信道。 定位信息通信管道 103, 上层应用软件和定位引擎交互的逻辑通信信道, 通过约 定的数据报文完成定位配置操作信息和定位结果信息的交互。 The SDK driver 101 belongs to the adaptation layer of the PC application software and the operating system. It is responsible for parsing the operation message of the upper layer positioning service application software, and encapsulating the positioning control information into a data packet to be sent to the AP according to the agreed channel, and to other upper layer operation messages (for example) Access to the Internet) Directly transparent to the wireless AP terminal. When the AP has data returned to the PC application software, the parsing location information packet encapsulates the location information for use by the upper application software in a format recognizable by the upper layer software, and other types of data packets are directly transmitted to the upper layer application. The upper layer application communication pipe 102, the upper layer application software communicates with the AP or the external service gateway through a standard communication protocol. The positioning information communication pipeline 103, the upper layer application software and the logical communication channel of the positioning engine interaction, complete the interaction between the positioning configuration operation information and the positioning result information through the agreed data message.
WLAN数据通信模块 104, AP内 STA所有的数据都要通过其处理或转发, 当访 问外部网络则通过 NAT转换经 OTA发送, 当与 AP内其他 STA通信或执行特定服务 (比如使用定位引擎) 也需该模块处理, 对于定位操作数据包根据特别约定的过滤属 性进行处理转发给定位引擎代理服务端 105。 定位引擎代理服务端 105, 负责将从 STA发来的定位信息数据包解析为定位引擎 操作命令让定位引擎工作, 并将定位引擎返回的定位结果信息封装成约定的数据包发 送给 WLAN数据通信模块 104。 定位引擎 106, 包含执行定位功能的天线、 处理芯片和相应软件。 根据定位操作 命令执行各种模式的定位服务 (GPS、 AGPS、 CELL定位等)。 The WLAN data communication module 104, all the data of the STA in the AP must be processed or forwarded by the STA, and when the external network is accessed, it is transmitted through the OTA through NAT conversion, when communicating with other STAs in the AP or performing specific services (such as using a positioning engine) The module needs to be processed, and the positioning operation data packet is processed and forwarded to the positioning engine proxy server 105 according to the specially agreed filter attribute. The positioning engine proxy server 105 is responsible for parsing the positioning information packet sent from the STA into a positioning engine operation command for the positioning engine to work, and packaging the positioning result information returned by the positioning engine into an agreed data packet and transmitting the data packet to the WLAN data communication module. 104. The positioning engine 106 includes an antenna for performing a positioning function, a processing chip, and corresponding software. Perform various positioning services (GPS, AGPS, CELL positioning, etc.) according to the positioning operation command.
OTA移动通信模块 107, 和移动通行网络建立数据连接, 完成 AP内 STA与外部 网络的数据通信功能。 服务网关 108, 外部网络的集合简称, 代表移动通信网络、 Internet网络以及各类 应用服务器。 本发明通将定位信息(控制信息和定位结果)封装为约定数据包通过 WLAN通信 能够让用户使用 Hotspot类产品享受各类定位应用, PC驱动 SDK可根据需求进行定 制或兼容标准接口, 使该方案适合运营商和增值业务服务提供商的各类需求。 本发明 填补了 Hotspot类产品不能提供完整定位应用的空白。 图 3是根据本发明优选实施例的定位方法的流程图, 本定位方法可以基于图 2所 示的 Hotspot终端定位系统而实现, 如图 3所示, 包括如下的步骤 S302至步骤 S332。 步骤 S302,用户通过 PC启动上层定位应用软件和 SDK驱动,选择相应操作和服 务。 步骤 S304, SDK驱动区分是否是定位信息, 如果是定位信息, 则进行步骤 S310, 如果不是定位信息 (即是外部网络数据), 则进行步骤 S306。 步骤 S306, 通过 Hotspot终端和外部网络通信的数据使用 WLAN进行透 传给 AP。 步骤 S308, 通过 OTA转发实现相应服务, 并结束。 步骤 S310, SDK驱动将定位信息组包发送给 AP (Hotspot终端)。 步骤 S312, Hotspot终端里的 WLAN数据通信模块过滤数据包。 步骤 S314, Hotspot终端里的 WLAN数据通信模块判断是否是定位操作数据包, 如果是定位操作数据包, 则进行步骤 S318, 否则进行步骤 S316。 步骤 S316, 丢弃该数据包, 并结束。 步骤 S318, WLAN数据通信模块发送定位操作数据包给定位引擎代理服务端,定 位引擎代理服务端将定位信息数据包解析为定位引擎可识别的定位指令发送给定位引 擎。对于不同用户的多个定位指令, WLAN数据通信模块还可以对定位指令进行排序, 并进行访问控制预处理。 步骤 S320, 定位引擎收到定位指令后确认指令是否正确, 如果正确则进行步骤The OTA mobile communication module 107 establishes a data connection with the mobile communication network to complete the data communication function between the STA and the external network in the AP. The service gateway 108, a collection abbreviation of the external network, represents a mobile communication network, an Internet network, and various types of application servers. The invention encapsulates positioning information (control information and positioning result) into a contracted data packet. Through WLAN communication, the user can enjoy various positioning applications by using the Hotspot product, and the PC driver SDK can be customized or compatible with the standard interface according to requirements. Suitable for all types of needs of operators and value-added service providers. The present invention fills in the gap that Hotspot products cannot provide a complete positioning application. 3 is a flowchart of a positioning method according to a preferred embodiment of the present invention. The positioning method may be implemented based on the Hotspot terminal positioning system shown in FIG. 2. As shown in FIG. 3, the following steps S302 to S332 are included. Step S302, the user starts the upper layer positioning application software and the SDK driver through the PC, and selects corresponding operations and services. In step S304, the SDK driver distinguishes whether it is location information. If it is location information, step S310 is performed. If it is not location information (that is, external network data), step S306 is performed. Step S306, the data communicated by the Hotspot terminal and the external network is transparently transmitted to the AP by using the WLAN. Step S308, implementing the corresponding service by OTA forwarding, and ending. In step S310, the SDK driver sends the positioning information group packet to the AP (Hotspot terminal). Step S312, the WLAN data communication module in the Hotspot terminal filters the data packet. Step S314, the WLAN data communication module in the Hotspot terminal determines whether it is a positioning operation data packet, and if it is a positioning operation data packet, proceeds to step S318, otherwise proceeds to step S316. Step S316, discarding the data packet, and ending. Step S318, the WLAN data communication module sends the positioning operation data packet to the positioning engine proxy server, and the positioning engine proxy server parses the positioning information data packet into a positioning instruction recognizable by the positioning engine and sends the positioning instruction to the positioning engine. For multiple positioning instructions of different users, the WLAN data communication module can also sort the positioning instructions and perform access control preprocessing. Step S320, the positioning engine confirms whether the instruction is correct after receiving the positioning instruction, and if yes, performs the step.
S324, 否则进行步骤 S322。 步骤 S322, 向 PC返回错误消息。 步骤 S324, 定位引擎根据指令进行定位响应, 将定位结果返回给定位引擎代理服 务端 步骤 S326, 定位引擎代理服务端将定位结果封装为约定数据包通过 WLAN通信 模块上报给 PC中的 SDK驱动。 步骤 S328, SDK驱动再将定位结果数据包解析为上层应用软件能够识别的定位信 息。 步骤 S330, SDK驱动将定位信息上报给上层应用。 步骤 S332, 上层定位软件根据定位结果和外部网络的定位增值业务开展多种应 用。 本发明采用的技术方案: 为 Hotspot产品板侧中的定位引擎 (定位芯片, 提供多 种方式的定位, 比如 GPS、 AGPS、 Cell定位和 Predicted Orbits等)设计一个定位代理 服务端和 PC驱动 SDK, 板侧内的定位代理服务端是一个集成定位引擎控制、 定位信 息传输、用户访问控制和 WLAN数据通信的一个软件模块。它将传统的定位引擎控制 和定位信息传输与 IP传输、 访问控制有机结合, 通过标准的 IP包封装定位控制命令 和定位信息, 兼容标准或自定义的定位数据格式, 通过 WLAN链路和 AP 内的 STA 进行数据通信, 配合 PC侧驱动 SDK将定位结果信息转换为标准或自定义格式供上层 PC位置服务软件直接使用,可以有效兼容已有的位置定位软件。用户访问控制主要用 于对多个用户同时发起定位服务命令的进行缓冲排序, 让 AP 内每个用户共享定位结 果。 需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的 计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可 以以不同于此处的顺序执行所示出或描述的步骤。 本发明实施例提供了一种定位系统, 该定位系统可以用于实现上述定位方法。 图 4是根据本发明实施例的定位系统的结构框图, 如图 4所示, 定位系统包括终端 42和 PC 44, 其中终端 42包括接收模块 422, 定位响应模块 424和第一发送模块 426。 下面 对其结构进行描述。 接收模块 422,设置为接收来自 PC的按照预定的无线网络数据包格式封装的定位 请求; 定位响应模块 424, 连接至接收模块 422, 设置为根据接收模块 422接收的定位 请求进行定位响应, 得到定位结果; 第一发送模块 426, 连接至定位响应模块 424, 设 置为向 PC发送定位响应模块 424得到的定位结果。 相关技术中, 终端产品仅仅支持单个用户通过 USB或者串口实现定位功能。本发 明实施例中, 终端与 PC按照预定的无线网络数据包格式进行交互, 从而可以简便、 可靠的实现无线网络中的定位功能, 提高用户体验。 图 5是根据本发明优选实施例的定位系统的结构框图一, 如图 5所示, PC 44包 括封装模块 442和第二发送模块 444。 下面对其结构进行描述。 封装模块 442, 设置为按照预定的无线网络数据包格式封装定位请求, 其中预定 的无线网络数据包格式包括以下之一: WLAN数据通信格式、 IP封装 AT命令格式、 IP封装 MEA数据格式; 第二发送模块 444, 连接至封装模块 442, 设置为向终端发 送封装模块 442封装的定位请求。 本优选实施例中, 通过使用 WLAN数据通信格式进行通信, 从而可以让 WLAN 内的用户也能够享受定位服务带来的丰富应用, 并无需 USB或其它串口设备。 图 6是根据本发明优选实施例的定位系统的结构框图二, 如图 6所示, 第一发送 模块 426包括封装子模块 4262和发送子模块 4264。 下面对其结构进行详细描述。 封装子模块 4262, 设置为按照预定的无线网络数据包格式封装定位结果, 其中预 定的无线网络数据包格式包括以下之一: WLAN数据通信格式、 IP封装 AT命令格式、 IP封装 MEA数据格式; 发送子模块 4264, 连接至封装子模块 4262, 设置为向 PC 发送封装子模块 4262封装的定位结果。 图 7是根据本发明优选实施例的定位系统的结构框图三, 如图 7所示, PCS324, otherwise step S322 is performed. Step S322, returning an error message to the PC. Step S324, the positioning engine performs a positioning response according to the instruction, and returns the positioning result to the positioning engine proxy server step S326. The positioning engine proxy server encapsulates the positioning result into an agreed data packet and reports the packet to the SDK driver in the PC through the WLAN communication module. Step S328, the SDK driver parses the positioning result data packet into the positioning information that can be recognized by the upper layer application software. In step S330, the SDK driver reports the location information to the upper layer application. Step S332, the upper layer positioning software performs multiple applications according to the positioning result and the positioning value-added service of the external network. The technical solution adopted by the present invention: design a positioning proxy server and a PC driver SDK for a positioning engine (positioning chip, providing multiple modes of positioning, such as GPS, AGPS, Cell positioning, and Predicted Orbits) in the side of the Hotspot product. The location agent server in the board side is a software module that integrates positioning engine control, positioning information transmission, user access control and WLAN data communication. It combines traditional positioning engine control and positioning information transmission with IP transmission and access control, and encapsulates positioning control commands and positioning information through standard IP packets, compatible with standard or customized positioning data formats, through WLAN links and APs. STA Data communication, with the PC side driver SDK to convert the positioning result information into a standard or custom format for direct use by the upper PC location service software, can be effectively compatible with the existing location location software. User access control is mainly used to buffer the ordering of multiple users simultaneously to initiate location service commands, so that each user in the AP shares the positioning result. It should be noted that the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein. The embodiment of the invention provides a positioning system, which can be used to implement the positioning method described above. 4 is a structural block diagram of a positioning system according to an embodiment of the present invention. As shown in FIG. 4, the positioning system includes a terminal 42 and a PC 44. The terminal 42 includes a receiving module 422, a positioning response module 424, and a first transmitting module 426. The structure is described below. The receiving module 422 is configured to receive a positioning request encapsulated in a predetermined wireless network data packet format from the PC. The positioning response module 424 is connected to the receiving module 422, and configured to perform a positioning response according to the positioning request received by the receiving module 422, and obtain the positioning. The first sending module 426 is connected to the positioning response module 424 and configured to send the positioning result obtained by the positioning response module 424 to the PC. In the related art, the terminal product only supports a single user to implement a positioning function through a USB or a serial port. In the embodiment of the present invention, the terminal and the PC interact according to a predetermined wireless network data packet format, so that the positioning function in the wireless network can be implemented simply and reliably, and the user experience is improved. 5 is a block diagram of a structure of a positioning system in accordance with a preferred embodiment of the present invention. As shown in FIG. 5, the PC 44 includes a packaging module 442 and a second transmitting module 444. The structure is described below. The encapsulating module 442 is configured to encapsulate the positioning request according to a predetermined wireless network packet format, where the predetermined wireless network packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data format; The sending module 444 is connected to the encapsulating module 442, and configured to send a positioning request encapsulated by the encapsulating module 442 to the terminal. In the preferred embodiment, the communication is performed by using the WLAN data communication format, so that users in the WLAN can enjoy the rich application brought by the positioning service, and no USB or other serial port device is needed. 6 is a block diagram showing the structure of a positioning system according to a preferred embodiment of the present invention. As shown in FIG. 6, the first transmitting module 426 includes a packaging sub-module 4262 and a transmitting sub-module 4264. The structure is described in detail below. The encapsulation submodule 4262 is configured to encapsulate the positioning result according to a predetermined wireless network packet format, where the predetermined wireless network packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data format; The sub-module 4264 is connected to the encapsulation sub-module 4262 and configured to send the positioning result of the encapsulation of the encapsulation sub-module 4262 to the PC. 7 is a structural block diagram 3 of a positioning system according to a preferred embodiment of the present invention, as shown in FIG.
44还包括解析模块 446和显示模块 448。 下面对其结构进行详细描述。 解析模块 446,设置为解析封装的定位结果; 显示模块 448,连接至解析模块 446, 设置为向其用户显示解析模块 446解析的定位结果。 具体地, 显示模块 448还可以包括适配模块, 设置为向上层应用提供特定的定位 信息接口, 而不对用户直接提供显示, 显示由其它上层 UI完成。 需要说明的是, 装置实施例中描述的定位系统对应于上述的方法实施例, 其具体 的实现过程在方法实施例中已经进行过详细说明, 在此不再赘述。 综上所述, 根据本发明的上述实施例, 提供了一种定位方法及系统。通过本发明, 终端与 PC按照预定的无线网络数据包格式进行交互, 解决了终端产品仅仅支持单个 用户通过 USB或者串口实现定位功能从而使用不便的问题, 进而提高了用户体验。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 或者将它们分别制作成各个集成电路模 块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明 不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 44 also includes a parsing module 446 and a display module 448. The structure is described in detail below. The parsing module 446 is configured to parse the positioning result of the encapsulation; the display module 448 is coupled to the parsing module 446 and configured to display the positioning result parsed by the parsing module 446 to its user. Specifically, the display module 448 may further include an adaptation module configured to provide a specific positioning information interface to the upper layer application without directly providing a display to the user, and the display is completed by other upper UIs. It should be noted that the positioning system described in the device embodiment corresponds to the foregoing method embodiment, and the specific implementation process has been described in detail in the method embodiment, and details are not described herein again. In summary, according to the above embodiments of the present invention, a positioning method and system are provided. Through the invention, the terminal and the PC interact according to a predetermined wireless network data packet format, which solves the problem that the terminal product only supports a single user to implement the positioning function through the USB or the serial port, thereby improving the user experience. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种定位方法, 包括: 1. A positioning method, including:
终端接收到来自 PC的按照预定的无线网络数据包格式封装的定位请求; 根据所述定位请求进行定位响应, 得到定位结果;  Receiving, by the terminal, a positioning request encapsulated in a predetermined wireless network data packet format from the PC; performing a positioning response according to the positioning request, to obtain a positioning result;
向所述 PC发送所述定位结果。  The positioning result is sent to the PC.
2. 根据权利要求 1所述的方法, 其中, 在终端接收到来自 PC的按照预定的无线 网络数据包格式封装的定位请求之前, 所述方法还包括: The method according to claim 1, wherein, before the terminal receives the location request encapsulated by the PC according to the predetermined wireless network packet format, the method further includes:
所述 PC按照预定的无线网络数据包格式封装所述定位请求, 其中所述预 定的无线网络数据包格式包括以下之一: WLAN数据通信格式、 IP封装 AT命 令格式、 IP封装 MEA数据格式;  The PC encapsulates the positioning request according to a predetermined wireless network data packet format, where the predetermined wireless network data packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data format;
所述 PC向所述终端发送所述封装的定位请求。  The PC sends the encapsulated location request to the terminal.
3. 根据权利要求 2所述的方法, 其中, 根据所述定位请求进行定位响应, 得到定 位结果包括: The method according to claim 2, wherein the positioning response is performed according to the positioning request, and the obtaining the positioning result comprises:
解析所述封装的定位请求, 得到定位指令;  Parsing the location request of the package to obtain a positioning instruction;
根据所述定位指令进行定位响应, 得到所述定位结果。  Performing a positioning response according to the positioning instruction to obtain the positioning result.
4. 根据权利要求 3所述的方法, 其中, 在根据所述定位指令进行定位响应, 得到 所述定位结果之前, 所述方法还包括: The method according to claim 3, wherein before the obtaining the positioning result according to the positioning instruction, the method further includes:
对来自多个用户的多个定位指令进行排序;  Sorting multiple positioning instructions from multiple users;
判断所述多个定位指令是否正确;  Determining whether the plurality of positioning instructions are correct;
如果判断结果为是, 则根据所述排序后的定位指令进行定位响应, 否则向 所述 PC发送错误消息。  If the result of the determination is yes, the positioning response is performed according to the sorted positioning instruction, otherwise an error message is sent to the PC.
5. 根据权利要求 1所述的方法, 其中, 向所述 PC发送所述定位结果包括: 5. The method according to claim 1, wherein the sending the positioning result to the PC comprises:
按照预定的无线网络数据包格式封装所述定位结果, 其中所述预定的无线 网络数据包格式包括以下之一: WLAN数据通信格式、 IP封装 AT命令格式、 IP封装 MEA数据格式;  The positioning result is encapsulated according to a predetermined wireless network data packet format, where the predetermined wireless network data packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data format;
向所述 PC发送所述封装的定位结果。 根据权利要求 5所述的方法, 其中, 在向所述 PC发送所述定位结果之后, 所 述方法还包括: Sending the location result of the package to the PC. The method according to claim 5, wherein after the sending the positioning result to the PC, the method further comprises:
所述 PC解析所述封装的定位结果;  The PC parses the positioning result of the package;
所述 PC向其用户显示所述解析的定位结果。 一种定位系统, 包括终端和 PC, 其中所述终端包括:  The PC displays the parsed positioning result to its user. A positioning system includes a terminal and a PC, wherein the terminal includes:
接收模块, 设置为接收来自 PC的按照预定的无线网络数据包格式封装的 定位请求;  a receiving module, configured to receive a positioning request encapsulated by the PC according to a predetermined wireless network packet format;
定位响应模块, 设置为根据所述定位请求进行定位响应, 得到定位结果; 第一发送模块, 设置为向所述 PC发送所述定位结果。 根据权利要求 7所述的系统, 其中, 所述 PC包括: 封装模块, 设置为按照预定的无线网络数据包格式封装所述定位请求, 其 中所述预定的无线网络数据包格式包括以下之一: WLAN数据通信格式、 IP封 装 AT命令格式、 IP封装 MEA数据格式;  The positioning response module is configured to perform a positioning response according to the positioning request to obtain a positioning result. The first sending module is configured to send the positioning result to the PC. The system according to claim 7, wherein the PC comprises: a packaging module configured to encapsulate the positioning request according to a predetermined wireless network data packet format, wherein the predetermined wireless network data packet format comprises one of the following: WLAN data communication format, IP encapsulation AT command format, IP encapsulation MEA data format;
第二发送模块, 设置为向所述终端发送所述封装的定位请求。 根据权利要求 7所述的系统, 其中, 所述第一发送模块包括:  The second sending module is configured to send the encapsulated positioning request to the terminal. The system according to claim 7, wherein the first sending module comprises:
封装子模块, 设置为按照预定的无线网络数据包格式封装所述定位结果, 其中所述预定的无线网络数据包格式包括以下之一: WLAN数据通信格式、 IP 封装 AT命令格式、 IP封装 MEA数据格式;  The encapsulating submodule is configured to encapsulate the positioning result according to a predetermined wireless network packet format, where the predetermined wireless network packet format includes one of the following: a WLAN data communication format, an IP encapsulation AT command format, and an IP encapsulation MEA data. Format
发送子模块, 设置为向所述 PC发送所述封装的定位结果。 根据权利要求 9所述的系统, 其中, 所述 PC还包括: 解析模块, 设置为解析所述封装的定位结果;  And a sending submodule, configured to send the positioning result of the encapsulation to the PC. The system according to claim 9, wherein the PC further comprises: a parsing module, configured to parse the positioning result of the encapsulation;
显示模块, 设置为向其用户显示所述解析的定位结果。  A display module is configured to display the resolved positioning result to its user.
PCT/CN2011/080941 2011-07-20 2011-10-18 Positioning method and system WO2012155449A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110203967A CN102325300A (en) 2011-07-20 2011-07-20 Positioning method and system
CN201110203967.6 2011-07-20

Publications (1)

Publication Number Publication Date
WO2012155449A1 true WO2012155449A1 (en) 2012-11-22

Family

ID=45452958

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/080941 WO2012155449A1 (en) 2011-07-20 2011-10-18 Positioning method and system

Country Status (2)

Country Link
CN (1) CN102325300A (en)
WO (1) WO2012155449A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724629A (en) * 2012-06-21 2012-10-10 中兴通讯股份有限公司 Method and system for realizing driver-free wireless terminal positioning service
US9154910B2 (en) 2012-09-28 2015-10-06 Tencent Technology (Shenzhen) Company Limited Terminal location obtaining method, device, and system
CN102904974A (en) * 2012-09-28 2013-01-30 腾讯科技(深圳)有限公司 Method for obtaining location of terminal, related device and system
CN104301863A (en) * 2013-07-19 2015-01-21 中兴通讯股份有限公司 Device and method for positioning
CN105119922A (en) * 2015-08-28 2015-12-02 小米科技有限责任公司 Method and device for access control, and server
CN106357758B (en) * 2016-09-09 2019-07-16 腾讯科技(深圳)有限公司 A kind of localization method, system and terminal
CN111726753A (en) * 2020-06-30 2020-09-29 安徽华米信息科技有限公司 Motion data acquisition method and device, intelligent wearable device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207877A (en) * 2007-12-25 2008-06-25 深圳市赛格导航科技股份有限公司 Mobile phone locating method and mobile phone
CN101938830A (en) * 2009-06-29 2011-01-05 大唐移动通信设备有限公司 Positioning method and device
US20110122858A1 (en) * 2009-11-16 2011-05-26 Yashiro Yuichi Wireless transmitter-receiver and mobile object management system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043747B (en) * 2007-04-25 2011-05-25 苏州工业园区联科信息技术有限公司 Method for realizing inter-mobile terminal position data interaction based on geographical information system
CN101494825B (en) * 2008-01-22 2010-12-08 中兴通讯股份有限公司 Method and system for locating mobile station of cluster communication system group call business
CN101931861B (en) * 2009-06-19 2014-10-22 中兴通讯股份有限公司 System and method for transmitting location protocol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207877A (en) * 2007-12-25 2008-06-25 深圳市赛格导航科技股份有限公司 Mobile phone locating method and mobile phone
CN101938830A (en) * 2009-06-29 2011-01-05 大唐移动通信设备有限公司 Positioning method and device
US20110122858A1 (en) * 2009-11-16 2011-05-26 Yashiro Yuichi Wireless transmitter-receiver and mobile object management system

Also Published As

Publication number Publication date
CN102325300A (en) 2012-01-18

Similar Documents

Publication Publication Date Title
WO2012155449A1 (en) Positioning method and system
US8706027B2 (en) System and method for extension of wireless footprint
KR100922268B1 (en) System providing land mobile radio content using a cellular data network
CN110958046B (en) Intercommunication method and device for Beidou short message and mobile short message
CN101521615B (en) Communication method for different networks and internetwork for smart machine
US9860931B2 (en) Method, system and terminal for realizing network access via Wi-Fi®
JP2006067610A (en) Method and apparatus for wlan-umts interworking employing umts air interface
CN107079524B (en) Data forwarding method and controller
CN106376099A (en) Method and system for downloading files based on LTE network and WIFI network meanwhile
WO2022257657A1 (en) Call function setting method and apparatus, and terminal device and storage medium
WO2013189122A1 (en) Method and system for implementing drive-free wireless terminal positioning service
JP6315914B2 (en) Method and apparatus for accessing broadcast distribution information
CN102474505A (en) Method and apparatus for providing interoperability between a first protocol and a second protocol
CN101489259B (en) Data service handling method, system and access network
JP2015513729A (en) Data access method and apparatus
CN113965918A (en) Service processing method, device and storage medium
EP4138446A1 (en) Data transmission method, apparatus and system
CN114401507A (en) Data transmission method, device and storage medium
JP5789904B2 (en) System, terminal and method for transmitting 1x message
CN101112030B (en) Aggregated signaling packaging and dispackageing method based on code division multiple access aggregated system
WO2022062182A1 (en) Communication connection method and apparatus, storage medium, and electronic device
WO2024061217A1 (en) Communication method and related apparatus
EP4344329A1 (en) Communication method and apparatus
WO2012171351A1 (en) Method and system for triggering over the air service
JP6546312B2 (en) Method and apparatus for accessing broadcast distribution information

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11865799

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11865799

Country of ref document: EP

Kind code of ref document: A1