CN106095072A - A kind of control method, smart machine and server - Google Patents

A kind of control method, smart machine and server Download PDF

Info

Publication number
CN106095072A
CN106095072A CN201610369370.1A CN201610369370A CN106095072A CN 106095072 A CN106095072 A CN 106095072A CN 201610369370 A CN201610369370 A CN 201610369370A CN 106095072 A CN106095072 A CN 106095072A
Authority
CN
China
Prior art keywords
motion
data
equipment
server
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610369370.1A
Other languages
Chinese (zh)
Other versions
CN106095072B (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 CN201610369370.1A priority Critical patent/CN106095072B/en
Publication of CN106095072A publication Critical patent/CN106095072A/en
Application granted granted Critical
Publication of CN106095072B publication Critical patent/CN106095072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

Announcing a kind of control method, smart machine and server herein, this control method includes: when smart machine detects that himself is kept in motion, and smart machine obtains exercise data and time data;Smart machine determines movement locus and motion trace data according to the exercise data obtained;When smart machine is judged the motion trace data determined and mated with the motion trace data prestored, the time data of the motion trace data determined and acquisition is sent to server by smart machine;When smart machine receives the identity of the equipment Tong Bu with self that server sends, smart machine and the equipment with self synchronization interact according to the function corresponding with the movement locus determined.The embodiment of the present invention achieve between smart machine and miscellaneous equipment the most simple, fast alternately, improve Consumer's Experience.

Description

Control method, intelligent device and server
Technical Field
The present invention relates to, but not limited to, intelligent terminal technologies, and in particular, to a control method, an intelligent device, and a server.
Background
With the development of science and technology, smart devices (such as smart watches, smart bracelets, other wearable smart devices or mobile terminals) are gradually favored by people, for example, a smart watch has one or more functions of reminding, navigating, calibrating, monitoring, interacting and the like besides indicating time, and the display mode of the smart watch can include multiple modes such as pointers, numbers, images and the like.
However, the existing smart device and other devices (such as a smart watch, a smart bracelet, other wearable smart devices or a mobile terminal) lack interconnection and intercommunication, cannot simply, conveniently and quickly interact with other devices, and user experience is not good.
Disclosure of Invention
The application provides a control method, intelligent equipment and a server, which can realize simpler, more convenient and faster interaction between the intelligent equipment and other equipment and improve user experience.
In order to achieve the purpose of the present application, an embodiment of the present invention provides a control method, including:
when the intelligent equipment detects that the intelligent equipment is in a motion state, the intelligent equipment acquires motion data and time data;
the intelligent equipment determines a motion track and motion track data according to the obtained motion data;
when the intelligent equipment judges that the determined motion trail data are matched with the pre-stored motion trail data, the intelligent equipment sends the determined motion trail data and the obtained time data to the server;
and when the intelligent equipment receives the identity of the equipment synchronous with the intelligent equipment sent by the server, the intelligent equipment and the equipment synchronous with the intelligent equipment interact according to the function corresponding to the determined motion track.
Optionally, before the intelligent device and the device synchronized with the intelligent device interact according to the function corresponding to the determined motion trajectory, the method further includes: the server sets corresponding relations between different motion tracks and functions and sends the set corresponding relations to the intelligent equipment and other equipment;
and the intelligent equipment and the other equipment receive and store the corresponding relation sent by the server.
Optionally, before the intelligent device and the device synchronized with the intelligent device interact according to the function corresponding to the determined motion trajectory, the method further includes: the intelligent equipment or one of the other equipment sets the corresponding relation between different motion tracks and functions and sends the set corresponding relation to the server;
and the server sends the received corresponding relation to the other equipment and the intelligent equipment and informs the other equipment and the intelligent equipment of storing the corresponding relation.
Optionally, the method further comprises, before: the intelligent equipment is provided with keys or configuration items for starting or closing the synchronous gesture function;
and when the intelligent equipment detects the starting operation of a key or a configuration item for starting or closing the synchronous gesture function, starting the synchronous gesture function.
Optionally, the motion data includes, but is not limited to: direction of motion, rate of motion, acceleration of motion, and angular velocity of motion;
the time data includes: a motion start time and a motion end time.
Optionally, after the intelligent device sends the determined motion trajectory data and the obtained time data to the server, before the intelligent device receives an identity of a device synchronized with the intelligent device and sent by the server, the method further includes:
the server receives motion trail data and time data sent by the intelligent equipment;
and the server determines equipment synchronous with the intelligent equipment according to the received motion trail data and the time data and sends the determined identity of the equipment synchronous with the intelligent equipment to the intelligent equipment.
Optionally, the determining, by the server, the device synchronized with the smart device according to the received motion trajectory data and the time data includes:
the server determines a time range according to the time data;
the server searches motion trail data sent by other equipment received in the determined time range;
the server calculates the similarity value between the motion trail data sent by the intelligent equipment and the searched motion trail data sent by each other equipment;
and the server takes other equipment corresponding to the similarity numerical value of which the absolute value is greater than or equal to a third preset threshold as the equipment synchronous with the intelligent equipment.
An embodiment of the present invention further provides an intelligent device, including: the device comprises a detection module, an acquisition module, a first determination module, a judgment module, a transceiver module and an interaction module; wherein,
the detection module is used for notifying the acquisition module when detecting that the intelligent equipment to which the detection module belongs is in a motion state;
the acquisition module is used for receiving the notification from the detection module and acquiring the motion data and the time data;
the first determining module is used for determining a motion track and motion track data according to the obtained motion data;
the judging module is used for informing the transceiving module when the determined motion trail data is judged to be matched with the pre-stored motion trail data;
the receiving and transmitting module is used for sending the determined motion track data and the obtained time data to the server; when receiving the identity of the equipment which is synchronous with the server and sent by the server, informing the interaction module;
and the interaction module is used for receiving the notification from the transceiver module and interacting with the equipment synchronous with the intelligent equipment to which the interaction module belongs according to the function corresponding to the determined motion track.
Optionally, the transceiver module is further configured to receive and store a correspondence between different motion trajectories and functions sent from the server.
Optionally, the intelligent device further includes a first setting module, configured to set correspondence between different motion trajectories and functions; accordingly, the number of the first and second electrodes,
the transceiver module is further configured to send the correspondence to a server.
Optionally, the smart device further comprises a key or a configuration item for starting or closing the synchronous gesture function; accordingly, the number of the first and second electrodes,
the detection module is further used for starting the synchronous gesture function when the starting operation of the key or the configuration item for starting or closing the synchronous gesture function is detected.
An embodiment of the present invention further provides a server, including: the device comprises a receiving module, a second determining module and a sending module; wherein,
the receiving module is used for receiving motion trail data and time data sent by the intelligent equipment;
the second determination module is used for determining equipment synchronous with the intelligent equipment according to the received motion trail data and the time data;
and the sending module is used for sending the determined identity of the equipment synchronized with the intelligent equipment to the intelligent equipment.
Optionally, the server further includes a second setting module, configured to set a correspondence between different motion trajectories and functions;
the sending module is further configured to send the correspondence to the intelligent device and other devices.
Optionally, the receiving module is further configured to receive a correspondence between different motion trajectories and functions sent by the smart device or other devices;
the sending module is further configured to send the correspondence to the other device or the intelligent device.
Optionally, the motion data includes, but is not limited to: direction of motion, rate of motion, acceleration of motion, and angular velocity of motion;
the time data includes: a motion start time and a motion end time.
Optionally, the receiving module is further configured to receive motion trajectory data sent from other devices; accordingly, the number of the first and second electrodes,
the second determining module is specifically configured to:
determining a time range according to the time data;
searching motion trail data sent by other equipment and received in the determined time range;
calculating a similarity value between the motion trail data sent by the intelligent equipment and the searched motion trail data sent by each other equipment;
and taking other equipment corresponding to the similarity numerical value of which the absolute value is greater than or equal to a third preset threshold value as the equipment synchronous with the intelligent equipment.
The embodiment of the invention comprises the following steps: when the intelligent equipment detects that the intelligent equipment is in a motion state, the intelligent equipment acquires motion data and time data; the intelligent equipment determines a motion track and motion track data according to the obtained motion data; when the intelligent equipment judges that the determined motion trail data are matched with the pre-stored motion trail data, the intelligent equipment sends the determined motion trail data and the obtained time data to the server; and when the intelligent equipment receives the identity of the equipment synchronous with the intelligent equipment sent by the server, the intelligent equipment and the equipment synchronous with the intelligent equipment interact according to the function corresponding to the determined motion track. The embodiment of the invention realizes simpler, more convenient and faster interaction between the intelligent equipment and other equipment, and improves the user experience.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a control method of the present invention;
FIG. 2 is a schematic diagram of the interaction of the present invention;
FIG. 3 is a flow chart of an embodiment of a control method of the present invention;
FIG. 4 is a schematic diagram of the structure of the smart device of the present invention;
FIG. 5 is a schematic diagram of a server according to the present invention;
FIG. 6 is a diagram illustrating an alternative hardware configuration of a smart device that implements various embodiments of the invention;
fig. 7 is a schematic diagram of a communication system supporting communication between smart devices of the present invention.
Detailed Description
The technical solution of the present invention will be described in more detail with reference to the accompanying drawings and examples.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. 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 themselves. Thus, "module" and "component" may be used in a mixture.
Fig. 1 is a flowchart of a control method of the present invention, as shown in fig. 1, including:
step 101: when the intelligent device detects that the intelligent device is in a motion state, the intelligent device acquires motion data and time data.
Wherein the motion data includes, but is not limited to: direction of motion, rate of motion, acceleration of motion, angular velocity of motion, and other data.
Wherein the time data includes: a motion start time and a motion end time.
Optionally, the method further comprises, before: the intelligent equipment is provided with keys or configuration items for starting or closing the synchronous gesture function;
and when the intelligent device detects the starting operation of a key or a configuration item for starting or closing the synchronous gesture function, starting the synchronous gesture function.
Optionally, when the smart device detects a closing operation on a key or a configuration item for turning on or off the synchronous gesture function, the method further includes: the synchronization gesture function is turned off.
The keys can be virtual keys or physical keys, and when a user clicks or presses the keys once, a synchronous gesture function is started; when the user clicks or presses the key twice, closing the synchronous gesture function, for example, when the user clicks or presses the key for the first time, starting the synchronous gesture function, when the user clicks or presses the key for the second time, closing the synchronous gesture function, when the user clicks or presses the key for the third time, starting the synchronous gesture function, when the user clicks or presses the key for the fourth time, closing the synchronous gesture function, and the like; or when the user clicks or presses the key once, closing the synchronous gesture function; when the user clicks or presses the key twice, the synchronous gesture function is started, for example, when the user clicks or presses the key for the first time, the synchronous gesture function is closed, when the user clicks or presses the key for the second time, the synchronous gesture function is started, when the user clicks or presses the key for the third time, the synchronous gesture function is closed, and when the user clicks or presses the key for the fourth time, the synchronous gesture function is started, and the like.
The configuration item is located in a system setting menu of the intelligent device, and the setting method is similar to the configuration item for turning on or turning off the bluetooth function of the system setting menu in the mobile terminal, which is not described herein again and is not used to limit the present application.
The synchronous gesture function is defined as that when the intelligent device starts the synchronous gesture function, the intelligent device can interact with other devices through synchronous gestures.
Step 102: and the intelligent equipment determines a motion track and motion track data according to the obtained motion data.
Wherein, the motion trail includes: shaking one, drawing a circle, writing preset characters or letters or other motion tracks and the like.
The motion trail data is a combination (or set) of indispensable data for forming a motion trail, and the motion trail data for uniquely identifying the motion trail can be called an array; wherein, different motion trail data correspond to different motion trails, and the motion trail data can be determined according to the motion data. It should be noted that how to determine the motion trajectory data according to the motion data belongs to the conventional technical means known to those skilled in the art, for example, a sensor fusion algorithm (sensor fusion) may be used to determine the motion trajectory and the motion trajectory data, which is not described herein again and is not intended to limit the present application. For example, drawing a circle includes a plurality of data such as a radius of a circle, a curvature of a trajectory, and a rate of drawing a circle; when the motion track is the written character W, the written character W at least comprises data of the curvatures and the motion speeds of the three turning points, the directions and the lengths of the four sections of linear motion and the like.
Optionally, the method further comprises, before: the intelligent device collects motion trail data contained in each motion trail in advance and correspondingly stores the motion trail data contained in each collected motion trail and the motion trail.
Step 103: and when the intelligent equipment judges that the determined motion trail data are matched with the pre-stored motion trail data, the intelligent equipment sends the determined motion trail data and the obtained time data to the server.
Optionally, after step 102, before the smart device sends the determined motion trajectory data and the obtained time data to the server, the method further includes: the intelligent equipment judges whether the determined motion trail data is matched with pre-stored motion trail data or not; the method specifically comprises the following steps: the intelligent equipment calculates a similarity value between the determined motion trail data and prestored motion trail data;
when the absolute value of the calculated similarity value is greater than or equal to a first preset threshold value, judging that the determined motion track data is matched with the pre-stored motion track data;
and when the absolute value of the calculated similarity value is smaller than a first preset threshold value, judging that the determined motion track data is not matched with the pre-stored motion track data.
It should be noted that the first preset threshold needs to comply with a statistical value standard: the similarity coefficient reaches a significant level, i.e. p <0.05 and the calculated bias >0.1, statistically, when p <0.05 indicates that the two sets of data are similar with a 95% probability and less than 5% error; eta >0.1, indicating that the two sets of data indicate an explanatory fraction of at least over 10%. How to set the first preset threshold belongs to the conventional technical means known to those skilled in the art, and is not described herein again and is not intended to limit the present application.
Wherein, the similarity value between the determined motion trajectory data and the pre-stored motion trajectory data can be calculated according to the formula (1):
r = n&Sigma; i = 1 n X i Y i - &Sigma; i = 1 n X i &Sigma; i = 1 n Y i n&Sigma; i = 1 n X i 2 - ( &Sigma; i = 1 n X i ) 2 - n&Sigma; i = 1 n Y i 2 - ( &Sigma; i = 1 n Y i ) 2 - - - ( 1 )
wherein r represents a similarity value, XiIndicating the i-th data, Y, contained in the determined motion profile dataiThe motion trajectory data includes ith data, and n is the total number of data included in the motion trajectory data.
Optionally, when the intelligent device determines that the determined motion trajectory data does not match the pre-stored motion trajectory data, the method further includes: the intelligent equipment prompts a user that the motion trail corresponding to the motion trail data is not stored;
when a user needs to store the motion trail data and the corresponding motion trail, defining and storing the motion trail and the motion trail data;
setting the stored motion track to correspond to a function;
and sending the set and stored motion track and a function corresponding to the motion track to a server.
Wherein, defining and storing the motion trail and the motion trail data comprises:
prompting and acquiring current motion data;
determining first motion trajectory data according to the obtained current motion data;
calculating a similarity value between the first motion trail data and second motion trail data of the motion trail which is not stored;
and when the absolute value of the calculated similarity value is greater than or equal to a second preset threshold value, defining a motion track corresponding to the first motion track data and taking the first motion track data as motion track data needing to be stored.
It should be noted that the second motion trajectory data of the motion trajectory that is not stored here means that the motion trajectory data is determined from the obtained motion data in step 102.
It should be noted that the second preset threshold value needs to comply with a statistical value standard: the similarity coefficient reaches a significant level, i.e. p <0.05 and the calculated bias >0.1, statistically, when p <0.05 indicates that the two sets of data are similar with a 95% probability and less than 5% error; eta >0.1, indicating that the two sets of data indicate an explanatory fraction of at least over 10%. How to set the second preset threshold value is a conventional technical means well known to those skilled in the art, and is not described herein again and is not intended to limit the present application.
The intelligent device calculates a similarity value between the first motion trail data and the second motion trail data of the motion trail which is not stored according to formula (1), wherein at the moment, r represents the similarity value, X representsiIndicating the i-th data, Y, contained in the first motion trajectory dataiThe ith data included in the second motion trajectory data indicating the motion trajectory that is not stored, and n indicates the total number of data included in the motion trajectory data.
Step 104: and when the intelligent equipment receives the identity of the equipment synchronous with the intelligent equipment sent by the server, the intelligent equipment and the equipment synchronous with the intelligent equipment interact according to the function corresponding to the determined motion track.
Optionally, after step 103, before the smart device receives the identity of the device synchronized with itself sent by the server, the method further includes:
the server receives motion trail data and time data sent by the intelligent equipment;
and the server determines equipment synchronous with the intelligent equipment according to the received motion trail data and the time data and sends the determined identity of the equipment synchronous with the intelligent equipment to the intelligent equipment.
The server determines the equipment synchronous with the intelligent equipment according to the received motion trail data and the time data, and the equipment comprises:
the server determines a time range according to the time data;
the server searches motion trail data sent by other equipment received in the determined time range;
the server calculates the similarity value between the motion trail data sent by the intelligent equipment and the searched motion trail data sent by each other equipment;
and the server takes other equipment corresponding to the similarity numerical value of which the absolute value is greater than or equal to a third preset threshold value as the equipment synchronous with the intelligent equipment.
The server calculates and calculates a similarity value between the motion trail data sent by the intelligent equipment and the found motion trail data sent by some other equipment according to a formula (1). At this time, r represents a similarity value, XiIndicating the ith data, Y contained in the motion trail data sent by the intelligent equipmentiThe motion trajectory data sent by some other device is represented by the ith data, and n represents the total number of data contained in the motion trajectory data.
It should be noted that the third preset threshold needs to comply with a statistical value standard: the similarity coefficient reaches a significant level, i.e. p <0.05 and the calculated bias >0.1, statistically, when p <0.05 indicates that the two sets of data are similar with a 95% probability and less than 5% error; eta >0.1, indicating that the two sets of data indicate an explanatory fraction of at least over 10%. How to set the third preset threshold value is a conventional technical means well known to those skilled in the art, and is not described herein again and is not intended to limit the present application.
The server determines a time range according to the time data:
the server calculates the difference value between the received movement ending time and the movement starting time of the intelligent equipment;
and the server takes the time range contained by the N-time difference before the movement starting time of the intelligent equipment and the N-time difference after the movement finishing time of the intelligent equipment as the time range determined according to the time data.
Wherein the server may determine the time range according to equation (2):
T=[t-Nt0,t+Nt0](2)
wherein T represents the time range determined according to the time data, T represents the motion starting moment of the intelligent equipment, T0The difference value of the movement ending time and the movement starting time of the intelligent device is represented, and N is a fourth preset threshold value. Wherein, N may be set to 5, 3, 2 and 1.
Optionally, after the server calculates a similarity value between the motion trajectory data sent by the smart device and the motion trajectory data sent by each other device, before the server takes the other device corresponding to the similarity value whose absolute value of the calculated similarity value is greater than or equal to a third preset threshold as the device synchronized with the smart device, the method further includes:
the server counts the number of other devices corresponding to the similarity value of which the absolute value is greater than or equal to a third preset threshold value;
and when the number of other devices counted by the server is greater than or equal to a fifth preset threshold value, the server reduces N in the formula (1) and executes the step of determining the time range according to the time data. For example, when the value of N in formula (1) is 5, N may be reduced to 3 or 2 in this step. It should be noted that, reducing N in formula (1) can better and more accurately determine the device synchronized with the smart device.
Optionally, before the intelligent device and the device synchronized with the intelligent device interact according to the function corresponding to the determined motion trajectory, the method further includes: the server sets corresponding relations between different motion tracks and functions and sends the set corresponding relations to the intelligent equipment and other equipment;
and the intelligent equipment and other equipment receive and store the corresponding relation sent by the server. Or,
before the intelligent device and the device synchronized with the intelligent device interact according to the function corresponding to the determined motion trail, the method further comprises the following steps: the intelligent equipment or one of other equipment sets the corresponding relation between different motion tracks and functions and sends the set corresponding relation to the server;
and the server sends the received corresponding relation to other equipment and intelligent equipment and informs the other equipment and the intelligent equipment of storing the corresponding relation.
Wherein, the function includes: add friends, transfer files, open preset applications, play games, or other functions.
For example, a shake may be set to correspond to adding a friend, a circle may be set to correspond to a transmission file, and a preset writing or letter may be set to correspond to opening a preset application; or, a shake-shake can be set to correspond to a transmission file, a circle is set to correspond to a preset application opening, and preset writing characters or letters are set to correspond to friends adding; or, it can also set a shake corresponding to the transmission of the file, a circle and open a preset application, and set a preset writing or letter corresponding to the game play.
Wherein, the equipment synchronized with the intelligent equipment comprises one or more.
Wherein, when the equipment synchronous with intelligent equipment includes a plurality ofly, intelligent equipment and the equipment synchronous with self interact according to the function that corresponds with the motion trail of confirming and include:
the intelligent equipment acquires an external instruction and determines equipment interacting with the intelligent equipment according to the acquired external instruction;
and the intelligent equipment and the determined equipment for interacting with the intelligent equipment interact according to the function corresponding to the determined motion track.
Wherein the smart device may use the selection operation of its wearer as an external instruction. For example, the devices synchronized with the smart device include 3 devices, which are device 1, device 2, and device 5, respectively, the wearer of the smart device selects device 1 and device 5, and device 1 and device 5 are devices determined by the smart device to interact with the smart device.
The intelligent device can be a smart watch, a smart bracelet, a mobile terminal and other wearable intelligent devices.
The other equipment is equipment for performing data interaction with the server and synchronous interaction with the intelligent equipment. The other devices can be a smart watch, a smart bracelet, a mobile terminal and other wearable intelligent devices.
The interaction between the intelligent device and the server and the interaction between the other devices and the server are shown in fig. 2, the intelligent device sends the determined motion track data and the obtained time data to the server, the other devices send the determined motion track data to the server, and the server sends the determined identity of the device synchronized with the intelligent device to the intelligent device.
In the embodiment of the invention, the intelligent device determines the motion trail and the motion trail data according to the obtained motion data, and when the intelligent device judges that the determined motion trail data is matched with the pre-stored motion trail data, the intelligent device sends the determined motion trail data and the obtained time data to the server, and the intelligent device interacts with the self-synchronous device according to the function corresponding to the determined motion trail, so that the intelligent device and other devices interact more conveniently and quickly, and the user experience is improved.
Fig. 3 is a flowchart of an embodiment of the control method of the present invention, which is described by taking an example of setting a corresponding relationship between different motion trajectories and functions by an intelligent device, as shown in fig. 3, including:
step 201: the intelligent device sets corresponding relations between different motion tracks and functions and sends the set corresponding relations to the server.
Wherein, the motion trail includes: shaking one, drawing a circle, writing preset characters or letters or other motion tracks and the like.
Wherein, the function includes: add friends, transfer files, open preset applications, play games, or other functions.
For example, a shake may be set to correspond to adding a friend, a circle may be set to correspond to a transmission file, and a preset writing or letter may be set to correspond to opening a preset application; or, a shake-shake can be set to correspond to a transmission file, a circle is set to correspond to a preset application opening, and preset writing characters or letters are set to correspond to friends adding; or, it can also set a shake corresponding to the transmission of the file, a circle and open a preset application, and set a preset writing or letter corresponding to the game play.
Step 202: and the server sends the received corresponding relation to other equipment.
And the other equipment is equipment for performing data interaction with the server and synchronous interaction with the intelligent equipment.
The other devices can be a smart watch, a smart bracelet, a mobile terminal and other wearable intelligent devices.
Step 203: and the other equipment stores the corresponding relation sent by the server.
Step 204: the intelligent device is provided with a key or a configuration item for starting or closing the synchronous gesture function.
The keys can be virtual keys or physical keys, and when a user clicks or presses the keys once, a synchronous gesture function is started; when the user clicks or presses the key twice, closing the synchronous gesture function, for example, when the user clicks or presses the key for the first time, starting the synchronous gesture function, when the user clicks or presses the key for the second time, closing the synchronous gesture function, when the user clicks or presses the key for the third time, starting the synchronous gesture function, when the user clicks or presses the key for the fourth time, closing the synchronous gesture function, and the like; or when the user clicks or presses the key once, closing the synchronous gesture function; when the user clicks or presses the key twice, the synchronous gesture function is started, for example, when the user clicks or presses the key for the first time, the synchronous gesture function is closed, when the user clicks or presses the key for the second time, the synchronous gesture function is started, when the user clicks or presses the key for the third time, the synchronous gesture function is closed, and when the user clicks or presses the key for the fourth time, the synchronous gesture function is started, and the like.
The configuration item is located in a system setting menu of the intelligent device, and the setting method is similar to the configuration item for turning on or turning off the bluetooth function of the system setting menu in the mobile terminal, which is not described herein again and is not used to limit the present application.
The synchronous gesture function is defined as that when the intelligent device starts the synchronous gesture function, the intelligent device can interact with other devices through synchronous gestures.
Step 205: and when the intelligent device detects the starting operation of a key or a configuration item for starting or closing the synchronous gesture function, starting the synchronous gesture function.
Step 206: the smart device detects whether it is in motion mode. When the intelligent device detects that the intelligent device is in the motion mode, the step 207 is carried out; otherwise, execution continues at step 206.
Step 207: the smart device obtains motion data and time data.
Wherein the motion data includes, but is not limited to: direction of motion, rate of motion, acceleration of motion, angular velocity of motion, and other data.
Wherein the time data includes: a motion start time and a motion end time.
Step 208: and the intelligent equipment determines a motion track and motion track data according to the obtained motion data.
The motion trail data is a combination (or set) of indispensable data for forming a motion trail, and the motion trail data for uniquely identifying the motion trail can be called an array; wherein, different motion trail data correspond to different motion trails, and the motion trail data can be determined according to the motion data.
It should be noted that how to determine the motion trajectory data according to the motion data belongs to the conventional technical means known to those skilled in the art, for example, a sensor fusion algorithm (sensor fusion) may be used to determine the motion trajectory and the motion trajectory data, which is not described herein again and is not intended to limit the present application. For example, drawing a circle includes a plurality of data such as a radius of a circle, a curvature of a trajectory, and a rate of drawing a circle; when the motion track is the written character W, the written character W at least comprises data of the curvatures and the motion speeds of the three turning points, the directions and the lengths of the four sections of linear motion and the like.
Step 209: the intelligent device collects motion trail data contained in each motion trail in advance and correspondingly stores the motion trail data contained in each collected motion trail and the motion trail.
Step 210: and the intelligent equipment judges whether the determined motion trail data is matched with the pre-stored motion trail data or not. When the intelligent device judges that the determined motion trajectory data is matched with the pre-stored motion trajectory data, the operation goes to step 211; otherwise, go to step 214.
Step 210 specifically includes:
the intelligent equipment calculates a similarity value between the determined motion trail data and prestored motion trail data;
when the absolute value of the calculated similarity value is greater than or equal to a first preset threshold value, judging that the determined motion track data is matched with the pre-stored motion track data;
and when the absolute value of the calculated similarity value is smaller than a first preset threshold value, judging that the determined motion track data is not matched with the pre-stored motion track data.
Wherein, the similarity value between the determined motion trajectory data and the pre-stored motion trajectory data can be calculated according to formula (1). At this time, r represents a similarity value, XiIndicating the i-th data, Y, contained in the determined motion profile dataiThe motion trajectory data includes ith data, and n is the total number of data included in the motion trajectory data.
Step 211: and the intelligent equipment sends the determined motion trail data and the obtained time data to the server.
Step 212: and the server determines equipment synchronous with the intelligent equipment according to the received motion trail data and the time data and sends the determined identity of the equipment synchronous with the intelligent equipment to the intelligent equipment.
The method specifically comprises the following steps:
the server determines a time range according to the time data;
the server searches motion trail data sent by other equipment received in the determined time range;
the server calculates the similarity value between the motion trail data sent by the intelligent equipment and the searched motion trail data sent by each other equipment;
and the server takes other equipment corresponding to the similarity numerical value of which the absolute value is greater than or equal to a third preset threshold value as the equipment synchronous with the intelligent equipment.
The server calculates and calculates the number of motion tracks sent by the intelligent equipment according to the formula (1)According to the similarity value between the motion trail data and the found motion trail data sent by some other equipment. At this time, r represents a similarity value, XiIndicating the ith data, Y contained in the motion trail data sent by the intelligent equipmentiThe motion trajectory data sent by some other device is represented by the ith data, and n represents the total number of data contained in the motion trajectory data.
The server determines a time range according to the time data:
the server calculates the difference value between the received movement ending time and the movement starting time of the intelligent equipment;
and the server takes the time range contained by the N-time difference before the movement starting time of the intelligent equipment and the N-time difference after the movement finishing time of the intelligent equipment as the time range determined according to the time data.
Wherein the server may determine the time range according to equation (2).
Step 213: and the intelligent equipment and the equipment synchronized with the intelligent equipment interact according to the function corresponding to the determined motion track.
Step 214: and defining and storing the motion trail and the motion trail data.
The method specifically comprises the following steps:
prompting and acquiring current motion data;
determining first motion trajectory data according to the obtained current motion data;
calculating a similarity value between the first motion trail data and second motion trail data of the motion trail which is not stored;
and when the absolute value of the calculated similarity value is greater than or equal to a second preset threshold value, defining a motion track corresponding to the first motion track data and taking the first motion track data as motion track data needing to be stored.
It should be noted that the second motion trajectory data of the motion trajectory that is not stored here means that the motion trajectory data is determined from the obtained motion data in step 208.
The intelligent device calculates a similarity value between the first motion trail data and the second motion trail data of the motion trail which is not stored according to formula (1), wherein at the moment, r represents the similarity value, X representsiIndicating the i-th data, Y, contained in the first motion trajectory dataiThe ith data included in the second motion trajectory data indicating the motion trajectory that is not stored, and n indicates the total number of data included in the motion trajectory data.
Optionally, after step 214, the method further comprises:
setting the stored motion track to correspond to a function;
and sending the set and stored motion track and a function corresponding to the motion track to a server.
For the control method shown in fig. 1, the present application provides a corresponding intelligent device shown in fig. 4 and a corresponding server shown in fig. 5, and the following describes the intelligent device and the server provided in the present application.
Fig. 4 is a schematic structural diagram of the smart device of the present invention, as shown in fig. 4, including: the device comprises a detection module 30, an acquisition module 31, a first determination module 32, a judgment module 33, a transceiver module 34 and an interaction module 35. Wherein,
the detecting module 30 is configured to notify the obtaining module 31 when detecting that the smart device to which the detecting module belongs is in a motion state.
And an obtaining module 31, configured to receive the notification from the detecting module 30, and obtain the motion data and the time data.
And a first determining module 32, configured to determine a motion trajectory and motion trajectory data according to the obtained motion data.
And the judging module 33 is configured to notify the transceiver module 34 when the determined motion trajectory data is judged to match the pre-stored motion trajectory data.
The transceiver module 34 is used for sending the determined motion trajectory data and the obtained time data to the server; the interaction module 35 is notified when the identity of the device synchronized with itself, sent by the server, is received.
And the interaction module 35 is configured to receive the notification from the transceiver module 34, and interact with the device synchronized with the smart device to which the interaction module belongs according to the function corresponding to the determined motion trajectory.
Wherein, the equipment synchronized with the intelligent equipment comprises one or more.
Wherein, when the device synchronized with the smart device includes a plurality of devices, the interaction module 35 is specifically configured to:
acquiring an external instruction and determining equipment interacting with the equipment according to the acquired external instruction;
and interacting with the determined equipment interacting with the equipment according to the function corresponding to the determined motion track.
The interaction module 35 may use the selection operation of the smart device wearer to which the interaction module belongs as an external instruction. For example, the devices synchronized with the smart device include 3 devices, which are device 1, device 2, and device 5, respectively, the wearer of the smart device selects device 1 and device 5, and device 1 and device 5 are the devices determined by the interaction module 35 to interact with the smart device to which the smart device belongs.
Optionally, the intelligent device further includes a preprocessing module 36, configured to collect motion trajectory data included in each motion trajectory in advance, and store the motion trajectory data included in each collected motion trajectory and the motion trajectory correspondingly.
Optionally, the intelligent device further includes a first setting module 37, configured to set correspondence between different motion trajectories and functions; accordingly, the number of the first and second electrodes,
the transceiver module 34 is further configured to send the correspondence to the server.
Optionally, the determining module 33 is further configured to determine whether the determined motion trajectory data matches motion trajectory data stored in advance; the method comprises the following steps: calculating a similarity value between the determined motion trail data and prestored motion trail data;
when the absolute value of the calculated similarity value is greater than or equal to a first preset threshold value, judging that the determined motion track data is matched with the pre-stored motion track data;
and when the absolute value of the calculated similarity value is smaller than a first preset threshold value, judging that the determined motion track data is not matched with the pre-stored motion track data. It should be noted that the matching indicates that the motion trajectory and the motion trajectory data thereof are stored, and the mismatching indicates that the motion trajectory and the motion trajectory data thereof are not stored.
The determining module 33 may calculate a similarity value between the determined motion trajectory data and the pre-stored motion trajectory data according to formula (1).
The motion trail data is a combination (or set) of data with a motion trail of a certain number, and the motion trail data which only marks the motion trail can be called as an array; wherein, different motion trail data correspond to different motion trails, and the motion trail data can be determined according to the motion data. It should be noted that how to determine the motion trajectory data according to the motion data belongs to the conventional technical means known to those skilled in the art, and the description thereof is omitted here.
Optionally, the judging module 33 is further configured to notify the preprocessing module 36 when it is judged that the determined motion trajectory data does not match the pre-stored motion trajectory data; accordingly, the number of the first and second electrodes,
the preprocessing module 36 is further configured to receive a notification from the determining module 33, and prompt the user that the motion trajectory corresponding to the motion trajectory data is not stored; when a user needs to store the motion trail data and the corresponding motion trail, defining and storing the motion trail and the motion trail data; accordingly, the number of the first and second electrodes,
a first setting module 37, further configured to set the stored motion trajectory to correspond to a function;
the transceiver module 34 is further configured to send the set stored motion trajectory and a function corresponding to the motion trajectory to the server.
The pre-processing module 36 defines and stores the motion trajectory and the motion trajectory data, including:
prompting and acquiring current motion data;
determining first motion trajectory data according to the obtained current motion data;
calculating a similarity value between the first motion trail data and second motion trail data of the motion trail which is not stored;
and when the absolute value of the calculated similarity value is greater than or equal to a second preset threshold value, defining a motion track corresponding to the first motion track data and taking the first motion track data as motion track data needing to be stored.
Optionally, the transceiver module 34 is further configured to receive and store the correspondence between different motion trajectories and functions sent from the server. Or,
optionally, the smart device further comprises a key or a configuration item for starting or closing the synchronous gesture function; accordingly, the number of the first and second electrodes,
the detection module 30 is further configured to start the synchronous gesture function when a start operation of a key or a configuration item for turning on or off the synchronous gesture function is detected.
Optionally, the detection module 30 is further configured to turn off the synchronous gesture function when a turn-off operation on a key or a configuration item for turning on or off the synchronous gesture function is detected.
The keys can be virtual keys or physical keys, and when a user clicks or presses the keys once, a synchronous gesture function is started; when the user clicks or presses the key twice, closing the synchronous gesture function, for example, when the user clicks or presses the key for the first time, starting the synchronous gesture function, when the user clicks or presses the key for the second time, closing the synchronous gesture function, when the user clicks or presses the key for the third time, starting the synchronous gesture function, when the user clicks or presses the key for the fourth time, closing the synchronous gesture function, and the like; or when the user clicks or presses the key once, closing the synchronous gesture function; when the user clicks or presses the key twice, the synchronous gesture function is started, for example, when the user clicks or presses the key for the first time, the synchronous gesture function is closed, when the user clicks or presses the key for the second time, the synchronous gesture function is started, when the user clicks or presses the key for the third time, the synchronous gesture function is closed, and when the user clicks or presses the key for the fourth time, the synchronous gesture function is started, and the like.
The configuration item is located in a system setting menu of the intelligent device, and the setting method is similar to the configuration item for turning on or turning off the bluetooth function of the system setting menu in the mobile terminal, which is not described herein again and is not used to limit the present application.
The synchronous gesture function is defined as that when the intelligent device starts the synchronous gesture function, the intelligent device can interact with other devices through synchronous gestures.
Wherein the motion data includes, but is not limited to: direction of motion, rate of motion, acceleration of motion, and angular velocity of motion;
the time data includes: a motion start time and a motion end time.
And the other equipment is equipment for performing data interaction with the server.
The other devices can be a smart watch, a smart bracelet, a mobile terminal and other wearable intelligent devices.
Fig. 5 is a schematic structural diagram of a server according to the present invention, as shown, including: a receiving module 40, a second determining module 41 and a sending module 42. Wherein,
the receiving module 40 is used for receiving motion trail data and time data sent by the intelligent equipment;
a second determining module 41, configured to determine, according to the received motion trajectory data and the time data, a device synchronized with the smart device;
and a sending module 42, configured to send the determined identity of the device synchronized with the smart device to the smart device.
Optionally, the server further includes a second setting module 43, configured to set a correspondence between different motion trajectories and functions; accordingly, the number of the first and second electrodes,
the sending module 42 is further configured to send the correspondence to the intelligent device and other devices. Or,
optionally, the receiving module 40 is further configured to receive a correspondence between different motion trajectories and functions sent by the smart device or other devices;
the sending module 42 is further configured to send the correspondence to other devices or intelligent devices.
Wherein the motion data includes, but is not limited to: direction of motion, rate of motion, acceleration of motion, and angular velocity of motion;
the time data includes: a motion start time and a motion end time.
Optionally, the receiving module 40 is further configured to receive motion trajectory data sent from other devices; accordingly, the number of the first and second electrodes,
the second determining module 41 is specifically configured to:
determining a time range according to the time data;
searching motion trail data sent by other equipment and received in the determined time range;
calculating a similarity value between the motion trail data sent by the intelligent equipment and the searched motion trail data sent by each other equipment;
and taking other equipment corresponding to the similarity numerical value of which the absolute value is greater than or equal to a third preset threshold value as the equipment synchronous with the intelligent equipment.
The second determining module 41 determines, according to formula (1), a similarity value between the motion trajectory data sent by the smart device and the found motion trajectory data sent by some other device.
Wherein, the second determining module 41 determines the time range according to the time data:
calculating the difference value of the received movement ending time and the movement starting time of the intelligent equipment;
and taking a time range contained by the N-time difference before the movement starting time of the intelligent equipment and the N-time difference after the movement finishing time of the intelligent equipment as a time range determined according to the time data.
Wherein the second determining module 41 may determine the time range according to equation (2).
Optionally, the second determining module 41 is further configured to, after calculating the similarity value between the motion trajectory data sent by the intelligent device and the found motion trajectory data sent by each other device, before the server uses the other device corresponding to the similarity value of which the absolute value is greater than or equal to the third preset threshold as the device synchronized with the intelligent device, count the number of the other devices corresponding to the similarity value of which the absolute value is greater than or equal to the second preset threshold;
and when the number of other devices counted by the server is greater than or equal to a fifth preset threshold value, reducing N in the formula (1) and executing the step of determining the time range according to the time data. It should be noted that, reducing N in formula (1) can better and more accurately determine the device synchronized with the smart device.
The other devices are devices which perform data interaction with the server except the intelligent device.
The intelligent device can be a smart watch, a smart bracelet, a mobile terminal and other wearable intelligent devices.
The other devices can be a smart watch, a smart bracelet, a mobile terminal and other wearable intelligent devices.
The smart device may be implemented in various forms. For example, the smart devices described in the present application may include mobile terminals such as a smart watch, a smart bracelet, a mobile terminal, and other wearable smart devices, wherein the mobile terminal includes mobile terminals such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet), a PMP (portable multimedia player), a navigation device, and the like, and fixed terminals such as a digital TV, a desktop computer, and the like.
Fig. 6 is a schematic diagram of a hardware structure of an optional intelligent device for implementing various embodiments of the present invention.
The smart device 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 6 illustrates a smart device having various components, but it is understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. The elements of the smart device will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the smart device 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the smart device. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) A digital broadcasting system of a terrestrial digital broadcasting integrated service (ISDB-T), etc. receives digital broadcasting. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), a smart device, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the smart device. The module may be internally or externally coupled to the smart device. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The location information module 115 is a module for checking or acquiring location information of the smart device. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is for receiving audio. The a/V input unit 120 may include a microphone 122, and the microphone 122 may receive sounds (audio data) via the microphone 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 mobile communication module 112 in case of a phone call mode. The microphone 122 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 user input unit 130 may generate key input data according to a command input by a user to control various operations of the smart device. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the smart device 100 (e.g., an open or closed state of the smart device 100), a location of the smart device 100, presence or absence of contact (i.e., touch input) by a user with the smart device 100, an orientation of the smart device 100, acceleration or deceleration movements and directions of the smart device 100, and the like, and generates a command or signal for controlling an operation of the smart device 100. For example, when the smart device 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the smart device 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 identification module may store various information for authenticating a user using the smart device 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, the device having the identification module (hereinafter, referred to as "identification device") may take the form of a smart card, and thus, the identification device may be connected with the smart device 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the smart device 100 or may be used to transmit data between the smart device and the external device.
In addition, when the smart device 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the smart device 100 or may serve as a path through which various command signals input from the cradle are transmitted to the smart device. Various command signals or power input from the cradle may be used as signals for recognizing whether the smart device is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, and the like.
The display unit 151 may display information processed in the smart device 100. For example, when the smart device 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the smart device 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. According to certain desired embodiments, the smart device 100 may include two or more display units (or other display means), for example, the smart device may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the smart device 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 module 152 may provide audio output related to a specific function performed by the smart device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the smart device 100 may cooperate with a network storage that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the smart device. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
So far, smart devices have been described in terms of their functionality. Hereinafter, for the sake of brevity, a sliding-type smart device among various types of smart devices such as a folder-type, a bar-type, a swing-type, a sliding-type smart device, and the like will be described as an example. Therefore, the present invention can be applied to any type of smart device, and is not limited to a sliding type smart device.
The smart device 100 as shown in fig. 6 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a smart device according to the present application is operable will now be described with reference to fig. 7.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 7, a CDMA wireless communication system may include a plurality of intelligent devices 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 7 may include multiple BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 7, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the smart devices 100 operating within the system. The broadcast receiving module 111 as shown in fig. 6 is provided at the smart device 100 to receive a broadcast signal transmitted by the BT 295. In fig. 7, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 helps locate at least one of the plurality of smart devices 100.
In fig. 7, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 6 is generally configured to cooperate with the satellites 300 to obtain desired positioning information. Other techniques that can track the location of the smart device may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of a wireless communication system, the BS270 receives reverse link signals from various smart devices 100. The smart device 100 is typically engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, which interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the smart device 100.
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.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by a program instructing associated hardware (e.g., a processor) to perform the steps, and the program may be stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, the modules/units in the above embodiments may be implemented in hardware, for example, by an integrated circuit, or may be implemented in software, for example, by a processor executing programs/instructions stored in a memory to implement the corresponding functions. The present invention is not limited to any specific form of combination of hardware and software.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A control method, comprising:
when the intelligent equipment detects that the intelligent equipment is in a motion state, the intelligent equipment acquires motion data and time data;
the intelligent equipment determines a motion track and motion track data according to the obtained motion data;
when the intelligent equipment judges that the determined motion trail data are matched with the pre-stored motion trail data, the intelligent equipment sends the determined motion trail data and the obtained time data to the server;
and when the intelligent equipment receives the identity of the equipment synchronous with the intelligent equipment sent by the server, the intelligent equipment and the equipment synchronous with the intelligent equipment interact according to the function corresponding to the determined motion track.
2. The method of claim 1, wherein before the smart device and the device synchronized with itself interact according to the function corresponding to the determined motion trajectory, the method further comprises: the server sets corresponding relations between different motion tracks and functions and sends the set corresponding relations to the intelligent equipment and other equipment;
and the intelligent equipment and the other equipment receive and store the corresponding relation sent by the server.
3. The method of claim 1, wherein before the smart device and the device synchronized with itself interact according to the function corresponding to the determined motion trajectory, the method further comprises: the intelligent equipment or one of the other equipment sets the corresponding relation between different motion tracks and functions and sends the set corresponding relation to the server;
and the server sends the received corresponding relation to the other equipment and the intelligent equipment and informs the other equipment and the intelligent equipment of storing the corresponding relation.
4. The method of claim 1, further comprising, prior to the method: the intelligent equipment is provided with keys or configuration items for starting or closing the synchronous gesture function;
and when the intelligent equipment detects the starting operation of a key or a configuration item for starting or closing the synchronous gesture function, starting the synchronous gesture function.
5. The method of claim 1, wherein the motion data includes, but is not limited to: direction of motion, rate of motion, acceleration of motion, and angular velocity of motion;
the time data includes: a motion start time and a motion end time.
6. The method of claim 5, wherein after the smart device sends the determined motion trajectory data and the obtained time data to the server, before the smart device receives an identity of a device synchronized with itself sent by the server, the method further comprises:
the server receives motion trail data and time data sent by the intelligent equipment;
and the server determines equipment synchronous with the intelligent equipment according to the received motion trail data and the time data and sends the determined identity of the equipment synchronous with the intelligent equipment to the intelligent equipment.
7. The method of claim 6, wherein the server determining the device synchronized with the smart device based on the received motion trajectory data and the time data comprises:
the server determines a time range according to the time data;
the server searches motion trail data sent by other equipment received in the determined time range;
the server calculates the similarity value between the motion trail data sent by the intelligent equipment and the searched motion trail data sent by each other equipment;
and the server takes other equipment corresponding to the similarity numerical value of which the absolute value is greater than or equal to a third preset threshold as the equipment synchronous with the intelligent equipment.
8. A smart device, comprising: the device comprises a detection module, an acquisition module, a first determination module, a judgment module, a transceiver module and an interaction module; wherein,
the detection module is used for notifying the acquisition module when detecting that the intelligent equipment to which the detection module belongs is in a motion state;
the acquisition module is used for receiving the notification from the detection module and acquiring the motion data and the time data;
the first determining module is used for determining a motion track and motion track data according to the obtained motion data;
the judging module is used for informing the transceiving module when the determined motion trail data is judged to be matched with the pre-stored motion trail data;
the receiving and transmitting module is used for sending the determined motion track data and the obtained time data to the server; when receiving the identity of the equipment which is synchronous with the server and sent by the server, informing the interaction module;
and the interaction module is used for receiving the notification from the transceiver module and interacting with the equipment synchronous with the intelligent equipment to which the interaction module belongs according to the function corresponding to the determined motion track.
9. The intelligent device according to claim 8, wherein the transceiver module is further configured to receive and store the correspondence between different motion trajectories and functions sent from the server.
10. A server, comprising: the device comprises a receiving module, a second determining module and a sending module; wherein,
the receiving module is used for receiving motion trail data and time data sent by the intelligent equipment;
the second determination module is used for determining equipment synchronous with the intelligent equipment according to the received motion trail data and the time data;
and the sending module is used for sending the determined identity of the equipment synchronized with the intelligent equipment to the intelligent equipment.
CN201610369370.1A 2016-05-27 2016-05-27 A kind of control method, smart machine and server Active CN106095072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610369370.1A CN106095072B (en) 2016-05-27 2016-05-27 A kind of control method, smart machine and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610369370.1A CN106095072B (en) 2016-05-27 2016-05-27 A kind of control method, smart machine and server

