Method, device and medium for improving positioning sensing speed of intelligent wearable equipment

文档序号:1963180 发布日期:2021-12-14 浏览:18次 中文

阅读说明:本技术 一种提升智能穿戴设备定位感知速度的方法、装置、介质 (Method, device and medium for improving positioning sensing speed of intelligent wearable equipment ) 是由 黄其林 于 2021-09-15 设计创作,主要内容包括:本发明公开了一种提升智能穿戴设备定位感知速度的方法、装置及介质,具体包括,于预定的网路环境状态下接收定位查询指令;获取最新定位数据;根据最新定位数据判断第一运动状态及第二运动状态;于第一运动状态下读取第一位置数据,和/或于第二运动状态下读取第二位置数据。该提升智能穿戴设备定位感知速度的方法,在服务器接收到查询指令后能快速反馈具体定位数据,让客户端感受到定位速度明显加快,体验大幅度提升。(The invention discloses a method, a device and a medium for improving positioning sensing speed of intelligent wearable equipment, which specifically comprise the steps of receiving a positioning query instruction in a preset network environment state; acquiring latest positioning data; judging a first motion state and a second motion state according to the latest positioning data; the first position data is read in the first motion state and/or the second position data is read in the second motion state. According to the method for improving the positioning sensing speed of the intelligent wearable device, the server can quickly feed back specific positioning data after receiving the query instruction, so that the client can feel that the positioning speed is obviously accelerated, and the experience is greatly improved.)

1. A method for improving the positioning perception speed of intelligent wearable equipment is characterized by specifically comprising the following steps of,

receiving a positioning query command in a predetermined network environment state;

acquiring latest positioning data;

judging a first motion state and a second motion state according to the latest positioning data;

the first position data is read in the first motion state and/or the second position data is read in the second motion state.

2. The method of claim 1, wherein the obtaining of the latest positioning data specifically comprises performing a function of obtaining the latest positioning data upon receiving a positioning query.

3. The method for improving the positioning perception speed of the intelligent wearable device according to claim 1, wherein the first motion state and the second motion state are judged according to the latest positioning data, and specifically, whether the number of motion steps is less than a predetermined value within a time period from the previous positioning to the current position query instruction is judged;

and acquiring a first motion state when the number of motion steps is smaller than a preset value in a time period from the previous positioning to the current receiving of the position query instruction.

4. The method for improving the positioning perception speed of the intelligent wearable device according to claim 3, wherein reading the first position data in the first motion state and/or reading the second position data in the second motion state comprises,

modifying the time corresponding to the previous position data to the latest time under the first motion state to form corresponding first position data;

and entering a second motion state in the first position data output state.

5. The method for improving the positioning perception speed of the intelligent wearable device according to claim 1, wherein reading the first position data in the first motion state and/or reading the second position data in the second motion state comprises,

and starting the real-time positioning server in the second motion state to acquire and output second position data.

6. The method for improving the positioning perception speed of the intelligent wearable device according to claim 5, wherein the real-time positioning server is started in the second motion state to obtain and output the second position data, specifically comprising the real-time positioning server comprises a network positioning server and a GPS positioning server,

the network positioning server acquires and outputs second temporary position data in advance in a second motion state;

and outputting the second position data acquired by the GPS positioning server in the state of acquiring the second temporary position data.

7. The method for improving the positioning perception speed of the intelligent wearable device according to claim 5, wherein the real-time positioning server is started in the second motion state to obtain and output the second position data, specifically comprising the real-time positioning server comprises a network positioning server and a GPS positioning server,

and directly outputting the second position data obtained by the GPS positioning server under the second motion state.

8. The method for improving the positioning perception speed of the intelligent wearable device according to claim 1, wherein the first motion state and the second motion state are judged according to the latest positioning data, and specifically, whether the number of motion steps is less than a predetermined value within a time period from the previous positioning to the current position query instruction is judged;

and acquiring a second motion state when the number of motion steps is greater than a preset value in a time period from the previous positioning to the current position query instruction receiving.

9. Promote device of intelligence wearing equipment location perception speed, its characterized in that includes

The query unit is used for receiving a positioning query instruction under a predetermined network environment state;

the processing unit is used for acquiring the latest positioning data;

the judging unit is used for judging a first motion state and a second motion state according to the latest positioning data;

the reading unit is used for reading the first position data in the first motion state and/or reading the second position data in the second motion state.

