WO2018036016A1 - Method for achieving exercising, client end and service end - Google Patents

Method for achieving exercising, client end and service end Download PDF

Info

Publication number
WO2018036016A1
WO2018036016A1 PCT/CN2016/107970 CN2016107970W WO2018036016A1 WO 2018036016 A1 WO2018036016 A1 WO 2018036016A1 CN 2016107970 W CN2016107970 W CN 2016107970W WO 2018036016 A1 WO2018036016 A1 WO 2018036016A1
Authority
WO
WIPO (PCT)
Prior art keywords
training
information
client
server
real
Prior art date
Application number
PCT/CN2016/107970
Other languages
French (fr)
Chinese (zh)
Inventor
王健
叶志远
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2018036016A1 publication Critical patent/WO2018036016A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Definitions

  • the present invention relates to the field of augmented reality technologies, and in particular, to an exercise implementation method, a client, and a server.
  • the human body interaction game is based on the application of a plurality of intelligent sensor information fusion such as a gravity acceleration sensor on a hardware device, an inertial sensor such as a gyroscope, and an electromagnetic sensor such as an electronic compass, so as to achieve the purpose of recognizing the motion track of the hardware device itself.
  • a plurality of intelligent sensor information fusion such as a gravity acceleration sensor on a hardware device, an inertial sensor such as a gyroscope, and an electromagnetic sensor such as an electronic compass, so as to achieve the purpose of recognizing the motion track of the hardware device itself.
  • the virtual game-playing practice is not performed on the user's real sports data, so as to enrich the user's exercise mode, improve the user's exercise mood, and bring a more realistic exercise experience to the user. .
  • the embodiment of the invention provides a training implementation method, a client and a server, which are used for changing a traditional exercise method, and the virtual training method is beneficial to increase the user's interest in exercising a single person, and also improves the user's interest.
  • the user's exercise enthusiasm makes the user's exercise effect improved.
  • the first aspect of the present invention provides a training implementation method, which may include:
  • the client obtains the training request information of the target-to-training project initiated by the user;
  • the client sends the training request information to the server, so that the server determines whether the preset training condition is met according to the training request information.
  • the client receives the training response information sent by the server;
  • the client starts the pairing function according to the training response information, and obtains real-time motion data of the target body part of the user collected by the smart wearable device, and the smart wearable device communicates with the client;
  • the client sends real-time motion data to the server;
  • the client receives the real-time training information fed back by the server according to the real-time motion data, and outputs the real-time training information in the target-pairing scenario, so that the user adjusts the real-time motion data according to the real-time training information.
  • the method before the client obtains the user-initiated training request information, the method further includes:
  • the client obtains the personal attribute information of the user, and sends the personal attribute information to the server;
  • the client receives the pairing group information fed back by the server, so that the user initiates the pairing request information according to the training group information;
  • the client obtains the custom pairing group information established by the user, so that the user initiates the training request information according to the customized group information.
  • real-time motion is performed on the client.
  • the method also includes:
  • the client sends the training scenario request information to the server;
  • the client receiving server selects information according to the training scenario sent by the training scenario request information, and outputs the training scenario selection information;
  • the client obtains the target pairing scenario according to the feedback of the training scene information.
  • the method After receiving the real-time training information of the real-time motion data feedback, and receiving the real-time training information in the target-pairing scenario, the method further includes:
  • the client receives the training result information fed back by the server;
  • the client outputs the result information of the training; and/or,
  • the client receives the training point information fed back by the server;
  • the client outputs the pairing point information.
  • a second aspect of the present invention provides a workout implementation method, which may include:
  • the server receives the training request information sent by the client;
  • the server determines whether the preset training conditions are met according to the training request information
  • the server sends the response information to the client;
  • the server receives real-time motion data sent by the client
  • the server calculates the real-time training information based on the real-time motion data, and feeds the real-time training information to the client.
  • the method before the server receives the training request information sent by the client, the method further includes:
  • the server receives the personal attribute information sent by the client;
  • the server establishes a target pairing group according to the personal attribute information, and feeds back the pairing group information corresponding to the target group to the client.
  • the server determines, according to the training request information, whether the preset training conditions are met:
  • the server determines whether the training request information includes a real object restriction condition
  • the server broadcasts the training request information in the target pairing group, and determines whether the number of responding pairs is greater than a preset threshold.
  • the method Before receiving the real-time motion data sent by the client, the method further includes:
  • the server receives the request information of the training scenario sent by the client;
  • the server sends the training scenario selection information to the client according to the training scenario request information.
  • any one of the first to third embodiments of the second aspect of the embodiment of the present invention, the fourth implementation of the second aspect of the embodiment of the present invention In the method, after the real-time training information is calculated by the server according to the real-time motion data, and the real-time training information is fed back to the client, the method further includes:
  • the server determines the training result information according to the real-time motion data and the first preset rule, and feeds back the training result information to the client; and/or,
  • the server determines the training point information according to the training result information and the second preset rule, and feeds back the training point information to the client.
  • the server Calculating real-time training information based on real-time motion data includes:
  • the server determines the motion speed and motion trajectory of the target body part by analyzing the real-time motion data
  • the server quantizes the motion speed and motion trajectory of the target body part according to the third preset rule, and obtains real-time training information.
  • a third aspect of the present invention provides a client, which may include:
  • the first obtaining module is configured to receive the training request information of the target-to-training item initiated by the user; the first sending module is configured to send the training request information to the server, so that the server determines whether the training request information is satisfied according to the training request information. Preset the training conditions;
  • the first receiving module is configured to receive the training response information sent by the server when the preset training condition is met;
  • the module is opened, and the function of the training is started according to the response information of the training;
  • a second acquiring module configured to acquire real-time motion data of a target body part of the user collected by the smart wearable device, where the smart wearable device is in communication connection with the client;
  • a second sending module configured to send real-time motion data to the server
  • a second receiving module configured to receive real-time training information fed back by the server according to real-time motion data
  • the first output module is configured to output real-time training information in the target pairing practice scene, so that the user adjusts the real-time motion data according to the real-time training information.
  • the client further includes:
  • a third obtaining module configured to obtain personal attribute information of the user
  • a third sending module configured to send personal attribute information to the server
  • the third receiving module is configured to receive the training group information fed back by the server, so that the user initiates the training request information according to the training group information;
  • the fourth obtaining module is configured to obtain the customized pairing group information established by the user, so that the user initiates the training request information according to the customized group information.
  • the client further includes:
  • a fourth sending module configured to send the racing scene request information to the server
  • a fourth receiving module configured to receive the training scenario selection information sent by the server according to the racing scene request information
  • a second output module configured to output a pair of training scene selection information
  • the fifth obtaining module is configured to acquire a target pairing scenario that the user feeds back according to the training scene information.
  • the client Also includes:
  • the fifth receiving module is configured to receive the training result information fed back by the server;
  • a third output module configured to output training result information
  • a sixth receiving module configured to receive the training point information fed back by the server
  • the fourth output module is configured to output the pairing point information.
  • a fourth aspect of the present invention provides a server, which may include:
  • the first receiving module is configured to receive the training request information sent by the client;
  • the determining module is configured to determine, according to the training request information, whether the preset training condition is met;
  • the first sending module is configured to send the training response information to the client when the preset training condition is met;
  • a second receiving module configured to receive real-time motion data sent by the client
  • the first feedback module is configured to feed back real-time training information to the client.
  • the server further includes:
  • a third receiving module configured to receive personal attribute information sent by the client
  • the second feedback module is configured to feed back the pairing group information corresponding to the target pairing group to the client.
  • the determining module includes:
  • a broadcast unit configured to broadcast the training request information in the target pairing group when the real object restriction condition is included;
  • the second determining unit is configured to determine whether the number of training participants is greater than a preset threshold.
  • the server Also includes:
  • the fourth receiving module is configured to receive the request information of the training scenario sent by the client;
  • the second sending module is configured to send the training scenario selection information to the client according to the training scenario request information.
  • the server also includes:
  • the first determining module is configured to determine the training result information according to the real-time motion data and the first preset rule
  • a third feedback module configured to feed feedback information to the client;
  • the second determining module is configured to determine the training point information according to the training result information and the second preset rule
  • the fourth feedback module is configured to feed back the training point information to the client.
  • the calculation module includes:
  • a determining unit configured to determine a moving speed and a motion trajectory of the target body part by analyzing the real-time motion data
  • the quantization unit is configured to quantize the motion speed and the motion trajectory of the target body part according to the third preset rule to obtain real-time training information.
  • the smart wearable device by performing the pairing function on the client, can be used to collect real-time motion data of the target body part of the user. After the real-time motion data is processed by the server, the real-time pair can be output in the target pairing scene.
  • Practice information so that users can understand their own training situation in real time through the client, and can adjust their real-time sports data in time to achieve better training effect.
  • interactive exercise through the client not only enhances the single-person exercise. The fun of the body, and can enhance the user's challenge of exercising, and thus provide users with a more interesting way of exercising in daily life.
  • FIG. 1 is a schematic diagram of an embodiment of an exercise implementation method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of another embodiment of an exercise implementation method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of another embodiment of an exercise implementation method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an embodiment of a client in an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of a client according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an embodiment of a server in an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of another embodiment of a server in an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a client according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of still another embodiment of a server according to an embodiment of the present invention.
  • the embodiment of the invention provides a training implementation method, a client and a server, which are used for changing a traditional exercise method, and the virtual training method is beneficial to increase the user's interest in exercising a single person, and also improves the user's interest.
  • the user's exercise enthusiasm makes the user's exercise effect improved.
  • the client described in the embodiment of the present invention may include any device having a display screen and communication and storage functions, such as a smart device such as a tablet computer, a mobile phone, a desktop computer, etc., and the client may be installed with the following operating systems: Android, Linux. , IOS, Windows, etc., the client can further install several applications based on the installed operating system, the application can be a system application pre-installed by the client before the factory, such as a mailbox application, a setting application, a music application, a browser application.
  • the camera application, etc. may also be a third-party application installed by the user, such as a QQ application, a WeChat application, an Alipay application, a Weibo application, and the like.
  • the client in the embodiment of the present invention may be equipped with a sports competitive application related to a sports item to implement the training in the embodiment of the present invention.
  • the application scenario of the practice in the embodiment of the present invention may be indoor or outdoor, as long as the single-person space enables the user to perform the exercise, which is not limited herein.
  • an embodiment of the method for implementing the exercise in the embodiment of the present invention includes:
  • the client obtains the training request information of the target-to-training project initiated by the user;
  • the user can register on the server side through the client to become the registered user of the sports competition application, and when the user wants to exercise, but one person exercises When it is boring, or not challenging, you can log in to the sports application on the client and can initiate a request for training.
  • the client can obtain the request information of the target-to-training project initiated by the user.
  • the sports competitive application in this embodiment may include various sports items, such as running, table tennis, badminton, tennis, boxing, and the like, and the target training item may be all sports items of the user in the sports competitive application. Any of them.
  • registered users can learn from each other, and the registered user can also challenge the virtual object in the sports competition application to achieve the purpose of exercising through training.
  • game application in this embodiment may also be installed on the client, such as the online training function through the webpage in the client, which is not limited herein.
  • the client sends the training request information to the server.
  • the client may send the training request information to the server.
  • the server determines whether the preset training condition is met according to the training request information, if not, executing step 104, and if yes, executing step 105;
  • the server may determine, according to the training request information, whether the preset training condition is met, that is, whether the user can use the sports competitive application to perform training, and the exercise has been achieved. the goal of.
  • the user can perform training with the real object through the sports competitive application, that is, other registered users in the sports competitive application, or can perform racing with the virtual object to satisfy Different users' training needs. If the user is limited to the real object in the training request information, the request of the respective registered users is inconsistent, and in the case of a conflict, the user may be unable to perform the training, and the server may perform the request according to the training.
  • the information judges whether the preset training condition is satisfied, and the preset training condition can be preset by the user, or the server can satisfy the minimum requirement of the practicing function as the preset training condition.
  • the server may output the selection information of the virtual object to the user through the client according to the training request information, so that the user You can do it by selecting a virtual object.
  • the server may not perform other operations, so that the user cannot perform the training through the client, that is, the process ends.
  • the server may send a request failure request information to the client, so that the client can perform corresponding reminding to the user.
  • the server sends the response information to the client.
  • the server determines that the preset training conditions are met according to the training request information, the user can perform the training through the client, and the server can send the response information to the client.
  • the client starts the training function according to the training response information, and acquires real-time motion data of the target body part of the user collected by the smart wearable device;
  • the client After receiving the response information sent by the server, the client can enable the pairing function and obtain real-time motion data of the target body part of the user collected by the smart wearable device, wherein the smart wearable device is in communication with the client.
  • the smart wearable device may be applied to various body parts of the user, such as an arm, such as a leg.
  • the specific type may include, but is not limited to, a smart wristband, etc., before the user starts to practice the smart wear device. That is, the client communicates with the client before the client opens the training function to facilitate data transmission. When the client opens the training function according to the response information, the user can be prompted to make the user ready for training, and the client can also send corresponding information to the smart wearable device to notify the smart wearable device to start. data collection.
  • the user can wear a smart bracelet, and the smart bracelet can be connected with the client through Bluetooth.
  • the client reminds the user to start the training, the user can proceed as usual.
  • the smart bracelet can collect real-time motion data of the user's arm.
  • the user since the user also performs leg movements during the movement of the badminton, such as jumping, such as running, in order to improve the user's real feeling, the user can also wear a smart wearing device that detects the movement of the foot.
  • the smart wearable device can also be connected to the client via Bluetooth to complete data transmission with the client. It should be noted that the smart wristband and the Bluetooth connection in this embodiment are only examples. In actual applications, data collection and data transmission may be performed in other manners, which is not limited herein.
  • the client may also calculate the energy consumed by the user according to the real-time motion data, and may prompt the user after the training ends.
  • the total energy consumed in the pair exercises to encourage the user to exercise actively and effectively.
  • the function of turning on the training means that the user starts to perform the training. After the description here, the description will not be repeated later.
  • the client sends real-time motion data to the server;
  • the real-time motion data can be sent to the server.
  • the server calculates real-time training information according to real-time motion data
  • the server After receiving the real-time motion data sent by the client, the server can calculate the real-time training information according to the real-time motion data.
  • the server can obtain real-time motion data of all the training objects, and the server can not only convert the corresponding real-time motion data into individual pairs of training objects in sports.
  • the motion state of the corresponding virtual character in the competitive application and the server can analyze and compare all the real-time motion data of the training object to obtain real-time training information.
  • the server may perform the conversion according to the motion data of the virtual object after acquiring the real-time motion data of the target body part of the user, so as to realize the real-time motion data of the user and the motion data of the virtual object. Compared with, get real-time training information.
  • the real badminton training in the actual badminton training can be determined by the real-time motion data of the target body part of the user received.
  • the trajectory at the same time, can determine whether the real object can be connected to the virtual badminton through the real-time motion data of the real object, thereby obtaining the real-time training information of the user, and can represent the motion information of the virtual badminton.
  • the server can record real-time racing information to determine the outcome of the car after the car is over.
  • the server will feedback the training information to the client in real time;
  • the real-time training information can be fed back to the client.
  • the client outputs real-time training information in the target-pairing scenario, so that the user adjusts the real-time motion data according to the real-time training information.
  • the client may output the real-time training information in the target training scenario, so that the user can adjust the real-time motion data according to the real-time training information.
  • the client after the client starts the pairing function, when the user performs a series of pairing exercises, the data transmission between the client and the server should be synchronized, so that the current state of motion of the user meets the target pairing practice.
  • the client can output the real-time pairing information of the user in the target pairing practice scene.
  • the client can output the real-time training information through multimedia or the like in a manner suitable for the sports item, so as to improve the user's visual experience, and the user can not only see the real-time training situation of the user, but also can see the pair of practicing opponents. Practice the situation, so that real-time motion data can be adjusted in time according to the real-time training information.
  • the user and the real object may have corresponding virtual characters A and B respectively, if the score of A at this time Behind B, then A can tumble B by changing the direction of movement of the arm, speed of movement, etc., in order to increase the score of the player, so that the user can exercise the body during the badminton training and enjoy the badminton. pleasure.
  • the user can bind the smart wearable device to the client, and can perform a pair of sports items with the real object or the virtual object when the client opens the training function, and the client is at the target.
  • the real-time real-time training situation can be feedback, so that even if the user exercises in the single-person space, the user can realize the fun of practicing with the real object or the virtual object, further enhancing the challenge of the user to exercise and enriching. The way the user exercised.
  • a pairing group may be established, so that the user may initiate the training request information in the training group, which is specifically described below:
  • another embodiment of the exercise implementation method in the embodiment of the present invention includes:
  • the client obtains personal attribute information of the user.
  • the user can register on the server through the client, become a registered user of the sports competitive application, and can further improve his personal attribute information, and the client can obtain
  • the user's personal attribute information is used to better implement the pairing function.
  • the personal attribute information may include information such as the sports item that the user is good at, the level of the corresponding sports item, the duration of the corresponding sports item, and the age of the user.
  • the client sends the personal attribute information to the server.
  • the client may send the personal attribute information to the server.
  • the server establishes a target pairing group according to the personal attribute information.
  • the server After receiving the personal attribute information sent by the client, the server may establish a target pairing group according to the personal attribute information.
  • the personal attribute information of each registered user may be inconsistent.
  • the user may be based on the sports item that the user is good at, the level of the corresponding sports item, the contact time of the corresponding sports item, and the age of the user.
  • the target pairing group for example, the sports competition application has five registered users A, B, C, D, and E.
  • the personal attribute information of the five registered users is shown in Table 1.
  • the embodiment only illustrates the specific manner in which the server establishes a target pairing group according to the personal attribute information.
  • the target pairing group may also be established according to other methods, such as a service.
  • the terminal can combine the two factors of the user's geographical location and the good project to establish a target pairing group.
  • the specific establishment method is not limited here.
  • the server may save the target pairing group, and when the user's personal attribute information is changed, the server may update the target pairing group, Assign users a more appropriate pairing group.
  • the server feeds back the pairing group information corresponding to the training group to the client.
  • the server may feed back the pairing group information corresponding to the target group to the client.
  • the group information may include, but is not limited to, the number of group members, the personal attribute information corresponding to each group member, the online information of each group member, and the pairing information of each group member, and the client receives the pair of training groups.
  • the pairing group information can be fed back to the user, so that the user can learn the basic situation of the other group members through the pairing group information, and can initiate a training request to the client according to the pairing group information. information.
  • Steps 205 to 206 in this embodiment are the same as steps 101 to 102 in the embodiment shown in FIG. 1, and details are not described herein again.
  • the server determines whether the training request information includes a real object restriction condition, if not, then proceeds to step 210, and if so, proceeds to step 208;
  • the server may parse the training request information, and determine whether the training request information includes a real object restriction condition, that is, whether the user requests to perform a pair with the real object. practice.
  • the server broadcasts the pairing request information in the target pairing group, and determines whether the number of responding pairs is greater than a preset threshold, and if not, executing step 209, and if yes, executing step 210;
  • the server may broadcast the training request information in the target pairing group, so that other online members other than the user itself in the target pairing group can receive After the pairing request information is received, the other online members can participate in the training request information, and if they are interested in participating in the training, they can respond to the training request information and notify the server, and the server can respond to the number of participants. Statistics are performed and it can be judged whether the number of participants in the response is greater than a preset threshold.
  • the preset threshold may be set by the user on the client, and the preset threshold may be carried in the racing request information. If the user does not set the preset threshold, The server may also define the preset threshold by itself, for example, the minimum target number of the pair is a preset threshold. If the target pair is a pair of badminton, the preset threshold may be 2, if the target is paired For the second to second pair of badminton, the preset threshold may be 4, or may be set according to the number of members of the target racing group, which is not limited herein.
  • the server can notify the client that the request for the training fails, the client can feedback to the user, and can suggest that the user adopt other feasible training modes.
  • Step 210 in this embodiment is the same as step 105 in the embodiment shown in FIG. 1, and details are not described herein again.
  • the server may perform the pairing exercise by the default user, so that the user can perform the training with the virtual object.
  • the client sends the request information of the training scenario to the server.
  • the client may send the training scenario request information to the server.
  • the sending of the request information of the training scenario may be triggered by a certain operation of the user, or may be performed by the client spontaneously, which is not limited herein.
  • the server sends the training scenario selection information to the client according to the training scenario request information.
  • the server may retrieve the preset training scenario, and package and package all the training scenarios corresponding to the target training project into the pairing scenario selection information, and then send the message to the pairing scenario selection information. Server.
  • the training scene selection information may only include a part of the pairing practice scene corresponding to the target pairing practice item stored in the server, for example, in the training scene request information, which is limited to the indoor pairing scene, then the server sends the information.
  • the training scene selection information may include only the selection information of the category of the indoor pairing scene corresponding to the target pairing practice item.
  • the client outputs the selection information of the training scene
  • the client After receiving the pairing scenario selection information sent by the server, the client may output the pairing scenario selection information for the user to select.
  • the racing scene selection information may be output through a manner such as multimedia, a picture, etc., such as being arranged from left to right in a picture manner, and the arranged pictures may be slid left and right for convenient operation, and may also be operated by short video.
  • a manner such as multimedia, a picture, etc., such as being arranged from left to right in a picture manner, and the arranged pictures may be slid left and right for convenient operation, and may also be operated by short video.
  • Each pair of training scenarios is introduced, so that users can fully understand each pair of training scenarios.
  • the client obtains a target training scenario according to the feedback of the training scenario information by the user.
  • the user can select the training scene according to the training scene selection information.
  • the target training scene can be fed back to the client.
  • the client can obtain the target pairing scenario.
  • Steps 215 to 216 in this embodiment are the same as steps 106 to 107 in the embodiment shown in FIG. 1, and details are not described herein again.
  • steps 211 to 214 in this embodiment may also be performed before step 210, and may also be performed before step 107, as long as it can be executed before the client sends real-time motion data, specifically not here. limited.
  • the server determines the motion speed and the motion trajectory of the target body part by analyzing the real-time motion data.
  • the server can determine that the motion track of the user's arm is backward and forward by analyzing the received real-time motion data. And can determine the speed of this swing arm movement.
  • the server in addition to determining the motion speed and the motion trajectory of the target body part, the server can determine other real-time motion data such as the motion time of the target body part, which is not limited herein.
  • the server quantizes the motion speed and the motion trajectory of the target body part according to the third preset rule, and obtains real-time training information
  • the server determines the motion speed and the motion trajectory of the target body part
  • the motion speed and the motion trajectory of the target body part can be quantified according to the third preset rule, and real-time training information is obtained.
  • the server can directly compare the motion speed and the motion trajectory of the target body part of the user with the data information corresponding to the real object to obtain the target pair.
  • the current state of the project is practiced, so that real-time training information can be obtained.
  • the target can be determined by comparing the movement speed and the movement track of the user and the real object's arm.
  • the real-time training information can be obtained.
  • the server can also process the movement speed and the movement trajectory of the target body part of the user, for example, the user performs a one-to-one S-shaped skateboard movement with the real object, and then the server passes the user's foot.
  • the movement speed and the movement track are weakened, that is, when the user passes the virtual S-bend, the user can only complete the small step to the right, but in order to strengthen the user's exercise intensity, the user needs to take a big step to the right to complete.
  • the real motion speed and motion trajectory of the user are weakened by the server, and the user's processing speed and motion trajectory of the opponent's target part are also processed, so that real-time training information can be obtained.
  • the server can quantize the virtual virtual motion speed and the virtual motion trajectory of the virtual object after acquiring the motion speed and the motion trajectory of the target part, so as to realize the user's motion speed and virtuality.
  • the virtual motion speed of the object, and the comparison of the user's motion trajectory with the virtual motion trajectory of the virtual object can obtain real-time training information, and can reflect the real-time racing information in the target pairing scene.
  • the server adjusts the motion speed and the motion trajectory according to the third preset rule, and obtains the real-time training information.
  • the real-time training information can be obtained according to the motion speed and the motion trajectory of the target body part of the user, which is not limited herein.
  • the avatar corresponding to the user in the target scenario and the avatar of the avatar may be the same as the prior art, and details are not described herein again.
  • Steps 219 to 220 in this embodiment are the same as steps 109 to 110 in the embodiment shown in FIG. 1, and details are not described herein again.
  • the server determines the training result information according to the real-time motion data and the first preset rule.
  • the server can send the real-time training information to the client in real time.
  • the training result information can be determined according to the real-time training information and the first preset rule.
  • different sports items may have different training rules.
  • the target is a running item
  • the running mileage may be used as a pairing practice rule
  • the target pairing practice item is badminton.
  • the badminton score can be used as a pairing rule
  • the user's training result under the pairing rules can be obtained from the real-time racing information, and the user's pairing result information can be determined, and the pairing result information can include but is not limited to Corresponding sports time, training level, and training scores.
  • the training information can determine the pairing scores and the training time of A and B respectively, and can determine the pairing rankings of A and B based on the training scores.
  • the server determines the racing result information according to the real-time racing information and the first preset rule.
  • other methods may be adopted as long as the user is determined.
  • the final result of the training results can be, which is not limited here.
  • the server feeds back the training result information to the client.
  • the training result information may be fed back to the client.
  • the client After the client receives the training result information sent by the server, the client can output the training result information.
  • the client can output the training result information in various ways to increase the interest of the sports competitive application, such as displaying the training result information to the user through a more intuitive manner such as multimedia or pictures.
  • the server may also be determined according to the training result information and the second preset rule.
  • the training points information for example, suppose that the current training includes the user owning three pairs of training personnel A, B, C, and the target training program is running, then in the corresponding training, the longest running mileage can be obtained 100. Integral, secondly, you can get 95 points, and you can get 80 points again.
  • the training person A that is, the user's own running mileage is the second, you can determine that the user's own training points are 95, then the pair of training points information can be fed back to the client, after receiving the user's pairing point information, the client can output the pairing point information, so that the user knows the points in the training, and the client The score can be recorded, and the paired points of the target pair of training items previously participated can be accumulated, and the accumulated total points are output.
  • the output of the training integral information may be outputted after the output of the training result information, or may be outputted at the same time, which is not limited herein.
  • the network operator of the server can establish a cooperative relationship with the brand corresponding to each sports item. For example, the user can obtain preferential services through the brand or the specialty store of the brand corresponding to the target and the training item. If you enjoy the member discount price to buy sports products, the higher the score, the greater the discount the user gets.
  • another embodiment of a method for implementing a racing car in an embodiment of the present invention includes:
  • the client obtains the customized pairing group information established by the user.
  • the server establishes a target pairing group according to the user's personal attribute information.
  • the user increases the difficulty of exercising and increases the challenge of training.
  • the user can establish a custom pairing group on the client, that is, the client can obtain the customized pairing group information established by the user, and enable the user to initiate the racing request information to the client according to the customized racing group information. For example, if the user is not very good at tennis, but wants to touch some tennis knowledge during the exercise, then you can establish a target pair with the real object that also wants to play tennis. It is understandable that the custom pair
  • the specific grouping manner of the group information can be determined by the user, and is not limited herein.
  • Steps 302 to 320 in this embodiment are the same as steps 205 to 223 in the embodiment shown in FIG. 2, and details are not described herein again.
  • the embodiment shown in FIG. 2 and the embodiment shown in FIG. 3 respectively describe the implementation method of the training group based on two different targets, which is beneficial to the user.
  • the choice of exercise difficulty is self-selected, which increases the user's exercise experience and enthusiasm, so that the exercise effect can be improved.
  • an embodiment of the client in the embodiment of the present invention includes:
  • the first receiving module 401 is configured to receive the training request information of the target training item initiated by the user;
  • the first sending module 401 is configured to send the training request information to the server, so that the server determines, according to the training request information, whether the preset training condition is met;
  • the second receiving module 403 is configured to receive the training response information sent by the server when the preset training condition is met;
  • the opening module 404 is configured to enable the training function according to the training response information
  • the first obtaining module 405 is configured to acquire real-time motion data of a target body part of the user collected by the smart wearable device, and the smart wearable device is communicatively connected with the client;
  • the second sending module 406 is configured to send real-time motion data to the server
  • the third receiving module 407 is configured to receive real-time training information fed back by the server according to real-time motion data
  • the first output module 408 is configured to output real-time training information in the target pairing scenario, so that the user adjusts the real-time motion data according to the real-time training information.
  • another embodiment of the client in the embodiment of the present invention includes:
  • the third obtaining module 501 is configured to acquire personal attribute information of the user
  • the third sending module 502 is configured to send the personal attribute information to the server
  • the third receiving module 503 is configured to receive the training group information fed back by the server, so that the user initiates the training request information according to the training group information;
  • the module 504 in this embodiment is the same as the module 401 in the embodiment shown in FIG. 4, the module 505 is the same as the module 402 in the embodiment shown in FIG. 4, and the module 506 is the same as the module 403 in the embodiment shown in FIG. I will not repeat them here.
  • the fourth sending module 507 is configured to send the racing scene request information to the server
  • the fourth receiving module 508 is configured to receive the training scenario selection information sent by the server according to the racing scene request information
  • the second output module 509 is configured to output pairing scene selection information
  • the fifth obtaining module 510 is configured to acquire a target pairing scenario that the user feeds back according to the training scene information.
  • the module 507 in this embodiment is the same as the module 404 in the embodiment shown in FIG. 4, the module 508 is the same as the module 405 in the embodiment shown in FIG. 4, and the module 509 is the same as the module 406 in the embodiment shown in FIG.
  • the module 510 is the same as the module 407 in the embodiment shown in FIG. 4, and the module 511 is the same as the module 408 in the embodiment shown in FIG. 4, and details are not described herein again.
  • the fifth receiving module 512 is configured to receive the training result information fed back by the server;
  • the third output module 513 is configured to output training result information
  • the sixth receiving module 514 is configured to receive the training point information fed back by the server;
  • the fourth output module 515 is configured to output the pairing integration information.
  • the module 501, the module 502, and the module 503 may be replaced with a fourth acquiring module, where the fourth acquiring module is configured to acquire a customized pair established by the user.
  • the group information is practiced, so that the user initiates the training request information according to the customized group information. Since the other modules are the same, they are not described here.
  • an embodiment of the server in the embodiment of the present invention includes:
  • the first receiving module 601 is configured to receive the training request information sent by the client;
  • the determining module 602 is configured to determine, according to the training request information, whether the preset training condition is met;
  • the first sending module 603 is configured to send the training response information to the client when the preset training condition is met;
  • the second receiving module 604 is configured to receive real-time motion data sent by the client;
  • the calculating module 605 is configured to calculate real-time training information according to the real-time motion data
  • the first feedback module 606 is configured to feed back real-time training information to the client.
  • another embodiment of the server in the embodiment of the present invention includes:
  • the third receiving module 701 is configured to receive personal attribute information sent by the client.
  • the establishing module 702 is configured to establish a target pairing group according to the personal attribute information
  • the second feedback module 703 is configured to feed back the pairing group information corresponding to the target pairing group to the client.
  • the module 704 in this embodiment is the same as the module 601 in the embodiment shown in FIG. 6.
  • the module 705 is the same as the module 602 in the embodiment shown in FIG. 6.
  • the module 706 is the same as the module 603 in the embodiment shown in FIG. I will not repeat them here.
  • the fourth receiving module 707 is configured to receive the training scenario request information sent by the client.
  • the second sending module 708 is configured to send the training scenario selection information to the client according to the training scenario request information.
  • the module 709 in this embodiment is the same as the module 604 in the embodiment shown in FIG. 6.
  • the module 710 is the same as the module 605 in the embodiment shown in FIG. 6.
  • the module 711 is the same as the module 606 in the embodiment shown in FIG. I will not repeat them here.
  • the first determining module 712 is configured to determine the training result information according to the real-time motion data and the first preset rule
  • the third feedback module 713 is configured to feed back the training result information to the client;
  • the second determining module 714 is configured to determine the training point information according to the training result information and the second preset rule
  • the fourth feedback module 715 is configured to feed back the training point information to the client.
  • the determining module 705 may further include:
  • the first determining unit 7051 is configured to determine whether the training request information includes a real object restriction condition
  • the broadcasting unit 7052 is configured to, when the real object restriction condition is included, broadcast the training request information in the target pairing group;
  • the second determining unit 7053 is configured to determine whether the number of pairs of responses is greater than a preset threshold.
  • the calculating module 710 may further include:
  • a determining unit 7101 configured to determine a motion speed and a motion trajectory of the target body part by parsing the real-time motion data
  • the quantization unit 7102 is configured to quantize the motion speed and the motion trajectory of the target body part according to the third preset rule to obtain real-time training information.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a client in an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another embodiment of a client in an embodiment of the present invention.
  • the client 8 includes a processor 801, a memory 802, and a transceiver 803.
  • the transceiver 803 is configured to transmit and receive data with and from an external device.
  • the number of processors 801 in the client 8 may be one or more.
  • the processor 801, the memory 802, and the transceiver 803 may be connected by a bus system or other means.
  • the client 8 can be used to perform the method illustrated in Figures 1-3.
  • the program code is stored in the memory 802, and the processor 801 can call the program code stored in the memory 802 through the bus system to perform related functions.
  • the respective modules described in FIG. 4 and FIG. 5 (for example, the first obtaining module 401, the first sending module 402, the first receiving module 403, the first opening module 404, the The first output module 408, etc.) is program code stored in the memory 802 and executed by the processor 801 to implement the functions of the various units to perform a method of exercise implementation.
  • the processor 801 acquires the training request information of the target training item initiated by the user, and sends the training request information to the server, so that the server determines the information according to the training request information. Whether the preset training condition is met; if the preset training condition is met, receiving the training response information sent by the server; and performing the training function according to the training response information, and acquiring the smart wearable device Real-time motion data of the target body part of the user, the smart wearable device is in communication with the client; transmitting the real-time motion data to the server; and receiving the feedback from the server according to the real-time motion data Real-time pairing information, and outputting the real-time training information in the target-pairing scenario, so that the user adjusts the real-time motion data according to the real-time training information.
  • the processor 801 before acquiring the user-initiated training request information, the processor 801:
  • the processor 801 acquires the customized pairing group information established by the user, so that the user initiates the pairing request information according to the customized pairing group information.
  • the processor 801 before the real-time motion data is sent to the server, the processor 801: the client sends the scenario request information to the server;
  • the client receives the pairing scenario selection information sent by the server according to the pairing scenario request information, and outputs the pairing scenario selection information;
  • the client acquires the target pairing scenario that the user feeds back according to the pairing scenario information.
  • the processor 801 After the client receives the real-time training information fed back by the server according to the real-time motion data, and outputs the real-time training information in the target pairing scenario, the processor 801:
  • the pairing point information is output.
  • FIG. 9 is a schematic structural diagram of still another embodiment of a server in the embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another embodiment of a server in an embodiment of the present invention.
  • the server 9 includes a processor 901, a memory 902, and a transceiver 903.
  • the transceiver 903 is configured to transmit and receive data with and from an external device.
  • the number of processors 901 in the server 9 may be one or more.
  • the processor 901, the memory 902, and the transceiver 903 may be connected by a bus system or other means.
  • the server 9 can be used to perform the method shown in Figures 1 to 3.
  • the program code is stored in the memory 902, and the processor 901 can call the program code stored in the memory 902 to perform related functions through a bus system.
  • the various modules described in FIG. 6 and FIG. 7 eg, the first receiving module 601, the determining module 602, the first sending module 603, the second receiving module 604, and the computing module
  • the second feedback module 606, etc. is program code stored in the memory 902 and executed by the processor 901 to implement the functions of the various units to perform a method of exercise implementation.
  • the processor 901 receiving the training request information sent by the client;
  • the processor 901 sends the training response information to the client;
  • the processor 901 before receiving the training request information sent by the client, the processor 901: receiving personal attribute information sent by the client;
  • the determining, by the processor 901, whether the preset training conditions are met according to the training request information includes:
  • the training request information is broadcasted in the target training group, and it is determined whether the number of responding pairs is greater than a preset threshold.
  • the processor 901 before the processor 901 receives the real-time motion data sent by the client, the processor 901:
  • the processor 901 calculates the real-time training information according to the real-time motion data, and feeds back the real-time training information to the client, the processor 901:
  • the calculating, by the processor 901, the real-time training information according to the real-time motion data includes:
  • the moving speed of the target body part and the motion trajectory are quantized according to a third preset rule, and real-time training information is obtained.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

A method for achieving exercising, client end and service end, used to make it more fun for a user to exercise alone as well as to enhance the user's enthusiasm. The method comprises: a client end obtaining pair exercise request information of a target pair exercise program initiated by a user (101); the client sending the pair exercise request information to a service end (102), so that the service end determines whether the pair exercise request information satisfies a preset pair exercise condition (103); if the preset pair exercise condition is satisfied, the client end receiving pair exercise response information sent by the service end (105); the client end starting a pair exercise function according to the pair exercise response information, and obtaining real-time movement data of a target body part of the user as collected by an intelligent wearable device (106), the intelligent wearable device communicating with the client end; the client end sending the real-time movement data to the service end (107); the client end receiving real-time pair exercise information fed back by the service end according to the real-time movement data (109), and outputting the real-time pair exercise information in a target pair exercise scene (110), so that the user can adjust the real-time movement data according to the real-time pair exercise information.

Description

一种锻炼实现方法、客户端以及服务端Exercise implementation method, client and server
本申请要求于2016年8月26日提交中国专利局,申请号为201610740842.X、发明名称为“一种锻炼实现方法、客户端以及服务端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on August 26, 2016, the Chinese Patent Office, the application number is 201610740842.X, and the invention name is "an exercise implementation method, client and server". The citations are incorporated herein by reference.
技术领域Technical field
本发明涉及增强现实技术领域,尤其涉及一种锻炼实现方法、客户端以及服务端。The present invention relates to the field of augmented reality technologies, and in particular, to an exercise implementation method, a client, and a server.
背景技术Background technique
随着电子技术的不断发展和成熟,在日益普及的移动终端中,软件功能越来越丰富,以满足用户不断增长的个性化需求,其中,人机交互方式由于给用户带来全新的游戏体验,成为保持移动终端产品竞争力的重要途径。With the continuous development and maturity of electronic technology, in the increasingly popular mobile terminals, software functions are becoming more and more abundant to meet the increasing personalization needs of users. Among them, the human-computer interaction mode brings a new game experience to users. It has become an important way to maintain the competitiveness of mobile terminal products.
现实生活中,人们由于工作、生活或学习压力,多处于一种亚健康状态,但由于环境或个人原因,往往无法利用周边设施或通过健身房进行积极有效的锻炼,而对于个人而言,长时间的单人锻炼会产生懈怠、厌烦情绪,极大地影响了锻炼的效果,而若能通过机交互游戏可以对游戏中人物的所有动作进行模仿,可以使得人们在锻炼身体的同时可以满足娱乐需求。In real life, people are mostly in a sub-health state due to work, life or learning pressure. However, due to environmental or personal reasons, it is often impossible to use the surrounding facilities or actively and effectively exercise through the gym. For the individual, for a long time. The single-player exercise will produce slack and boredom, which greatly affects the effect of exercise. If you can use the machine interactive game to imitate all the actions of the characters in the game, you can make people meet the entertainment needs while exercising.
现有技术中,人体交互游戏多基于硬件设备上的重力加速度传感器、陀螺仪等惯性传感器和电子罗盘等电磁传感器等多种智能传感器信息融合的应用,以达到识别硬件设备本身运动轨迹的目的。然而,在现有的人机交互游戏中,并未针对用户的真实运动数据进行虚拟式的游戏对练,以丰富用户的锻炼方式,提高用户的锻炼情绪,给用户带来较为真实的锻炼体验。In the prior art, the human body interaction game is based on the application of a plurality of intelligent sensor information fusion such as a gravity acceleration sensor on a hardware device, an inertial sensor such as a gyroscope, and an electromagnetic sensor such as an electronic compass, so as to achieve the purpose of recognizing the motion track of the hardware device itself. However, in the existing human-computer interaction game, the virtual game-playing practice is not performed on the user's real sports data, so as to enrich the user's exercise mode, improve the user's exercise mood, and bring a more realistic exercise experience to the user. .
发明内容Summary of the invention
本发明实施例提供了一种锻炼实现方法、客户端以及服务端,用于改变传统的锻炼方法,通过虚拟对练的方式,有利于增加用户在单人锻炼身体时的趣味性,同时也提高用户的锻炼积极性,使得用户的锻炼效果得到提高。The embodiment of the invention provides a training implementation method, a client and a server, which are used for changing a traditional exercise method, and the virtual training method is beneficial to increase the user's interest in exercising a single person, and also improves the user's interest. The user's exercise enthusiasm makes the user's exercise effect improved.
有鉴于此,本发明第一方面提供一种锻炼实现方法,可包括:In view of this, the first aspect of the present invention provides a training implementation method, which may include:
客户端获取用户发起的目标对练项目的对练请求信息;The client obtains the training request information of the target-to-training project initiated by the user;
客户端将对练请求信息发送至服务端,以使得服务端根据对练请求信息判断是否满足预设对练条件;The client sends the training request information to the server, so that the server determines whether the preset training condition is met according to the training request information.
若满足预设对练条件,则客户端接收服务端发送的对练响应信息;If the preset training condition is met, the client receives the training response information sent by the server;
客户端根据对练响应信息开启对练功能,并获取智能穿戴设备采集的用户的目标身体部位的实时运动数据,智能穿戴设备与客户端通信连接;The client starts the pairing function according to the training response information, and obtains real-time motion data of the target body part of the user collected by the smart wearable device, and the smart wearable device communicates with the client;
客户端将实时运动数据发送至服务端;The client sends real-time motion data to the server;
客户端接收服务端根据实时运动数据反馈的实时对练信息,并在目标对练场景中输出实时对练信息,以使得用户根据实时对练信息调整实时运动数据。The client receives the real-time training information fed back by the server according to the real-time motion data, and outputs the real-time training information in the target-pairing scenario, so that the user adjusts the real-time motion data according to the real-time training information.
结合本发明实施例的第一方面,在本发明实施例的第一方面的第一种实施方式中,在客户端获取用户发起的对练请求信息之前,方法还包括:With reference to the first aspect of the embodiments of the present invention, in a first implementation manner of the first aspect of the embodiments of the present disclosure, before the client obtains the user-initiated training request information, the method further includes:
客户端获取用户的个人属性信息,并将个人属性信息发送至服务端;The client obtains the personal attribute information of the user, and sends the personal attribute information to the server;
客户端接收服务端反馈的对练群组信息,以使得用户根据对练群组信息发起对练请求信息;The client receives the pairing group information fed back by the server, so that the user initiates the pairing request information according to the training group information;
或,or,
客户端获取用户建立的自定义对练群组信息,以使得用户根据自定义对练群组信息发起对练请求信息。The client obtains the custom pairing group information established by the user, so that the user initiates the training request information according to the customized group information.
结合本发明实施例的第一方面,或本发明实施例的第一方面的第一种实施方式,在本发明实施例的第一方面的第二种实施方方式中,在客户端将实时运动数据发送至服务端之前,方法还包括:In conjunction with the first aspect of the embodiments of the present invention, or the first implementation manner of the first aspect of the embodiments of the present invention, in the second implementation manner of the first aspect of the embodiment of the present invention, real-time motion is performed on the client. Before the data is sent to the server, the method also includes:
客户端将对练场景请求信息发送至服务端;The client sends the training scenario request information to the server;
客户端接收服务端根据对练场景请求信息发送的对练场景选择信息,并输出对练场景选择信息;The client receiving server selects information according to the training scenario sent by the training scenario request information, and outputs the training scenario selection information;
客户端获取用户根据对练场景信息反馈的目标对练场景。The client obtains the target pairing scenario according to the feedback of the training scene information.
结合本发明实施例的第一方面,本发明实施例的第一方面的第一种实施方式或第二种实施方式,在本发明实施例的第一方面的第三种实施方式中,在客户端接收服务端根据实时运动数据反馈的实时对练信息,并在目标对练场景中输出实时对练信息之后,方法还包括:With reference to the first aspect of the embodiments of the present invention, the first embodiment or the second embodiment of the first aspect of the embodiment of the present invention, in the third implementation manner of the first aspect of the embodiment of the present invention, After receiving the real-time training information of the real-time motion data feedback, and receiving the real-time training information in the target-pairing scenario, the method further includes:
客户端接收服务端反馈的对练结果信息;The client receives the training result information fed back by the server;
客户端输出对练结果信息;和/或,The client outputs the result information of the training; and/or,
客户端接收服务端反馈的对练积分信息;The client receives the training point information fed back by the server;
客户端输出对练积分信息。The client outputs the pairing point information.
本发明第二方面提供一种锻炼实现方法,可包括:A second aspect of the present invention provides a workout implementation method, which may include:
服务端接收客户端发送的对练请求信息;The server receives the training request information sent by the client;
服务端根据对练请求信息判断是否满足预设对练条件;The server determines whether the preset training conditions are met according to the training request information;
若满足预设对练条件,则服务端将对练响应信息发送至客户端;If the preset training condition is met, the server sends the response information to the client;
服务端接收客户端发送的实时运动数据;The server receives real-time motion data sent by the client;
服务端根据实时运动数据计算实时对练信息,并将实时对练信息反馈至客户端。The server calculates the real-time training information based on the real-time motion data, and feeds the real-time training information to the client.
结合本发明实施例的第二方面,在本发明实施例的第二方面的第一种实施方式中,在服务端接收客户端发送的对练请求信息之前,方法还包括:With reference to the second aspect of the embodiments of the present invention, in a first implementation manner of the second aspect of the embodiment of the present invention, before the server receives the training request information sent by the client, the method further includes:
服务端接收客户端发送的个人属性信息;The server receives the personal attribute information sent by the client;
服务端根据个人属性信息建立目标对练群组,并将目标对练群组对应的对练群组信息反馈至客户端。The server establishes a target pairing group according to the personal attribute information, and feeds back the pairing group information corresponding to the target group to the client.
结合本发明实施例的第二方面的第一种实施方式,在本发明实施例的第二方面的第二种实施方式中,服务端根据对练请求信息判断是否满足预设对练条件包括:With reference to the first embodiment of the second aspect of the embodiments of the present invention, in the second implementation manner of the second aspect of the embodiment of the present invention, the server determines, according to the training request information, whether the preset training conditions are met:
服务端判断对练请求信息是否包括真实对象限制条件;The server determines whether the training request information includes a real object restriction condition;
若包括真实对象限制条件,则服务端在目标对练群组广播对练请求信息,并判断响应的对练人数是否大于预设阈值。If the real object restriction condition is included, the server broadcasts the training request information in the target pairing group, and determines whether the number of responding pairs is greater than a preset threshold.
结合本发明实施例的第二方面,本发明实施例的第二方面的第一种实施方式或第二种实施方式,在本发明实施例的第二方面的第三种实施方式中,在服务端接收客户端发送的实时运动数据之前,方法还包括:With reference to the second aspect of the embodiments of the present invention, the first embodiment or the second embodiment of the second aspect of the embodiment of the present invention, in the third implementation manner of the second aspect of the embodiment of the present invention, Before receiving the real-time motion data sent by the client, the method further includes:
服务端接收客户端发送的对练场景请求信息;The server receives the request information of the training scenario sent by the client;
服务端根据对练场景请求信息将对练场景选择信息发送至客户端。The server sends the training scenario selection information to the client according to the training scenario request information.
结合本发明实施例的第二方面,本发明实施例的第二方面的第一种实施方式至第三种实施方式中的任意一种,在本发明实施例的第二方面的第四种实施方式中,在服务端根据实时运动数据计算实时对练信息,并将实时对练信息反馈至客户端之后,方法还包括:With reference to the second aspect of the embodiments of the present invention, any one of the first to third embodiments of the second aspect of the embodiment of the present invention, the fourth implementation of the second aspect of the embodiment of the present invention In the method, after the real-time training information is calculated by the server according to the real-time motion data, and the real-time training information is fed back to the client, the method further includes:
服务端根据实时运动数据和第一预设规则确定对练结果信息,并将对练结果信息反馈至客户端;和/或,The server determines the training result information according to the real-time motion data and the first preset rule, and feeds back the training result information to the client; and/or,
服务端根据对练结果信息和第二预设规则确定对练积分信息,并将对练积分信息反馈至客户端。The server determines the training point information according to the training result information and the second preset rule, and feeds back the training point information to the client.
结合本发明实施例的第二方面,本发明实施例的第二方面的第一种实施方式至第四种实施方式,在本发明实施例的第二方面的第五种实施方式中,服务端根据实时运动数据计算实时对练信息包括:With reference to the second aspect of the embodiments of the present invention, the first to fourth embodiments of the second aspect of the embodiments of the present invention, in the fifth implementation manner of the second aspect of the embodiment of the present invention, the server Calculating real-time training information based on real-time motion data includes:
服务端通过解析实时运动数据确定目标身体部位的运动速度和运动轨迹;The server determines the motion speed and motion trajectory of the target body part by analyzing the real-time motion data;
服务端按照第三预设规则量化目标身体部位的运动速度和运动轨迹,得到实时对练信息。The server quantizes the motion speed and motion trajectory of the target body part according to the third preset rule, and obtains real-time training information.
本发明第三方面提供一种客户端,可包括:A third aspect of the present invention provides a client, which may include:
第一获取模块,设置为接收用户发起的目标对练项目的对练请求信息;第一发送模块,设置为将对练请求信息发送至服务端,以使得服务端根据对练请求信息判断是否满足预设对练条件;The first obtaining module is configured to receive the training request information of the target-to-training item initiated by the user; the first sending module is configured to send the training request information to the server, so that the server determines whether the training request information is satisfied according to the training request information. Preset the training conditions;
第一接收模块,设置为当满足预设对练条件时,则接收服务端发送的对练响应信息;The first receiving module is configured to receive the training response information sent by the server when the preset training condition is met;
开启模块,用于根据对练响应信息开启对练功能;The module is opened, and the function of the training is started according to the response information of the training;
第二获取模块,设置为获取智能穿戴设备采集的用户的目标身体部位的实时运动数据,智能穿戴设备与客户端通信连接;a second acquiring module, configured to acquire real-time motion data of a target body part of the user collected by the smart wearable device, where the smart wearable device is in communication connection with the client;
第二发送模块,设置为将实时运动数据发送至服务端;a second sending module, configured to send real-time motion data to the server;
第二接收模块,设置为接收服务端根据实时运动数据反馈的实时对练信息;a second receiving module, configured to receive real-time training information fed back by the server according to real-time motion data;
第一输出模块,设置为在目标对练场景中输出实时对练信息,以使得用户根据实时对练信息调整实时运动数据。The first output module is configured to output real-time training information in the target pairing practice scene, so that the user adjusts the real-time motion data according to the real-time training information.
结合本发明实施例的第三方面,在本发明实施例的第三方面的第一种实施方式中,客户端还包括:With reference to the third aspect of the embodiments of the present invention, in a first implementation manner of the third aspect of the embodiments, the client further includes:
第三获取模块,设置为获取用户的个人属性信息;a third obtaining module, configured to obtain personal attribute information of the user;
第三发送模块,设置为将个人属性信息发送至服务端;a third sending module, configured to send personal attribute information to the server;
第三接收模块,设置为接收服务端反馈的对练群组信息,以使得用户根据对练群组信息发起对练请求信息;The third receiving module is configured to receive the training group information fed back by the server, so that the user initiates the training request information according to the training group information;
或,or,
第四获取模块,设置为获取用户建立的自定义对练群组信息,以使得用户根据自定义对练群组信息发起对练请求信息。The fourth obtaining module is configured to obtain the customized pairing group information established by the user, so that the user initiates the training request information according to the customized group information.
结合本发明实施例的第三方面,或本发明实施例的第三方面的第一种实施方式,在本发明实施例的第三方面的第二种实施方式中,客户端还包括:With reference to the third aspect of the embodiments of the present invention, or the first implementation manner of the third aspect of the embodiments of the present invention, in the second implementation manner of the third aspect of the embodiment, the client further includes:
第四发送模块,设置为将赛车场景请求信息发送至服务端;a fourth sending module, configured to send the racing scene request information to the server;
第四接收模块,设置为接收服务端根据赛车场景请求信息发送的对练场景选择信息;a fourth receiving module, configured to receive the training scenario selection information sent by the server according to the racing scene request information;
第二输出模块,设置为输出对练场景选择信息;a second output module, configured to output a pair of training scene selection information;
第五获取模块,设置为获取用户根据对练场景信息反馈的目标对练场景。The fifth obtaining module is configured to acquire a target pairing scenario that the user feeds back according to the training scene information.
结合本发明实施例的第三方面,本发明实施例的第三方面的第一种实施方式或第二种实施方式,在本发明实施例的第三方面的第三种实施方式中,客户端还包括:With reference to the third aspect of the embodiments of the present invention, the first embodiment or the second implementation manner of the third aspect of the embodiment of the present invention, in the third implementation manner of the third aspect of the embodiment of the present invention, the client Also includes:
第五接收模块,设置为接收服务端反馈的对练结果信息;The fifth receiving module is configured to receive the training result information fed back by the server;
第三输出模块,设置为输出对练结果信息;和/或,a third output module, configured to output training result information; and/or,
第六接收模块,设置为接收服务端反馈的对练积分信息;a sixth receiving module, configured to receive the training point information fed back by the server;
第四输出模块,设置为输出对练积分信息。The fourth output module is configured to output the pairing point information.
本发明第四方面提供一种服务端,可包括:A fourth aspect of the present invention provides a server, which may include:
第一接收模块,设置为接收客户端发送的对练请求信息;The first receiving module is configured to receive the training request information sent by the client;
判断模块,设置为根据对练请求信息判断是否满足预设对练条件;The determining module is configured to determine, according to the training request information, whether the preset training condition is met;
第一发送模块,设置为当满足预设对练条件时,则将对练响应信息发送至客户端;The first sending module is configured to send the training response information to the client when the preset training condition is met;
第二接收模块,设置为接收客户端发送的实时运动数据;a second receiving module, configured to receive real-time motion data sent by the client;
计算模块,设置为根据实时运动数据计算实时对练信息;a calculation module, configured to calculate real-time training information according to real-time motion data;
第一反馈模块,设置为将实时对练信息反馈至客户端。The first feedback module is configured to feed back real-time training information to the client.
结合本发明实施例的第四方面,在本发明实施例的第四方面的第一种实施方式中,服务端还包括:With reference to the fourth aspect of the embodiments of the present invention, in a first implementation manner of the fourth aspect of the embodiments, the server further includes:
第三接收模块,设置为接收客户端发送的个人属性信息;a third receiving module, configured to receive personal attribute information sent by the client;
建立模块,设置为根据个人属性信息建立目标对练群组;Establish a module, which is set to establish a target pairing group according to personal attribute information;
第二反馈模块,设置为将目标对练群组对应的对练群组信息反馈至客户端。The second feedback module is configured to feed back the pairing group information corresponding to the target pairing group to the client.
结合本发明实施例的第四方面,或本发明实施例的第四方面的第一种实施方方式,在本发明实施例的第四方面的第二种实施方式中,判断模块包括:With reference to the fourth aspect of the embodiments of the present invention, or the first implementation manner of the fourth aspect of the embodiments of the present invention, in a second implementation manner of the fourth aspect of the embodiments of the present invention, the determining module includes:
第一判断单元,设置为判断对练请求信息是否包括真实对象限制条件;a first determining unit, configured to determine whether the training request information includes a real object restriction condition;
广播单元,设置为当包括真实对象限制条件,则在目标对练群组广播对练请求信息;a broadcast unit, configured to broadcast the training request information in the target pairing group when the real object restriction condition is included;
第二判断单元,设置为判断响应的对练人数是否大于预设阈值。The second determining unit is configured to determine whether the number of training participants is greater than a preset threshold.
结合本发明实施例的第四方面,本发明实施例的第四方面的第一种实施方式或第二种实施方式,在本发明实施例的第四方面的第三种实施方式中,服务端还包括:With reference to the fourth aspect of the embodiments of the present invention, the first implementation manner or the second implementation manner of the fourth aspect of the embodiment of the present invention, in the third implementation manner of the fourth aspect of the embodiment of the present invention, the server Also includes:
第四接收模块,设置为接收客户端发送的对练场景请求信息;The fourth receiving module is configured to receive the request information of the training scenario sent by the client;
第二发送模块,设置为根据对练场景请求信息将对练场景选择信息发送至客户端。The second sending module is configured to send the training scenario selection information to the client according to the training scenario request information.
结合本发明实施例的第四方面,本发明实施例的第四方面的第一种实施方式至第三种实施方式中的任意一种,在本发明实施例的第四方面的第四种实施方式中,服务端还包括:With reference to the fourth aspect of the embodiments of the present invention, any one of the first to third embodiments of the fourth aspect of the embodiment of the present invention, the fourth implementation of the fourth aspect of the embodiment of the present invention In the mode, the server also includes:
第一确定模块,设置为根据实时运动数据和第一预设规则确定对练结果信息;The first determining module is configured to determine the training result information according to the real-time motion data and the first preset rule;
第三反馈模块,设置为将对练结果信息反馈至客户端;和/或,a third feedback module, configured to feed feedback information to the client; and/or,
第二确定模块,设置为根据对练结果信息和第二预设规则确定对练积分信息;The second determining module is configured to determine the training point information according to the training result information and the second preset rule;
第四反馈模块,设置为将对练积分信息反馈至客户端。The fourth feedback module is configured to feed back the training point information to the client.
结合本发明实施例的第四方面,本发明实施例的第四方面的第一种实施方式至第四种实施方式中的任意一种,在本发明实施例的第四方面的第五种实施方式中,计算模块包括:With reference to the fourth aspect of the embodiments of the present invention, any one of the first to fourth embodiments of the fourth aspect of the embodiment of the present invention, the fifth implementation of the fourth aspect of the embodiment of the present invention In the mode, the calculation module includes:
确定单元,设置为通过解析实时运动数据确定目标身体部位的运动速度和运动轨迹;a determining unit configured to determine a moving speed and a motion trajectory of the target body part by analyzing the real-time motion data;
量化单元,设置为按照第三预设规则量化目标身体部位的运动速度和运动轨迹,得到实时对练信息。The quantization unit is configured to quantize the motion speed and the motion trajectory of the target body part according to the third preset rule to obtain real-time training information.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
本实施例中,通过在客户端开启对练功能,可以利用智能穿戴设备采集用户的目标身体部位的实时运动数据,该实时运动数据经服务端处理后,可以在目标对练场景中输出实时对练信息,从而用户可以通过客户端实时了解自己的对练情况,并可以及时调整自己的实时运动数据,以达到较好的对练效果,同时通过客户端进行交互锻炼,不仅提升了单人锻炼身体的趣味性,而且可以提升用户锻炼身体的挑战性,进而为用户提供了一种日常生活中更加有趣的锻炼方式。In this embodiment, by performing the pairing function on the client, the smart wearable device can be used to collect real-time motion data of the target body part of the user. After the real-time motion data is processed by the server, the real-time pair can be output in the target pairing scene. Practice information, so that users can understand their own training situation in real time through the client, and can adjust their real-time sports data in time to achieve better training effect. At the same time, interactive exercise through the client not only enhances the single-person exercise. The fun of the body, and can enhance the user's challenge of exercising, and thus provide users with a more interesting way of exercising in daily life.
附图说明DRAWINGS
图1为本发明实施例中锻炼实现方法一个实施例示意图;1 is a schematic diagram of an embodiment of an exercise implementation method according to an embodiment of the present invention;
图2为本发明实施例中锻炼实现方法另一实施例示意图;2 is a schematic diagram of another embodiment of an exercise implementation method according to an embodiment of the present invention;
图3为本发明实施例中锻炼实现方法另一实施例示意图;3 is a schematic diagram of another embodiment of an exercise implementation method according to an embodiment of the present invention;
图4为本发明实施例中客户端一个实施例示意图;4 is a schematic diagram of an embodiment of a client in an embodiment of the present invention;
图5为本发明实施例中客户端另一实施例示意图;FIG. 5 is a schematic diagram of another embodiment of a client according to an embodiment of the present invention; FIG.
图6为本发明实施例中服务端一个实施例示意图;6 is a schematic diagram of an embodiment of a server in an embodiment of the present invention;
图7为本发明实施例中服务端另一实施例示意图;FIG. 7 is a schematic diagram of another embodiment of a server in an embodiment of the present invention;
图8为本发明实施例中客户端又一个实施例的结构示意图;FIG. 8 is a schematic structural diagram of still another embodiment of a client according to an embodiment of the present disclosure;
图9为本发明实施例中服务端又一个实施例的结构示意图。FIG. 9 is a schematic structural diagram of still another embodiment of a server according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种锻炼实现方法、客户端以及服务端,用于改变传统的锻炼方法,通过虚拟对练的方式,有利于增加用户在单人锻炼身体时的趣味性,同时也提高用户的锻炼积极性,使得用户的锻炼效果得到提高。The embodiment of the invention provides a training implementation method, a client and a server, which are used for changing a traditional exercise method, and the virtual training method is beneficial to increase the user's interest in exercising a single person, and also improves the user's interest. The user's exercise enthusiasm makes the user's exercise effect improved.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than what is illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
为了更好理解本发明实施例公开的一种锻炼实现方法,先对本发明实施例适用的客户端进行描述。本发明实施例所描述的客户端可以包括任何具备显示屏以及通信和存储功能的设备,例如:平板电脑、手机、台式电脑等智能设备,该客户端可以安装有包括如下操作系统:Android、Linux、IOS、Windows等,客户端基于所安装的操作系统可以进一步安装有若干应用程序,该应用程序可以是客户端出厂前预装的系统应用,如邮箱应用、设置应用、音乐应用、浏览器应用、拍照应用等,也可以是用户自己安装的第三方应用,如QQ应用、微信应用、支付宝应用、微博应用等。特别的,本发明实施例中的客户端可以装有与体育项目有关的体育竞技应用,以实现本发明实施例中的对练。In order to better understand an exercise implementation method disclosed in the embodiment of the present invention, a client to which the embodiment of the present invention is applied is first described. The client described in the embodiment of the present invention may include any device having a display screen and communication and storage functions, such as a smart device such as a tablet computer, a mobile phone, a desktop computer, etc., and the client may be installed with the following operating systems: Android, Linux. , IOS, Windows, etc., the client can further install several applications based on the installed operating system, the application can be a system application pre-installed by the client before the factory, such as a mailbox application, a setting application, a music application, a browser application. The camera application, etc., may also be a third-party application installed by the user, such as a QQ application, a WeChat application, an Alipay application, a Weibo application, and the like. In particular, the client in the embodiment of the present invention may be equipped with a sports competitive application related to a sports item to implement the training in the embodiment of the present invention.
需要说明的是,本发明实施例中对练的应用场景可以是室内,也可以是室外,只要有单人空间能够使得用户可以进行锻炼即可,具体此处不做限定。It should be noted that the application scenario of the practice in the embodiment of the present invention may be indoor or outdoor, as long as the single-person space enables the user to perform the exercise, which is not limited herein.
为便于理解,下面对本发明实施例中的具体流程以客户端与服务端的信令交互图进行描述,请参阅图1,本发明实施例中锻炼实现方法一个实施例包括:For ease of understanding, the specific process in the embodiment of the present invention is described by the signaling interaction diagram between the client and the server. Referring to FIG. 1 , an embodiment of the method for implementing the exercise in the embodiment of the present invention includes:
101、客户端获取用户发起的目标对练项目的对练请求信息;101. The client obtains the training request information of the target-to-training project initiated by the user;
本实施例中,客户端装有与体育项目有关的体育竞技应用后,用户可以通过客户端在服务端进行注册,成为该体育竞技应用的注册用户,则当用户想进行锻炼,但一个人锻炼比较无聊,或者没有挑战性的时候,可以通过在客户端登录该体育竞技应用,并可以发起对练请求,则客户端可以获取用户发起的目标对练项目的对练请求信息。In this embodiment, after the client is equipped with the sports competition application related to the sports item, the user can register on the server side through the client to become the registered user of the sports competition application, and when the user wants to exercise, but one person exercises When it is boring, or not challenging, you can log in to the sports application on the client and can initiate a request for training. The client can obtain the request information of the target-to-training project initiated by the user.
具体的,本实施例中的体育竞技应用可以包括各类体育项目,如跑步、乒乓球、羽毛球、网球、拳击等体育项目,则目标对练项目可以是用户在该体育竞技应用中所有体育项目的任一种。此外,在该体育竞技应用中,注册用户之间可以彼此进行切磋,注册用户也可以挑战体育竞技应用中的虚拟对象,以通过对练实现锻炼的目的。Specifically, the sports competitive application in this embodiment may include various sports items, such as running, table tennis, badminton, tennis, boxing, and the like, and the target training item may be all sports items of the user in the sports competitive application. Any of them. In addition, in the sports competition application, registered users can learn from each other, and the registered user can also challenge the virtual object in the sports competition application to achieve the purpose of exercising through training.
可以理解的是,本实施例中的游戏应用也可以不在客户端进行安装,如通过客户端中的网页实现在线对练功能,具体此处不做限定。It can be understood that the game application in this embodiment may also be installed on the client, such as the online training function through the webpage in the client, which is not limited herein.
102、客户端将对练请求信息发送至服务端;102. The client sends the training request information to the server.
本实施例中,客户端获取到用户发起的目标对练项目的对练请求信息后,可以将该对练请求信息发送至服务端。In this embodiment, after the client obtains the training request information of the target-to-training project initiated by the user, the client may send the training request information to the server.
103、服务端根据对练请求信息判断是否满足预设对练条件,若否,则执行步骤104,若是,则执行步骤105;103, the server determines whether the preset training condition is met according to the training request information, if not, executing step 104, and if yes, executing step 105;
本实施例中,服务端在接收到客户端发送的对练请求信息后,可以根据对练请求信息判断是否满足预设对练条件,即用户是否可以利用体育竞技应用进行对练,已达到锻炼的目的。In this embodiment, after receiving the training request information sent by the client, the server may determine, according to the training request information, whether the preset training condition is met, that is, whether the user can use the sports competitive application to perform training, and the exercise has been achieved. the goal of.
具体的,在实际应用中,具体的,在实际应用中,用户通过体育竞技应用可以与真实对象进行对练,即体育竞技应用中的其他注册用户,也可以是和虚拟对象进行赛车,以满足不同用户的对练需求。若在对练请求信息中,用户限定与真实对象进行对练,那么由于各个注册用户的对练需求不一致,在冲突的情况下将可能导致用户无法进行对练,则服务端可以根据对练请求信息判断是否满足预设对练条件,该预设对练条件可以由用户进行预置,也可以是服务端以能够满足对练功能的最低要求作为预设对练条件。若在赛车请求信息中,用户未限定与真实对象进行赛车,那么默认为满足预设对练条件,则服务端可以根据对练请求信息通过客户端给用户输出虚拟对象的选择信息,以使得用户可以通过选择虚拟对象进行对练。Specifically, in practical applications, specifically, in practical applications, the user can perform training with the real object through the sports competitive application, that is, other registered users in the sports competitive application, or can perform racing with the virtual object to satisfy Different users' training needs. If the user is limited to the real object in the training request information, the request of the respective registered users is inconsistent, and in the case of a conflict, the user may be unable to perform the training, and the server may perform the request according to the training. The information judges whether the preset training condition is satisfied, and the preset training condition can be preset by the user, or the server can satisfy the minimum requirement of the practicing function as the preset training condition. If the user does not restrict the racing with the real object in the racing request information, the default is to satisfy the preset training condition, and the server may output the selection information of the virtual object to the user through the client according to the training request information, so that the user You can do it by selecting a virtual object.
104、结束流程;104. End the process;
若服务端根据对练请求信息判断不满足预设对练条件,则可以不进行其它操作,使得用户无法通过客户端进行对练,即结束流程。If the server determines that the preset training conditions are not met according to the training request information, the server may not perform other operations, so that the user cannot perform the training through the client, that is, the process ends.
可以理解的是,在实际应用中,若无法进行对练,则服务端可以向客户端发送对练请求失败信息,使得客户端可以对用户进行相应的提醒。It can be understood that, in actual application, if the training cannot be performed, the server may send a request failure request information to the client, so that the client can perform corresponding reminding to the user.
105、服务端将对练响应信息发送至客户端;105. The server sends the response information to the client.
若服务端根据对练请求信息判断满足预设对练条件,则说明用户可以通过客户端进行对练,那么服务端可以将对练响应信息发送至客户端。If the server determines that the preset training conditions are met according to the training request information, the user can perform the training through the client, and the server can send the response information to the client.
106、客户端根据对练响应信息开启对练功能,并获取智能穿戴设备采集的用户的目标身体部位的实时运动数据;106. The client starts the training function according to the training response information, and acquires real-time motion data of the target body part of the user collected by the smart wearable device;
客户端接收服务端发送的对练响应信息后,可以开启对练功能,并可以获取智能穿戴设备采集的用户的目标身体部位的实时运动数据,其中,智能穿戴设备与客户端通信连接。After receiving the response information sent by the server, the client can enable the pairing function and obtain real-time motion data of the target body part of the user collected by the smart wearable device, wherein the smart wearable device is in communication with the client.
具体的,在实际应用中,智能穿戴设备可以应用于用户的各个身体部位,如手臂,如腿部,具体类型可以包括但不限于智能手环等,该智能穿戴设备在用户即将开始对练前,即在客户端开启对练功能前与客户端进行通信连接,以方便进行数据传输。当客户端根据对练响应信息开启对练功能时,可以对用户进行提示,以使得用户可以做好对练准备,同时客户端也可以对智能穿戴设备发送相应的信息,通知智能穿戴设备开始进行数据采集。Specifically, in practical applications, the smart wearable device may be applied to various body parts of the user, such as an arm, such as a leg. The specific type may include, but is not limited to, a smart wristband, etc., before the user starts to practice the smart wear device. That is, the client communicates with the client before the client opens the training function to facilitate data transmission. When the client opens the training function according to the response information, the user can be prompted to make the user ready for training, and the client can also send corresponding information to the smart wearable device to notify the smart wearable device to start. data collection.
例如,假设用户选择的目标对练项目为羽毛球,那么用户可以戴有智能手环,该智能手环可以与客户端通过蓝牙连接,在客户端提醒用户开始进行对练时,用户可以如往常进行羽毛球的真实运动一样,挥动手臂,此时智能手环可以采集用户的手臂的实时运动数据。进一步的,由于在进行羽毛球的运功过程中,用户也会进行腿部运动,如跳跃,如快跑,则为了提高用户的真实感受,用户还可以戴有检测脚部运动功能的智能穿戴设备,该智能穿戴设备也可以与客户端通过蓝牙连接,以完成与客户端之间的数据传输。需要说明的是,本实施例中的智能手环以及蓝牙连接仅是举例说明,在实际应用中,还可以通过其它方式进行数据采集以及数据传输,具体此处不做限定。For example, if the target selected by the user is badminton, the user can wear a smart bracelet, and the smart bracelet can be connected with the client through Bluetooth. When the client reminds the user to start the training, the user can proceed as usual. Like the real movement of badminton, waving the arm, the smart bracelet can collect real-time motion data of the user's arm. Further, since the user also performs leg movements during the movement of the badminton, such as jumping, such as running, in order to improve the user's real feeling, the user can also wear a smart wearing device that detects the movement of the foot. The smart wearable device can also be connected to the client via Bluetooth to complete data transmission with the client. It should be noted that the smart wristband and the Bluetooth connection in this embodiment are only examples. In actual applications, data collection and data transmission may be performed in other manners, which is not limited herein.
可以理解的是,在实际应用中,客户端在接收到智能穿戴设备采集的实时运动数据后,也可以根据该实时运动数据对用户消耗的能量进行计算,并可以在对练结束后,提示用户在该次对练中消耗的总能量,以激励用户积极有效地进行锻炼。It can be understood that, in practical applications, after receiving the real-time motion data collected by the smart wearable device, the client may also calculate the energy consumed by the user according to the real-time motion data, and may prompt the user after the training ends. The total energy consumed in the pair exercises to encourage the user to exercise actively and effectively.
需要说明的是,本实施例中开启对练功能即意味着用户开始进行对练,此处说明之后,在后面即不再重复说明。It should be noted that, in the embodiment, the function of turning on the training means that the user starts to perform the training. After the description here, the description will not be repeated later.
本实施例中的实时运动数据可以包括但不限于目标身体部位的运动速度和运动轨迹。The real-time motion data in this embodiment may include, but is not limited to, a motion speed and a motion trajectory of the target body part.
107、客户端将实时运动数据发送至服务端;107. The client sends real-time motion data to the server;
客户端获取用户的目标身体部位的实时运动数据后,可以将实时运动数据发送至服务端。After the client obtains the real-time motion data of the target body part of the user, the real-time motion data can be sent to the server.
108、服务端根据实时运动数据计算实时对练信息;108. The server calculates real-time training information according to real-time motion data;
服务端在接收到客户端发送的实时运动数据后,可以根据实时运动数据计算实时对练信息。After receiving the real-time motion data sent by the client, the server can calculate the real-time training information according to the real-time motion data.
具体的,在实际应用中,若用户与真实对象进行对练,那么服务端可以获取所有对练对象的实时运动数据,则服务端不仅可以将对应的实时运动数据转换成各个对练对象在体育竞技应用中对应的虚拟人物的运动状态,而且服务端可以对所有对练对象的实时运动数据进行分析与比较,得到实时对练信息。若用户与虚拟对象进行对练,那么服务端在获取用户的目标身体部位的实时运动数据后,可以根据虚拟对象的运动数据进行转换,以实现用户的实时运动数据与虚拟对象的运动数据的分析与比较,得到实时对练信息。Specifically, in practical applications, if the user and the real object are paired, the server can obtain real-time motion data of all the training objects, and the server can not only convert the corresponding real-time motion data into individual pairs of training objects in sports. The motion state of the corresponding virtual character in the competitive application, and the server can analyze and compare all the real-time motion data of the training object to obtain real-time training information. If the user and the virtual object are paired, the server may perform the conversion according to the motion data of the virtual object after acquiring the real-time motion data of the target body part of the user, so as to realize the real-time motion data of the user and the motion data of the virtual object. Compared with, get real-time training information.
例如,假设用户与真实对象进行一对一的羽毛球对打,若此时用户为发球对象,那么通过接收的用户的目标身体部位的实时运动数据,可以确定当前的羽毛球对练中虚拟羽毛球的运动轨迹,同时通过真实对象的实时运动数据可以确定真实对象是否可以接到该虚拟羽毛球,从而得到了用户的实时对练信息,并可以从中体现虚拟羽毛球的运动信息。For example, suppose that the user performs a one-on-one badminton match with the real object. If the user is the serving object at this time, the real badminton training in the actual badminton training can be determined by the real-time motion data of the target body part of the user received. The trajectory, at the same time, can determine whether the real object can be connected to the virtual badminton through the real-time motion data of the real object, thereby obtaining the real-time training information of the user, and can represent the motion information of the virtual badminton.
可以理解的是,服务端可以对实时赛车信息进行记录,以在赛车结束后能够确定赛车结果。Understandably, the server can record real-time racing information to determine the outcome of the car after the car is over.
109、服务端将实时对练信息反馈至客户端;109. The server will feedback the training information to the client in real time;
本实施例中,服务端计算实时对练信息后,可以将实时对练信息反馈至客户端。In this embodiment, after the server calculates the real-time training information, the real-time training information can be fed back to the client.
110、客户端在目标对练场景中输出实时对练信息,以使得用户根据实时对练信息调整实时运动数据。110. The client outputs real-time training information in the target-pairing scenario, so that the user adjusts the real-time motion data according to the real-time training information.
客户端接收到服务端发送的实时对练信息后,可以在目标对练场景中输出实时对练信息,以使得用户可以根据实时对练信息调整实时运动数据。After receiving the real-time training information sent by the server, the client may output the real-time training information in the target training scenario, so that the user can adjust the real-time motion data according to the real-time training information.
在实际应用中,客户端在开启对练功能后,在用户进行一系列对练动作时,客户端与服务端之间的数据传输应同步体现,使得用户当前的运动状态符合目标对练项目,且客户端可以在目标对练场景中输出用户的实时对练信息。具体的,客户端可以通过多媒体等适应于体育项目的方式输出实时对练信息,以提高用户的视觉感受,且用户不仅可以看到自身的实时对练情况,也可以看到对练对手的对练情况,从而可以根据实时对练信息及时对实时运动数据进行调整。例如,假设用户与真实对象进行一对一的羽毛球对打,那么在与羽毛球运动对应的目标对练场景中,用户与真实对象可以分别有对应的虚拟人物A和B,若此时A的分数落后于B,那么A可以通过改变手臂的运动方向、运动速度等方式重挫B,以拉高自身的分数,从而使得用户在进行羽毛球对练的过程中锻炼了身体,也享受了羽毛球运动的乐趣。In the actual application, after the client starts the pairing function, when the user performs a series of pairing exercises, the data transmission between the client and the server should be synchronized, so that the current state of motion of the user meets the target pairing practice. And the client can output the real-time pairing information of the user in the target pairing practice scene. Specifically, the client can output the real-time training information through multimedia or the like in a manner suitable for the sports item, so as to improve the user's visual experience, and the user can not only see the real-time training situation of the user, but also can see the pair of practicing opponents. Practice the situation, so that real-time motion data can be adjusted in time according to the real-time training information. For example, if the user performs a one-on-one badminton match with the real object, then in the target pairing scene corresponding to the badminton game, the user and the real object may have corresponding virtual characters A and B respectively, if the score of A at this time Behind B, then A can tumble B by changing the direction of movement of the arm, speed of movement, etc., in order to increase the score of the player, so that the user can exercise the body during the badminton training and enjoy the badminton. pleasure.
本实施例中,用户可以将智能穿戴设备与客户端进行绑定,并可以在客户端开启对练功能的情况下,与真实对象或虚拟对象进行某体育项目的对练,且客户端在目标对练场景中可以反馈真实的实时对练情况,使得用户即使在单人空间进行锻炼,也可以实现与真实对象或虚拟对象进行对练的乐趣,进一步提升了用户锻炼身体的挑战性,并丰富了用户锻炼身体的锻炼方式。In this embodiment, the user can bind the smart wearable device to the client, and can perform a pair of sports items with the real object or the virtual object when the client opens the training function, and the client is at the target. In the practice scene, the real-time real-time training situation can be feedback, so that even if the user exercises in the single-person space, the user can realize the fun of practicing with the real object or the virtual object, further enhancing the challenge of the user to exercise and enriching. The way the user exercised.
需要说明的是,本实施例中可以建立对练群组,以使得用户可以在对练群组中发起对练请求信息,下面进行具体说明:It should be noted that, in this embodiment, a pairing group may be established, so that the user may initiate the training request information in the training group, which is specifically described below:
请参阅图2,本发明实施例中锻炼实现方法另一实施例包括:Referring to FIG. 2, another embodiment of the exercise implementation method in the embodiment of the present invention includes:
201、客户端获取用户的个人属性信息;201. The client obtains personal attribute information of the user.
本实施例中,客户端装有相关的体育竞技应用后,用户可以通过客户端在服务端进行注册,成为体育竞技应用的注册用户,并可以进一步完善自身的个人属性信息,则客户端可以获取用户的个人属性信息,以较好地实现对练功能,该个人属性信息可以包括用户擅长的体育项目、对应的体育项目的水平、对应的体育项目的运动时长、用户的年龄等信息。In this embodiment, after the client is equipped with the relevant sports competitive application, the user can register on the server through the client, become a registered user of the sports competitive application, and can further improve his personal attribute information, and the client can obtain The user's personal attribute information is used to better implement the pairing function. The personal attribute information may include information such as the sports item that the user is good at, the level of the corresponding sports item, the duration of the corresponding sports item, and the age of the user.
202、客户端将个人属性信息发送至服务端;202. The client sends the personal attribute information to the server.
本实施例中,客户端获取用户的个人属性信息后,可以将个人属性信息发送至服务端。In this embodiment, after the client obtains the personal attribute information of the user, the client may send the personal attribute information to the server.
203、服务端根据个人属性信息建立目标对练群组;203. The server establishes a target pairing group according to the personal attribute information.
服务端接收到客户端发送的个人属性信息后,可以根据个人属性信息建立目标对练群组。After receiving the personal attribute information sent by the client, the server may establish a target pairing group according to the personal attribute information.
具体的,对应的体育竞技应用中可以有多个注册用户,各个注册用户的个人属性信息可以不一致。为了在目标对练群组中可能实现的对练具有公平一致性,可以根据个人属性信息中用户擅长的体育项目、对应的体育项目的水平、对应的体育项目的接触时间、用户的年龄来建立目标对练群组,例如,体育竞技应用中有A、B、C、D、E五位注册用户,该五位注册用户的个人属性信息如表1所示。Specifically, there may be multiple registered users in the corresponding sports competitive application, and the personal attribute information of each registered user may be inconsistent. In order to achieve fairness and consistency in the target pairing practice group, the user may be based on the sports item that the user is good at, the level of the corresponding sports item, the contact time of the corresponding sports item, and the age of the user. The target pairing group, for example, the sports competition application has five registered users A, B, C, D, and E. The personal attribute information of the five registered users is shown in Table 1.
表1Table 1
擅长项目Good at projects 水平Level 接触时间Contact time 年龄age
AA 羽毛球badminton 中等medium 10年10 years 3030
BB 乒乓球pingpong 高等higher 15年15 years 2626
CC 篮球basketball 中上Middle and upper 8年8 years 1818
DD 羽毛球badminton 中上Middle and upper 13年13 years 2828
EE 网球tennis 中等medium 6年6 years 2525
从上表中的信息可以得知,B和D两位注册用户擅长的体育项目一致,水平、接触时间、年龄相差不大,从而可以以B和D建立目标对练赛车群组。It can be known from the information in the above table that the sports items that B and D registered users are good at are consistent, and the level, contact time and age are not much different, so that the target pair can be established with B and D.
可以理解的是,本实施例仅以上述一个例子说明了服务端根据个人属性信息建立目标对练群组的具体方式,在实际应用中,还可以根据其它方式建立目标对练群组,如服务端可以将用户所在的地理位置与擅长项目这两个因素相结合,以此建立目标对练群组,具体建立方式此处不做限定。It can be understood that the embodiment only illustrates the specific manner in which the server establishes a target pairing group according to the personal attribute information. In actual applications, the target pairing group may also be established according to other methods, such as a service. The terminal can combine the two factors of the user's geographical location and the good project to establish a target pairing group. The specific establishment method is not limited here.
进一步的,本实施例中,目标对练群组在建立之后,服务端可以保存该目标对练群组,且在用户的个人属性信息改变时,服务端可以更新该目标对练群组,以给用户分配较为合适的对练群组。Further, in this embodiment, after the target pairing group is established, the server may save the target pairing group, and when the user's personal attribute information is changed, the server may update the target pairing group, Assign users a more appropriate pairing group.
204、服务端将目标对练群组对应的对练群组信息反馈至客户端;204. The server feeds back the pairing group information corresponding to the training group to the client.
本实施例中,服务端根据个人属性信息建立目标对练群组后,可以将目标对练群组对应的对练群组信息反馈至客户端。In this embodiment, after the server establishes the target pairing group according to the personal attribute information, the server may feed back the pairing group information corresponding to the target group to the client.
具体的,对练群组信息可以包括但不限于组员人数、各个组员对应的个人属性信息、各个组员的在线信息、各个组员的对练记录信息,客户端在接收该对练群组信息后,可以将该对练群组信息反馈给用户,从而用户可以通过该对练群组信息了解其他组员的基本情况,并可以依据该对练群组信息向客户端发起对练请求信息。Specifically, the group information may include, but is not limited to, the number of group members, the personal attribute information corresponding to each group member, the online information of each group member, and the pairing information of each group member, and the client receives the pair of training groups. After the group information, the pairing group information can be fed back to the user, so that the user can learn the basic situation of the other group members through the pairing group information, and can initiate a training request to the client according to the pairing group information. information.
本实施例中的步骤205至步骤206与图1所示实施例中的步骤101至102相同,此处不再赘述。Steps 205 to 206 in this embodiment are the same as steps 101 to 102 in the embodiment shown in FIG. 1, and details are not described herein again.
207、服务端判断对练请求信息是否包括真实对象限制条件,若否,则执行步骤210,若是,则执行步骤208;207, the server determines whether the training request information includes a real object restriction condition, if not, then proceeds to step 210, and if so, proceeds to step 208;
本实施例中,服务端接收到客户端发送的对练请求信息后,可以对对练请求信息进行解析,并判断对练请求信息是否包括真实对象限制条件,即用户是否要求与真实对象进行对练。In this embodiment, after receiving the training request information sent by the client, the server may parse the training request information, and determine whether the training request information includes a real object restriction condition, that is, whether the user requests to perform a pair with the real object. practice.
208、服务端在目标对练群组广播对练请求信息,并判断响应的对练人数是否大于预设阈值,若否,则执行步骤209,若是,则执行步骤210;208, the server broadcasts the pairing request information in the target pairing group, and determines whether the number of responding pairs is greater than a preset threshold, and if not, executing step 209, and if yes, executing step 210;
若服务端判断对练请求信息包括真实对象限制条件,那么服务端可以在目标对练群组广播对练请求信息,使得目标对练群组中除用户本身之外的其他在线组员均可以接收到该对练请求信息,其他在线成员接收到该对练请求信息后,若有兴趣参与对练,那么可以响应该对练请求信息,并通知服务端,则服务端可以对响应的对练人数进行统计,并可以判断响应的参赛人数是否大于预设阈值。If the server determines that the training request information includes a real object restriction condition, the server may broadcast the training request information in the target pairing group, so that other online members other than the user itself in the target pairing group can receive After the pairing request information is received, the other online members can participate in the training request information, and if they are interested in participating in the training, they can respond to the training request information and notify the server, and the server can respond to the number of participants. Statistics are performed and it can be judged whether the number of participants in the response is greater than a preset threshold.
本实施例中,为了使得用户可以选择合适的对练对象,预设阈值可以由用户在客户端设定,该预设阈值可以携带在赛车请求信息中,若用户不对预设阈值进行设定,服务端也可以自行定义该预设阈值,如以对练的最低目标人数为预设阈值,如若目标对练项目为羽毛球一对一对打,则预设阈值可以为2,若目标对练项目为羽毛球二对二双打,则预设阈值可以为4,也可以根据目标赛车群组的组员人数进行设定,具体此处不做限定。In this embodiment, in order to enable the user to select an appropriate pair of training objects, the preset threshold may be set by the user on the client, and the preset threshold may be carried in the racing request information. If the user does not set the preset threshold, The server may also define the preset threshold by itself, for example, the minimum target number of the pair is a preset threshold. If the target pair is a pair of badminton, the preset threshold may be 2, if the target is paired For the second to second pair of badminton, the preset threshold may be 4, or may be set according to the number of members of the target racing group, which is not limited herein.
209、结束流程;209. End the process;
若服务端响应的对练人数不大于预设阈值,则可以不进行其它操作,使得用户无法通过客户端进行对练,即结束流程。但相应的,服务端可以通知客户端对练请求失败,客户端可以反馈给用户,并可以建议用户采取其它可行的对练模式。If the number of participants in the server response is not greater than the preset threshold, no other operations may be performed, so that the user cannot perform the training through the client, that is, the process ends. Correspondingly, the server can notify the client that the request for the training fails, the client can feedback to the user, and can suggest that the user adopt other feasible training modes.
本实施例中的步骤210与图1所示实施例中的步骤105相同,此处不再赘述。Step 210 in this embodiment is the same as step 105 in the embodiment shown in FIG. 1, and details are not described herein again.
可以理解的是,本实施例中,若服务端判断对练请求信息不包括真实对象限制条件,那么服务端可以默认用户可以进行对练,使得用户可以和虚拟对象进行对练。It can be understood that, in this embodiment, if the server determines that the training request information does not include the real object restriction condition, the server may perform the pairing exercise by the default user, so that the user can perform the training with the virtual object.
211、客户端将对练场景请求信息发送至服务端;211. The client sends the request information of the training scenario to the server.
本实施例中,为了提高用户的对练感受和锻炼的积极性,客户端可以将对练场景请求信息发送至服务端。In this embodiment, in order to improve the enthusiasm of the user and the enthusiasm of the exercise, the client may send the training scenario request information to the server.
可以理解的是,本实施例中对练场景请求信息的发送可由用户的某一操作触发,也可以是客户端自发进行,具体此处不做限定。It can be understood that, in this embodiment, the sending of the request information of the training scenario may be triggered by a certain operation of the user, or may be performed by the client spontaneously, which is not limited herein.
212、服务端根据对练场景请求信息将对练场景选择信息发送至客户端;212. The server sends the training scenario selection information to the client according to the training scenario request information.
服务端接收到客户端发送的对练场景请求信息后,可以调取预先设置的对练场景,并可以将与目标对练项目对应的所有对练场景打包封装成对练场景选择信息后发送至服务端。After receiving the request information of the training scenario sent by the client, the server may retrieve the preset training scenario, and package and package all the training scenarios corresponding to the target training project into the pairing scenario selection information, and then send the message to the pairing scenario selection information. Server.
可以理解的是,对练场景选择信息也可以只包括服务端存储的与目标对练项目对应的部分对练场景,如在对练场景请求信息中限定为室内对练场景,那么服务端发送的对练场景选择信息则可以只包括与目标对练项目对应的室内对练场景这一类别的选择信息。It can be understood that the training scene selection information may only include a part of the pairing practice scene corresponding to the target pairing practice item stored in the server, for example, in the training scene request information, which is limited to the indoor pairing scene, then the server sends the information. The training scene selection information may include only the selection information of the category of the indoor pairing scene corresponding to the target pairing practice item.
213、客户端输出对练场景选择信息;213. The client outputs the selection information of the training scene;
客户端接收服务端发送的对练场景选择信息后,可以输出对练场景选择信息,以供用户选择。After receiving the pairing scenario selection information sent by the server, the client may output the pairing scenario selection information for the user to select.
具体的,赛车场景选择信息可以通过诸如多媒体、图片等方式进行输出,如以图片的方式从左到右依次排列,且排列的图片可以左右滑动,以方便操作,还可以通过短视频的方式对各个对练场景进行介绍,使得用户可以充分了解各个对练场景。Specifically, the racing scene selection information may be output through a manner such as multimedia, a picture, etc., such as being arranged from left to right in a picture manner, and the arranged pictures may be slid left and right for convenient operation, and may also be operated by short video. Each pair of training scenarios is introduced, so that users can fully understand each pair of training scenarios.
214、客户端获取用户根据对练场景信息反馈的目标对练场景;214. The client obtains a target training scenario according to the feedback of the training scenario information by the user.
客户端输出对练场景选择信息后,用户可以根据对练场景选择信息对其中的对练场景进行选择,选定某一目标对练场景后,可以将该目标对练场景反馈至客户端,则客户端可以获取该目标对练场景。After the client outputs the training scene selection information, the user can select the training scene according to the training scene selection information. After selecting a target pair training scene, the target training scene can be fed back to the client. The client can obtain the target pairing scenario.
本实施例中的步骤215至步骤216与图1所示实施例中的步骤106至步骤107相同,此处不再赘述。Steps 215 to 216 in this embodiment are the same as steps 106 to 107 in the embodiment shown in FIG. 1, and details are not described herein again.
可以理解的是,本实施例中的步骤211至步骤214也可以在步骤210之前执行,还可以在步骤107之前执行,只要能够在客户端发送实时运动数据之前执行即可,具体此处不做限定。It can be understood that steps 211 to 214 in this embodiment may also be performed before step 210, and may also be performed before step 107, as long as it can be executed before the client sends real-time motion data, specifically not here. limited.
217、服务端通过解析实时运动数据确定目标身体部位的运动速度和运动轨迹;217. The server determines the motion speed and the motion trajectory of the target body part by analyzing the real-time motion data.
本实施例中,服务端在接收客户端发送用户的目标身体部位的实时运动数据后,可以对目标身体部位的实时运动数据进行解析,并可以确定目标身体部位的运动速度和运动轨迹In this embodiment, after receiving the real-time motion data of the target body part of the user, the server can analyze the real-time motion data of the target body part, and can determine the motion speed and the motion track of the target body part.
例如,假设用户的手臂上带有智能手环,用户正在由后向前进行挥臂动作,那么服务端通过解析接收到的实时运动数据,可以确定用户的手臂的运动轨迹为由后向前,并可以确定这一挥臂动作的速度。For example, if the user has a smart bracelet on his arm and the user is performing a swinging motion from the back to the front, the server can determine that the motion track of the user's arm is backward and forward by analyzing the received real-time motion data. And can determine the speed of this swing arm movement.
可以理解的是,在实际应用中,服务端除了确定目标身体部位的运动速度和运动轨迹外,还可以确定目标身体部位的运动时间等其它实时运动数据,具体此处不做限定。It can be understood that, in practical applications, in addition to determining the motion speed and the motion trajectory of the target body part, the server can determine other real-time motion data such as the motion time of the target body part, which is not limited herein.
218、服务端按照第三预设规则量化目标身体部位的运动速度和运动轨迹,得到实时对练信息;218. The server quantizes the motion speed and the motion trajectory of the target body part according to the third preset rule, and obtains real-time training information;
服务端确定目标身体部位的运动速度和运动轨迹后,可以按照第三预设规则量化目标身体部位的运动速度和运动轨迹,得到实时对练信息。After the server determines the motion speed and the motion trajectory of the target body part, the motion speed and the motion trajectory of the target body part can be quantified according to the third preset rule, and real-time training information is obtained.
具体的,在实际应用中,若用户与真实对象进行对练,一方面,服务端可以直接将用户的目标身体部位的运动速度和运动轨迹与真实对象对应的数据信息进行比较,以获得目标对练项目的当前进行状态,从而可以得到实时对练信息,如用户与真实对象进行一对一的羽毛球对打,那么通过对用户以及真实对象的手臂的运动速度和运动轨迹的对比,可以确定目标对练项目中虚拟羽毛球的的运动信息,如在空中的运动轨迹或用户是否接到羽毛球等信息,从而可以得到实时对练信息。另一方面,服务端也可以将用户的目标身体部位的运动速度和运动轨迹进行相应的处理,如用户与真实对象进行一对一的S形滑板运动,那么服务端通过对用户的脚部的运动速度和运动轨迹进行减弱处理,即用户在经过虚拟的S弯时,本来可以只往右一小步便能完成,但为了加强用户的锻炼力度,需要用户往右一大步才能完成,由此用户真实的运动速度和运动轨迹经服务端处理后弱化了,用户的对练对手的目标部位的运动速度和运动轨迹的处理同样如此,从而可以得到实时对练信息。此外,若用户与虚拟对象进行对练,那么服务端在获取目标部位的运动速度和运动轨迹后,可以根据虚拟对象的虚拟虚拟运动速度和虚拟运动轨迹进行量化,以实现用户的运动速度与虚拟对象的虚拟运动速度,以及用户的运动轨迹与虚拟对象的虚拟运动轨迹的比较,从而可以得到实时对练信息,并可以在目标对练场景中体现该实时赛车信息。Specifically, in practical applications, if the user performs training with the real object, on the one hand, the server can directly compare the motion speed and the motion trajectory of the target body part of the user with the data information corresponding to the real object to obtain the target pair. The current state of the project is practiced, so that real-time training information can be obtained. For example, if the user and the real object perform a one-on-one badminton match, the target can be determined by comparing the movement speed and the movement track of the user and the real object's arm. For the sports information of the virtual badminton in the training project, such as the movement track in the air or whether the user receives the badminton and other information, the real-time training information can be obtained. On the other hand, the server can also process the movement speed and the movement trajectory of the target body part of the user, for example, the user performs a one-to-one S-shaped skateboard movement with the real object, and then the server passes the user's foot. The movement speed and the movement track are weakened, that is, when the user passes the virtual S-bend, the user can only complete the small step to the right, but in order to strengthen the user's exercise intensity, the user needs to take a big step to the right to complete. The real motion speed and motion trajectory of the user are weakened by the server, and the user's processing speed and motion trajectory of the opponent's target part are also processed, so that real-time training information can be obtained. In addition, if the user performs the pairing with the virtual object, the server can quantize the virtual virtual motion speed and the virtual motion trajectory of the virtual object after acquiring the motion speed and the motion trajectory of the target part, so as to realize the user's motion speed and virtuality. The virtual motion speed of the object, and the comparison of the user's motion trajectory with the virtual motion trajectory of the virtual object, can obtain real-time training information, and can reflect the real-time racing information in the target pairing scene.
可以理解的是,本实施例中服务端按照第三预设规则量化运动速度和运动轨迹,得到实时对练信息的具体方式除了上述说明的内容,在实际应用中,还可以是采用其它方式,只要使得能够依据于用户的目标身体部位的运动速度和运动轨迹得到实时对练信息即可,具体此处不做限定。It can be understood that, in this embodiment, the server adjusts the motion speed and the motion trajectory according to the third preset rule, and obtains the real-time training information. In addition to the content described above, in actual applications, other methods may also be used. The real-time training information can be obtained according to the motion speed and the motion trajectory of the target body part of the user, which is not limited herein.
需要说明的是,本实施例中用户在目标场景中对应的虚拟人物,以及该虚拟人物的对练情况的体现方式可以与现有技术一样,具体此处不再赘述。It should be noted that, in this embodiment, the avatar corresponding to the user in the target scenario and the avatar of the avatar may be the same as the prior art, and details are not described herein again.
本实施例中的步骤219至步骤220与图1所示实施例中的步骤109至步骤110相同,此处不再赘述。Steps 219 to 220 in this embodiment are the same as steps 109 to 110 in the embodiment shown in FIG. 1, and details are not described herein again.
221、服务端根据实时运动数据和第一预设规则确定对练结果信息;221. The server determines the training result information according to the real-time motion data and the first preset rule.
本实施例中,服务端可以实时向客户端发送实时对练信息,在对练结束后,还可以根据实时对练信息和第一预设规则确定对练结果信息。In this embodiment, the server can send the real-time training information to the client in real time. After the training is completed, the training result information can be determined according to the real-time training information and the first preset rule.
具体的,在实际应用中,在实际应用中,不同的体育项目可以设有不同的对练规则,如若目标对练项目为跑步,可以以跑步里程为对练规则,如若目标对练项目为羽毛球,则可以以羽毛球分数为对练规则,那么可以从实时赛车信息中获取用户的在对练规则下的对练结果,可以确定用户的对练结果信息,该对练结果信息可以包括但不限于对应的体育项目的对练时间、对练排名、对练分数。Specifically, in practical applications, in actual applications, different sports items may have different training rules. For example, if the target is a running item, the running mileage may be used as a pairing practice rule, if the target pairing practice item is badminton. , the badminton score can be used as a pairing rule, then the user's training result under the pairing rules can be obtained from the real-time racing information, and the user's pairing result information can be determined, and the pairing result information can include but is not limited to Corresponding sports time, training level, and training scores.
例如,假设用户与真实对象进行一对一的羽毛球对打,那么在与羽毛球运动对应的目标对练场景中,用户与真实对象可以分别有对应的虚拟人物A和B,通过记录的所有实时对练信息,可以分别确定A和B的对练分数、对练时间,并可以依据对练分数确定A和B的对练排名。For example, if the user performs a one-on-one badminton match with the real object, then in the target pairing scene corresponding to the badminton game, the user and the real object may have corresponding virtual characters A and B, respectively, through all the real-time pairs recorded. The training information can determine the pairing scores and the training time of A and B respectively, and can determine the pairing rankings of A and B based on the training scores.
可以理解的是,本实施例中服务端根据实时赛车信息和第一预设规则确定赛车结果信息的具体方式除了上述说明的内容,在实际应用中,还可以采用其它方式,只要使得能够确定用户最终的对练结果信息即可,具体此处不做限定。It can be understood that, in this embodiment, the specific manner in which the server determines the racing result information according to the real-time racing information and the first preset rule. In addition to the content described above, in practical applications, other methods may be adopted as long as the user is determined. The final result of the training results can be, which is not limited here.
222、服务端将对练结果信息反馈至客户端;222. The server feeds back the training result information to the client.
本实施例中,服务端确定对练结果信息后,可以将对练结果信息反馈至客户端。In this embodiment, after the server determines the training result information, the training result information may be fed back to the client.
223、客户端输出赛车结果信息。223. The client outputs the racing result information.
客户端接收到服务端发送的对练结果信息后,客户端可以输出对练结果信息。After the client receives the training result information sent by the server, the client can output the training result information.
具体的,在实际应用中,客户端可以以多种方式输出对练结果信息,以增加体育竞技应用的趣味性,如通过多媒体、图片等较为直观的方式向用户展示对练结果信息。Specifically, in practical applications, the client can output the training result information in various ways to increase the interest of the sports competitive application, such as displaying the training result information to the user through a more intuitive manner such as multimedia or pictures.
进一步的,本实施例中,为了提高体育竞技应用的竞争力,加强用户锻炼的积极性,提升用户的对练感受,选择性地,服务端还可以根据对练结果信息和第二预设规则确定对练积分信息,例如,假设本次对练包括用户本人共有三名对练人员A、B、C,目标对练项目为跑步,则在对应的对练中,跑步里程最长的可以获得100积分,次之可以获得95积分,再次之可以获得80积分,则若根据对练结果信息对练人员A,即用户本人的跑步里程为第2,则可以确定用户本人的本次对练积分为95,那么可以将该对练积分信息反馈至客户端,客户端在接收用户的对练积分信息后,可以输出对练积分信息,使得用户知悉在本次对练中的积分,同时,客户端可以记录该积分,并可以与之前参与的该目标对练项目的对练积分进行累加,输出累加后的总积分。Further, in this embodiment, in order to improve the competitiveness of the sports competitive application, strengthen the enthusiasm of the user, and enhance the user's feelings of training, the server may also be determined according to the training result information and the second preset rule. For the training points information, for example, suppose that the current training includes the user owning three pairs of training personnel A, B, C, and the target training program is running, then in the corresponding training, the longest running mileage can be obtained 100. Integral, secondly, you can get 95 points, and you can get 80 points again. If you follow the training result information, the training person A, that is, the user's own running mileage is the second, you can determine that the user's own training points are 95, then the pair of training points information can be fed back to the client, after receiving the user's pairing point information, the client can output the pairing point information, so that the user knows the points in the training, and the client The score can be recorded, and the paired points of the target pair of training items previously participated can be accumulated, and the accumulated total points are output.
可以理解的是,本实施例中对练积分信息的输出可以在对练结果信息的输出之后,也可以在之前,还可以同时输出,具体此处不做限定。It can be understood that, in this embodiment, the output of the training integral information may be outputted after the output of the training result information, or may be outputted at the same time, which is not limited herein.
更进一步的,在实际应用中,服务端的网络运营商可以与各个体育项目对应的品牌商建立合作关系,例如,用户可以通过积分与目标对练项目对应的品牌的厂商或专卖店获取优惠服务,如尊享会员优惠价购买体育产品,积分越高,则用户获取的优惠力度越大。Further, in practical applications, the network operator of the server can establish a cooperative relationship with the brand corresponding to each sports item. For example, the user can obtain preferential services through the brand or the specialty store of the brand corresponding to the target and the training item. If you enjoy the member discount price to buy sports products, the higher the score, the greater the discount the user gets.
可以理解的是,在实际应用中,除了通过对练积分提高用户进行锻炼的积极性,还可以采用其它方式单独或结合使用,如根据对练排名赠送抽奖机会,具体此处不做限定。It can be understood that, in practical applications, in addition to improving the enthusiasm of the user to exercise by practicing the points, other methods may be used alone or in combination, for example, according to the ranking of the training, the lucky draw opportunity is given, which is not limited herein.
请参阅图3,本发明实施例中赛车实现方法另一实施例包括:Referring to FIG. 3, another embodiment of a method for implementing a racing car in an embodiment of the present invention includes:
301、客户端获取用户建立的自定义对练群组信息;301. The client obtains the customized pairing group information established by the user.
本发明实施例中,不同于上述图2所示实施例中服务端根据用户的个人属性信息建立目标对练群组的方式,在实际应用中,用户为了提高锻炼难度,增加对练挑战,那么用户可以在客户端建立自定义对练群组,即客户端可以获取用户建立的自定义对练群组信息,并使得用户可以根据该自定义赛车群组信息向客户端发起赛车请求信息。例如,用户并不太擅长网球,但想要在锻炼的过程中接触一些网球知识,那么可以与也想要进行网球对练的真实对象建立目标对练群组,可以理解的是,自定义对练群组信息的具体分组方式可由用户决定,此处不做限定。In the embodiment of the present invention, different from the method shown in FIG. 2, the server establishes a target pairing group according to the user's personal attribute information. In an actual application, the user increases the difficulty of exercising and increases the challenge of training. The user can establish a custom pairing group on the client, that is, the client can obtain the customized pairing group information established by the user, and enable the user to initiate the racing request information to the client according to the customized racing group information. For example, if the user is not very good at tennis, but wants to touch some tennis knowledge during the exercise, then you can establish a target pair with the real object that also wants to play tennis. It is understandable that the custom pair The specific grouping manner of the group information can be determined by the user, and is not limited herein.
本实施例中的步骤302至步骤320与图2所示实施例中的步骤205至步骤223相同,此处不再赘述。Steps 302 to 320 in this embodiment are the same as steps 205 to 223 in the embodiment shown in FIG. 2, and details are not described herein again.
在图1所示实施例的基础上,图2所示实施例和图3所示实施例分别基于两种不同的目标对练群组的建立方式进行了锻炼实现方法的说明,有利于用户可以自主选择锻炼难度,增加了用户的锻炼体验与积极性,使得锻炼效果可以得到提升。On the basis of the embodiment shown in FIG. 1 , the embodiment shown in FIG. 2 and the embodiment shown in FIG. 3 respectively describe the implementation method of the training group based on two different targets, which is beneficial to the user. The choice of exercise difficulty is self-selected, which increases the user's exercise experience and enthusiasm, so that the exercise effect can be improved.
上面对本发明实施例中的锻炼实现方法进行了描述,下面对本发明实施例中的客户端以及服务端分别进行描述,请参阅图4,本发明实施例中客户端一个实施例包括:The method for implementing the exercise in the embodiment of the present invention is described above. The following describes the client and the server in the embodiment of the present invention. Referring to FIG. 4, an embodiment of the client in the embodiment of the present invention includes:
第一接收模块401,设置为接收用户发起的目标对练项目的对练请求信息;The first receiving module 401 is configured to receive the training request information of the target training item initiated by the user;
第一发送模块401,设置为将对练请求信息发送至服务端,以使得服务端根据对练请求信息判断是否满足预设对练条件;The first sending module 401 is configured to send the training request information to the server, so that the server determines, according to the training request information, whether the preset training condition is met;
第二接收模块403,设置为当满足预设对练条件时,则接收服务端发送的对练响应信息;The second receiving module 403 is configured to receive the training response information sent by the server when the preset training condition is met;
开启模块404,设置为根据对练响应信息开启对练功能;The opening module 404 is configured to enable the training function according to the training response information;
第一获取模块405,设置为获取智能穿戴设备采集的用户的目标身体部位的实时运动数据,智能穿戴设备与客户端通信连接;The first obtaining module 405 is configured to acquire real-time motion data of a target body part of the user collected by the smart wearable device, and the smart wearable device is communicatively connected with the client;
第二发送模块406,设置为将实时运动数据发送至服务端;The second sending module 406 is configured to send real-time motion data to the server;
第三接收模块407,设置为接收服务端根据实时运动数据反馈的实时对练信息;The third receiving module 407 is configured to receive real-time training information fed back by the server according to real-time motion data;
第一输出模块408,设置为在目标对练场景中输出实时对练信息,以使得用户根据实时对练信息调整实时运动数据。The first output module 408 is configured to output real-time training information in the target pairing scenario, so that the user adjusts the real-time motion data according to the real-time training information.
请参阅图5,本发明实施例中客户端另一实施例包括:Referring to FIG. 5, another embodiment of the client in the embodiment of the present invention includes:
第三获取模块501,设置为获取用户的个人属性信息;The third obtaining module 501 is configured to acquire personal attribute information of the user;
第三发送模块502,设置为将个人属性信息发送至服务端;The third sending module 502 is configured to send the personal attribute information to the server;
第三接收模块503,设置为接收服务端反馈的对练群组信息,以使得用户根据对练群组信息发起对练请求信息;The third receiving module 503 is configured to receive the training group information fed back by the server, so that the user initiates the training request information according to the training group information;
本实施例中的模块504与图4所示实施例中的模块401相同,模块505与图4所示实施例中的模块402相同,模块506与图4所示实施例中的模块403相同,此处不再赘述。The module 504 in this embodiment is the same as the module 401 in the embodiment shown in FIG. 4, the module 505 is the same as the module 402 in the embodiment shown in FIG. 4, and the module 506 is the same as the module 403 in the embodiment shown in FIG. I will not repeat them here.
第四发送模块507,设置为将赛车场景请求信息发送至服务端;The fourth sending module 507 is configured to send the racing scene request information to the server;
第四接收模块508,设置为接收服务端根据赛车场景请求信息发送的对练场景选择信息;The fourth receiving module 508 is configured to receive the training scenario selection information sent by the server according to the racing scene request information;
第二输出模块509,设置为输出对练场景选择信息;The second output module 509 is configured to output pairing scene selection information;
第五获取模块510,设置为获取用户根据对练场景信息反馈的目标对练场景。The fifth obtaining module 510 is configured to acquire a target pairing scenario that the user feeds back according to the training scene information.
本实施例中的模块507与图4所示实施例中的模块404相同,模块508与图4所示实施例中的模块405相同,模块509与图4所示实施例中的模块406相同,模块510与图4所示实施例中的模块407相同,模块511与图4所示实施例中的模块408相同,此处不再赘述。The module 507 in this embodiment is the same as the module 404 in the embodiment shown in FIG. 4, the module 508 is the same as the module 405 in the embodiment shown in FIG. 4, and the module 509 is the same as the module 406 in the embodiment shown in FIG. The module 510 is the same as the module 407 in the embodiment shown in FIG. 4, and the module 511 is the same as the module 408 in the embodiment shown in FIG. 4, and details are not described herein again.
第五接收模块512,设置为接收服务端反馈的对练结果信息;The fifth receiving module 512 is configured to receive the training result information fed back by the server;
第三输出模块513,设置为输出对练结果信息;The third output module 513 is configured to output training result information;
第六接收模块514,设置为接收服务端反馈的对练积分信息;The sixth receiving module 514 is configured to receive the training point information fed back by the server;
第四输出模块515,设置为输出对练积分信息。The fourth output module 515 is configured to output the pairing integration information.
需要说明的是,在本发明实施例中客户端的另一实施例中,可以将模块501、模块502和模块503替换成第四获取模块,该第四获取模块设置为获取用户建立的自定义对练群组信息,以使得用户根据自定义对练群组信息发起对练请求信息。由于其他模块相同,因此,此处不再赘述。It should be noted that, in another embodiment of the client in the embodiment of the present invention, the module 501, the module 502, and the module 503 may be replaced with a fourth acquiring module, where the fourth acquiring module is configured to acquire a customized pair established by the user. The group information is practiced, so that the user initiates the training request information according to the customized group information. Since the other modules are the same, they are not described here.
请参阅图6,本发明实施例中服务端一个实施例包括:Referring to FIG. 6, an embodiment of the server in the embodiment of the present invention includes:
第一接收模块601,设置为接收客户端发送的对练请求信息;The first receiving module 601 is configured to receive the training request information sent by the client;
判断模块602,设置为根据对练请求信息判断是否满足预设对练条件;The determining module 602 is configured to determine, according to the training request information, whether the preset training condition is met;
第一发送模块603,设置为当满足预设对练条件时,则将对练响应信息发送至客户端;The first sending module 603 is configured to send the training response information to the client when the preset training condition is met;
第二接收模块604,设置为接收客户端发送的实时运动数据;The second receiving module 604 is configured to receive real-time motion data sent by the client;
计算模块605,设置为根据实时运动数据计算实时对练信息;The calculating module 605 is configured to calculate real-time training information according to the real-time motion data;
第一反馈模块606,设置为将实时对练信息反馈至客户端。The first feedback module 606 is configured to feed back real-time training information to the client.
请参阅图7,本发明实施例中服务端另一实施例包括:Referring to FIG. 7, another embodiment of the server in the embodiment of the present invention includes:
第三接收模块701,设置为接收客户端发送的个人属性信息;The third receiving module 701 is configured to receive personal attribute information sent by the client.
建立模块702,设置为根据个人属性信息建立目标对练群组;The establishing module 702 is configured to establish a target pairing group according to the personal attribute information;
第二反馈模块703,设置为将目标对练群组对应的对练群组信息反馈至客户端。The second feedback module 703 is configured to feed back the pairing group information corresponding to the target pairing group to the client.
本实施例中的模块704与图6所示实施例中的模块601相同,模块705与图6所示实施例中的模块602相同,模块706与图6所示实施例中的模块603相同,此处不再赘述。The module 704 in this embodiment is the same as the module 601 in the embodiment shown in FIG. 6. The module 705 is the same as the module 602 in the embodiment shown in FIG. 6. The module 706 is the same as the module 603 in the embodiment shown in FIG. I will not repeat them here.
第四接收模块707,设置为接收客户端发送的对练场景请求信息;The fourth receiving module 707 is configured to receive the training scenario request information sent by the client.
第二发送模块708,设置为根据对练场景请求信息将对练场景选择信息发送至客户端。The second sending module 708 is configured to send the training scenario selection information to the client according to the training scenario request information.
本实施例中的模块709与图6所示实施例中的模块604相同,模块710与图6所示实施例中的模块605相同,模块711与图6所示实施例中的模块606相同,此处不再赘述。The module 709 in this embodiment is the same as the module 604 in the embodiment shown in FIG. 6. The module 710 is the same as the module 605 in the embodiment shown in FIG. 6. The module 711 is the same as the module 606 in the embodiment shown in FIG. I will not repeat them here.
第一确定模块712,设置为根据实时运动数据和第一预设规则确定对练结果信息;The first determining module 712 is configured to determine the training result information according to the real-time motion data and the first preset rule;
第三反馈模块713,设置为将对练结果信息反馈至客户端;The third feedback module 713 is configured to feed back the training result information to the client;
第二确定模块714,设置为根据对练结果信息和第二预设规则确定对练积分信息;The second determining module 714 is configured to determine the training point information according to the training result information and the second preset rule;
第四反馈模块715,设置为将对练积分信息反馈至客户端。The fourth feedback module 715 is configured to feed back the training point information to the client.
本实施例中,判断模块705可以进一步包括:In this embodiment, the determining module 705 may further include:
第一判断单元7051,设置为判断对练请求信息是否包括真实对象限制条件;The first determining unit 7051 is configured to determine whether the training request information includes a real object restriction condition;
广播单元7052,设置为当包括真实对象限制条件,则在目标对练群组广播对练请求信息;The broadcasting unit 7052 is configured to, when the real object restriction condition is included, broadcast the training request information in the target pairing group;
第二判断单元7053,设置为判断响应的对练人数是否大于预设阈值。The second determining unit 7053 is configured to determine whether the number of pairs of responses is greater than a preset threshold.
本实施例中,计算模块710可以进一步包括:In this embodiment, the calculating module 710 may further include:
确定单元7101,设置为通过解析实时运动数据确定目标身体部位的运动速度和运动轨迹;a determining unit 7101, configured to determine a motion speed and a motion trajectory of the target body part by parsing the real-time motion data;
量化单元7102,设置为按照第三预设规则量化目标身体部位的运动速度和运动轨迹,得到实时对练信息。The quantization unit 7102 is configured to quantize the motion speed and the motion trajectory of the target body part according to the third preset rule to obtain real-time training information.
图8示出了本发明实施例中客户端又一个实施例的结构示意图。FIG. 8 is a schematic structural diagram of still another embodiment of a client in an embodiment of the present invention.
参见图8,为本发明实施例中客户端又一个实施例的结构示意图,在本发明实施例中,所述客户端8包括处理器801、存储器802和收发器803。收发器803用于与外部设备之间收发数据。所述客户端8中的处理器801的数量可以是一个或多个。本发明的一些实施例中,所述处理器801、存储器802和收发器803可通过总线系统或其他方式连接。所述客户端8可以用于执行图1至图3所示的方法。FIG. 8 is a schematic structural diagram of another embodiment of a client in an embodiment of the present invention. In the embodiment of the present invention, the client 8 includes a processor 801, a memory 802, and a transceiver 803. The transceiver 803 is configured to transmit and receive data with and from an external device. The number of processors 801 in the client 8 may be one or more. In some embodiments of the invention, the processor 801, the memory 802, and the transceiver 803 may be connected by a bus system or other means. The client 8 can be used to perform the method illustrated in Figures 1-3.
其中,存储器802中存储程序代码,且所述处理器801可通过总线系统,调用所述存储器802中存储的程序代码以执行相关的功能。例如,图4和图5中所述的各个模块(例如,所述第一获取模块401、所述第一发送模块402、所述第一接收模块403、所述第一开启模块404、所述第一输出模块408等)是存储在所述存储器802中的程序代码,并由所述处理器801所执行,从而实现所述各个单元的功能以执行锻炼实现的方法。Wherein, the program code is stored in the memory 802, and the processor 801 can call the program code stored in the memory 802 through the bus system to perform related functions. For example, the respective modules described in FIG. 4 and FIG. 5 (for example, the first obtaining module 401, the first sending module 402, the first receiving module 403, the first opening module 404, the The first output module 408, etc.) is program code stored in the memory 802 and executed by the processor 801 to implement the functions of the various units to perform a method of exercise implementation.
具体而言,所述处理器801:获取用户发起的目标对练项目的对练请求信息;将所述对练请求信息发送至服务端,以使得所述服务端根据所述对练请求信息判断是否满足预设对练条件;若满足所述预设对练条件,则接收所述服务端发送的对练响应信息;根据所述对练响应信息开启对练功能,并获取智能穿戴设备采集的所述用户的目标身体部位的实时运动数据,所述智能穿戴设备与所述客户端通信连接;将所述实时运动数据发送至所述服务端;接收所述服务端根据所述实时运动数据反馈的实时对练信息,并在目标对练场景中输出所述实时对练信息,以使得所述用户根据所述实时对练信息调整所述实时运动数据。Specifically, the processor 801: acquires the training request information of the target training item initiated by the user, and sends the training request information to the server, so that the server determines the information according to the training request information. Whether the preset training condition is met; if the preset training condition is met, receiving the training response information sent by the server; and performing the training function according to the training response information, and acquiring the smart wearable device Real-time motion data of the target body part of the user, the smart wearable device is in communication with the client; transmitting the real-time motion data to the server; and receiving the feedback from the server according to the real-time motion data Real-time pairing information, and outputting the real-time training information in the target-pairing scenario, so that the user adjusts the real-time motion data according to the real-time training information.
在进一步的实施例中,在获取用户发起的对练请求信息之前,所述处理器801:In a further embodiment, before acquiring the user-initiated training request information, the processor 801:
获取所述用户的个人属性信息,并将所述个人属性信息发送至所述服务端;接收所述服务端反馈的对练群组信息,以使得所述用户根据所述对练群组信息发起所述对练请求信息;Obtaining the personal attribute information of the user, and sending the personal attribute information to the server; receiving the training group information fed back by the server, so that the user initiates according to the pairing group information The pairing request information;
或,or,
所述处理器801获取所述用户建立的自定义对练群组信息,以使得所述用户根据所述自定义对练群组信息发起所述对练请求信息。The processor 801 acquires the customized pairing group information established by the user, so that the user initiates the pairing request information according to the customized pairing group information.
在进一步的实施例中,在将所述实时运动数据发送至所述服务端之前,所述处理器801:所述客户端将对练场景请求信息发送至所述服务端;In a further embodiment, before the real-time motion data is sent to the server, the processor 801: the client sends the scenario request information to the server;
所述客户端接收所述服务端根据所述对练场景请求信息发送的对练场景选择信息,并输出所述对练场景选择信息;The client receives the pairing scenario selection information sent by the server according to the pairing scenario request information, and outputs the pairing scenario selection information;
所述客户端获取所述用户根据所述对练场景信息反馈的所述目标对练场景。The client acquires the target pairing scenario that the user feeds back according to the pairing scenario information.
在进一步的实施例中,在所述客户端接收所述服务端根据所述实时运动数据反馈的实时对练信息,并在目标对练场景中输出所述实时对练信息之后,所述处理器801:In a further embodiment, after the client receives the real-time training information fed back by the server according to the real-time motion data, and outputs the real-time training information in the target pairing scenario, the processor 801:
接收所述服务端反馈的对练结果信息;Receiving feedback result information fed back by the server;
输出所述对练结果信息;和/或,Outputting the training result information; and/or,
接收所述服务端反馈的对练积分信息;Receiving the training point information fed back by the server;
输出所述对练积分信息。The pairing point information is output.
图9示出了本发明实施例中服务端又一个实施例的结构示意图。FIG. 9 is a schematic structural diagram of still another embodiment of a server in the embodiment of the present invention.
参见图9,为本发明实施例中服务端又一个实施例的结构示意图,在本发明实施例中,所述服务端9包括处理器901、存储器902和收发器903。收发器903用于与外部设备之间收发数据。所述服务端9中的处理器901的数量可以是一个或多个。本发明的一些实施例中,所述处理器901、存储器902和收发器903可通过总线系统或其他方式连接。所述服务端9可以用于执行图1至图3所示的方法。FIG. 9 is a schematic structural diagram of another embodiment of a server in an embodiment of the present invention. In the embodiment of the present invention, the server 9 includes a processor 901, a memory 902, and a transceiver 903. The transceiver 903 is configured to transmit and receive data with and from an external device. The number of processors 901 in the server 9 may be one or more. In some embodiments of the invention, the processor 901, the memory 902, and the transceiver 903 may be connected by a bus system or other means. The server 9 can be used to perform the method shown in Figures 1 to 3.
其中,存储器902中存储程序代码,且所述处理器901可通过总线系统,调用所述存储器902中存储的程序代码以执行相关的功能。例如,图6和图7中所述的各个模块(例如,所述第一接收模块601、所述判断模块602、所述第一发送模块603、所述第二接收模块604、所述计算模块605、所述第二反馈模块606等)是存储在所述存储器902中的程序代码,并由所述处理器901所执行,从而实现所述各个单元的功能以执行锻炼实现的方法。The program code is stored in the memory 902, and the processor 901 can call the program code stored in the memory 902 to perform related functions through a bus system. For example, the various modules described in FIG. 6 and FIG. 7 (eg, the first receiving module 601, the determining module 602, the first sending module 603, the second receiving module 604, and the computing module) 605. The second feedback module 606, etc.) is program code stored in the memory 902 and executed by the processor 901 to implement the functions of the various units to perform a method of exercise implementation.
具体而言,所述处理器901:接收客户端发送的对练请求信息;Specifically, the processor 901: receiving the training request information sent by the client;
根据所述对练请求信息判断是否满足预设对练条件;Determining, according to the training request information, whether the preset training condition is satisfied;
若满足所述预设对练条件,则所述处理器901将对练响应信息发送至所述客户端;If the preset pairing condition is met, the processor 901 sends the training response information to the client;
接收所述客户端发送的实时运动数据;Receiving real-time motion data sent by the client;
根据所述实时运动数据计算实时对练信息,并将所述实时对练信息反馈至所述客户端。Calculating real-time training information according to the real-time motion data, and feeding back the real-time training information to the client.
在进一步的实施例中,在接收客户端发送的对练请求信息之前,所述处理器901:接收所述客户端发送的个人属性信息;In a further embodiment, before receiving the training request information sent by the client, the processor 901: receiving personal attribute information sent by the client;
根据所述个人属性信息建立目标对练群组,并将所述目标对练群组对应的对练群组信息反馈至所述客户端。Establishing a target pairing group according to the personal attribute information, and feeding back the pairing group information corresponding to the target pairing group to the client.
在进一步的实施例中,所述处理器901根据所述对练请求信息判断是否满足预设对练条件包括:In a further embodiment, the determining, by the processor 901, whether the preset training conditions are met according to the training request information includes:
判断所述对练请求信息是否包括真实对象限制条件;Determining whether the training request information includes a real object restriction condition;
若包括所述真实对象限制条件,则在所述目标对练群组广播所述对练请求信息,并判断响应的对练人数是否大于预设阈值。If the real object restriction condition is included, the training request information is broadcasted in the target training group, and it is determined whether the number of responding pairs is greater than a preset threshold.
在进一步的实施例中,在所述处理器901接收所述客户端发送的实时运动数据之前,所述处理器901:In a further embodiment, before the processor 901 receives the real-time motion data sent by the client, the processor 901:
接收所述客户端发送的对练场景请求信息;Receiving the training scenario request information sent by the client;
根据所述对练场景请求信息将对练场景选择信息发送至所述客户端。Sending the scenario selection information to the client according to the pairing scenario request information.
在进一步的实施例中,在所述处理器901根据所述实时运动数据计算实时对练信息,并将所述实时对练信息反馈至所述客户端之后,所述处理器901:In a further embodiment, after the processor 901 calculates the real-time training information according to the real-time motion data, and feeds back the real-time training information to the client, the processor 901:
根据所述实时运动数据和第一预设规则确定对练结果信息,并将所述对练结果信息反馈至所述客户端;和/或,Determining the training result information according to the real-time motion data and the first preset rule, and feeding back the training result information to the client; and/or,
根据所述对练结果信息和第二预设规则确定对练积分信息,并将所述对练积分信息反馈至所述客户端。Determining the training point information according to the pairing result information and the second preset rule, and feeding back the pairing point information to the client.
在进一步的实施例中,所述处理器901根据所述实时运动数据计算实时对练信息包括:In a further embodiment, the calculating, by the processor 901, the real-time training information according to the real-time motion data includes:
通过解析所述实时运动数据确定目标身体部位的运动速度和运动轨迹;Determining a motion speed and a motion trajectory of the target body part by parsing the real-time motion data;
按照第三预设规则量化所述目标身体部位的所述运动速度和所述运动轨迹,得到实时对练信息。The moving speed of the target body part and the motion trajectory are quantized according to a third preset rule, and real-time training information is obtained.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (20)

  1. 一种锻炼实现方法,其特征在于,包括:An exercise implementation method, comprising:
    客户端获取用户发起的目标对练项目的对练请求信息;The client obtains the training request information of the target-to-training project initiated by the user;
    所述客户端将所述对练请求信息发送至服务端,以使得所述服务端根据所述对练请求信息判断是否满足预设对练条件;Sending, by the client, the training request information to the server, so that the server determines, according to the training request information, whether the preset training condition is met;
    若满足所述预设对练条件,则所述客户端接收所述服务端发送的对练响应信息;If the preset training condition is met, the client receives the training response information sent by the server;
    所述客户端根据所述对练响应信息开启对练功能,并获取智能穿戴设备采集的所述用户的目标身体部位的实时运动数据,所述智能穿戴设备与所述客户端通信连接;The client starts the training function according to the training response information, and acquires real-time motion data of the target body part of the user collected by the smart wearable device, where the smart wearable device is communicatively connected with the client;
    所述客户端将所述实时运动数据发送至所述服务端;The client sends the real-time motion data to the server;
    所述客户端接收所述服务端根据所述实时运动数据反馈的实时对练信息,并在目标对练场景中输出所述实时对练信息,以使得所述用户根据所述实时对练信息调整所述实时运动数据。The client receives the real-time training information fed back by the server according to the real-time motion data, and outputs the real-time training information in the target training scenario, so that the user adjusts according to the real-time training information. The real-time motion data.
  2. 根据权利要求1所述的锻炼实现方法,其特征在于,在所述客户端获取用户发起的对练请求信息之前,所述方法还包括:The method for implementing the exercise according to claim 1, wherein before the obtaining the user-initiated training request information, the method further comprises:
    所述客户端获取所述用户的个人属性信息,并将所述个人属性信息发送至所述服务端;The client obtains personal attribute information of the user, and sends the personal attribute information to the server;
    所述客户端接收所述服务端反馈的对练群组信息,以使得所述用户根据所述对练群组信息发起所述对练请求信息;The client receives the pairing group information fed back by the server, so that the user initiates the pairing request information according to the pairing group information;
    或,or,
    所述客户端获取所述用户建立的自定义对练群组信息,以使得所述用户根据所述自定义对练群组信息发起所述对练请求信息。The client obtains the customized pairing group information established by the user, so that the user initiates the pairing request information according to the customized pairing group information.
  3. 根据权利要求1或2所述的锻炼实现方法,其特征在于,在所述客户端将所述实时运动数据发送至所述服务端之前,所述方法还包括:The exercise implementation method according to claim 1 or 2, wherein before the client sends the real-time motion data to the server, the method further includes:
    所述客户端将对练场景请求信息发送至所述服务端;The client sends the training scenario request information to the server;
    所述客户端接收所述服务端根据所述对练场景请求信息发送的对练场景选择信息,并输出所述对练场景选择信息;The client receives the pairing scenario selection information sent by the server according to the pairing scenario request information, and outputs the pairing scenario selection information;
    所述客户端获取所述用户根据所述对练场景信息反馈的所述目标对练场景。The client acquires the target pairing scenario that the user feeds back according to the pairing scenario information.
  4. 根据权利要求1或2所述的锻炼实现方法,其特征在于,在所述客户端接收所述服务端根据所述实时运动数据反馈的实时对练信息,并在目标对练场景中输出所述实时对练信息之后,所述方法还包括:The exercise implementation method according to claim 1 or 2, wherein the client receives the real-time training information fed back by the server according to the real-time motion data, and outputs the After the real-time pairing information, the method further includes:
    所述客户端接收所述服务端反馈的对练结果信息;The client receives the training result information fed back by the server;
    所述客户端输出所述对练结果信息;和/或,The client outputs the pairing result information; and/or,
    所述客户端接收所述服务端反馈的对练积分信息;The client receives the training point information fed back by the server;
    所述客户端输出所述对练积分信息。The client outputs the pairing point information.
  5. 一种锻炼实现方法,其特征在于,包括:An exercise implementation method, comprising:
    服务端接收客户端发送的对练请求信息;The server receives the training request information sent by the client;
    所述服务端根据所述对练请求信息判断是否满足预设对练条件;Determining, by the server, whether the preset training condition is met according to the training request information;
    若满足所述预设对练条件,则所述服务端将对练响应信息发送至所述客户端;If the preset pairing condition is met, the server sends the training response information to the client;
    所述服务端接收所述客户端发送的实时运动数据;The server receives real-time motion data sent by the client;
    所述服务端根据所述实时运动数据计算实时对练信息,并将所述实时对练信息反馈至所述客户端。The server calculates real-time training information according to the real-time motion data, and feeds the real-time training information to the client.
  6. 根据权利要求5所述的锻炼实现方法,其特征在于,在所述服务端接收客户端发送的对练请求信息之前,所述方法还包括:The method for implementing the exercise according to claim 5, wherein before the server receives the training request information sent by the client, the method further includes:
    所述服务端接收所述客户端发送的个人属性信息;The server receives personal attribute information sent by the client;
    所述服务端根据所述个人属性信息建立目标对练群组,并将所述目标对练群组对应的对练群组信息反馈至所述客户端。And the server establishes a target pairing group according to the personal attribute information, and feeds back the pairing group information corresponding to the target pairing group to the client.
  7. 根据权利要求6所述的锻炼实现方法,其特征在于,所述服务端根据所述对练请求信息判断是否满足预设对练条件包括:The exercise implementation method according to claim 6, wherein the determining, by the server, whether the preset training conditions are met according to the training request information comprises:
    所述服务端判断所述对练请求信息是否包括真实对象限制条件;Determining, by the server, whether the training request information includes a real object restriction condition;
    若包括所述真实对象限制条件,则所述服务端在所述目标对练群组广播所述对练请求信息,并判断响应的对练人数是否大于预设阈值。If the real object restriction condition is included, the server broadcasts the training request information in the target pairing group, and determines whether the number of responding pairs is greater than a preset threshold.
  8. 根据权利要求5至7中任一项所述的锻炼实现方法,其特征在于,在所述服务端接收所述客户端发送的实时运动数据之前,所述方法还包括:The exercise implementation method according to any one of claims 5 to 7, wherein before the server receives the real-time motion data sent by the client, the method further includes:
    所述服务端接收所述客户端发送的对练场景请求信息;Receiving, by the server, the training scenario request information sent by the client;
    所述服务端根据所述对练场景请求信息将对练场景选择信息发送至所述客户端。The server sends the training scenario selection information to the client according to the pairing scenario request information.
  9. 根据权利要求5至7中任一项所述的锻炼实现方法,其特征在于,在所述服务端根据所述实时运动数据计算实时对练信息,并将所述实时对练信息反馈至所述客户端之后,所述方法还包括:The exercise implementation method according to any one of claims 5 to 7, wherein the server calculates real-time training information according to the real-time motion data, and feeds back the real-time training information to the After the client, the method further includes:
    所述服务端根据所述实时运动数据和第一预设规则确定对练结果信息,并将所述对练结果信息反馈至所述客户端;和/或,The server determines the training result information according to the real-time motion data and the first preset rule, and feeds back the training result information to the client; and/or,
    所述服务端根据所述对练结果信息和第二预设规则确定对练积分信息,并将所述对练积分信息反馈至所述客户端。The server determines the training point information according to the training result information and the second preset rule, and feeds back the training point information to the client.
  10. 根据权利要求5至7中任一项所述的锻炼实现方法,其特征在于,所述服务端根据所述实时运动数据计算实时对练信息包括:The exercise implementation method according to any one of claims 5 to 7, wherein the server calculates the real-time training information according to the real-time motion data, including:
    所述服务端通过解析所述实时运动数据确定目标身体部位的运动速度和运动轨迹;The server determines the motion speed and the motion trajectory of the target body part by parsing the real-time motion data;
    所述服务端按照第三预设规则量化所述目标身体部位的所述运动速度和所述运动轨迹,得到实时对练信息。The server quantizes the moving speed of the target body part and the motion trajectory according to a third preset rule, and obtains real-time training information.
  11. 一种客户端,其特征在于,包括:A client, comprising:
    第一获取模块,设置为接收用户发起的目标对练项目的对练请求信息;The first obtaining module is configured to receive the training request information of the target-to-training project initiated by the user;
    第一发送模块,设置为将所述对练请求信息发送至服务端,以使得所述服务端根据所述对练请求信息判断是否满足预设对练条件;The first sending module is configured to send the training request information to the server, so that the server determines, according to the training request information, whether the preset training condition is met;
    第一接收模块,设置为当满足所述预设对练条件时,则接收所述服务端发送的对练响应信息;The first receiving module is configured to receive the training response information sent by the server when the preset training condition is met;
    开启模块,设置为根据所述对练响应信息开启对练功能;Opening a module, configured to enable a training function according to the training response information;
    第二获取模块,设置为获取智能穿戴设备采集的所述用户的目标身体部位的实时运动数据,所述智能穿戴设备与所述客户端通信连接;a second acquiring module, configured to acquire real-time motion data of a target body part of the user collected by the smart wearable device, where the smart wearable device is communicatively connected to the client;
    第二发送模块,设置为将所述实时运动数据发送至所述服务端;a second sending module, configured to send the real-time motion data to the server;
    第二接收模块,设置为接收所述服务端根据所述实时运动数据反馈的实时对练信息;a second receiving module, configured to receive real-time training information fed back by the server according to the real-time motion data;
    第一输出模块,设置为在目标对练场景中输出所述实时对练信息,以使得所述用户根据所述实时对练信息调整所述实时运动数据。The first output module is configured to output the real-time training information in the target pairing scenario, so that the user adjusts the real-time motion data according to the real-time training information.
  12. 根据权利要求11所述的客户端,其特征在于,所述客户端还包括:The client according to claim 11, wherein the client further comprises:
    第三获取模块,设置为获取所述用户的个人属性信息;a third obtaining module, configured to obtain personal attribute information of the user;
    第三发送模块,设置为将所述个人属性信息发送至所述服务端;a third sending module, configured to send the personal attribute information to the server;
    第三接收模块,设置为接收所述服务端反馈的对练群组信息,以使得所述用户根据所述对练群组信息发起所述对练请求信息;The third receiving module is configured to receive the training group information that is fed back by the server, so that the user initiates the training request information according to the pairing group information;
    或,or,
    第四获取模块,设置为获取所述用户建立的自定义对练群组信息,以使得所述用户根据所述自定义对练群组信息发起所述对练请求信息。The fourth obtaining module is configured to obtain the customized pairing group information that is created by the user, so that the user initiates the pairing request information according to the customized pairing group information.
  13. 根据权利要求11或12所述的客户端,其特征在于,所述客户端还包括:The client according to claim 11 or 12, wherein the client further comprises:
    第四发送模块,设置为将赛车场景请求信息发送至所述服务端;a fourth sending module, configured to send the racing scene request information to the server;
    第四接收模块,设置为接收所述服务端根据所述赛车场景请求信息发送的对练场景选择信息;a fourth receiving module, configured to receive the training scenario selection information sent by the server according to the racing scene request information;
    第二输出模块,设置为输出所述对练场景选择信息;a second output module, configured to output the pairing scene selection information;
    第五获取模块,设置为获取所述用户根据所述对练场景信息反馈的所述目标对练场景。The fifth obtaining module is configured to acquire the target pairing scenario that is fed back by the user according to the pairing scenario information.
  14. 根据权利要求11或12所述的客户端,其特征在于,所述客户端还包括:The client according to claim 11 or 12, wherein the client further comprises:
    第五接收模块,设置为接收所述服务端反馈的对练结果信息;The fifth receiving module is configured to receive the training result information fed back by the server;
    第三输出模块,设置为输出所述对练结果信息;和/或,a third output module, configured to output the pairing result information; and/or,
    第六接收模块,设置为接收所述服务端反馈的对练积分信息;a sixth receiving module, configured to receive the training point information fed back by the server;
    第四输出模块,设置为输出所述对练积分信息。The fourth output module is configured to output the pairing integration information.
  15. 一种服务端,其特征在于,包括:A server, characterized in that it comprises:
    第一接收模块,设置为接收客户端发送的对练请求信息;The first receiving module is configured to receive the training request information sent by the client;
    判断模块,设置为根据所述对练请求信息判断是否满足预设对练条件;The determining module is configured to determine, according to the training request information, whether the preset training condition is met;
    第一发送模块,设置为当满足所述预设对练条件时,则将对练响应信息发送至所述客户端;The first sending module is configured to send the training response information to the client when the preset pairing condition is met;
    第二接收模块,设置为接收所述客户端发送的实时运动数据;a second receiving module, configured to receive real-time motion data sent by the client;
    计算模块,设置为根据所述实时运动数据计算实时对练信息;a calculation module, configured to calculate real-time training information according to the real-time motion data;
    第一反馈模块,设置为将所述实时对练信息反馈至所述客户端。The first feedback module is configured to feed back the real-time training information to the client.
  16. 根据权利要求15所述的服务端,其特征在于,所述服务端还包括:The server according to claim 15, wherein the server further comprises:
    第三接收模块,设置为接收所述客户端发送的个人属性信息;a third receiving module, configured to receive personal attribute information sent by the client;
    建立模块,设置为根据所述个人属性信息建立目标对练群组;Establishing a module, configured to establish a target pairing group according to the personal attribute information;
    第二反馈模块,设置为将所述目标对练群组对应的对练群组信息反馈至所述客户端。The second feedback module is configured to feed back the pairing group information corresponding to the target pairing group to the client.
  17. 根据权利要求16所述的服务端,其特征在于,所述判断模块包括:The server according to claim 16, wherein the determining module comprises:
    第一判断单元,设置为判断所述对练请求信息是否包括真实对象限制条件;a first determining unit, configured to determine whether the training request information includes a real object restriction condition;
    广播单元,设置为当包括所述真实对象限制条件,则在所述目标对练群组广播所述对练请求信息;a broadcast unit, configured to broadcast the training request information in the target pairing group when the real object restriction condition is included;
    第二判断单元,设置为判断响应的对练人数是否大于预设阈值。The second determining unit is configured to determine whether the number of training participants is greater than a preset threshold.
  18. 根据权利要求15至17中任一项所述的服务端,其特征在于,所述服务端还包括:The server according to any one of claims 15 to 17, wherein the server further comprises:
    第四接收模块,设置为接收所述客户端发送的对练场景请求信息;The fourth receiving module is configured to receive the training scenario request information sent by the client;
    第二发送模块,设置为根据所述对练场景请求信息将对练场景选择信息发送至所述客户端。The second sending module is configured to send the training scenario selection information to the client according to the pairing scenario request information.
  19. 根据权利要求15至17中任一项所述的服务端,其特征在于,所述服务端还包括:The server according to any one of claims 15 to 17, wherein the server further comprises:
    第一确定模块,设置为根据所述实时运动数据和第一预设规则确定对练结果信息;The first determining module is configured to determine the training result information according to the real-time motion data and the first preset rule;
    第三反馈模块,设置为将所述对练结果信息反馈至所述客户端;和/或,a third feedback module, configured to feed back the training result information to the client; and/or,
    第二确定模块,设置为根据所述对练结果信息和第二预设规则确定对练积分信息;The second determining module is configured to determine the training point information according to the pairing result information and the second preset rule;
    第四反馈模块,设置为将所述对练积分信息反馈至所述客户端。The fourth feedback module is configured to feed back the pairing point information to the client.
  20. 根据权利要求15至17中任一项所述的服务端,其特征在于,所述计算模块包括:The server according to any one of claims 15 to 17, wherein the calculation module comprises:
    确定单元,设置为通过解析所述实时运动数据确定目标身体部位的运动速度和运动轨迹;a determining unit configured to determine a motion speed and a motion trajectory of the target body part by parsing the real-time motion data;
    量化单元,设置为按照第三预设规则量化所述目标身体部位的所述运动速度和所述运动轨迹,得到实时对练信息。And a quantization unit configured to quantize the motion speed of the target body part and the motion trajectory according to a third preset rule to obtain real-time training information.
PCT/CN2016/107970 2016-08-26 2016-11-30 Method for achieving exercising, client end and service end WO2018036016A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610740842.XA CN106341460A (en) 2016-08-26 2016-08-26 Exercise realization method, client and server
CN201610740842.X 2016-08-26

Publications (1)

Publication Number Publication Date
WO2018036016A1 true WO2018036016A1 (en) 2018-03-01

Family

ID=57822391

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107970 WO2018036016A1 (en) 2016-08-26 2016-11-30 Method for achieving exercising, client end and service end

Country Status (2)

Country Link
CN (1) CN106341460A (en)
WO (1) WO2018036016A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353923A (en) * 2020-03-03 2020-06-30 爱康普科技(大连)有限公司 Exercise management method, exercise management system, and computer-readable storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106362394A (en) * 2016-08-29 2017-02-01 宇龙计算机通信科技(深圳)有限公司 Racing realization method, client and server
CN109643168A (en) * 2017-05-27 2019-04-16 深圳市柔宇科技有限公司 A kind of data processing method and device
CN107670259A (en) * 2017-08-31 2018-02-09 歌尔股份有限公司 A kind of exchange method of exercise data, server, client and system
CN108933656B (en) * 2018-07-18 2021-09-10 京东方科技集团股份有限公司 Online work voting method and device, computer equipment and readable storage medium
CN110969458A (en) * 2018-09-29 2020-04-07 武汉斗鱼网络科技有限公司 Integration method of client cluster, client and system
CN109799907B (en) * 2018-12-29 2020-11-20 北京诺亦腾科技有限公司 Calibration method and device for motion capture glove and computer readable storage medium
CN109981783B (en) * 2019-03-28 2022-05-24 新华三技术有限公司 Interaction method and device
CN110917606A (en) * 2019-11-22 2020-03-27 苏宁智能终端有限公司 Motion comparison operation method and system
CN110989839B (en) * 2019-12-03 2023-02-24 三星电子(中国)研发中心 System and method for man-machine fight

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101158883A (en) * 2007-10-09 2008-04-09 深圳先进技术研究院 Virtual gym system based on computer visual sense and realize method thereof
CN102710655A (en) * 2012-06-15 2012-10-03 深圳市方果网络科技有限公司 Network interaction system and method based on sports activities
CN205019041U (en) * 2015-08-24 2016-02-10 浙江大学 Data acquisition system based on intelligence bracelet
CN105727559A (en) * 2015-10-12 2016-07-06 吉林大学 Body building game implementation method based on virtual reality body building game system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101158883A (en) * 2007-10-09 2008-04-09 深圳先进技术研究院 Virtual gym system based on computer visual sense and realize method thereof
CN102710655A (en) * 2012-06-15 2012-10-03 深圳市方果网络科技有限公司 Network interaction system and method based on sports activities
CN205019041U (en) * 2015-08-24 2016-02-10 浙江大学 Data acquisition system based on intelligence bracelet
CN105727559A (en) * 2015-10-12 2016-07-06 吉林大学 Body building game implementation method based on virtual reality body building game system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353923A (en) * 2020-03-03 2020-06-30 爱康普科技(大连)有限公司 Exercise management method, exercise management system, and computer-readable storage medium
CN111353923B (en) * 2020-03-03 2023-04-28 爱康普科技(大连)有限公司 Motion management method, motion management system, and computer-readable storage medium

Also Published As

Publication number Publication date
CN106341460A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
WO2018036016A1 (en) Method for achieving exercising, client end and service end
WO2017030256A1 (en) Method, apparatus, and computer program stored in computer-readable medium for providing dart game match-up mode with virtual player
WO2018080174A1 (en) Feedback device, content reproduction device, thermal experience providing system, and thermal experience providing method
WO2017160073A1 (en) Method and device for accelerated playback, transmission and storage of media files
WO2017188696A1 (en) Method, device, and recording medium for providing user interface in vr space
WO2021215690A1 (en) Exercise lecture provision system and exercise lecture provision method using same
WO2017043724A1 (en) Method, apparatus, and computer program stored on computer readable medium for providing dart game lesson mode
WO2016017945A1 (en) Mobile device and method of pairing the same with electronic device
AU2019283484B2 (en) Electronic device for providing exercise information using biometric information and operating method thereof
WO2015160039A1 (en) Method for operating image display device
WO2015142019A1 (en) Method and apparatus for preventing a collision between subjects
WO2016089079A1 (en) Device and method for outputting response
WO2017065437A1 (en) Method, device, and computer program stored on computer readable medium for providing virtual player in dart game
WO2012150755A1 (en) Method, apparatus and recoding medium for providing touch game
WO2015088132A1 (en) Rhythm game device linked with user movements
WO2018117439A1 (en) Game type rehabilitation system using brain-computer interface (bci) and control method therefor
WO2018093111A1 (en) Portable audio equipment
WO2018074702A1 (en) Electronic apparatus and method for providing blood sugar care service
WO2022270954A1 (en) Online darts game device and darts game system
WO2022270955A1 (en) Method for providing dart game image
WO2022270962A1 (en) Method for providing image of dart game
WO2019103239A1 (en) Device, method, and computer program for providing game service
WO2024071590A1 (en) Display device and method for operating same
WO2020111722A1 (en) Exercise history managing device, exercise history managing method, and computer program for executing same in computer
WO2023239183A1 (en) Method and system for providing nft-based digital items

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16914036

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16914036

Country of ref document: EP

Kind code of ref document: A1