Publications (2)

Publication Number Publication Date
CN106095072A true CN106095072A (en) 2016-11-09
CN106095072B CN106095072B (en) 2019-10-08

Family

ID=57230255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610369370.1A Active CN106095072B (en) 2016-05-27 2016-05-27 A kind of control method, smart machine and server

Country Status (1)

Country Link
CN (1) CN106095072B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106786901A (en) * 2016-12-26 2017-05-31 广东欧珀移动通信有限公司 A kind of wireless charging method and wireless charging device
CN107505872A (en) * 2017-08-24 2017-12-22 广东美的制冷设备有限公司 Household electric appliance control method, mobile terminal and household electrical appliance
CN108174092A (en) * 2017-12-28 2018-06-15 珠海市魅族科技有限公司 Terminal control method, device, computer installation and computer readable storage medium
CN109410983A (en) * 2018-11-23 2019-03-01 广东小天才科技有限公司 Voice question searching method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100277283A1 (en) * 2009-05-01 2010-11-04 Burkart Scott M Systems and methods for RFID tag operation
CN102035808A (en) * 2009-09-30 2011-04-27 北京拉手网络技术有限公司 Multimedia interactive method, system, multimedia terminal and multimedia server
CN102332203A (en) * 2011-05-31 2012-01-25 福建物联天下信息科技有限公司 System for operating and controlling other apparatuses through motion behavior
CN102752710A (en) * 2011-04-22 2012-10-24 喜讯无限(北京)科技有限责任公司 Multi-mobile-device real-time interaction realization system and method based on acceleration transducer, gyroscope and mobile positioning technique
CN103475754A (en) * 2013-08-30 2013-12-25 浙江大学 Personal information exchange device and method based on smart watch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100277283A1 (en) * 2009-05-01 2010-11-04 Burkart Scott M Systems and methods for RFID tag operation
CN102035808A (en) * 2009-09-30 2011-04-27 北京拉手网络技术有限公司 Multimedia interactive method, system, multimedia terminal and multimedia server
CN102752710A (en) * 2011-04-22 2012-10-24 喜讯无限(北京)科技有限责任公司 Multi-mobile-device real-time interaction realization system and method based on acceleration transducer, gyroscope and mobile positioning technique
CN102332203A (en) * 2011-05-31 2012-01-25 福建物联天下信息科技有限公司 System for operating and controlling other apparatuses through motion behavior
CN103475754A (en) * 2013-08-30 2013-12-25 浙江大学 Personal information exchange device and method based on smart watch

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106786901A (en) * 2016-12-26 2017-05-31 广东欧珀移动通信有限公司 A kind of wireless charging method and wireless charging device
CN107505872A (en) * 2017-08-24 2017-12-22 广东美的制冷设备有限公司 Household electric appliance control method, mobile terminal and household electrical appliance
CN108174092A (en) * 2017-12-28 2018-06-15 珠海市魅族科技有限公司 Terminal control method, device, computer installation and computer readable storage medium
CN109410983A (en) * 2018-11-23 2019-03-01 广东小天才科技有限公司 Voice question searching method and system

