CN108700429A - The method and electronic equipment of motion recording - Google Patents

The method and electronic equipment of motion recording Download PDF

Info

Publication number
CN108700429A
CN108700429A CN201780010527.4A CN201780010527A CN108700429A CN 108700429 A CN108700429 A CN 108700429A CN 201780010527 A CN201780010527 A CN 201780010527A CN 108700429 A CN108700429 A CN 108700429A
Authority
CN
China
Prior art keywords
information
mentioned
movement app
app
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201780010527.4A
Other languages
Chinese (zh)
Other versions
CN108700429B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108700429A publication Critical patent/CN108700429A/en
Application granted granted Critical
Publication of CN108700429B publication Critical patent/CN108700429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Telephone Function (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application provides a kind of method of motion recording, and the above method realizes that the above method includes in the electronic equipment with locating module, touch screen and step-counting sensor:The graphic user interface of movement APP is shown in above-mentioned touch screen;Detect the touch event on above-mentioned touch screen;In response to above-mentioned touch event, above-mentioned movement APP receives the GPS information from above-mentioned positioning device, and movement locus corresponding with GPS information is shown in the graphic user interface of above-mentioned movement APP;Above-mentioned step-counting sensor reports meter step information to above-mentioned movement APP;When the meter that above-mentioned movement APP does not receive above-mentioned step-counting sensor in the given time walks information, then above-mentioned movement APP no longer receives the GPS information from above-mentioned positioning device.Above-mentioned technical proposal can make user when suspending running, and the movement locus being presented on map will not deviate, and improve user experience.

Description

The method and electronic equipment of motion recording
This application claims on January 22nd, 2017 submit Patent Office of the People's Republic of China, application No. is the priority of the Chinese patent application of 201710047387.X, entitled " a kind of method and apparatus of motion recording ", entire contents are hereby incorporated by reference in the application.
Technical field
This application involves the methods and electronic equipment of field of communication technology more particularly to motion recording.
Background technique
At present, since mobile phone, the quick of wearable communication apparatus (such as smartwatch, bracelet etc.) are popularized, more and more people like carrying mobile phone, smartwatch etc. when running and perform physical exercise, and utilize the running application records information such as location information relevant to running in above equipment, heart rate etc..But running application program is when in use at present, when user's running is stopped, if user does not go to carry out the operation of pause running manually, then positioning can drift about, and it is very chaotic to will lead to motion profile line for a long time, as shown in Figure 1, after mobile phone stands one section of long time, the drift of motion profile line is chaotic, results in mobile phone that cannot accurately record track when user moves in this way, reduces user experience.
Summary of the invention
In order to solve the above technical problems, the embodiment of the present application provides the method and electronic equipment of a kind of motion recording, enables to electronic equipment to record motion information very accurately, improve user experience.
In a first aspect, the embodiment of the present application provides a kind of method of motion recording, the above method is realized in the electronic equipment with locating module, touch screen and step-counting sensor, and the above method includes: the graphic user interface that movement APP is shown in above-mentioned touch screen;Detect the touch event on above-mentioned touch screen;In response to above-mentioned touch event, above-mentioned movement APP receives the GPS information from above-mentioned positioning device, and motion profile corresponding with GPS information is shown in the graphic user interface of above-mentioned movement APP;Above-mentioned step-counting sensor reports step counting information to above-mentioned movement APP;When above-mentioned movement APP does not receive the step counting information of above-mentioned step-counting sensor in the given time, then above-mentioned movement APP no longer receives the GPS information from above-mentioned positioning device.Above-mentioned technical proposal can make user when suspending running, and the motion profile being presented on map will not deviate, and improve user experience.
In one possible implementation, the above method can also include: the prompt paused received information of user's GPS information in above-mentioned touch screen.
In the implementation of another possibility, the above method can also include: when above-mentioned movement APP receives the step counting information of above-mentioned step-counting sensor again, the GPS information of above-mentioned positioning device is received again, and motion profile corresponding with above-mentioned GPS information is shown on the graphic user interface of above-mentioned movement APP.
In another possible implementation, the above method can also include: when above-mentioned movement APP receives the step counting information of above-mentioned step-counting sensor, and when above-mentioned step counting information shows that current speed is less than or equal to 10 minute/kilometer, above-mentioned movement APP stops receiving GPS information, and show that this moves completed information on the graphic user interface of above-mentioned movement APP, and form motion profile and show user.
Second aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: touch screen;Step-counting sensor;One or more processors;Memory;Multiple application programs;And one or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and said one or multiple programs include instruction, when above-metioned instruction is executed by above-mentioned electronic equipment, so that above-mentioned electronic equipment executes following step It is rapid: the graphic user interface of movement APP is shown in above-mentioned touch screen;Detect the touch event on above-mentioned touch screen;In response to above-mentioned touch event, above-mentioned movement APP receives the GPS information from above-mentioned positioning device, and motion profile corresponding with GPS information is shown in the graphic user interface of above-mentioned movement APP;Above-mentioned step-counting sensor reports step counting information to above-mentioned movement APP;When above-mentioned movement APP does not receive the step counting information of above-mentioned step-counting sensor in the given time, then above-mentioned movement APP no longer receives the GPS information from above-mentioned positioning device.
The third aspect, embodiments herein provide a kind of electronic equipment, comprising: processor, memory, bus and communication interface;The memory is for storing computer executed instructions, the processor is connect with the memory by the bus, when electronic equipment operation, which executes the computer executed instructions of memory storage, so that electronic equipment executes any of the above-described method of toch control.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium again, instruction are stored in the computer readable storage medium, when run on a computer, so that computer executes method described in above-mentioned various aspects.
5th aspect, the embodiment of the present application provides a kind of computer program product comprising instruction again, when run on a computer, so that computer executes method described in above-mentioned various aspects.
Detailed description of the invention
Fig. 1 is movement locus schematic diagram in the prior art;
Fig. 2 is the hardware schematic of electronic equipment in some embodiments;
Fig. 3 is in some embodiments for user, the interaction schematic diagram of sports application (APP), positioning device;
Fig. 4 is that the embodiment of the present application provides a kind of method of motion recording;
Fig. 5 is user, movement APP, positioning device, the interaction schematic diagram between step-counting sensor in the application one embodiment.
Fig. 6 is the frame concept figure in some application embodiments.
Fig. 7 is the system architecture schematic diagram in the embodiment of the present application;
Fig. 8 is the interaction schematic diagram between structure/module involved in Fig. 7;
Fig. 9 A to 9C is the graphic user interface schematic diagram that movement APP is shown in touch screen 104 in some embodiments.
Specific embodiment
Term used in the embodiment of the present application is intended merely to for the purpose of describing particular embodiments, and is not intended as the limitation to the application.As the description of the present application and it is used in the attached claims, odd number expression form "one", "an", " described ", " above-mentioned ", "the" and " this " be intended to also include plural number expression form, unless hereinafter clearly there is opposite instruction thereon.It is also understood that term "and/or" used herein refers to and includes listing any or all of project and may combining for one or more mutually bindings.
As shown in Fig. 2, the electronic equipment in the embodiment of the present application can be mobile phone 100.Embodiment is specifically described by taking mobile phone 100 as an example below.It should be understood that diagram mobile phone 100 is only an example of electronic equipment, and mobile phone 100 can have than shown in the drawings more or less component, can combine two or more components, or can have different component configurations.
As shown in Fig. 2, mobile phone 100 can specifically include: the components such as processor 101, radio circuit 102, memory 103, touch screen 104 (specifically including Trackpad 104-1 and display 104-2), blue-tooth device 105, one or more sensors 106, WI-FI device 107, positioning device 108, voicefrequency circuit 109, Peripheral Interface 110, power-supply system 111 and fingerprint extracting device 112.These components can be communicated by one or more communication bus or signal wire (being not shown in Fig. 2).It will be understood by those skilled in the art that Fig. 2 Shown in hardware configuration do not constitute the restriction to mobile phone 100, mobile phone 100 may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to all parts of the Fig. 2 to mobile phone 100:
Processor 101 is the control centre of mobile phone 100, utilize the various pieces of various interfaces and connection mobile phone 100, by running or executing the application program being stored in memory 103 (below can abbreviation App), and the data and instruction being stored in memory 103 is called, execute the various functions and processing data of mobile phone 100.In some embodiments, processor 101 may include one or more processing units;Processor 101 can also integrate application processor and modem processor;Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 101.For example, processor 101 can be 960 chip of kylin of Huawei Tech Co., Ltd's manufacture.In some embodiments of the application, above-mentioned processor 101 can also include fingerprint authentication chip, for verifying to collected fingerprint.
Radio circuit 102 can be used for receive and send messages or communication process in, wireless signal sends and receivees.Specifically, it after radio circuit 102 can receive the downlink data of base station, is handled to processor 101;In addition, the data for being related to uplink are sent to base station.In general, radio circuit includes but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio circuit 102 can also be communicated with other equipment by wireless communication.Any communication standard or agreement, including but not limited to global system for mobile communications, general packet radio service, CDMA, wideband code division multiple access, long term evolution, Email, short message service etc. can be used in the wireless communication.
Memory 103 is stored in the application program and data of memory 103 by operation for storing application program and data, processor 101, executes the various functions and data processing of mobile phone 100.Memory 103 mainly includes storing program area and storage data area, wherein storing program area can application program (such as sound-playing function, image player function etc.) needed for storage program area, at least one function;Storage data area can store according to the data (such as audio data, phone directory etc.) created when using mobile phone 100.In addition, memory 103 may include high-speed random access memory, it can also include nonvolatile storage, such as disk memory, flush memory device or other volatile solid-state parts etc..Memory 103 can store various operating systems, such as Apple Inc. is developedOperating system, what Google was developedOperating system etc..
Touch screen 104 may include touch sensitive surface 104-1 and display 104-2.Wherein, touch sensitive surface 104-1 (such as touch panel) can acquire the touch event (for example user uses the operations of any suitable object on touch sensitive surface 104-1 or near touch sensitive surface 104-1 such as finger, stylus) of the user of mobile phone 100 on it or nearby, and collected touch information is sent to other devices such as processor 101.Wherein, touch event of the user near touch sensitive surface 104-1 can be referred to as suspension touch control;Suspension touch control can refer to, user be not necessarily in order to select, move or drag target (such as icon etc.) and directly contact Trackpad, and it is neighbouring to execute wanted function only to need user to be located at electronic equipment.Under the application scenarios of suspension touch control, term " touch ", " contact " etc. will not be implied for directly contacting touch screen, but in its vicinity or close contact.The touch sensitive surface 104-1 for being able to carry out suspension touch control can be realized using condenser type, infrared light sensation and ultrasonic wave etc..Touch sensitive surface 104-1 may include both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, is then forwarded to processor 101, and touch controller can also receive the instruction of the transmission of processor 101 and be executed.Furthermore, it is possible to realize touch sensitive surface 104-1 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.Display (also referred to as display screen) 104-2 can be used for showing information input by user or be supplied to the information of user and the various menus of mobile phone 100.Display 104-2 can be configured using forms such as liquid crystal display, Organic Light Emitting Diodes.Touch sensitive surface 104-1 can be covered on display 104-2, after touch sensitive surface 104-1 detects touch event on it or nearby, send processor 101 to determine the type of touch event, being followed by subsequent processing device 101 can be according to touch The type of event provides corresponding visual output on display 104-2.Although in Fig. 2, touch sensitive surface 104-1 and display screen 104-2 are to output and input function as two independent components come realize mobile phone 100, but it is in some embodiments it is possible to touch sensitive surface 104-1 and display screen 104-2 is integrated and that realizes mobile phone 100 output and input function.It is understood that touch screen 104 is stacked by multilayer material, touch sensitive surface (layer) and display screen (layer) are only illustrated in the embodiment of the present application, other layers are not recorded in the embodiment of the present application.In addition, in some other embodiment of the application, touch sensitive surface 104-1 can be covered on display 104-2, and the size of touch sensitive surface 104-1 is greater than the size of display screen 104-2, display screen 104-2 is allowed all to be covered on touch sensitive surface 104-1 in the following, alternatively, the front that above-mentioned touch sensitive surface 104-1 configured in the form of full panel in mobile phone 100, namely user can be perceived in the positive touch of mobile phone 100 by mobile phone, and the full touch experience of mobile phone front thus may be implemented.In some other embodiment, the front that touch sensitive surface 104-1 configured in the form of full panel in mobile phone 100, the front that display screen 104-2 can also be configured in the form of full panel in mobile phone 100 can be realized as the structure of Rimless in the front of mobile phone in this way.
In each embodiment of the application, mobile phone 100 can also have fingerprint identification function.For example, Fingerprint Identification Unit 112 can be configured at the back side (such as lower section of rear camera) of mobile phone 100, or Fingerprint Identification Unit 112 is configured in the front (such as lower section of touch screen 104) of mobile phone 100.In addition, about in the embodiment of the present application in touch screen integrated fingerprint sampler specific technical solution, may refer to United States Patent (USP) and trademark office bulletin application No. is US 2015/0036065A1, the patent application of entitled " fingerprint sensor in the electronic device ", entire contents are hereby incorporated by reference in each embodiment of the application.
Mobile phone 100 can also include blue-tooth device 105, for realizing the data exchange between mobile phone 100 and other short-range electronic equipments (such as mobile phone, smartwatch etc.).Blue-tooth device in the embodiment of the present application can be integrated circuit or Bluetooth chip etc..
Mobile phone 100 can also include at least one sensor 106, such as optical sensor, step-counting sensor and other sensors.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can adjust the brightness of the display of touch screen 104 according to the light and shade of ambient light, proximity sensor can close the power supply of display when mobile phone 100 is moved in one's ear.One kind as step-counting sensor, accelerometer sensor can detect the size of (generally three axis) acceleration in all directions, size and the direction that can detect that gravity when static can be used to identify application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) of mobile phone posture etc.;The other sensors such as the gyroscope, barometer, hygrometer, thermometer, the infrared sensor that can also configure as mobile phone 100, details are not described herein.
Wi-Fi device 107, for providing the network insertion for following Wi-Fi relevant criterion agreement for mobile phone 100, mobile phone 100 can be linked into Wi-Fi access point by Wi-Fi device 107, and then help user to send and receive e-mail, browse webpage and access Streaming Media etc., it provides wireless broadband internet access for user.In some other embodiment, which can also be used as Wi-Fi wireless access point, and Wi-Fi network access can be provided for other electronic equipments.
Positioning device 108, for providing geographical location for mobile phone 100.It is understood that the positioning device 108 specifically can be the receiver of the positioning systems such as global positioning system (GPS) or Beidou satellite navigation system, Russian GLONASS.Positioning device 108 sends that information to processor 101 and is handled, or be sent to memory 103 and saved after receiving the geographical location that above-mentioned positioning system is sent.In other some embodiments, the positioning device 108 can be the receiver of auxiliary global satellite positioning system (AGPS), AGPS is a kind of method of operation that GPS positioning is carried out under certain mate-assist, it can use the signal of base station, cooperate GPS satellite signal, the speed that mobile phone 100 can be allowed to position is faster;In AGPS system, which can obtain positioning auxiliary by the communication with assisted location service device (such as Location Based Service device).AGPS system as secondary server by assisting positioning device 108 to complete ranging and positioning service, in this case, network communicates with the positioning device 108 (i.e. GPS receiver) of electronic equipment such as mobile phone 100 and provides positioning assistance assisted location service device by wireless communication.In other some embodiments, which is also possible to the location technology based on Wi-Fi access point.Since each Wi-Fi access point has a globally unique MAC Address, electronic equipment can scan in the case where opening Wi-Fi and collect the broadcast singal of the Wi-Fi access point of surrounding, Therefore the available MAC Address broadcast out to Wi-Fi access point;These can be indicated the data (such as MAC Address) of Wi-Fi access point by electronic equipment, and network is sent to location server by wireless communication, the geographical location of each Wi-Fi access point is retrieved by location server, and the degree of strength of Wi-Fi broadcast singal is combined, it calculates the geographical location of the electronic equipment and is sent in the positioning device 108 of the electronic equipment.
Voicefrequency circuit 109, loudspeaker 113, microphone 114 can provide the audio interface between user and mobile phone 100.Electric signal after the audio data received conversion can be transferred to loudspeaker 113 by voicefrequency circuit 109, be converted to voice signal output by loudspeaker 113;On the other hand, the voice signal of collection is converted to electric signal by microphone 114, audio data is converted to after being received by voicefrequency circuit 109, then audio data is exported to RF circuit 102 to be sent to such as another mobile phone, or audio data is exported to memory 103 to be further processed.
Peripheral Interface 110, for providing various interfaces for external input-output apparatus (such as keyboard, mouse, external-connection displayer, external memory, subscriber identification module card etc.).Such as connect by universal serial bus (USB) interface with mouse, subscriber identification module card (SIM) card provided by the hard contact on subscriber identification module card card slot with telecom operators is attached.Peripheral Interface 110 can be used to the input/output peripheral equipment of said external being couple to processor 101 and memory 103.
Mobile phone 100 can also include the power supply device 111 (such as battery and power management chip) powered to all parts, battery can be logically contiguous by power management chip and processor 101, to realize the functions such as management charging, electric discharge and power managed by power supply device 111.
Although Fig. 2 is not shown, mobile phone 100 can also include camera (front camera and/or rear camera), flash lamp, micro projector, near-field communication (near field communication, NFC) device, earpiece etc., details are not described herein.
Following embodiment can be realized in the electronic equipment with above-mentioned component.
As shown in figure 3, for user, the interaction schematic diagram of sports application (APP), positioning device.When user clicks the icon of movement APP on the touchscreen, electronic equipment can open movement APP.Starting running can be clicked on the graphic user interface of movement APP;And then movement APP opens positioning function, receives location information such as GPS information by above-mentioned positioning device 108 and is reported to movement APP.It moves APP and corresponding motion profile is shown on map according to the GPS information received.When user, which suspends, to run, user may not remove manual pause motion APP, and moving APP so still can GPS information that constantly receiving positioner reports.And since GPS information itself precision that positioning device receives is devious; it is possible to be different so being reported to the GPS information of the GPS information of movement APP at different times; the motion profile of the map on movement APP is resulted in deviation occur in this way; the situation for leading to track confusion as shown in Figure 1, has seriously affected user experience.
In order to solve the above-mentioned technical problem, as shown in figure 4, the embodiment of the present application provides a kind of method of motion recording, specifically includes the following steps:
Step 401: the graphic user interface (hereinafter referred to as GUI) of movement APP is shown in the touch screen of electronic equipment;
Step 402: above-mentioned electronic equipment detects touch event on the touchscreen;
Step 403: in response to above-mentioned touch event, above-mentioned movement APP receives the GPS information for carrying out self locating device, and motion profile corresponding with GPS information is shown in the GUI of above-mentioned movement APP;
Step 404: step-counting sensor reports step counting information to above-mentioned movement APP;In the present embodiment, movement APP can also monitor the step counting information of step-counting sensor in real time.
Step 405: when above-mentioned movement APP does not receive the step counting information of above-mentioned step-counting sensor in the given time, then movement APP no longer receives the GPS information for carrying out self locating device.
Above-mentioned technical proposal can make user when suspending running, and electronic equipment is automatically stopped reception GPS information, therefore does not appear in the motion profile shown on map and deviate, and also not need user's manual operation, therefore improve user experience.
In some other embodiment of the application, the above method can also include:
Step 406: the paused received information of user's GPS information is prompted in above-mentioned touch screen.User is facilitated to be further processed in this way.It can also show that movement APP currently has timed out the GUI of record motion profile in the touch screen.
In the application other embodiment, the above method can also include:
Step 407: when above-mentioned movement APP receives the step counting information of step-counting sensor, then receiving GPS information, and the display motion profile corresponding with GPS information on the GUI of movement APP.
In the application other embodiment, can also include: in the above method
Step 408: when above-mentioned movement APP receives the step counting information of step-counting sensor, and when step counting information shows that current speed is less than or equal to 10 minute/kilometer, APP is moved to stop receiving GPS information, and this movement (running) completed information is shown on the GUI of movement APP, such as form motion profile and show user.
As shown in figure 5, for the user in the application one embodiment, movement APP, positioning device, the interaction schematic diagram between step-counting sensor.User can start movement APP with the virtual push button on point touching screen run, the movement such as on foot.After movement APP receives the instruction of user, positioning service is opened, and begin listening for the step counting information from step-counting sensor;Positioning device sends GPS information and gives movement APP, then moves APP and shows motion profile corresponding with the GPS information on map;Movement APP can constantly receive the GPS information of positioning device transmission, to update motion profile on map.If may indicate that user's running suspends when movement APP is not received by the step counting information of step-counting sensor in the given time, then move APP and stop positioning service, no longer reception GPS information.At this point, the motion profile on map remains unchanged, it is not in the phenomenon that estimation deviates.
Fig. 6 is the frame concept figure of the embodiment of the present application.When user during exercise, electronic equipment is at GPS mode, can receive GPS information at this time and draw motion profile.When user's stop motion, and when the time (i.e. dwell) of stop motion is greater than the pre-determined threshold time, electronic equipment will be switched to still-mode, electronic equipment stops positioning service at this time, no longer receive GPS information, it will not continue to picture motion profile, therefore the trajectory diagram that user sees would not deviate.After user restarts movement, electronic equipment needs hereafter to continue to GPS information from still-mode switchback GPS mode and draw motion profile.
Fig. 7 is the system architecture schematic diagram in the embodiment of the present application.Electronic equipment needs support two kinds of hardware: positioning device 108, step-counting sensor 106 in bottom.The specific structure and function of the two hardware have had corresponding record in the above-described embodiments, and details are not described herein.
State machine management 701 and track UI module 702 are to move two functional modules of APP 700, wherein state machine management 701 can monitor always positioning device 108 and report GPS information, while listening for step-counting sensor 106 either with or without step counting information.Track UI module 702 is used to describe motion profile on map according to GPS information.
When step-counting sensor 106 does not report step counting information, state machine management 701 is considered as movement (such as running etc.) and stops, so that electronic equipment or movement APP are in still-mode, alternatively, making electronic equipment or movement APP from GPS pattern switching to still-mode;When step-counting sensor 106 reports step counting information, state machine management 701 thinks that user is moving, so that electronic equipment or movement APP are in GPS mode, alternatively, electronic equipment or movement APP is made to switch to GPS mode from still-mode.
Fig. 8 is the interaction schematic diagram between structure/module involved in Fig. 7.Step is described as follows:
1, user starts to run, and starts running on the GUI that the movement track APP UI module is presented.
2, UI module in track is to sending instructions under state machine management: starting running.
3, state machine management is according to above-metioned instruction, so that electronic equipment or movement APP enter GPS mode.
4, positioning device transmitting order to lower levels of the state machine management to mobile phone: GPS is opened.The active reporting of GPS information can then be received.
5, state machine management is to step-counting sensor transmitting order to lower levels: beginning listening for step counting information.The active reporting of step counting information can then be received.
6, during running, as long as there is the variation of step number, step-counting sensor active reporting step counting data give state machine management.
7, during running, as long as there is the update of GPS information, positioning device active reporting GPS information gives track UI module.
8, UI module in track is drawn on UI trajectory diagram GPS information is received, and the motion profile is presented on map.
9, present user suspends running.
10, because user pause run, there is no step counting information for step-counting sensor, also would not active reporting give state machine management.If state machine management no longer receives step counting information reporting, and is more than time threshold (such as 20~30 seconds), it is considered as user's pause and runs.
11, then state machine management encourages electronic equipment or movement APP from GPS pattern switching to still-mode.
12, positioning device transmitting order to lower levels of the state machine management to mobile phone: stop GPS.The active reporting of GPS information would not be then received again.
13, UI module in track keeps the trajectory diagram before pause on map, and not new GPS information reports, trajectory diagram confusion and offset would not also occurs.
As shown in Fig. 9 A to 9C, for movement APP GUI schematic diagram shown in touch screen 104.In figure 9 a, icon 901 shows user during the motion, and icon 902 shows to move the motion profile that APP is drawn on map according to the GPS information received.Prompt column 903 shows current running specifying information, for example, the time, with speed, distance etc..Icon 904 shows that user can touch the icon to suspend running, and icon 905 shows that user can touch the icon to stop running.When electronic equipment (such as mobile phone 100) detects that step-counting sensor does not report step counting information, it is believed that user's pause is run.As shown in Figure 9 B, after electronic equipment judges that user suspends running, original image mark 901 is replaced by icon 906, and icon 906 shows that user does not carry out road-work, and icon 907 shows that current hang is run, and user can touch icon 907 at any time and continue to run.In the application other embodiment, the following information of user can also be prompted on touch screen 104: " your paused running has stopped receiving GPS information, into still-mode " etc..
In the application other embodiment, after the finger of user touches icon 907 in Fig. 9 B, electronic equipment opens GPS, the GPS information of receiving positioner, to continue to show motion profile on map in response to the touch operation.That is, this when, electronic equipment switches to GPS mode from still-mode automatically.
In the application other embodiment, after the finger of user touches icon 905, in response to the touch event, electronic equipment stops receiving GPS information, and shows icon 908 and other relevant running information that running is completed on the touchscreen.
The embodiment of the present application provides a kind of electronic equipment, the electronic equipment includes touch screen, step-counting sensor, positioning device, one or more processors, memory, multiple application programs, and one or more programs, wherein the one or more program is stored in above-mentioned memory, said one or multiple programs include instruction, when above-metioned instruction is executed by the electronic equipment, so that the electronic equipment executes following steps:
The graphic user interface (hereinafter referred to as GUI) of movement APP is shown in the touch screen of above-mentioned electronic equipment;
Above-mentioned electronic equipment detects touch event on the touchscreen;
In response to above-mentioned touch event, above-mentioned movement APP receives the GPS information for carrying out self locating device, and motion profile corresponding with GPS information is shown in the GUI of above-mentioned movement APP;
Step-counting sensor reports step counting information to above-mentioned movement APP;
When above-mentioned movement APP does not receive the step counting information of above-mentioned step-counting sensor in the given time, then movement APP no longer receives the GPS information for carrying out self locating device.
In some other embodiment of the application, above-metioned instruction further includes so that the electronic equipment executes the instruction of following steps:
The paused received information of user's GPS information is prompted in above-mentioned touch screen.User is facilitated to be further processed in this way.It can also show that movement APP currently has timed out the GUI of record motion profile in the touch screen.
When above-mentioned movement APP receives the step counting information of step-counting sensor, then GPS information is received, and on the GUI of movement APP Show motion profile corresponding with GPS information.
When above-mentioned movement APP receives the step counting information of step-counting sensor, and when step counting information shows that current speed is less than or equal to 10 minute/kilometer, APP is moved to stop receiving GPS information, and this movement (running) completed information is shown on the GUI of movement APP, such as form motion profile and show user.
As used in above-described embodiment, based on context, term " when ... " can be interpreted to mean " if ... " or " ... it is rear " or " in response to determination ... " or " in response to detecting ... ".Similarly, based on context, phrase " when in determination ... " or " if detecting (condition or event stated) " can be interpreted to mean " if it is determined that ... " or " in response to determination ... " or " when detecting (condition or event stated) " or " in response to detecting (condition or event stated) ".
In the above-described embodiments, it can be realized wholly or partly by software, hardware, firmware or any combination thereof.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program product includes one or more computer instructions.When loading on computers and executing the computer program instructions, entirely or partly generate according to process or function described in the embodiment of the present application.The computer can be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or it is transmitted from a computer readable storage medium to another computer readable storage medium, for example, the computer instruction can be transmitted from a web-site, computer, server or data center by wired (such as coaxial cable, optical fiber, Digital Subscriber Line) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or data center.The computer readable storage medium can be any usable medium that computer can access or include the data storage devices such as one or more usable mediums integrated server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (such as DVD) or semiconductor medium (such as solid state hard disk) etc..
For purposes of explanation, the description of front is described by reference to specific embodiment.However, the discussion of above example, which is not intended to be, is also not intended to for the application being restricted in detail disclosed precise forms.According to above teaching content, many modifications and variations are all possible.Selection and description embodiment are the principle and its practical application in order to fully state the application, so that others skilled in the art can make full use of the application and various embodiments with the various modifications for being suitable for conceived special-purpose.

Claims (7)

  1. A kind of method of motion recording, the method are realized in the electronic equipment with locating module, touch screen and step-counting sensor, which is characterized in that the described method includes:
    The graphic user interface of movement APP is shown in the touch screen;
    Detect the touch event on the touch screen;
    In response to above-mentioned touch event, the movement APP receives the GPS information from the positioning device, and the display motion profile corresponding with GPS information in the graphic user interface of the movement APP;
    The step-counting sensor reports step counting information to the movement APP;
    When the movement APP does not receive the step counting information of the step-counting sensor in the given time, then the movement APP no longer receives the GPS information from the positioning device.
  2. The method according to claim 1, wherein the method also includes:
    The paused received information of user's GPS information is prompted in the touch screen.
  3. According to method as claimed in claim 2, it is characterised in that: the method also includes:
    When the movement APP receives the step counting information of the step-counting sensor again, then the GPS information of the positioning device is received, and the display motion profile corresponding with the GPS information on the graphic user interface of the movement APP.
  4. Electronic equipment as described in claim 1, which is characterized in that the method also includes:
    When the movement APP receives the step counting information of the step-counting sensor, and when the step counting information shows that current speed is less than or equal to 10 minute/kilometer, the movement APP stops receiving GPS information, and show that this moves completed information on the graphic user interface of the movement APP, and form motion profile and show user.
  5. A kind of electronic equipment characterized by comprising touch screen;Step-counting sensor;One or more processors;Memory;Multiple application programs;And one or more programs, wherein one or more of programs are stored in the memory, one or more of programs include instruction, when described instruction is executed by the electronic equipment, so that the electronic equipment executes following steps:
    The graphic user interface of movement APP is shown in the touch screen;
    Detect the touch event on the touch screen;
    In response to above-mentioned touch event, the movement APP receives the GPS information from the positioning device, and the display motion profile corresponding with GPS information in the graphic user interface of the movement APP;
    The step-counting sensor reports step counting information to the movement APP;
    When the movement APP does not receive the step counting information of the step-counting sensor in the given time, then the movement APP no longer receives the GPS information from the positioning device.
  6. A kind of computer readable storage medium is stored with instruction in the computer readable storage medium, which is characterized in that when described instruction is run on an electronic device, so that the electronic equipment executes such as method of any of claims 1-4.
  7. A kind of computer program product comprising instruction, which is characterized in that when the computer program product is run on an electronic device, so that the electronic equipment executes such as method of any of claims 1-4.
CN201780010527.4A 2017-01-22 2017-06-14 Motion recording method and electronic equipment Active CN108700429B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710047387X 2017-01-22
CN201710047387 2017-01-22
PCT/CN2017/088272 WO2018133313A1 (en) 2017-01-22 2017-06-14 Motion recording method and electronic device

Publications (2)

Publication Number Publication Date
CN108700429A true CN108700429A (en) 2018-10-23
CN108700429B CN108700429B (en) 2020-10-23

Family

ID=62907836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780010527.4A Active CN108700429B (en) 2017-01-22 2017-06-14 Motion recording method and electronic equipment

Country Status (2)

Country Link
CN (1) CN108700429B (en)
WO (1) WO2018133313A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096195A (en) * 2019-04-29 2019-08-06 努比亚技术有限公司 Motion icon display methods, wearable device and computer readable storage medium
CN112201230A (en) * 2019-07-08 2021-01-08 安徽华米信息科技有限公司 Voice response method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174262A (en) * 2006-11-02 2008-05-07 广东新蓝德信息产业有限公司 GIS automatic image-forming system and method thereof
CN103364812A (en) * 2012-03-30 2013-10-23 索尼公司 Information processing apparatus, information processing method, and program
CN105403228A (en) * 2015-12-18 2016-03-16 北京朗动科技有限公司 Determination method and device of movement distance
CN105698813A (en) * 2016-01-29 2016-06-22 广东欧珀移动通信有限公司 Error step metering preventing method, system, mobile terminal and pedometer
WO2016126786A1 (en) * 2015-02-03 2016-08-11 The Regents Of The University Of Michigan Last-mile navigation using smartphones

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437069A (en) * 2007-11-16 2009-05-20 希姆通信息技术(上海)有限公司 Method for measuring step using mobile communication equipment
JP2014140604A (en) * 2013-01-23 2014-08-07 Kazuhiro Shiina System for measuring walking speed and stride
CN104537132A (en) * 2015-01-30 2015-04-22 小米科技有限责任公司 Motion data recording method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174262A (en) * 2006-11-02 2008-05-07 广东新蓝德信息产业有限公司 GIS automatic image-forming system and method thereof
CN103364812A (en) * 2012-03-30 2013-10-23 索尼公司 Information processing apparatus, information processing method, and program
WO2016126786A1 (en) * 2015-02-03 2016-08-11 The Regents Of The University Of Michigan Last-mile navigation using smartphones
CN105403228A (en) * 2015-12-18 2016-03-16 北京朗动科技有限公司 Determination method and device of movement distance
CN105698813A (en) * 2016-01-29 2016-06-22 广东欧珀移动通信有限公司 Error step metering preventing method, system, mobile terminal and pedometer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096195A (en) * 2019-04-29 2019-08-06 努比亚技术有限公司 Motion icon display methods, wearable device and computer readable storage medium
CN112201230A (en) * 2019-07-08 2021-01-08 安徽华米信息科技有限公司 Voice response method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108700429B (en) 2020-10-23
WO2018133313A1 (en) 2018-07-26

Similar Documents

Publication Publication Date Title
US10708649B2 (en) Method, apparatus and system for displaying bullet screen information
CN106101736B (en) A kind of methods of exhibiting and system of virtual present
US10643666B2 (en) Video play method and device, and computer storage medium
KR101652373B1 (en) Method, device, terminal, program and storage medium for displaying virtual keyboard
EP4297417A2 (en) Method of controlling the sharing of videos and electronic device adapted thereto
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
EP4270971A1 (en) Image sharing method and electronic device
US20200076876A1 (en) Image Sharing Method and System, and Electronic Device
WO2018120905A1 (en) Message reminding method for terminal, and terminal
WO2018137304A1 (en) Method for displaying 2d application in vr device, and terminal
US20200150860A1 (en) Mobile terminal and control method therefor, and readable storage medium
EP3640819A1 (en) Search method and apparatus
US10320730B2 (en) Method and device for displaying message
WO2018223400A1 (en) Display method and device
WO2015172705A1 (en) Method and system for collecting statistics on streaming media data, and related apparatus
EP3429176A1 (en) Scenario-based sound effect control method and electronic device
CN106406732A (en) Virtual key processing device and method for terminal equipment
US9824476B2 (en) Method for superposing location information on collage, terminal and server
CN106101764A (en) A kind of methods, devices and systems showing video data
CN111684827B (en) Method and equipment for setting supplementary service
WO2015120796A1 (en) Application-based service providing method, apparatus, and system
CN106547874A (en) Multimedia recommendation method and device
CN108700429A (en) The method and electronic equipment of motion recording
CN106484615B (en) The method and apparatus of record log
CN106656803B (en) A kind of method, apparatus and system updating route table items

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