CN111696226A - Voice control method, related device and storage medium - Google Patents

Voice control method, related device and storage medium Download PDF

Info

Publication number
CN111696226A
CN111696226A CN202010604977.XA CN202010604977A CN111696226A CN 111696226 A CN111696226 A CN 111696226A CN 202010604977 A CN202010604977 A CN 202010604977A CN 111696226 A CN111696226 A CN 111696226A
Authority
CN
China
Prior art keywords
riding
data
audio
state
playing
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.)
Pending
Application number
CN202010604977.XA
Other languages
Chinese (zh)
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.)
Ninebot Beijing Technology Co Ltd
Original Assignee
Ninebot Beijing 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 Ninebot Beijing Technology Co Ltd filed Critical Ninebot Beijing Technology Co Ltd
Priority to CN202010604977.XA priority Critical patent/CN111696226A/en
Publication of CN111696226A publication Critical patent/CN111696226A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0816Indicating performance data, e.g. occurrence of a malfunction
    • G07C5/0833Indicating performance data, e.g. occurrence of a malfunction using audio means
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B3/00Audible signalling systems; Audible personal calling systems
    • G08B3/10Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission

Abstract

The embodiment of the application discloses a voice control method, voice control equipment, a computer storage medium and computer equipment, wherein the method comprises the following steps: obtaining the state of the riding device; if the state is the riding state, obtaining state data of the riding equipment in the riding state and a state type to which the state data belongs; comparing the state data with a corresponding preset state threshold value, and judging whether safe riding can be performed or not based on a comparison result, wherein the preset state threshold value corresponds to the state type; under the condition that the bicycle cannot be ridden safely, selecting first target audio data matched with the state data and the state type from a preset audio database, and sending a playing instruction for calling and playing the first target audio data; the first target audio data is characterized as safe riding audio prompt information of the riding device.

Description