10. A computer-readable storage medium, on which a computer program is stored, wherein the program, when executed by a processor, implements a method for improving positioning perception speed of a smart wearable device according to any one of claims 1 to 8.

Technical Field

The invention relates to the technical field of wearable device positioning, in particular to a method, a device and a medium for improving positioning sensing speed of intelligent wearable devices.

Background

At present, the response of the positioning speed of the intelligent wearable device is slow by using a positioning technology, the perception of a direct mobile phone client to the positioning speed is poor, children users are more in the wearable device users, and the household end hopes to quickly know the specific position information of the children under special conditions. Therefore, a method for improving the positioning sensing speed of the intelligent wearable device is urgently needed to be designed, so that the positioning speed and the positioning speed sensing of the client can be improved.

Disclosure of Invention

Aiming at the defects of the prior art, the invention provides a method, a device and a medium for improving the positioning sensing speed of intelligent wearable equipment, which can improve the positioning sensing speed of the intelligent wearable equipment under the condition that a user does not delay sensing.

In order to achieve the purpose, the invention is realized by the following technical scheme:

in a first aspect, the invention provides a method for improving the positioning perception speed of an intelligent wearable device, specifically comprising,

receiving a positioning query command in a predetermined network environment state;

acquiring latest positioning data;

judging a first motion state and a second motion state according to the latest positioning data;

the first position data is read in the first motion state and/or the second position data is read in the second motion state.

Preferably, the acquiring the latest positioning data includes executing the function of acquiring the latest positioning data upon receiving the positioning query command.

Preferably, the first motion state and the second motion state are judged according to the latest positioning data, specifically, whether the number of motion steps in a time period from the previous positioning to the current time when the position query instruction is received is smaller than a preset value is judged;

and acquiring a first motion state when the number of motion steps is smaller than a preset value in a time period from the previous positioning to the current receiving of the position query instruction.

Preferably, reading the first position data in the first motion state and/or reading the second position data in the second motion state comprises,

modifying the time corresponding to the previous position data to the latest time under the first motion state to form corresponding first position data;

and entering a second motion state in the first position data output state.

Preferably, reading the first position data in the first motion state and/or reading the second position data in the second motion state comprises,

and starting the real-time positioning server in the second motion state to acquire and output second position data.

Preferably, the real-time positioning server is started in the second motion state to acquire and output the second position data, and specifically, the real-time positioning server comprises a network positioning server and a GPS positioning server,

the network positioning server acquires and outputs second temporary position data in advance in a second motion state;

and outputting the second position data acquired by the GPS positioning server in the state of acquiring the second temporary position data.

Preferably, the real-time positioning server is started in the second motion state to acquire and output the second position data, and specifically, the real-time positioning server comprises a network positioning server and a GPS positioning server,

and directly outputting the second position data obtained by the GPS positioning server under the second motion state.

Preferably, the first motion state and the second motion state are judged according to the latest positioning data, specifically, whether the number of motion steps in a time period from the previous positioning to the current time when the position query instruction is received is smaller than a preset value is judged;

and acquiring a second motion state when the number of motion steps is greater than a preset value in a time period from the previous positioning to the current position query instruction receiving.

In a second aspect, the invention provides a device for improving the positioning perception speed of an intelligent wearable device, which comprises

The query unit is used for receiving a positioning query instruction under a predetermined network environment state;

the processing unit is used for acquiring the latest positioning data;

the judging unit is used for judging a first motion state and a second motion state according to the latest positioning data;

the reading unit is used for reading the first position data in the first motion state and/or reading the second position data in the second motion state.

In a third aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the method for increasing the perceived speed of positioning of a smart wearable device as described above.

In a fourth aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method for increasing the location-aware speed of a smart wearable device in the electronic device as described above.

The invention has the following beneficial effects:

according to the method for improving the positioning sensing speed of the intelligent wearable device, the client, the server and the intelligent wearable device are linked, under the condition that the positioning technology of the device end is not changed, the network positioner and the GPS positioning server are combined, the server can quickly feed back positioning data after receiving an inquiry instruction, the client can obviously accelerate the positioning sensing speed, and the experience is greatly improved.

Drawings

Fig. 1 is a flowchart of a method for increasing positioning sensing speed of an intelligent wearable device according to an embodiment of the present invention;

fig. 2 is a flowchart of a method for increasing the positioning sensing speed of the intelligent wearable device according to a second embodiment of the present invention;

