CN116055989A - Ephemeris information acquisition method, electronic equipment and intelligent wearable equipment - Google Patents

Ephemeris information acquisition method, electronic equipment and intelligent wearable equipment Download PDF

Info

Publication number
CN116055989A
CN116055989A CN202210763679.4A CN202210763679A CN116055989A CN 116055989 A CN116055989 A CN 116055989A CN 202210763679 A CN202210763679 A CN 202210763679A CN 116055989 A CN116055989 A CN 116055989A
Authority
CN
China
Prior art keywords
user
ephemeris
ephemeris information
electronic device
motion state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210763679.4A
Other languages
Chinese (zh)
Other versions
CN116055989B (en
Inventor
万祖岩
刘�东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210763679.4A priority Critical patent/CN116055989B/en
Publication of CN116055989A publication Critical patent/CN116055989A/en
Application granted granted Critical
Publication of CN116055989B publication Critical patent/CN116055989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/025Services making use of location information using location based information parameters
    • 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
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/03Cooperating elements; Interaction or communication between different cooperating elements or between cooperating elements and receivers
    • G01S19/08Cooperating elements; Interaction or communication between different cooperating elements or between cooperating elements and receivers providing integrity information, e.g. health of satellites or quality of ephemeris data
    • 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
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/24Acquisition or tracking or demodulation of signals transmitted by the system
    • G01S19/25Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS
    • G01S19/258Acquisition or tracking or demodulation of signals transmitted by the system involving aiding data received from a cooperating element, e.g. assisted GPS relating to the satellite constellation, e.g. almanac, ephemeris data, lists of satellites in view
    • 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
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

The application provides an ephemeris information acquisition method, electronic equipment and intelligent wearable equipment, relates to the field of intelligent equipment, and is used for solving the problems that under the condition that the intelligent wearable equipment fails to request ephemeris information from the electronic equipment, frequent requests cause the increase of energy consumption of the electronic equipment and the reduction of the using time. The method comprises the following steps: firstly, under the condition that the intelligent wearing equipment fails to acquire ephemeris information from the electronic equipment, determining the motion state of a user wearing the intelligent wearing equipment. Wherein the motion state comprises a first motion state; the distance of movement of the user in the first motion state for a predetermined length of time is less than the predetermined distance. And then, under the condition that the motion state of the user is the first motion state, the intelligent wearable device acquires ephemeris information from the electronic device again after the first preset time length.

Description

Ephemeris information acquisition method, electronic equipment and intelligent wearable equipment
Technical Field
The application relates to the field of intelligent equipment, in particular to an ephemeris information acquisition method, electronic equipment and intelligent wearable equipment.
Background
At present, most of intelligent wearable devices have the functions of counting the movement speed and movement track of a user, and the intelligent wearable devices (such as an intelligent watch and an intelligent bracelet) are required to be positioned in time to realize the functions. In the prior art, a smart wearable device requests ephemeris information from an electronic device (e.g., a mobile phone, a tablet computer, etc.) associated with the smart wearable device (e.g., a bluetooth connection is established) to quickly determine its location. However, since the ephemeris information is valid for 2-3 hours, the smart wearable device needs to re-request every 2-3 hours in case of successful request to the ephemeris information. Once the request fails, the request continues multiple times, and if multiple times still fail, the request continues multiple times after a period of time (e.g., 5s, 5min, 10min, etc.) has elapsed. In this way, the power consumption of the electronic device is increased, the use duration is reduced, and the use experience of the user is further reduced.
Disclosure of Invention
The embodiment of the application provides a calendar information acquisition method, electronic equipment and intelligent wearable equipment, which are used for solving the problems that under the condition that the intelligent wearable equipment fails to request ephemeris information from the electronic equipment, frequent requests cause the increase of energy consumption of the electronic equipment and the reduction of the service life.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, the application provides an ephemeris information obtaining method applied to an intelligent wearable device, wherein wireless communication connection is established between the intelligent wearable device and an electronic device. The method comprises the following steps: firstly, under the condition that the intelligent wearing equipment fails to acquire ephemeris information from the electronic equipment, determining the motion state of a user wearing the intelligent wearing equipment. Wherein the motion state comprises a first motion state; the distance of movement of the user in the first motion state for a predetermined length of time is less than the predetermined distance. And then, under the condition that the motion state of the user is the first motion state, the intelligent wearable device acquires ephemeris information from the electronic device again after the first preset time length.
Based on the technical scheme, under the condition that the intelligent wearable device fails to acquire the ephemeris information from the electronic device, whether the user is in a low dynamic state or not is determined at first. When the user is in a low dynamic state, the user can not move a long distance in a short time with high probability, so that the intelligent wearable device can acquire ephemeris information for positioning after a certain interval time without updating the positioning in time. Therefore, in the case that the intelligent wearable device determines that the user is in the low dynamic state, the intelligent wearable device may acquire the ephemeris information from the electronic device after a certain interval period, instead of continuously requesting the ephemeris information from the electronic device after the failure of acquiring the ephemeris information as in the prior art. Meanwhile, the certain interval time is shorter, so that the scheme can also ensure that ephemeris information can be acquired as timely as possible when the intelligent wearable device exits from a low dynamic state, the intelligent wearable device cannot be positioned accurately, and the use experience of the user is ensured. Therefore, compared with the prior art, the scheme can ensure the experience of the user on the intelligent wearing equipment, greatly reduce the number of times that the intelligent wearing equipment acquires the ephemeris information from the electronic equipment, reduce the energy consumption of the electronic equipment and improve the use experience of the user.
In one possible design manner of the first aspect, in a case that the smart wearable device fails to acquire ephemeris information from the electronic device, determining a motion state of a user wearing the smart wearable device includes: the intelligent wearable device sends an ephemeris acquisition request to the electronic device; the ephemeris acquisition request is used for requesting ephemeris information; if the intelligent wearing equipment does not receive the ephemeris acquiring response of the corresponding ephemeris acquiring request from the electronic equipment within the second preset time period, the intelligent wearing equipment acquires physiological characteristics and/or motion data of the user and determines the motion state of the user according to the physiological characteristics and/or the motion data of the user; the ephemeris acquisition response carries ephemeris information corresponding to the ephemeris acquisition request; the intelligent wearable device does not receive an ephemeris acquiring response from the electronic device within a second preset time period, which indicates that the intelligent wearable device fails to acquire the ephemeris information from the electronic device.
Based on the scheme, the intelligent wearable device can acquire physiological characteristics and/or motion data of the user by itself and analyze the data to obtain the motion state of the user. Therefore, a judgment basis is provided for whether the subsequent intelligent wearable equipment resends the ephemeris acquisition request after the first preset time length.
In another possible design manner of the first aspect, in a case that the motion state of the user is the first motion state, the smart wearable device acquires ephemeris information from the electronic device again after the first preset duration, including: under the condition that the motion state of the user is the first motion state, the intelligent wearable device acquires the use state of the electronic device; the use state comprises a standby state or a non-standby state; when the electronic equipment is in a standby state, the electronic equipment is off-screen and has no background application; and the intelligent wearable device sends an ephemeris acquiring request to the electronic device again after the first preset time length under the condition that the using state of the electronic device is in a standby state so as to acquire the ephemeris information from the electronic device.
In practice, when the mobile phone is not in a standby state (for example, a certain third party application is operated in the foreground or background of the mobile phone), the number of times that the mobile phone responds to an ephemeris acquisition request sent by the smart watch is reduced, and the reduced energy consumption is very little compared with the current normal energy consumption of the mobile phone, so that the assistance of improving the user experience is not great. It is also difficult for the user to perceive a reduction in energy consumption of the mobile phone in this case. And when the mobile phone is in a standby state, the number of times that the mobile phone responds to an ephemeris acquisition request sent by the smart watch is reduced, and the reduced energy consumption is obvious compared with the standby energy consumption of the mobile phone. The user may also perceive a reduction in energy of the cell phone from the standby period.
Based on the above, in the above technical solution, when the intelligent wearable device fails to acquire the ephemeris information from the electronic device and the user is in the low dynamic state, the ephemeris acquisition request is sent again to the electronic device only when the electronic device is in the standby state after a first preset time period. That is, the smart wearable device may reduce the number of ephemeris acquisition requests sent to the electronic device only when the electronic device is in a standby state. Therefore, the technical scheme provided by the application can reduce the number of times that the electronic equipment responds to the ephemeris acquisition request sent by the intelligent wearable equipment when the electronic equipment is in the standby state, so that the reduced energy consumption of the electronic equipment can be perceived by a user more obviously, the standby time of the electronic equipment is prolonged, and the use experience of the user is improved.
In a further possible embodiment of the first aspect, the movement states further comprise a second movement state, which is different from the first movement state. The method further comprises the steps of: under the condition that the motion state of the user is the second motion state, the intelligent wearable device judges whether the number of times that the intelligent wearable device continuously sends ephemeris acquisition requests to the electronic device is smaller than a preset threshold value; if the number of times that the intelligent wearable device continuously sends the ephemeris acquiring requests to the electronic device is smaller than a preset threshold value, the intelligent wearable device re-sends the ephemeris acquiring requests to the electronic device so as to acquire the ephemeris information from the electronic device; if the number of times that the intelligent wearable device continuously sends the ephemeris acquiring request to the electronic device is equal to the preset threshold value, the intelligent wearable device sends the ephemeris acquiring request to the electronic device after the first preset duration to acquire the ephemeris information from the electronic device.
Based on the technical scheme, the intelligent wearable device can continuously send the ephemeris acquisition request to the electronic device under the condition that the motion state of the user is the second motion state, namely the user can move a larger distance in a short time, so as to acquire the ephemeris information from the electronic device as much as possible, thereby carrying out accurate and rapid positioning and ensuring the use experience of the user.
In addition, in practice, if the current conditions (e.g., network disconnection of the electronic device, poor quality of the wireless communication connection between the smart wearable device and the electronic device, etc.) do not enable the smart wearable device to obtain ephemeris information from the electronic device. In this case, the smart wearable device may repeatedly request the ephemeris information from the electronic device and fail, resulting in large signaling consumption, increased power consumption of both the smart wearable device and the electronic device, and little effect on the smart wearable device to acquire the ephemeris information from the electronic device. In order to avoid meaningless signaling consumption, the scheme also limits the intelligent wearable device to continuously and repeatedly request the ephemeris information for a preset threshold number of times at most. Based on the above, when the intelligent wearable device acquires the ephemeris information from the electronic device and the user is not in a low dynamic state, before the intelligent wearable device sends the ephemeris acquisition request to the electronic device again, it needs to determine whether the number of times that the intelligent wearable device continuously requests the ephemeris information to the electronic device is smaller than a preset threshold. Thus, meaningless signaling consumption can be avoided, and the power consumption of the intelligent wearable device and the electronic device can be reduced.
In a second aspect, the present application provides an ephemeris information obtaining method, where the method is applied to an electronic device, and a wireless communication connection is established between the electronic device and an intelligent wearable device. The method comprises the following steps: firstly, under the condition that the electronic equipment fails to send ephemeris information to the intelligent wearable equipment, the intelligent wearable equipment is utilized to determine the motion state of a user wearing the intelligent wearable equipment. The motion state includes a first motion state; wherein the distance of movement of the user in the first motion state over the predetermined length of time is less than the predetermined distance. And then, under the condition that the motion state of the user is the first motion state, the electronic equipment sends ephemeris information to the intelligent wearable equipment again after the first preset time length.
Based on the technical scheme, under the condition that the intelligent wearable device fails to acquire the ephemeris information from the electronic device in a mode that the electronic device autonomously transmits the ephemeris information, the intelligent wearable device can firstly determine whether the user is in a low dynamic state or not. When the user is in a low dynamic state, the user can not move a long distance in a short time with high probability, so that the electronic equipment does not need to immediately send the ephemeris information to the electronic equipment again, and the ephemeris information can be sent to the intelligent wearable equipment after a certain interval time. Therefore, under the condition that the intelligent wearable device determines that the user is in a low dynamic state, the electronic device can send ephemeris information to the intelligent wearable device after a certain interval time. According to the technical scheme provided by the embodiment of the application, the intelligent wearable device obtains the ephemeris information by actively sending the ephemeris information to the intelligent wearable device through the electronic device, so that the intelligent wearable device does not need to send the ephemeris obtaining request as frequently as the prior art, and compared with the technical scheme provided by the first aspect, the energy consumption of the intelligent wearable device is further reduced.
In addition, after the failure of sending the ephemeris information, the electronic device does not continuously send the ephemeris information (specifically, sends the response information carrying the ephemeris information in the prior art) as in the prior art under the condition that the user is in a low dynamic state, but sends the ephemeris information after a certain time interval. This also reduces the power consumption of the electronic device. Meanwhile, the certain interval time is shorter, so that the scheme can also ensure that ephemeris information can be acquired as timely as possible when the intelligent wearable device exits from a low dynamic state, the intelligent wearable device cannot be positioned accurately, and the use experience of the user is ensured. In summary, compared with the prior art, the scheme provided by the embodiment of the application can reduce the number of times that the intelligent wearing equipment sends the ephemeris acquiring request to the electronic equipment while ensuring the experience of the user on the intelligent wearing equipment, reduce the number of times that the electronic equipment responds to the ephemeris acquiring request from the intelligent wearing equipment, reduce the energy consumption of the electronic equipment and the intelligent wearing equipment, and improve the use experience of the user.
In one possible design manner of the second aspect, in a case that the electronic device fails to send ephemeris information to the smart wearable device, the determining, by using the smart wearable device, a motion state of the user includes: under the condition that the electronic equipment fails to send the ephemeris information to the intelligent wearing equipment, acquiring physiological characteristics and/or motion data of a user from the intelligent wearing equipment; the electronic device determines a movement state of the user based on the physiological characteristics and/or movement data of the user.
In this way, the electronic device may determine the user's motion state by acquiring physiological characteristics and/or motion data of the user from the smart wearable device. And providing a judgment basis for whether the ephemeris information is sent to the intelligent wearable device after the first preset time length.
In another possible design manner of the second aspect, in a case that the electronic device fails to send ephemeris information to the smart wearable device, the determining, by using the smart wearable device, a motion state of the user includes: under the condition that the electronic equipment fails to send the ephemeris information to the intelligent wearable equipment, first indication information is sent to the intelligent wearable equipment; the first indication information is used for indicating that the ephemeris information is failed to send and indicating that the intelligent wearable equipment feeds back the motion state of the user; the electronic device receives status information from the smart wearable device, the status information being used to indicate a movement status of the user.
In this way, the electronic device may obtain the user's motion state directly from the smart wearable device. And providing a judgment basis for whether the ephemeris information is sent to the intelligent wearable device after the first preset time length.
In another possible design manner of the second aspect, in a case that the motion state of the user is the first motion state, the electronic device resends ephemeris information to the smart wearable device after the first preset duration, including: if the motion state of the user is the first motion state and the use state of the electronic equipment is the standby state, the electronic equipment sends ephemeris information to the intelligent wearable equipment again after a first preset time period; the use state comprises a standby state or a non-standby state; when the electronic equipment is in a standby state, the electronic equipment is off-screen and has no background application.
In practice, when the electronic device is not in a standby state (for example, the electronic device foreground or background runs a certain third party application), the number of times of ephemeris information sent by the electronic device to the intelligent wearable device is reduced, and the reduced energy consumption is very little compared with the current normal energy consumption of the electronic device, so that the method and the device have little help to improve the user experience. In this case, too, the user hardly perceives a decrease in the power consumption of the electronic device. And when the electronic equipment is in a standby state, the number of times that the electronic equipment transmits ephemeris information to the intelligent wearable equipment is reduced, and the reduced energy consumption is obvious compared with the standby energy consumption of the electronic equipment. The user may also perceive a reduction in power consumption of the electronic device from the standby period.
Based on the above, in the above technical solution, when the electronic device fails to send the ephemeris information to the intelligent wearable device and the user is in the low dynamic state, the electronic device sends the ephemeris acquisition request to the intelligent wearable device again only when the electronic device is in the standby state after a first preset time period. That is, the electronic device may reduce the number of ephemeris acquisition requests sent to the smart wearable device only when in a standby state. Therefore, the technical scheme provided by the application can reduce the frequency of sending the ephemeris information to the intelligent wearable device by the electronic device when the electronic device is in the standby state, so that the reduced energy consumption of the electronic device can be perceived by a user more obviously, the standby time of the electronic device is prolonged, and the use experience of the user is improved.
In another possible design manner of the second aspect, the method further includes: under the condition that the motion state of the user is the second motion state, the electronic equipment judges whether the number of times of continuously sending ephemeris information to the intelligent wearable equipment is smaller than a preset threshold value or not; if the number of times that the electronic device continuously sends the ephemeris information to the intelligent wearable device is smaller than a preset threshold value, the electronic device sends the ephemeris information to the intelligent wearable device again; if the number of times that the electronic device continuously sends the ephemeris information to the intelligent wearable device is equal to a preset threshold value, the electronic device sends the ephemeris information to the intelligent wearable device after a first preset duration.
Based on the technical scheme, the electronic equipment can continuously send ephemeris information to the intelligent wearing equipment when the motion state of the user is the second motion state, namely the user can move a large distance in a short time, so that the intelligent wearing equipment can be accurately and quickly positioned, and the user experience is ensured.
In addition, after the mobile phone fails to send the ephemeris information to the smart wearable device, if the current condition (such as a broken mobile phone network, poor wireless communication connection quality between the smart watch and the mobile phone, etc.) cannot enable the smart watch to acquire the ephemeris information from the mobile phone. In this case, the mobile phone may repeatedly send ephemeris information to the smart watch and fail, resulting in large signaling consumption, increased power consumption of both the smart watch and the mobile phone, and little effect on the smart watch to acquire ephemeris information from the mobile phone. In order to avoid meaningless signaling consumption, the technical scheme also limits the mobile phone to continuously and repeatedly send the ephemeris information for a preset threshold number of times at most. Based on the above, when the mobile phone does not successfully transmit the ephemeris information to the smart watch and the user is not in a low dynamic state, before the mobile phone transmits the ephemeris information to the smart watch again, it is required to determine whether the number of times of continuously transmitting the ephemeris information to the mobile phone is smaller than a preset threshold. Thus, meaningless signaling consumption can be avoided, and the power consumption of the intelligent wearable device and the electronic device can be reduced.
In a third aspect, the present application provides a smart wearable device comprising a memory and one or more processors; the memory is coupled with the processor; wherein the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the smart wearable device to perform the ephemeris information acquisition method as provided by the first aspect and any of its possible designs.
In a fourth aspect, the present application provides an electronic device comprising a memory and one or more processors; the memory is coupled with the processor; wherein the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the ephemeris information acquisition method as provided by the second aspect and any of its possible designs.
In a fifth aspect, the present application provides a computer readable storage medium comprising computer instructions which, when run on a smart wearable device, cause the smart wearable device to perform an ephemeris information acquisition method as provided in the first aspect and any one of its possible designs.
In a sixth aspect, the present application provides a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform an ephemeris information acquisition method as provided in the second aspect and any one of its possible designs.
In a seventh aspect, the present application provides a computer program product for, when run on a computer, causing the computer to perform the ephemeris information acquisition method as provided in the first aspect and any one of its possible designs. The computer may be the aforementioned smart wearable device.
In an eighth aspect, the present application provides a computer program product which, when run on a computer, causes the computer to perform the ephemeris information acquisition method as provided in the second aspect and any one of its possible designs. The computer may be the aforementioned electronic device.
It may be appreciated that, for the benefits achieved by the electronic device according to the third aspect and any of the possible designs of the third aspect, the computer readable storage medium according to the fifth aspect, and the computer program product according to the seventh aspect, reference may be made to the benefits in the first aspect and any of the possible designs of the first aspect, which are not repeated herein.
It may be appreciated that, for the benefits achieved by the electronic device according to the fourth aspect and any of the possible designs thereof, the computer readable storage medium according to the sixth aspect, and the computer program product according to the eighth aspect, reference may be made to the benefits in the first aspect and any of the possible designs thereof, which are not repeated herein.
Drawings
Fig. 1 is a schematic flow chart of an ephemeris information obtaining method provided in the prior art;
fig. 2 is a schematic structural diagram of a positioning system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of another positioning system according to an embodiment of the present application
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an intelligent wearable device according to an embodiment of the present application;
fig. 6 is a flowchart of a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 7 is a second flowchart of a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 8 is a flowchart illustrating a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 9 is a flowchart illustrating a method for obtaining ephemeris information according to an embodiment of the disclosure;
Fig. 10 is a flowchart fifth of a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 11 is a flowchart of a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 12 is a flowchart of a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 13 is a flowchart eighth of a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 14 is a flowchart illustrating a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 15 is a flowchart illustrating a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 16 is a flowchart eleven of a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 17 is a flowchart illustrating a method for obtaining ephemeris information according to an embodiment of the disclosure;
fig. 18 is a schematic structural diagram of another smart wearable device according to an embodiment of the present application;
fig. 19 an embodiment of the present application provides a schematic structural diagram of another electronic device.
Detailed Description
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
First, related art terms referred to in the present application will be described:
ephemeris information (or ephemeris data): may also be referred to as ephemeris. The ephemeris information specifically refers to a star orbit parameter table, namely list data is used for describing the preset position of a certain star at regular intervals or the preset position of a certain artificial satellite at regular intervals. Because the star orbit is always changing, the ephemeris information is also only the star orbit within a predicted period of time, so the ephemeris information has timeliness, i.e. the ephemeris information is valid only within a certain period of time. If the ephemeris information is needed to be used for positioning, the ephemeris information needs to be periodically updated, and then an accurate positioning result can be obtained.
Standby mode (or standby state): the method and the device are mainly applied to electronic equipment such as mobile phones and tablet computers. The standby mode may specifically refer to that the electronic device returns to the desktop in a non-operating state, and the screen is in a power-off and screen-off state, which is called a standby mode, where the power consumption is extremely low.
In general, the standby module may be divided into a pure standby mode and a non-pure standby mode. In the pure standby mode, the electronic equipment does not occupy the memory by any background application operation, and the standby time is longest and the power consumption is extremely low in the mode. In the non-pure standby mode, the electronic device may have at least one third party application occupying memory, and in this mode, the power consumption is higher and the standby time is shorter than in the pure standby mode.
The standby mode or standby state mentioned in the subsequent embodiments of the present application specifically refers to a pure standby mode herein, and will not be described in detail.
Currently, smart wearable devices need to quickly determine their own position by periodically requesting ephemeris information from the electronic device with which they are associated. However, since the effective duration of the ephemeris information is 2-3 hours, in order to ensure that the intelligent wearable device can acquire the ephemeris information in time, the flow of specifically requesting the ephemeris information by the intelligent wearable device can be as shown in fig. 1.
Referring to fig. 1, the flow of the information request of the existing smart wearable device may include S101-S10:
s101, the intelligent wearable device requests ephemeris information from the electronic device.
The electronic device is an electronic device which establishes wireless communication connection with the intelligent wearable device. The wireless communication connection may be any feasible connection such as a bluetooth connection or a Wi-Fi (wireless fidelity, wireless fidelity network) connection.
S102, the intelligent wearable device judges whether ephemeris information is successfully requested.
If the request to ephemeris information is successful, then S103 is executed; if the ephemeris information is not successfully requested, S104 is performed. The intelligent point-of-penetration device may determine whether to successfully request the ephemeris information by sending the request information for requesting the ephemeris information to the electronic device, and then determining whether to receive the response information carrying the ephemeris information from the electronic device. And when the intelligent wearable device receives response information carrying the ephemeris information from the electronic device, determining that the request to the ephemeris information is successful. When the intelligent wearable device receives response information carrying ephemeris information from the electronic device, the intelligent wearable device determines that the ephemeris information is not requested.
In addition, in practice, the step S102 may not exist, and the smart wearable device may execute S103 when receiving the response information carrying the ephemeris information from the electronic device, and execute S104 when not receiving the response information carrying the ephemeris information from the electronic device.
S103, the intelligent wearable device executes S101 after the next period.
Specifically, the next period may be a period of time, and the period of time may be 2 hours or any period of time similar to the effective period of the ephemeris information.
S104, the intelligent wearable device judges whether the number of times of continuously requesting the ephemeris information from the electronic device is smaller than a preset threshold value.
If it is determined that the number of times of continuously requesting the electronic device for the ephemeris information is equal to the preset threshold, S105 is executed; if it is determined that the number of times of continuously requesting the electronic device for the ephemeris information is less than the preset threshold, S101 is performed.
The meaning of executing S104 here is that a failure of one request for ephemeris information may be caused by some accidental factor. Therefore, in order to ensure that the intelligent wearable device can request ephemeris information in time, the intelligent wearable device can be considered to be unable to request success under the current condition only if the continuous request fails after the preset threshold value is continuously requested for a plurality of times. Then, the smart watch requests again after a fixed time interval, that is, S105 is executed.
S105, the intelligent wearable device executes S101 after a fixed duration.
In order to enable the intelligent wearable device to acquire the ephemeris information as soon as possible, when the intelligent wearable device fails to request the ephemeris information from the electronic device, the request is performed again as soon as possible. The fixed time period will be less than the time period described above. For example, the fixed duration may be 20s.
Based on the above existing scheme, it can be seen that if the intelligent wearable device fails to request the ephemeris, the intelligent wearable device can request the ephemeris information to the electronic device more frequently, so that the electronic device can respond to the request frequently, the power consumption is increased, the using time is reduced, and the using experience of the user is further reduced.
In view of the foregoing, an embodiment of the present application provides an ephemeris information obtaining method, which may be applied to a positioning system as illustrated in fig. 2. The system may include an electronic device 01 and a smart wearable device 02, with a wireless communication connection (e.g., a bluetooth connection or Wi-Fi connection) established between the electronic device 01 and the smart wearable device 02. In this method, the smart wearable device 02 may re-acquire the ephemeris information from the electronic device 01 after a certain interval period if it is determined that the user is in a low dynamic state in the case that the ephemeris information is not acquired from the electronic device 01. Rather than acquiring ephemeris information from the electronic device 01 multiple times in succession as in the prior art. Wherein the certain interval duration may be smaller, for example the certain interval duration may be 20s.
In this embodiment of the present application, the low dynamic state is the first motion state mentioned in the present application, and the non-low dynamic state other than the low dynamic state is the second motion state mentioned in the present application.
Based on the technical scheme corresponding to the method, under the condition that the intelligent wearable device fails to acquire the ephemeris information from the electronic device, whether the user is in a low dynamic state or not is determined at first. When the user is in a low dynamic state, the user can not move a long distance in a short time with high probability, so that the intelligent wearable device can acquire ephemeris information for positioning after a certain interval time without updating the positioning in time. Therefore, in the case that the intelligent wearable device determines that the user is in the low dynamic state, the intelligent wearable device may acquire the ephemeris information from the electronic device after a certain interval period, instead of continuously requesting the ephemeris information from the electronic device after the failure of acquiring the ephemeris information as in the prior art. Meanwhile, the certain interval time is shorter, so that the scheme can also ensure that ephemeris information can be acquired as timely as possible when the intelligent wearable device exits from a low dynamic state, the intelligent wearable device cannot be positioned accurately, and the use experience of the user is ensured. Therefore, compared with the prior art, the scheme can ensure the experience of the user on the intelligent wearing equipment, greatly reduce the number of times that the intelligent wearing equipment acquires the ephemeris information from the electronic equipment, reduce the energy consumption of the electronic equipment and improve the use experience of the user.
The specific architecture of the positioning system that may be related to the technical solution provided in the embodiment of the present application may be shown with reference to fig. 2. The system architecture may include an electronic device 01 and a smart wearable device 02. The distance between the electronic device 01 and the smart wearable device 02 may be relatively close (e.g., the electronic device 01 is in a user's hand or in a clothing pocket, and the smart wearable device 02 is worn on the user's body).
In embodiments of the present application, a wireless communication connection (e.g., a bluetooth connection or a Wi-Fi connection) may be established between the electronic device 01 and the smart wearable device 02. The specific connection procedure may be determined by the user. Taking wireless communication connection as a bluetooth connection as an example, in the case that the electronic device 01 and the intelligent wearable device 02 do not establish bluetooth connection, the electronic device 01 and the intelligent wearable device 02 can respectively respond to the bluetooth opening operation of the user and respectively open bluetooth functions. Then, the electronic device 01 may establish a bluetooth connection with the smart wearable device 02 in response to a bluetooth pairing operation of the user. Or the smart wearable device 02 to establish a bluetooth connection with the electronic device 01 in response to a bluetooth pairing operation by the user. After the electronic device 01 and the intelligent wearable device 02 establish bluetooth connection for the first time, the electronic device 01 and the intelligent wearable device 02 can automatically establish bluetooth connection as long as the bluetooth function is opened and the distance is smaller than a certain threshold value.
The electronic device in the present application may be a mobile phone, a tablet computer, a super mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA), a personal computer (personal computer, PC), an augmented reality (augmented reality, AR) \virtual reality (VR) device, or a device capable of interacting with other devices, and the specific form of the electronic device is not limited in particular in the embodiments of the present application. Taking a mobile phone as an example of an electronic device, a specific architecture of the positioning system can be shown in fig. 3.
Taking the electronic device 01 as an example of a mobile phone, referring to fig. 4, the electronic device 01 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, a subscriber identity module (subscriber identification module, SIM) card interface 195, a positioning module 196, and the like.
The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
Wherein the gyroscopic sensor may be used to determine a motion gesture of the electronic device 01. In some embodiments, the angular velocity of the electronic device 01 about three axes (i.e., x, y, and z axes) may be determined by a gyroscopic sensor. The gyro sensor may be used for photographing anti-shake. For example, when the shutter is pressed, the gyroscope sensor detects the shake angle of the electronic device 01, calculates the distance to be compensated by the lens module according to the angle, and enables the lens to counteract the shake of the electronic device 01 through reverse movement, thereby realizing anti-shake. The gyroscopic sensor may also be used to navigate, somatosensory a game scene.
The acceleration sensor may detect the magnitude of acceleration of the electronic device 01 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 01 is stationary. The intelligent wearable device can be used for identifying the gesture of the intelligent wearable device, and can be applied to applications such as horizontal and vertical screen switching and pedometers.
The gyroscope sensor and the acceleration sensor may be combined to determine motion data such as a direction of motion, a speed of motion, etc. of a user holding the electronic device 01.
It should be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 01. In other embodiments of the present application, the electronic device 01 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor neural network processor (neural-network processing unit, NPU), and/or a micro control unit (micro controller unit, MCU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural center and a command center of the electronic device 01. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, a serial peripheral interface (serial peripheral interface, SPI), an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present invention is only illustrative, and does not limit the structure of the electronic device 01. In other embodiments of the present application, the electronic device 01 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 01 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 01 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on the electronic device 01. The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wi-Fi network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), NFC, infrared (IR), etc. applied to the electronic device 01.
The electronic device 01 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display screen may be a touch screen. In some embodiments, the electronic device 01 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 01 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like. The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture still images or video. In some embodiments, the electronic device 01 may include 1 or N cameras 193, N being a positive integer greater than 1.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent cognition of the electronic device 01 can be realized through the NPU, for example: the method comprises the following steps of film state recognition, image restoration, image recognition, face recognition, voice recognition, text understanding and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 01. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 01 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 01 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 01 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
A touch sensor, also known as a "Touch Panel (TP)". The touch sensor may be disposed on the display screen 194, and the touch sensor and the display screen 194 form a touch screen, which is also referred to as a "touch screen". The touch sensor is used to detect a touch operation acting on or near it. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor may also be disposed on the surface of the electronic device 01 at a different location than the display 194.
The keys 190 include a power-on key, a volume key, etc. The motor 191 may generate a vibration cue. The indicator 192 may be an indicator light, which may be used to indicate a state of charge, a change in power, a message, a missed call, a notification, etc. The SIM card interface 195 is used to connect a SIM card.
The positioning module 196 may be used to obtain positioning information, such as ephemeris information. The positioning module 196 may be, for example, a GPS (global positioning system ) module.
It should be noted that the structure illustrated in the embodiment of the present invention does not limit the electronic device. More or fewer components than shown may be included, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The intelligent wearable device in the embodiment of the application can be an intelligent wearable device such as an intelligent watch or an intelligent bracelet capable of collecting physiological characteristics and/or motion data of a user. Wherein the physiological characteristic may comprise at least one of heart rate, pulse, blood pressure. The motion data may include at least one of a direction of motion, a speed of motion, and the like. In this way, the smart wearable device may determine the status of the user based on the physiological characteristics and/or motion data of the user collected by itself. Taking a smart watch as an example of a smart wearable device, a specific architecture of the positioning system may be shown in fig. 3.
Fig. 5 shows a schematic structural diagram of a smart wearable device.
Specifically, referring to fig. 5, the smart wearable device 02 may include a processor 210, a memory 220, a display 230, a microphone 240, a speaker 250, a wireless communication module 260, an antenna, a power supply 270, and a sensor 280.
Processor 210 may include one or more processing units such as, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (imagesignal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a Neural network processor (Neural-network Processing Unit, NPU), etc. Wherein, the different processing units can be independent devices or integrated in the same processor.
The controller may be a decision maker directing the various components of the smart wearable device 02 to work in concert as instructed. Is a neural center and a command center of the intelligent wearable device 02. The controller generates an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 210 for storing instructions and data. In some embodiments, the memory in the processor is a cache memory. Instructions or data that the processor has just used or recycled may be saved. If the processor needs to reuse the instruction or data, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor is reduced, so that the efficiency of the system is improved.
In some embodiments, processor 210 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
Memory 220 may be used to store computer executable program code that includes instructions. The processor 210 executes various functional applications of the smart wearable device 02 and data processing by executing instructions stored in the memory 220. The memory 220 may include a stored program area and a stored data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the smart wearable device 02 (e.g., audio data, phonebook, etc.), and so on. In addition, memory 220 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, other volatile solid-state storage devices, universal flash memory (universal flash storage, UFS), and the like.
The display 230 is used to display images, videos, and the like. The display screen includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a mini, a micro led, a micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like.
A microphone 240, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, a user can sound near the microphone through the mouth, inputting a sound signal to the microphone. The smart wearable device 02 may be provided with at least one microphone.
The speaker 250, also called "horn", is used to convert audio electrical signals into sound signals. The smart wearable device 02 may listen to music through a speaker or to a hands-free conversation.
The antenna is used for transmitting and receiving electromagnetic wave signals.
The wireless communication module 260 may provide a communication processing module that is applied on the smart wearable device 02 and includes solutions for wireless communication such as wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi)), bluetooth, global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), and the like. The wireless communication module 260 may be one or more devices that integrate at least one communication processing module. The communication module receives electromagnetic waves through the antenna, modulates the electromagnetic wave signals, filters the electromagnetic wave signals and sends the processed signals to the processor. The wireless communication module 260 may also receive a signal to be transmitted from the processor, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna.
In some embodiments, the antenna of the smart wearable device 02 is coupled with the wireless communication module 260. So that the smart wearable device 02 can communicate with the network and other devices through wireless communication technology.
The sensor 280 may include a gyroscope sensor, an acceleration sensor, a photoplethysmography (photo plethysmography, PPG) sensor (which may also be referred to as an optical heart rate sensor), a bone conduction sensor, a photoelectric sensor, an oximetry sensor, a MIC, and the like.
Wherein the gyroscopic sensor may be used to determine a motion pose of the smart wearable device 02. In some embodiments, the angular velocity of the smart wearable device 02 about three axes (i.e., x, y, and z axes) may be determined by a gyroscopic sensor. The gyro sensor may be used for photographing anti-shake. For example, when the shutter is pressed down, the gyroscope sensor detects the shake angle of the intelligent wearing device 02, calculates the distance to be compensated by the lens module according to the angle, and enables the lens to counteract the shake of the intelligent wearing device 02 through reverse movement, so as to realize anti-shake. The gyroscopic sensor may also be used to navigate, somatosensory a game scene.
The acceleration sensor may detect the magnitude of acceleration of the smart wearable device 02 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the smart wearable device 02 is stationary. The intelligent wearable device 02 can be used for identifying the gesture of the intelligent wearable device 02, and can be applied to applications such as horizontal and vertical screen switching and pedometers.
The gyroscope sensor and the acceleration sensor may determine motion data such as a motion direction, a motion speed, etc. of the user wearing the smart wearable device 02 in combination.
Touch sensors, also known as "touch panels". Can be arranged on a display screen. For detecting a touch operation acting on or near it. The detected touch operation may be communicated to an application processor to determine the touch event type and provide a corresponding visual output through the display screen.
Photoplethysmography sensors can use photoplethysmography techniques for detection of the heart rate of the human body.
The bone conduction sensor may acquire a vibration signal. In some embodiments, the bone conduction sensor may acquire a vibration signal of the human vocal tract vibrating the bone pieces. The bone conduction sensor can also contact the pulse of a human body to receive the blood pressure jumping signal. The processor can analyze heart rate information based on the blood pressure beating signals acquired by the bone conduction sensor, so that a heart rate detection function is realized.
The photoelectric sensor can collect pulse wave waveforms of the part of the human body wearing the intelligent wearing equipment 02. Then the processor can estimate the blood pressure value according to the characteristic parameters of the rising slope of the pulse waveform acquired by the photoelectric sensor, the time of the wave band and the like and a specific calculation formula.
The blood oxygen concentration sensor may include two light emitting diodes and one photodiode, respectively emitting red light having a wavelength of 660nm and infrared light having a wavelength of 880nm toward the wrist, and receiving the reflected light through the photodiode at the other side. The blood oxygen concentration sensor can calculate the blood oxygen concentration of the human body through the light intensity difference between the emission and the receiving.
It should be noted that, the structure illustrated in the embodiment of the present invention does not constitute a limitation on the smart wearable device. More or fewer components than shown may be included, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Based on the positioning system shown in fig. 4, taking an electronic device as a mobile phone and an intelligent wearable device as an intelligent watch as an example, referring to fig. 6, the ephemeris information obtaining method provided in the embodiment of the application may include S601-S605:
s601, the intelligent watch sends an ephemeris acquisition request to the mobile phone.
Wherein the ephemeris acquisition request is for requesting ephemeris information. The ephemeris information requested by the ephemeris acquisition request in the present application is specifically the latest ephemeris information.
By way of example, S601 may be specifically performed in the following scenarios:
(1) The smart watch has just established a scenario of wireless communication connection with the handset. In this scenario, in order to determine the self-positioning in time, the smart watch may send an ephemeris acquisition request to the mobile phone to quickly position after acquiring the ephemeris information.
(2) The ephemeris information currently used by the smart watch has failed (i.e., the validity period has elapsed), or is about to fail. In this scenario, because the ephemeris information currently used by the smart watch is already or will not be able to be accurately located, the smart watch needs to send an ephemeris acquisition request to the handset to accurately locate after the new ephemeris information is acquired.
(3) The last time the smart watch sent an ephemeris acquisition request to the mobile phone, the scene of the ephemeris information is not successfully requested. In this scenario, the ephemeris acquisition request needs to be resent because the smart watch cannot acquire the required ephemeris information. It should be noted that, in order to reduce the number of times that the smart watch transmits the ephemeris acquiring request to the mobile phone as much as possible, the energy consumption is reduced, and the smart watch needs to transmit the ephemeris acquiring request to the mobile phone again after a period of time (i.e. a first preset time period mentioned later) is required after failing to successfully request the ephemeris information.
Of course, S601 may be implemented in any other feasible scenario, which is merely an example, and the present application is not limited thereto.
In addition, it is meaningless to acquire ephemeris information for positioning when the smart watch is in an unworn state (i.e., the smart watch is not being worn by the user). Based on this, in the embodiment of the present application, S601 may specifically be that the smart watch sends an ephemeris acquiring request to the mobile phone when in the worn state.
S602, under the condition that the intelligent watch does not receive an ephemeris acquisition response corresponding to an ephemeris acquisition request from the mobile phone, acquiring physiological characteristics and/or motion data of the user, and determining the motion state of the user according to the physiological characteristics and/or motion data of the user.
Wherein the ephemeris acquisition response carries ephemeris information. When the smart watch does not receive the ephemeris acquisition response corresponding to the ephemeris acquisition request from the mobile phone, the smart watch may be considered to fail to acquire the ephemeris information from the mobile phone.
In addition, in practice, after the smart watch sends the ephemeris acquiring request to the mobile phone, only if the corresponding ephemeris acquiring response is received in a short time (for example, 5 ms), the smart watch can be considered to normally receive the ephemeris acquiring response, otherwise, the smart watch is considered to not receive the ephemeris acquiring response. Based on this, S602 may specifically be that the smart watch does not receive an ephemeris acquisition response from the mobile phone corresponding to the ephemeris acquisition request within the target duration, acquires physiological characteristics and/or motion data of the user, and determines a motion state of the user according to the physiological characteristics and/or motion data of the user. The target duration may be, for example, 5ms.
The target duration corresponds to a second preset duration mentioned in the application.
In the application, the user specifically refers to a user wearing a smart watch. Wherein the motion state includes a non-low dynamic state or a low dynamic state.
The smart watch may not receive the ephemeris acquiring response of the corresponding ephemeris acquiring request from the mobile phone, where the following scenarios may exist:
(1) As shown in fig. 7, the smart watch fails to send an ephemeris acquisition request to the handset. In an existing communication protocol, such as a transmission control protocol (transmission control protocol, TCP), after the smart watch sends an ephemeris acquisition request to the mobile phone, if the mobile phone successfully receives the ephemeris acquisition request, the mobile phone may send a corresponding Acknowledgement (ACK) message to the smart watch. So after sending the ephemeris acquisition request to the handset, if the corresponding ACK message from the handset is not received within a first time period (e.g. 5 ms), the smart watch can determine that the smart watch will not be able to receive the ephemeris acquisition response of the corresponding ephemeris acquisition request from the handset.
(2) As shown in fig. 8, the smart watch successfully transmits an ephemeris acquisition request to the handset, but the handset fails to successfully transmit an ephemeris acquisition response corresponding to the ephemeris acquisition request to the smart watch. In this scenario, the smart watch has sent an ephemeris acquisition request to the handset and also received a responsive ACK message within the first time period. But then no ephemeris acquisition response from the handset corresponding to the ephemeris acquisition request is received for a second period of time (e.g., 10 ms).
In this scenario, possible reasons for the smart watch failing to receive the ephemeris acquisition response from the handset may then include: the mobile phone receives the ephemeris information acquired after the ephemeris acquisition request, but fails to successfully send a first ephemeris acquisition response carrying the ephemeris information to the intelligent watch within a second time period due to various possible reasons such as a network; the mobile phone cannot successfully acquire the ephemeris information after receiving the ephemeris acquisition request, so that a first ephemeris acquisition response carrying the ephemeris information cannot be sent to the intelligent watch.
(3) As shown in fig. 9, the smart watch successfully transmits an ephemeris acquisition request to the mobile phone, and the mobile phone also successfully transmits a first response corresponding to the response information of the ephemeris acquisition request to the smart watch. But the first response does not carry ephemeris information but carries similar indication information indicating that no information is acquired. In this scenario, the smart watch has sent an ephemeris acquisition request to the handset and also received a responsive ACK message within the first time period. Then a first response from the handset corresponding to the ephemeris acquisition request is also received within a second time period. But the first response does not carry ephemeris information. At this time, the smart watch may confirm that the ephemeris acquisition response corresponding to the ephemeris acquisition request from the mobile phone is not received.
By way of example, the low dynamic state may include a state in which the user does not move a large distance (e.g., 10m and above) for a short time (e.g., a predetermined period of time) such as a sleep state, a meditation state, and the like. For example, a user may be asleep during the night (e.g., 23:00-7:00) when the user is asleep, and the user is not moving a large distance (e.g., a predetermined distance) for a short period of time. For another example, the user may be asleep at noon (e.g., 12:00-14:00) when he is at noon, where he does not move a large distance for a short period of time. For another example, when the user performs meditation training in a stationary place, the user is in meditation, and the user does not move a large distance in a short time. Of course, the dynamic scenario in which the user is in a sleep state, meditation state, or the like may be any other possible scenario, which is not particularly limited in this application.
The physical characteristics and/or the motion data of the user acquired by the smart watch can be acquired in real time or periodically after the user wears the smart watch, can be acquired in real time or periodically after the ephemeris acquisition request is sent to the mobile phone, and can be acquired in real time or periodically under the condition that the smart watch fails to acquire corresponding ephemeris information from the mobile phone after sending the ephemeris acquisition request to the mobile phone. This is not particularly limited in this application.
How the smart watch collects the physiological characteristics and/or the movement data of the user can refer to the related description of the smart wearable device 02 shown in fig. 5 in the foregoing embodiments, and will not be repeated here.
Taking the low dynamic state as the sleep state as an example, the physiological characteristics of the user when not in the sleep state are different from those when in the sleep state. For example, in a normal state, the blood pressure of the user is higher when not in the sleep state than when in the sleep state; the pulse of the user when not in the sleep state is higher than the pulse of the user when in the sleep state; the heart rate of the user when not in sleep state may be higher than the heart rate of the user when in sleep state.
If the sleep state of the user is taken as a decision basis by the heart rate of the user, and the heart rate of the user in the sleep state is assumed to be 50-60 times/min, the heart rate of the user in the non-sleep state can be 60-80 times/min.
In addition, the movement data of the user when not in the sleep state is also different from the movement data of the user when in the sleep state. For example, in a normal state, the movement data amount of the user when not in a sleep state is larger than the movement data amount of the user when the user falls asleep; the intensity of the movement of the user when not in the sleep state may also be higher than the intensity of the movement of the user when in the sleep state (e.g., the direction of movement of the user when not in the sleep state may be greater than the direction of movement of the user when in the sleep state, and the speed of movement of the user when not in the sleep state may be greater than the speed of movement of the user when in the sleep state).
Taking the low dynamic state as the meditation state as an example, the physiological characteristics of the user when not in meditation state are also different from those when in meditation state. For example, in a normal state, the blood pressure of the user is higher when not in meditation than when in meditation; the pulse of the user when not in meditation will be higher than the pulse of the user when in meditation; the heart rate of the user when not in meditation may be higher than the heart rate of the user when in meditation.
If the meditation state of the user is based on the heart rate of the user and the heart rate of the user in meditation state is assumed to be 50-60 times/min, the heart rate of the user in non-meditation state may be 60-80 times/min.
In addition, the movement data of the user when not in the meditation state is also different from the movement data of the user when in the meditation state. For example, in a normal state, the amount of exercise data of the user when not in meditation is larger than the amount of exercise data of the user when having fallen asleep; the intensity of the movement of the user when not in the meditation state may also be higher than the intensity of the movement of the user when in the meditation state (for example, the direction of movement of the user when not in the meditation state is greater than the direction of movement change block of the user when in the meditation state, and the speed of movement of the user when not in the meditation state may be greater than the speed of movement of the user when in the sleep state).
Based on the above examples, it can be seen that the physiological characteristics and/or motion data of the low dynamic state and the non-low dynamic state are different, so the smart watch can estimate whether the user is in the low dynamic state or the non-low dynamic state according to the physiological characteristics and/or motion data of the user.
In addition, when the smart watch acquires the ephemeris information from the mobile phone, the smart watch can send the ephemeris acquisition request to the mobile phone again after the third preset time period. The third preset duration is similar to the effective duration of the ephemeris information, for example, the effective duration of the ephemeris information is 2-3 hours, and the third preset duration may be 2.5 hours.
Therefore, the intelligent watch can acquire the ephemeris information again under the condition that the effective duration of the ephemeris information is over or about to expire, so that the intelligent watch can be positioned accurately, and the use experience of a user is improved.
S603, the intelligent watch sends an ephemeris acquiring request to the mobile phone after a first preset duration under the condition that the motion state of the user is a low dynamic state.
The first preset duration may specifically be a first preset duration after the smart watch sends the ephemeris obtaining request to the mobile phone in S601, or a first preset duration from when the smart watch does not receive the ephemeris obtaining response corresponding to the ephemeris obtaining request from the mobile phone in S602, or a first preset duration from any feasible time before the smart watch determines that the motion state of the user is in the low dynamic state after the smart watch sends the ephemeris obtaining request to the mobile phone in S601.
The user in the low dynamic state does not move a large distance for a short time. Therefore, even if the smart watch fails to request the ephemeris information from the mobile phone (namely, fails to receive the corresponding ephemeris acquisition response), the smart watch can request the ephemeris information from the mobile phone again after the first preset time period without re-requesting the ephemeris information as soon as possible. Based on this, in the case that the smart watch determines that the user is in the low dynamic state, the smart watch may send an ephemeris acquisition request to the electronic device after the first preset time period, i.e. perform S603.
In order to prevent the smart watch from failing to acquire the ephemeris information in time when the user exits the low dynamic state, the first preset duration may be smaller, for example, 20s, because the duration of the user in the low dynamic state may not be particularly long. Therefore, the request times when the intelligent watch fails to acquire the ephemeris information from the mobile phone can be reduced, the intelligent watch can acquire the ephemeris information from the mobile phone as much as possible, and user experience is guaranteed.
In addition, because in practice, under the situation that the user is in a low dynamic state, there may be a situation that the network environment where the smart watch and/or the mobile phone is located is not good (for example, taking a low dynamic state as an meditation state as an example, the user guarantees his/her own smooth meditation, and is not affected by the outside, the network of the mobile phone may be closed, or meditation is performed in a remote location where the network signal instruction is bad, or the mobile phone is placed in a remote location from the user, which results in poor wireless communication connection instruction between the mobile phone and the smart watch), which may result in that the smart watch cannot successfully acquire ephemeris information from the mobile phone for a long period of time. At this time, if the smart watch fails to acquire the ephemeris information from the mobile phone each time, the ephemeris information is acquired again from the mobile phone after a fixed interval duration, that is, the ephemeris acquisition request is sent again to the mobile phone. The smart watch can also be caused to perform nonsensical actions of sending the ephemeris acquisition request for a plurality of times to a certain extent, and the energy consumption of the smart watch and the mobile phone is increased.
Based on this, in order to reduce the power consumption of the smart watch and the mobile phone, the first preset duration may be moderately increased under the condition that the ephemeris information is not successfully acquired from the mobile phone for a plurality of times. For example, assuming that the smart watch fails to acquire ephemeris information from the mobile phone 12 times in succession, the first preset duration corresponding to the twelve failures may be: 20s, 5min, 20s 30min, 20s, 60min. And if the smart watch fails to acquire the ephemeris information again from the mobile phone, the first preset duration can continue to circulate according to the sequence. If the first preset duration corresponding to the first failure before the success of obtaining the ephemeris information from the mobile phone is 5min, the smart watch can continue to circulate according to the sequence if the failure occurs again after the current success.
Of course, in practice, the specific change of the first preset time period needs to be determined according to the practice, and the foregoing is only a possible example, which is not specifically limited in the present application.
S604, judging whether the number of times of continuously sending ephemeris acquisition requests to the mobile phone is smaller than a preset threshold value or not by the intelligent watch under the condition that the motion state of the user is a non-low dynamic state.
In the case where the user is not in the low dynamic state, i.e., the user is in the non-low dynamic state, the user may move a large distance in a short time. Therefore, if the smart watch fails to request the ephemeris information from the mobile phone, the smart watch needs to re-request the ephemeris information as soon as possible, i.e. S601 is executed. In practice, however, if the current conditions (e.g., a broken network of the handset, poor quality of the wireless communication connection between the smart watch and the handset, etc.) do not cause the smart watch to obtain ephemeris information from the handset. In this case, the smart watch may repeatedly request ephemeris information from the mobile phone and fail, resulting in large signaling consumption, increased power consumption of both the smart watch and the mobile phone, and little effect on the smart watch to acquire ephemeris information from the mobile phone. In order to avoid meaningless signaling consumption, the smart watch is practically limited to continuously and repeatedly request the ephemeris information at most for a preset threshold number of times. Based on this, in the case that the smart watch acquires the ephemeris information from the mobile phone and the user is not in the low dynamic state, before the smart watch resends the ephemeris acquisition request to the mobile phone, it needs to determine whether the number of times the smart watch continuously requests the ephemeris information from the mobile phone is smaller than the preset threshold, that is, S604 is executed. Of course, two requests in succession in this application do not mean that there is no time interval between the two requests, but rather that the time interval is extremely small. This very small time interval is in particular the time it takes for the smart watch to determine whether ephemeris information is received from the handset, i.e. the time it takes for the smart watch to determine whether it has successfully acquired the ephemeris information from the handset itself.
And when the smart watch determines that the number of times of continuously sending the ephemeris acquiring request to the mobile phone is smaller than the preset threshold, the smart watch can continue to send the ephemeris acquiring request to the mobile phone, namely, S601 is executed. When the smart watch determines that the number of times of continuously sending the ephemeris acquiring request to the mobile phone is equal to the preset threshold, the smart watch may send the ephemeris acquiring request to the mobile phone again after the first preset duration, that is, execute S601 after the first preset duration.
In summary, if the smart watch determines that the number of times of sending the ephemeris acquisition request to the mobile phone is less than the preset threshold, S601 is executed; in case the smart watch determines that the number of times of sending ephemeris acquisition requests to the handset is equal to a preset threshold, S605 is executed.
The preset threshold may be, for example, 4. The determining manner of the preset threshold value may be: the result statistics of the ephemeris information obtained by the smart watch from the mobile phone under the normal network condition is firstly carried out, and if the fact that the smart watch can obtain the ephemeris information from the mobile phone only by N times is determined, the preset threshold value can be set to be N. The specific value of the preset threshold may be determined according to the actual situation, which is only an example, and the present application does not specifically limit this.
S605, the intelligent watch executes S601 after a first preset time period.
Based on the technical scheme corresponding to S601-S604, in the case that the smart watch fails to acquire ephemeris information from the mobile phone by sending an ephemeris acquisition request to the mobile phone, the smart watch may first determine whether the user is currently in a low dynamic state. When the user is in a low dynamic state, the user can not move a long distance in a short time with high probability, so that the smart watch does not need to immediately send the ephemeris acquisition request to the mobile phone again at the moment, and can send the ephemeris acquisition request to the mobile phone after a certain interval time to acquire ephemeris information from the mobile phone for positioning. Therefore, under the condition that the smart watch determines that the user is in a low dynamic state, the smart watch can send the ephemeris acquiring request to the mobile phone after a certain interval time, instead of continuously sending the ephemeris acquiring request to the mobile phone after the ephemeris information acquiring failure from the mobile phone as in the prior art, so that the request times of the smart watch under the condition that the ephemeris information acquiring failure from the mobile phone is reduced. For example, if the preset threshold is 4, and each time the smart watch fails to acquire the ephemeris information from the mobile phone, the smart watch cannot acquire the ephemeris information from the mobile phone four times in succession due to the network environment problem. The technical scheme can reduce the request times of 3/4 under the condition that the intelligent watch fails to acquire the ephemeris information from the mobile phone, and reduce the processing times of the mobile phone 3/4 on the ephemeris acquisition request, thereby reducing the power consumption of the mobile phone and the intelligent watch. Meanwhile, the certain interval time is shorter, so that the scheme can also ensure that ephemeris information can be acquired as timely as possible when the intelligent watch is in a low-dynamic state, so that the intelligent watch cannot be positioned accurately when the user is prevented from exiting from the low-dynamic state, and the use experience of the user is ensured. Therefore, compared with the prior art, the scheme provided by the embodiment of the application can reduce the number of times that the smart watch transmits the ephemeris acquiring request to the mobile phone while ensuring the experience of the user on the smart watch, reduce the number of times that the mobile phone responds to the ephemeris acquiring request from the smart watch, reduce the energy consumption of the mobile phone and the smart watch, and improve the use experience of the user.
In practice, when the mobile phone is not in a standby state (for example, a certain third party application is operated in the foreground or background of the mobile phone), the number of times that the mobile phone responds to an ephemeris acquisition request sent by the smart watch is reduced, and the reduced energy consumption is very little compared with the current normal energy consumption of the mobile phone, so that the assistance of improving the user experience is not great. It is also difficult for the user to perceive a reduction in energy consumption of the mobile phone in this case. And when the mobile phone is in a standby state, the number of times that the mobile phone responds to an ephemeris acquisition request sent by the smart watch is reduced, and the reduced energy consumption is obvious compared with the standby energy consumption of the mobile phone. The user may also perceive a reduction in energy of the cell phone from the standby period. Based on this, in some embodiments, in order to reduce the energy consumption of the mobile phone and prolong the standby time of the mobile phone, the user is brought with more obvious perception, and the use experience of the user is improved. Referring to fig. 10 in conjunction with fig. 6, S603 may be specifically replaced with S6031 and S6032:
s6031, under the condition that the motion state of the user is a low dynamic state, the intelligent watch acquires the use state of the mobile phone from the mobile phone.
The usage state may be a standby state or a non-standby state. When the mobile phone is in a standby state, the mobile phone is off-screen and has no background application.
In one implementation, the mobile phone may send the usage status of the mobile phone to the smart watch in real time after establishing a wireless communication connection with the smart watch. So that the intelligent watch can acquire the wearing state of the mobile phone in time.
In another implementation manner, the smart watch may send an acquisition request to the mobile phone to request to acquire the usage state if it is determined that the user is in a low dynamic state. The mobile phone can send the use state of the mobile phone to the smart watch after receiving the acquisition request from the smart watch. Compared with the mode that the intelligent watch obtains the use state of the mobile phone in the former implementation mode, the mode can reduce signaling interaction between the intelligent watch and the mobile phone and reduce energy consumption.
S6032, under the condition that the using state of the mobile phone is a standby state, the intelligent watch sends an ephemeris acquiring request to the mobile phone after a first preset duration.
In addition, when the usage state of the mobile phone is the non-standby state, the smart watch may directly continue to send the ephemeris acquiring request to the mobile phone, that is, execute S601.
Based on the technical scheme corresponding to the S6031-S6032, when the intelligent watch fails to acquire the ephemeris information from the mobile phone and the user is in a low dynamic state, the ephemeris acquisition request is sent to the mobile phone again after a first preset time period is spaced only when the mobile phone is in a standby state. That is, the smart watch reduces the number of ephemeris acquisition requests sent to the phone only when the phone is in a standby state. Therefore, the technical scheme provided by the application can reduce the number of times that the mobile phone responds to the ephemeris acquisition request sent by the intelligent watch when the mobile phone is in the standby state, so that the reduced energy consumption of the mobile phone can be perceived by a user more obviously, the standby time of the mobile phone is prolonged, and the use experience of the user is improved.
In some embodiments, in addition to the smart watch collecting movement data of the user, the cell phone may also collect movement data of the user. In the foregoing embodiment, the manner in which the smart watch acquires the physiological data and/or the motion data of the user is self-acquisition, and in addition, the smart watch may acquire the motion data of the user from the mobile phone on the basis of self-acquisition of the physiological data and/or the motion data of the user. After receiving the motion data of the user from the mobile phone, the smart watch can more accurately determine whether the user is in a low dynamic state according to the physiological characteristics and/or the motion data of the user collected by the smart watch and the motion data of the user from the mobile phone. So referring to fig. 11 in conjunction with fig. 6, S602 may further include S602A before S602, and S602 may be replaced with S602':
S602A, the mobile phone collects motion data of a user and sends the motion data to the intelligent watch.
The specific manner in which the mobile phone obtains the motion data of the user may be according to the related description of the electronic device shown in fig. 4 in the foregoing embodiment, which is not described herein again. The mobile phone can acquire the motion data of the user in real time or periodically and send the motion data to the intelligent watch, or acquire the motion data in real time or periodically when or after the intelligent watch sends an ephemeris acquisition request to the mobile phone, or acquire the ephemeris information in real time or periodically when the intelligent watch fails to acquire corresponding ephemeris information from the mobile phone after sending the ephemeris acquisition request to the mobile phone. This is not particularly limited in this application.
S602', under the condition that ephemeris information is not acquired from the mobile phone, the intelligent watch acquires physiological characteristics and/or motion data of the user and receives the motion data of the user from the mobile phone, and then determines the motion state of the user according to all the physiological characteristics and/or motion data of the user.
Wherein the motion state may include a non-low dynamic state and a low dynamic state.
In this way, the smart watch can more accurately determine the motion state of the user according to the richer physiological characteristics and/or motion data of the user, so as to ensure the accurate time for subsequently reducing the sending times of the ephemeris acquisition request, i.e. ensure that the step S603 is actually performed more accurately.
In the foregoing embodiments, the smart watch performs calculation and analysis on the physiological characteristics and/or the motion data of the user to determine the motion state of the user, and in other embodiments, the smart watch may also determine the motion state of the user by using a mobile phone. Under the condition, the smart watch can send the physiological characteristics and/or the motion data of the user acquired by the smart watch to the mobile phone, so that the mobile phone calculates and analyzes the physiological characteristics and/or the motion data of the user to obtain the motion state of the user. After that, the smart watch can receive the state information sent by the mobile phone and used for indicating the motion state of the user, and then carry out the subsequent related method flow. In this case, in the embodiment of the present application, referring to fig. 12 in conjunction with fig. 6, S602 may be replaced with S602", S602 and S603 may be preceded by S603A, S603 may be replaced with S603', and S604 may be replaced with S604'.
S602', under the condition that the ephemeris information is not acquired from the mobile phone, the smart watch acquires physiological characteristics and/or motion data of the user and sends the physiological characteristics and/or motion data of the user acquired by the smart watch to the mobile phone.
The specific time for the smart watch to acquire the physiological characteristics and/or the movement data of the user may refer to the related description in the foregoing embodiment, which is not described herein.
S603A, the mobile phone receives physiological characteristics and/or motion data of the user from the intelligent watch, and sends state information for indicating the motion state of the user to the intelligent watch after determining the motion state of the user according to the physiological characteristics and/or motion data of the user.
How the mobile phone determines the motion state of the user may refer to the related description after S602 in the foregoing embodiment, which is not repeated here.
It should be noted that, in the case that the mobile phone may also collect the motion data of the user, in order to make the determination result of whether the user is in the low dynamic state more accurate, S603A may specifically be: the mobile phone collects motion data of the user, receives physiological characteristics and/or motion data of the user from the intelligent watch, and sends state information for indicating the motion state of the user to the intelligent watch after determining the motion state of the user according to all the physiological characteristics and/or motion data of the user.
S603', the intelligent watch receives state information from the mobile phone, and sends an ephemeris acquisition request to the mobile phone after a first preset duration when the state information indicates that the motion state of the user is a non-low dynamic state.
S604', the intelligent watch receives state information from the mobile phone, and judges whether the number of times of continuously sending ephemeris acquisition requests to the mobile phone is smaller than a preset threshold value under the condition that the state information indicates that the motion state of the user is in a low dynamic state.
Executing S601 under the condition that the smart watch determines that the number of times of sending ephemeris acquisition requests to the mobile phone is smaller than a preset threshold value; in case the smart watch determines that the number of times of sending ephemeris acquisition requests to the handset is equal to a preset threshold, S605 is executed.
Based on the scheme, because the judgment of whether the user is in the low dynamic state can be carried out on the mobile phone, the requirement of the ephemeris information acquisition method provided by the embodiment of the application on the processing computing capacity of the intelligent watch is reduced, and the energy consumption of the intelligent watch is further reduced.
In one possible scenario, in order to further reduce the number of times the smart watch sends ephemeris acquisition requests to the handset, the energy consumption of the smart watch is reduced. The smart watch may not actively send the ephemeris acquisition request to the mobile phone, and the smart watch may acquire the ephemeris information from the mobile phone in such a manner that the mobile phone actively sends the ephemeris information to the smart watch. In this case, based on the positioning system shown in fig. 4, taking an electronic device as a mobile phone and an intelligent wearable device as an intelligent watch as an example, referring to fig. 13, the ephemeris information obtaining method provided in the embodiment of the application may include S1301-S1306:
S1301, the mobile phone sends ephemeris information to the intelligent watch.
Specifically, in the embodiment of the present application, the mobile phone may specifically obtain ephemeris information through its own positioning module (e.g. GPS module).
S1301 may be performed, for example, in the following scenarios:
(1) The smart watch has just established a scenario of wireless communication connection with the handset. In this scenario, in order to enable the smart watch to determine its own positioning in time, the mobile phone may send ephemeris information to the smart watch, so that the smart watch may quickly position after obtaining the ephemeris information.
(2) The handset determines a scenario in which the last ephemeris information sent to the smart watch has been spent (i.e., the validity period has elapsed), or is about to be spent. In this scenario, because the last time the phone sent ephemeris information to the smart watch has or will not be able to accurately locate, the phone needs to resend the ephemeris information to the smart watch so that the smart watch can accurately locate with the new ephemeris information.
(3) The last time the mobile phone sends ephemeris information to the smart watch, the smart watch cannot successfully acquire the ephemeris information scene. In this scenario, the smart watch is required to retransmit the ephemeris information because it cannot acquire the required ephemeris information. It should be noted that, in order to reduce the number of times that the mobile phone transmits the ephemeris information to the smart watch as much as possible, to reduce the energy consumption, the mobile phone needs to transmit the ephemeris information to the smart watch again after a period of time (for example, 20 s) is required when the mobile phone fails to transmit the ephemeris information to the smart watch.
Of course, S1301 may be implemented in any other feasible scenario, which is just an example, and the present application is not limited in particular.
In addition, it is meaningless to acquire ephemeris information for positioning when the smart watch is in an unworn state (i.e., the smart watch is not being worn by the user). Based on this, in the embodiment of the present application, S1301 may specifically be that the mobile phone sends ephemeris information to the smart watch when the smart watch is in the worn state.
In an implementation manner, after the wireless communication connection is established by the mobile phone, the smart watch can transmit the wearing state (specifically, the indicating information indicating the wearing state) of the smart watch to the mobile phone in real time, so that the mobile phone can acquire the wearing state of the smart watch in time. Wherein the worn state includes a worn state and an unworn state.
In another implementation, the mobile phone may send an acquisition request to the smart watch requesting acquisition of the wearing state before the ephemeris information needs to be sent to the smart watch. The smart watch may send the wearing state of the smart watch to the mobile phone after receiving the acquisition request from the mobile phone. Compared with the mode that the mobile phone obtains the wearing state of the intelligent watch in the former implementation mode, the mode can reduce signaling interaction between the intelligent watch and the mobile phone and reduce energy consumption.
S1302, the mobile phone sends first indication information to the intelligent watch under the condition that the mobile phone fails to send the ephemeris information to the intelligent watch.
The first indication information is used for indicating that the ephemeris information is failed to be sent and indicating that the intelligent watch feeds back the motion state of the user.
In this embodiment of the present application, a scenario that the mobile phone fails to send the ephemeris information to the smart watch may be as shown in fig. 14, where the mobile phone fails to send the ephemeris information to the smart watch. In an existing communication protocol, such as a transmission control protocol (transmission control protocol, TCP), after the mobile phone sends ephemeris information to the smart watch, if the smart watch successfully receives the ephemeris information, the smart watch may send a corresponding Acknowledgement (ACK) message to the mobile phone. So after sending the ephemeris information to the smart watch, if the mobile phone does not receive the corresponding ACK message from the smart watch within the first time period (e.g. 5 ms), it can be determined that the mobile phone fails to send the ephemeris information to the smart watch.
In the application, when the mobile phone fails to send the ephemeris information to the smart watch, the mobile phone indicates that the mobile phone fails to send the ephemeris information to the smart watch, and the smart watch indicates that the smart watch fails to acquire the ephemeris information from the mobile phone.
In addition, under the condition that the mobile phone determines that the ephemeris information is successfully transmitted to the smart watch, the mobile phone can send the ephemeris acquisition request to the mobile phone again after the third preset duration. The third preset duration is similar to the effective duration of the ephemeris information, for example, the effective duration of the ephemeris information is 2-3 hours, and the third preset duration may be 2.5 hours.
Therefore, the mobile phone can send the ephemeris information to the intelligent watch again under the condition that the effective duration of the ephemeris information sent to the intelligent watch last time is over or about to expire, so that the intelligent watch can be accurately positioned, and the use experience of a user is improved.
S1303, under the condition that the intelligent watch receives the first indication information, acquiring physiological characteristics and/or motion data of the user, and determining the motion state of the user according to the physiological characteristics and/or the motion data of the user.
Wherein the motion state includes a non-low dynamic state or a low dynamic state. The user is in particular a user wearing a smart watch.
The specific implementation of the smart watch to acquire the physiological characteristics and/or the motion data of the user and determine the motion state of the user according to the physiological characteristics and/or the motion data of the user may refer to the relevant description after S601 in the foregoing embodiment, which is not repeated herein.
S1304, the smart watch sends state information to the mobile phone.
Wherein the status information is used to indicate the movement status of the user.
S1305, the mobile phone receives state information from the intelligent watch, and sends ephemeris information to the intelligent watch after a first preset time length under the condition that the state information indicates that the motion state of a user is a low dynamic state.
The user in the low dynamic state does not move a large distance for a short time. Therefore, even if the smart watch fails to acquire the ephemeris information from the mobile phone (specifically, the mobile phone fails to send the ephemeris information to the smart watch), the mobile phone does not need to send the ephemeris information to the smart watch again as soon as possible, but can send the ephemeris information to the smart watch again after the first preset time period, which is S1305.
In addition, under the condition that the intelligent watch determines that the motion state of the user is a low dynamic state, the intelligent watch can directly send preset indication information to the mobile phone. The preset indication information can be used for indicating the mobile phone to send the ephemeris information to the intelligent watch again after the first preset duration.
S1306, the mobile phone receives the state information from the intelligent watch, and judges whether the number of times of continuously sending ephemeris acquisition requests to the intelligent watch is smaller than a preset threshold value under the condition that the state information indicates that the motion state of the user is in a non-low dynamic state.
A user not in a low dynamic state is likely to move a large distance for a short time. Therefore, if the mobile phone fails to send the ephemeris information to the smart watch, the mobile phone needs to retransmit the ephemeris information as soon as possible, i.e. S1301 is executed. In practice, however, if the current conditions (e.g., a broken network of the handset, poor quality of the wireless communication connection between the smart watch and the handset, etc.) do not cause the smart watch to obtain ephemeris information from the handset. In this case, the mobile phone may repeatedly send ephemeris information to the smart watch and fail, resulting in large signaling consumption, increased power consumption of both the smart watch and the mobile phone, and little effect on the smart watch to acquire ephemeris information from the mobile phone. In order to avoid meaningless signaling consumption, the mobile phone is limited to continuously and repeatedly transmit the ephemeris information for a preset threshold number of times in practice. Based on this, in the case that the mobile phone does not successfully transmit the ephemeris information to the smart watch and the user is not in the low dynamic state, before the mobile phone transmits the ephemeris information to the smart watch again, it is required to determine whether the number of times of continuously transmitting the ephemeris information to the mobile phone is smaller than the preset threshold, that is, S1306 is executed. Of course, two requests in succession in this application do not mean that there is no time interval between the two requests, but rather that the time interval is extremely small. This very small time interval is in particular the time it takes for the handset to determine if ephemeris information was successfully transmitted to the smart watch.
And when the mobile phone determines that the number of times of continuously sending the ephemeris information to the smart watch is smaller than the preset threshold, the mobile phone can continue to send the ephemeris information to the smart watch, namely, S1301 is executed. When the mobile phone determines that the number of times of continuously sending the ephemeris information to the smart watch is equal to the preset threshold, the mobile phone may send the ephemeris information to the smart watch again after the first preset duration, that is, S1301 is executed after the first preset duration.
In summary, if the mobile phone determines that the number of times of sending ephemeris information to the smart watch is less than the preset threshold, S1301 is executed; in case the mobile phone determines that the number of times of transmitting the ephemeris information to the smart watch is equal to a preset threshold, S1307 is executed.
The preset threshold may be, for example, 4. The determining manner of the preset threshold value may be: firstly, the result statistics of the ephemeris information successfully obtained by the intelligent watch from the mobile phone under the normal network condition is carried out, and if the mobile phone is determined that the ephemeris information can be successfully sent to the intelligent watch only by N times on average, the preset threshold value can be set to be N. The specific value of the preset threshold may be determined according to the actual situation, which is only an example, and the present application does not specifically limit this.
S1307, after the first preset time length, the mobile phone sends ephemeris information to the intelligent watch.
Based on the technical scheme corresponding to S1301-S1306, in the case that the smart watch fails to acquire the ephemeris information from the mobile phone in a manner that the smart watch autonomously transmits the ephemeris information through the mobile phone, the smart watch can first determine whether the user is currently in a low dynamic state. When the user is in a low dynamic state, the user can not move a long distance in a short time with high probability, so that the mobile phone does not need to immediately send the ephemeris information to the mobile phone again at the moment, and the ephemeris information can be sent to the intelligent watch after a certain interval time. Therefore, when the smart watch determines that the user is in a low dynamic state, the mobile phone can send ephemeris information to the smart watch after a certain interval time. According to the technical scheme provided by the embodiment of the application, the intelligent watch acquires the ephemeris information by actively transmitting the ephemeris information to the intelligent watch through the mobile phone, so that the intelligent watch does not need to transmit the ephemeris acquisition request as frequently as the prior art, and compared with the technical scheme shown in fig. 6, the energy consumption of the intelligent watch is further reduced. In addition, after the mobile phone fails to send the ephemeris information, the mobile phone does not continuously send the ephemeris information (specifically, sends the response information carrying the ephemeris information in the prior art) as in the prior art under the condition that the user is in a low dynamic state, but sends the ephemeris information after a certain time interval. Thus, the energy consumption of the mobile phone is also reduced. Meanwhile, the certain interval time is shorter, so that the scheme can also ensure that ephemeris information can be acquired as timely as possible when the intelligent watch is in a low-dynamic state, so that the intelligent watch cannot be positioned accurately when the user is prevented from exiting from the low-dynamic state, and the use experience of the user is ensured. In summary, compared with the prior art, the scheme provided by the embodiment of the application can reduce the number of times that the smart watch transmits the ephemeris acquisition request to the mobile phone while ensuring the experience of the user on the smart watch, reduce the number of times that the mobile phone responds to the ephemeris acquisition request from the smart watch, reduce the energy consumption of the mobile phone and the smart watch, and improve the use experience of the user.
In practice, when the mobile phone is not in a standby state (for example, a certain third party application is operated in the foreground or background of the mobile phone), the number of times of ephemeris information sent by the mobile phone to the smart watch is reduced, and the reduced energy consumption is very little compared with the current normal energy consumption of the mobile phone, so that the help for improving the user experience is not great. It is also difficult for the user to perceive a reduction in energy consumption of the mobile phone in this case. And when the mobile phone is in a standby state, the number of times that the mobile phone sends ephemeris information to the intelligent watch is reduced, and the reduced energy consumption is obvious compared with the standby energy consumption of the mobile phone. The user may also perceive a reduction in energy of the cell phone from the standby period. Based on this, in some embodiments, in order to reduce the energy consumption of the mobile phone and prolong the standby time of the mobile phone, the user is brought with more obvious perception, and the use experience of the user is improved. Referring to fig. 15 in conjunction with fig. 13, S1305 may be specifically replaced with S1305':
s1305', the mobile phone receives the state information from the intelligent watch, and sends ephemeris information to the intelligent watch after a first preset time length when the state information indicates that the motion state of the user is in a low dynamic state and the mobile phone is in a standby state.
Based on the technical scheme corresponding to S1305', when the mobile phone fails to successfully send the ephemeris information to the smart watch and the user is in a low dynamic state, the mobile phone can send the ephemeris acquisition request to the smart watch again after a first preset time interval only when the mobile phone is in a standby state. That is, the mobile phone only when in a standby state can reduce the number of times of sending ephemeris acquisition requests to the smart watch. Therefore, the technical scheme provided by the application can reduce the number of times that the mobile phone transmits ephemeris information to the intelligent watch when the mobile phone is in a standby state, so that the reduced energy consumption of the mobile phone can be perceived by a user more obviously, the standby time of the mobile phone is prolonged, and the use experience of the user is improved.
In some embodiments, in addition to the smart watch collecting movement data of the user, the cell phone may also collect movement data of the user. In the foregoing embodiment, the manner in which the smart watch acquires the physiological data and/or the motion data of the user is self-acquisition, and in addition, the smart watch may acquire the motion data of the user from the mobile phone on the basis of self-acquisition of the physiological data and/or the motion data of the user. After receiving the motion data of the user from the mobile phone, the smart watch can more accurately determine whether the user is in a low dynamic state according to the physiological characteristics and/or the motion data of the user collected by the smart watch and the motion data of the user from the mobile phone. So referring to fig. 16 in conjunction with fig. 13, S1303 may further include S1303A before S1303, and S1303 may be replaced by S1303':
S1303A, the mobile phone collects motion data of the user and sends the motion data to the intelligent watch.
The specific manner in which the mobile phone obtains the motion data of the user may be according to the related description of the electronic device shown in fig. 4 in the foregoing embodiment, which is not described herein again. The mobile phone can collect motion data of a user in real time or periodically and send the motion data to the intelligent watch, or can collect the motion data in real time or periodically when or after the mobile phone sends ephemeris information to the intelligent watch, or can collect the motion data in real time or periodically when the mobile phone sends the first indicating information of the star to the intelligent watch. This is not particularly limited in this application.
And S1303', after the smart watch acquires physiological characteristics and/or motion data of the user and receives the motion data of the user from the mobile phone under the condition of receiving the first indication information, determining the motion state of the user according to all the physiological characteristics and/or motion data of the user.
Wherein the motion state may include a non-low dynamic state and a low dynamic state.
In this way, the smart watch can more accurately determine the motion state of the user according to the richer physiological characteristics and/or motion data of the user, so as to ensure the accurate time for the subsequent mobile phone to reduce the number of times of sending the ephemeris information, that is, ensure that the smart watch is actually executed more accurately S1305.
In the foregoing embodiment, the manner in which the mobile phone determines the motion state by using the smart watch is: the intelligent watch performs calculation and analysis on the physiological characteristics and/or the motion data of the user, and sends state information indicating the motion state of the user to the mobile phone after the motion state of the user is obtained. In other embodiments, the motion state of the user may be calculated and analyzed by the mobile phone itself. In this case, the smart watch may send the physiological characteristics and/or movement data of the user collected by itself to the mobile phone. And then, the mobile phone can receive physiological characteristics and/or motion data sent by the intelligent watch to determine the motion state of the user, so as to further carry out a subsequent related method flow. In this case, in the embodiment of the present application, referring to fig. 17 in conjunction with fig. 13, S1302 may be replaced with S1302', S1303 may be replaced with S1303", S1304 may be replaced with S1304', S1305 may be replaced with S1305', S1306 may be replaced with S1306".
And S1302', the mobile phone sends third indication information to the intelligent watch under the condition that the ephemeris information is not successfully sent to the intelligent watch.
The third indication information is used for indicating the intelligent watch to acquire physiological characteristics and/or movement data of the user and sending the physiological characteristics and/or movement data of the user to the mobile phone.
And S1303', under the condition that the intelligent watch receives the third indication information, acquiring physiological characteristics and/or motion data of the user, and sending the physiological characteristics and/or motion data of the user to the mobile phone.
The specific time for the smart watch to collect the physiological characteristics and/or the movement data of the user may refer to the related description in the foregoing embodiment, which is not described herein.
In this way, based on the technical schemes corresponding to S1302' and S1303", the mobile phone may obtain the physiological characteristics and/or the motion data of the user from the smart watch under the condition that the ephemeris information is not successfully transmitted to the smart watch. Data support is provided for subsequent determination of the user's motion state.
S1304', the handset receives physiological characteristics and/or movement data of the user from the smart watch and determines a movement state of the user based on the physiological characteristics and/or movement data of the user.
How the mobile phone determines the motion state of the user may refer to the related description after S602 in the foregoing embodiment, which is not repeated here.
It should be noted that, in the case where the mobile phone may also collect the motion data of the user, in order to make the determination result of whether the user is in the low dynamic state more accurate, S1304' may specifically be: the mobile phone collects motion data of the user, receives physiological characteristics and/or motion data of the user from the intelligent watch, and determines the motion state of the user according to all the physiological characteristics and/or motion data of the user.
And S1305', the mobile phone sends ephemeris information to the intelligent watch after the first preset time length under the condition that the motion state of the user is determined to be in a low dynamic state.
S1306', the mobile phone judges whether the number of times of continuously sending ephemeris acquisition requests to the intelligent watch is smaller than a preset threshold value under the condition that the motion state of the user is determined to be a non-low dynamic state.
Executing S1301 when the mobile phone determines that the number of times of sending ephemeris information to the smart watch is smaller than a preset threshold value; in case the mobile phone determines that the number of times of transmitting the ephemeris information to the smart watch is equal to a preset threshold, S1307 is executed.
Based on the scheme, because the judgment of whether the user is in the low dynamic state can be carried out on the mobile phone, the requirement of the ephemeris information acquisition method provided by the embodiment of the application on the processing computing capacity of the intelligent watch is reduced, and the energy consumption of the intelligent watch is further reduced.
It will be appreciated that the above-described devices, etc. comprise, in order to implement the above-described functionality, corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
According to the embodiment of the application, the electronic device and the intelligent wearable device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present invention, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
In the case of dividing each functional module by adopting corresponding each function, referring to fig. 18, an embodiment of the present application provides an intelligent wearable device, which includes a communication module 181 and a processing module 182.
Specifically, the processing module 182 is configured to determine a motion state of the user wearing the smart wearable device in a case where it is determined that the communication module 181 fails to acquire the ephemeris information from the electronic device; the motion state includes a first motion state; wherein the distance of movement of the user in the first motion state over the predetermined length of time is less than the predetermined distance. In the case that the motion state of the user is the first motion state, the control communication module 181 acquires the ephemeris information from the electronic device again after the first preset time period.
Optionally, the communication module 181 is configured to send an ephemeris acquisition request to the electronic device; the ephemeris acquisition request is used to request ephemeris information. The processing module 182 is specifically configured to obtain the physiological characteristics and/or the motion data of the user if the communication module 181 does not receive the ephemeris acquisition response of the corresponding ephemeris acquisition request from the electronic device within the second preset time period, and determine the motion state of the user according to the physiological characteristics and/or the motion data of the user; the ephemeris acquisition response carries ephemeris information corresponding to the ephemeris acquisition request. Wherein the communication module 181 not receiving the ephemeris acquisition response from the electronic device within the second preset time period indicates that the communication module 181 fails to acquire the ephemeris information from the electronic device.
Further optionally, the processing module 182 is specifically configured to: acquiring a use state of the electronic equipment under the condition that the motion state of the user is a first motion state; the use state comprises a standby state or a non-standby state; when the electronic equipment is in a standby state, the electronic equipment is off-screen and has no background application; in the case that the usage state of the electronic device is the standby state, the control communication module 181 re-transmits the ephemeris acquisition request to the electronic device after the first preset period of time to acquire the ephemeris information from the electronic device.
Further optionally, the motion state further comprises a second motion state, the second motion state being different from the first motion state. The processing module 182 is further configured to: in the case that the motion state of the user is the second motion state, determining whether the number of times the communication module 181 continuously transmits the ephemeris acquiring request to the electronic device is smaller than a preset threshold; if the number of times that the communication module 181 continuously sends the ephemeris acquiring request to the electronic device is smaller than the preset threshold, the communication module 181 is controlled to send the ephemeris acquiring request to the electronic device again so as to acquire the ephemeris information from the electronic device; if the number of times the communication module 181 continuously transmits the ephemeris acquiring request to the electronic device is equal to the preset threshold, the communication module 181 is controlled to transmit the ephemeris acquiring request to the electronic device after the first preset duration to acquire the ephemeris information from the electronic device.
The specific manner in which the respective modules perform the operations in the smart wearable device in the foregoing embodiments has been described in detail in the foregoing embodiments of the ephemeris information obtaining method in the foregoing embodiments, and will not be specifically described herein. The relevant beneficial effects of the ephemeris information acquisition method can also be referred to, and the description thereof is omitted herein.
In the case of dividing the respective functional modules by the respective functions, referring to fig. 19, an embodiment of the present application provides an electronic device including a communication module 191 and a processing module 192.
Specifically, the processing module 192 is configured to determine, by using the smart wearable device, a motion state of a user wearing the smart wearable device in a case where the communication module 191 fails to send the ephemeris information to the smart wearable device; the motion state includes a first motion state; wherein the distance of movement of the user in the first motion state over the predetermined length of time is less than the predetermined distance. The processing module 192 is further configured to control the communication module 191 to send the ephemeris information to the smart wearable device again after the first preset time period if the motion state of the user is the first motion state.
Optionally, the processing module 192 is specifically configured to: in the case that the communication module 191 fails to send the ephemeris information to the intelligent wearable device, the communication module 191 is controlled to acquire physiological characteristics and/or motion data of the user from the intelligent wearable device; the user's movement state is determined based on the physiological characteristics and/or movement data of the user acquired by the communication module 191.
Optionally, the processing module 192 is specifically configured to: in the case that the communication module 191 fails to send the ephemeris information to the intelligent wearable device, the control communication module 191 sends first indication information to the intelligent wearable device; the first indication information is used for indicating that the ephemeris information is failed to send and indicating that the intelligent wearable equipment feeds back the motion state of the user; the control communication module 191 receives status information from the smart wearable device, the status information being used to indicate the movement status of the user.
Further optionally, the processing module 192 is specifically configured to: if the motion state of the user is the first motion state and the use state of the electronic device is the standby state, the control communication module 191 sends the ephemeris information to the intelligent wearable device again after the first preset time period; the use state comprises a standby state or a non-standby state; when the electronic equipment is in a standby state, the electronic equipment is off-screen and has no background application.
Optionally, the processing module 192 is further configured to: in the case that the motion state of the user is the second motion state, judging whether the number of times that the communication module 191 continuously transmits the ephemeris information to the intelligent wearable device is smaller than a preset threshold value; if the number of times that the communication module 191 continuously sends the ephemeris information to the intelligent wearable device is smaller than the preset threshold value, the communication module 191 is controlled to send the ephemeris information to the intelligent wearable device again; if the number of times that the communication module 191 continuously sends the ephemeris information to the smart wearable device is equal to the preset threshold, the communication module 191 is controlled to send the ephemeris information to the smart wearable device after the first preset duration.
With respect to the electronic device in the above embodiment, the specific manner in which the respective modules perform the operations has been described in detail in the embodiment of the ephemeris information acquisition method in the foregoing embodiment, and will not be specifically described here. The relevant beneficial effects of the ephemeris information acquisition method can also be referred to, and the description thereof is omitted herein.
The embodiment of the application also provides a computer readable storage medium, which comprises computer instructions, when the computer instructions run on the intelligent wearable device, the intelligent wearable device is caused to execute the part executed by the intelligent wearable device in the ephemeris information acquisition method provided by the previous embodiment.
The embodiment of the application also provides a computer readable storage medium, which includes computer instructions that, when executed on an electronic device, cause the electronic device to execute the portion executed by the electronic device in the ephemeris information obtaining method provided in the foregoing embodiment.
The present embodiments also provide a computer program product, which when executed on an electronic device, causes the electronic device to execute the portion of the ephemeris information acquisition method provided in the foregoing embodiments.
The embodiment of the application further provides a computer program product, when the computer program product runs on the intelligent wearable device, the intelligent wearable device is caused to execute the part executed by the intelligent wearable device in the ephemeris information acquisition method provided by the previous embodiment.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. The ephemeris information acquisition method is characterized by being applied to intelligent wearable equipment, wherein wireless communication connection is established between the intelligent wearable equipment and electronic equipment, and the method comprises the following steps:
under the condition that the intelligent wearing equipment fails to acquire ephemeris information from the electronic equipment, determining the motion state of a user wearing the intelligent wearing equipment; the motion state includes a first motion state; wherein a distance of movement of the user within a predetermined length of time when in the first motion state is less than a predetermined distance;
and under the condition that the motion state of the user is the first motion state, the intelligent wearable device acquires the ephemeris information from the electronic device again after a first preset time length.
2. The method of claim 1, wherein in the event that the smart wearable device fails to obtain ephemeris information from the electronic device, determining a motion state of a user wearing the smart wearable device comprises:
The intelligent wearable device sends an ephemeris acquisition request to the electronic device; the ephemeris acquisition request is used for requesting ephemeris information;
if the intelligent wearable device does not receive the ephemeris acquiring response corresponding to the ephemeris acquiring request from the electronic device within a second preset time period, the intelligent wearable device acquires physiological characteristics and/or motion data of a user and determines a motion state of the user according to the physiological characteristics and/or the motion data of the user; the ephemeris acquisition response carries ephemeris information corresponding to the ephemeris acquisition request;
the intelligent wearable device does not receive the ephemeris acquiring response from the electronic device within the second preset time period, which indicates that the intelligent wearable device fails to acquire the ephemeris information from the electronic device.
3. The method according to claim 1 or 2, wherein, in case the motion state of the user is the first motion state, the smart wearable device re-acquires the ephemeris information from the electronic device after a first preset period of time, comprising:
under the condition that the motion state of the user is the first motion state, the intelligent wearable device acquires the use state of the electronic device; the use state comprises a standby state or a non-standby state; when the electronic equipment is in the standby state, the electronic equipment is off-screen and has no background application;
And the intelligent wearable device sends the ephemeris acquiring request to the electronic device again after the first preset duration under the condition that the using state of the electronic device is the standby state so as to acquire the ephemeris information from the electronic device.
4. A method according to any one of claims 1-3, wherein the motion state further comprises a second motion state, the second motion state being different from the first motion state; the method further comprises the steps of:
the intelligent wearable device judges whether the number of times that the intelligent wearable device continuously sends the ephemeris acquiring request to the electronic device is smaller than a preset threshold value or not under the condition that the motion state of the user is the second motion state;
if the number of times that the intelligent wearable device continuously sends the ephemeris acquiring request to the electronic device is smaller than the preset threshold value, the intelligent wearable device re-sends the ephemeris acquiring request to the electronic device so as to acquire the ephemeris information from the electronic device;
if the number of times that the intelligent wearable device continuously sends the ephemeris acquiring request to the electronic device is equal to the preset threshold value, the intelligent wearable device sends the ephemeris acquiring request to the electronic device after the first preset duration so as to acquire the ephemeris information from the electronic device.
5. The ephemeris information acquisition method is characterized by being applied to electronic equipment, wherein wireless communication connection is established between the electronic equipment and intelligent wearable equipment, and the method comprises the following steps:
under the condition that the electronic equipment fails to send ephemeris information to the intelligent wearable equipment, determining the motion state of a user wearing the intelligent wearable equipment by utilizing the intelligent wearable equipment; the motion state includes a first motion state; wherein a distance of movement of the user within a predetermined length of time when in the first motion state is less than a predetermined distance;
and under the condition that the motion state of the user is the first motion state, the electronic equipment sends the ephemeris information to the intelligent wearable equipment again after a first preset time length.
6. The method of claim 5, wherein in the event that the electronic device fails to send ephemeris information to the smart wearable device, determining, with the smart wearable device, a motion state of the user, comprising:
under the condition that the electronic equipment fails to send ephemeris information to the intelligent wearable equipment, physiological characteristics and/or motion data of the user are acquired from the intelligent wearable equipment;
The electronic device determines a motion state of the user according to physiological characteristics and/or motion data of the user.
7. The method of claim 5, wherein in the event that the electronic device fails to send ephemeris information to the smart wearable device, determining, with the smart wearable device, a motion state of the user, comprising:
the electronic equipment sends first indication information to the intelligent wearable equipment under the condition that the electronic equipment fails to send ephemeris information to the intelligent wearable equipment; the first indication information is used for indicating that the ephemeris information is failed to be sent and indicating that the intelligent wearable equipment feeds back the motion state of the user;
the electronic device receives the state information from the smart wearable device, the state information being used to indicate a movement state of the user.
8. The method according to any one of claims 5-7, wherein, in the case where the motion state of the user is the first motion state, the electronic device resends the ephemeris information to the smart wearable device after a first preset period of time, including:
if the motion state of the user is the first motion state and the use state of the electronic equipment is the standby state, the electronic equipment sends the ephemeris information to the intelligent wearable equipment again after a first preset time length; the use state comprises the standby state or the non-standby state; when the electronic equipment is in the standby state, the electronic equipment is off-screen and has no background application.
9. The method of any one of claims 5-8, wherein the motion state further comprises a second motion state, the second motion state being different from the first motion state; the method further comprises the steps of:
the electronic equipment judges whether the number of times of continuously sending the ephemeris information to the intelligent wearable equipment is smaller than a preset threshold value or not under the condition that the motion state of the user is the second motion state;
if the number of times that the electronic equipment continuously sends the ephemeris information to the intelligent wearable equipment is smaller than the preset threshold value, the electronic equipment resends the ephemeris information to the intelligent wearable equipment;
and if the number of times that the electronic equipment continuously sends the ephemeris information to the intelligent wearable equipment is equal to the preset threshold value, the electronic equipment sends the ephemeris information to the intelligent wearable equipment after the first preset duration.
10. An intelligent wearable device, comprising: a memory and one or more processors; the memory is coupled with the processor; wherein the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the smart wearable device to perform the ephemeris information acquisition method of any of claims 1-4.
11. An electronic device, comprising: a memory and one or more processors; the memory is coupled with the processor; wherein the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the ephemeris information acquisition method of any of claims 5-9.
12. A computer readable storage medium comprising computer instructions which, when run on a smart wearable device, cause the smart wearable device to perform the ephemeris information acquisition method of any of claims 1-4.
13. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the ephemeris information acquisition method of any of claims 5-9.
CN202210763679.4A 2022-06-30 2022-06-30 Ephemeris information acquisition method, electronic equipment and intelligent wearable equipment Active CN116055989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210763679.4A CN116055989B (en) 2022-06-30 2022-06-30 Ephemeris information acquisition method, electronic equipment and intelligent wearable equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210763679.4A CN116055989B (en) 2022-06-30 2022-06-30 Ephemeris information acquisition method, electronic equipment and intelligent wearable equipment

