CN110059203A - Date storage method, wearable device and computer readable storage medium - Google Patents

Date storage method, wearable device and computer readable storage medium Download PDF

Info

Publication number
CN110059203A
CN110059203A CN201910307504.0A CN201910307504A CN110059203A CN 110059203 A CN110059203 A CN 110059203A CN 201910307504 A CN201910307504 A CN 201910307504A CN 110059203 A CN110059203 A CN 110059203A
Authority
CN
China
Prior art keywords
track data
motion profile
default matrix
span
longitude
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.)
Pending
Application number
CN201910307504.0A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910307504.0A priority Critical patent/CN110059203A/en
Publication of CN110059203A publication Critical patent/CN110059203A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/35Constructional details or hardware or software details of the signal processing chain
    • G01S19/36Constructional details or hardware or software details of the signal processing chain relating to the receiver frond end
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/587Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location

Abstract

The invention discloses a kind of date storage method, wearable device and computer readable storage mediums.This method comprises: obtaining the track data of the motion profile of wearable device, determine the deviant of track data storage location in default matrix, based on determining deviant, location information of the track data in default matrix is calculated, based on location information, corresponding matrix position stores default carry system code in default matrix, to realize the single byte by the way that GPS coordinate data to be converted to binary code.Present invention reduces the amount of storage of GPS data, improve the transmission speed of GPS data storage picture.

Description