fig. 3 is a schematic structural diagram of a device for increasing the positioning sensing speed of an intelligent wearable device according to a third embodiment of the present invention;

fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.

Detailed Description

The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.

Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.

Example one

Referring to fig. 1, the present invention provides a technical solution: the method for improving the positioning perception speed of the intelligent wearable device specifically comprises the following steps:

s110, receiving a positioning query command in a predetermined network environment state;

in the embodiment, the client initiates a positioning query instruction operation and sends a position query instruction to the terminal equipment, and the client can display the obtained current position and time information of the terminal equipment;

s120, acquiring the latest positioning data;

in this embodiment, the server receives a positioning query instruction initiated by the client and transmits the positioning query instruction to the terminal device, executes a function of acquiring the latest positioning data on the condition that the positioning query instruction is received, and receives position data sent by the terminal device and transmits the position data to the client after the position data is stored.

S130, judging a first motion state and a second motion state according to the latest positioning data;

in this embodiment, the terminal device determines whether the number of movement steps is less than a predetermined value within a time period from the previous positioning to the current reception of the position query instruction; and acquiring a first motion state when the number of motion steps is smaller than a preset value in a time period from the previous positioning to the current receiving of the position query instruction.

S140, reading the first position data in the first motion state and/or reading the second position data in the second motion state;

in this embodiment, the device obtains the first motion state when the number of motion steps is smaller than the predetermined value within the time period from the previous positioning to the current receiving of the position query instruction; modifying the time corresponding to the previous position data into the latest time in the first motion state and sending the corresponding first position data to the client; the client receives and displays the first position data, enters a second motion state in a state after the first position data are output, namely starts an accurate positioning state, and starts a real-time positioning server and sends the second position data to the client in the second motion state; the client displays the second position data after receiving the second position data, the real-time positioning server comprises a network positioning server and a GPS positioning server, the positioning precision of the network positioning server on the equipment is low but the positioning time consumption is short, the positioning precision of the GPS positioning server is high but the positioning time consumption is long, and if the network positioning server firstly feeds back the position data in the second motion state, the server firstly reads second temporary position data corresponding to the network positioning server and feeds back the second temporary position data to the client; after the feedback of the second temporary position data is finished, continuing to wait for the second position data acquired by the GPS positioning server, and sending the second position data to the client by the server to finish the positioning state; if the GPS positioning server feeds back the position data in the second motion state, namely the server directly reads the second position data corresponding to the GPS positioning server, the server sends the second position data to the client to finish the positioning state, and the server does not need to wait for a second temporary position data feedback structure corresponding to the network positioning server.

Meanwhile, if the second motion state is obtained when the number of motion steps is greater than the preset value in the time period from the previous positioning to the current time period of receiving the position query instruction, the following steps are continuously executed under the condition of entering the second state:

directly starting the accurate positioning state, starting the real-time positioning server in the second motion state and sending the second position data to the client; the client displays the second position data after receiving the second position data, and if the network positioning server firstly feeds back the position data in the second motion state, the server firstly reads second temporary position data corresponding to the network positioning server and feeds back the second temporary position data to the client; after the feedback of the second temporary position data is finished, continuing to wait for the second position data acquired by the GPS positioning server, and sending the second position data to the client by the server to finish the positioning state; if the GPS positioning server feeds back the position data in the second motion state, namely the server directly reads the second position data corresponding to the GPS positioning server, the server sends the second position data to the client to finish the positioning state, and the server does not need to wait for a second temporary position data feedback structure corresponding to the network positioning server.

Example two

The client sends a positioning query instruction and enters a waiting position data state; and after receiving the query instruction, the server queries the latest position data which is stored in the server by the terminal device for the last time, wherein the position data comprises the latest position time data and the movement steps within preset time, if the distance between the latest position time and the current time is less than a preset time value, the latest position data stored in the server is sent to the client, and if not, the latest position data enters a positioning program.

