ELECTRONIC DEVICE AND METHOD FOR SIMULATING BASKETBALL GAMES USING THE SAME
First Claim
1. A method for simulating basketball games using an electronic device, the method comprising:
- storing original wave data groups of a plurality of standard basketball actions in a storage system of the electronic device;
naming each of the original wave data groups with a name of each of the plurality of standard basketball actions;
constructing a coordinate system based on a center of the electronic device, and setting a standard rate to determine if a basketball action is simulated correctly;
in response to simulating the basketball action by a user holding the electronic device, detecting movement data of the electronic device based on the coordinate system using an accelerometer of the electronic device;
converting the movement data into wave data;
determining a matched original wave data group in response to determining that a match rate of the converted wave data and the matched original wave data group is more than the standard rate;
determining a simulation result according to a difference between the converted wave data and the matched original wave data group; and
displaying a prompt message comprising a name of a standard basketball action corresponding to the matched original wave data group and the simulation result on a display of the electronic device.
1 Assignment
0 Petitions
Accused Products
Abstract
An electronic device and method for simulating basketball games includes storing original wave data groups of a plurality of standard basketball actions in a storage system, and constructing a coordinate system based on the electronic device. In response to simulating the basketball action by a user holding the electronic device, movement data of the electronic device is detected using an accelerometer. The movement data is converted into wave data to compare with the original wave data groups. In response to determining a matched original wave data group, a prompt message including a name of a standard basketball action corresponding to the matched original wave data group is displayed on a display of the electronic device.
5 Citations
18 Claims
-
1. A method for simulating basketball games using an electronic device, the method comprising:
-
storing original wave data groups of a plurality of standard basketball actions in a storage system of the electronic device; naming each of the original wave data groups with a name of each of the plurality of standard basketball actions; constructing a coordinate system based on a center of the electronic device, and setting a standard rate to determine if a basketball action is simulated correctly; in response to simulating the basketball action by a user holding the electronic device, detecting movement data of the electronic device based on the coordinate system using an accelerometer of the electronic device; converting the movement data into wave data; determining a matched original wave data group in response to determining that a match rate of the converted wave data and the matched original wave data group is more than the standard rate; determining a simulation result according to a difference between the converted wave data and the matched original wave data group; and displaying a prompt message comprising a name of a standard basketball action corresponding to the matched original wave data group and the simulation result on a display of the electronic device. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An electronic device, comprising:
-
a display; an accelerometer; a storage system to store original wave data groups of a plurality of standard basketball actions; at least one processor; and one or more programs stored in the storage system and being executable by the at least one processor, the one or more programs comprising; a setting module operable to name each of the original wave data groups with a name of each of the plurality of standard basketball actions, construct a coordinate system based on a center of the electronic device, and set a standard rate to determine if a basketball action is simulated correctly; a detection module operable to detect movement data of the electronic device based on the coordinate system using the accelerometer in response to simulating the basketball action by a user holding the electronic device; a conversion module operable to convert the movement data into wave data; a determination module operable to determine a matched original wave data group in response to determining that a match rate of the converted wave data and the matched original wave data group is more than the standard rate, and determine a simulation result according to a difference between the converted wave data and the matched original wave data group; and a prompt module operable to display a prompt message comprising a name of a standard basketball action corresponding to the matched original wave data group and the simulation result on the display. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A storage medium storing a set of instructions, the set of instructions capable of being executed by a processor to perform a method for simulating basketball games using an electronic device, the method comprising:
-
storing original wave data groups of a plurality of standard basketball actions in a storage system of the electronic device; naming each of the original wave data groups with a name of each of the plurality of standard basketball actions; constructing a coordinate system based on a center of the electronic device, and setting a standard rate to determine if a basketball action is simulated correctly; in response to simulating the basketball action by a user holding the electronic device, detecting movement data of the electronic device based on the coordinate system using an accelerometer of the electronic device; converting the movement data into wave data; determining a matched original wave data group in response to determining that a match rate of the converted wave data and the matched original wave data group is more than the standard rate; determining a simulation result according to a difference between the converted wave data and the matched original wave data group; and displaying a prompt message comprising a name of a standard basketball action corresponding to the matched original wave data group and the simulation result on a display of the electronic device. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification