CN108769206B - Data synchronization method, terminal and storage medium - Google Patents

Data synchronization method, terminal and storage medium Download PDF

Info

Publication number
CN108769206B
CN108769206B CN201810542178.7A CN201810542178A CN108769206B CN 108769206 B CN108769206 B CN 108769206B CN 201810542178 A CN201810542178 A CN 201810542178A CN 108769206 B CN108769206 B CN 108769206B
Authority
CN
China
Prior art keywords
mobile terminal
data
user
wearable device
function
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.)
Active
Application number
CN201810542178.7A
Other languages
Chinese (zh)
Other versions
CN108769206A (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.)
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 CN201810542178.7A priority Critical patent/CN108769206B/en
Publication of CN108769206A publication Critical patent/CN108769206A/en
Application granted granted Critical
Publication of CN108769206B publication Critical patent/CN108769206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a data synchronization method, a terminal and a storage medium, wherein on the premise that a wearable device and a mobile terminal establish a communication link, a function small interface corresponding to the wearable device is established according to function type information of the wearable device, then synchronization of data on the wearable device is selected according to touch operation of a user in the function small interface, through implementation of the scheme, the function small interface is mapped out, and the function small interface is operated to realize synchronous control of the data between the wearable device and the mobile terminal, and the mode can realize free control of the synchronization of the data without downloading or installing additional auxiliary applications or devices by the user, is simpler than the existing control mode, and avoids the operation of realizing the data synchronization by multiple times or even repeated operation, the method and the device are beneficial to improving the data synchronization efficiency and improving the use experience of the user.

Description