Voice control method, related device and storage medium
Technical Field
The application relates to a voice control technology, in particular to a voice control method and device, a computer storage medium and a computer device applied to riding devices.
Background
In equipment of riding such as balance car, stabilizer, the suggestion whether normal to the battery of equipment of riding speed, the equipment of riding can be realized to pronunciation. Such prompts in the related art, which employ only a single audio such as a "buzzing" sound of a buzzer, or a piece of music, are intended only to alert the rider that the riding device is out of order or not operating properly. Such audio is usually fixed in the case of good selection, resulting in the same single audio being used for alerting whatever problem occurs. It can be seen that such a reminding scheme in the related art is rough, and cannot reflect the type of the problem of the riding device needing attention of the rider, such as the problem of the battery or the problem of the vehicle speed.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present application provide a voice control method, a device, a computer storage medium, and a computer device.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a voice control method, which comprises the following steps:
obtaining state data generated by riding equipment in a riding process;
determining a state type of the state data;
acquiring a preset state threshold corresponding to the state type, and determining a state result of the state data according to the preset state threshold;
selecting first target audio data matching the state type and the state result from predetermined audio data;
and sending a playing instruction of the first target audio data, wherein the first target audio data is characterized by safe riding audio prompt information of the riding equipment under the state data.
In the foregoing aspect, the method further includes:
obtaining a first instruction, wherein the first instruction is used for requesting audio guidance data for guiding a rider to correctly ride a riding device, and the audio guidance data comprises at least one of guiding the rider to get on a bicycle, get off the bicycle, turn, advance and retreat;
responding to the first instruction, calling at least one group of audio guide data in preset audio data, wherein each audio guide data in the at least one group of audio guide data corresponds to each behavior generated in the riding process;
and sending a playing instruction of the audio guidance data.
In the foregoing aspect, the method further includes:
obtaining a starting-up instruction, wherein the starting-up instruction is used for starting up the riding equipment;
responding to the starting instruction, starting the riding equipment, and calling at least one group of audio prompt data in preset audio data;
and sending a playing instruction of the audio prompt data, wherein the audio prompt data is used for prompting the items noticed by the rider in the riding process of the riding device.
In the foregoing solution, after sending the play instruction of the audio guidance data, the method further includes:
determining execution behavior information generated under the state data according to the state type of the state data and the state result;
selecting second target audio data matched with the execution behavior information from preset audio data according to preset execution behavior standard information corresponding to the audio guidance data;
and sending a playing instruction of the second target audio data, wherein the second target audio data is characterized by audio guide information for guiding the rider to ride correctly according to the current execution behavior information.
In the foregoing aspect, the method further includes:
obtaining a maximum speed value that allows riding in a case where the state data is data of a state type characterized as riding speed; comparing the state data with the maximum speed value to obtain a first comparison result; selecting audio data corresponding to the status type and the first comparison result among predetermined audio data as first target audio data; sending a play instruction of the selected first target audio data, wherein the first target audio data is characterized in that whether the riding equipment can safely ride at the riding speed or not;
obtaining a preset mileage value under the condition that the state data is data representing a state type of the riding mileage; comparing the state data with the preset mileage value to obtain a second comparison result; selecting audio data corresponding to the state type and the second comparison result from predetermined audio data as first target audio data; and sending a play instruction of the selected first target audio data, wherein the first target audio data is characterized in that whether the riding equipment can safely ride under the riding mileage.
In the foregoing aspect, in the case where the state data is a state type characterized by a riding speed,
obtaining a riding direction of the riding device at the riding speed;
selecting target audio data matched with the state type, the first comparison result and the riding direction from preset audio data;
and sending a play instruction of the selected target audio data, wherein the selected target audio data is audio prompt information for prompting whether the riding device can safely ride at the riding speed in the riding direction.
In the foregoing aspect, the method further includes: in the case where the state data is data of a state type characterized as a battery characteristic parameter, the battery characteristic parameter is at least one of an electric quantity, a temperature, a current, a voltage, and a power of the battery;
obtaining threshold data predetermined for the characteristic parameter;
comparing the state data with threshold data predetermined for the characteristic parameters to obtain a comparison result;
selecting audio data corresponding to the state type and the comparison result from preset audio data as first target audio data;
and sending a playing instruction of the first target audio data, wherein the first target audio data at least represents audio data of whether a battery of the riding device can ensure safe riding of the rider.
In the foregoing solution, when the first target audio data includes audio data of at least two sound effects, the method further includes: and sending a playing control instruction of the first target audio data, wherein the playing control instruction of the first target audio data is a sequential playing instruction or a simultaneous playing instruction.
An embodiment of the present application provides a voice control apparatus, including:
the obtaining unit is used for obtaining state data generated by the riding equipment in the riding process;
a determination unit configured to determine a status type of the status data;
the acquiring unit is used for acquiring a preset state threshold corresponding to the state type and determining a state result of the state data according to the preset state threshold;
a selection unit configured to select first target audio data matching the status type and the status result among predetermined audio data;
and the sending unit is used for sending the first target audio data playing instruction, and the first target audio data represents the safe riding audio prompt information of the riding equipment under the state data.
Embodiments of the present application provide a computer storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the aforementioned method.
The embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to perform the steps for implementing the foregoing method.
The embodiment of the application provides a voice control method, voice control equipment, a computer storage medium and computer equipment, wherein the method comprises the following steps: obtaining state data generated by riding equipment in a riding process;
determining a state type of the state data; acquiring a preset state threshold corresponding to the state type, and determining a state result of the state data according to the preset state threshold; selecting first target audio data matching the state type and the state result from predetermined audio data; and sending the first target audio data playing instruction, wherein the first target audio data is characterized by safe riding audio prompt information of the riding equipment under the state data.
In the embodiment of the present application, the target audio data is audio data obtained in predetermined audio data while matching the data type of the status data and the status result of determining the status data. The audio data to be played obtained through the embodiment of the application are matched with the type state of the state data and are also matched with the state result determined according to the preset state threshold value, so that the determined first target audio data can play a role in prompting the rider for the state data, and prompting the rider about which kind of problems occur in which kind of state type data of the current riding equipment, such as over-high temperature of a battery, over-high riding speed and the like.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a first hardware composition diagram of a riding device in the embodiment of the present application;
FIG. 2 is a first schematic flow chart illustrating an implementation of a voice control method in an embodiment of the present application;
FIG. 3 is a second hardware configuration diagram of the riding device in the embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a second implementation flow of a voice control method in an embodiment of the present application;
fig. 5 is a schematic diagram of a pairing interface of a mobile phone App in the embodiment of the present application;
fig. 6 is a schematic view of an activation interface of a mobile phone App in the embodiment of the present application;
FIG. 7 is a schematic view of a driving guide interface of a mobile phone App in the embodiment of the application;
fig. 8-11 are schematic diagrams of teaching interfaces of the mobile phone App in the embodiment of the present application;
fig. 12 is a schematic structural diagram of a voice control device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The riding equipment in the embodiment of the application can be equipment such as a balance car and a balance wheel; other reasonable devices that can ride are also possible.
The application provides an embodiment of a voice control method, which is applied to riding equipment. In terms of hardware configuration, as shown in fig. 1, the riding device may include a collecting device 101, a processing device 102, an audio processing device 103, and a playing device 104. Wherein, the input end of the processing device 102 is connected with the acquisition device 101, and the output end of the processing device 102 is connected with the input end of the audio processing device 103; the output of the audio processing means 103 is connected to the playing means 104. As shown in fig. 3, in a specific implementation, the acquisition device 101 may be implemented by a sensor 301; the processing device 102 may be implemented by a microprocessor 302; the audio processing device 103 may be implemented by an audio playing chip 303; the playing device 104 may be implemented by a speaker, a loudspeaker, etc. On the basis that the riding device has the hardware structure, the following embodiments of the method for obtaining the prompt information provided by the application are specifically applied to the processing device 102 of the riding device. It is understood that the processing device 102 may be any processor, chip or functional module with analysis and calculation functions, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a programmable logic array (FPGA) in practical applications.
Fig. 2 is a schematic implementation flow diagram of a voice control method according to a first embodiment of the present application. The implementation flow of the method is implemented by the processing device 102. As shown in fig. 2, the method includes:
s201: obtaining state data generated by riding equipment in a riding process;
in some examples, the state data may be data that can be characterized as battery characteristics such as ride speed, ride mileage, battery temperature, battery level, etc.; data characterizing the weight of the rider, the angle of inclination of the riding surface may also be presented. In a specific implementation, the data generated by the riding device in the riding process is acquired by the acquisition device 101 of the riding device. The processing device 102 receives the data collected and transmitted by the collecting device 101. Alternatively, the processing device 102 actively requests the acquisition device 101 for the data acquired by the acquisition device 101.
According to some embodiments, after the cycling apparatus is turned on, the rider begins cycling. In the riding process, the acquisition device 101, the processing device 102, the audio processing device 103 and the playing device 104 are all in an open state. The data generated by the rider during riding are collected by the collecting device 101. Collecting the rotating speed generated by a motor in the riding process; the temperature, voltage, current, electric quantity and other information of the battery in the riding process are collected. And collecting the riding mileage generated in the riding process. With respect to the riding device, if the information acquired as above is regarded as the self information of the riding device due to riding, the riding device in the embodiment of the present application can acquire external information such as a road surface inclination angle capable of representing whether a riding road surface is flat or not, and weight information representing a rider riding an adult or a child, in addition to the information acquired as above.
In particular implementations, the aforementioned sensors may include different types of sensors in some examples. Such as a sensor (hall sensor) for acquiring the motor speed of the riding device and a temperature sensor for acquiring the battery temperature. A sampler for collecting the battery voltage and/or current. And the gyroscope is used for acquiring the inclination angle of the vehicle body. The number and types of sensors in the embodiments of the present application are not limited to those described above, and may be flexibly set according to actual situations.
In some examples, for the motor data collected by the hall sensor, the processing device 102 can estimate the riding speed according to the rotation speed of the motor. Under the condition of collecting the rotating speed of the motor, the Hall sensor also collects the rotating angle of the motor, the processing device 102 confirms the rotating number of turns through the change of the rotating angle, and the riding mileage is obtained according to the rotating number of turns and the rotating speed. Of course, the riding mileage can also be obtained through a mileage meter. The process of calculating the riding speed and the riding mileage by the data collected by the Hall sensor is described in the relevant description.
S202: determining a state type of the state data;
in some examples, the status type may be determined from the type of sensor that collected the status data. The state types of the data received by the processing device 102 for different types of sensors that gather information such as motor speed, battery temperature, voltage, etc., include a type characterized as cycling speed, a type characterized as cycling mileage, and a type characterized as battery characteristics. In some examples, the state type may be determined according to a data format of the state data, and the like, and may further include a data type characterized as a forward riding speed and a data type characterized as a reverse riding speed, such as a reverse speed, in view of the data type characterized as a riding speed. Data represented as battery level, battery voltage, battery current, battery power, and/or battery temperature are included in the view of the type of data characterized as battery characteristics. For the collected external information such as the road surface inclination angle, the weight of the rider and the like, the collected data types are at least two of the following types: information indicating whether the riding surface is flat such as the inclination angle of the surface and information indicating the weight of the rider can be represented. Wherein, the inclination angle of the road surface can be collected by an angle sensor; the weight information may be collected using a weight scale disposed within the cycling apparatus.
For convenience of description, the status data collected by the collection device 101 is collectively referred to as collected data.
The processing device 102 may first parse the status type of the collected data. It will be appreciated that for acquiring information such as motor speed, battery temperature, voltage, etc., the processing device 102 may derive the status type of the acquired data or status data based on the type of sensor acquiring the acquired data, since different types of acquired data may be acquired by different types of sensors. For example, if the processing device 102 receives motor speed data collected by a hall sensor, the processing device 102 estimates the riding speed according to the motor speed data and analyzes the data as data of a type characterized as the riding speed. If the processing device 102 receives the motor rotating speed and the rotating angle data collected by the Hall sensor, the number of rotating turns is obtained according to the rotating angle, the number of rotating turns and the motor rotating speed are combined to obtain riding mileage data, and the processing device 102 analyzes the data into data representing the type of riding mileage. If the processing device 102 receives data collected by the temperature sensor, the processing device 102 interprets the data as being of a type characterized by battery characteristics, and in particular battery temperature. Here, the analysis of the collected data by the processing device 102 is intended to analyze whether the riding device can ride safely under the collected data, such as when the riding speed is too fast and needs to be slowed down, the riding speed can be normally maintained, the battery temperature is too high and needs to be processed, and the like.
If the processing device 102 receives data sensed by the scale, the processing device 102 interprets the data as being of a type that is indicative of the weight of the rider. If the processing device 102 receives data collected by the angle sensor, the processing device 102 interprets the data as being of a type characterized as a degree of flatness of the riding surface. Here, the processing device 102 analyzes the collected data to analyze whether the riding device can ride under the collected data, such as prompting that a riding road surface is uneven, cannot ride or rides with caution, and prompting that a rider is not a person who should ride the riding device. If the riding device is a child riding device, the rider is an adult.
S203: acquiring a preset state threshold corresponding to the state type, and determining a state result of the state data according to the preset state threshold;
in some examples, a corresponding preset state threshold may be set in advance for the state data of each state type. The processing device 102 reads a preset state threshold corresponding to the state type corresponding to the state data when needed, and determines the state result of the state data according to the preset state threshold. For example, a maximum speed value that allows riding is set for state data characterized as riding speed; setting a mileage value allowed to be ridden for state data representing the riding mileage; a maximum temperature value for the battery is set for state data characterized as a battery temperature.
S204: selecting first target audio data matching the state type and the state result from predetermined audio data;
it can be understood that, in the embodiment of the present application, corresponding audio prompt information is preset for the collected data of different state types and different state results under each type of collected data. For example, for the type of state data of the riding speed, for the case where the riding speed is too fast, audio prompt information such as "drip" and "the riding speed is too fast, please jog" corresponding to the case may be set in advance. For the case of the riding speed being too slow, the audio prompt information corresponding to the case can be set to be humming, and the case of the riding speed being too slow can be set to be properly speeded up. Aiming at the condition that the riding speed is normal, the audio prompting information corresponding to the condition is set as "ping", "the riding speed is normal, and the user can keep on. It can be understood that in the embodiment of the application, the above audio prompt may be performed in the case that the riding is too fast, and the prompt may not be performed in the case that the riding is too slow or normal. For example, for the data of the state type of the cycling mileage, for the case where the cycling mileage has reached the preset mileage, audio prompt information such as " " corresponding to the case may be preset, and the speed limit may be released. And aiming at the situation that the riding mileage does not reach the preset mileage, setting audio prompting information corresponding to the situation as 'biting and stinging' and 'please keep moving at a speed limit value'. It can be understood that the audio prompt is not needed under the condition that the preset mileage is not reached, and the prompt is only carried out under the condition that the safety is insufficient. The mileage which needs to be prompted by the audio can be flexibly set according to the actual situation of the rider. The safety of the beginners is mainly considered, and the personal safety problems of falling and the like caused by the fact that the beginners ride the bicycle too fast under the condition that the beginners do not know how to ride the bicycle are avoided. For data of the type of battery temperature, when the battery temperature is too high, audio prompt information such as "buzzing" and "battery temperature is too high, and a manual confirmation or a slow line request" corresponding to the case may be set in advance. For the case where the battery temperature is too low, audio presentation information such as "clattering-dong" and "the battery temperature is too low and is manually checked and confirmed" can be set in advance according to the case. The audio prompt information and the corresponding situation of the audio prompt information set as above are correspondingly stored and are regarded as predetermined audio data.
The processing device 102 in the embodiment of the present application compares the received state data or collected data of a certain state type with a state threshold set for the state data to obtain a state result; and reading audio data corresponding to the state type and the state result of the collected data from predetermined audio data as first target audio data. The state result of the state data determined from the preset state threshold value can be regarded as a comparison result of the state data or the collected data and the state threshold value set for such state data.
In the embodiment of the application, the preset audio prompt messages for the collected data of different types are different, further, the rider can determine different conditions of the data of the same type, such as too fast riding speed, too slow riding speed or normal riding speed, different audio prompt messages are set for different state results under the collected data of the same type, so that the rider can know which state type data have problems, such as the riding speed or the battery, and which problems occur in the data, such as the riding speed, the normal riding speed or the too slow riding speed.
In an optional aspect, when the first target audio data includes audio data of at least two sound effects, the voice control method further includes: and sending a playing control instruction of the first target audio data, wherein the playing control instruction of the first target audio data is a sequential playing instruction or a simultaneous playing instruction.
It is understood that the preset audio data in the embodiment of the present application may be a single audio prompt message such as "drip" and "buzz", or may be a language prompt such as "riding speed is too fast, please go slowly", "battery temperature is too high, please confirm manually or please go slowly". The preset audio data can also be chord music, and each audio prompt adopts different chord music; or the sound of the pet can be used, and each audio prompt adopts the sound of different animals or the sound of the same animal under different emotions or requirements, which is set according to the actual situation. In this manner, the first target audio data read out from the predetermined audio data may be only the language prompt data such as "too fast riding speed, please walk slowly", or the like, and may also be only the audio prompt information such as "drip and buzz". If audio prompt information such as "drip" and "buzz" is used as the single audio prompt data, the scheme of the embodiment of the application can output a corresponding single audio or language prompt for different types of collected data and the status result of the collected data. That is, the first target audio data in the embodiment of the present application may be audio data such as "drip" and "buzz" capable of playing a single sound effect, or may be audio data capable of playing a language prompt. Considering that the two types of data have different sound effects, the two types of data can be considered as audio data having different sound effects. When the processing device 102 selects the first target audio data, it sends a play control instruction to the audio processing device 103, where the play control instruction not only enables the audio processing device 103 to play the audio data with two different sound effects through the playing device 104, but also enables the audio data with two different sound effects to be played according to the sequence indicated by the play control instruction, such as playing simultaneously or playing according to the sequence. In other words, in the embodiment of the present application, only a single audio corresponding to a certain state result of the same state type is output or corresponding language prompt data is output, and a sound effect is output to prompt. The corresponding single audio frequency can be output for one state result of one state type data, and the corresponding language prompt is also output, so that the aim of enhancing the reminding can be achieved through two playing sound effects. Under the condition of outputting corresponding single audio and corresponding language prompt, the prompt data of the two sound effects can be played according to a preset sequence and can also be played simultaneously. If "drip" is played first, then "riding speed is too fast, please slow down" is played, or "riding speed is too fast, please slow down" is played first, then "drip" is played, or played at the same time. Therefore, the data of the type of the current riding equipment of the rider can be prompted to solve the problems that the temperature of the battery is too high, the riding speed is too fast and the like.
It should be noted that the preset amount of audio data is large because the status types of the collected data are different. Each audio data corresponds to a state type of the collected data and one of the state results of the collected data. In consideration of the fact that a large amount of preset audio data is available, in the embodiment of the present application, the audio data is stored in a storage space, such as a memory, a hard disk, or a Flash memory (Flash) chip. In order to avoid the problem that the memory read-write speed and the hard disk read-write speed are not timely due to the fact that the stored audio data are too much, the audio data are preferably stored in a Flash chip in the embodiment of the application.
S205: and sending a playing instruction of the first target audio data, wherein the first target audio data is characterized by safe riding audio prompt information of the riding equipment under the state data.
In this step, in the case where the processing device 102 determines the first target audio data matching the state type and the state result of the state data, an instruction to play the first target audio data is sent, for example, a play instruction is sent to the audio processing device 103. As shown in fig. 3, the audio processing device 103 receives the playing instruction, and directly delivers the playing instruction to the playing device 104 to play the data, or reads the data to be played from the Flash chip and delivers the data to the playing device 104 to play.
In S201 to S205, the data for prompting is played using audio, and (the target audio data is audio data that is obtained from the predetermined audio data and matches the data type of the state data and the state result of determining the state data, because the audio data to be played matches both the type state of the state data and the state result of determining the state data according to the preset state threshold, the determined first target audio data can prompt the rider for the state data, and prompt the rider about what kind of problem occurs in what kind of state type of data of the current riding device, such as the problem of the battery being too hot, the riding speed being too fast, and the like.
In consideration of the fact that during audio prompting, a single audio matched with the state type and the state result of the collected data can be adopted for playing and prompting, and a voice prompt matched with the state type and the state result of the collected data can also be adopted for playing and prompting. In addition, a single audio and voice prompt may also be combined to enhance the prompt to the rider. If the aforementioned single audio is regarded as one type of audio data and the language prompt is regarded as another type of data, the correspondence between the two types of audio data and the state type and the state result can be stored in a technical means. The embodiment of the application also comprises the following steps: the processing device 102 selects first target audio data matching the state type and the state result from predetermined audio data; selecting second target audio data matched with the state type and the state result of the state data from the preset audio data; the processing device 102 sends a playing instruction of the first target audio data and second target audio data, wherein the second target audio data is characterized by safe riding audio prompt information of the riding equipment under the state data; the first target audio data and the second target audio data differ at least in a play sound effect when played sequentially or simultaneously. It will be appreciated that because the Flash chip stores a single audio such as "drip" and "buzz", voice prompts such as voice prompts, chord music, and animal sounds are also stored. When the audio processing device 103 reads the audio prompt information from the Flash chip, it may read only a single audio, read only a voice prompt, and read a single audio and a voice prompt corresponding to the type of the collected data and the analysis result at the same time. If a single audio and voice prompt is treated as two types of audio prompt data, both types of audio prompt data may be read simultaneously for the same captured data. In the case where the first target audio data is a single audio, the second target audio data is voice prompt data. And under the condition that the first target audio data is voice prompt data, the second target audio data is single audio. The processing device 102 may determine a single audio corresponding to the status type and status result of the status data, and may also determine voice prompt data corresponding to the status type and status result of the status data, and send an instruction to play both types of data to the audio processing device 103. The audio processing device 103 receives a playing instruction, reads first target audio data and second target audio data from the Flash chip, and the playing device 104 plays the first target audio data and the second target audio data sequentially or simultaneously, wherein the second target audio data represents audio prompt information indicating whether the riding equipment can safely ride under the type of data; wherein the first target audio data and the second target audio data differ at least in a play sound effect when played sequentially or simultaneously.
Wherein the processing means 102 may determine two types of audio prompt data. Naturally, in the case where the audio processing apparatus 103 reads two types of audio cue data at the same time, the two types of audio data can be sequentially played. If the single audio is played first and then the voice prompt is played, or vice versa. The two types of audio data can also be played simultaneously. It is understood that a single audio is played only in a repetitive or monotonous sound; and the voice prompt data is a play prompt by language. In the aspect of playing sound effect, single audio is biased to be monotonous; the voice prompt playing is preferred to be vivid. Both the two players can play the role of prompting the rider, and the use experience of the rider is improved. The two types of audio prompt data are played simultaneously, so that the prompting effect on the rider can be enhanced.
As already described above, the types of states of the collected data (state data) as a whole include a type characterized by a riding speed, a type characterized by a riding mileage, and a type characterized by a battery characteristic parameter. It is stated below respectively how riding equipment realizes the broadcast of corresponding voice prompt information under the condition that the data collection is above each state type.
Under the condition that the collected data is of a data type which is characterized by the riding speed, obtaining a maximum speed value allowed to be ridden, and comparing the data which is characterized by the riding speed with a preset maximum speed value allowed to be ridden to obtain a first comparison result; selecting audio data corresponding to data of a state type characterized as a riding speed and the first comparison result from predetermined audio data as first target audio data; and sending a selected first target audio data playing instruction, wherein the first target audio data is characterized in that whether the riding equipment can safely ride at the riding speed or not. In the specific implementation, in the process of riding the riding device by the rider, the hall sensor detects the rotating speed of the motor of the riding device in real time, and sends the rotating speed of the motor detected at a certain moment to the microprocessor 302. The microprocessor 302 receives the motor rotation speed data transmitted by the hall sensor, knows that the data is type data representing riding speed, estimates the riding speed according to the rotation speed of the motor, compares the estimated riding speed with the maximum speed value allowed to be ridden, and determines the comparison result (the comparison result is regarded as a state result determined according to a preset state threshold value and representing the riding speed). Assuming that the comparison result is that the estimated riding speed is greater than or equal to the maximum speed value allowed to be ridden, the audio data corresponding to the comparison result and the state type is selected, for example, "the riding speed is too fast, please jog", and the microprocessor 302 sends an instruction to play the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, and directly delivers the playing instruction to the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls the audio data corresponding to the comparison result and the state type of the collected data from the Flash chip, such as "riding speed is too fast, please move slowly" and delivers the audio data to the playing device 104 to play. If the comparison result is that the estimated riding speed does not reach the maximum speed value allowed to ride, then the audio data corresponding to the comparison result and the state type, such as "riding speed is moderate and please keep" can be determined from the audio data stored in Flash, and then the microprocessor 302 sends an instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, and directly sends the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls audio prompt information (such as "please keep the riding speed moderate") for prompting the rider that the riding speed is not over speed from the Flash chip and plays the audio prompt information. Or when the riding speed does not reach the maximum speed value allowed to be ridden, audio prompting is not carried out. The scheme of carrying out audio prompt under the condition that the riding speed is greater than or equal to the maximum speed value and carrying out audio prompt under the condition that the riding speed does not reach the maximum speed value can prompt that the rider has insufficient safety in time. Taking the comparison result as the example that the riding speed is too fast, the playing device 104 can play a single audio such as "drip" for several seconds, and then play a voice prompt such as "please walk slowly when the riding speed is too fast". The output scheme of the prompt message can effectively remind the rider that the current riding speed is too high.
It is appreciated that in a particular implementation, the riding device is the riding speed due to the rotation of the motor. The motor rotation includes the motor rotating in a counterclockwise or clockwise direction. If the motor is rotated clockwise as the forward direction of the riding device, the motor can be rotated counterclockwise as the backward direction of the riding device. Obtaining a riding direction of the riding device at the riding speed if the state data is a data type characterized as riding speed; and selecting data of a state type which is characterized as a riding speed, the first comparison result and the target audio data which is matched with the riding direction from preset audio data, and sending a selected target audio data playing instruction, wherein the selected target audio data is audio prompt information for prompting whether the riding equipment can safely ride at the riding speed of the riding direction. That is, under the condition that the collected data is the data type characterized by the riding speed, the rotation direction of the motor detected by the hall sensor is also required to be combined to judge whether the riding device is in the forward state or the reverse state, and if the microprocessor 302 analyzes that the motor rotates along the clockwise direction, the riding device is considered to be in the forward state at the moment. The microprocessor 302 analyzes that the motor rotates along the counterclockwise direction, and the riding device is in a backward state at the moment. And meanwhile, corresponding audio prompt data are determined by combining a comparison result of the riding speed and a preset speed value (the comparison result is regarded as a state result for determining the riding speed and the riding direction according to a preset state threshold value). For example, if the microprocessor 302 analyzes that the motor rotates in the counterclockwise direction and the backward riding speed falls within the threshold of the speed range in which the backward traveling is recognizable, the audio data corresponding to the comparison result, the state type, and the riding direction, such as "riding in reverse with caution", may be selected from the audio data stored in Flash, and the microprocessor 302 sends an instruction to play this audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, and directly delivers the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls the audio data for prompting that the riding device is backing up, such as "backing up, please carefully ride" and play. If the microprocessor 302 analyzes that the motor rotates along the counterclockwise direction and the backward riding speed is greater than the allowed maximum backing speed, the audio data corresponding to the comparison result, the state type and the riding direction can be selected from the audio data stored in Flash, such as 'backing over speed, please walk slowly'. The microprocessor 302 sends an instruction to the audio processing device 103 to play this audio data. The audio processing device 103 receives the playing instruction, and directly delivers the playing instruction to the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls the audio data for prompting the riding device to back over speed, such as "back over speed, please jog" and plays.
In addition, since there is also a turning direction such as left or right turning during the turning of the riding apparatus, the aforementioned riding direction may refer to not only a forward or backward direction but also a leftward or rightward turning direction. In a specific implementation, if the microprocessor 302 analyzes that the motor rotates in the counterclockwise direction and the motor itself rotates in a direction inclined to the left, and the riding speed is greater than the predetermined maximum speed value, the audio data corresponding to the comparison result, the state type and the riding turning direction, such as "overspeed left turn, please carefully ride" can be selected from the audio data stored in Flash, and the microprocessor 302 sends an instruction to play the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, directly delivers the audio data selected by the microprocessor 302 to the playing device 104 for playing, or reads/calls the audio data for prompting the riding device to overspeed and turn left and plays the audio data by the playing device 104. Therefore, the danger of the rider can be timely prompted under the condition that the turning is dangerous, such as the condition of overspeed.
Acquiring a preset mileage value under the condition that the acquired data is data representing the type of the riding mileage; comparing the data representing the riding mileage with the preset mileage value to obtain a second comparison result; selecting audio data corresponding to the data of the state type characterized as the cycling mileage and the second comparison result from the preset audio data as first target audio data; and sending a selected first target audio data playing instruction, wherein the first target audio data is characterized in that whether the riding equipment can safely ride under the riding mileage. In the concrete implementation, the rotating speed and the rotating angle of the motor are collected by the Hall sensor in the riding process of the riding device by a rider. The microprocessor 302 receives the data collected by the hall sensor, knows that the data is data representing the type of the riding mileage, and calculates the riding mileage according to the rotating speed and the rotating angle of the motor collected by the hall sensor. The microprocessor 302 compares the calculated cycling mileage with a preset mileage value to obtain a comparison result (the comparison result is regarded as a state result for determining the characteristic cycling mileage according to a preset state threshold value). If the comparison result is that the riding mileage is less than the preset mileage value, audio data corresponding to the comparison result and the status type, such as audio prompt information for prompting that the rider does not reach the preset mileage allowed to ride, can be selected from the audio data stored in Flash, and the microprocessor 302 sends an instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, directly delivers the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls audio prompting information for prompting that the rider does not reach the preset mileage allowing to ride from the Flash chip, such as "the rider does not reach the preset mileage, please continue to ride" and plays the audio data by the playing device 104. If the comparison result is that the current accumulated riding mileage is greater than or equal to the preset mileage value, the microprocessor 302 selects audio data corresponding to the comparison result and the status type from the audio data stored in Flash, such as audio prompt information for prompting to limit the riding speed of the rider, and the microprocessor 302 sends an instruction to play the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, and directly delivers the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls audio prompting information for prompting the limitation of the riding speed of the rider from the Flash chip and plays the audio prompting information by the playing device 104, for example, the limitation of the riding speed can be removed if the riding mileage reaches the standard. In the embodiment of the application, the riding speed of the riding equipment is limited under the condition that the preset mileage is not reached, the safety of a beginner is mainly considered, and the personal safety problems of falling and the like caused by too fast riding under the condition that the beginner is not familiar with how to ride are avoided. The limitation on the riding speed can be relieved by prompting the rider through voice under the condition that the riding mileage reaches the preset mileage.
In addition, when the cycling mileage of the cycling device reaches different preset values, the microprocessor 302 will also select the audio prompt data corresponding to each preset mileage value and the state type of the collected data, and send an instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, and directly delivers the playing instruction to the playing device 104 to play the audio data selected by the microprocessor 302, or the audio processing device 103 calls the audio corresponding to each preset mileage and state type from Flash to perform mileage reminding and plays the audio data by the playing device 104. And playing 'the mileage reaches 10 kilometers and continuously adding oil' when the current riding mileage reaches a first-stage preset value, such as 10 kilometers. And playing 'the mileage reaches 20 kilometers and continuously adding oil' when the current riding mileage reaches a second stage preset value, such as 20 kilometers. It is thus clear that equipment of riding can broadcast and the audio frequency suggestion data that the state type and the state result of data collection correspond, and this kind of suggestion information's output scheme can indicate to ride passerby's the mileage of riding that equipment of riding currently reaches predetermined mileage, has promoted the functional and interesting of equipment of riding, has improved the user and has experienced the equipment of riding.
Taking the data of a rider, which is type data representing the inclination angle of the vehicle body, as an example, in the riding process of the riding device, the gyroscope detects the inclination angle of the vehicle body in real time. The gyroscope sends the detected data to the microprocessor 302. The microprocessor 302 receives this data, knowing that it is data that is characteristic of the type of body inclination angle. The microprocessor 302 determines whether the received vehicle body inclination angle is within a predetermined reasonable inclination angle range value, taking the case that the vehicle body inclination angle is not within the predetermined reasonable inclination angle range value as an example, the microprocessor 302 may select audio data corresponding to the comparison result and the status type from the audio data stored in Flash, such as audio prompt information for prompting that the vehicle body inclination angle is not within the reasonable inclination angle range value, and the microprocessor 302 sends an instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, and directly sends the playing instruction to the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls audio prompting information (such as "vehicle body inclination deviation, please note") for prompting the deviation of the vehicle body inclination angle of the rider from the Flash chip and sends the audio prompting information to the playing device 104 to play. And if the judgment result is that the vehicle body inclination angle is within the reasonable inclination angle range value, reading/calling audio prompt information (such as 'normal vehicle body inclination angle, please continue to ride') for prompting that the vehicle body inclination angle of the rider is not deviated from the Flash chip and playing the audio prompt information or not carrying out audio prompt under the condition that the vehicle body inclination angle is not deviated. Wherein, the result of the microprocessor 302 determining whether the received vehicle body tilt angle is within the predetermined reasonable tilt angle range value or not may be regarded as a status result of determining the vehicle body tilt angle according to the preset status threshold value of the vehicle body tilt angle.
Obtaining threshold data predetermined for the characteristic parameter in the case that the collected data is type data characterized as the characteristic parameter of the battery; comparing the data characterized as the characteristic parameter of the battery with threshold data predetermined for the characteristic parameter to obtain a comparison result; selecting audio data corresponding to the state type and the comparison result from preset audio data as first target audio data; and sending the first target audio data playing instruction, wherein the first target audio data at least represents audio data of whether a battery of the riding device can ensure safe riding of the rider. In concrete implementation, the battery characteristic parameter is taken as the battery temperature, and the temperature sensor detects the battery temperature in real time in the process that a rider rides the riding device. The temperature sensor sends the detected battery temperature at a certain time to the microprocessor 302. The microprocessor 302 receives this data, knowing that it is data that is characteristic of the type of battery characteristic parameter, in particular the battery temperature. The microprocessor 302 compares the received battery temperature data to a predetermined maximum allowable battery temperature value. If the comparison result is that the battery temperature data is greater than the predetermined maximum temperature value, the microprocessor 302 selects audio prompt information (such as "battery temperature is too high, please confirm manually or please slow down") for prompting the current temperature of the battery of the rider from the Flash chip, and the microprocessor 302 sends an instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, and directly delivers the playing instruction to the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls the audio prompt information for prompting the current over-temperature of the battery of the rider from the Flash chip and delivers the audio prompt information to the playing device 104 to play. The situation of other parameters such as battery power characterized by battery characteristics is similar to the situation of the battery temperature referred to above, and the repetition of the situation is not repeated. When the microprocessor 302 compares that the current electric quantity of the battery is smaller than the predetermined value, the microprocessor 302 selects audio prompting information for prompting the residual electric quantity from the Flash chip, and the microprocessor 302 sends an instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, and directly delivers the playing instruction to the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls an audio prompt message for prompting the remaining power. For example, when the current power is less than a predetermined value, such as 20% of the total power of the battery, the "remaining power is less than 20%, please charge in time" is played. Under the condition that the current electric quantity is less than a preset value, such as 10% of the total electric quantity of the battery, the 'residual electric quantity is less than 10%, please charge as soon as possible, and danger may occur when the bicycle continues to ride' is played. The actual temperature condition and the residual capacity condition of the battery of the equipment of riding at present can be reminded to the passerby by the output scheme of aforementioned prompt message, has promoted the functional of the equipment of riding, has improved the experience of riding of user to the equipment of riding.
In the foregoing solution, the maximum speed value, the preset mileage value, the reasonable inclination angle range value, and the threshold data (such as the maximum temperature value and the preset value of the electric quantity) predetermined for the battery parameter are all set according to the actual performance of the riding device and the actual use requirement of the user. These values may be specific values or may be range values, and are not particularly limited.
The analysis of the processing device 102 will be described below by taking the types of the collected data as weight information and road surface inclination angle as examples. The rider steps on the riding device, and a weighing scale on the riding device collects the weight information of the rider and sends the weight information to the processing device 102. The processing device 102 receives the data sensed by the scale, and the processing device 102 interprets the data as being of a type that is indicative of the weight of the rider. If the riding device is a child riding device such as a child balance car, and the maximum bearable weight of the riding device is assumed to be 50kg, the processing device 102 compares the received weight data with the maximum bearable weight (50kg), and if the weight data is greater than the maximum bearable weight, selects audio data corresponding to the comparison result and the collected data of the state type from the Flash chip, and the microprocessor 302 sends an instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, and directly sends the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls an audio prompt message (such as "heavy weight, please ride cautiously") for prompting the rider not to be a child from the Flash chip and plays the audio prompt message. The angle sensor collects the inclination angle of the road surface, the processing device 102 receives the data collected by the angle sensor and analyzes the data into the type of data representing the flatness of the riding road surface. The processing device 102 compares the magnitude relationship between the received data and the preset angle. If the comparison shows that the road surface inclination angle is larger than the preset angle, the audio data corresponding to the comparison result and the collected data of the state type are selected from the Flash chip, and the microprocessor 302 sends an instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playing instruction, and directly sends the playing instruction to the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls audio prompting information (such as "uneven road surface, please carefully ride") for prompting the rider to ride uneven road surface from the Flash chip and plays the audio prompting information. So, ride the road surface through the suggestion and be uneven, ride passerby whether for the people that allows to ride, can guarantee to ride passerby's the safety of riding, avoid riding passerby and appear accidental tumble injury collision etc..
In the foregoing solution, the processing device 102 of the riding device determines, for data acquired by each acquisition device 101 in the riding process, audio prompt information to be played according to the state type of the acquired data and a state (comparison) result obtained by comparing the acquired data of this type with corresponding state threshold data, and instructs the audio processing device 103 to control the playing device 104 to play the audio prompt information to be played, so as to generate a prompt for a rider, and prompt what kind of problems currently occur in the riding device, such as an excessively high temperature of a battery, an excessively high riding speed, and the like, so as to implement safe riding.
It can be understood that riding the passerby and riding the equipment and go on under the condition that the equipment of riding has opened, this application embodiment except can carrying out the safety prompt to riding the passerby in the in-process of riding, can also carry out the teaching of the process of riding to beginner or non-beginner but the user who has forgotten how to ride correctly. The teaching process is shown in fig. 4.
S501: obtaining a first instruction, wherein the first instruction is used for requesting audio guidance data for guiding a rider to correctly ride a riding device, and the audio guidance data comprises at least one of guiding the rider to get on a bicycle, get off the bicycle, turn, advance and retreat;
in the embodiment of the present application, the riding device may be provided with a function key for instructing a rider to correctly ride the riding device, and the processing device 102 detects that a user operates the function key, such as clicking, pressing, sliding, and the like, to generate the first instruction. The functional keys can be physical keys or virtual keys, can be multiplexed with the existing keys, and can also be additionally arranged without being limited too much. In addition, the riding device can also receive a first instruction sent by a terminal of a rider, such as a mobile phone. The terminal is installed and is used for carrying out the App of controlling the equipment of riding, rides passerby and operates the equipment of riding through the App, and the terminal detects that the condition that the equipment of riding that expects that passerby produced carries out audio frequency guide's operation to the process of riding, generates first instruction to send processing apparatus 102 of the equipment of riding, and processing apparatus 102 receives first instruction. It can be understood that the embodiment of the present application stores in advance data on how to teach a rider to get on, off, turn, go forward and go backward, and such data is considered to be audio guidance data for guiding the rider to get on, off, turn, go forward and go backward correctly.
S502: responding to a first instruction, calling at least one group of audio guide data in preset audio data, wherein each audio guide data in the at least one group of audio guide data corresponds to each behavior generated in the riding process;
the audio guidance data may be regarded as voice data for guiding the rider to ride correctly, such as subsequent voice teaching data. Wherein the behavior generated during riding comprises at least one of getting on, getting off, turning, advancing and backing.
S503: and sending a playing instruction of the audio guidance data.
The main body for executing S501 to S503 is the processing device 102. In the case where the microprocessor 302 obtains the first instruction, the audio guidance data is selected from the Flash chip in response to the first instruction. The microprocessor 302 sends an instruction to the audio processing device 103 to play this audio data. The audio processing device 103 receives the playing instruction, and directly sends the audio data selected by the microprocessor 302 to the playing device 104 to play, or reads/calls audio data for guiding the rider to get on, get off, turn, go forward and/or go backward from the Flash chip, and plays the audio data through the playing device 104, so as to realize correct guidance for getting on, getting off, turning, going forward and going backward and other behaviors of the rider. Therefore, the riding equipment can also realize the teaching of the riding process through the played audio guidance data. The functional diversity of equipment of riding has been embodied. It is understood that the audio guidance data for the entire riding process such as getting on, getting off, turning, advancing, and backing can be directly played based on the first command. The first instruction may also carry audio guidance data that requests which behavior to guide, such as a request to play only audio guidance data for how to guide the rider to get on the vehicle or only audio guidance data for how to guide the rider to go forward. This is not particularly limited. If the riding device can be provided with a function key for guiding a rider to get on the riding device, the processing device 102 generates a first instruction or receives an instruction sent by a mobile phone to request the rider to get on the riding device when the operation on the function key is detected, calls audio guide data for guiding the rider to get on the riding device in Flash, and sends a playing instruction to the audio processing device 103, and the audio processing device 103 plays the data through the playing device 104.
It can be understood that the Flash chip in the embodiment of the present application stores not only audio data for prompting information such as excessive battery temperature, low battery level, excessive vehicle speed, etc., but also audio guidance data for instructing a rider how to get on or off the vehicle correctly, turn, advance, and retreat. In the embodiment of the present application, if getting on, getting off, turning, advancing, and backing are each regarded as one riding behavior, a set of audio guidance data is used to guide one behavior. I.e. the audio data used to guide each action is considered as a set of audio guidance data. The Flash chip stores a large amount of data, and in order to facilitate reading/calling of the stored data, audio data for prompting information such as overhigh battery temperature, low electric quantity, overspeed of vehicle speed and the like and audio guidance data at least for guiding or indicating a rider to ride correctly can be stored separately, such as in different storage spaces.
In an alternative, after the playing device 104 plays the audio guidance data, the processing device 102 obtains the status data; determining execution behavior information generated under the state data according to the state type of the state data and the state result; selecting second target audio data matched with the execution behavior information from preset audio data according to preset execution behavior standard information corresponding to the audio guidance data; and sending a playing instruction of the second target audio data, wherein the second target audio data is characterized by audio guide information for guiding the rider to ride correctly according to the current execution behavior information. In particular implementation, the execution behavior standard information and the audio guidance data need to be correspondingly stored. Taking the upper vehicle as an example, the behavior standard information is set as "the left and right feet step in sequence, the legs do not touch the leg lever", and the corresponding audio data guiding the upper vehicle is "the left foot step in the first, the right foot step in the second, and the legs do not touch the leg lever". In the case of riding, the behavior standard information is set as "body center of gravity is kept in the middle", and the audio data for guiding riding such as "feet stand in the middle of the pedal, neither front nor back". So as to determine whether the execution behaviors of the rider, such as the riding or riding behaviors, are standard or normative, and if not, the audio guide data can be called for rebooting. After audio guidance data guiding the rider how to go forward is played, the hall sensor detects the rotation speed of the motor of the riding device in real time and sends the detected motor rotation speed to the microprocessor 302. The microprocessor 302 receives the motor rotation speed data transmitted by the hall sensor, knows that the data is type data representing riding speed, estimates the riding speed according to the rotation speed of the motor, compares the estimated riding speed with the maximum speed value allowed to be ridden, and determines the comparison result (the comparison result is regarded as a state result determined according to a preset state threshold value and representing the riding speed). Assuming that the estimated riding speed is greater than or equal to the maximum speed value allowed to be ridden as a result of the comparison, the processing device 102 regards the execution behavior of the rider at the riding speed, such as the non-standard riding behavior, as the center of gravity of the body during riding is kept good according to the execution behavior standard information set for the forward riding guide data, selects audio data which is not standard with the riding behavior, such as "stand with feet in the middle of the pedals and do not lean on front nor back", from Flash, and the microprocessor 302 sends an instruction to play the audio data to the audio processing device 103. The audio processing device 103 receives the playing command and directly delivers the playing command to the playing device 104 to play the audio data selected by the microprocessor 302. To prompt the irregularity of the rider's body station through audio playback and to guide the rider to stand correctly through audio again. Or, if the change of the weight of the feet of the rider on the pedal is found out by the processing device 102 through the change of the weight, if the change of the weight is found out, the execution behavior of the rider is considered to be irregular as the getting-on behavior, for example, the rider simultaneously steps on the pedal of the riding device through the feet, according to the execution behavior standard information set for the getting-on riding guide data, the audio data corresponding to the irregular getting-on behavior is selected from Flash, namely that the left pedal is firstly stepped on the left pedal, the right pedal is secondly stepped on the right pedal, the legs do not touch the leg control lever, and the microprocessor 302 sends an instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playing command and directly delivers the playing command to the playing device 104 to play the audio data selected by the microprocessor 302. According to the scheme, the audio prompt can be carried out under the condition that the rider generates irregular riding behaviors to riding equipment, the audio guide data capable of guiding the rider to ride correctly can be played again, so that the correct riding of the rider is guaranteed, and the personal safety of the rider is guaranteed.
In an alternative scheme, the processing device 102 may obtain a power-on instruction, where the power-on instruction is used to power on the riding apparatus; responding to the starting instruction, starting the riding equipment, and calling at least one group of audio prompt data in preset audio data; and sending the audio prompt data playing instruction, wherein the audio prompt data is used for prompting the items noticed by the rider in the riding process of the riding device. In this alternative, the riding device may be provided with a function key for starting the riding device, and the processing device 102 detects that the user operates the function key, such as clicking, pressing, sliding, and the like, to generate the starting instruction. The functional keys can be physical keys or virtual keys, can be multiplexed with the existing keys, and can also be additionally arranged without being limited too much. In addition, the riding device can also receive a starting instruction sent by a terminal of a rider, such as a mobile phone. The terminal is installed with the App that is used for controlling the equipment of riding, rides passerby and operates the equipment of riding through the App, and the terminal detects and carries out the power on operation's the equipment of riding under the circumstances, generates first instruction to send first instruction to the processing apparatus 102 of the equipment of riding. The starting instruction can be a first starting instruction or a non-first starting instruction, but a user expects the riding device to perform audio guidance on the riding process, after the first instruction is obtained, the riding device is started in response to the starting instruction, at least one group of audio prompt data is called from the Flash chip, and the audio prompt data is used for prompting the attention of a rider in the riding process of the riding device; the microprocessor 302 sends an instruction to the audio processing device 103 to play this audio data. The audio processing device 103 receives the playing instruction, and directly delivers to the playing device 104 to play the audio data selected by the microprocessor 302, or reads/calls at least one set of audio prompt data from the Flash chip and plays the audio prompt data. Audio data for prompting a rider to pay attention during riding the riding device such as "please wear a helmet before riding", "please not ride in the rainy or snowy weather", "please not ride on a road", and the like. The points which need to be noticed by the rider are prompted through audio playing, so that the interestingness and the humanization of riding equipment can be increased. It is understood that the audio data for prompting the attention of the rider during riding can be stored in the Flash chip. The audio processing device 103 may read/call the audio of one note, or may read/call multiple notes, and the number of the audio that can be read/called each time may be preset. After the audio of the notice is played, the steps S201 to S205 can be executed to ensure the riding safety of the rider through the playing prompt of the audio of the notice and the audio prompt during riding.
The following describes in detail the process of implementing riding teaching through the interaction between the mobile phone and the riding device.
In order to increase the interest, when the riding device, specifically the microprocessor 302, detects the power-on operation, the riding device automatically reads/calls audio data such as "initially meet, please take a lot of attention" and "serve you with great pleasure" from the Flash chip, and sends an instruction to play the audio data to the audio processing device 103. The audio processing device 103 receives the playback instruction and directly delivers the playback instruction to the playback device 104 for playback. Each piece of audio data can be played once or multiple times. In consideration of humanization of playing, each playing is in units of seconds, and circular playing can be performed.
Firstly, the mobile phone downloads and installs the riding device APP, and executes a pairing process. The mobile phone and the riding device both start the Bluetooth function. The mobile phone utilizes the Bluetooth function of the mobile phone to search nearby Bluetooth devices, when the riding device is searched, a user operates a connection interface presented by the mobile phone App, the user expects to carry out Bluetooth connection with the searched riding device, the mobile phone sends a request for carrying out Bluetooth connection to the riding device, specifically to the microprocessor 302, the microprocessor 302 receives the request, and the riding device and the microprocessor 302 carry out Bluetooth connection. Fig. 5 is a schematic diagram of a bluetooth pairing interface of an App provided in the embodiment of the present application. When the riding device, specifically the microprocessor 302, receives an instruction requesting bluetooth connection sent by the mobile phone, the microprocessor 302 reads audio prompt information corresponding to the instruction from the Flash chip, such as "please pair" and sends an instruction to play the audio data to the audio processing device 103. The audio processing device 103 receives the playback instruction and directly delivers the playback instruction to the playback device 104 for playback. In the case where the microprocessor 302 detects that the pairing is successful, audio data for prompting that the pairing is successful, such as "pairing has been successful", is read from the Flash chip, and an instruction to play this audio data is sent to the audio processing apparatus 103. The audio processing device 103 receives the playback instruction and directly delivers the playback instruction to the playback device 104 for playback. After pairing is successful, the mobile phone App enters an activation interface as shown in fig. 6, and activation is successful under the condition that the user inputs a user name and a password. The mobile phone sends an activation success instruction to the riding device, specifically the microprocessor 302 receives the instruction, reads the audio for prompting the user to activate successfully from the Flash chip, such as "riding device activation succeeds", and sends an instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playback instruction and directly delivers the playback instruction to the playback device 104 for playback.
Next, the mobile phone App enters the driving guide interface (as shown in fig. 7). The mobile phone sends an instruction entering the driving instruction interface to the riding device. The riding device, specifically the microprocessor 302, receives the instruction, reads audio for reminding the user to listen to the driving/riding guide such as "please listen to the riding guide on App next time" from the Flash chip, and sends an instruction to play this audio data to the audio processing apparatus 103. The audio processing device 103 receives the playback instruction and directly delivers the playback instruction to the playback device 104 for playback. It is understood that the audio playback is to prompt the user to listen to the riding teaching voice data to be played next.
Next, the mobile phone App enters the riding teaching interface. The riding teaching interface comprises a plurality of parts of getting-on teaching, turning teaching, advancing teaching, retreating teaching, getting-off teaching and riding equipment teaching in lifting and putting down. The several parts can be performed in sequence, and the presentation of part of the teaching interface can be performed according to the preset. The following description will be made by taking the sequential teaching as an example.
When the mobile phone enters the getting-on teaching interface (as shown in fig. 8), the mobile phone sends an instruction to the riding device. The riding device, specifically the microprocessor 302, receives the instruction, reads the audio corresponding to the instruction from Flash, such as "please observe the direction on the pedal, get on the vehicle from the tail of the vehicle, do not touch the leg lever, get ready to start the bar", and sends an instruction to play the audio data to the audio processing device 103. The audio processing device 103 receives the playback instruction and delivers the instruction to the playback device 104 for playback. The user starts getting on the car according to the voice prompt. The cycling apparatus, and in particular the microprocessor 302, detects whether a person is standing on the pedal. If the pedal is deformed, the person standing on the pedal can be considered. If a mechanism provided in the riding device is detected to be in contact with the pedal, an electric signal is generated, and the person standing on the pedal is considered to be in the case of detecting the generation of the electric signal. In the case where there is no standing person on the step, the mechanism does not contact the step, and naturally does not generate an electric signal. It will be appreciated that the foregoing structure may be based on physical contact or non-contact of the structure with the pedal to detect whether a person is standing. Furthermore, the structure for detecting whether a person is standing may be any other reasonable structure such as an optoelectronic structure. Whether the person stands can be detected based on the difference of the received light quantity of the photoelectric structure between the person standing and the person not standing, and for the specific process, please refer to the related description for details. When the riding device detects a standing person, corresponding audio such as an audio prompt of "please relax both legs and keep balance for 5 seconds" is read from Flash, and an instruction for playing the audio data is sent to the audio processing device 103. The audio processing device 103 receives the playback instruction and delivers the instruction to the playback device 104 for playback. The microprocessor 302 times the time of the audio prompt after playing, and after a few seconds, reads the corresponding audio from Flash, for example, "you know the basic balance skill, please click the next step to practice turning" to make the playing device 104 play.
And under the condition that the mobile phone detects the operation of a 'next' key of the user, the App enters a turning teaching interface from the getting-on teaching interface (as shown in figure 9). The mobile phone sends an instruction of entering a turning teaching interface to the riding device. The riding device, specifically the microprocessor 302, receives the instruction, reads the audio corresponding to the instruction from Flash, for example, "turn around with the leg lightly leaning on the leg pad, please turn around each of the left and right sides", and sends the instruction for playing the audio data to the audio processing device 103. The audio processing device 103 receives the playback instruction and delivers the instruction to the playback device 104 for playback. The user follows this voice prompt to begin the turn-around exercise. The cycling device, specifically the microprocessor 302, can detect whether the user is steering left or right through the gyroscope. For a specific detection process, please refer to the related description, which is not repeated. When the riding device detects that the user turns left and right, audio prompt data such as 'turn exercise is completed and please go to the next step forward exercise' is read from Flash, a playing instruction is sent to the audio processing device 103, and the audio processing device 103 is sent to the playing device 104 for playing.
The mobile phone detects that the App enters the forward and backward teaching interfaces from the turning teaching interface (as shown in figure 10). The mobile phone sends an instruction of entering the forward teaching interface to the riding device. The riding device, specifically the microprocessor 302, receives the instruction, reads the audio corresponding to the instruction from Flash, such as "moving the body gravity center slowly to control the vehicle to move forward and stop," try to lean the body forward slowly, ride 10 meters forward, "and sends a playing instruction to the audio processing device 103, and the audio processing device 103 hands over to the playing device 104 to play the audio as above. The user follows this voice prompt to begin leaning forward and riding forward. After the riding device, specifically the microprocessor 302, waits for a period of time, for example, 30s, the audio prompting data such as "forward exercise is completed and please go to next backward exercise" is read from Flash, a playing instruction is sent to the audio processing device 103, and the audio processing device 103 delivers the playing device 104 to play the audio. In the process of back-moving exercise, the microprocessor 302 reads the audio corresponding to the instruction from Flash, for example, "slowly move the body center of gravity to control the back-moving and stopping of the vehicle," try to slowly back-move the body, and ride 2 meters backwards ", and the audio processing device 103 receives the playing instruction of the microprocessor 302 and then transfers the playing instruction to the playing device 104 to play the data. After the riding device, specifically the microprocessor 302, waits for a period of time, for example, 30s, the audio prompt data such as "forward exercise is completed and please enter next step get-off exercise" is read from Flash, a playing instruction is sent to the audio processing device 103, and the audio processing device 103 delivers the playing device 104 to play the audio.
And detecting that the App enters the getting-off teaching interface from the forward and backward teaching interfaces at the mobile phone. The mobile phone sends an instruction of entering the getting-off teaching interface to the riding device. The riding device, specifically the microprocessor 302, receives the instruction, reads the audio corresponding to the instruction from Flash, for example, "please get off from behind after the vehicle stops stably, and pay attention to not touching the leg lever", and sends a playing instruction to the audio processing device 103, and the audio processing device 103 delivers the playing device 104 to play the audio. When the riding equipment detects that no person stands on the pedal, 103 reads the audio corresponding to the instruction from Flash, such as audio prompt data of 'getting off exercise is completed, please go to the next step of carrying up and putting down the riding equipment exercise'. The audio processing device 103 receives the play instruction from the microprocessor 302 and sends the play instruction to the play device 104 to play the data.
When the mobile phone detects that the App enters the teaching interface for lifting up and putting down the riding device from the getting-off teaching interface (as shown in fig. 11). The mobile phone sends instructions entering a teaching interface for lifting up and putting down the riding equipment to the riding equipment. The riding device, specifically the microprocessor 302, receives the instruction, reads the audio corresponding to the instruction from Flash, and if the audio is not required to be shut down when encountering an obstacle, the riding device can be lifted to pass through by grasping the leg control lever, and the audio processing device 103 receives the playing instruction of the microprocessor 302 and then transfers the playing instruction to the playing device 104 to play the data, so as to remind the user how to avoid the obstacle in the riding process.
The riding teaching of the user can be carried out through the corresponding audio data by the riding equipment, and the use experience is greatly improved. The bicycle is particularly suitable for the people who learn slowly, such as beginners, children, old people and the like, and can meet the riding guidance of different age groups.
The prompt information in the interaction process of utilizing the mobile phone App and the riding device can be played only through audio. In addition, in order to increase the interest, the video can be used for teaching riding. The audio data can be used for prompting, and the video teaching course can be used for teaching guidance. Such as a 6 minute, 19 second video tutorial session played in fig. 7-11. In the course of playing audio or video teaching courses, different animations can be presented corresponding to different teaching interfaces for increasing interestingness. For example, in the steering teaching exercise, the left and right steering degrees in fig. 9 can be changed according to the actual steering degrees of the user, and when the user returns to the original place, the left and right steering degrees in the figure are hidden. As shown in the lifting and lowering pictures of fig. 11, in the case where the user lifts the riding apparatus, the lower left side in fig. 11 indicates that the lifted arrow jumps upward, and in the case where the user lowers the riding apparatus, the lower right side in fig. 11 indicates that the lowered arrow jumps downward. The interface is presented in an animation mode, so that interestingness can be greatly improved. As shown in fig. 10, the riding mileage visible to the riding device is sent to the mobile phone, and the current riding mileage data is displayed on the mobile phone App, so that the use experience of the user on the mobile phone can be greatly improved. In the backward teaching process, the number of backward meters is also displayed on the teaching interface of the App, as shown in fig. 10, 5 meters is the number of current backward meters, and the maximum backward distance can be 11 meters. The current number of receding meters is represented by the color change of the progress bar, as shown in fig. 10, when receding to 5 meters, the portions of the progress bar representing 5 meters ahead are all displayed as black, and the rest is displayed as white. After the above teaching, the user can know how to perform the correct riding. The riding device is ridden, in the riding process, various types of sensors are used for collecting collected data, and corresponding audio prompt data are read/called based on the types of the collected data and the analysis results of the collected data, so that the safe riding of a rider is guaranteed. After the subsequent each time of starting the riding device, specifically the microprocessor 302 selects, reads or calls audio data such as "please wear the helmet before riding", "please do not ride in the rainy or snowy weather", "please do not ride on the road" and the like from Flash for prompting the attention of the rider in the process of riding the riding device, sends a playing instruction to the audio processing device 103, and the audio processing device 103 receives the playing instruction of the microprocessor 302 and then delivers the playing instruction to the playing device 104 for playing the data. To remind the user of the attention required. Then, the collected data are collected, and corresponding audio prompt data are read/called based on the type of the collected data and the analysis result of the collected data, so that safe riding of a rider is guaranteed.
In the embodiment of the application, in the teaching process, the user only needs to listen to the teaching voice without watching the video of the mobile phone App, so that the danger in the learning process can be avoided. After the teaching is completed, if no special requirement exists, the subsequent riding equipment directly enters the riding stage, and no teaching prompt voice exists. In the riding process, a riding kid-chariot plays such as "wear a helmet before riding", "please do not ride in the rainy or snowy weather", "please do not ride on a road" and the like, and reminds the user of the matters to be noticed in the using process at any time. The riding mileage of the riding equipment reaches different preset values, audio prompt can be carried out on the riding mileage reaching different mileage values, and the mileage data can be reminded. The reminding and alarming process can run through the whole using process of the riding device, and the whole-process monitoring is adopted to timely remind, so that the safety of riders is effectively protected. When the riding equipment has problems such as overhigh battery temperature and overspeed, the user can be clearly understood by reminding the user of corresponding information by matching with voice instead of a single reminding sound prompt such as a buzzing prompt, so that the user can adopt an effective processing mode to process. In the embodiment of the application, the playing effect of the audio data, such as a baby sound, a male treble and the like, which can be read or called can be preset according to the age, the model and the like of the user.
In the embodiment of the application, only one sound production/playing device 104 such as a multimedia loudspeaker is used, so that prompt voice can be played timely, and product expenditure is reduced. The teaching voice arranged in the riding device can guide the user to correctly use the riding device, and has certain educational significance. To the user who uses the equipment of riding for the first time, report through the teaching pronunciation, can make the user grasp the use to the equipment of riding as fast as possible. Through the teaching voice, the attention items in use of the user can be effectively reminded. Through the playing of the prompt voice, the user can clearly understand the expressed prompt meaning, and the man-machine interaction can be improved to a certain extent. It is understood that the riding device in the embodiment of the present application may be a riding device provided by riders of specific ages, such as a child balance car, an elderly balance car, a middle-aged and young balance car, and may also be a balance car that can be used by riders of all ages, which is not particularly limited.
An embodiment of the present application further provides a voice control apparatus, and the apparatus includes: an obtaining unit 131, a determining unit 132, an obtaining unit 133, a selecting unit 134, and a sending unit 135; wherein the content of the first and second substances,
the obtaining unit 131 is used for obtaining state data generated by the riding device in the riding process;
a determining unit 132 for determining a status type of the status data;
a determining unit 133, configured to obtain a preset state threshold corresponding to the state type, and determine a state result of the state data according to the preset state threshold;
a selecting unit 134 for selecting first target audio data matching the status type and the status result among predetermined audio data;
the sending unit 135 is configured to send the first target audio data playing instruction, where the first target audio data represents the safe riding audio prompt information of the riding device under the state data.
In an optional aspect, the determining unit 133 is further configured to: obtaining a first instruction, wherein the first instruction is used for indicating or guiding a rider to correctly ride the riding device;
the selecting unit 134 is configured to respond to the first instruction, and invoke at least one set of audio guidance data in the predetermined audio data, where each audio guidance data in the at least one set of audio guidance data corresponds to each behavior generated in the riding process;
a sending unit 135, configured to send the audio guidance data playing instruction, where the audio guidance data is used to guide a rider to correctly perform a behavior instructed or guided by the audio guidance data; wherein the behavior generated during riding comprises at least one of getting on, getting off, turning, advancing and backing.
In an optional aspect, the determining unit 133 is further configured to: obtaining a starting-up instruction, wherein the starting-up instruction is used for starting up the riding equipment;
the selecting unit 134 is configured to respond to the power-on instruction, power on the riding device, and call at least one set of audio prompt data in predetermined audio data;
a sending unit 135, configured to send the audio prompt data playing instruction, where the audio prompt data is used to prompt a rider about matters noticed in the riding process of the riding device.
In an optional aspect, the determining unit 133 is further configured to: determining execution behavior information generated under the state data according to the state type of the state data and the state result;
a selecting unit 134 configured to select second target audio data that matches the execution behavior information from predetermined audio data;
a sending unit 135, configured to send the second target audio data, where the second target audio data represents safe riding audio prompt information of the riding device under the state data and/or audio guidance data for guiding a rider to ride correctly.
In an alternative, in the case that the state data is data of a state type characterized by a riding speed, the determining unit 133 is further configured to obtain a maximum speed value allowing riding; a selecting unit 134, configured to compare the state data representing the riding speed with the maximum speed value to obtain a first comparison result; selecting audio data corresponding to data of a state type characterized as a riding speed and the first comparison result from predetermined audio data as first target audio data; the sending unit 135 is configured to send a selected first target audio data playing instruction, where the first target audio data is characterized in that whether the riding device can ride safely at the riding speed;
in the case where the status data is data of a status type characterized as a cycling mileage,
the determining unit 133 is further configured to obtain a preset mileage value; the selecting unit 134 is configured to compare the data representing the cycling mileage with the preset mileage value to obtain a second comparison result; selecting audio data corresponding to the data of the state type characterized as the cycling mileage and the second comparison result from the preset audio data as first target audio data; and the sending unit 135 is configured to send the selected first target audio data playing instruction, where the first target audio data is characterized in that whether the riding device can safely ride under the riding mileage.
In the case where the state data is characterized as a ride speed,
a determining unit 133, further configured to obtain a riding direction of the riding device at the riding speed;
a selecting unit 134 for selecting target audio data matching with the data of the state type characterized as the riding speed, the first comparison result and the riding direction among predetermined audio data;
a sending unit 135, configured to send a selected target audio data playing instruction, where the selected target audio data is audio prompt information for prompting whether the riding device can perform safe riding at the riding speed in the riding direction.
In the case where the state data is data of a state type characterized as a battery characteristic parameter, the battery characteristic parameter is at least one of an electric quantity, a temperature, a current, a voltage, and a power of the battery;
a determination unit 133 further configured to obtain threshold data predetermined for the characteristic parameter;
a selection unit 134 for comparing the data characterizing the battery characteristic parameter with threshold data predetermined for the characteristic parameter to obtain a comparison result; selecting audio data corresponding to the state type and the comparison result from preset audio data as first target audio data;
a sending unit 135, configured to send the first target audio data playing instruction, where the first target audio data is at least represented by audio data of whether a battery of the riding device can guarantee safe riding of the rider.
In an alternative embodiment, the selecting unit 134 is configured to select the second target audio data matching the state type and the state result of the state data from the predetermined audio data;
a sending unit 135, configured to send a play instruction of the first target audio data and the second target audio data; the second target audio data represent audio prompt information indicating whether the riding equipment can safely ride under the state data of the state type; wherein the first target audio data and the second target audio data differ at least in a play sound effect when played sequentially or simultaneously.
The embodiment of the present application further provides a riding apparatus, which may be a balance car, a balance wheel, or the like, and at least includes the processing device 102 shown in fig. 1 or the microprocessor 302 shown in fig. 3; or, the riding device at least comprises the acquisition device 101, the processing device 102, the audio processing device 103 and the playing device 104 shown in fig. 1; or at least sensor 301, microprocessor 302, audio playback chip 303, Flash chip and speaker 304 as shown in fig. 3.
It should be noted that, in the riding device in the embodiment of the present application, because the principle of the device to solve the problem is similar to that of the aforementioned voice control method, both the implementation process and the implementation principle of the device can be described by referring to the implementation process and the implementation principle of the aforementioned method, and repeated descriptions are omitted.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is configured to, when executed by a processor, perform at least the steps of the method shown in any one of fig. 1 to 12. The computer readable storage medium may be specifically a memory. The memory may be a memory. It will be appreciated that the memory can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Synchronous Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous joint Dynamic Random Access Memory (SLDRAM, SyncLinkDynamic Random Access Memory), Direct Memory (DRmb Random Access Memory). The memories described in the embodiments of the present application are intended to comprise, without being limited to, these and any other suitable types of memory.
An embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor is configured to execute at least the steps of the method shown in any one of fig. 1 to 12 when executing the program. In an exemplary embodiment, the processor may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), FPGAs, general purpose processors, controllers, MCUs, microprocessors 302 (microprocessors), or other electronic components for performing the aforementioned voice control methods.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit. Those of ordinary skill in the art will understand that: the integrated unit described above in the present application may also be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code. The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments. Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict. The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A voice control method for a cycling apparatus, the method comprising:
obtaining the state of the riding device;
if the state is the riding state, obtaining state data of the riding equipment in the riding state and a state type to which the state data belongs;
comparing the state data with a corresponding preset state threshold value, and judging whether safe riding can be performed or not based on a comparison result, wherein the preset state threshold value corresponds to the state type;
under the condition that the bicycle cannot be ridden safely, selecting first target audio data matched with the state data and the state type from a preset audio database, and sending a playing instruction for calling and playing the first target audio data; the first target audio data is characterized as safe riding audio prompt information of the riding device.
2. The method of claim 1, further comprising:
obtaining a first instruction;
in response to the first instruction, at least one set of audio guidance data is called from a preset audio database, wherein each set of audio guidance data in the at least one set of audio guidance data corresponds to each line generated in the riding process in a one-to-one mode, and the at least one set of audio guidance data comprises one or more of the following items: guiding the rider to get on, get off, turn, advance or retreat; and
and sending a playing instruction of the at least one group of audio guide data, and calling and playing the at least one group of audio guide data, wherein the at least one group of audio guide data is used for guiding the rider to ride the riding device correctly.
3. The method of claim 1, further comprising:
obtaining a starting-up instruction, wherein the starting-up instruction is used for starting up the riding equipment;
selecting at least one set of first audio prompt data from a predetermined audio database;
and sending a playing instruction for calling and playing the at least one group of first audio prompt data, wherein the first audio prompt data is used for prompting the attention of the rider in the riding process.
4. The method according to claim 3, characterized in that if the status is that the riding device is powered on except for initial power on, the playing device is controlled to select at least one set of second audio prompt data in a preset audio database;
and sending a playing instruction for calling and playing the at least one group of second audio prompt data, wherein the second audio prompt data are used for prompting the items to be noticed by the rider in the process of riding the riding device.
5. The method of claim 1, further comprising:
determining execution behavior information of the rider according to the state data and the state type to which the state data belongs;
comparing the execution behavior information with preset execution behavior standard information;
and selecting second target audio data from a preset audio database according to the comparison result, and sending a playing instruction for calling and playing the second target audio data, wherein the second target audio data is characterized by correct riding audio prompt information of the riding equipment.
6. The method of claim 1, wherein the status types include ride speed, ride mileage; the state data comprises a numerical value of the riding speed and a numerical value of the riding mileage; the preset state threshold comprises a maximum speed value and a preset mileage value which are allowed to ride.
7. The method of claim 6, wherein comparing the status data to corresponding preset status thresholds and determining whether to safely ride based on the comparison comprises:
judging whether the numerical value of the riding speed is greater than the maximum speed value;
if yes, judging that the riding equipment cannot be safely ridden when ridden based on the riding speed;
if not, judging that the riding equipment can safely ride when riding based on the riding speed;
or
Judging whether the numerical value of the riding mileage is larger than the preset mileage value or not;
if yes, judging that the riding equipment cannot be safely ridden;
if not, judging that the riding equipment can ride safely.
8. The method of claim 1, further comprising:
obtaining the running direction of a motor in the riding equipment;
judging the riding direction of the riding equipment based on the running direction of a motor in the riding equipment;
and based on the riding direction of the riding equipment, selecting third target audio data matched with the riding direction from preset audio data, and sending a playing instruction for calling and playing the third target audio data matched with the riding direction, wherein the third target audio data is characterized by safe riding audio prompt information of the riding equipment.
9. The method of claim 1, wherein the status data is data characterized as battery characteristic parameters, wherein comparing the status data to corresponding preset status thresholds and determining whether to ride safely based on the comparison comprises:
judging whether the data of the battery characteristic parameters are larger than the preset threshold data of the battery characteristic parameters or not;
if yes, judging that the riding equipment cannot be safely ridden when the riding equipment is ridden based on the battery characteristic parameters;
otherwise, when the riding equipment is judged to be ridden based on the battery characteristic parameters, the riding equipment can be ridden safely.
10. The method of claim 9, wherein the battery characteristic parameter comprises at least one of charge, temperature, current, voltage, and power of the battery.
11. The method of claim 1, 4 or 7, wherein the first target audio data, the second target audio data or the third target audio data respectively comprise audio data of at least two sound effects, the method further comprising: and sequentially playing or simultaneously playing the audio data of the at least two sound effects.
12. A voice control device for a riding device, comprising:
an obtaining unit configured to obtain a state of the riding apparatus;
the determining unit is used for determining the state data of the riding equipment in the riding state and the state type of the state data;
the acquiring unit is used for acquiring a preset state threshold corresponding to the state type and comparing the state data with the corresponding preset state threshold;
a selection unit that selects first target audio data that matches the state data and the state type from a predetermined audio database in a case where it is determined based on the comparison result that safe riding is not possible;
and the sending unit is used for sending the first target audio data playing instruction, and the first target audio data is characterized by the safe riding audio prompt information of the riding equipment.
13. A computer storage medium on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 11.
14. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor performs the implementation of the method according to any one of claims 1 to 11 when executing the program.
CN202010604977.XA 2020-05-12 2020-05-12 Voice control method, related device and storage medium Pending CN111696226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010604977.XA CN111696226A (en) 2020-05-12 2020-05-12 Voice control method, related device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010399594.3A CN111696225A (en) 2020-05-12 2020-05-12 Voice control method, related device and storage medium
CN202010604977.XA CN111696226A (en) 2020-05-12 2020-05-12 Voice control method, related device and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010399594.3A Division CN111696225A (en) 2020-05-12 2020-05-12 Voice control method, related device and storage medium