Date storage method, wearable device and computer readable storage medium
Technical field
This application involves technical field of data processing more particularly to a kind of date storage methods, wearable device and calculating Machine readable storage medium storing program for executing.
Background technique
With the continuous development of science and technology and apply, GPS (Global Positioning System, global positioning system System) in life using more and more extensive, be especially used in the equipment with positioning and following function, GPS data is general It is shown in relevant equipment by way of picture or image.
Currently, the picture storage mode of GPS data, the general longitude and latitude degree by each anchor point coordinate in GPS data According to composition, often result in that picture amount of storage is big, and picture transfer speed is slow.
Summary of the invention
The main purpose of the present invention is to provide a kind of date storage method, wearable device and readable storage medium storing program for executing, purports In the big technical problem of the data storage capacity for solving wearable device in the prior art.
To achieve the above object, the present invention provides a kind of date storage method, and the date storage method includes following step It is rapid:
Obtain the track data of the motion profile of the wearable device;
Determine the deviant of track data storage location in the default matrix;
Based on the determining deviant, location information of the track data in the default matrix is calculated;
Based on the location information, the default binary code of corresponding position storage single byte in default matrix.
Optionally, the deviant includes: vertical misalignment value, determines that the track data stores in the default matrix The step of deviant of position includes:
According to minimum latitude value corresponding in corresponding maximum latitude value in the track data and the track data, meter Calculation obtains the latitude span of the motion profile;
According to minimum longitude corresponding in corresponding maximum longitude in the track data and the track data, meter Calculation obtains the longitude span of the motion profile;
If the latitude span of the motion profile be greater than the motion profile longitude span, based on the latitude across The vertical misalignment value is calculated away from, the longitude span and the default matrix.
Optionally, described that the longitudinal direction is calculated based on the latitude span, the longitude span and the default matrix The step of deviant includes:
According to the longitude span of the motion profile and the predetermined width of the default matrix, the default square is calculated First size ruler of battle array and motion profile;
According to the latitude span of the first size ruler and the motion profile, the motion profile is calculated Latitude span corresponding height on the default matrix;
The preset height of the default matrix is corresponding on the default matrix with the latitude span of the motion profile Height make it is poor, obtain vertical misalignment value.
Optionally, described based on the determining deviant, the track data is calculated in the default matrix Location information the step of include:
According to the first size ruler and the track data, the track data is obtained in the default matrix Column position information;
According to corresponding in maximum latitude value corresponding in the track data, the track data, the track data The preset height and the vertical misalignment value of minimum latitude value, the default matrix, are calculated the track data described Row location information in default matrix.
Optionally, the deviant includes: lateral shift value, the longitude span that the motion profile is calculated After step, further includes:
If the latitude span of the motion profile be less than the motion profile longitude span, based on the latitude across Lateral shift value is calculated away from, the longitude span and the default matrix.
Optionally, described that lateral shift is calculated based on the latitude span, the longitude span and the default matrix The step of value includes:
According to the motion profile latitude span and default matrix preset height, be calculated the default matrix with The second largest small scale of motion profile;
According to the longitude span of the second largest small scale and the motion profile, the motion profile is calculated Longitude span corresponding width on the default matrix;
The predetermined width of the default matrix is corresponding on the default matrix with the longitude span of the motion profile Width make it is poor, obtain the lateral shift value.
Optionally it is determined that the deviant be lateral shift value, it is described based on the determining deviant, be calculated The step of location information of the track data in the default matrix includes:
According to the second largest small scale and the track data, the track data is obtained in the default matrix Row location information;
According to corresponding in maximum longitude corresponding in the track data, the track data, the track data Minimum longitude, the predetermined width of the default matrix and the lateral shift value, are calculated the track data described Column position information in default matrix.
Optionally, described based on the determining deviant, the track data is calculated in the default matrix Location information the step of include:
If the latitude span of the motion profile is equal to the longitude span of the motion profile, based on according to the movement The the third-largest of the default matrix and motion profile is calculated in the predetermined width of the longitude span of track and the default matrix Small scale;
According to the third-largest small scale and the track data, the track data is obtained in the default matrix Location information.
In addition, to achieve the above object, the present invention also provides a kind of wearable device, the wearable device includes: to deposit Reservoir, processor and it is stored in the computer program that can be run on the memory and on the processor, the computer The step of any of the above-described date storage method is realized when program is executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Computer program is stored on storage medium, the computer program realizes any of the above-described item data storage when being executed by processor The step of method.
The present invention determines track data in default matrix by the track data of the motion profile of acquisition wearable device The deviant of storage location is calculated location information of the track data in default matrix, is based on based on determining deviant Location information, corresponding matrix position stores default carry system code in default matrix, to realize by by GPS coordinate number According to the single byte for being converted to binary code.Present invention reduces the amount of storage of GPS data, improve GPS data storage picture Transmission speed.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of embodiment of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 3 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 4 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 5 is a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application;
Fig. 6 is the flow diagram of the application date storage method first embodiment;
Fig. 7 is the flow diagram of the application date storage method second embodiment;
Fig. 8 is the flow diagram of the application date storage method 3rd embodiment;
Fig. 9 is the flow diagram of the application date storage method fourth embodiment;
Figure 10 is the flow diagram of the 5th embodiment of the application date storage method;
Figure 11 is the flow diagram of the application date storage method sixth embodiment.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. move Dynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventually End can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (Radio Frequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, display The components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present invention A kind of hardware structural diagram of wearable device of example, which may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricity The components such as source 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearable The restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer components Component layout.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list Uplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be worn The processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101 What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable device It send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changes Frequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informing The processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the message Know on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least one Amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radio Letter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, example Such as, wearable device can download file resource from server by wireless communication, for example can download and answer from server With program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in server Resource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remind User is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), (Wideband Code Division Multiple Access, column tape code point are more by WCDMA Location), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronous CDMA), (Frequency Division Duplexing-Long Term Evolution, frequency division duplex are long by FDD-LTE Phase evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are drilled for a long time Into) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arranged Existing communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 its And it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completely Slightly., wearable device 100 can realize the communication connection with other equipment or communication network separately through wifi module 102, The embodiment of the present invention is not limited thereto.
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102 Email, browsing webpage and access streaming video etc., it provides wireless column band internet access for user.Although Fig. 1 WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can root It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100 When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception sound Sound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera, It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear, Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function Hit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensor Wearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to using Person can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprint Realize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen sets For when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screen Body and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodiment It is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearing Around.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable device User setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation One of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be with The various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multiple It can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments, Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically herein Without limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101 The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certain One region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071 The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.Example Such as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You Xianhuo Wireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or can For transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact with Corresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include scanning frequency random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connection Various pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored in Data in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device whole Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
In the present invention, processor 110 executes the computer program being stored in memory 109, to execute operations described below:
Obtain the track data of the motion profile of the wearable device;
Determine the deviant of track data storage location in the default matrix;
Based on the determining deviant, location information of the track data in the default matrix is calculated;
Based on the location information, the default binary code of corresponding position storage single byte in default matrix.
Further, processor 110 executes the computer program being stored in memory 109, also executes following operation:
According to minimum latitude value corresponding in corresponding maximum latitude value in the track data and the track data, meter Calculation obtains the latitude span of the motion profile;
According to minimum longitude corresponding in corresponding maximum longitude in the track data and the track data, meter Calculation obtains the longitude span of the motion profile;
If the latitude span of the motion profile be greater than the motion profile longitude span, based on the latitude across The vertical misalignment value is calculated away from, the longitude span and the default matrix.
Further, processor 110 executes the computer program being stored in memory 109, also executes following operation:
According to the longitude span of the motion profile and the predetermined width of the default matrix, the default square is calculated First size ruler of battle array and motion profile;
According to the latitude span of the first size ruler and the motion profile, the motion profile is calculated Latitude span corresponding height on the default matrix;
The preset height of the default matrix is corresponding on the default matrix with the latitude span of the motion profile Height make it is poor, obtain vertical misalignment value.
Further, processor 110 executes the computer program being stored in memory 109, also executes following operation:
According to the first size ruler and the track data, the track data is obtained in the default matrix Column position information;
According to corresponding in maximum latitude value corresponding in the track data, the track data, the track data The preset height and the vertical misalignment value of minimum latitude value, the default matrix, are calculated the track data described Row location information in default matrix.
Further, processor 110 executes the computer program being stored in memory 109, also executes following operation:
If the latitude span of the motion profile be less than the motion profile longitude span, based on the latitude across Lateral shift value is calculated away from, the longitude span and the default matrix.
Further, processor 110 executes the computer program being stored in memory 109, also executes following operation:
According to the motion profile latitude span and default matrix preset height, be calculated the default matrix with The second largest small scale of motion profile;
According to the longitude span of the second largest small scale and the motion profile, the motion profile is calculated Longitude span corresponding width on the default matrix;
By the width of the default matrix with the longitude span of the motion profile the corresponding width on the default matrix It is poor that degree is made, and obtains the lateral shift value.
Further, processor 110 executes the computer program being stored in memory 109, also executes following operation:
According to the second largest small scale and the track data, the track data is obtained in the default matrix Row location information;
According to corresponding in maximum longitude corresponding in the track data, the track data, the track data Minimum longitude, the predetermined width of the default matrix and the lateral shift value, are calculated the track data described Column position information in default matrix.
Further, processor 110 executes the computer program being stored in memory 109, also executes following operation:
If the latitude span of the motion profile is equal to the longitude span of the motion profile, based on according to the movement The the third-largest of the default matrix and motion profile is calculated in the predetermined width of the longitude span of track and the default matrix Small scale;
According to the third-largest small scale and the track data, the track data is obtained in the default matrix Location information.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management, The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to set Standby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
Fig. 2-Fig. 4 is please referred to, is the structure under a kind of a kind of embodiment of wearable device provided in an embodiment of the present invention Schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.In wearable device expansion, flexible screen is in Strip;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 show wearable device Structural schematic diagram when screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on above-mentioned each embodiment, it can be seen that if the equipment is wrist-watch, bracelet or wearable device When, the screen of the equipment can not overlay device watchband region, can also be with the watchband region of overlay device.Here, this hair Bright to propose a kind of optional embodiment, in the present embodiment, the equipment for wrist-watch, bracelet or wearable can be set Standby, the equipment includes screen and interconnecting piece.The screen can be flexible screen, and the interconnecting piece can be watchband.It can Choosing, the screen of the equipment or the viewing area of screen can be partly or completely covered on the watchband of equipment.Such as Fig. 5 Shown, Fig. 9 is a kind of a kind of hardware schematic of embodiment of wearable device provided by the embodiments of the present application, the equipment Screen extends to two sides, and part is covered on the watchband of equipment.In other embodiments, the screen of the equipment can also be with All it is covered on the watchband of the equipment.
The present invention further provides a kind of date storage methods.
It is the method schematic diagram of date storage method first embodiment of the present invention referring to Fig. 6, Fig. 6.
In the present embodiment, the date storage method includes:
Step S10 obtains the track data of the motion profile of the wearable device;
In the present embodiment, the track data of the motion profile of wearable device is obtained.
In one embodiment, which applies to wearable device, and the wearable device is fixed with GPS The image datas such as camera acquisition equipment, the track data of motion profile, by user are installed on bit function and wearable device Wearable device is worn to be moved and generated.
Further, in one embodiment, the GPS (Global of each track data on motion profile is obtained Positioning System, global positioning system) coordinate data and default matrix data, wherein the GPS of the track data Coordinate data includes the abscissa and ordinate of track data, and abscissa is longitude, and ordinate is latitude, presets the data of matrix Row and default matrix column including presetting matrix.
In particular it is required that explanation, the data of motion profile are general to constitute picture by storage longitude and latitude, therefore, The GPS coordinate longitude and latitude of one track data is made of 2 bytes i.e. 32 characters, and therefore, amount of storage is larger, by GPS coordinate The picture of longitude and latitude composition, the transmission speed of the picture are slower.
Further, in one embodiment, the data for presetting matrix need the developer of wearable device, in advance It is configured in wearable device.It should be noted that the shape of the default matrix of the present embodiment is square, but the present invention It is not limited by the concrete shape that the present embodiment presets matrix.
Further, in one embodiment, the data for presetting matrix are preset by the user of wearable device, are used Family is preset in wearable device before storing motion profile.
Further, in one embodiment, pass through the GPS coordinate number of the corresponding track data of acquisition motion profile According to corresponding maximum in corresponding minimum latitude value in maximum latitude value corresponding in, track data, track data, track data The row and default matrix column of corresponding minimum longitude in longitude, track data, default matrix.
Further, it should be noted that the GPS coordinate data of track data, for the position for needing to be converted to default matrix The motion profile of confidence breath, wherein corresponding maximum latitude value in track data, corresponding minimum latitude value in track data, Corresponding maximum longitude, corresponding minimum longitude in track data, are the ranges to determine motion profile in track data Size, it should be noted that corresponding maximum latitude value maximum longitude corresponding in track data in track data, it can be with It can also be the latitude and longitude value of two different track datas respectively for the latitude and longitude value of the same track data.
Step S20 determines the deviant of track data storage location in the default matrix;
In the present embodiment, according to track data and default matrix, track data storage location in default matrix is determined Deviant.
Specifically, in one embodiment, according to the magnitude range of motion profile and the range data of default matrix, really Fixed corresponding deviant, wherein the deviant refers to, all aobvious with size to greatest extent in motion profile in default matrix Under the premise of showing, which does not cover default matrix column.
Further, it should be noted that determine corresponding deviant, be to guarantee the motion profile with to greatest extent Size is preset in matrix and is shown at this, and further, assists determining specific location of the motion profile in default matrix.
Optionally, step S20, further includes: if the latitude span of the motion profile is less than the longitude of the motion profile Span then calculates lateral shift value based on the latitude span, the longitude span and the default matrix.
In the present embodiment, by according to corresponding minimum latitude in maximum latitude value corresponding in track data, track data The latitude span of motion profile is calculated in angle value, according to right in maximum longitude corresponding in track data and track data The longitude span of motion profile is calculated in the minimum longitude answered, if the latitude span of motion profile is less than motion profile Longitude span is then based on latitude span, longitude span and the default matrix, determines that deviant is lateral shift value, and count Calculate corresponding lateral shift value.
Further, in one embodiment, it will obtain stating the latitude span of motion profile and the longitude of motion profile Span carries out length comparison, if the latitude span of motion profile is less than the longitude span of motion profile, it is determined that motion profile The size that latitude longitudinal direction track is shown in default matrix is consistent with the row of default matrix, offset of the motion profile in desired guiding trajectory Value is lateral shift value, and motion profile is not present in the vertical misalignment value of desired guiding trajectory.
Further, in one embodiment, if the latitude span of motion profile is less than the longitude span of motion profile, It then determines that offset direction is lateral shift, and calculates corresponding lateral shift value, wherein it should be noted that determining offset Direction is lateral shift, it is determined that the motion profile presets the intermediate region for being distributed in default matrix column in matrix at this.
Optionally, step S20 further include:
Step a is calculated described default according to the latitude span of the motion profile and the preset height of default matrix The second largest small scale of matrix and motion profile;
The movement is calculated according to the longitude span of the second largest small scale and the motion profile in step b The longitude span of track corresponding width on the default matrix;
Step c is right on the default matrix by the width of the default matrix and the longitude span of the motion profile It is poor that the width answered is made, and obtains the lateral shift value.
In the present embodiment, according to the latitude span of motion profile and the preset height of default matrix, default square is calculated Battle array and the second largest small scale of motion profile are calculated according to the longitude span of the second largest small scale and motion profile The longitude span of motion profile corresponding width on default matrix, by the longitude span of the width of default matrix and motion profile Corresponding width is made poor on default matrix, obtains lateral shift value.
Specifically, in one embodiment, the second preset ratio calculation formula need in advance in wearable device into Row setting, the latitude span according to motion profile can obtain presetting matrix and motion profile than the preset height of default matrix The longitude of motion profile is calculated according to the longitude span of the second largest small scale and motion profile in the second largest small scale Span corresponding width on default matrix, it is poor that the predetermined width of default matrix width corresponding with motion profile is made, and obtains Lateral shift value.
Position of the motion profile in the default matrix is calculated based on the determining deviant in step S30 Confidence breath;
In the present embodiment, based on determining deviant, location information of the motion profile in default matrix is calculated.
Specifically, in one embodiment, based on determining deviant, motion profile is calculated in default matrix Location information.
Further, in one embodiment, however, it is determined that deviant be lateral shift value, then preset transformation for mula with Based on lateral shift value, the GPS coordinate data of track data is converted;If it is determined that deviant be lateral shift value, Then based on lateral shift value, by presetting transformation for mula, the GPS coordinate data of track data is converted, Jin Ershi The GPS coordinate data for showing the motion profile to the maximum extent in default matrix now, and improving track data is transformed to pre- If the accuracy of the location information of matrix, wherein default transformation for mula needs to be preset in wearable device in advance.
Step S40 is based on the location information, the default binary system of corresponding position storage single byte in default matrix Code.
In the present embodiment, when receiving the location information of the corresponding default matrix of motion profile, believed based on the position Breath, the default binary code of corresponding position storage single byte in default matrix.
Further, it should be noted that in default matrix default the two of corresponding matrix position storage single byte into Code processed, wherein the default binary code of single byte includes 1 and 0, it should be noted that the prior art is to GPS coordinate data Be stored as two bytes, and in the present embodiment, GPS coordinate data is converted to the single byte of binary code, therefore, is reduced Amount of storage, improves transmission speed.The default carry system code that the present invention presets matrix is not limited by the present embodiment.
Further, in one embodiment, wearable device is receiving the corresponding default matrix of the motion profile When the idsplay order of location information, the corresponding picture of the motion profile is shown in the display interface of wearable device, for example, at this The image content that display interface is shown, including the binary system schematic diagram being made of the binary code of the corresponding storage of motion profile, example Such as, the position for the location information that there is default matrix in the default matrix shows 1, and there is no the positions of the location information of default matrix Display 0 is set, to reduce the amount of storage of motion profile, motion profile of beginning a new line stores the transmission speed of picture.
In the present embodiment, the track data of the motion profile by obtaining wearable device determines track data default The deviant of storage location in matrix is calculated position of the track data in default matrix and is believed based on determining deviant Breath is based on location information, and corresponding matrix position stores default carry system code in default matrix, thus realize pass through by GPS coordinate data is converted to the single byte of binary code, therefore, reduces the amount of storage of GPS data, improves GPS data Store the transmission speed of picture.
Further, as shown in fig. 7, Fig. 7 is the flow diagram of date storage method second embodiment of the present invention, the reality It applies in example, the step S20 includes:
Step S201, according to corresponding minimum in corresponding maximum latitude value in the track data and the track data The latitude span of the motion profile is calculated in latitude value;
Step S202, according to corresponding minimum in corresponding maximum longitude in the track data and the track data The longitude span of the motion profile is calculated in longitude;
Step S203 is based on institute if the latitude span of the motion profile is greater than the longitude span of the motion profile It states latitude span, the longitude span and the default matrix and calculates the vertical misalignment value.
In the present embodiment, by according to minimum latitude corresponding in maximum latitude value corresponding in track data and track data The latitude span of motion profile is calculated in angle value, according to right in maximum longitude corresponding in track data and track data The longitude span of motion profile is calculated in the minimum longitude answered, if the latitude span of motion profile is greater than motion profile Longitude span then calculates vertical misalignment value based on latitude span, longitude span and default matrix.
Specifically, in one embodiment, by according in maximum latitude value corresponding in track data, track data By pre-determined distance calculation formula the latitude span of motion profile is calculated, according to track data in corresponding minimum latitude value In in corresponding maximum longitude and track data corresponding minimum longitude be calculated by pre-determined distance calculation formula The longitude span of the longitude span of motion profile, latitude span and motion profile based on motion profile judges the latitude of motion profile Whether degree span is greater than the longitude span of motion profile, if the latitude span of motion profile is greater than the longitude span of motion profile, Vertical misalignment value is then calculated based on latitude span, longitude span and default matrix.
Wherein, pre-determined distance calculation formula, for the distance calculation formula to two coordinate points, then pre-determined distance calculation formula =longitude and latitude difference × motion profile scale bar, need to be preset in advance in wearable device, for example, if maximum longitude is east longitude 112.596, minimum longitude is east longitude 112.550, and maximum latitude is north latitude 28.1140, and minimum latitude is north latitude 28.1130, then By maximum longitude be east longitude 112.596 and minimum longitude is that east longitude 112.550 makees difference, and multiplied by motion profile scale bar, obtains The longitude span of motion profile;It is then north latitude 28.1140 by maximum latitude, minimum latitude is that north latitude 28.1130 makees difference, and multiplied by Motion profile scale bar obtains the latitude span of motion profile, then the latitude span and motion profile that will obtain stating motion profile Longitude span, progress compare apart from length.
Further, in one embodiment, if the latitude span of motion profile is greater than the longitude span of motion profile, It then determines that offset direction is vertical misalignment, and calculates corresponding vertical misalignment value, wherein it should be noted that determining offset Direction is vertical misalignment, it is determined that, which presets the display in matrix and is distributed at this, presets the centre of the row of matrix Region.
It should be noted that the shape of the default matrix of the present embodiment is square, but the present invention is not pre- by the present embodiment If the limitation of the concrete shape of matrix.
In the present embodiment, by pre-determined distance calculation formula, the latitude span and motion profile of motion profile is calculated Longitude span, and the longitude span of the latitude span of motion profile and motion profile is compared, if the latitude of motion profile Spend span be greater than motion profile longitude span, then determine there are vertical misalignment values, and based on latitude span, longitude span and Default matrix calculates vertical misalignment value, to realize position range by calculating motion profile to vertical misalignment value really It is fixed, technical support is provided for the subsequent location information that the corresponding default matrix of motion profile is calculated.
Further, as shown in figure 8, proposing date storage method 3rd embodiment of the present invention, in the present embodiment, step S203 includes:
Step S2031 is calculated according to the longitude span of the motion profile and the predetermined width of the default matrix First size ruler of the default matrix and motion profile;
Step S2032 is calculated described according to the latitude span of the first size ruler and the motion profile The latitude span of motion profile corresponding height on the default matrix;
Step S2033, by the preset height of the default matrix and the latitude span of the motion profile described default Corresponding height is made poor on matrix, obtains vertical misalignment value.
In the present embodiment, according to the longitude span of motion profile and the predetermined width of default matrix, default square is calculated Battle array and the first size ruler of motion profile are calculated according to the latitude span of the first size ruler and motion profile The latitude span of motion profile corresponding height on default matrix, by the latitude of the preset height of default matrix and motion profile It is poor that span corresponding height on default matrix is made, and obtains vertical misalignment value.
Specifically, in one embodiment, according to the longitude span of motion profile and default matrix column, by default The size ruler of default matrix and motion profile is calculated, according to size ruler and motion profile in ratio calculation formula Latitude span, the latitude span of motion profile corresponding longitudinal display span on default matrix is calculated, wherein need Illustrate, the first preset ratio calculation formula, can be obtained by the longitude span of motion profile than default matrix column, or by The longitude span of motion profile is obtained than the column of desired guiding trajectory and the difference of the lateral shift value, wherein the first preset ratio calculates Formula needs to be preset in wearable device in advance.
In the present embodiment, by according to latitude value maximum in track data, minimum latitude value and pre-determined distance calculation formula, The latitude span of motion profile is calculated, and according to maximum longitude corresponding in track data and minimum longitude, calculates The longitude span of motion profile is obtained, the longitude span of latitude span and motion profile based on motion profile judges motion profile Latitude span whether be greater than the longitude span of motion profile, if the latitude span of motion profile be greater than the longitude of motion profile across Away from then calculating vertical misalignment value based on latitude span, longitude span and default matrix, realize through default matrix and movement The calculating of the latitude span of the size ruler and motion profile of track calculates to obtain vertical misalignment value to be subsequent Location information to the corresponding default matrix of motion profile provides technical support.
Further, as shown in figure 9, proposing date storage method fourth embodiment of the present invention, in the present embodiment, step S30 includes:
Step S301 obtains the track data described according to the first size ruler and the track data Column position information in default matrix;
Step S302, according to maximum latitude value, the track data corresponding in the track data, the track data In corresponding minimum latitude value, the default matrix preset height and the vertical misalignment value, the track number is calculated According to the row location information in the default matrix.
In the present embodiment, according to the first size ruler and track data, column of the track data in default matrix are obtained Location information, according to maximum latitude value corresponding in track data, track data, corresponding minimum latitude value in track data, Row location information of the track data in default matrix is calculated in the preset height and vertical misalignment value of default matrix.
Specifically, in one embodiment, for example, track data be P point, be P point GPS coordinate for (long, Lat), wherein long is the longitude of P point, and lat is the latitude of P point, and the default matrix column location information of P point is x, P point it is pre- If matrix column location information is y, vertical misalignment value is offsety, presets the first size ruler of matrix and motion profile For B, corresponding maximum latitude value is top in the track data, corresponding minimum latitude value is bottom in the track data, should The behavior height of default matrix, then preset the row location information calculation formula of matrix are as follows:
Wherein, the specific value for knowing long, top, bottom, height and offsety through the foregoing embodiment, passes through The row location information calculation formula of the default matrix, can shift out the numerical value of y onto, and the value of x is long multiplied by B.By referring to this Corresponding minimax longitude and latitude point in track data, by presetting transformation for mula, thus realize it is more acurrate, more fixed The line position of the default matrix in position is set.
In the present embodiment, since there are vertical misalignment values, then according to the first size ruler and track data, by default Column position information of the track data in default matrix is calculated in ratio calculation formula, according in track data, track data The preset height and vertical misalignment value of corresponding minimum latitude value, default matrix, lead in corresponding maximum latitude value, track data Row location information of the track data in default matrix is calculated in the row location information calculation formula for crossing default matrix, thus real Show and column position of the track data in the default matrix has been obtained by the row location information calculation formula by presetting matrix Set with ordinate location information, to provide technical support to store location information to the default matrix of default matrix.
Further, as shown in Figure 10, the 5th embodiment of date storage method of the present invention is proposed, in the present embodiment, step S30 includes:
Step S303 obtains the track data described according to the second largest small scale and the track data Row location information in default matrix;
Step S304, according to maximum longitude, the track data corresponding in the track data, the track data In corresponding minimum longitude, the predetermined width of the default matrix and the lateral shift value, the track number is calculated According to the column position information in the default matrix.
In the present embodiment, according to the second largest small scale and track data, row of the track data in default matrix is obtained Location information, according to maximum longitude corresponding in track data, track data, corresponding minimum longitude in track data, Column position information of the track data in default matrix is calculated in the predetermined width and lateral shift value of default matrix.
Specifically, in one embodiment, for example, track data be P point, be P point GPS coordinate for (long, Lat), wherein long is the longitude of P point, and lat is the latitude of P point, and the default matrix column location information of P point is x, P point it is pre- If the row location information of matrix is y, lateral shift value is offsetx, in the track data corresponding maximum longitude be left, Corresponding minimum longitude is right in the track data, which is width, presets matrix and motion profile The second largest small scale be A, then preset matrix column positional information calculation formula are as follows:
Wherein, the specific value for knowing long, left, right, width and offsetx through the foregoing embodiment, passes through The default matrix column positional information calculation formula can shift out the numerical value of x onto, and the value of y is lat multiplied by A, by referring to the rail Corresponding minimax longitude and latitude point in mark data, by preset transformation for mula, thus realize it is more acurrate, more easily position Default matrix abscissa positions.
In the present embodiment, track is calculated by ratiometric conversion in the second largest small scale and the latitude of track data Row location information of the data in default matrix will be according to track number further according to default matrix column positional information calculation formula According to corresponding minimum longitude in maximum longitude corresponding in, track data, track data, the predetermined width of default matrix and Column position information of the track data in default matrix is calculated in lateral shift value, it is thereby achieved that in track data most It is reference point that big longitude and latitude, which is minimum longitude and latitude, has obtained track data by default matrix column positional information calculation formula and has existed The line position in column position and default matrix in default matrix is set, thus to store the location information of default matrix to default square Battle array provides technical support.
Further, as shown in figure 11, date storage method sixth embodiment of the present invention is proposed, in the present embodiment, step S30 includes:
Step S305, if the latitude span of the motion profile be equal to the motion profile longitude span, based on according to According to the longitude span of the motion profile and the predetermined width of the default matrix, the default matrix and movement rail is calculated The third-largest small scale of mark;
Step S306 obtains the track data described according to the third-largest small scale and the track data Location information in default matrix.
In the present embodiment, if the latitude span of motion profile is equal to the longitude span of motion profile, based on according to movement The longitude span of track and the predetermined width of default matrix, are calculated the third size of default matrix and motion profile Ruler obtains location information of the track data in default matrix according to the third-largest small scale and track data.
Further, in one embodiment, third preset ratio calculation formula needs in advance in wearable device It is configured, the latitude span according to motion profile is than the preset height of default matrix or the longitude span ratio of motion profile The predetermined width of default matrix can obtain the third-largest small scale of default matrix and motion profile, according to third size Ruler and track data obtain location information of the track data in default matrix, are based on the location information, right in default matrix The matrix position answered stores default carry system code, it should be noted that if the latitude span of motion profile is equal to motion profile Longitude span, it is determined that deviant is not present, then position distribution of the track data in default matrix is in the entire of default matrix Show screen area.
Specifically, in one embodiment, for example, track data be P point, be P point GPS coordinate for (long, Lat), wherein long is the longitude of P point, and lat is the latitude of P point, and the default matrix column location information of P point is x, P point it is pre- If matrix column location information is y, the third-largest small scale for presetting matrix and motion profile is C, then the value of y be lat multiplied by The value of C, x are long multiplied by C.
Further, in one embodiment, wearable device is receiving the corresponding default matrix of the motion profile When the idsplay order of location information, the corresponding picture of the motion profile is shown in the display interface of wearable device, for example, at this The image content that display interface is shown, including the binary system schematic diagram being made of the binary code of the corresponding storage of motion profile, example Such as, the position for the location information that there is default matrix in the default matrix shows 1, and there is no the positions of the location information of default matrix Display 0 is set, to reduce the amount of storage of motion profile, motion profile of beginning a new line stores the transmission speed of picture.
In the present embodiment, deviant is not present by determining, then according to the longitude span of motion profile and default matrix The third-largest small scale is calculated in predetermined width, according to the latitude and longitude coordinates of the third-largest small scale and track data, obtains Column position information and corresponding row location information in matrix are being preset to track data, the location information is being based on, to realize GPS coordinate data is converted to the single byte of binary code, is the subsequent amount of storage for reducing GPS data, improves GPS The transmission speed of data storing map piece provides technical support.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium.
Computer program is stored on the computer readable storage medium, when the computer program is executed by processor The step of realizing the date storage method in such as any of the above-described embodiment.
Computer readable storage medium specific embodiment of the present invention and the basic phase of each embodiment of above-mentioned date storage method Together, details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include the other elements being not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), method described in each embodiment of the present invention is executed.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of date storage method is applied to wearable device, which is characterized in that the date storage method includes following step It is rapid:
Obtain the track data of the motion profile of the wearable device;
Determine the deviant of track data storage location in the default matrix;
Based on the determining deviant, location information of the track data in the default matrix is calculated;
Based on the location information, the default binary code of corresponding position storage single byte in default matrix.
2. date storage method as described in claim 1, which is characterized in that the deviant includes: vertical misalignment value, is determined The track data includes: the step of the deviant of storage location in the default matrix
According to minimum latitude value corresponding in corresponding maximum latitude value in the track data and the track data, calculate To the latitude span of the motion profile;
According to minimum longitude corresponding in corresponding maximum longitude in the track data and the track data, calculate To the longitude span of the motion profile;
If the latitude span of the motion profile is greater than the longitude span of the motion profile, it is based on the latitude span, institute It states longitude span and the default matrix calculates the vertical misalignment value.
3. date storage method as claimed in claim 2, which is characterized in that described to be based on the latitude span, the longitude The step of span and the default matrix calculate the vertical misalignment value include:
According to the motion profile longitude span and the default matrix predetermined width, be calculated the default matrix with First size ruler of motion profile;
According to the latitude span of the first size ruler and the motion profile, the latitude of the motion profile is calculated Span corresponding height on the default matrix;
By the preset height of the default matrix with the latitude span of the motion profile the corresponding height on the default matrix It is poor that degree is made, and obtains vertical misalignment value.
4. date storage method as claimed in claim 3, which is characterized in that it is described based on the determining deviant, it calculates The step of obtaining location information of the track data in the default matrix include:
According to the first size ruler and the track data, column of the track data in the default matrix are obtained Location information;
According to corresponding minimum in maximum latitude value corresponding in the track data, the track data, the track data The track data is calculated described default in the preset height and the vertical misalignment value of latitude value, the default matrix Row location information in matrix.
5. date storage method as claimed in claim 2, which is characterized in that the deviant includes: lateral shift value, described After the step of longitude span of the motion profile is calculated, further includes:
If the latitude span of the motion profile is less than the longitude span of the motion profile, it is based on the latitude span, institute It states longitude span and the default matrix calculates lateral shift value.
6. date storage method as claimed in claim 5, which is characterized in that described to be based on the latitude span, the longitude The step of span and the default matrix calculate lateral shift value include:
According to the latitude span of the motion profile and the preset height of default matrix, the default matrix and movement is calculated The second largest small scale of track;
According to the longitude span of the second largest small scale and the motion profile, the longitude of the motion profile is calculated Span corresponding width on the default matrix;
By the predetermined width of the default matrix with the longitude span of the motion profile the corresponding width on the default matrix It is poor that degree is made, and obtains the lateral shift value.
7. date storage method as claimed in claim 5, which is characterized in that the deviant determined is lateral shift value, It is described based on the determining deviant, the step of location information of the track data in the default matrix is calculated Include:
According to the second largest small scale and the track data, row of the track data in the default matrix is obtained Location information;
According to corresponding minimum in maximum longitude corresponding in the track data, the track data, the track data The track data is calculated described default in longitude, the predetermined width of the default matrix and the lateral shift value Column position information in matrix.
8. such as the described in any item date storage methods of claim 2 to 7, which is characterized in that it is described based on it is determining it is described partially Shifting value, the step of location information of the track data in the default matrix is calculated include:
If the latitude span of the motion profile is equal to the longitude span of the motion profile, based on according to the motion profile Longitude span and the default matrix predetermined width, the third size ratio of the default matrix and motion profile is calculated Example ruler;
According to the third-largest small scale and the track data, position of the track data in the default matrix is obtained Confidence breath.
9. a kind of wearable device, which is characterized in that the wearable device includes: memory, processor and is stored in described On memory and the computer program that can run on the processor;
Realize that data described in any item of the claim 1 to 8 such as store when the computer program is executed by the processor The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as date storage method described in any item of the claim 1 to 8 when the computer program is executed by processor The step of.
CN201910307504.0A 2019-04-16 2019-04-16 Date storage method, wearable device and computer readable storage medium Pending CN110059203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910307504.0A CN110059203A (en) 2019-04-16 2019-04-16 Date storage method, wearable device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910307504.0A CN110059203A (en) 2019-04-16 2019-04-16 Date storage method, wearable device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110059203A true CN110059203A (en) 2019-07-26