Data synchronization method, terminal and storage medium
Technical Field
The present invention relates to the field of terminal control technologies, and in particular, to a data synchronization method, a terminal, and a storage medium.
Background
Along with the rapid development of intelligent terminal technology, especially the popularization and use of wearing equipment, for example, the intelligent bracelet, the data synchronization mode between most intelligent bracelets and mobile terminal is automatic synchronization at present, or manual synchronization, but the mode of automatic synchronization then needs to keep communication connection between the two in real time, but can increase the consumption of bracelet like this, and manual synchronization mode then needs to be realized combining the APP, that is, the bracelet is connected through the bluetooth at first, then the user opens the APP on the cell-phone and carries out the interface, and refresh the operation on the APP interface, thereby realize the synchronization of data, such synchronization mode is for the user, the operation is too complicated, and still must combine the APP just to realize, the experience of bracelet can greatly reduced to such operating mode, and compatibility between bracelet and the cell-phone.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the data synchronization method, the terminal and the storage medium are provided aiming at the technical problem that the use experience of a user is poor due to the fact that the operation mode of the data synchronization method between the conventional bracelet and the terminal is too complex.
In order to solve the above technical problem, the present invention provides a data synchronization method, where the method includes:
detecting whether a communication link which is communicated with the mobile terminal exists in the wearable device;
if yes, acquiring function category information of the wearable device;
establishing a corresponding function small interface on the mobile terminal according to the function category information;
acquiring touch operation of a user on the small function interface;
and controlling the mobile terminal to read the data on the wearable device according to the touch operation and storing the data.
Optionally, the establishing a corresponding small function interface on the mobile terminal according to the function category information includes:
determining a function type used for recording user personal information in the wearable device according to the function category information;
and establishing a function small interface mapped with the function type on the mobile terminal according to the function type.
Optionally, after the corresponding small function interface is established on the mobile terminal according to the function category information, the method further includes: converting the functional small interface into a small suspension button, and displaying the small suspension button on a touch display screen of the mobile terminal in a suspension manner;
the acquiring the touch operation of the user on the small function interface comprises: and recording the touch operation of the user on the suspension button through a sensor arranged on the mobile terminal.
Optionally, if the touch control operation is a click operation, the controlling the mobile terminal to read data on the wearable device according to the touch control operation and storing includes:
judging whether the clicking frequency of the user on the suspension button meets the condition of triggering data synchronization;
and if so, synchronizing the personal information of the user recorded on the wearable device to the mobile terminal according to the established communication link, and storing the personal information of the user on a storage device on the mobile terminal.
Optionally, if the touch control operation is a sliding operation, the controlling the mobile terminal to read the data on the wearable device according to the touch control operation and storing includes:
judging whether the sliding operation of the user on the suspension button meets the condition of triggering data synchronization;
and if so, synchronizing the personal information of the user recorded on the wearable device to the mobile terminal according to the established communication link, and storing the personal information of the user on a storage device on the mobile terminal.
Optionally, the determining whether the sliding operation of the user on the hover button satisfies the condition for triggering data synchronization includes:
judging whether the sliding operation carries the suspension button to move together in the sliding process, wherein the moving mode is reciprocating rotation;
alternatively, the first and second electrodes may be,
and judging whether the starting position and the ending position of the sliding track of the sliding operation are positioned on the suspension button or not.
Optionally, after controlling the mobile terminal to read the data on the wearable device according to the touch operation, the method further includes:
and displaying at least one part of the read data on the function small interface.
Optionally, the read data includes at least one of exercise speed, heart rate, step number, blood pressure and body temperature of the user.
Furthermore, the invention also provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the data synchronization method according to any one of the preceding claims.
Further, the present invention also provides a storage medium storing one or more programs executable by one or more processors to implement the steps of the data synchronization method as described in any one of the preceding.
The invention has the beneficial effects that:
the invention provides a data synchronization method, a terminal and a storage medium, aiming at the defect that in the prior art, the method for realizing the data synchronization between a mobile phone and a bracelet needs to be realized by depending on APP, the synchronization mode is complicated for users, particularly extra APP needs to be installed, and the user experience is poor, the invention provides a scheme for realizing the data synchronization between the mobile phone and the bracelet without other auxiliary APPs, in particular to a scheme for establishing a corresponding function small interface according to the function type information of wearing equipment on the premise of establishing communication link between the wearing equipment and the mobile terminal, then selecting the synchronization of the data on the wearing equipment according to the touch operation of the user in the function small interface, through the implementation of the scheme, realizing the synchronous control of the data between the wearing equipment and the mobile terminal by mapping out the function small interface and operating the function small interface, the mode can realize free control of data synchronization without downloading or installing additional auxiliary applications or devices by a user, is simpler than the existing control mode, avoids the operation of realizing data synchronization by repeated operation, is beneficial to improving the data synchronization efficiency, and simultaneously improves the use experience of the user.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a schematic diagram of a hardware configuration of an alternative wearable device for implementing various embodiments of the invention;
FIG. 3 is a basic flowchart of a data synchronization method according to a first embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to a second embodiment of the present invention;
FIG. 5 is a schematic diagram of a display of a small function interface provided in an embodiment of the present invention;
fig. 6 is a schematic display diagram of a hover button provided by an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (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, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
Referring to fig. 2, which is a schematic diagram of a hardware structure of a wearable device for implementing various embodiments of the present invention, the wearable device 200 includes one or more of the following components: a processing component 201, a memory 202, a power component 203, a multimedia component 204, an audio component 205, an interface for input/output (I/O) 206, a sensor component 207, and a communication component 208.
Processing component 201 generally controls the overall operation of wearable device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 201 may include one or more processors 209 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 201 may include one or more modules that facilitate interaction between the processing component 201 and other components. For example, the processing component 201 may include a multimedia module to facilitate interaction between the multimedia component 204 and the processing component 201.
Memory 202 is configured to store various types of data to support operation at wearable device 200. Examples of such data include instructions for any application or method operating on wearable device 200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 202 may be implemented by any type or combination of volatile or non-volatile memory devices such as static Random Access Memory (RAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 203 provide power to the various components of wearable device 200. Power components 203 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for wearable device 200.
The multimedia component 204 includes a screen that provides an output interface between the wearable device 200 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 204 includes a front facing camera and/or a rear facing camera. When the wearable device 200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 205 is configured to output and/or input audio signals. For example, the audio component 205 may include a Microphone (MIC) configured to receive external audio signals when the device 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 202 or transmitted via the communication component 208. In some embodiments, the audio component 205 further comprises a speaker for outputting audio signals.
The I/O interface 206 provides an interface between the processing component 201 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 207 includes one or more sensors for providing various aspects of status assessment for the wearable device 200. For example, sensor component 207 may detect an open/closed state of wearable device 200, the relative positioning of components, such as a display and keypad of wearable device 200, sensor component 207 may also detect a change in position of wearable device 200 or a component of wearable device 200, the presence or absence of user contact with device 200, the orientation or acceleration/deceleration of wearable device 200, and a change in temperature of wearable device 200. The sensor assembly 207 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 207 may also include a light sensor, such as a CMO or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 207 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 208 is configured to facilitate communication between wearable device 200 and other devices in a wired or wireless manner. Wearable device 200 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 208 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 208 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
Based on the hardware structures of the mobile terminal and the wearable device, the invention provides various embodiments of the method.
First embodiment
The data synchronization method provided by the embodiment of the invention is suitable for various mobile terminals and wearable devices, wherein the mobile terminals comprise terminals such as a PC (personal computer), a mobile phone, a tablet, a notebook and the like, and the wearable devices specifically comprise foldable wearable devices such as an intelligent bracelet, a flexible screen terminal and the like. Referring to fig. 3, fig. 3 is a basic flowchart of a data synchronization method provided in this embodiment, where the method includes:
s301, detecting whether the wearable device has a communication link with the mobile terminal.
In practical application, the communication link may specifically be a connection relationship in a bluetooth mode, an NFC mode, a WiFi mode, or even a remote control mode, and if it is detected that the communication link exists on the wearable device, that is, the connection relationship is being established with the mobile terminal or already established with the mobile terminal, when the user can control the wearable device to work on the mobile terminal, step S302 is executed, otherwise, the communication link is continuously detected.
In practical application, the communication link can be established by opening a bluetooth or near field communication function on the mobile terminal, when the mobile terminal detects that the wearable device needs to be bound in a current coverage range of the mobile terminal, the mobile terminal establishes bluetooth or near field communication according to a request initiated by the wearable device, after a communication link is established, the model of the wearable device to be bound or account information and a password on the wearable device to be bound are acquired, and communication connection between the wearable device and the mobile terminal is established according to the acquired model or account information and password, wherein the established communication connection refers to connection which cannot be automatically disconnected.
S302, acquiring function category information of the wearable device.
In practical application, the function category information specifically refers to information which can be used for representing the type of the wearable device, and the existing wearable device can be roughly divided into two types, one type is a sports bracelet and is used for recording physical sign information of a user; the other is a bracelet used for communication only, such as a child bracelet.
The function category information may specifically be identification information of the bracelet, a brand of the bracelet, a model of the bracelet, and the like, and it may be determined from the information that the currently used wearing device belongs to the bracelet of the type.
S303, establishing a corresponding small function interface on the mobile terminal according to the function category information.
In this embodiment, the function small interface includes function parameter display icons corresponding to functions of the wearable device, each icon corresponds to one physical sign parameter in the wearable device, and a user can view the physical sign data monitored by the wearable device to the user through the function small interface.
In this step, the function miniinterface may be specifically established in the following manner:
determining a function type used for recording user personal information in the wearable device according to the function category information;
and establishing a function small interface mapped with the function type on the mobile terminal according to the function type.
Optionally, the type of the wearable device is determined through function category information, then specific functions of the wearable device are determined according to different data of users collected by different types of bracelets, and then the determined functions are mapped to the established small function interface in a mapping manner.
Further, the functions are specifically mapped in an icon manner, and may even be divided according to regions, and data corresponding to the functions are mapped to the corresponding regions on the function small interface for display, as specifically shown in fig. 5.
And S304, acquiring touch operation of the user on the small function interface.
In this embodiment, the touch operation includes a sliding operation, a clicking operation, and may even be a gesture operation of the user on the mobile terminal.
S305, controlling the mobile terminal to read the data on the wearable device according to the touch operation, and storing the data.
In this embodiment, specifically, by determining whether the touch operation meets a data synchronization condition, on the premise that the data synchronization condition is met, the mobile terminal may obtain, in an automatic control manner, data existing in a buffer of the wearable device from the wearable device, where the data may include sign data of a user wearing the wearable device and communication records and other related communication data when the wearer uses the wearable device, such as a phone record, an internet browsing record, a short message, a body temperature, a heart rate, and the like.
Further, when synchronizing data, specifically, when the wearable device receives a data acquisition instruction sent by the mobile terminal, the wearable device executes a data synchronization operation, or a user selects data synchronization on the mobile terminal to achieve data synchronization acquisition between the wearable device and the mobile terminal, or even a user selects data synchronization on the wearable device to achieve data synchronization to the mobile terminal.
And the data acquisition instruction refers to a sliding operation or a clicking operation of the user on the function small interface, and optionally, when the detected sliding operation track of the user is in a circular sliding mode or a multiple reciprocating sliding mode on the function small interface, the data synchronization operation is started.
In this embodiment, in addition to synchronizing data on the wearable device to the mobile terminal, the data on the mobile terminal may also be synchronized to the wearable device, for example, when parameter setting cannot be implemented for some wearable devices, a user may configure the wearable device as an intermediate configuration device through the mobile terminal, that is, the user sets corresponding parameters on the mobile terminal, and the mobile terminal may directly synchronize a configuration file preset on the mobile terminal by the user to the wearable device through a binding effect with the wearable device, thereby implementing data synchronization between the wearable device and the mobile terminal.
In practical applications, since mapping a small function interface may occupy a display area of a terminal relatively, in order to solve such a problem, the data synchronization method provided by this embodiment further includes, after the corresponding small function interface is established on the mobile terminal according to the function category information: the specific display mode of the small function interface is shown in fig. 6, and the specific steps of the display mode are as follows:
and converting the functional small interface into a small suspension button, and displaying the small suspension button on a touch display screen of the mobile terminal in a suspension manner, namely displaying the functional small interface on a display interface of the terminal in a suspension icon manner.
Correspondingly, the acquiring the touch operation of the user on the small function interface comprises: and recording the touch operation of the user on the suspension button through a sensor arranged on the mobile terminal.
In this embodiment, for the display mode of the hover button, in step S305, data synchronization may be further implemented according to different operation modes, and the specific steps include:
if the touch control operation is a click operation, whether the click frequency of a user on the suspension button meets the condition of triggering data synchronization can be judged;
and if so, synchronizing the personal information of the user recorded on the wearable device to the mobile terminal according to the established communication link, and storing the personal information of the user on a storage device on the mobile terminal.
In other embodiments, if the touch operation is a sliding operation, it may be determined whether a sliding operation of a user on the hover button satisfies a condition for triggering data synchronization;
and if so, synchronizing the personal information of the user recorded on the wearable device to the mobile terminal according to the established communication link, and storing the personal information of the user on a storage device on the mobile terminal.
Further, the judging whether the sliding operation of the user on the hover button meets the condition of triggering data synchronization includes:
and judging whether the sliding operation carries the suspension button to move together in the sliding process, wherein the moving mode is reciprocating rotation motion.
And if so, controlling the mobile terminal to read the corresponding user personal information from the wearable device and synchronize the user personal information to a storage unit of the mobile terminal.
In this embodiment, the determining whether the sliding operation of the user on the hover button satisfies the condition for triggering data synchronization may further be performed by determining whether the start and end positions of the sliding trajectory of the sliding operation are located on the hover button.
And if so, controlling the mobile terminal to read the corresponding user personal information from the wearable device and synchronize the user personal information to a storage unit of the mobile terminal.
In order to further avoid the phenomenon that the mobile terminal performs data synchronization due to false detection when detecting the communication link, in this embodiment, when detecting the communication link between the mobile terminal and the wearable device, specifically, whether the distance between the mobile terminal and the wearable device is within a preset range is detected, if so, step S302 is executed, and the preset range value is greater than the communication distance of bluetooth or near field communication in the prior art.
In other embodiments, the detecting step may also implement the synchronization of data by detecting whether the wearable device is in the signal coverage of the mobile terminal to initiate whether to execute the steps S302-305, since in the prior art, the communication is performed by using the radiation distance of the bluetooth module or NFC module of the mobile terminal itself, and the radius of the internet signal coverage of the mobile terminal itself is much wider than the signal radiation coverage of the bluetooth module or the like.
In practical application, during data synchronization, after synchronizing the user physical sign data and/or the communication cache data acquired by the wearable device to the mobile terminal, the method further includes: and displaying at least one part of the read data on the function small interface.
In practical application, the data may be displayed in the functional small interface, specifically, a variation trend or a curve of the data is displayed, and when the data is displayed on the hover button, the data that the user wants to display is selected according to the user's setting and displayed on the button, specifically, real-time data is displayed, and the read data includes at least one of the user's exercise speed, heart rate, step number, blood pressure, and body temperature.
In this embodiment, after the user sign data and/or the communication cache data acquired by the wearable device are synchronized to the mobile terminal, the mobile terminal may further analyze the health index of the user sign data according to a preset health assessment level, and output a corresponding health analysis report to the user according to an analysis result, that is, the mobile terminal further processes the data acquired from the wearable device, so that the data on the wearable device is effectively utilized, and not only simple functions of remote communication and data synchronization between the two are achieved.
The data synchronization method provided by the embodiment realizes the synchronous control of the data between the wearing device and the mobile terminal by mapping out the small function interface and operating the small function interface, and the method can realize the free control of the data synchronization without downloading or installing additional auxiliary applications or devices by a user, and compared with the existing control method, the control method is simpler, is beneficial to improving the data synchronization efficiency, and simultaneously improves the user experience and the control performance.
Second embodiment
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal according to a third embodiment of the present invention, where the bracelet includes: a processor 51, a memory 52 and a communication bus 53, communication between the processor 51 and the memory 52 being realized through said communication bus 53.
The processor 51 generally controls the overall operation of the server to which it belongs. For example, the processor 51 performs operations such as calculation and confirmation. The processor 51 may be a Central Processing Unit (CPU). In the present embodiment, the processor 51 at least needs to have the following functions: detecting whether a communication link communicating with a mobile terminal exists in wearable equipment, if yes, acquiring function category information of the wearable equipment, establishing a corresponding function small interface on the mobile terminal according to the function category information, acquiring touch operation of a user on the function small interface, controlling the mobile terminal to read data on the wearable equipment according to the touch operation, storing the data, and if not, continuing to execute the step of detection.
In practical applications, the processing steps of the processor 51 can be specifically realized by setting software codes for realizing corresponding functions, and optionally, the memory 52 stores software codes readable by the processor 51 and executable by the processor 51, and includes instructions for controlling the processor 51 to execute the above-described functions (i.e., software execution functions). In the present embodiment, the memory 52 at least needs to store a program necessary for the processor 51 to execute the above-described functions to realize the communication operation between the terminal and the wearable device.
The memory 52, which is typically a semiconductor memory unit, includes Random Access Memory (RAM), Read Only Memory (ROM), and CACHE memory (CACHE), of which RAM is the most important. The memory 52 is one of the important components in the computer, and is a bridge for communicating with the CPU, and the operation of all programs in the computer is performed in the memory, and is used for temporarily storing the operation data in the CPU and the data exchanged with the external memory such as the hard disk, and the CPU transfers the data to be operated to the memory for operation as long as the computer is in operation, and after the operation is completed, the CPU transmits the result, and the operation of the memory also determines the stable operation of the computer.
The mobile terminal provided in this embodiment further includes a sensor 54, and the sensor 54 is mainly disposed on the surface of the bracelet, specifically, a pressure sensor and a track sensor, and the sensors implement operation instructions, such as data synchronization instructions, on the terminal of the user.
In this embodiment, the read data includes at least one of exercise speed, heart rate, number of steps, blood pressure, and body temperature of the user.
In this embodiment, the establishing a corresponding small function interface on the mobile terminal according to the function category information includes:
determining a function type used for recording user personal information in the wearable device according to the function category information;
and establishing a function small interface mapped with the function type on the mobile terminal according to the function type.
Further, after the corresponding function miniinterface is established on the mobile terminal according to the function category information, the method further includes: and converting the functional small interface into a small suspension button, and displaying the small suspension button on a touch display screen of the mobile terminal in a suspension manner.
At this time, the touch operation acquired by the sensor should be to acquire a user's touch operation on the hover button, such as a click frequency of a swipe of the hover button or a click operation on the hover button.
If the touch operation is a click operation, controlling the mobile terminal to read data on the wearable device according to the touch operation, and storing the data specifically comprises the following steps:
judging whether the clicking frequency of the user on the suspension button meets the condition of triggering data synchronization;
and if so, synchronizing the personal information of the user recorded on the wearable device to the mobile terminal according to the established communication link, and storing the personal information of the user on a storage device on the mobile terminal.
If the touch operation is a sliding operation, controlling the mobile terminal to read the data on the wearable device according to the touch operation, and storing the data specifically comprises the following steps:
judging whether the sliding operation of the user on the suspension button meets the condition of triggering data synchronization;
and if so, synchronizing the personal information of the user recorded on the wearable device to the mobile terminal according to the established communication link, and storing the personal information of the user on a storage device on the mobile terminal.
Further, the condition for judging whether the sliding operation of the user on the hover button meets the condition for triggering data synchronization includes one of the following two ways:
judging whether the sliding operation carries the suspension button to move together in the sliding process, wherein the moving mode is reciprocating rotation;
and judging whether the starting position and the ending position of the sliding track of the sliding operation are positioned on the suspension button or not.
Further, after controlling the mobile terminal to read the data on the wearable device according to the touch operation, the method further includes: at least a part of the read data is displayed on the function small interface, and the display can specifically be displaying the change trend or curve of the data in the function small interface, or displaying on a floating button, specifically, selecting the data which the user wants to display according to the setting of the user, and displaying on the button, or displaying the real-time data.
Further, after the mobile terminal stores the synchronized data in the storage unit of the mobile terminal, the method further includes: the mobile terminal analyzes the health index of the sign data according to a preset health evaluation grade, and outputs a corresponding health analysis report to a user according to an analysis result, so that the effective utilization of the data of the wearable device is improved, and meanwhile, the accuracy of the user for acquiring the data of the wearable device is facilitated.
The present embodiments also provide a storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of:
detecting whether a communication link which is communicated with the mobile terminal exists in the wearable device;
if yes, acquiring function category information of the wearable device;
establishing a corresponding function small interface on the mobile terminal according to the function category information;
acquiring touch operation of a user on the small function interface;
and controlling the mobile terminal to read the data on the wearable device according to the touch operation and storing the data.
In this embodiment, after controlling the mobile terminal to read data on the wearable device according to the touch operation, the method further includes: and displaying at least one part of the read data on the function small interface.
In summary, according to the data synchronization method, the terminal and the storage medium provided by the present invention, on the premise that the wearable device and the mobile terminal establish the communication link, the function small interface corresponding to the function type information of the wearable device is established according to the function type information of the wearable device, and then the synchronization of the data on the wearable device is selected according to the touch operation of the user in the function small interface, through the implementation of the present scheme, the synchronization control of the data between the wearable device and the mobile terminal is realized by mapping the function small interface and operating the function small interface, and this way can realize the free control of the synchronization of the data without the need of the user to download or install additional auxiliary applications or devices, and this way is relatively simple compared with the existing way, thereby solving the problem that the operation way of the data synchronization between the existing bracelet and the terminal is too complex, therefore, the problem of poor use experience of the user is caused, and meanwhile, the data synchronization efficiency and the use experience of the user are improved. .
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for synchronizing data, the method comprising:
detecting whether a communication link which is communicated with the mobile terminal exists in the wearable device;
if yes, acquiring function category information of the wearable device;
establishing a corresponding function small interface on the mobile terminal according to the function category information, wherein the function small interface comprises function parameter display icons corresponding to functions of the wearable device, each icon corresponds to one sign parameter in the wearable device, and a user can check the sign data monitored by the wearable device to the user through the function small interface;
acquiring touch operation of a user on the small function interface;
and controlling the mobile terminal to read the data on the wearable device according to the touch operation and storing the data.
2. The data synchronization method according to claim 1, wherein the establishing a corresponding function widget on the mobile terminal according to the function category information comprises:
determining a function type used for recording user personal information in the wearable device according to the function category information;
and establishing a function small interface mapped with the function type on the mobile terminal according to the function type.
3. The data synchronization method according to claim 2, further comprising, after the establishing a corresponding function widget on the mobile terminal according to the function category information, the following steps: converting the functional small interface into a small suspension button, and displaying the small suspension button on a touch display screen of the mobile terminal in a suspension manner;
the acquiring the touch operation of the user on the small function interface comprises: and recording the touch operation of the user on the suspension button through a sensor arranged on the mobile terminal.
4. The data synchronization method according to claim 3, wherein if the touch operation is a click operation, the controlling the mobile terminal to read data on the wearable device according to the touch operation and storing the data comprises:
judging whether the clicking frequency of the user on the suspension button meets the condition of triggering data synchronization;
and if so, synchronizing the personal information of the user recorded on the wearable device to the mobile terminal according to the established communication link, and storing the personal information of the user on a storage device on the mobile terminal.
5. The data synchronization method according to claim 3, wherein if the touch operation is a sliding operation, the controlling the mobile terminal to read data on the wearable device according to the touch operation and storing the data comprises:
judging whether the sliding operation of the user on the suspension button meets the condition of triggering data synchronization;
and if so, synchronizing the personal information of the user recorded on the wearable device to the mobile terminal according to the established communication link, and storing the personal information of the user on a storage device on the mobile terminal.
6. The data synchronization method of claim 5, wherein the determining whether the sliding operation of the user on the hover button satisfies a condition for triggering data synchronization comprises:
judging whether the sliding operation carries the suspension button to move together in the sliding process, wherein the moving mode is reciprocating rotation;
alternatively, the first and second electrodes may be,
and judging whether the starting position and the ending position of the sliding track of the sliding operation are positioned on the suspension button or not.
7. The data synchronization method according to any one of claims 1 to 6, wherein after controlling the mobile terminal to read data on the wearable device according to the touch operation, the method further comprises:
and displaying at least one part of the read data on the function small interface.
8. The data synchronization method according to claim 7, wherein the read data includes at least one of exercise speed, heart rate, step number, blood pressure, and body temperature of the user.
9. A terminal, characterized in that the terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the data synchronization method of any of claims 1 to 8.
10. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the data synchronization method of any one of claims 1 to 8.
CN201810542178.7A 2018-05-30 2018-05-30 Data synchronization method, terminal and storage medium Active CN108769206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810542178.7A CN108769206B (en) 2018-05-30 2018-05-30 Data synchronization method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810542178.7A CN108769206B (en) 2018-05-30 2018-05-30 Data synchronization method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108769206A CN108769206A (en) 2018-11-06
CN108769206B true CN108769206B (en) 2021-06-01

Family

ID=64004392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810542178.7A Active CN108769206B (en) 2018-05-30 2018-05-30 Data synchronization method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108769206B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976612B (en) * 2019-03-28 2022-02-22 努比亚技术有限公司 Application function implementation method, wearable device, mobile phone and computer-readable storage medium
CN112311853B (en) * 2020-09-28 2024-05-24 北京京东拓先科技有限公司 Data synchronization method, device, equipment and computer readable storage medium
CN112379774A (en) * 2020-11-12 2021-02-19 歌尔光学科技有限公司 Interaction method of VR glasses and wrist strap equipment and related components

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104000571A (en) * 2014-06-12 2014-08-27 成都艾克尔特医疗科技有限公司 Bracelet capable of collecting multi-parameter health indexes
CN105430600A (en) * 2015-11-05 2016-03-23 魅族科技(中国)有限公司 Data transmission method and terminal
CN106708255A (en) * 2016-10-31 2017-05-24 宇龙计算机通信科技(深圳)有限公司 Interaction control method and system for virtual interface
CN106791159A (en) * 2017-01-04 2017-05-31 广东小天才科技有限公司 A kind of touch-screen of intelligent terminal transmits method, device and the intelligent terminal of data
CN107070475A (en) * 2017-01-22 2017-08-18 广东美的制冷设备有限公司 Display device, method and system based on Widget
CN107241449A (en) * 2017-08-01 2017-10-10 珠海市魅族科技有限公司 Method of data synchronization and device, hand-held mobile terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9764242B2 (en) * 2013-10-16 2017-09-19 Tencent Technology (Shenzhen) Company Limited Method and system for providing game ranking information
CN105867760A (en) * 2015-12-15 2016-08-17 乐视移动智能信息技术(北京)有限公司 Terminal window display control method and apparatus
CN106339088B (en) * 2016-08-30 2020-03-10 维沃移动通信有限公司 Method for detecting motion state of equipment, handheld mobile terminal and wearable equipment
CN106679115B (en) * 2017-01-22 2019-06-28 广东美的制冷设备有限公司 Airhandling equipment control device, method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104000571A (en) * 2014-06-12 2014-08-27 成都艾克尔特医疗科技有限公司 Bracelet capable of collecting multi-parameter health indexes
CN105430600A (en) * 2015-11-05 2016-03-23 魅族科技(中国)有限公司 Data transmission method and terminal
CN106708255A (en) * 2016-10-31 2017-05-24 宇龙计算机通信科技(深圳)有限公司 Interaction control method and system for virtual interface
CN106791159A (en) * 2017-01-04 2017-05-31 广东小天才科技有限公司 A kind of touch-screen of intelligent terminal transmits method, device and the intelligent terminal of data
CN107070475A (en) * 2017-01-22 2017-08-18 广东美的制冷设备有限公司 Display device, method and system based on Widget
CN107241449A (en) * 2017-08-01 2017-10-10 珠海市魅族科技有限公司 Method of data synchronization and device, hand-held mobile terminal and storage medium

Also Published As

Publication number Publication date
CN108769206A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN110972334B (en) Bluetooth pairing connection method, device and readable storage medium
WO2019154181A1 (en) Display control method and mobile terminal
CN107193455B (en) Information processing method and mobile terminal
CN108628217B (en) Wearable device power consumption control method, wearable device and computer-readable storage medium
CN111092990B (en) Application program sharing method, electronic device and storage medium
CN108777859A (en) Data processing method, terminal between mobile terminal and wearable device and storage medium
CN108958593B (en) Method for determining communication object and mobile terminal
CN109947327B (en) Interface viewing method, wearable device and computer-readable storage medium
CN108334272B (en) Control method and mobile terminal
CN107957843B (en) Control method and mobile terminal
CN110221795B (en) Screen recording method and terminal
CN110908513B (en) Data processing method and electronic equipment
CN107613095B (en) Incoming call processing method and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN108874121A (en) Control method, wearable device and the computer readable storage medium of wearable device
WO2019114522A1 (en) Screen control method, screen control apparatus, and mobile terminal
CN109407949B (en) Display control method and terminal
CN111327458A (en) Configuration information sharing method, terminal device and computer readable storage medium
CN107728923B (en) Operation processing method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN108769206B (en) Data synchronization method, terminal and storage medium
CN108762613B (en) State icon display method and mobile terminal
CN111061404A (en) Control method and first electronic device
CN110096213B (en) Terminal operation method based on gestures, mobile terminal and readable storage medium
CN109164908B (en) Interface control method and mobile terminal

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