Publications (1)

Publication Number Publication Date
CN111696226A true CN111696226A (en) 2020-09-22

Family

ID=72477713

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010604977.XA Pending CN111696226A (en) 2020-05-12 2020-05-12 Voice control method, related device and storage medium
CN202010399594.3A Pending CN111696225A (en) 2020-05-12 2020-05-12 Voice control method, related device and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010399594.3A Pending CN111696225A (en) 2020-05-12 2020-05-12 Voice control method, related device and storage medium

Country Status (1)

Country Link
CN (2) CN111696226A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105911997A (en) * 2016-06-17 2016-08-31 尚艳燕 Electric balance car control method and electric balance car control system
CN106005147A (en) * 2016-06-01 2016-10-12 北京小米移动软件有限公司 Balance car information display method and device and balance car
CN106504543A (en) * 2016-10-31 2017-03-15 珠海市魅族科技有限公司 A kind of control method of equipment of riding and device
CN206528562U (en) * 2016-11-07 2017-09-29 广西师范大学 A kind of manned two wheeled electric balance car of intelligent prompt alarm
CN108045478A (en) * 2017-12-11 2018-05-18 北京骑骑智享科技发展有限公司 Prompting of riding determines method and device
CN110329405A (en) * 2019-05-21 2019-10-15 吉林体育学院 One kind is ridden management system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201117029Y (en) * 2007-04-27 2008-09-17 吴达仁 Electron intelligent theft-proof door
CN101770680B (en) * 2009-01-04 2012-06-13 深圳市赋安安全系统有限公司 Disaster detection alarming device and alarming method thereof
US9434431B2 (en) * 2013-11-11 2016-09-06 Lit Motors Corporation Intuitive drive-by-wire steering with redundant mechanical control
CN204801949U (en) * 2015-06-03 2015-11-25 付兴伟 Electrodynamic balance car mode and hypervelocity voice prompt system
CN105116817A (en) * 2015-06-26 2015-12-02 小米科技有限责任公司 Balance car management method and device
CN105404305B (en) * 2015-12-29 2018-12-18 小米科技有限责任公司 The control method and control device of balance car
CN106408682A (en) * 2016-06-24 2017-02-15 北京小米移动软件有限公司 A prompting method and a promoting device
CN106139563B (en) * 2016-07-15 2019-02-26 深圳市智慧交通有限公司 It is a kind of to correct the method and system ridden
CN205943034U (en) * 2016-08-17 2017-02-08 赵雨群 Wireless reminiscences of kitchen culinary art
CN206141384U (en) * 2016-09-12 2017-05-03 苏州纪宝儿童用品有限公司 Children's safety seat with temperature monitoring
CN108860417B (en) * 2018-05-21 2020-10-20 深圳乐行天下科技有限公司 Balance car sliding protection control method and device, balance car and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106005147A (en) * 2016-06-01 2016-10-12 北京小米移动软件有限公司 Balance car information display method and device and balance car
CN105911997A (en) * 2016-06-17 2016-08-31 尚艳燕 Electric balance car control method and electric balance car control system
CN106504543A (en) * 2016-10-31 2017-03-15 珠海市魅族科技有限公司 A kind of control method of equipment of riding and device
CN206528562U (en) * 2016-11-07 2017-09-29 广西师范大学 A kind of manned two wheeled electric balance car of intelligent prompt alarm
CN108045478A (en) * 2017-12-11 2018-05-18 北京骑骑智享科技发展有限公司 Prompting of riding determines method and device
CN110329405A (en) * 2019-05-21 2019-10-15 吉林体育学院 One kind is ridden management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
腾讯视频: "小米平衡车视频说明书:秒秒钟组装 分分钟上路!", 《HTTPS://V.QQ.COM/X/PAGE/I0194RTEJ05.HTML》 *

Also Published As

Publication number Publication date
CN111696225A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US7090619B2 (en) Two-wheeled vehicle simulation apparatus
US8145382B2 (en) Entertainment system including a vehicle
JP4422532B2 (en) Bicycle simulation equipment
CN101873881B (en) Game device, game control method, information recording medium, and program
CN107472252A (en) Driver during autonomous switching is competent at ability
US7988519B2 (en) Apparatus, method, and computer program product for toy vehicle
CN108499106B (en) Processing method and device for racing game prompt information
WO2008055009A2 (en) Instruction delivery methodology & plurality of smart, kinetic-interactive-devices (k.i.d.s)
GB2412606A (en) Bicycle simulation apparatus
JPH067873B2 (en) Training bicycle equipment
CN206688206U (en) A kind of virtual driving experience apparatus based on family car
US7809577B2 (en) Apparatus for simulating the operation of a vehicle
Kassim et al. Data analytics on interactive indoor cycling exercises with virtual reality video games
CN111696226A (en) Voice control method, related device and storage medium
US20210128401A1 (en) An exercise apparatus and method thereof
Andres et al. Exploring human: Ebike interaction to support rider autonomy
JP6267563B2 (en) Driving support device and driving support method
JP7331850B2 (en) Information processing device and information processing method
WO2017166700A1 (en) Treadmill lifting adjustment method and apparatus, and treadmill
JP2005352895A (en) Vehicle driver awakening system
JP7438575B2 (en) System and program
JP6941262B2 (en) Systems and programs
JP6575367B2 (en) Program and apparatus
JP2005225484A (en) Image display device for vehicle and vehicle equipped with it
JP2010061550A (en) Information providing service system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200922

RJ01 Rejection of invention patent application after publication