Referring to fig. 2, the terminal device receives the position query instruction a, enters a motion determination state S0, determines whether the number of motion steps in a time period from the last positioning to the current receiving of the position query instruction a is less than N through a g-sensor in the state of S0, and if the number of motion steps is less than N, determines that the change of the device position is small, modifies the last position data time to the latest time, generates position data W1, and sends the position data W1 to the client; after receiving the W1, the client displays the device position and time on the client and enters a state D2; after the device is in the end state S0, the device enters a positioning state S1, a network positioning service G0 and a GPS positioning service G1 are started simultaneously in the state S1, generally, the accuracy of G0 positioning is low but the time consumption of positioning is short, the accuracy of G1 positioning is high but the time consumption is long, if the position data W2 of G0 is received first in the state S1, the position data W2 is sent to the client, the device enters the positioning state S2 to continuously wait for the position data W3 returned by G1, the device receives the data W3 and sends the data W3 to the client, and the positioning service ends to enter the normal state S3; in the state of S1, if the G1 data W3 is received first, after sending the W3 to the client, the location server does not wait for the G0 location data any more, and ends to enter the normal state S3; and the client displays the device position and the time on the client after receiving the W2 and enters a state D3, and the client displays the device position and the time on the client after receiving the W3 and finishes the positioning state.

The method for improving the positioning perception speed of the intelligent wearable device is implemented by the aid of linkage of the client, the server and the intelligent wearable device, under the condition that the positioning technology of the device end is not changed, the network positioner and the GPS positioning server work in a combined mode, the query unit receives a query instruction, the client can display the current position and the time information of the acquired terminal device, the latest position data are acquired according to the processing unit, the judging unit is used for judging the first motion state and the second motion state according to the latest positioning data, the network positioner and the GPS positioning server are started in real time to be positioned, the reading unit reads the second position data and feeds the second position data back to the client, quick feedback can be achieved after the server positioning data receive the query instruction, the client can feel that the positioning speed is obviously accelerated, and experience is greatly improved.

EXAMPLE III

Fig. 3 is a schematic structural diagram of a device for increasing positioning perceived speed of an intelligent wearable device, provided by an embodiment of the present invention, where the device specifically includes:

an inquiry unit 310 for receiving a positioning inquiry command under a predetermined network environment state;

a processing unit 320 for obtaining the latest positioning data;

a determining unit 330 for determining a first motion state and a second motion state according to the latest positioning data;

the reading unit 340 is configured to read the first position data in the first motion state and/or read the second position data in the second motion state.

The working principle of the embodiment of the invention is that the method for improving the positioning perception speed of the intelligent wearable device is implemented by linking the client, the server and the intelligent wearable device, under the condition that the positioning technology of the device end is not changed, the network positioner and the GPS positioning server work together, the query unit 310 receives a query instruction, the client can display the current position and the time information of the acquired terminal device, the latest position data is acquired according to the processing unit 320, the judging unit 330 is used for judging the first motion state and the second motion state according to the latest positioning data, the network positioner and the GPS positioning server are started to be positioned in real time, the reading unit 340 reads the second position data and feeds back the second position data to the client, the server can feed back the positioning data quickly after receiving the query instruction, and the client can feel that the positioning speed is obviously accelerated, the experience is greatly improved.

Example four

Embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform:

receiving a positioning query command in a predetermined network environment state;

acquiring latest positioning data;

judging a first motion state and a second motion state according to the latest positioning data;

the first position data is read in the first motion state and/or the second position data is read in the second motion state.

Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.

Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the method for improving the positioning sensing speed of the smart wearable device described above, and may also perform related operations in the method for improving the positioning sensing speed of the smart wearable device provided in any embodiments of the present application.

EXAMPLE five

The embodiment of the application provides an electronic device, and the device for improving the positioning perception speed of the intelligent wearable device, which is provided by the embodiment of the application, can be integrated in the electronic device. Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application. As shown in fig. 4, the present embodiment provides an electronic device 400, which includes: one or more processors 420; storage 410 to store one or more programs that, when executed by the one or more processors 420, cause the one or more processors 420 to implement:

receiving a positioning query command in a predetermined network environment state;

acquiring latest positioning data;

judging a first motion state and a second motion state according to the latest positioning data;

the first position data is read in the first motion state and/or the second position data is read in the second motion state.

As shown in fig. 4, the electronic device 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of the processors 420 in the electronic device may be one or more, and one processor 420 is taken as an example in fig. 4; the processor 420, the storage device 410, the input device 430, and the output device 440 in the electronic apparatus may be connected by a bus or other means, and are exemplified by a bus 450 in fig. 4.

The storage device 410 is a computer-readable storage medium, and can be used to store software programs, computer executable programs, and module units, such as program instructions corresponding to the method for improving the positioning sensing speed of the smart wearable device in the embodiment of the present application.

The storage device 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 410 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 410 may further include memory located remotely from processor 420, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The input means 430 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic device. The output device 440 may include a display screen, speakers, etc.

It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种通过测量中子得到钆浓度的在线监测方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类