Also Published As

Publication number Publication date
CN106095072B (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN106888158B (en) Instant messaging method and device
CN106027804B (en) Unlocking method and unlocking device of mobile terminal
CN106533928B (en) Method and device for updating unread message reminding identification
CN106911850B (en) Mobile terminal and screen capturing method thereof
CN106130734A (en) The control method of mobile terminal and control device
CN105138260A (en) Application switching method and terminal
CN107016273B (en) Fingerprint identification method, device and terminal
CN106778176B (en) Information processing method and mobile terminal
CN104932697B (en) Gesture unlocking method and device
CN106598538B (en) Instruction set updating method and system
CN106095072B (en) A kind of control method, smart machine and server
CN106028090A (en) Mobile terminal and video recording method thereof
CN105760055A (en) Mobile terminal and control method thereof
CN105099701A (en) Terminal and terminal authentication method
CN105872997A (en) Short message merging method and terminal equipment
CN106484534B (en) Control method and control device for displayed mobile terminal
CN105049612A (en) Method of realizing recording and device of realizing recording
CN107025158B (en) Sliding operation testing method and device and terminal
CN106951350B (en) Method and device for checking mobile terminal disk
CN106412877B (en) Activation method and activation device for mobile terminal SIM card
CN106534446B (en) Mobile terminal dialing device and method
CN105260096A (en) Method for controlling user operation and mobile terminal
CN105138124A (en) Device and method for processing information
CN105744508B (en) Game data backup method and mobile terminal
CN104850351B (en) A kind of method and apparatus for realizing Rimless interaction

Legal Events

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