Family

ID=67317869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910307504.0A Pending CN110059203A (en) 2019-04-16 2019-04-16 Date storage method, wearable device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110059203A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113706847A (en) * 2020-05-21 2021-11-26 安徽华米健康科技有限公司 Data processing method and device, storage medium and wearable device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113706847A (en) * 2020-05-21 2021-11-26 安徽华米健康科技有限公司 Data processing method and device, storage medium and wearable device

Similar Documents

Publication Publication Date Title
CN109947249A (en) Exchange method, wearable device and the computer storage medium of wearable device
CN110096195A (en) Motion icon display methods, wearable device and computer readable storage medium
CN110134312A (en) Control method, wearable device and computer readable storage medium
CN110401434A (en) Wearable device control method, wearable device and computer readable storage medium
CN110175066A (en) Wearable device, interaction control method and computer readable storage medium
CN110083289A (en) A kind of button display methods, wearable device and computer readable storage medium
CN110175008A (en) Method, wearable device and the computer readable storage medium of operating terminal
CN110072295A (en) Dual-channels communication method, apparatus, first terminal and medium
CN110532050A (en) Exercise data method for refreshing, wearable device and computer readable storage medium
CN110059203A (en) Date storage method, wearable device and computer readable storage medium
CN110191230A (en) Application interface display methods, mobile terminal and readable storage medium storing program for executing
CN110442295A (en) Wearable device control method, wearable device and computer readable storage medium
CN110187764A (en) A kind of barrage display methods, wearable device and storage medium
CN110032308A (en) A kind of page display method, terminal and computer readable storage medium
CN110072071A (en) A kind of video record interaction control method, equipment and computer readable storage medium
CN110086929A (en) Breath screen display methods, mobile phone, wearable device and computer readable storage medium
CN110209268A (en) Wearable device control method, wearable device and computer readable storage medium
CN109918014A (en) Page display method, wearable device and computer readable storage medium
CN110058918A (en) Image processing method, wearable device and computer readable storage medium
CN110096150A (en) A kind of search interaction control method, equipment and computer readable storage medium
CN110162375A (en) Interface display method, wearable device and readable storage medium storing program for executing
CN110134304A (en) A kind of Folding display method, equipment and computer readable storage medium
CN110018775A (en) A kind of content display method, terminal and computer readable storage medium
CN109901812A (en) Wearable device volume adjusting method, wearable device and readable storage medium storing program for executing
CN110187801A (en) Detection method, wearable device and computer readable storage medium

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