Control method and device of the mobile phone to remote control for toys
Technical field
The present invention relates to remote-control toy, remote-control toy is furnished with remote controler, and the present invention specifically gives mobile phone to remote control for toys
Control method;For the step in method, functional module can establish, be combined into functional module construction, mainly pass through storage
Computer program in a computer-readable storage medium is realized.
Background technique
Remote-control toy be furnished with remote controler, remote controler by itself operating device incude player operation behavior, accordingly to
Toy issues corresponding remote control command.Existing remote control for toys, the function of each operating device be it is fixed, user cannot
The function of some operating device therein is independently set, this affects the interest of remote-control toy to a certain extent.
Summary of the invention
The purpose of the present invention is improve the interest of the independence of user and remote-control toy.
The present invention provides mobile phone to the control method of remote control for toys, there is from operation behavior record in the remote controler controlled
Remote control to remote control command maps, so that after operation behavior of the remote controler by the operating device induction player of itself, energy
It is enough to issue corresponding remote control command to toy, it is characterized in that this control method includes:
Operation behavior selectes step: induction user carries out selected in a variety of operation behaviors;
Remote control command selectes step: induction user carries out selected in a variety of remote control commands;
It maps establishment step: establishing in remote controler from chosen operation behavior to the remote control of chosen remote control command
Mapping.
Preferably, operation behavior is selected in step, includes: the behaviour that player presses remote controler for the operation behavior that user selectes
Make some button in device.
Preferably, operation behavior is selected in step, includes: behaviour of the player by remote controler for the operation behavior that user selectes
The self-defining operation device for making to reserve in device is operated.
Preferably, operation behavior is selected in step, is shown selected operation behavior is carried out for user, and/or institute
The remote control command stated is selected in step, is shown selected remote control command is carried out for user.Further, operation behavior is selected
Determine in step, exports selected interface, be shown on selected interface selected operation behavior is carried out for user;And/or remote control life
It enables in selected step, exports selected interface, be shown on selected interface selected remote control command is carried out for user.Further
Ground, operation behavior selectes step and/or remote control command is selected in step, incudes user by the selected interface in affiliated step
What is carried out is selected.
Preferably, remote control command is selected in step, includes by multiple single remote control commands for the remote control command that user selectes
The compound command being composed.
It preferably, for the remote control command that user selectes is obtained by this phone network.
Preferably, including mobile phone operation step: mobile phone incudes the operation behavior of player by the equipment of itself, player's
Operation behavior issues remote controler, and control remote controler issues corresponding remote control command to toy.Further, if mobile phone operation walks
Remote control command described in rapid is the compound command being composed of multiple single remote control commands, then the compound command is ordered in remote control
User is displayed in the form of an option in the selected step of order to select.
The step in method provided for the present invention, can establish functional module, is combined into functional module construction, mainly
It is realized by storing computer program in a computer-readable storage medium.
The present invention allows user independently to select operation behavior and corresponding remote control command, remote control mapping is established accordingly, to make
User can be customized to the progress of the function of operation behavior, increases the independence of user and the interest of remote-control toy.
Detailed description of the invention
Fig. 1 is the schematic illustration that mobile phone passes through remote control device toy car.
Fig. 2 is to carry out customized principle demonstration figure by function of the mobile phone to operation behavior.
Fig. 3 is functional module construction block diagram of the mobile phone to the control device of remote control for toys.
Specific embodiment
By taking remote-controlled toy vehicle as an example, in conjunction with Fig. 1, Fig. 2, the present invention is described in detail below.
See Fig. 1, mapping table has had been established in remote controler, mapping table record has the remote control from operation behavior to remote control command
Mapping, so that after operation behavior of the remote controler by the operating device induction player of itself phase can be issued to toy car
" advance " button in the remote control command answered, such as player's pushing operation device is pressed the button this operation behavior and is being mapped
Corresponding in table is " advance " order, and remote controler just issues remote control command " advance " to toy car, and toy car will advance.
Mobile phone is equipped with remote control software matched with remote controler, therefore after mobile phone connects remote controler by modes such as tone frequency channel wires,
The operation behavior of player is issued remote controler by the operation behavior that can incude player, and control remote controler issues phase to toy car
The remote control command answered, such as player press virtual " advance " button on mobile phone operation interface, mobile phone just control remote controler to
Toy car issues remote control command " advance ".
The operating device of remote controler includes direction rocking bar, including the basic button such as " advance ", " left-hand rotation ", " right-hand rotation ", is also wrapped
Include some reserved custom buttons.In this regard, matched remote control software provides corresponding operation interface on mobile phone, remote controler is covered
Operating device repertoire.Mobile phone provides selected interface for custom button, in user setting remote controler it is each from
The function of button is defined, such as: user wishes the custom button one in remote controler to be defined as " advance+right-hand rotation " button, see
Fig. 2, just presses that " customized one " button indicates selected in multiple custom buttons of the selected interface display of mobile phone output
" player presses custom button one " this operation behavior, the choosing that mobile phone senses that user carried out by selecting interface
It is fixed, the selected operation behavior of user is obtained, then user clicks " preceding in a variety of remote control commands of selected interface display
Into " option and " right-hands rotation " option, it indicates to have selected the compound command being composed of remote control command " advance " and " right-hand rotation ", then
It clicks " determination ", mobile phone senses selected, the selected remote control life of acquisition user that user is carried out by selected interface
It enables, accordingly, mobile phone is established distant from custom button one to remote control command " advance " and " right-hand rotation " in the mapping table of remote controler
Control mapping;After being arranged successfully, " customized one " is shown as " advance+right side to corresponding virtual push button automatically in mobile phone operation interface
Turn ", as soon as player presses " advance+right-hand rotation " button in the custom button or mobile phone operation interface of remote controler, remote controler to
Toy car issues remote control command " advance " and " right-hand rotation ".After remote controler and mobile phone disconnect, custom button one still keeps " preceding
Into+turn right " this function.Hereafter if necessary to change custom button one function (or even change direction rocking bar, basic button
Etc. operating devices function), can allow mobile phone reconnect remote controler, re-start setting, then mapping of the mobile phone in remote controler
New remote control mapping is established in table, original is mapped from movement to the remote control of " advance+right-hand rotation " from custom button one and gives up.
The operation behavior of user is also possible to some combination operations, such as direction rocking bar in addition to being to press custom button
" deceleration " is pressed simultaneously to the right, which can correspond to the combination life being composed by remote control command " advance " and " right-hand rotation "
Enable, in another example under the rocking bar of direction-left-on " brake " is and then pressed after half-turn, the operation behavior can correspond to remote control command " to
Preceding rolling ".User selectes operation behavior and remote control command in selected interface, and mobile phone is established accordingly from chosen behaviour
Make the remote control mapping of behavior to chosen remote control command, then remote controler incudes the operation of player by the operating device of itself
After behavior, it will be able to issue corresponding remote control command to toy.
Producer designs new movement to the remote-controlled toy vehicle, such as during toy car advances at utmost speed, orders it
It brakes while turning, then can make the movement of drift.By taking drift of turning left as an example, producer's design " drift of turning left " button,
Corresponding remote control command " left-hand rotation " and " brake " is made into functional module, is formed and update packet;User downloads to mobile phone packet networking is updated
On be updated, then user can press virtual push button " drift of turning left " in selected interface and (also be changed to the entity on mobile phone
Button is as " drift of turning left " button), mobile phone just controls remote controler and issues remote control command " left-hand rotation " and " brake " to toy car;Into
One step, user can press that " customized two " button indicates selected " player presses custom button two " in selected interface
This operation behavior, then presses " drift of turning left " this option in selected interface, expression have selected compound command " turn left+
Brake " then clicks " determination ", then mobile phone is established " left from custom button two to remote control command in the mapping table of remote controler
Turn " and " brake " remote control map, after being arranged successfully, player presses the custom button of remote controler when toy car advances at utmost speed
Two, remote controler just issues remote control command " left-hand rotation " and " brake " to toy car, and toy car will make the movement of drift.With
The operation behavior at family, which can also be, to be made a sound, and mobile phone carries out speech recognition, such as player can say " to turn left against mobile phone microphone
Drift ", remote controler just issue remote control command " left-hand rotation " and " brake " to toy car, and toy car will make the dynamic of drift
Make.Functional module needed for handset identity voice " drift of turning left " is also placed in update packet to be downloaded for user.
For the present embodiment by taking remote-controlled toy vehicle as an example, principle is equally applicable to toy gyroscope, toy airplane and other remote controls
Toy.The step in method provided for the present invention, can establish functional module, is combined into the functional module construction such as Fig. 3,
Mainly realized by storing computer program in a computer-readable storage medium.In Fig. 3, operation behavior chosen module sense
It is selected using what family carried out in a variety of operation behaviors, remote control command chosen module incudes user in a variety of remote control commands
What is carried out is selected, and mapping is established module and established in remote controler from chosen operation behavior to the distant of chosen remote control command
Control mapping.