Publications (2)

Publication Number Publication Date
CN116055989A true CN116055989A (en) 2023-05-02
CN116055989B CN116055989B (en) 2023-09-15

Family

ID=86124381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210763679.4A Active CN116055989B (en) 2022-06-30 2022-06-30 Ephemeris information acquisition method, electronic equipment and intelligent wearable equipment

Country Status (1)

Country Link
CN (1) CN116055989B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080180320A1 (en) * 2007-01-29 2008-07-31 Research In Motion Limited Method of downloading ephemeris data based on user activity
US20090216447A1 (en) * 2008-02-26 2009-08-27 Seiko Epson Corporation Position calculation method and position calculation system
CN105223597A (en) * 2014-04-04 2016-01-06 马维尔国际有限公司 Based on the method and apparatus of satellite determination communications device locations
US20160277902A1 (en) * 2015-03-16 2016-09-22 Anhui Huami Information Technology Co.,Ltd. Method and apparatus for controlling feedback information
CN112312542A (en) * 2020-10-26 2021-02-02 Tcl通讯(宁波)有限公司 Ephemeris information collection method, device, storage medium and mobile terminal
CN113655945A (en) * 2021-07-08 2021-11-16 荣耀终端有限公司 Method for controlling electronic equipment by wearable equipment and communication system
US20220035045A1 (en) * 2021-02-05 2022-02-03 Beijing Baidu Netcom Science Technology Co., Ltd. Ephemeris data processing method, electronic device and storage medium
WO2022077938A1 (en) * 2020-10-15 2022-04-21 华为技术有限公司 Ephemeris data transmission method and device, storage medium, chip, and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080180320A1 (en) * 2007-01-29 2008-07-31 Research In Motion Limited Method of downloading ephemeris data based on user activity
US20090216447A1 (en) * 2008-02-26 2009-08-27 Seiko Epson Corporation Position calculation method and position calculation system
CN105223597A (en) * 2014-04-04 2016-01-06 马维尔国际有限公司 Based on the method and apparatus of satellite determination communications device locations
US20160277902A1 (en) * 2015-03-16 2016-09-22 Anhui Huami Information Technology Co.,Ltd. Method and apparatus for controlling feedback information
WO2022077938A1 (en) * 2020-10-15 2022-04-21 华为技术有限公司 Ephemeris data transmission method and device, storage medium, chip, and system
CN112312542A (en) * 2020-10-26 2021-02-02 Tcl通讯(宁波)有限公司 Ephemeris information collection method, device, storage medium and mobile terminal
US20220035045A1 (en) * 2021-02-05 2022-02-03 Beijing Baidu Netcom Science Technology Co., Ltd. Ephemeris data processing method, electronic device and storage medium
CN113655945A (en) * 2021-07-08 2021-11-16 荣耀终端有限公司 Method for controlling electronic equipment by wearable equipment and communication system

