Summary of the invention
It is an object of the invention to provide data interactive method and the system of a kind of wearable device, existing to solveIn technology, wearable device does not receive the weak point of third party's control instruction.
To achieve these goals, the present invention provides following technical scheme:
A kind of data interactive method of wearable device, described wearable device is provided with sensor andFor carrying out the data-interface of data interaction with the external world, described data interactive method comprises the following steps:
The first data are obtained by sensor detection;
Described first data are sent by described data-interface;
Control instruction is received by described data-interface;
Perform described control instruction;
In above-mentioned steps, described first data include environmental data and/or user data.
Above-mentioned data interactive method, described data-interface is wired data interface or wireless data connectsMouthful;
Also include after the described step being sent described first data by described data-interface:
Delete the first data on described wearable device.
Above-mentioned data interactive method, described first data include video data, described control instruction bagIncluding Image Acquisition instruction, the step of the described control instruction of described execution includes:
A view data is obtained from described video data.
Above-mentioned data interactive method, described data-interface includes that the first data-interface and the second data connectMouthful, described first data-interface is used for sending described environmental data, and described second data-interface is used for connecingReceive control instruction.
Above-mentioned data interactive method, also includes after the step of the described control instruction of described execution:
The execution data of described control instruction are fed back by described data-interface.
Above-mentioned data interactive method, described control instruction includes charging instruction, the described control of described executionThe step of system instruction is:
Electricity exchange is carried out between described wearable device and commander equipment.
A kind of data interactive method of wearable device, described wearable device is provided with sensor andFor carrying out the data-interface of data interaction with the external world, described data interactive method comprises the following steps:
Control instruction is received by described data-interface;
Perform described control instruction;
The first data are obtained by sensor detection;
Described environmental data is sent by described data-interface;
In above-mentioned steps, described first data include environmental data and/or user data.
A kind of data interaction system of wearable device, including:
Sensor, for detection to obtain the first data, described in include environmental data and/or user numberAccording to;
Data-interface, for carrying out data interaction with the external world, it is used for sending described first data, withAnd reception control instruction.
Perform module, be used for performing described control instruction.
Above-mentioned data interaction system, also includes:
Photographic head, is used for obtaining video data;
Image collection module, for obtaining a view data from described video data;
Perform data acquisition module, for obtaining the execution data of described control instruction.
In technique scheme, the data interactive method of the wearable device that the present invention provides, wearable deviceCarry out the mutual of data exchange and control instruction with extraneous third party device, allow wearable device receive alsoPerform third-party control instruction, thus enrich the use function of wearable device.
Owing to above-mentioned data interactive method has above-mentioned technique effect, it is achieved the data of this data interactive methodInteractive system also should have corresponding technique effect.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that technical scheme, below in conjunction with accompanying drawingThe present invention is further detailed.
As it is shown in figure 1, the data interactive method of a kind of wearable device of embodiment of the present invention offer, dressBeing provided with sensor on equipment and for carrying out the data-interface of data interaction with the external world, data are handed overMethod comprises the following steps mutually:
101, the first data are obtained by sensor detection;
Concrete, wearable device may refer to intelligent wearable devices all kinds of in prior art, and it canTo be the helmet, glasses, wrist-watch etc. equipment, wearable device connects sensor, and sensor can be usedIn detecting two class signals, the first kind is the data signal of wearable device local environment, ring as residing for the helmetThe pressure in border, temperature signal, position signalling etc., Equations of The Second Kind is the data signal of user, as madeThe motion state signal of user, physiological parameter etc., accordingly, the first data can be two class dataIn any one or two kinds.
102, the first data are sent by data-interface;
Concrete, wearable device is provided with data-interface, data-interface is for carrying out data with the external worldAlternately, the external world refers to third-party control equipment here, as long-range in configure exclusively for wearable deviceControlling terminal, it is also possible to be other intelligent terminal, such as mobile phone, computer etc., wearable device leads toCross the first data that sensor detects by data-interface and be delivered to third-party control equipment.
103, control instruction is received by data-interface;
Concrete, data-interface also undertakes long-range control instruction, and control instruction can be the 3rd hereSide controls device transmission and comes, it is also possible to be that other terminal conveying comes, i.e. data-interface sends outThe equipment sending the first data and the equipment receiving control instruction are preferably one but it also may be not oneIndividual.Accordingly, data-interface can only have a data transmission channel, and it is for sending the first dataWith reception control instruction, data-interface can also have multiple data transmission channel, each data transmission channelIt is respectively used to send the first data and receive control instruction.
Above-mentioned data-interface can be wireless data interface, can be wired data interface.
104, control instruction is performed;
Concrete, wearable device performs after receiving corresponding control instruction, as corresponding in being turned on and offAction of all kinds of execution units etc. on sensor, and wearable device.
The data interactive method of the wearable device that the embodiment of the present invention provides, wearable device is with the extraneous the 3rdMethod, apparatus carries out data exchange and control instruction mutual, allows wearable device receive and performs third-partyControl instruction, thus the use function of abundant wearable device.
In the present embodiment, further, also include after step 102:
Delete the first data on wearable device.The limited storage space of wearable device mostly, by itAfter the data of storage upload third-party control equipment, the corresponding data that wearable device self is storedDeleted, so ensured the trouble-free operation of wearable device.
In the present embodiment, further, the first data include that video data, control instruction include imageObtaining instruction, the step performing control instruction includes: obtain a view data from video data.WearThe equipment of wearing is provided with video acquisition device, such as photographic head, when wearable device gets one from third partyWhen the Image Acquisition of control equipment instructs, from the photographic head of current shooting, obtain a view data, asThis covering realizing video data and the acquisition of typical image data.
In the present embodiment, further, also include after step 104: fed back by data-interfaceThe execution data of control instruction.The execution result of control instruction will feed back to and send setting of control instructionStandby, it is achieved the control instruction implementation status to wearable device.
In the present embodiment, it is preferred that control instruction includes charging instruction, perform the step of control instructionFor: between wearable device and commander equipment, carry out electricity exchange, by wearable device and commander equipmentElectricity exchange between (i.e. sending the third-party control devices of instruction), it is achieved electricity makes between the twoWith the maximization of efficiency.
In the present invention, the realization order of above-mentioned steps 101-102 and 103-104 can be exchanged with each other, i.e.Can perform according to following steps:
Control instruction is received by data-interface;
Perform control instruction;
The first data are obtained by sensor detection;
Environmental data is sent by data-interface.
During the whole use of wearable device, above-mentioned steps 101-104 actually moves in circles fortuneRow, each other may be the most nested.
As in figure 2 it is shown, the embodiment of the present invention also provides for the data interaction system of a kind of wearable device, bagIncluding sensor 1, data-interface 2 and perform module 3, sensor 1 counts to obtain first for detectionAccording to, including environmental data and/or user data;Data-interface 2 is used for carrying out data interaction with the external world,It is for sending the first data, and receives control instruction;Perform module 3, be used for performing control and refer toOrder.
Concrete, wearable device includes equipment body, be embedded in equipment body control mainboard andControlling data-interface 2 and the various kinds of sensors 1 of mainboard electrical connection, wearable device passes through data-interface 2The reception carrying out data interaction and control instruction with third-party control devices sends, and so realizes third partyThe control to wearable device of the control equipment.
In the present embodiment, further, also include photographic head, image collection module 4 and perform numberAccording to acquisition module, photographic head is used for obtaining video data, and image collection module 4 is for from video dataMiddle acquisition one view data;Perform data acquisition module, for obtaining the execution data of control instruction,When wearable device receives Image Acquisition instruction in video process, from the photographic head of current shootingObtain a view data, so realize covering and the acquisition of typical image data of video data.
Owing to above-mentioned data interactive method has above-mentioned technique effect, it is achieved the number of this data interactive methodAlso corresponding technique effect should be had according to interactive system.
By the way of explanation, only describe some one exemplary embodiment of the present invention above, undoubtedly, rightIn those of ordinary skill in the art, in the case of without departing from the spirit and scope of the present invention, can be with eachPlant different modes described embodiment is modified.Therefore, above-mentioned accompanying drawing and description are inherentlyIllustrative, should not be construed as the restriction to the claims in the present invention protection domain.