The content of the invention
It is an object of the invention to provide a kind of intelligent game pad, control method and computer-processing equipment, it may be to know that user
Amount of exercise, so that guidance is made in the motion to user.
The purpose of the present invention is achieved through the following technical solutions:
It is provided with a kind of intelligent game pad, including pad, the pad:
User's induction installation, plays signal for detecting on game mat with the presence or absence of user;
Motion detection apparatus, for obtaining movable information when user plays on game mat;
Distance detection device, for detecting user's range information relative to predeterminated position on game mat;
Wireless communication apparatus, is connected with user's induction installation, motion detection apparatus and distance detection device, for set up with
Data cube computation between mobile terminal, wireless communication apparatus can at least play user signal, movable information and user in game
On pad relative to predeterminated position distance information transmission to mobile terminal;So that mobile terminal is played letter according to the user received
Number determine there is user on game mat, and the distance according to movable information and user relative to predeterminated position on game mat is believed
Breath determines the energy consumption values of user in preset duration.
It is preferred that, the predetermined position be provided with comparable device, the distance detection device be used for detect user with it is described
The distance of comparable device.
It is preferred that, the comparable device includes audio amplifier, and the audio amplifier is provided with least three, is separately positioned on game mat not
At position.
It is preferred that, user's induction installation includes being additionally provided with multiple pressure sensors in pressure sensor, the pad,
Multiple pressure sensor devices are arranged at intervals according to pre-determined distance.
A kind of control method of intelligent game pad, this method includes:
The user that game mat sends is obtained to play signal;
The movable information and the range information relative to predeterminated position of user is obtained, according to movable information and range information
Change determines the energy consumption values of user in preset duration;
If the energy consumption values of user exceed default threshold value, prompting is sent.
It is preferred that, user signal of playing is the pressure signal on game mat.
It is preferred that, the change according to movable information and range information determines the energy consumption values of user in preset duration
The step of specifically include:The total distance that user moves in default length is obtained according to the change of movable information and range information, according to
Total distance and preset duration obtain movement velocity of the user in the preset duration;According to movement velocity and the energy of unit interval
Corresponding relation between consumption, the energy for obtaining movement velocity with user in the preset duration corresponding unit interval disappears
Consumption, the energy consumption values of user in preset duration are determined according to energy expenditure and preset duration.
It is preferred that, after the movable information of the acquisition user and the step of the range information relative to predeterminated position,
Methods described further comprises:The change of range information according to the movable information of user and relative to predeterminated position, draws and uses
Family movement line displacement diagram.
It is preferred that, methods described further comprises:If the distance that user's movement is detected in preset time is less than default
Distance, then send the prompting message for attracting user movement.
A kind of computer-processing equipment, including processor and computer-readable recording medium, the processor obtain described
Computer program on computer-readable recording medium, and perform as described above any methods described the step of.
The intelligent game pad of the present invention in pad due to being provided with:User's induction installation, for detecting whether deposited on game mat
Played signal in user;Motion detection apparatus, for obtaining movable information when user plays on game mat;Distance detection dress
Put, for detecting user's range information relative to predeterminated position on game mat;Wireless communication apparatus, senses with user and fills
Put, motion detection apparatus and distance detection device are connected, for the data cube computation between foundation and mobile terminal, wireless telecommunications dress
The distance information transmission of signal, movable information and user relative to predeterminated position on game mat that user can at least be played is put to arrive
Mobile terminal;So that mobile terminal determines there is user on game mat according to the user received signal of playing, and according to fortune
The dynamic range information of information and user relative to predeterminated position on game mat determines the energy consumption values of user in preset duration.
Whether can just be got in this way by using family induction installation on game mat has user such as user above, if
There is user to be played above, then user can be just got by motion detection apparatus and distance detection device in game mat upstream
The information such as the movable informations such as acceleration, speed during object for appreciation and travel distance, so as to be sent to mobile terminal, mobile terminal just can be with
Moving situation of the user on game mat is learnt by calculating, situation of the user on sports pad is so monitored in real time, it may be to know that
The amount of exercise of user, so that guidance is made in the motion to user and adjusts.
Embodiment
Although operations are described as the processing of order by flow chart, many of which operation can by concurrently,
Concomitantly or simultaneously implement.The order of operations can be rearranged.Processing can be terminated when its operations are completed,
It is also possible to the additional step being not included in accompanying drawing.Processing can correspond to method, function, code, subroutine, son
Program etc..
Computer equipment includes user equipment and the network equipment.Wherein, user equipment or client include but is not limited to electricity
Brain, smart mobile phone, PDA etc.;The network equipment includes but is not limited to single network server, the service of multiple webservers composition
Device group or the cloud being made up of a large amount of computers or the webserver based on cloud computing.Computer equipment can isolated operation realize
The present invention, also can access network and realizes the present invention by the interactive operation with other computer equipments in network.Calculate
Network residing for machine equipment includes but is not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, VPN etc..
Term " first ", " second " etc. is may have been used herein to describe unit, but these units should not
When limited by these terms, it is used for the purpose of making a distinction a unit and another unit using these terms.Here institute
The term "and/or" used includes any and all combination of the associated item listed by one of them or more.When one
Unit is referred to as " connecting " or during " coupled " to another unit, and it can be connected or coupled to another unit, or
There may be temporary location.
Term used herein above is not intended to limit exemplary embodiment just for the sake of description specific embodiment.Unless
Context clearly refers else, and otherwise singulative " one " used herein above, " one " also attempt to include plural number.Should also
When understanding, term " comprising " and/or "comprising" used herein above provide stated feature, integer, step, operation,
The presence of unit and/or component, and do not preclude the presence or addition of other one or more features, integer, step, operation, unit,
Component and/or its combination.
The invention will be further described with preferred embodiment below in conjunction with the accompanying drawings.
As shown in figure 1, a kind of intelligent game pad disclosed in the present embodiment, including pad 10, it is provided with the pad:
User's induction installation 11, plays signal for detecting on game mat with the presence or absence of user;
Motion detection apparatus 12, for obtaining movable information when user plays on game mat;
Distance detection device 13, for detecting user's range information relative to predeterminated position on game mat;
Wireless communication apparatus 14, is connected with user's induction installation, motion detection apparatus and distance detection device, for setting up
Data cube computation between mobile terminal, wireless communication apparatus can at least play user signal, movable information and user in trip
On play pad relative to predeterminated position distance information transmission to mobile terminal;So that mobile terminal is played according to the user received
Signal determines there is user on game mat, and according to movable information and user on game mat relative to predeterminated position distance
Information determines the energy consumption values of user in preset duration.
Whether can just be got in this way by using family induction installation on game mat has user such as user to exist
Above, if user plays above, then just user can be got by motion detection apparatus and distance detection device and existed
The information such as the movable informations such as acceleration, speed when being played on game mat and travel distance, so that mobile terminal is sent to, it is mobile
Terminal just can learn moving situation of the user on game mat by calculating, and feelings of the user on sports pad are so monitored in real time
Condition, it may be to know that the amount of exercise of user, so that guidance is made in the motion to user and adjusts.And when parent recognizes user for example
Virgin energy expenditure has exceeded after default threshold value, has been known that children need rest, it is possible to prevent children from continuing play under in time
Play, protect healthy.
Illustrated in the present embodiment so that user is children as an example, certain user can also be the crowd of other age brackets,
Such as pupil or baby etc., naturally it is also possible to be adult etc..
Wherein, it can be pressure signal that user, which plays new number, or obstacle signal, or voice signal etc..Such as user
New number is played when being pressure signal, user's induction installation 11 can use pressure sensor, pressure sensor obtain game mat
On pressure, be then transferred to wireless communication apparatus, wireless communication apparatus is transferred to pressure signal as user's signal of playing
Mobile terminal, mobile terminal, which is just learnt, now has user to be played on game mat, for example, have children to be played above.Pressure sensing
Device be arranged on game mat in, in order to more accurately know whether children on game mat, pressure sensor can be set it is multiple,
Multiple pressure sensors can be as needed density set, for example at interval of 5 centimetres or 6 centimetres setting one pressure sensing
Device, so as to carry out rectangular layout.The specification of such as game mat is that the spacing between 1 meter * 1 meter, pressure sensor can be set
For 4 centimetres, then a row or once row pressure sensor be 25, or spacing be 10 centimetres, then a row or one row pressure
10, nine tail of force snesor, or other spacing and quantity etc..It can also be obtained in certain the present embodiment using other modes
Whether game mat on have user, such as by infrared detection if taking, or ultrasound examination etc. mode.
Motion detection apparatus 12 can be acceleration transducer or velocity sensor, or acceleration transducer in the present embodiment
And velocity sensor.So as to get the parameter of motion, and then the information such as the distance of user movement can be calculated, use acceleration
Spend the devices such as sensor, velocity sensor and obtain the ripe motion existing in the prior art of the parameters such as move distance, herein no longer
Repeat.
Distance detection device 13 can be infrared distance measuring device, supersonic range finder, laser ranging in the present embodiment
Device etc. instrument, the distance of user's absolute presupposition position can be obtained by these range units, and then calculate the position of user
Put.The position that predeterminated position can be installed for range unit, or other convenient positions calculated, for example, can be set to a certain position
For origin position, as predeterminated position, convenient calculating.
Wireless communication apparatus 14 can be bluetooth module, or WIFI module, or other wireless transport modules in the present embodiment
Etc., mobile terminal is transferred data to by way of being wirelessly transferred, user can be facilitated to receive user in time for example
The data such as virgin real time kinematics parameter, even if parent is not by game mat, the moving situation of children can also be recognized in time, from
And facilitate parent to understand situation, fortuitous event is handled in time.
According to one of example, the predetermined position is provided with comparable device, and the distance detection device is used to detect
User and the distance of the comparable device.Wherein comparable device can be arranged on the corner positions or marginal position of game mat
Place, to avoid influence user such as children from being played on game mat.Comparable device can also be virtual, for example, set in advance
Origin or reference point are completed, as comparable device, children are calculated relative to origin or the distance of reference point to facilitate, so as to aid in
Carry out the position positioning of children.In the present embodiment, user can also be set by mobile terminal according to the size of current game mat
The specification of the game mat shown in the terminal is put, is then believed according to the user real-time monitored such as the position of children
The movement locus of user such as children is shown on breath, simulation pad on mobile terminals, so as to facilitate parent not in trip
Situation of the children in game mat is observed during play pad side.Can be according to the movable information of children and relative to default in the present embodiment
The change of the range information of position, draws children's sport circuit displacement diagram.Parent can just pass through children's sport circuit displacement diagram
Understand the real time kinematics situation of children, can also look at historical movement track.Can also be by the parameter of historical movement, such as at certain
The acceleration of one time children's sport, speed, direction etc. data are dissolved into mobile terminal, facilitate checking, understanding for parent
Situation.
According to one of example, the comparable device includes audio amplifier, and the audio amplifier is provided with least three, is separately positioned on
At the diverse location of game mat.Set audio amplifier to act not only as comparable device in the present embodiment, conveniently obtain user for example
The parameters such as virgin move distance, but also audio amplifier can be used to play music, nursery rhymes etc., to attract children, allow children more
It is happily happy to be played on game mat.For example, children without motion or walk within a period of time, it is possible to automatically turn on sound
Case plays music, to attract children's sport or walking.Three audio amplifiers are set more to be accurately obtained children in the present embodiment
Current position.After acquisition children are respectively relative to three distances of three audio amplifiers, respectively using three audio amplifiers as the center of circle, with three
Individual audio amplifier is made to justify to the distance of children for radius, and three round joinings are the position of children, so that more accurate obtain
To the position of children.
According to an example in the present embodiment, the present embodiment includes pressure sensor, range sensor, acceleration sensing
Device, timer, four small audio amplifiers etc..Can by above-mentioned pressure sensor, range sensor, acceleration transducer, timer, four
Small audio amplifier is arranged in a game mat with fence, and game mat can be connected by bluetooth with hand-held mobile terminal.Work as game
When having child on pad, after pressure inductor is experienced, bluetooth is automatically opened up, game mat and hand-held mobile terminal is connected, it is hand-held
Mobile terminal can pressure sensor, range sensor, timer are uploaded in real time inspection game mat data and according to dependency number
According to making respective handling in time.So as to active state of the real-time tracking child on game mat, and child is obtained in trip
Amount of exercise on play pad makes reasonable guidance to child's motion conditions.
Specific step is for example:Data acquisition:Gathered by pressure sensor, range sensor, acceleration transducer etc.
Data;
Data conversion:The data that sensor is collected are passed on mobile terminal by bluetooth approach, then by movement
Terminal handler is converted into accessible variable;
Data processing:Including:Displacement diagram is exported:Child on the data acquisition game mat uploaded by acceleration transducer
Displacement information, is gathered once at regular intervals, is then plotted into a displacement diagram, is exported by mobile terminal, so as to user
Check;
Card li consumption is calculated:By acceleration transducer, total distance of motion of the child on game mat is obtained
(S) total duration (T) of the child in game mat exercises, child movement velocity (V=S/ on game mat, are obtained by timer
T) it is equal to total distance divided by total duration.Judge that child's motion corresponds to the card li (M) of consumption, child per hour according to friction speed
Always card li consumption is:The card li number of consumption per second is multiplied by total duration;
Play music guiding child's motion:If child's displacement does not change in preset time, according to the current position of child
Coordinate, judges with a distance from from four small audio amplifiers of child, and opening the small audio amplifier farthest from child makes it play music;Until nursery rhymes are broadcast
Discharge to finish and just stop playing, to attract child to be moved to game mat center and appropriate autokinetic movement;
Active duration can also be set in the present embodiment:When persistently activity exceedes a certain duration to child on game mat,
Voice reminder parent, prevents child's acrokinesia, or check child's perspiration situation in time;Duration user can customize, example
It can such as give tacit consent to and be set to half an hour.
As shown in Fig. 2 a kind of control method of intelligent game pad disclosed in the present embodiment, this method includes:
S201, obtain the user that game mat sends and play signal;
S202, the movable information and the range information relative to predeterminated position for obtaining user, according to movable information and distance
The change of information determines the energy consumption values of user in preset duration;
If S203, the energy consumption values of user exceed default threshold value, prompting is sent.
Whether can just be got in this way by using family induction installation on game mat has user such as children to exist
Above, if children play above, then just children can be got by motion detection apparatus and distance detection device and existed
The information such as the movable informations such as acceleration, speed when being played on game mat and travel distance, so that mobile terminal is sent to, it is mobile
Terminal just can learn moving situation of the children on game mat by calculating, and feelings of the children on sports pad are so monitored in real time
Condition, it may be to know that the amount of exercise of children, so that guidance is made in the motion to children and adjusts.And when parent recognizes the energy of children
Consumption has exceeded after default threshold value, has been known that children need rest, it is possible to prevent children from continuing to play in time, has protected body
Body health.There can be a children to play on game mat in the present embodiment, it is more accurate to detect.Can certainly have two or
Children above play.
The movable information of user such as children and the range information relative to predeterminated position can pass through motion in the present embodiment
Detection means and distance detection device are detected.Motion detection apparatus can be that acceleration transducer or speed are passed in the present embodiment
Sensor, or acceleration transducer and velocity sensor.So as to get the parameter of motion, and then children's sport can be calculated
The information such as distance, the parameters such as move distance have been obtained in the prior art using devices such as acceleration transducer, velocity sensors
There is ripe motion, will not be repeated here.Distance detection device can be infrared distance measuring device, ultrasonic ranging in the present embodiment
Device, laser ranging system etc. instrument, the distance of children's absolute presupposition position can be obtained by these range units, and then
Calculate the position of children.The position that predeterminated position can be installed for range unit, or other convenient positions calculated, for example can be with
A certain position is set to for origin position, it is convenient to calculate as predeterminated position.
Wherein, it can be pressure signal that user, which plays new number, or obstacle signal, or voice signal etc..Such as user
New number is played when being pressure signal, user's induction installation 11 can use pressure sensor, pressure sensor obtain game mat
On pressure, be then transferred to wireless communication apparatus, wireless communication apparatus is transferred to pressure signal as user's signal of playing
Mobile terminal, mobile terminal, which is just learnt, now has user to be played on game mat, for example, have children to be played above.Pressure sensing
Device be arranged on game mat in, in order to more accurately know whether children on game mat, pressure sensor can be set it is multiple,
Multiple pressure sensors can be as needed density set, for example at interval of 5 centimetres or 6 centimetres setting one pressure sensing
Device, so as to carry out rectangular layout.The specification of such as game mat is that the spacing between 1 meter * 1 meter, pressure sensor can be set
For 4 centimetres, then a row or once row pressure sensor be 25, or spacing be 10 centimetres, then a row or one row pressure
10, nine tail of force snesor, or other spacing and quantity etc..It can also be obtained in certain the present embodiment using other modes
Whether game mat on have children, such as by infrared detection if taking, or ultrasound examination etc. mode.Youngster in the present embodiment
Child's signal of playing can be transmitted by modes such as bluetooth, WIFI.
According to other in which example, the change according to movable information and range information determines user in preset duration
Energy consumption values the step of specifically include:Obtain what user in default length moved according to the change of movable information and range information
Total distance, movement velocity of the user in the preset duration is obtained according to total distance and preset duration;According to movement velocity and list
Corresponding relation between the energy expenditure of position time, obtains the corresponding unit of movement velocity with user in the preset duration
The energy expenditure of time, the energy consumption values of user in preset duration are determined according to energy expenditure and preset duration.Thus may be used
To calculate the kinergety consumption figures of user such as children, so as to prevent children from continuing to play in time, protect healthy.Motion
Speed obtains energy expenditure corresponding relation with the unit interval and can obtained by test, can also carry out importing by existing data
Arrive.
According to other in which example, in the movable information and the range information relative to predeterminated position of the acquisition user
The step of after, methods described further comprises:According to the movable information of user and relative to the range information of predeterminated position
Change, draws user movement circuit displacement diagram.Parent can just understand the real-time fortune of children by children's sport circuit displacement diagram
Dynamic situation, can also look at historical movement track.Can also be by the parameter of historical movement, such as in sometime children's sport
Acceleration, speed, direction etc. data are dissolved into mobile terminal, facilitate the checking of parent, understanding situation.
According to other in which example, methods described further comprises:If detecting user's movement in preset time
Distance is less than pre-determined distance, then sends the prompting message for attracting user movement.Prompting letter can be sent in the present embodiment by audio amplifier
Cease, or other send prompting such as light.Set audio amplifier to act not only as comparable device in the present embodiment, conveniently used
Family parameter such as the move distance of children, but also audio amplifier can be used to play music, nursery rhymes etc., to attract children, allow
Children are more happily happy to play on game mat.For example, children without motion or walk within a period of time, it is possible to from
Dynamic audio amplifier of opening plays music, to attract children's sport or walking.Set three audio amplifiers can be more accurate in the present embodiment
Obtain the current position of children.Obtaining after children are respectively relative to three distances of three audio amplifiers, respectively using three audio amplifiers as
The center of circle, makees to justify, three round joinings are the position of children, so that more smart using three audio amplifiers to the distance of children as radius
The true position for getting children.
Game pad control method in an example, the present embodiment in the present embodiment can enter according to following example
OK:
Game mat is connected with mobile terminal:By the pressure sensor gathered data on game mat, when pressure sensor sense
When being had child, bluetooth is automatically opened up, game mat and hand-held mobile terminal is connected.
Displacement diagram is exported:After bluetooth is connected with mobile terminal, current child can be checked in game by mobile terminal
Displacement output figure on pad.Position of the child on game mat is gathered by acceleration transducer at regular intervals to believe
Breath, is then plotted into a displacement diagram, is exported by mobile terminal, when displacement diagram is changed, and sends broadcast message real-time update
Current newest displacement diagram;
Card li consumption:By acceleration transducer, motion of the child on game mat is obtained at regular intervals
Total distance (S), total duration (T) of the child in game mat exercises, child's movement velocity on game mat are obtained by timer
(V=S/T) it is equal to total distance divided by total duration.Judge that child's motion corresponds to the card li of consumption per hour according to friction speed
(M), the total card li consumption of child is:The card li number of consumption per second is multiplied by total duration.The card li number of mass activity consumption
The calory count sum consumed for day part, when calory count updates, sends the card that broadcast message real-time update is currently consumed
Road mileage.One acquiescence calorie consumption figures is set according to child's age, the value also can customize, when the calorie of actual consumption
When number is more than the setting value, mobile terminal jingle bell reminds parent;
Play music guiding child's motion:Child's displacement does not change in preset time, then is sat according to the current position of child
Mark, judges with a distance from from four small audio amplifiers of child, and opening the small audio amplifier farthest from child makes it play music;Until nursery rhymes are played
Finish and just stop playing, to attract child to be moved to game mat center and appropriate autokinetic movement;
Active duration can also be set in the present embodiment:When persistently activity exceedes a certain duration to child on game mat,
Voice reminder parent, prevents child's acrokinesia, or check child's perspiration situation in time.Duration user can customize, example
Half an hour can be such as defaulted as.
A kind of computer-processing equipment disclosed in the present embodiment, including processor and computer-readable recording medium, it is described
Processor obtains the computer program on the computer-readable recording medium, and performs the step of any methods described as described above
Suddenly.
As shown in figure 3, a kind of control device of intelligent game pad disclosed in the present embodiment, the device includes:
Acquisition module 301, the user for obtaining game mat transmission plays signal;
Receiving processing module 302, movable information and the range information relative to predeterminated position for obtaining user, according to
The change of movable information and range information determines the energy consumption values of user in preset duration;
Prompting module 303, if the energy consumption values for user exceed default threshold value, sends prompting.
Whether can just be got in this way by using family induction installation on game mat has user such as children to exist
Above, if children play above, then just children can be got by motion detection apparatus and distance detection device and existed
The information such as the movable informations such as acceleration, speed when being played on game mat and travel distance, so that mobile terminal is sent to, it is mobile
Terminal just can learn moving situation of the children on game mat by calculating, and feelings of the children on sports pad are so monitored in real time
Condition, it may be to know that the amount of exercise of children, so that guidance is made in the motion to children and adjusts.
Above content is to combine specific preferred embodiment further description made for the present invention, it is impossible to assert
The specific implementation of the present invention is confined to these explanations.For general technical staff of the technical field of the invention,
On the premise of not departing from present inventive concept, some simple deduction or replace can also be made, should all be considered as belonging to the present invention's
Protection domain.