Also Published As

Publication number Publication date
CN116055989B (en) 2023-09-15

Similar Documents

Publication Publication Date Title
WO2020103763A1 (en) Method for controlling display screen according to eyeball focus and head-mounted electronic equipment
WO2020177619A1 (en) Method, device and apparatus for providing reminder to charge terminal, and storage medium
CN111369988A (en) Voice awakening method and electronic equipment
CN113521485B (en) Sleep assisting method, electronic equipment and true wireless stereo earphone
CN112289313A (en) Voice control method, electronic equipment and system
WO2021115007A1 (en) Network switching method and electronic device
CN110531864A (en) A kind of gesture interaction method, device and terminal device
CN110347269A (en) A kind of sky mouse mode implementation method and relevant device
WO2021169515A1 (en) Method for data exchange between devices, and related device
WO2022007720A1 (en) Wearing detection method for wearable device, apparatus, and electronic device
WO2021190314A1 (en) Sliding response control method and apparatus of touch screen, and electronic device
CN110687998A (en) Application management method and device
CN114257920B (en) Audio playing method and system and electronic equipment
WO2022037575A1 (en) Low-power consumption positioning method and related apparatus
EP4070719A1 (en) Electronic device, method for controlling same to perform ppg detection, and medium
WO2023216930A1 (en) Wearable-device based vibration feedback method, system, wearable device and electronic device
CN114762588A (en) Sleep monitoring method and related device
CN116055989B (en) Ephemeris information acquisition method, electronic equipment and intelligent wearable equipment
CN113996046A (en) Warming-up judgment method and device and electronic equipment
EP4374936A1 (en) Exercise guidance method and related apparatus
CN112817512A (en) False touch prevention method, mobile device and computer readable storage medium
CN115665632A (en) Audio circuit, related device and control method
WO2022083363A1 (en) Method for periodically measuring blood oxygen, and electronic device
WO2021204036A1 (en) Sleep risk monitoring method, electronic device and storage medium
CN114375027A (en) Method and device for reducing power consumption

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant