Data processing method, device, electronic device and storage medium
Through terminal communication with ski machines, the rolling speed and slope of the ski blanket are limited according to the user's ski level, solving the problem of ski experience in non-winter times and achieving a safe and suitable ski experience.
Patent Information
- Application Number
- CN202111267234.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2041-10-28
AI Technical Summary
The prior art is difficult to provide skiing experience for users who love skiing in non-winter times, resulting in users being unable to perform ski training and entertainment in other times.
By designing a data processing method and device, the terminal communicates with the motor and jack of the ski machine, limiting the rolling speed and slope of the ski blanket according to the user's ski level, ensuring the safety and suitability of the ski experience.
It provides users with a safe and suitable skiing experience during non-winter times, and improves the safety and experience quality of users' simulated skiing on ski blankets.
Smart Images

Figure CN114138842B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a data processing method, device, electronic equipment and storage medium. Background Art
[0002] As a sport, skiing is very popular among users. However, currently, users can only go to ski resorts in winter, which is very inconvenient for users who love skiing and cannot ski in other periods other than winter.
[0003] To this end, a ski machine has been developed, which includes at least a motor, a ski mat, a front roller and a rear roller. The motor drives the front roller and the rear roller to roll, and then drives the ski mat to slide, thereby simulating a skiing scene. Users can wear ski equipment and slide on the ski mat to simulate skiing. Summary of the invention
[0004] The present application illustrates a data processing method, device, electronic device and storage medium.
[0005] In a first aspect, the present application shows a data processing method, which is applied to a terminal, wherein the terminal is in communication connection with a motor in a ski machine, wherein the motor is used to drive a front roller and a driving shaft in a rear roller in the ski machine to rotate, and wherein the terminal is also in communication connection with a jack located on one side of the rear roller, wherein the jack is used to adjust the slope of a ski blanket in the ski machine; the method comprises:
[0006] Obtaining the user's account number input by the user on the terminal;
[0007] determining the user's current skiing level based on the account;
[0008] Acquire a maximum rotation speed of the driving shaft applicable to the current skiing level, and acquire a maximum lifting height of the lifting device applicable to the current skiing level;
[0009] A first restriction instruction is sent to the motor, and a second restriction instruction is sent to the crane, so that when the motor drives the driving shaft to rotate during the user simulating skiing on the ski mat, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed according to the first restriction instruction, and when the crane is lifting, the lifting height of the crane is limited to be less than or equal to the maximum lifting height according to the second restriction instruction.
[0010] In an optional implementation, the obtaining of the maximum rotation speed of the driving shaft applicable to the current skiing level and the obtaining of the maximum lifting height of the lifting device applicable to the current skiing level include:
[0011] In a first correspondence between the skiing level, the maximum rotation speed of the driving shaft and the maximum lifting height of the jack, searching for the maximum rotation speed of the driving shaft and the maximum lifting height of the jack corresponding to the current skiing level;
[0012] Among them, in the first corresponding relationship, different skiing levels correspond to different maximum rotation speeds of the driving shaft, and different skiing levels correspond to different maximum lifting heights of the crane.
[0013] In an optional implementation, the method further includes:
[0014] During the process of the user simulating skiing on the ski carpet, if the user's skiing level is upgraded from the current skiing level to the target skiing level, obtaining a maximum rotation speed of the driving shaft applicable to the target skiing level, and obtaining a maximum lifting height of the lifting device applicable to the target skiing level;
[0015] A third limiting instruction is sent to the motor, and a fourth limiting instruction is sent to the crane, so that when the motor subsequently drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed of the driving shaft applicable to the target skiing level according to the third limiting instruction, and when the crane is lifting, the lifting height of the crane is limited to be less than or equal to the maximum lifting height of the crane applicable to the target skiing level according to the fourth limiting instruction.
[0016] In an optional implementation, the method further includes:
[0017] When the maximum rotation speed of the driving shaft applicable to the target skiing level is greater than the maximum rotation speed of the driving shaft applicable to the current skiing level, outputting first prompt information, wherein the first prompt information is used to prompt that the maximum rotation speed of the driving shaft has been increased;
[0018] and / or,
[0019] When the maximum lifting height of the lift applicable to the target skiing level is greater than the maximum lifting height of the lift applicable to the current skiing level, second prompt information is outputted, the second prompt information being used to prompt that the maximum lifting height of the lift has been increased.
[0020] In a second aspect, the present application shows a data processing device, which is applied to a terminal, wherein the terminal is connected in communication with a motor in a ski machine, wherein the motor is used to drive the front roller and the driving shaft in the rear roller in the ski machine to rotate, and the terminal is also connected in communication with a jack located on one side of the rear roller, wherein the jack is used to adjust the slope of the ski blanket in the ski machine; the device includes:
[0021] A first acquisition module, used to acquire the user's account number input by the user on the terminal;
[0022] a determination module, configured to determine the current skiing level of the user according to the account;
[0023] A second acquisition module, used for acquiring a maximum rotation speed of the driving shaft suitable for the current skiing level, and acquiring a maximum lifting height of the lifting device suitable for the current skiing level;
[0024] The first sending module is used to send a first restriction instruction to the motor and a second restriction instruction to the crane, so that when the user simulates skiing on the ski mat, when the motor drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed according to the first restriction instruction, and when the crane is lifting, the lifting height of the crane is limited to be less than or equal to the maximum lifting height according to the second restriction instruction.
[0025] In an optional implementation, the second acquisition module includes:
[0026] a search unit, configured to search for the maximum rotation speed of the driving shaft and the maximum lifting height of the lifting device corresponding to the current skiing level in a first correspondence between the skiing level, the maximum rotation speed of the driving shaft and the maximum lifting height of the lifting device;
[0027] Among them, in the first corresponding relationship, different skiing levels correspond to different maximum rotation speeds of the driving shaft, and different skiing levels correspond to different maximum lifting heights of the crane.
[0028] In an optional implementation, the device further includes:
[0029] a third acquisition module, configured to acquire, during the process of the user simulating skiing on the ski carpet, if the user's skiing level is upgraded from the current skiing level to a target skiing level, a maximum rotation speed of the driving shaft applicable to the target skiing level, and a maximum lifting height of the lifting device applicable to the target skiing level;
[0030] The second sending module is used to send a third restriction instruction to the motor and a fourth restriction instruction to the crane, so that when the motor drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed of the driving shaft applicable to the target skiing level according to the third restriction instruction, and when the crane is lifting, the lifting height of the crane is limited to be less than or equal to the maximum lifting height of the crane applicable to the target skiing level according to the fourth restriction instruction.
[0031] In an optional implementation, the device further includes:
[0032] a first output module, configured to output first prompt information when the maximum rotation speed of the driving shaft applicable to the target skiing level is greater than the maximum rotation speed of the driving shaft applicable to the current skiing level, wherein the first prompt information is used to prompt that the maximum rotation speed of the driving shaft has been increased;
[0033] and / or,
[0034] The second output module is used to output second prompt information when the maximum lifting height of the crane suitable for the target skiing level is greater than the maximum lifting height of the crane suitable for the current skiing level, wherein the second prompt information is used to prompt that the maximum lifting height of the crane has been increased.
[0035] In a third aspect, the present application shows an electronic device, the electronic device comprising:
[0036] processor;
[0037] a memory for storing processor-executable instructions;
[0038] Wherein, the processor is configured to execute the data processing method as described in the first aspect.
[0039] In a fourth aspect, the present application illustrates a non-temporary computer-readable storage medium, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the data processing method as described in the first aspect.
[0040] In a fifth aspect, the present application illustrates a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to perform the data processing method as described in the first aspect.
[0041] The technical solution provided by this application may have the following beneficial effects:
[0042] In the present application, the user's account number inputted by the user on the terminal is obtained. The user's current skiing level is determined according to the user's account number. The maximum rotation speed of the driving shaft suitable for the current skiing level is obtained, and the maximum lifting height of the crane suitable for the current skiing level is obtained. A first limiting instruction is sent to the motor, and a second limiting instruction is sent to the crane, so that when the user simulates skiing on the ski carpet, when the motor drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to less than or equal to the maximum rotation speed according to the first limiting instruction, and when the crane is lifting, the lifting height of the crane is limited to less than or equal to the maximum lifting height according to the second limiting instruction. Through the present application, the rolling speed of the ski carpet of the ski machine can be limited to a speed range suitable for the user's skiing level, and the slope of the ski carpet can be limited to a slope range suitable for the user's skiing level, so that the safety of the user simulating skiing on the ski carpet can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a structural schematic diagram of a ski machine auxiliary system of the present application.
[0044] Figure 2 It is a step flow chart of a data processing method of the present application.
[0045] Figure 3 It is a structural block diagram of a data processing device of the present application.
[0046] Figure 4 It is a block diagram of an electronic device of the present application.
[0047] Figure 5 It is a block diagram of an electronic device of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] Reference Figure 1 , showing a structural schematic diagram of a ski machine auxiliary system of the present application, the system includes a terminal, the terminal is communicated with the motor in the ski machine, the motor is used to drive the front roller and the driving shaft in the rear roller in the ski machine to rotate, and the terminal is also communicated with the lift located on one side of the rear roller, the lift is used to adjust the slope of the ski mat in the ski machine.
[0050] In one embodiment of the present application, among the front roller and the rear roller in the ski machine, one is a driving shaft and the other is a driven shaft. The motor drives the driving shaft to rotate. During the rotation of the driving shaft, the ski mat will be driven to roll, and the rolling of the ski mat will drive the driven shaft to rotate.
[0051] Which one of the front roller and the rear roller is the driving shaft and which one is the driven shaft can be determined according to actual conditions, and this application does not impose any limitation on this.
[0052] A jack is arranged on one side of the rear roller, and the jack can adjust the height of the rear end of the ski machine by lifting, thereby adjusting the slope of the ski carpet.
[0053] The motor and the crane both have communication functions and can communicate with the terminal respectively.
[0054] Reference Figure 2 , showing a flow chart of the steps of a data processing method of the present application, the method is applied to Figure 1 In the terminal shown, the method may specifically include the following steps:
[0055] In step S101, the user account number input by the user on the terminal is obtained.
[0056] When the user needs to simulate skiing on the ski blanket of the ski machine, the user can enter his own account on the terminal. The terminal can obtain the user's own account entered on the terminal.
[0057] After the user wears ski equipment and stands on the ski carpet of the ski machine, the user can control the ski machine to start by remote control or other means, so that the user can simulate skiing on the ski carpet.
[0058] In step S102, the user's current skiing level is determined according to the user's account.
[0059] In the present application, during the rolling process of the ski mat of the ski machine, in order to make the user's simulated skiing experience closer to the real skiing experience, the rolling speed of the ski mat can be changed, and the slope of the ski mat can also be changed. For example, the rolling speed of the ski mat can be adjusted in real time according to the actual skiing scene, and the slope of the ski mat can be adjusted in real time according to the actual skiing scene.
[0060] Before the ski machine is started, in order to ensure the safety of the user, the maximum rolling speed of the ski carpet and the maximum slope of the ski carpet need to be limited.
[0061] Different users have different skiing levels when simulating skiing on the ski carpet, and the skiing level of the user when simulating skiing on the ski carpet can be determined according to the user's skiing grade.
[0062] For users with low skiing skills, the safety of simulated skiing needs to be focused on. In order to improve the safety of simulated skiing on a ski blanket for users with low skiing skills, the maximum rolling speed of the ski blanket for users with low skiing skills can be set lower and the maximum slope of the ski blanket can be set lower.
[0063] Users with higher skiing skills need to focus on the fun and challenge of simulated skiing. In order to increase the fun and challenge of simulated skiing on a ski mat for users with higher skiing skills, the maximum rolling speed of the ski mat for users with higher skiing skills can be set higher and the maximum slope of the ski mat can be set higher.
[0064] Therefore, after obtaining the user's account, it is necessary to determine the user's current skiing level based on the user's account.
[0065] The terminal stores a third correspondence between the account and the skiing level, wherein the third correspondence includes a plurality of correspondence items, each of which includes the account of one of the users and the skiing level thereof.
[0066] When a user's skiing level is upgraded, the skiing level corresponding to the user's account may be updated in the third correspondence between the account and the skiing level.
[0067] Therefore, when determining the current skiing level of the user according to the user's account, the skiing level corresponding to the user can be found in the third corresponding relationship between the account and the skiing level, and used as the current skiing level of the user.
[0068] In step S103, the maximum rotation speed of the driving shaft suitable for the current skiing level is obtained, and the maximum lifting height of the jack suitable for the current skiing level is obtained.
[0069] In the present application, the rolling speed of the ski mat is determined by the rotation speed of the driving shaft in the ski machine. For example, the faster the rotation speed of the driving shaft in the ski machine, the faster the rolling speed of the ski mat; the slower the rotation speed of the driving shaft in the ski machine, the slower the rolling speed of the ski mat.
[0070] Therefore, the maximum rolling speed of the ski carpet can be determined according to the maximum rotation speed of the driving shaft in the ski machine. Therefore, after determining the current skiing level of the user, the maximum rotation speed of the driving shaft suitable for the current skiing level can be obtained.
[0071] In the present application, the slope of the ski carpet is determined by the lifting height of the crane in the ski machine. For example, the higher the lifting height of the crane in the ski machine, the steeper the slope of the ski carpet; the lower the lifting height of the crane in the ski machine, the gentler the slope of the ski carpet.
[0072] Therefore, the maximum slope of the ski carpet can be determined according to the maximum lifting height of the crane in the ski machine. Therefore, after determining the current skiing level of the user, the maximum lifting height of the crane suitable for the current skiing level can be obtained.
[0073] In the present application, for any skiing level, the maximum rotation speed of the driving shaft applicable to the skiing level and the maximum lifting height of the jack applicable to the skiing level can be set in advance, and then the skiing level, the maximum rotation speed of the driving shaft applicable to the skiing level and the maximum lifting height of the jack applicable to the skiing level are formed into corresponding table items and stored in the first corresponding relationship between the skiing level, the maximum rotation speed of the driving shaft and the maximum lifting height of the jack. The same is true for each other skiing level.
[0074] Among them, in the first corresponding relationship, different skiing levels correspond to different maximum rotation speeds of the driving shaft, and different skiing levels correspond to different maximum lifting heights of the crane.
[0075] Thus, in this step, the maximum rotation speed of the driving shaft and the maximum lifting height of the lift corresponding to the current skiing level can be found in the first corresponding relationship among the skiing level, the maximum rotation speed of the driving shaft and the maximum lifting height of the lift.
[0076] In step S104, a first restriction instruction is sent to the motor, and a second restriction instruction is sent to the crane, so that when the motor drives the driving shaft to rotate during the user simulating skiing on the ski mat, the rotation speed of the driving shaft is limited to less than or equal to the maximum rotation speed according to the first restriction instruction, and when the crane is lifting, the lifting height of the crane is limited to less than or equal to the maximum lifting height according to the second restriction instruction.
[0077] Through the present application, when the motor drives the active shaft to rotate, the rotation speed of the active shaft is limited to be less than or equal to the maximum rotation speed according to the first limiting instruction. For example, the motor can determine the power of the motor required to control the active shaft to rotate at the maximum rotation speed, and then when driving the active shaft to rotate, the power of the motor can be limited to the power of the motor required for the maximum rotation speed of the active shaft, thereby avoiding the rotation speed of the active shaft being greater than the maximum rotation speed of the active shaft applicable to the current skiing level, so as to improve the safety of the user during simulated skiing.
[0078] And, through the present application, when the crane is lifting, the lifting height of the crane is limited to be less than or equal to the maximum lifting height according to the second limit instruction. The crane can determine the pressure required to be applied to the hydraulic pump in the crane for the maximum lifting height, and then when lifting, the pressure applied to the hydraulic pump can be limited to the pressure required to be applied to the hydraulic pump for the maximum lifting height, thereby preventing the lifting height of the crane from being greater than the maximum lifting height of the crane applicable to the current skiing level, so as to improve the safety of the user during the simulated skiing process.
[0079] In the present application, the user's account number inputted by the user on the terminal is obtained. The user's current skiing level is determined according to the user's account number. The maximum rotation speed of the driving shaft suitable for the current skiing level is obtained, and the maximum lifting height of the crane suitable for the current skiing level is obtained. A first limiting instruction is sent to the motor, and a second limiting instruction is sent to the crane, so that when the user simulates skiing on the ski carpet, when the motor drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to less than or equal to the maximum rotation speed according to the first limiting instruction, and when the crane is lifting, the lifting height of the crane is limited to less than or equal to the maximum lifting height according to the second limiting instruction. Through the present application, the rolling speed of the ski carpet of the ski machine can be limited to a speed range suitable for the user's skiing level, and the slope of the ski carpet can be limited to a slope range suitable for the user's skiing level, so that the safety of the user simulating skiing on the ski carpet can be improved.
[0080] In the present application, during the process of the user simulating skiing on the ski mat, it is very likely that the user's skiing level will be upgraded. For example, the user's simulated skiing time reaches the upgrade requirements, or the skiing moves mastered by the user reach the upgrade requirements, or the user's simulated skiing mileage reaches the upgrade requirements, etc., thereby allowing the user's skiing level to be upgraded during the process of the user simulating skiing on the ski mat.
[0081] If the user's skiing level is upgraded during the process of simulating skiing on the ski carpet, for example, the user's skiing level is upgraded from the current skiing level to the target skiing level, the maximum rotation speed of the driving shaft of the ski machine can be set in real time to the maximum rotation speed of the driving shaft suitable for the target skiing level, and the maximum lifting height of the crane of the ski machine can be set in real time to the maximum lifting height of the crane suitable for the target skiing level.
[0082] Specifically, the maximum rotation speed of the driving shaft suitable for the target skiing level is obtained, and the maximum lifting height of the lifting device suitable for the target skiing level is obtained. The specific acquisition method can be referred to the description of step S103, which will not be described in detail here.
[0083] The terminal sends a third restriction instruction to the motor and a fourth restriction instruction to the crane, so that when the motor subsequently drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed of the driving shaft applicable to the target skiing level according to the third restriction instruction, and, when the crane is lifting, the lifting height of the crane is limited to be less than or equal to the maximum lifting height of the crane applicable to the target skiing level according to the fourth restriction instruction.
[0084] Through the present application, during the process of the user simulating skiing on the ski mat, if the user's skiing level is upgraded from the current skiing level to the target skiing level, the maximum rotation speed of the driving shaft of the ski machine and the maximum lifting height of the lift can be updated in real time so that the maximum rotation speed of the driving shaft of the ski machine and the maximum lifting height of the lift can be adapted to the upgraded target skiing level. The user does not need to manually update the maximum rotation speed of the driving shaft of the ski machine and the maximum lifting height of the lift on the terminal, thereby simplifying user operations.
[0085] Further, when the maximum rotation speed of the driving shaft applicable to the target skiing level is greater than the maximum rotation speed of the driving shaft applicable to the current skiing level, first prompt information is output, and the first prompt information is used to prompt that the maximum rotation speed of the driving shaft has been increased.
[0086] The user can perceive, based on the first prompt information, that the maximum rotation speed of the driving shaft of the ski machine has been increased, so that the user can be mentally prepared and make preparations for simulated skiing in advance to avoid situations where the user feels abrupt, thereby improving the safety of the user during simulated skiing.
[0087] And / or, when the maximum lifting height of the crane applicable to the target skiing level is greater than the maximum lifting height of the crane applicable to the current skiing level, second prompt information is output, the second prompt information being used to prompt that the maximum lifting height of the crane has been increased.
[0088] The user can perceive, according to the second prompt information, that the maximum lifting height of the ski machine's lift has been increased, so that the user can be mentally prepared and make preparations for simulated skiing in advance to avoid situations where the user feels awkward, thereby improving the user's safety during simulated skiing.
[0089] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions involved are not necessarily required by the present application.
[0090] Reference Figure 3 , shows a structural block diagram of a data processing device of the present application, which is applied to a terminal, the terminal is connected to a motor in a ski machine, the motor is used to drive the front roller and the driving shaft in the rear roller in the ski machine to rotate, and the terminal is also connected to a jack located on one side of the rear roller, the jack is used to adjust the slope of the ski blanket in the ski machine; the device includes:
[0091] A first acquisition module 11 is used to acquire the user's account number input by the user on the terminal;
[0092] A determination module 12, configured to determine the current skiing level of the user according to the account;
[0093] A second acquisition module 13 is used to acquire a maximum rotation speed of the driving shaft suitable for the current skiing level, and to acquire a maximum lifting height of the lifting device suitable for the current skiing level;
[0094] The first sending module 14 is used to send a first restriction instruction to the motor and a second restriction instruction to the crane, so that when the user simulates skiing on the ski mat, when the motor drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed according to the first restriction instruction, and when the crane is lifting, the lifting height of the crane is limited to be less than or equal to the maximum lifting height according to the second restriction instruction.
[0095] In an optional implementation, the second acquisition module includes:
[0096] a search unit, configured to search for the maximum rotation speed of the driving shaft and the maximum lifting height of the lifting device corresponding to the current skiing level in a first correspondence between the skiing level, the maximum rotation speed of the driving shaft and the maximum lifting height of the lifting device;
[0097] Among them, in the first corresponding relationship, different skiing levels correspond to different maximum rotation speeds of the driving shaft, and different skiing levels correspond to different maximum lifting heights of the crane.
[0098] In an optional implementation, the device further includes:
[0099] a third acquisition module, configured to acquire, during the process of the user simulating skiing on the ski carpet, if the user's skiing level is upgraded from the current skiing level to a target skiing level, a maximum rotation speed of the driving shaft applicable to the target skiing level, and a maximum lifting height of the lifting device applicable to the target skiing level;
[0100] The second sending module is used to send a third restriction instruction to the motor and a fourth restriction instruction to the crane, so that when the motor drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed of the driving shaft applicable to the target skiing level according to the third restriction instruction, and when the crane is lifting, the lifting height of the crane is limited to be less than or equal to the maximum lifting height of the crane applicable to the target skiing level according to the fourth restriction instruction.
[0101] In an optional implementation, the device further includes:
[0102] a first output module, configured to output first prompt information when the maximum rotation speed of the driving shaft applicable to the target skiing level is greater than the maximum rotation speed of the driving shaft applicable to the current skiing level, wherein the first prompt information is used to prompt that the maximum rotation speed of the driving shaft has been increased;
[0103] and / or,
[0104] The second output module is used to output second prompt information when the maximum lifting height of the crane suitable for the target skiing level is greater than the maximum lifting height of the crane suitable for the current skiing level, wherein the second prompt information is used to prompt that the maximum lifting height of the crane has been increased.
[0105] In the present application, the user's account number inputted by the user on the terminal is obtained. The user's current skiing level is determined according to the user's account number. The maximum rotation speed of the driving shaft suitable for the current skiing level is obtained, and the maximum lifting height of the crane suitable for the current skiing level is obtained. A first limiting instruction is sent to the motor, and a second limiting instruction is sent to the crane, so that when the user simulates skiing on the ski carpet, when the motor drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to less than or equal to the maximum rotation speed according to the first limiting instruction, and when the crane is lifting, the lifting height of the crane is limited to less than or equal to the maximum lifting height according to the second limiting instruction. Through the present application, the rolling speed of the ski carpet of the ski machine can be limited to a speed range suitable for the user's skiing level, and the slope of the ski carpet can be limited to a slope range suitable for the user's skiing level, so that the safety of the user simulating skiing on the ski carpet can be improved.
[0106] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0107] Optionally, an embodiment of the present invention further provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned data processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0108] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned data processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0109] Figure 4 800 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0110] Reference Figure 4, the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0111] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0112] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, images, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0113] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.
[0114] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0115] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0116] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0117] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0118] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast operation information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0119] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0120] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0121] Figure 5 1 is a block diagram of an electronic device 1900 shown in the present application. For example, the electronic device 1900 may be provided as a server.
[0122] Reference Figure 5 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0123] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0124] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0125] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0126] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0127] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0128] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0129] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0130] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0131] 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.
[0132] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0133] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A data processing method, It is characterized in that The method is applied to a terminal, the terminal is connected to a motor in a ski machine, the motor is used to drive the front roller and the driving shaft in the rear roller in the ski machine to rotate, and the terminal is also connected to a jack located on one side of the rear roller, the jack is used to adjust the slope of the ski blanket in the ski machine; the method includes: Obtaining the user's account number input by the user on the terminal; determining the user's current skiing level based on the account; Acquire a maximum rotation speed of the driving shaft applicable to the current skiing level, and acquire a maximum lifting height of the lifting device applicable to the current skiing level; Sending a first limiting instruction to the motor, and sending a second limiting instruction to the hoist, so that when the user simulates skiing on the ski carpet, when the motor drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed according to the first limiting instruction, and when the hoist is lifting, the lifting height of the hoist is limited to be less than or equal to the maximum lifting height according to the second limiting instruction; The step of obtaining the maximum rotation speed of the driving shaft applicable to the current skiing level and the step of obtaining the maximum lifting height of the lifting device applicable to the current skiing level comprises: In a first correspondence between the skiing level, the maximum rotation speed of the driving shaft and the maximum lifting height of the jack, searching for the maximum rotation speed of the driving shaft and the maximum lifting height of the jack corresponding to the current skiing level; Among them, in the first corresponding relationship, different skiing levels correspond to different maximum rotation speeds of the driving shaft, and different skiing levels correspond to different maximum lifting heights of the crane.
2. The method according to claim 1, It is characterized in that The method further comprises: During the process of the user simulating skiing on the ski carpet, if the user's skiing level is upgraded from the current skiing level to the target skiing level, obtaining a maximum rotation speed of the driving shaft applicable to the target skiing level, and obtaining a maximum lifting height of the lifting device applicable to the target skiing level; A third limiting instruction is sent to the motor, and a fourth limiting instruction is sent to the hoist, so that when the motor subsequently drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed of the driving shaft applicable to the target skiing level according to the third limiting instruction, and when the hoist is lifting, the lifting height of the hoist is limited to be less than or equal to the maximum lifting height of the hoist applicable to the target skiing level according to the fourth limiting instruction.
3. The method according to claim 2, It is characterized in that The method further comprises: When the maximum rotation speed of the driving shaft applicable to the target skiing level is greater than the maximum rotation speed of the driving shaft applicable to the current skiing level, outputting first prompt information, wherein the first prompt information is used to prompt that the maximum rotation speed of the driving shaft has been increased; and / or, When the maximum lifting height of the lift applicable to the target skiing level is greater than the maximum lifting height of the lift applicable to the current skiing level, second prompt information is outputted, the second prompt information being used to prompt that the maximum lifting height of the lift has been increased.
4. A data processing device, It is characterized in that The device is applied to a terminal, the terminal is connected to a motor in a ski machine, the motor is used to drive the front roller and the driving shaft in the rear roller in the ski machine to rotate, and the terminal is also connected to a jack located on one side of the rear roller, the jack is used to adjust the slope of the ski blanket in the ski machine; the device includes: A first acquisition module, used to acquire the user's account number input by the user on the terminal; a determination module, configured to determine the current skiing level of the user according to the account; A second acquisition module, used for acquiring a maximum rotation speed of the driving shaft suitable for the current skiing level, and acquiring a maximum lifting height of the lifting device suitable for the current skiing level; a first sending module, configured to send a first limiting instruction to the motor, and to send a second limiting instruction to the hoist, so that when the user simulates skiing on the ski mat, when the motor drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed according to the first limiting instruction, and when the hoist is lifting, the lifting height of the hoist is limited to be less than or equal to the maximum lifting height according to the second limiting instruction; The second acquisition module includes: a search unit, configured to search for the maximum rotation speed of the driving shaft and the maximum lifting height of the lifting device corresponding to the current skiing level in a first correspondence between the skiing level, the maximum rotation speed of the driving shaft and the maximum lifting height of the lifting device; Among them, in the first corresponding relationship, different skiing levels correspond to different maximum rotation speeds of the driving shaft, and different skiing levels correspond to different maximum lifting heights of the crane.
5. The device according to claim 4, It is characterized in that The device also includes: a third acquisition module, configured to acquire, during the process of the user simulating skiing on the ski carpet, if the user's skiing level is upgraded from the current skiing level to a target skiing level, a maximum rotation speed of the driving shaft applicable to the target skiing level, and a maximum lifting height of the lifting device applicable to the target skiing level; The second sending module is used to send a third restriction instruction to the motor and a fourth restriction instruction to the hoist, so that when the motor drives the driving shaft to rotate, the rotation speed of the driving shaft is limited to be less than or equal to the maximum rotation speed of the driving shaft applicable to the target skiing level according to the third restriction instruction, and when the hoist is lifting, the lifting height of the hoist is limited to be less than or equal to the maximum lifting height of the hoist applicable to the target skiing level according to the fourth restriction instruction.
6. The device according to claim 5, It is characterized in that The device also includes: a first output module, configured to output first prompt information when the maximum rotation speed of the driving shaft applicable to the target skiing level is greater than the maximum rotation speed of the driving shaft applicable to the current skiing level, wherein the first prompt information is used to prompt that the maximum rotation speed of the driving shaft has been increased; and / or, The second output module is used to output second prompt information when the maximum lifting height of the crane suitable for the target skiing level is greater than the maximum lifting height of the crane suitable for the current skiing level, wherein the second prompt information is used to prompt that the maximum lifting height of the crane has been increased.
7. An electronic device, It is characterized in that include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the data processing method according to any one of claims 1 to 3 when executed by the processor.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data processing method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
GNSS and IMU time synchronization method and skiing synchronization detection system
CN112985387A
METHOD AND SYSTEM FOR MANAGING THE FLOW OF SKIERS MOVING THROUGH A SKI NETWORK.
FR2958776A1