WO2020151387A1 - 一种基于用户运动状态的推荐方法及电子设备 - Google Patents

一种基于用户运动状态的推荐方法及电子设备 Download PDF

Info

Publication number
WO2020151387A1
WO2020151387A1 PCT/CN2019/124483 CN2019124483W WO2020151387A1 WO 2020151387 A1 WO2020151387 A1 WO 2020151387A1 CN 2019124483 W CN2019124483 W CN 2019124483W WO 2020151387 A1 WO2020151387 A1 WO 2020151387A1
Authority
WO
WIPO (PCT)
Prior art keywords
sports
electronic device
recommended content
user
scene
Prior art date
Application number
PCT/CN2019/124483
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to US17/421,495 priority Critical patent/US20220080261A1/en
Priority to EP19911413.3A priority patent/EP3893129A4/en
Publication of WO2020151387A1 publication Critical patent/WO2020151387A1/zh

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0062Monitoring athletic performances, e.g. for determining the work of a user on an exercise apparatus, the completed jogging or cycling distance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0003Analysing the course of a movement or motion sequences during an exercise or trainings sequence, e.g. swing for golf or tennis
    • A63B24/0006Computerised comparison for qualitative assessment of motion sequences or the course of a movement
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities
    • A63B71/0619Displays, user interfaces and indicating devices, specially adapted for sport equipment, e.g. display mounted on treadmills
    • A63B71/0622Visual, audio or audio-visual systems for entertaining, instructing or motivating the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0003Analysing the course of a movement or motion sequences during an exercise or trainings sequence, e.g. swing for golf or tennis
    • A63B24/0006Computerised comparison for qualitative assessment of motion sequences or the course of a movement
    • A63B2024/0009Computerised real time comparison with previous movements or motion sequences of the user
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0062Monitoring athletic performances, e.g. for determining the work of a user on an exercise apparatus, the completed jogging or cycling distance
    • A63B2024/0065Evaluating the fitness, e.g. fitness level or fitness index
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0062Monitoring athletic performances, e.g. for determining the work of a user on an exercise apparatus, the completed jogging or cycling distance
    • A63B2024/0068Comparison to target or threshold, previous performance or not real time comparison to other individuals
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2220/00Measuring of physical parameters relating to sporting activity
    • A63B2220/70Measuring or simulating ambient conditions, e.g. weather, terrain or surface conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Definitions

  • This application relates to the field of terminal technology, and in particular, to a recommendation method and electronic equipment based on a user's motion state.
  • APPs sports applications
  • terminals such as mobile phones
  • APPs sports applications
  • users can use the aforementioned sports APP to count and view their own exercise information such as the number of exercise steps, exercise speed, exercise duration, and exercise distance.
  • users can also use the functions provided by other apps to enhance the exercise experience during exercise. For example, when running, users can listen to songs through a music app, and check weather conditions through a weather app. It can be seen that the functions that users need mobile phones to provide during exercise are generally scattered in different display interfaces of different applications, which makes users need to manually search and switch in each display interface during exercise, which is easy to cause interference to the exercise process. The user experience is also reduced.
  • This application provides a recommendation method and electronic device based on the user's exercise status, which can provide the user with sports-related service content when running a sports APP, reduce the number of times the user switches the display interface, and improve the user's sports experience.
  • the present application provides a recommendation method based on the user's exercise status, including: obtaining the user's first exercise data after the electronic device runs the exercise application, and the first exercise data is used to reflect the type of exercise the user is doing; and further, The electronic device can determine the first sports scene corresponding to the first sports data; further, the electronic device can obtain the first recommended content corresponding to the first sports scene; when the sports application is running, the electronic device can display on the display interface of the sports application The first recommended content is displayed in, or the electronic device may play the first recommended content through voice. In this way, the user can directly enjoy the recommended content related to the current exercise provided by other applications or services in the sports APP when completing the exercise using the sports APP. The user does not need to repeatedly switch between different APPs or different display interfaces to find the content they need during exercise, thereby improving the user's exercise experience when using the sports APP.
  • the electronic device determining the first motion scene corresponding to the first motion data specifically includes: the electronic device determining the motion type corresponding to the first motion data, and determining the above motion type as the first motion Scenes.
  • the type of exercise the user is doing is the first exercise scene.
  • the electronic device may further include: the electronic device acquires current first environmental data, and the first environmental data is used to reflect the environmental characteristics of the user during exercise; at this time,
  • the electronic device determining the first motion scene corresponding to the first motion data specifically includes: the electronic device determining the first motion scene corresponding to both the first motion data and the first environmental data. That is, the electronic device may determine the corresponding first sports scene in combination with the current user's movement type and environmental factors.
  • the electronic device can determine the corresponding exercise scene by acquiring corresponding exercise data and environmental data.
  • the electronic device may store the correspondence between different sports scenes and different recommended content; wherein the electronic device acquires the first recommended content corresponding to the first sports scene, which specifically includes: electronic device The first recommended content corresponding to the first sports scene is queried in the above corresponding relationship. In this way, in different sports scenes, the electronic device can determine the recommended content associated with the current sports scene for the user and recommend it to the user.
  • the above-mentioned first recommended content may be determined by the electronic device according to the user's historical usage habits in the first sports scene. Then, in the same sports scene, the recommended content determined by the electronic device for different users is related to their historical behavior habits, so as to provide the user with personalized and customized recommended content during exercise.
  • the electronic device displaying the first recommended content on the display interface of the sports application includes: the electronic device displays the detailed information of the first recommended content on the display interface of the sports application, that is, the electronic device is in the sports application A direct service recommendation function is provided in, to reduce the number of times the user jumps and switches between different interfaces when exercising; or, the electronic device can display a shortcut of the first recommended content in the display interface of the sports application. The user can trigger the electronic device to play or display the specific first recommended content through the shortcut of the first recommended content.
  • the electronic device displays the shortcut of the first recommended content on the display interface of the sports application
  • it may further include: if it is detected that the user selects the shortcut of the first recommended content, the electronic device displays on the display interface of the sports application Or play the detailed information of the first recommended content.
  • the electronic device plays the first recommended content when running the aforementioned sports application, which specifically includes: when the sports application is running, if a preset gesture input by the user is received, the electronic device may start to play the first recommended content.
  • Recommended content the electronic device may be preset to trigger the electronic device to play the recommended content through triggering methods such as tapping the device, shaking the device, or raising the hand gesture.
  • the electronic device displays the first recommended content on the display interface of the sports application; or, before the electronic device plays the first recommended content when the sports application is running, it may further include: electronic equipment
  • the first recommended content can be selected to be displayed or played according to the first sports scene. In this way, the electronic device can select an appropriate way to recommend the recommended content determined by the electronic device to the user based on the characteristics of different sports scenes, thereby improving the user's sports experience.
  • the above method further includes: the electronic device may also obtain the user's second motion data when running the sports application; and determine the second motion scene corresponding to the second motion data (the second motion scene may (Different from the aforementioned first sports scene); further, the electronic device can obtain the second recommended content corresponding to the second sports scene; and display the aforementioned second recommended content on the display interface of the sports application; or, while running the sports application
  • the second recommended content is played at time (the second recommended content may be different from the first recommended content). That is, the recommended content recommended by the electronic device to the user when running the sports APP is all associated with the user's current sports scene, and the electronic device can recommend different recommended content associated with the sports scene to the user when the user performs different sports.
  • the foregoing first recommended content or second recommended content may include one or more of audio files, video files, sports health information, or environmental information.
  • this application provides an electronic device, including: one or more sensors, one or more processors, one or more memories, and one or more computer programs; wherein the processor and the sensors, the touch screen, and the The memories are coupled, and the above-mentioned one or more computer programs are stored in the memory.
  • the processor executes the one or more computer programs stored in the memory, so that the electronic device executes any of the above-mentioned computer programs. Recommended method based on the user's exercise status.
  • this application provides a graphical user interface (GUI), the graphical user interface is stored in the above-mentioned electronic device, the electronic device includes a touch screen, a memory, a processor, the processor is used to execute storage
  • the graphical user interface may include: a first GUI displayed on the touch screen when the electronic device is in the first motion scene, the first GUI being the first display of the motion application Interface, the first display interface includes the first recommended content corresponding to the first sports scene; when the electronic device is in the second sports scene, the second GUI displayed on the touch screen, the second GUI is the second sports application
  • a display interface the second display interface includes second recommended content corresponding to a second sports scene; wherein, the second sports scene is different from the first sports scene, and the second recommended content is different from the first sports scene. 1.
  • the recommended content is different.
  • the first recommended content in the foregoing first GUI is determined by the electronic device according to the user's historical usage habits in the first sports scene; and/or, the second recommended content in the foregoing second GUI is determined by the electronic device according to The user's historical usage habits in the second sports scene are determined.
  • the present application provides a computer storage medium including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the recommendation method based on the user's motion state as described in any one of the first aspect.
  • the present application provides a computer program product, which when the computer program product runs on an electronic device, causes the electronic device to execute the recommendation method based on the user's motion state as described in any one of the first aspect.
  • the electronic device described in the second aspect, the GUI described in the third aspect, the computer storage medium described in the fourth aspect, and the computer program product described in the fifth aspect provided above are all used to execute the foregoing
  • the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding method provided above, which will not be repeated here.
  • FIG. 1 is a first structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 2 is a schematic diagram of the architecture of an operating system in an electronic device provided by an embodiment of the application;
  • FIG. 3 is a schematic diagram 1 of a scenario of a recommendation method based on a user's motion state provided by an embodiment of the application;
  • FIG. 4 is a schematic flowchart of a recommendation method based on a user's motion state provided by an embodiment of the application
  • FIG. 5 is a schematic diagram 2 of a scenario of a recommendation method based on a user's motion state according to an embodiment of the application;
  • FIG. 6 is a schematic diagram 1 of interaction of a recommendation method based on a user's motion state provided by an embodiment of this application;
  • FIG. 7 is a schematic diagram three of a scene of a recommendation method based on a user's motion state according to an embodiment of the application.
  • FIG. 8 is a schematic diagram 4 of a scene of a recommendation method based on a user's motion state according to an embodiment of the application;
  • FIG. 9 is a schematic diagram five of a scenario of a recommendation method based on a user's motion state provided by an embodiment of this application.
  • FIG. 10 is a schematic diagram 6 of a scene of a recommendation method based on a user's motion state according to an embodiment of the application;
  • FIG. 11 is a schematic diagram 7 of a scene of a recommendation method based on a user's motion state provided by an embodiment of the application;
  • FIG. 12 is a schematic diagram eight of a scenario of a recommendation method based on a user's motion state provided by an embodiment of the application;
  • FIG. 13 is a schematic diagram 9 of a scene of a recommendation method based on a user's motion state according to an embodiment of the application;
  • FIG. 14 is a schematic diagram ten of a scene of a recommendation method based on a user's motion state provided by an embodiment of this application;
  • 15 is a second schematic diagram of interaction of a recommendation method based on a user's motion state according to an embodiment of the application;
  • FIG. 16 is a second structural diagram of an electronic device provided by an embodiment of this application.
  • the embodiment of the application provides a recommendation method based on the user's exercise status, which can be applied to mobile phones, tablet computers, notebook computers, ultra-mobile personal computers (UMPC), handheld computers, netbooks, personal digital assistants ( Personal digital assistant (PDA), wearable electronic devices, virtual reality devices, etc., the embodiments of the present application do not impose any restrictions on this.
  • UMPC ultra-mobile personal computers
  • PDA Personal digital assistant
  • wearable electronic devices virtual reality devices, etc.
  • FIG. 1 shows a schematic structural diagram of the mobile phone.
  • the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, RF module 150, communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display 194, and user identification module (subscriber identification module, SIM) card interface 195, etc.
  • a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, RF module 150, communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display 19
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and the environment Light sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 100.
  • the mobile phone 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the mobile phone 100.
  • the controller can generate operation control signals according to the instruction operation code and timing signals, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • UART mobile industry processor interface
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a two-way synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may couple the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the mobile phone 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the communication module 160.
  • the processor 110 communicates with the Bluetooth module in the communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the mobile phone 100.
  • the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the mobile phone 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the communication module 160, the audio module 170, the sensor module 180, and so on.
  • GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the mobile phone 100, and can also be used to transfer data between the mobile phone 100 and peripheral devices. It can also be used to connect headphones and play audio through the headphones. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the mobile phone 100.
  • the mobile phone 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the mobile phone 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used for connecting the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the radio frequency module 150, the communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the radio frequency module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the mobile phone 100.
  • the radio frequency module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the radio frequency module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the radio frequency module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the radio frequency module 150 may be provided in the processor 110.
  • at least part of the functional modules of the radio frequency module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the radio frequency module 150 or other functional modules.
  • the communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems ( Global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite systems
  • frequency modulation frequency modulation, FM
  • NFC near field communication
  • infrared technology infrared, IR
  • the communication module 160 may be one or more devices integrating at least one communication processing module.
  • the communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the mobile phone 100 is coupled with the radio frequency module 150, and the antenna 2 is coupled with the communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the mobile phone 100 implements a display function through a GPU, a display screen 194, and an application processor.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diode (QLED), etc.
  • the mobile phone 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the mobile phone 100 can implement shooting functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats.
  • the mobile phone 100 may include one or N cameras 193, and N is a positive integer greater than one.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the mobile phone 100 may support one or more video codecs. In this way, the mobile phone 100 can play or record videos in a variety of encoding formats, for example: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG moving picture experts group
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • the NPU can realize applications such as intelligent cognition of the mobile phone 100, such as image recognition, face recognition, speech recognition, text understanding, etc.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • UFS universal flash storage
  • the mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called a “speaker” is used to convert audio electrical signals into sound signals.
  • the mobile phone 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called a "handset" is used to convert audio electrical signals into sound signals.
  • the mobile phone 100 answers a call or a voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electric signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal to the microphone 170C.
  • the mobile phone 100 may be provided with at least one microphone 170C.
  • the mobile phone 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals.
  • the mobile phone 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive materials.
  • the mobile phone 100 determines the intensity of the pressure according to the change in capacitance.
  • a touch operation acts on the display screen 194, the mobile phone 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the mobile phone 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch location but have different touch operation strengths may correspond to different operation instructions. For example: when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the movement posture of the mobile phone 100.
  • the angular velocity of the mobile phone 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyroscope sensor 180B detects the shake angle of the mobile phone 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the mobile phone 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the mobile phone 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the mobile phone 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the mobile phone 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • the automatic unlocking of the flip cover is set according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the mobile phone 100 is stationary. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers and so on.
  • the mobile phone 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the mobile phone 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the mobile phone 100 emits infrared light to the outside through the light emitting diode.
  • the mobile phone 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the mobile phone 100. When insufficient reflected light is detected, the mobile phone 100 can determine that there is no object near the mobile phone 100.
  • the mobile phone 100 can use the proximity light sensor 180G to detect that the user holds the mobile phone 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the mobile phone 100 can adaptively adjust the brightness of the display 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the mobile phone 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the mobile phone 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, etc.
  • the temperature sensor 180J is used to detect temperature.
  • the mobile phone 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the mobile phone 100 performs a reduction in the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the mobile phone 100 when the temperature is lower than another threshold, the mobile phone 100 heats the battery 142 to avoid abnormal shutdown of the mobile phone 100 due to low temperature.
  • the mobile phone 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the mobile phone 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the mobile phone 100 can receive key input, and generate key signal input related to user settings and function control of the mobile phone 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations that act on different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminder, receiving information, alarm clock, game, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the mobile phone 100.
  • the mobile phone 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the mobile phone 100 interacts with the network through the SIM card to realize functions such as call and data communication.
  • the mobile phone 100 uses an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100.
  • the above-mentioned software system of the mobile phone 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present application takes a layered Android system as an example to illustrate the software structure of the mobile phone 100 by way of example.
  • FIG. 2 is a block diagram of the software structure of the mobile phone 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • applications such as camera, gallery, calendar, call, map, navigation, Bluetooth, music, video, SMS, etc. can be installed in the application layer.
  • various sports applications may be installed in the application layer, for example, one or more applications such as running apps, yoga apps, or swimming apps.
  • the user can use the sports APP to view the sports information during exercise. For example, the user can view the running distance, pace, heart rate and other information in the sports APP while running.
  • the application framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • a service for providing data analysis to the aforementioned sports APP may be set in the application framework layer.
  • the service may be referred to as a motion analysis service in the embodiment of the present application.
  • the motion analysis service can monitor the running status of the sports APP, and can also serve as a bridge between the sports APP and other applications, and transfer the service content of other applications to the sports APP for display or execution.
  • one or more sensors in the sensor module may collect movement data of the user during exercise, such as movement speed, exercise duration, and exercise heart rate.
  • the motion analysis service detects that the motion APP is running, it can obtain the motion data collected by the motion APP.
  • the sports analysis service can feed back service content related to current sports data in other applications to the sports APP. For example, if the user is doing yoga exercise data is collected, the exercise analysis service can obtain the corresponding yoga video from the video APP and send it to the exercise APP.
  • the sports APP can display or play the service content of other applications provided by the sports analysis service.
  • the user can directly enjoy the sports-related service content provided by other applications in the sports APP, without repeatedly switching between different APPs or different display interfaces during exercise to find what they need Content, thereby improving the user’s sports experience when using the sports APP.
  • the exercise analysis service can also obtain current environmental data, such as time, temperature, and ambient light intensity, while the sports APP is running. Furthermore, the sports analysis service can combine the environmental data and the sports data to determine the specific service content that is fed back to the sports APP, which will be described in detail in the subsequent embodiments, so it will not be repeated here.
  • the mobile phone 100 can also interact with the wearable device 200.
  • the wearable device 200 may be a smart watch, a smart bracelet, a smart helmet, or a smart earphone, which is not limited in the embodiment of the present application.
  • the wearable device 200 can periodically send the collected motion data or environmental data to the mobile phone 100.
  • the motion analysis service in the mobile phone 100 detects that the motion APP starts running, the motion analysis service can provide the user with other applications related to the current exercise in the sports APP according to the recent exercise data or environmental data sent by the wearable device 200 according to the above method Service content.
  • the application framework layer can also include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data, and make these data accessible to applications.
  • the data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text and controls that display pictures.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the mobile phone 100.
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a short stay without user interaction.
  • the notification manager is used to notify the download completion, message reminder, etc.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • the status bar prompts text messages, sounds prompts, electronic equipment vibrates, and indicator lights flash.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • surface manager surface manager
  • media library Media Libraries
  • 3D graphics processing library for example: OpenGL ES
  • 2D graphics engine for example: SGL
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least a display driver, a camera driver, an audio driver, a sensor driver, etc., which are not limited in the embodiment of the present application.
  • a mobile phone is taken as an example of an electronic device, and a recommendation method based on a user's motion state provided by an embodiment of the present application is described in detail with reference to the accompanying drawings. As shown in Figure 4, the method includes:
  • the mobile phone obtains the user's exercise data when running the sports APP.
  • the above exercise data can be used to reflect the specific exercise type that the user is doing, for example, walking, running, swimming, cycling, yoga, etc.
  • the embodiment of the present application does not impose any limitation on this.
  • the mobile phone may display the home page 501 of the sports APP.
  • the user can select a specific exercise type, for example, walking, running, cycling, yoga, etc.
  • the mobile phone can obtain that the exercise data of the user at this time is running.
  • the mobile phone can also jump from the homepage 501 to the interface of the running mode.
  • the mobile phone can also collect the current motion data of the mobile phone through one or more sensors such as acceleration sensor, gyroscope, GPS, air pressure height sensor, or distance sensor.
  • the movement data may be the mobile phone's moving speed, movement direction, mobile phone posture, climbing speed, contact pressure, etc.
  • the collected mobile phone exercise data can also be used as the user's exercise data to reflect the user's current exercise type.
  • the mobile phone determines that the current user's exercise type is running according to the collected exercise data, the mobile phone can automatically jump from the home page 501 to the interface of the exercise mode of running.
  • the user can wear a wearable device when using the sports APP to exercise. Then, after the mobile phone detects that the user opens the sports APP, it can further detect whether a wireless connection (such as a Bluetooth connection) is established with the wearable device. If the mobile phone establishes a wireless connection with the wearable device, the mobile phone can also obtain the user's exercise data from the wearable device. For example, one or more sensors in the wearable device can collect the user's current exercise data, and periodically report the collected exercise data to the mobile phone through the Bluetooth module, so that the mobile phone can obtain the user's exercise data.
  • a wireless connection such as a Bluetooth connection
  • the user manually opens the sports APP to trigger the mobile phone to start running the sports APP as an example.
  • the mobile phone can also automatically open the sports APP.
  • the sports APP can be preset in the mobile phone to automatically start the application when the phone is turned on, then the mobile phone can automatically open the sports APP and start running after the mobile phone is turned on.
  • the sensors in the mobile phone can periodically collect current motion data and report it to the motion analysis service of the framework layer. When the motion analysis service determines that the user is in motion based on the motion data, it can trigger the mobile phone to automatically turn on and run the exercise APP.
  • running a sports APP on a mobile phone may refer to running a sports APP in the foreground of the mobile phone, or may mean running a sports APP in the background of the mobile phone, and the embodiment of the application does not impose any restriction on this.
  • the mobile phone obtains current environmental data when running the sports APP.
  • the aforementioned environmental data can be used to reflect the environmental characteristics of the user during exercise.
  • the environmental data may be one or more data such as time, ambient light intensity, humidity, wind force, and geographic location.
  • the current environmental data of the mobile phone can be collected through one or more sensors such as a hygrometer, a thermometer, an ambient light sensor, and an infrared sensor. Alternatively, these sensors can also be provided in the wearable device in advance.
  • the mobile phone can obtain the current environmental data collected by the wearable device from the wearable device.
  • the mobile phone determines the current sports scene according to the aforementioned sports data and environmental data.
  • the mobile phone may use a pre-stored motion model to determine the type of motion corresponding to the motion data.
  • the correspondence between different exercise types and exercise models (for example, the first correspondence) can be preset in the mobile phone. For example, when the motion speed in the motion model is 2-3 m/s, the corresponding motion type is jogging; when the contact pressure on the surface of the device in the motion model is less than 10000 Pa, the corresponding motion type is swimming; when the motion model is When the climbing speed is greater than 0.2 m/s, the corresponding movement type is mountain climbing. Then, the mobile phone can match the corresponding motion model in Table 1 according to the motion data obtained in step S401, and then determine the corresponding motion type.
  • the mobile phone may use a pre-stored environment model to determine the environment feature corresponding to the environment data.
  • the correspondence between different environmental features and the environment model (for example, the second correspondence) can also be preset in the mobile phone. For example, when the ambient light intensity in the environmental model is between 0.001 and 0.3, the corresponding environmental feature is night; when the ambient light intensity in the environmental model is between 50 and 500, the corresponding The environmental feature is cloudy outdoors; when the time in the environmental model is before 9 am and the temperature is less than 10°C, the corresponding environmental feature is winter morning. Then, the mobile phone can match the corresponding environmental model in Table 2 according to the environmental data obtained in step S402, and then determine the corresponding environmental characteristics.
  • the mobile phone After the mobile phone determines the movement type and the environmental characteristic according to the acquired movement data and the environmental data, the mobile phone can synthesize the determined movement type and the environmental characteristic into the corresponding sports scene. For example, if the type of exercise determined by the mobile phone from Table 1 is jogging, and the environmental feature determined from Table 2 is winter morning, then the mobile phone can determine the corresponding sports scene as follows: Jogging in the winter morning . In this way, when the user performs different exercises in different scenarios, the mobile phone can determine the corresponding exercise scene by acquiring corresponding exercise data and environmental data. It can be seen that the sports scenes in the embodiments of the present application can at least reflect the type of exercise the user is doing, such as running, cycling, swimming, mountain climbing, or yoga. Further, the exercise scene determined by the mobile phone can also reflect the specific environmental characteristics of the user during a certain exercise, such as the time, location, season, temperature, humidity, or light intensity during exercise.
  • step S402 that is, the mobile phone obtains current environmental data when running the sports APP
  • the mobile phone can only determine the current sports scene through the acquired sports data.
  • the mobile phone may use Table 1 to use the exercise type corresponding to the acquired exercise data as the current exercise scene.
  • the embodiment of the present application does not limit the execution sequence between the above steps S401 and S402. For example, the mobile phone may first obtain the current environmental data, and then obtain the current exercise data; or, the mobile phone may first obtain the current exercise data, and then obtain Current environmental data; of course, the mobile phone can also obtain the aforementioned environmental data and exercise data at the same time, and the embodiment of the present application does not impose any restriction on this.
  • the corresponding relationship between the motion model, the environment model, and the motion scene can be established in the mobile phone in advance. Furthermore, the mobile phone can match the corresponding motion model and environment model in Table 3 according to the motion data and environmental data obtained in steps S401 and S402, and then determine the motion scene corresponding to the motion data and environmental data (that is, the matching The motion scene corresponding to the motion model and the environment model).
  • the mobile phone can also send the acquired exercise data and environmental data to the server. Furthermore, the server can determine the current sports scene according to the aforementioned sports data and environmental data, and send the determined sports scene to the mobile phone, so that the mobile phone can determine the current sports scene.
  • the mobile phone obtains recommended content corresponding to the current sports scene.
  • the mobile phone may preset one or more corresponding recommended content.
  • the corresponding recommended content can be set as Song 1 and Song 2; when the sports scene is night jogging, the corresponding recommended content can be set as weather forecast and song 3; when the sports scene is winter During yoga, you can set the corresponding recommended content as yoga videos, etc.
  • the mobile phone can determine the specific recommended content recommended for the user during this exercise according to the current exercise scene.
  • the mobile phone can determine recommended content associated with the current sports scene for the user to recommend to the user.
  • the mobile phone may also determine the recommended content corresponding to the current sports scene according to the user's historical behavior habits. Then, in the same sports scene, the recommended content determined by the mobile phone for different users is related to their historical behavior habits, so as to provide users with personalized and customized recommended content during exercise.
  • the mobile phone can count the user's operating habits in different sports scenarios when running the sports APP.
  • the motion analysis service in the mobile phone can detect the running status of the sports APP in real time.
  • the mobile phone can obtain the current exercise data and environmental data from the wearable device, and based on the exercise data and environmental data Determine the specific sports scene the user is currently in.
  • the description of obtaining the aforementioned motion data, environmental data, and determining the motion scene refer to the relevant description of the aforementioned steps S401-403.
  • the sports analysis service can continue to monitor the user's operations or functions in third-party apps (such as music apps, video apps, and weather apps).
  • third-party apps such as music apps, video apps, and weather apps.
  • Service content provided to users in sports scenarios. For example, if it is detected that the user opens a music APP to listen to Song 1 in a running scene, the sports analysis service may use Song 1 as the user's recommended content in the running scene. Furthermore, the sports analysis service can obtain the resource information of Song 1 and establish the correspondence between the running scene and the resource information of Song 1. In this way, in step S404, if the sports analysis service determines that the current sports scene is also a running scene, the sports analysis service may determine that the recommended content recommended to the user this time is song 1 according to the above-mentioned corresponding relationship.
  • the mobile phone can determine whether to determine the service content as the recommended content in the current sports scene according to a certain strategy. For example, if the mobile phone detects that the user has opened a music APP to play song 1 in an outdoor jogging scene three times in a row, the mobile phone can determine that the user has a behavioral habit of listening to song 1 when jogging outdoors. At this time, the mobile phone can obtain the resource information of song 1.
  • the resource information can be the storage address of song 1 in the memory, or the resource information can be the URL (uniform resource locator) address of song 1. .
  • the mobile phone can also monitor the service content used by the user in the sports APP. For example, in the scenario of running on a treadmill, if the mobile phone detects that the user will view the heart rate information in the sports APP for 4 consecutive times, and the mobile phone detects that the user will check the indoor temperature and humidity for 3 consecutive times, the mobile phone can determine that the user is on the treadmill Have the habit of checking heart rate and indoor temperature and humidity when running. At this time, the mobile phone can record the resource information of heart rate information, temperature information and humidity information.
  • the mobile phone can establish the correspondence between the user in different sports scenes and different recommended content.
  • each recommended content is a behavioral habit related to the user's behavioral habit calculated by the mobile phone.
  • step S404 after the mobile phone determines the current sports scene, it can determine the resource information of one or more recommended content associated with the user's behavior habits in the current sports scene according to the corresponding relationship shown in Table 4 ( Table 4 takes URL address as an example of resource information).
  • the mobile phone can obtain specific recommended content according to the URL address of the recommended content. In this way, the mobile phone can customize personalized recommendation content for different users and different sports scenes.
  • the mobile phone may also determine the recommended content corresponding to the current sports scene according to the user profile of the user.
  • the mobile phone can abstract a full picture of the user's information, that is, the user portrait of the user, by collecting and analyzing various behavioral data of the user using the mobile phone.
  • the user portrait usually includes one or more user tags for reflecting the characteristics of the user.
  • user tags of users include but are not limited to the following six types of tags: basic attributes, social attributes, behavior habits, hobbies, psychological attributes, and mobile phone usage preferences.
  • the aforementioned basic attributes include but are not limited to: personal information and physiological characteristics.
  • the personal information includes but is not limited to: name, age, certificate type, educational background, constellation, belief, marital status, and email address.
  • the above-mentioned social attributes include but are not limited to: industry/occupation, position, income level, child status, vehicle usage, housing residence, mobile phone and mobile operator.
  • the housing residence may include: renting a house, owning a house, and repaying a loan.
  • the mobile phone may include: brand and price.
  • the mobile operator may include: brand, network, traffic characteristics and mobile phone number.
  • the brands may include: China Mobile, China Unicom, Telecom and others.
  • the network may include: none, 2G, 3G, and 4G.
  • the flow characteristics may include: high, medium, and low.
  • the above-mentioned behavior habits include but are not limited to: geographic location, living habits, transportation mode, hotel type, economic/financial characteristics, dining habits, shopping characteristics, and payment status.
  • the living habits may include: work and rest time, home time, work time, computer surfing time, and grocery shopping time.
  • the shopping characteristics may include: shopping categories and shopping methods.
  • the payment situation may include: payment time, payment location, payment method, single payment amount, and total payment amount.
  • the above-mentioned hobbies include, but are not limited to: reading preferences, news preferences, video preferences, music preferences, sports preferences and travel preferences.
  • the reading preferences may include: reading frequency, reading time period, total reading time, and reading classification.
  • the above-mentioned psychological attributes include but are not limited to: lifestyle, personality and values.
  • the aforementioned mobile phone usage preferences include but are not limited to: application preferences, notification reminders, in-app operations, user frequently used, system applications, and frequently used settings.
  • step S404 after the mobile phone determines the current sports scene, it can determine the recommended content corresponding to the current sports scene for the user according to the user portrait of the user. For example, if the user portrait of the user includes two user tags of reading and history, the mobile phone can use the e-book related to the history that the user is currently reading as the recommended content in the current sports scene. If the user's user portrait includes the three user tags of music, pop, and Taylor Swift, the mobile phone can use one or more songs with the artist name Taylor Swift as recommended content in the current sports scene.
  • the mobile phone can also send a recommendation request to the server to request the server to determine the recommended content corresponding to the current sports scene for the mobile phone, and return the determined recommended content to the mobile phone.
  • the embodiment of the application does not impose any restriction on this.
  • the mobile phone displays or plays the above recommended content when running the sports APP.
  • the mobile phone can display the aforementioned recommended content on the display interface of the sports APP; or, the mobile phone can play the aforementioned recommended content when the sports APP is running.
  • the mobile phone can automatically display the detailed information or shortcuts of the recommended content on the display interface of the sports APP.
  • the mobile phone can also automatically play the detailed information of the recommended content in the form of voice.
  • the shortcut of the recommended content is displayed, if it is detected that the user selects the shortcut, the mobile phone can start to display or play the detailed information of the recommended content.
  • the mobile phone after the mobile phone obtains the recommended content corresponding to the current sports scene, it can also automatically play the recommended content in the form of voice when running the sports APP. Or, the mobile phone can also broadcast the above-mentioned recommended content in response to the user's gesture voice.
  • the mobile phone may display the aforementioned recommended content on the display interface of the sports APP, or may not display the aforementioned recommended content on the display interface of the sports APP, which is not limited in this embodiment of the application.
  • the mobile phone after detecting that the user (such as user Amy) selects the exercise mode of running on the home page 501, the mobile phone can determine that the current exercise scene is treadmill running by performing the above steps S401-S403 Furthermore, the mobile phone can determine that the recommended content corresponding to the sports scene of treadmill running is: song 1, heart rate information, and indoor temperature and humidity by performing step S404. Then, as shown in FIG. 8, when the mobile phone displays the running interface 701 in the sports APP, the detailed information of the above three recommended contents (ie, the recommended contents 702-704) can be displayed in the running interface 701 at the same time. In this way, after opening the running interface 701 in the sports APP, the user can not only see the display content in the running interface 701, but also the content of song 1 (such as lyrics, singers, etc.), heart rate information during exercise, and current Indoor temperature and humidity.
  • song 1 such as lyrics, singers, etc.
  • the user can view these when viewing the running interface 701
  • the specific details of the service content thereby reducing the number of times the user jumps and switches between multiple interfaces of the mobile phone during exercise, and improves the user's exercise experience.
  • the mobile phone may determine that the recommended content associated with the indoor yoga scene is: yoga video and calorie information. Furthermore, as shown in FIG. 9, the mobile phone can display the yoga video recommended by the user (ie the recommended content 802) and the real-time calorie information (ie the recommended content 803) in the yoga interface 801 of the sports APP.
  • the recommended content determined by the mobile phone may be the service content provided in other apps except the sports APP, or the recommended content may also be the service content provided by other interfaces in the sports APP except the current interface. There are no restrictions.
  • the recommended content displayed for the user in the above-mentioned running interface 701 may also be associated with the behavior habit of the user when running on the treadmill.
  • the recommended content displayed by the mobile phone on the running interface 701 can be frequently used by the user when running on a treadmill, so that the mobile phone can provide personalized recommended content for different users during exercise according to the user's behavior habits.
  • the mobile phone can use the weather forecast for the next hour in the weather app and channel A in the radio app as recommended content.
  • the mobile phone can display the weather forecast for the next hour (ie the recommended content 902) and channel A (the recommended content 903) in the running interface 901. .
  • the mobile phone can display corresponding recommended content for the user in the sports APP according to the usage habits of different users in different sports scenarios.
  • the mobile phone can automatically play the corresponding audio content when the recommended content is displayed.
  • the mobile phone can also play the corresponding audio content when it detects that the user triggers the recommended content. For example, after detecting that the user clicks on the recommended content 702 in the above-mentioned running interface 701, the mobile phone can start to play song 1 corresponding to the recommended content 702.
  • the mobile phone can jump to the relevant interface of the APP to which the recommended content belongs. For example, as shown in FIG. 11, if it is detected that the user clicks on the recommended content 802 in the above-mentioned yoga interface 801, the mobile phone can display the interface 1001 where the above-mentioned yoga video in the video APP is located. In other words, the user can accurately jump to the interface where the recommended content determined by the mobile phone is located in the sports APP.
  • the mobile phone when the mobile phone displays the aforementioned recommended content on the interface of the sports APP, it may only display the shortcut of the aforementioned recommended content instead of displaying specific information in the recommended content.
  • the mobile phone can determine that the corresponding recommended content is: song 1, heart rate information, and indoor temperature and humidity.
  • the mobile phone can display a shortcut 1101 for music, a shortcut 1102 for heart rate information, and a shortcut 1103 for indoor temperature and humidity in the running interface 701. Subsequently, if it is detected that the user clicks on the shortcut 1101, the mobile phone can start to play song 1.
  • the mobile phone can start voice broadcast of the current user's heart rate information. That is to say, if it is detected that the user selects a shortcut, the mobile phone can directly display or play the detailed information of the corresponding recommended content in the display interface of the sports APP without jumping to the display interface corresponding to the shortcut, thereby Reduce the number of times the user switches the display interface during exercise, and improve the user experience during exercise.
  • the mobile phone can also jump to the display interface corresponding to the shortcut, and this embodiment of the application does not impose any limitation on this.
  • the mobile phone after the mobile phone determines the recommended content corresponding to the current sports scene, if the mobile phone is still running the sports APP, it means that the user is exercising. Then, the mobile phone can also play the above recommended content through voice.
  • the recommended content corresponding to the treadmill running scene can be obtained: song 1, heart rate information, and indoor temperature and humidity. Then, as shown in Figure 13, if the mobile phone is running the sports APP at this time, the mobile phone can play the above recommended content in a voice mode. For example, the phone can play song 1 in a loop. For another example, the mobile phone can broadcast the current heart rate information to the user by voice every 1 minute.
  • the mobile phone can broadcast the current indoor temperature and humidity to the user by voice every 2 minutes.
  • the mobile phone may display the above-mentioned recommended content in the running interface 701 of the sports APP, or may not display the above-mentioned recommended content in the running interface 701, which is not limited in the embodiment of the present application.
  • the mobile phone may also be preset to trigger the mobile phone to play the aforementioned recommended content through triggering methods such as tapping the device, shaking the device, or raising the hand gesture. For example, if the user is detected to tap the phone screen once, the phone can play the above song 1; if the user is detected to tap the phone screen twice, the phone can play the currently detected heart rate information; if the user is detected to tap continuously The phone screen three times, the phone can play the currently detected indoor temperature and humidity.
  • the mobile phone can also automatically play the aforementioned recommended content when running the sports APP, and the embodiment of the present application does not impose any restriction on this.
  • the mobile phone may choose to play the recommended content by voice or display the recommended content through the interface according to the determined sports scene. Furthermore, the mobile phone may perform step S405, which is to display or play the above recommended content. For example, if the mobile phone determines that the current sports scene is an indoor sports scene, such as running on a treadmill, the mobile phone can choose to display the determined recommended content in the sports APP interface through an interface. Correspondingly, if the mobile phone determines that the current sports scene is an outdoor sports scene, such as jogging in the morning, the mobile phone can choose to play the above recommended content by voice.
  • the mobile phone determines that the current sports scene is a single-person sports scene, such as yoga before bedtime, the mobile phone can choose to display the determined recommended content in the sports APP interface through the interface.
  • the mobile phone determines that the current sports scene is a multiplayer sports scene, such as outdoor basketball, the mobile phone can choose to play the aforementioned recommended content by voice. In this way, the mobile phone can select an appropriate way to recommend the recommended content determined by the mobile phone to the user based on the characteristics of different sports scenes, thereby improving the user's sports experience.
  • the mobile phone when the mobile phone displays the aforementioned recommended content on the interface of the sports APP, it can also display the aforementioned recommended content using different display effects according to the current sports scene.
  • the mobile phone if the current weather information is sunny, the mobile phone can set the interface background to the display element 1 corresponding to the sunny day when displaying the running interface.
  • the mobile phone can set the interface background as the display element 2 corresponding to the rainy day when displaying the above-mentioned running interface. In this way, the mobile phone can display the determined recommended content to the user through different interaction methods in different sports scenes, which improves the friendliness of human-computer interaction.
  • the motion analysis service in the mobile phone can detect the running status of the sports APP in real time. If the sports analysis service detects that the sports APP is running, the mobile phone can obtain current sports data and environmental data from the wearable device, and determine the specific sports scene the user is currently in based on the sports data and environmental data. For the description of obtaining the aforementioned motion data, environmental data, and determining the motion scene, refer to the relevant description of the aforementioned steps S401-403. After determining the current specific sports scene, as described in step S404, the motion analysis service may determine the recommended content matching the current sports scene based on the correspondence between the sports scene and the recommended content shown in Table 4.
  • the sports analysis service can obtain the recommended content from the corresponding third-party APP.
  • the sports analysis service can obtain the recommended content from the third-party APP according to the URL of the recommended content.
  • the sports analysis service can display the recommended content to the user or play the recommended content in the display interface of the sports APP.
  • the recommended content when the mobile phone displays the aforementioned recommended content on the interface of the sports APP, the recommended content can be used as a display element inside the sports APP to construct the interface layout of the sports APP.
  • the sports analysis service in the mobile phone obtains the recommended content corresponding to the current sports scene through the above steps S401-S404, the recommended content can be transferred to the sports APP of the application layer.
  • the sports APP can divide the display interface into a variable area and a fixed area in advance.
  • the variable area is used to display recommended content associated with the current sports scene.
  • the display content in the variable area can follow the current running scene or the user's usage habits.
  • the fixed area can be used to display the preset display elements in the sports APP, and the display elements in the fixed area generally do not change.
  • the sports APP can pre-set area A in the entire interface as a variable area, and set other parts of the interface as a fixed area. Then, after the sports APP obtains the recommended content 702-704, the recommended content 702-704 can be laid out in area A for display.
  • the mobile phone may also be provided with an independent application (for example, a recommended APP) for displaying the aforementioned recommended content.
  • the recommended APP may be, for example, a system-level application.
  • the recommended APP may display the recommended content obtained by the sports analysis service on the interface of the sports APP.
  • the recommended content 803 can be passed to the recommended APP of the application layer.
  • the recommended APP may superimpose and display the recommended content 803 in the yoga interface 801 of the sports APP in the form of a floating window. The user can change the display position of the recommended content in the current interface by dragging the floating window.
  • the mobile phone can automatically hide the floating window to avoid blocking the displayed content in the interface of the sports APP.
  • the recommended APP can be displayed in the form of a card or floating window in a blank position in the running interface 901 Recommended content 902 and recommended content 903.
  • the recommended APP may also negotiate with the sports APP through the sports analysis service on how to display the recommended content.
  • the recommended APP may request the sports APP to reserve display positions for the recommended content 902 and the recommended content 903, and the sports APP may lay out the display elements in the sports APP according to the request of the recommended APP, and will reserve the recommended content 902 and the recommended content 903
  • the displayed position information will be sent to the recommended APP.
  • the recommended APP can display the above-mentioned recommended content 902 and recommended content 903 at corresponding positions on the display interface of the sports APP according to the display position information sent by the sports APP, and the embodiment of the present application does not impose any limitation on this.
  • an embodiment of the present application discloses an electronic device, including: a touch screen 1601, the touch screen 1601 includes a touch-sensitive surface 1606 and a display screen 1607; one or more processors 1602; a memory 1603; one or more One sensor 1608; one or more application programs (not shown); and one or more computer programs 1604.
  • the above-mentioned devices can be connected through one or more communication buses 1605.
  • the one or more computer programs 1604 are stored in the aforementioned memory 1603 and configured to be executed by the one or more processors 1602, and the one or more computer programs 1604 include instructions, and the aforementioned instructions can be used to execute the aforementioned Each step in the embodiment should be implemented.
  • the aforementioned processor 1602 may specifically be the processor 110 shown in FIG. 1
  • the foregoing memory 1603 may specifically be the internal memory 121 and/or the external memory 120 shown in FIG. 1
  • the foregoing display screen 1607 may specifically be the processor 110 shown in FIG. 1
  • the aforementioned sensor 1608 may specifically be one or more sensors in the sensor module 180 shown in FIG. 1
  • the aforementioned touch-sensitive surface 1606 may specifically be the touch sensor 180K in the sensor module 180 shown in FIG.
  • the embodiments of this application do not impose any restriction on this.
  • the application also provides a graphical user interface (GUI), which can be stored in an electronic device.
  • GUI graphical user interface
  • the electronic device may be the electronic device shown in FIG. 1 or FIG. 16.
  • the above-mentioned graphical user interface may include: a first GUI displayed on the touch screen; the first GUI may be a first display interface of a sports APP, and the first display interface includes The first recommended content corresponding to the sports scene.
  • the electronic device detects that the current sports scene is a running scene, as shown in FIG. 8, the electronic device can display a running page 701 of the sports APP, and the running page 701 contains recommended content 702-704 determined by the electronic device.
  • the recommended content 702-704 is associated with the current sports scene (ie, running scene). Further, the recommended content 702-704 may also be generated based on the user's historical usage habits in the running scene.
  • the above-mentioned graphical user interface may include: a second GUI displayed on the touch screen; the second GUI may be a second display interface of the sports APP, and the second display interface includes the second sports scene The corresponding second recommended content.
  • the electronic device detects that the current sports scene is a yoga scene, as shown in FIG. 9, the electronic device can display a yoga page 801 of the sports APP, and the yoga page 801 contains recommended content 802-803 determined by the electronic device.
  • the recommended content 802-803 is associated with the current sports scene (ie, yoga scene). Further, the recommended content 802-803 may also be generated based on the user's historical usage habits in the yoga scene.
  • the functional units in the various embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage
  • the medium includes a number of instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Multimedia (AREA)
  • Mathematical Physics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种基于用户运动状态的推荐方法及电子设备,涉及终端技术领域,可在运行运动APP时向用户提供运动相关的服务内容,减少用户切换显示界面的次数,提高用户的运动体验。该方法包括:电子设备运行运动应用后,获取用户的第一运动数据,所述第一运动数据用于反映用户正在进行的运动类型;所述电子设备确定与所述第一运动数据对应的第一运动场景;所述电子设备获取与所述第一运动场景对应的第一推荐内容;所述电子设备在所述运动应用的显示界面中显示所述第一推荐内容;或者,所述电子设备在运行所述运动应用时播放所述第一推荐内容。

Description

一种基于用户运动状态的推荐方法及电子设备
本申请要求在2019年1月23日提交中国国家知识产权局、申请号为201910062730.7、发明名称为“一种基于用户运动状态的推荐方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种基于用户运动状态的推荐方法及电子设备。
背景技术
目前,许多用户在手机等终端中安装了运动应用(application,APP),例如,咕咚APP或运动健康APP等。在运动时用户可使用上述运动APP统计并查看自己的运动步数、运动速度、运动时长以及运动距离等运动信息。
除了在运动APP中查看上述运动信息,用户在运动时还可以使用其他应用提供的功能增强运动体验。例如,在跑步时用户可以通过音乐APP听歌、通过天气APP查看天气状况等。可以看出,用户在运动时需要手机提供的功能一般分散在不同应用的不同显示界面中,这使得用户在运动时需要手动的在各个显示界面中进行查找和切换,容易对运动过程造成干扰,用户的使用体验也随之降低。
发明内容
本申请提供一种基于用户运动状态的推荐方法及电子设备,可在运行运动APP时向用户提供运动相关的服务内容,减少用户切换显示界面的次数,提高用户的运动体验。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请提供一种基于用户运动状态的推荐方法,包括:电子设备运行运动应用后,获取用户的第一运动数据,第一运动数据用于反映用户正在进行的运动类型;进而,电子设备可确定与第一运动数据对应的第一运动场景;进而,电子设备可获取与第一运动场景对应的第一推荐内容;在运行该运动应用时,电子设备可在运动应用的显示界面中显示第一推荐内容,或者,电子设备可可通过语音播放第一推荐内容。这样,用户在使用运动APP完成运动的过程中,可直接在运动APP内享受其他应用或服务提供的与当前运动相关的推荐内容。用户无需在运动过程中反复在不同APP或不同显示界面中切换查找自己所需的内容,从而提高了用户使用运动APP时的运动体验。
在一种可能的设计方法中,电子设备确定与第一运动数据对应的第一运动场景,具体包括:电子设备确定与第一运动数据对应的运动类型,并将上述运动类型确定为第一运动场景。也就是说,用户正在进行的运动类型即为第一运动场景。
或者,在电子设备确定与第一运动数据对应的第一运动场景之前,还可以包括:电子设备获取当前的第一环境数据,第一环境数据用于反映用户运动时的环境特征;此时,电子设备确定与第一运动数据对应的第一运动场景,具体包括:电子设备确定与第一运动数据和第一环境数据均对应的第一运动场景。也就是说,电子设备可结合当前用户的运动类型和环境因素确定对应的第一运动场景。用户在不同的场景下进行不同运动时,电子设备均可通过获取相应的运动数据和环境数据确定出对应的运动场景。
在一种可能的设计方法中,电子设备中可存储有不同运动场景与不同推荐内容之间的对 应关系;其中,电子设备获取与第一运动场景对应的第一推荐内容,具体包括:电子设备在上述对应关系中查询与第一运动场景对应的第一推荐内容。这样,在不同的运动场景下,电子设备可以为用户确定出与当前运动场景相关联的推荐内容推荐给用户。
在一种可能的设计方法中,上述第一推荐内容可以是电子设备根据用户在第一运动场景下的历史使用习惯确定的。那么,在同一运动场景下,电子设备为不同用户确定出的推荐内容是与其历史行为习惯相关联的,从而在运动时为用户提供个性化和定制化的推荐内容。
在一种可能的设计方法中,电子设备在运动应用的显示界面中显示第一推荐内容,包括:电子设备在运动应用的显示界面中显示第一推荐内容的详情信息,即电子设备在运动应用中提供了服务直达的推荐功能,以降低用户运动时在不同界面中跳转和切换的次数;或者,电子设备可在运动应用的显示界面中显示第一推荐内容的快捷方式。用户可通过第一推荐内容的快捷方式触发电子设备播放或显示具体的第一推荐内容。
例如,在电子设备在运动应用的显示界面中显示第一推荐内容的快捷方式之后,还可以包括:若检测到用户选择第一推荐内容的快捷方式,则电子设备在运动应用的显示界面中显示或播放第一推荐内容的详情信息。
在一种可能的设计方法中,电子设备在运行上述运动应用时播放第一推荐内容,具体包括:在运行运动应用时,若接收到用户输入的预设手势,则电子设备可开始播放第一推荐内容。也就是说,电子设备可预先设置通过敲击设备、晃动设备或抬手姿态等触发方式触发电子设备播放推荐内容。
在一种可能的设计方法中,电子设备在运动应用的显示界面中显示所述第一推荐内容;或者,电子设备在运行运动应用时播放所述第一推荐内容之前,还可以包括:电子设备可根据第一运动场景选择显示第一推荐内容或播放第一推荐内容。这样,电子设备可基于不同运动场景的特点选择合适的方式向用户推荐电子设备确定出的推荐内容,从而提高用户的运动体验。
在一种可能的设计方法中,上述方法还包括:电子设备在运行运动应用时还可获取用户的第二运动数据;并确定与第二运动数据对应的第二运动场景(第二运动场景可以与上述第一运动场景不同);进而,电子设备可获取与第二运动场景对应的第二推荐内容;并在运动应用的显示界面中显示上述第二推荐内容;或者,在运行所述运动应用时播放第二推荐内容(第二推荐内容可与与上述第一推荐内容不同)。也就是说,电子设备在运行运动APP时向用户推荐的推荐内容都是与用户当前的运动场景关联的,用户在进行不同运动时电子设备可向用户推荐与运动场景关联的不同推荐内容。
示例性的,上述第一推荐内容或第二推荐内容可以包括:音频文件、视频文件、运动健康信息或环境信息中的一个或多个。
第二方面,本申请提供一种电子设备,包括:一个或多个传感器、一个或多个处理器、一个或多个存储器、以及一个或多个计算机程序;其中,处理器与传感器、触摸屏以及存储器均耦合,上述一个或多个计算机程序被存储在存储器中,当电子设备运行时,该处理器执行该存储器存储的一个或多个计算机程序,以使电子设备执行上述任一项所述的基于用户运动状态的推荐方法。
第三方面,本申请提供一种图形用户界面(graphical user interface,GUI),该图形用户界面存储在上述电子设备中,所述电子设备包括触摸屏、存储器、处理器,所述处理器用于执行存储在所述存储器中的一个或多个计算机程序,所述图形用户界面可以包括:在电子设 备处于第一运动场景时,显示在触摸屏上的第一GUI,第一GUI为运动应用的第一显示界面,所述第一显示界面中包括与第一运动场景对应的第一推荐内容;在电子设备处于第二运动场景时,显示在触摸屏上的第二GUI,第二GUI为运动应用的第二显示界面,所述第二显示界面中包括与第二运动场景对应的第二推荐内容;其中,所述第二运动场景与所述第一运动场景不同,所述第二推荐内容与所述第一推荐内容不同。
示例性的,上述第一GUI中的第一推荐内容是电子设备根据用户在第一运动场景下的历史使用习惯确定的;和/或,上述第二GUI中的第二推荐内容是电子设备根据用户在第二运动场景下的历史使用习惯确定的。
第四方面,本申请提供一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如第一方面中任一项所述的基于用户运动状态的推荐方法。
第五方面,本申请提供一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行如第一方面中任一项所述的基于用户运动状态的推荐方法。
可以理解地,上述提供的第二方面所述的电子设备、第三方面所述的GUI、第四方面所述的计算机存储介质,以及第五方面所述的计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
附图说明
图1为本申请实施例提供的一种电子设备的结构示意图一;
图2为本申请实施例提供的一种电子设备内操作系统的架构示意图;
图3为本申请实施例提供的一种基于用户运动状态的推荐方法的场景示意图一;
图4为本申请实施例提供的一种基于用户运动状态的推荐方法的流程示意图;
图5为本申请实施例提供的一种基于用户运动状态的推荐方法的场景示意图二;
图6为本申请实施例提供的一种基于用户运动状态的推荐方法的交互示意图一;
图7为本申请实施例提供的一种基于用户运动状态的推荐方法的场景示意图三;
图8为本申请实施例提供的一种基于用户运动状态的推荐方法的场景示意图四;
图9为本申请实施例提供的一种基于用户运动状态的推荐方法的场景示意图五;
图10为本申请实施例提供的一种基于用户运动状态的推荐方法的场景示意图六;
图11为本申请实施例提供的一种基于用户运动状态的推荐方法的场景示意图七;
图12为本申请实施例提供的一种基于用户运动状态的推荐方法的场景示意图八;
图13为本申请实施例提供的一种基于用户运动状态的推荐方法的场景示意图九;
图14为本申请实施例提供的一种基于用户运动状态的推荐方法的场景示意图十;
图15为本申请实施例提供的一种基于用户运动状态的推荐方法的交互示意图二;
图16为本申请实施例提供的一种电子设备的结构示意图二。
具体实施方式
下面将结合附图对本实施例的实施方式进行详细描述。
本申请实施例提供的一种基于用户运动状态的推荐方法,可应用于手机、平板电脑、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、个人数字助理(personal digital assistant,PDA)、可穿戴电子设备、虚拟现实设备等,本申请实施例对此不做任何限制。
以手机100为上述电子设备举例,图1示出了手机的结构示意图。
手机100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,射频模块150,通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中,传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是手机100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现手机100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可 以通过PCM接口向通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与通信模块160。例如:处理器110通过UART接口与通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现手机100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现手机100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为手机100充电,也可以用于手机100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机100的结构限定。在本申请另一些实施例中,手机100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
手机100的无线通信功能可以通过天线1,天线2,射频模块150,通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
射频模块150可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决方案。射频模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier, LNA)等。射频模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。射频模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,射频模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,射频模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与射频模块150或其他功能模块设置在同一个器件中。
通信模块160可以提供应用在手机100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。通信模块160可以是集成至少一个通信处理模块的一个或多个器件。通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,手机100的天线1和射频模块150耦合,天线2和通信模块160耦合,使得手机100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
手机100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机100可以包括1个或N个显示屏194,N为大于1的正整数。
手机100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器 等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。手机100可以支持一种或多种视频编解码器。这样,手机100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现手机100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。手机100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当手机100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或 发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。手机100可以设置至少一个麦克风170C。在另一些实施例中,手机100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。手机100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,手机100根据压力传感器180A检测所述触摸操作强度。手机100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定手机100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定手机100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测手机100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消手机100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,手机100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。手机100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当手机100是翻盖机时,手机100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测手机100在各个方向上(一般为三轴)加速度的大小。当手机100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。手机100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,手机100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。手机100通过发光二极管向外发射红外光。手机100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定手机100附近有物体。当检测到不充分的反射光时,手机100可以确定手机100附近没有物体。手机100可以利用接近光传感器180G检测用户手持手机100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。手机100可以根据感知的环境光亮度自适应调 节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测手机100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。手机100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,手机100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,手机100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,手机100对电池142加热,以避免低温导致手机100异常关机。在其他一些实施例中,当温度低于又一阈值时,手机100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于手机100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。手机100可以接收按键输入,产生与手机100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机100的接触和分离。手机100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。手机100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,手机100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在手机100中,不能和手机100分离。
上述手机100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明手机100的软件结构。
图2是本申请实施例的手机100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图2所示,应用程序层内可以安装相机,图库,日历,通话,地图,导航,蓝牙,音乐,视频,短信息等应用程序。
在本申请实施例中,应用程序层中还可以安装各类运动应用,例如跑步运动的APP、瑜伽运动的APP或游泳运动的APP等一种或多种应用。用户可使用运动APP查看运动时的运动信息,例如,跑步时用户可在运动APP中查看跑步的距离、配速、心率等信息。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,在本申请实施例中,可在应用程序框架层中设置用于向上述运动APP提供数据分析的服务,例如,本申请实施例中可将该服务称为运动分析服务。运动分析服务可以监测运动APP的运行状态,也可作为运动APP与其他应用之间的桥梁,将其他应用中的服务内容传递给运动APP显示或执行。
示例性的,运动APP在应用程序层中运行时,可通过传感器模块中的一个或多个传感器采集用户运动时的运动数据,例如运动速度、运动时长、运动心率等。运动分析服务检测到运动APP运行后,可获取运动APP采集到的运动数据。进而,运动分析服务可将其他应用中与当前的运动数据相关的服务内容反馈给运动APP。例如,如果采集到用户正在做瑜伽的运动数据,则运动分析服务可从视频APP中获取对应的瑜伽视频发送给运动APP。进而,运动APP可显示或播放运动分析服务提供的其他应用的服务内容。
这样,在使用运动APP完成运动的过程中,用户可直接在运动APP内享受其他应用提供的运动相关的服务内容,无需在运动过程中反复在不同APP或不同显示界面中切换查找自己所需的内容,从而提高了用户使用运动APP时的运动体验。
当然,除了上述运动数据外,运动分析服务还可在运动APP运行时获取当前的环境数据,例如时间、温度以及环境光强等。进而,运动分析服务可结合环境数据和运动数据确定向运动APP反馈的具体服务内容,后续实施例中将对此详细阐述,故此处不予赘述。
另外,如图3所示,手机100还可以与可穿戴设备200交互。其中,可穿戴设备200可以是智能手表、智能手环、智能头盔或智能耳机等设备,本申请实施例对此不做任何限制。手机100与可穿戴设备200建立连接后,可穿戴设备200可将采集到的运动数据或环境数据定期发送给手机100。手机100中的运动分析服务检测到运动APP开始运行后,运动分析服务可根据可穿戴设备200最近发来的运动数据或环境数据,按照上述方法在运动APP内向用户提供与当前运动相关的其他应用的服务内容。
当然,应用程序框架层中还可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
其中,窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示 界面,可以包括显示文字的视图以及显示图片的视图。电话管理器用于提供手机100的通信功能。例如通话状态的管理(包括接通,挂断等)。资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动等,本申请实施例对此不做任何限制。
以下将以手机作为电子设备举例,结合附图详细阐述本申请实施例提供的一种基于用户运动状态的推荐方法。如图4所示,该方法包括:
S401、手机在运行运动APP时获取用户的运动数据。
其中,上述运动数据可用于反映用户正在进行的具体运动类型,例如,步行、跑步、游泳、骑行以及瑜伽等,本申请实施例对此不做任何限制。
示例性的,手机检测到用户打开运动APP的操作后,如图5所示,手机可显示运动APP的首页501。在首页501中用户可选择具体的运动类型,例如,步行、跑步、骑行以及瑜伽等。那么,如果检测到用户在首页501中选择跑步这一运动方式,则手机可获取到用户此时的运动数据为跑步。同时,手机还可从首页501跳转至跑步这一运动方式的界面中。
或者,检测到用户打开运动APP或用户选择跑步这一运动方式后,手机还可通过加速度传感器、陀螺仪、GPS、气压高度传感器或距离传感器等一项或多项传感器采集手机当前的运动数据。例如,该运动数据可以为手机的移动速度、运动方向、手机姿态、爬升速度以及接触压力等。如果用户携带手机一起运动,则采集到的手机的运动数据也可作为用户的运动数据反映出用户当前的运动类型。示例性的,如果手机根据采集到的运动数据确定出当前用户的运动类型为跑步,则手机可自动从首页501跳转至跑步这一运动方式的界面。
又或者,用户在使用运动APP运动时可佩戴可穿戴设备。那么,手机检测到用户打开运动APP后,还可进一步检测是否与可穿戴设备建立无线连接(例如蓝牙连接)。如果手机与 可穿戴设备建立了无线连接,则手机还可从可穿戴设备中获取用户的运动数据。例如,可穿戴设备中的一项或多项传感器可采集用户当前的运动数据,并将采集到的运动数据通过蓝牙模块定期上报给手机,使得手机可以获取到用户的运动数据。
上述实施例中是以用户手动打开运动APP触发手机开始运行运动APP举例说明的,可以理解的是,手机还可以自动打开该运动APP。例如,可在手机中将运动APP预先设置为开机自动启动应用,那么,当手机开机后手机可自动打开运动APP开始运行。又例如,手机中的传感器可周期性的采集当前的运动数据并上报给框架层的运动分析服务,当运动分析服务根据该运动数据确定出用户处于运动状态时,可触发手机自动打开并运行运动APP。
另外,手机运行运动APP可以是指在手机前台运行运动APP,也可以是指在手机后台运行运动APP,本申请实施例对此不做任何限制。
S402(可选)、手机在运行运动APP时获取当前的环境数据。
其中,上述环境数据可用于反映用户在运动时的环境特征。例如,该环境数据可以是时间、环境光强度、湿度、风力以及地理位置等一项或多项数据。
与步骤S401类似的,手机在运行运动APP时可通过湿度计、温度计、环境光传感器以及红外线传感器等一项或多项传感器采集手机当前的环境数据。或者,也可预先在可穿戴设备中设置这些传感器。当检测到用户打开手机中的运动APP,且用户佩戴了可穿戴设备后,手机可从可穿戴设备中获取可穿戴设备采集到的当前的环境数据。
S403、手机根据上述运动数据和环境数据确定当前的运动场景。
示例性的,手机可以使用预先存储的运动模型确定与运动数据对应的运动类型。如表1所示,可以在手机内预先设置不同的运动类型与运动模型之间的对应关系(例如第一对应关系)。例如,当运动模型中的运动速度为2-3米/秒时,对应的运动类型为慢跑;当运动模型中设备表面的接触压力小于10000帕时,对应的运动类型为游泳;当运动模型中的爬升速度大于0.2米/秒时,对应的运动类型为爬山。那么,手机可根据步骤S401获取到的运动数据在表1中匹配相应的运动模型,进而确定对应的运动类型。
表1
运动类型 运动模型
慢跑 速度为2-3米/秒
游泳 设备表面的接触压力小于10000帕
爬山 爬升速度大于0.2米/秒
示例性的,手机可以使用预先存储的环境模型确定与环境数据对应的环境特征。如表2所示,还可以在手机内预先设置不同的环境特征与环境模型之间的对应关系(例如第二对应关系)。例如,当环境模型中的环境光强度在0.001明流至0.3明流之间时,对应的环境特征为夜间;当环境模型中的环境光强度在50明流至500明流之间时,对应的环境特征为阴天室外;当环境模型中的时间在早上9点之前,且气温小于10℃时,对应的环境特征为冬天早晨。那么,手机可根据步骤S402获取到的环境数据在表2中匹配相应的环境模型,进而确定对应的环境特征。
表2
环境特征 环境模型
夜间 光线亮度:0.001-0.3明流
阴天室外 光线亮度:50-500明流
冬天早晨 时间:9:00之前,气温:小于10℃
手机分别根据获取到的运动数据和环境数据确定出运动类型和环境特征后,手机可将确定出的运动类型和环境特征合成为对应的运动场景。例如,如果手机通过表1确定出的运动类型为慢跑,通过表2确定出的环境特征为冬天早晨,那么,手机将运动类型和环境特征合成后可确定对应的运动场景为:在冬天早晨慢跑。这样,用户在不同的场景下进行不同运动时,手机均可通过获取相应的运动数据和环境数据确定出对应的运动场景。可以看出,本申请实施例中的运动场景至少可以反映出用户正在进行的运动类型,例如跑步、骑行、游泳、登山或瑜伽等。进一步地,手机确定出的运动场景还可以反映出用户在进行某一项运动时的具体环境特征,例如运动时的时间、地点、季节、温度、湿度或光线强度等。
需要说明的是,上述步骤S402(即手机在运行运动APP时获取当前的环境数据)为可选步骤。也就是说,手机可仅通过获取到的运动数据确定当前的运动场景。示例性的,手机可通过表1将与获取到的运动数据对应的运动类型作为当前的运动场景。另外,本申请实施例不限制上述步骤S401和S402之间的执行顺序,例如,手机可先获取当前的环境数据,再获取当前的运动数据;或者,手机可先获取当前的运动数据,再获取当前的环境数据;当然,手机也可同时获取上述环境数据和运动数据,本申请实施例对此不做任何限制。
在另一些实施例中,如表3所示,可以预先在手机中建立运动模型、环境模型与运动场景之间的对应关系。进而,手机可根据步骤S401和S402中获取到的运动数据和环境数据,在表3中匹配相应的运动模型和环境模型,进而确定与该运动数据和环境数据对应的运动场景(即与匹配的运动模型和环境模型对应的运动场景)。
表3
运动模型 环境模型 运动场景
速度:2-3米/秒 光线亮度:0.001-0.3明流 夜间慢跑
速度:2-3米/秒 光线亮度:50-500明流 室外阴天慢跑
爬升速度>0.2米/秒 时间:9:00之前,气温<10℃ 冬天早晨登山
又或者,手机还可以将获取到的运动数据和环境数据发送给服务器。进而,可由服务器根据上述运动数据和环境数据确定当前的运动场景,并将确定出的运动场景发送给手机,使得手机能够确定出当前的运动场景。
S404、手机获取与当前的运动场景对应的推荐内容。
示例性的,对于不同的运动场景,手机可预先设置对应的一项或多项推荐内容。例如,当运动场景为跑步机跑步时,可设置对应的推荐内容为歌曲1和歌曲2;当运动场景为夜间慢跑时,可设置对应的推荐内容为天气预报以及歌曲3;当运动场景为冬天瑜伽时,可设置对应的推荐内容为瑜伽视频等。这样,手机可根据当前的运动场景确定本次运动过程中为用户推荐的具体推荐内容。在不同的运动场景下,手机可以为用户确定出与当前运动场景相关联的推荐内容推荐给用户。
在一些实施例中,手机还可以根据用户的历史行为习惯确定与当前的运动场景对应的推荐内容。那么,在同一运动场景下,手机为不同用户确定出的推荐内容是与其历史行为习惯相关联的,从而在运动时为用户提供个性化和定制化的推荐内容。
示例性的,手机在运行运动APP时可统计用户在不同运动场景下的操作习惯。例如,手机中的运动分析服务可实时检测运动APP的运行状态。如图6所示,用户佩戴可穿戴设备运动时,如果运动分析服务检测到运动APP开始运行,则手机可从可穿戴设备中获取当前的运 动数据和环境数据,并根据该运动数据和环境数据确定出用户当前所处的具体运动场景。其中,获取上述运动数据、环境数据以及确定运动场景的描述可参见上述步骤S401-403的相关描述。确定出当前的具体运动场景后,运动分析服务还可继续监测用户在第三方APP(例如音乐应用、视频应用以及天气应用等)中执行的操作或使用的功能,即监测第三方APP在当前的运动场景下为用户提供的服务内容。例如,如果检测到用户在跑步场景下打开音乐APP收听歌曲1,则运动分析服务可将歌曲1作为该用户在跑步场景下的推荐内容。进而,运动分析服务可获取歌曲1的资源信息,并建立跑步场景与歌曲1的资源信息之间的对应关系。这样,在步骤S404中,如果运动分析服务确定出本次的运动场景也是跑步场景,则运动分析服务可根据上述对应关系确定本次向用户推荐的推荐内容为歌曲1。
需要说明的是,当手机监测到用户在第三方APP中使用某一服务内容时,手机可按照一定的策略确定是否将该服务内容确定为当前运动场景下的推荐内容。例如,如果手机连续3次在户外慢跑场景下检测到用户打开音乐APP播放歌曲1,则手机可确定用户在户外慢跑时有收听歌曲1的行为习惯。此时,手机可获取歌曲1的资源信息,例如,该资源信息可以为歌曲1在存储器中的存储地址,或者,该资源信息可以为歌曲1的URL(uniform resource locator,统一资源定位符)地址。
另外,手机除了监测用户在第三方APP中使用的服务内容,还可以监测用户在运动APP中使用的服务内容。例如,在跑步机跑步的场景下,如果手机检测到用户连续4次都会在运动APP中查看心率信息,且手机检测到用户连续3次都会查看室内温度和湿度,则手机可确定用户在跑步机跑步时有查看心率以及室内温度和湿度的行为习惯。此时,手机可记录心率信息、温度信息以及湿度信息的资源信息。
那么,如表4所示,手机可建立用户在不同运动场景下与不同推荐内容之间的对应关系。其中,每项推荐内容均为手机统计出的与用户的行为习惯相关联的行为习惯。那么,在步骤S404中,手机确定出当前的运动场景后,可根据表4所示的对应关系确定在当前运动场景下与用户的行为习惯相关联的一项或多项推荐内容的资源信息(表4中以URL地址为资源信息举例)。进而,手机根据推荐内容的URL地址可以获取到具体的推荐内容。这样,手机可针对不同的用户和不同的运动场景为用户定制个性化的推荐内容。
表4
Figure PCTCN2019124483-appb-000001
在另一些实施例中,手机还可以根据用户的用户画像(user profile)确定与当前的运动场景对应的推荐内容。具体的,手机可以通过收集与分析使用手机的用户的各种行为数据,抽象出一个用户的信息全貌,即用户的用户画像。示例性的,用户画像中通常包括一个或多个用于反映用户特征的用户标签。如图7所示,用户的用户标签包括但不限于以下六类标签: 基本属性、社会属性、行为习惯、兴趣爱好、心理学属性和手机使用喜好等。
其中,上述基本属性包括但不限于:个人信息和生理特征。所述个人信息包括但不限于:姓名、年龄、证件类型、学历、星座、信仰、婚姻状态和邮箱。
上述社会属性包括但不限于:行业/职业、职务、收入水平、孩子状态、车辆使用情况、房屋居住、手机和移动运营商。所述房屋居住可以包括:租房、自有房和还贷中。所述手机可以包括:品牌和价位。所述移动运营商可以包括:品牌、网络、流量特点和手机号码。所述品牌可以包括:移动、联通、电信和其它。所述网络可以包括:无、2G、3G和4G。所述流量特点可以包括:高、中和低。
上述行为习惯包括但不限于:地理位置、生活习惯、交通方式、居住酒店类型、经济/理财特性、餐饮习惯、购物特性和支付情况。所述生活习惯可以包括:作息时间、在家时间、上班时间、电脑上网时间和买菜购物时间。所述购物特性可以包括:购物品类和购物方式。所述支付情况可以包括:支付时间、支付地点、支付方式、单次支付金额和支付总金额。
上述兴趣爱好包括但不限于:读书喜好、新闻喜好、视频喜好、音乐喜好、运动喜好和旅游喜好。所述读书喜好可以包括:读书频率、读书时间段、读书总时长和读书分类。
上述心理学属性包括但不限于:生活方式、个性和价值观。
上述手机使用喜好包括但不限于:应用喜好、通知提醒、应用内操作、用户常用、系统应用和常用设置。
那么,在步骤S404中,手机确定出当前的运动场景后,可根据用户的用户画像为用户确定与当前的运动场景对应的推荐内容。例如,如果用户的用户画像中包括读书和历史这两个用户标签,则手机可将用户最近正在阅读的历史相关的电子书作为当前运动场景下的推荐内容。如果用户的用户画像中包括音乐、流行以及Taylor Swift这三个用户标签,则手机可将歌手名为Taylor Swift的一首或多首歌曲作为当前运动场景下的推荐内容。
当然,手机也可向服务器发送推荐请求,以请求服务器为手机确定与当前的运动场景对应的推荐内容,并将确定出的推荐内容返回给手机,本申请实施例对此不做任何限制。
S405、手机在运行运动APP时显示或播放上述推荐内容。
示例性的,手机可在运动APP的显示界面中显示上述推荐内容;或者,手机可在运行运动APP时播放上述推荐内容。例如,手机获取到与当前运动场景对应的推荐内容后,可自动在运动APP的显示界面中显示上述推荐内容的详情信息或快捷方式。在显示推荐内容的详情信息时,手机还可以自动以语音的形式播放该推荐内容的详情信息。在显示推荐内容的快捷方式时,如果检测到用户选中该快捷方式,则手机可开始显示或播放推荐内容的详情信息。或者,手机获取到与当前运动场景对应的推荐内容后,还可在运行运动APP时以语音的形式自动播放上述推荐内容。又或者,手机还可响应用户的手势语音播报上述推荐内容。在语音播报上述推荐内容时,手机可以在运动APP的显示界面中显示上述推荐内容,也可以在运动APP的显示界面中不显示上述推荐内容,本申请实施例对此不做任何限制。
仍以图5所示的运动APP举例,检测到用户(例如用户Amy)在首页501中选择跑步这一运动方式后,手机可通过执行上述步骤S401-S403确定出当前的运动场景为跑步机跑步,进而,手机通过执行上述步骤S404可确定与跑步机跑步这一运动场景对应的推荐内容为:歌曲1、心率信息以及室内温湿度。那么,如图8所示,手机在显示运动APP中的跑步界面701时,可在跑步界面701中同时显示上述三项推荐内容(即推荐内容702-704)的详情信息。这样,用户打开运动APP中的跑步界面701后,不仅可以看到跑步界面701中的显示内容,还 可以看到歌曲1的内容(例如歌词、演唱者等)、运动时的心率信息以及当前的室内温湿度。
由于手机在跑步界面701中显示的推荐内容都是与用户当前的运动场景关联的,即用户在跑步机上跑步时可能需要的服务内容,因此,用户在查看跑步界面701时可一并查看到这些服务内容的具体详情,从而降低了用户运动时在手机的多个界面中跳转和切换的次数,提高了用户的运动体验。
示例性的,如果检测到用户(例如上述用户Amy)当前所处的运动场景为室内瑜伽的场景,则手机可确定与室内瑜伽的场景相关联的推荐内容为:瑜伽视频以及热量信息。进而,如图9所示,手机可在运动APP的瑜伽界面801中显示为用户推荐的瑜伽视频(即推荐内容802)和实时的热量信息(即推荐内容803)。其中,手机确定出的推荐内容可以为除运动APP外其他APP中提供的服务内容,或者,该推荐内容也可以是运动APP中除当前界面外其他界面提供的服务内容,本申请实施例对此不做任何限制。
进一步地,在上述跑步界面701中为用户显示的推荐内容还可以是与用户在跑步机上跑步时的行为习惯关联的。也就是说,手机在跑步界面701上显示的各项推荐内容可以为用户平常在跑步机上跑步时经常使用的,使得手机可根据用户的行为习惯在运动时为不同用户提供个性化的推荐内容。
示例性的,如果另一用户(例如用户Sam)也在跑步机上跑步的运动场景下打开运动APP的跑步界面,由于用户Sam在跑步机上跑步时经常使用手机中的天气预报和收音机功能,因此,手机可将天气APP中未来1小时的天气预报以及收音机APP中的频道A作为推荐内容。那么,响应于用户Sam打开运动APP的跑步界面901的操作,如图10所示,手机可在跑步界面901中显示未来1小时的天气预报(即推荐内容902)和频道A(推荐内容903)。这样,手机在不同运动场景下可针对不同用户的使用习惯在运动APP中为用户显示相应的推荐内容。
需要说明的是,当手机确定出的推荐内容包括音频内容(例如上述推荐内容702、推荐内容802以及推荐内容903)时,手机在显示该推荐内容时可自动播放对应的音频内容。当然,手机也可在检测到用户触发该推荐内容时播放对应的音频内容。例如,检测到用户点击上述跑步界面701中的推荐内容702后,手机可开始播放推荐内容702对应的歌曲1。
另外,手机显示出上述推荐内容后,如果检测到用户点击某一推荐内容,则手机可跳转至该推荐内容所属的APP的相关界面中。例如,如图11所示,如果检测到用户点击上述瑜伽界面801中的推荐内容802,则手机可显示视频APP中上述瑜伽视频所在的界面1001。也就是说,用户在运动APP中可以精准的跳转至手机确定出的推荐内容所在的界面。
在另一些实施例中,手机在运动APP的界面中显示上述推荐内容时,可以仅显示上述推荐内容的快捷方式,而不是显示推荐内容中的具体信息。示例性的,用户在首页501中选择跑步这一运动方式后,手机可确定对应的推荐内容为:歌曲1、心率信息以及室内温湿度。进而,如图12所示,手机可在跑步界面701中显示音乐的快捷方式1101、心率信息的快捷方式1102以及室内温湿度的快捷方式1103。后续,如果检测到用户点击快捷方式1101,则手机可开始播放歌曲1。类似的,如果检测到用户点击快捷方式1102,则手机可开始语音播报当前用户的心率信息。也就是说,如果检测到用户选中某一快捷方式,手机可在运动APP的显示界面中直接显示或播放对应的推荐内容的详情信息,无需再跳转至该快捷方式对应的显示界面中,从而减少用户在运动时切换显示界面的次数,提高用户运动时的使用体验。当然,如果检测到用户选中某一快捷方式,手机也可跳转至该快捷方式对应的显示界面中,本 申请实施例对此不做任何限制。
在另一些实施例中,手机确定出与当前运动场景对应的推荐内容后,如果手机还在运行运动APP,说明用户正在运动过程中。那么,手机也可以通过语音的方式播放上述推荐内容。示例性的,手机确定出当前的运动场景为跑步机跑步后,可获取与跑步机跑步这一运动场景对应的推荐内容为:歌曲1、心率信息以及室内温湿度。那么,如图13所示,如果此时手机正在运行运动APP,则手机可以语音的方式播放上述推荐内容。例如,手机可循环播放歌曲1。又例如,手机可以每隔1分钟向用户语音播报当前的心率信息。又例如,手机可以每隔2分钟向用户语音播报当前的室内温湿度。此时,手机可在运动APP的跑步界面701中显示上述推荐内容,也可以在跑步界面701中不显示上述推荐内容,本申请实施例对此不做任何限制。
示例性的,手机还可以预先设置通过敲击设备、晃动设备或抬手姿态等触发方式触发手机播放上述推荐内容。例如,如果检测到用户敲击手机屏幕一次,则手机可播放上述歌曲1;如果检测到用户连续敲击手机屏幕两次,则手机可播放当前检测到的心率信息;如果检测到用户连续敲击手机屏幕三次,则手机可播放当前检测到的室内温湿度。当然,手机也可以在运行运动APP时自动播放上述推荐内容,本申请实施例对此不做任何限制。
在另一些实施例中,在手机获取到与当前的运动场景对应的推荐内容之后,手机还可以根据确定出的运动场景选择通过语音的方式播放上述推荐内容或通过界面的方式显示上述推荐内容,进而,手机可执行步骤S405,即显示或播放上述推荐内容。例如,如果手机确定出当前的运动场景为室内运动场景,例如跑步机跑步等,则手机可选择通过界面的方式在运动APP的界面中显示确定出的推荐内容。相应的,如果手机确定出当前的运动场景为室外运动场景,例如早晨慢跑等,则手机可选择通过语音的方式播放上述推荐内容。又例如,如果手机确定出当前的运动场景为单人运动场景,例如睡前瑜伽等,则手机可选择通过界面的方式在运动APP的界面中显示确定出的推荐内容。相应的,如果手机确定出当前的运动场景为多人运动场景,例如户外篮球等,则手机可选择通过语音的方式播放上述推荐内容。这样,手机可基于不同运动场景的特点选择合适的方式向用户推荐手机确定出的推荐内容,从而提高用户的运动体验。
进一步地,手机在运动APP的界面中显示上述推荐内容时,也可以根据当前的运动场景使用不同的显示效果显示上述推荐内容。以上述推荐内容为天气信息举例,如图14中的(a)所示,如果当前的天气信息为晴天,则手机在显示上述跑步界面时可将界面背景设置为与晴天对应的显示元素1。相应的,如图14中的(b)所示,如果当前的天气信息为雨天,则手机在显示上述跑步界面时可将界面背景设置为与雨天对应的显示元素2。这样,在不同的运动场景下手机可通过不同交互方式向用户展示确定出的推荐内容,提升人机交互的友好性。
以用户佩戴可穿戴设备运动时向用户推荐相关服务内容举例,如图15所示,手机中的运动分析服务可实时检测运动APP的运行状态。如果运动分析服务检测到运动APP开始运行,则手机可从可穿戴设备中获取当前的运动数据和环境数据,并根据该运动数据和环境数据确定出用户当前所处的具体运动场景。其中,获取上述运动数据、环境数据以及确定运动场景的描述可参见上述步骤S401-403的相关描述。确定出当前的具体运动场景后,如步骤S404所述,运动分析服务可基于表4所示的运动场景与推荐内容之间的对应关系,确定与当前运动场景匹配的推荐内容。进而,运动分析服务可从相应的第三方APP中获取该推荐内容,例如,运动分析服务可根据推荐内容的URL从第三方APP中获取该推荐内容。进而,运动分 析服务可在运动APP的显示界面中向用户显示该推荐内容或者播放该推荐内容。
在一些实施例中,手机在运动APP的界面中显示上述推荐内容时,可将该推荐内容作为运动APP内部的显示元素构建运动APP的界面布局。例如,手机中的运动分析服务通过上述步骤S401-S404获取到与当前运动场景对应的推荐内容后,可将该推荐内容传递给应用层的运动APP。运动APP可预先将显示界面划分为可变区域和固定区域,可变区域用于显示与当前运动场景关联的推荐内容,可变区域中的显示内容可以随着当前的运行场景或用户的使用习惯变化,固定区域可用于显示运动APP中预先设置好的显示元素,固定区域中的显示元素一般不会变化。如图8所示,运动APP可预先将整个界面中的区域A设置为可变区域,将界面中的其他部分设置为固定区域。那么,当运动APP获取到推荐内容702-704后,可将推荐内容702-704布局在区域A中进行显示。
在另一些实施例中,手机还可以设置独立的应用(例如推荐APP)用于显示上述推荐内容。该推荐APP例如可以为系统级的应用,当运动APP运行时,推荐APP可将运动分析服务获取到的推荐内容显示在运动APP的界面中。例如,如图9所示,运动分析服务获取到与室内瑜伽这一运动场景对应的推荐内容803后,可将推荐内容803传递给应用层的推荐APP。推荐APP可以悬浮窗的形式在运动APP的瑜伽界面801中叠加显示推荐内容803。用户可通过拖动悬浮窗改变推荐内容在当前界面中的显示位置。另外,当悬浮窗中的推荐内容播放完毕后,手机可自动隐藏该悬浮窗,避免遮挡运动APP的界面中的显示内容。或者,如图10所示,推荐APP获取到与跑步机跑步这一运动场景对应的推荐内容902和推荐内容903后,推荐APP可在跑步界面901中的空白位置以卡片或悬浮窗等形式显示推荐内容902和推荐内容903。又或者,推荐APP还可以通过运动分析服务与运动APP协商如何显示上述推荐内容。例如,推荐APP可请求运动APP为推荐内容902和推荐内容903预留显示位置,运动APP可根据推荐APP的请求布局运动APP中的各个显示元素,并将为推荐内容902和推荐内容903预留出的显示位置的信息发送给推荐APP。这样,推荐APP可根据运动APP发来的显示位置的信息,在运动APP的显示界面的相应位置处显示上述推荐内容902和推荐内容903,本申请实施例对此不做任何限制。
如图16所示,本申请实施例公开了一种电子设备,包括:触摸屏1601,所述触摸屏1601包括触敏表面1606和显示屏1607;一个或多个处理器1602;存储器1603;一个或多个传感器1608;一个或多个应用程序(未示出);以及一个或多个计算机程序1604,上述各器件可以通过一个或多个通信总线1605连接。其中,该一个或多个计算机程序1604被存储在上述存储器1603中并被配置为被该一个或多个处理器1602执行,该一个或多个计算机程序1604包括指令,上述指令可以用于执行上述应实施例中的各个步骤。
示例性的,上述处理器1602具体可以为图1所示的处理器110,上述存储器1603具体可以为图1所示的内部存储器121和/或外部存储器120,上述显示屏1607具体可以为图1所示的显示屏194,上述传感器1608具体可以为图1所示的传感器模块180中的一个或多个传感器,上述触敏表面1606具体可以为图1所示的传感器模块180中的触摸传感器180K,本申请实施例对此不做任何限制。
在一些实施例中,本申请还提供了一种图形用户界面(GUI),该图形用户界面可存储在电子设备中。示例性的,该电子设备可以为图1或图16所示的电子设备。
其中,在电子设备处于第一运动场景时,上述图形用户界面可以包括:显示在触摸屏上的第一GUI;第一GUI可以为运动APP的第一显示界面,第一显示界面中包括与第一运动场 景对应的第一推荐内容。例如,当电子设备检测到当前的运动场景为跑步场景时,如图8所示,电子设备可显示运动APP的跑步页面701,跑步页面701中包含电子设备确定出的推荐内容702-704。其中,推荐内容702-704与当前的运动场景(即跑步场景)相关联。进一步地,推荐内容702-704还可以是基于用户在跑步场景下的历史使用习惯生成的。
在电子设备处于第二运动场景时,上述图形用户界面可以包括:显示在触摸屏上的第二GUI;第二GUI可以为运动APP的第二显示界面,第二显示界面中包括与第二运动场景对应的第二推荐内容。例如,当电子设备检测到当前的运动场景为瑜伽场景时,如图9所示,电子设备可显示运动APP的瑜伽页面801,瑜伽页面801中包含电子设备确定出的推荐内容802-803。其中,推荐内容802-803与当前的运动场景(即瑜伽场景)相关联。进一步地,推荐内容802-803还可以是基于用户在瑜伽场景下的历史使用习惯生成的。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。

Claims (24)

  1. 一种基于用户运动状态的推荐方法,其特征在于,包括:
    电子设备运行运动应用后,获取用户的第一运动数据,所述第一运动数据用于反映用户正在进行的运动类型;
    所述电子设备确定与所述第一运动数据对应的第一运动场景;
    所述电子设备获取与所述第一运动场景对应的第一推荐内容;
    所述电子设备在所述运动应用的显示界面中显示所述第一推荐内容;或者,所述电子设备在运行所述运动应用时播放所述第一推荐内容。
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备确定与所述第一运动数据对应的第一运动场景,包括:
    所述电子设备确定与所述第一运动数据对应的运动类型,并将所述运动类型确定为所述第一运动场景。
  3. 根据权利要求1所述的方法,其特征在于,在所述电子设备确定与所述第一运动数据对应的第一运动场景之前,还包括:
    所述电子设备获取当前的第一环境数据,所述第一环境数据用于反映用户运动时的环境特征;
    其中,所述电子设备确定与所述第一运动数据对应的第一运动场景,包括:
    所述电子设备确定与所述第一运动数据和所述第一环境数据对应的第一运动场景。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述电子设备中存储有不同运动场景与不同推荐内容之间的对应关系;其中,所述电子设备获取与所述第一运动场景对应的第一推荐内容,包括:
    所述电子设备在所述对应关系中查询与所述第一运动场景对应的第一推荐内容。
  5. 根据权利要求4所述的方法,其特征在于,所述第一推荐内容是所述电子设备根据用户在所述第一运动场景下的历史使用习惯确定的。
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述电子设备在所述运动应用的显示界面中显示所述第一推荐内容,包括:
    所述电子设备在所述运动应用的显示界面中显示所述第一推荐内容的详情信息;或者,
    所述电子设备在所述运动应用的显示界面中显示所述第一推荐内容的快捷方式。
  7. 根据权利要求6所述的方法,其特征在于,在所述电子设备在所述运动应用的显示界面中显示所述第一推荐内容的快捷方式之后,还包括:
    若检测到用户选择所述第一推荐内容的快捷方式,则所述电子设备在所述运动应用的显示界面中显示或播放所述第一推荐内容的详情信息。
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述电子设备在运行所述运动应用时播放所述第一推荐内容,包括:
    在运行所述运动应用时,若接收到用户输入的预设手势,则所述电子设备开始播放所述第一推荐内容。
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,在所述电子设备在所述运动应用的显示界面中显示所述第一推荐内容,或者,所述电子设备在运行所述运动应用时播放所述第一推荐内容之前,所述方法还包括:
    所述电子设备根据所述第一运动场景确定在所述运动应用的显示界面中显示所述第一推 荐内容,或在运行所述运动应用时播放所述第一推荐内容。
  10. 根据权利要求1-9中任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备在运行所述运动应用时获取所述用户的第二运动数据;
    所述电子设备确定与所述第二运动数据对应的第二运动场景,所述第二运动场景与所述第一运动场景不同;
    所述电子设备获取与所述第二运动场景对应的第二推荐内容,所述第二推荐内容与所述第一推荐内容不同;
    所述电子设备在所述运动应用的显示界面中显示所述第二推荐内容;或者,所述电子设备在运行所述运动应用时播放所述第二推荐内容。
  11. 根据权利要求1-10中任一项所述的方法,其特征在于,所述第一推荐内容包括:音频文件、视频文件、运动健康信息或环境信息中的一个或多个。
  12. 一种电子设备,其特征在于,包括:
    触摸屏,其中,所述触摸屏包括触敏表面和显示屏;
    一个或多个处理器;
    一个或多个存储器;
    一个或多个传感器;
    以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述一个或多个存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行以下步骤:
    运行运动应用后,获取用户的第一运动数据,所述第一运动数据用于反映用户正在进行的运动类型;
    确定与所述第一运动数据对应的第一运动场景;
    获取与所述第一运动场景对应的第一推荐内容;
    在所述运动应用的显示界面中显示所述第一推荐内容;或者,在运行所述运动应用时播放所述第一推荐内容。
  13. 根据权利要求12所述的电子设备,其特征在于,所述电子设备确定与所述第一运动数据对应的第一运动场景,具体包括:
    确定与所述第一运动数据对应的运动类型,并将所述运动类型确定为所述第一运动场景。
  14. 根据权利要求12所述的电子设备,其特征在于,在所述电子设备确定与所述第一运动数据对应的第一运动场景之前,所述电子设备还用于执行:
    获取当前的第一环境数据,所述第一环境数据用于反映用户运动时的环境特征;
    其中,所述电子设备确定与所述第一运动数据对应的第一运动场景,具体包括:
    确定与所述第一运动数据和所述第一环境数据对应的第一运动场景。
  15. 根据权利要求12-14中任一项所述的电子设备,其特征在于,所述电子设备中存储有不同运动场景与不同推荐内容之间的对应关系;其中,所述电子设备获取与所述第一运动场景对应的第一推荐内容,具体包括:
    在所述对应关系中查询与所述第一运动场景对应的第一推荐内容。
  16. 根据权利要求12-15中任一项所述的电子设备,其特征在于,所述电子设备在所述运动应用的显示界面中显示所述第一推荐内容,具体包括:
    在所述运动应用的显示界面中显示所述第一推荐内容的详情信息;或者,
    在所述运动应用的显示界面中显示所述第一推荐内容的快捷方式。
  17. 根据权利要求16所述的电子设备,其特征在于,在所述电子设备在所述运动应用的显示界面中显示所述第一推荐内容的快捷方式之后,所述电子设备还用于执行:
    若检测到用户选择所述第一推荐内容的快捷方式,则在所述运动应用的显示界面中显示或播放所述第一推荐内容的详情信息。
  18. 根据权利要求12-17中任一项所述的电子设备,其特征在于,所述电子设备在运行所述运动应用时播放所述第一推荐内容,具体包括:
    在运行所述运动应用时,若接收到用户输入的预设手势,则开始播放所述第一推荐内容。
  19. 根据权利要求12-18中任一项所述的电子设备,其特征在于,在所述电子设备在所述运动应用的显示界面中显示所述第一推荐内容,或者,在运行所述运动应用时播放所述第一推荐内容之前,所述电子设备还用于执行:
    根据所述第一运动场景确定在所述运动应用的显示界面中显示所述第一推荐内容,或在运行所述运动应用时播放所述第一推荐内容。
  20. 根据权利要求12-19中任一项所述的电子设备,其特征在于,所述电子设备还用于执行:
    在运行所述运动应用时获取所述用户的第二运动数据;
    确定与所述第二运动数据对应的第二运动场景,所述第二运动场景与所述第一运动场景不同;
    获取与所述第二运动场景对应的第二推荐内容,所述第二推荐内容与所述第一推荐内容不同;
    在所述运动应用的显示界面中显示所述第二推荐内容;或者,所述电子设备在运行所述运动应用时播放所述第二推荐内容。
  21. 一种图形用户界面GUI,所述图形用户界面存储在电子设备中,所述电子设备包括触摸屏、存储器、处理器,所述处理器用于执行存储在所述存储器中的一个或多个计算机程序,其特征在于,所述图形用户界面包括:
    在所述电子设备处于第一运动场景时,显示在所述触摸屏上的第一GUI;所述第一GUI为运动应用的第一显示界面,所述第一显示界面中包括与所述第一运动场景对应的第一推荐内容;
    在所述电子设备处于第二运动场景时,显示在所述触摸屏上的第二GUI;所述第二GUI为所述运动应用的第二显示界面,所述第二显示界面中包括与所述第二运动场景对应的第二推荐内容;
    其中,所述第二运动场景与所述第一运动场景不同,所述第二推荐内容与所述第一推荐内容不同。
  22. 根据权利要求21所述的GUI,其特征在于,所述第一推荐内容是所述电子设备根据用户在所述第一运动场景下的历史使用习惯确定的;所述第二推荐内容是所述电子设备根据用户在所述第二运动场景下的历史使用习惯确定的。
  23. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1-11中任一项所述的一种基于用户运动状态的推荐方法。
  24. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如权利要求1-11中任一项所述的一种基于用户运动状态的推荐方法。
PCT/CN2019/124483 2019-01-23 2019-12-11 一种基于用户运动状态的推荐方法及电子设备 WO2020151387A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US17/421,495 US20220080261A1 (en) 2019-01-23 2019-12-11 Recommendation Method Based on Exercise Status of User and Electronic Device
EP19911413.3A EP3893129A4 (en) 2019-01-23 2019-12-11 RECOMMENDATION METHOD BASED ON A STATE OF USER EXERCISES AND ELECTRONIC DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910062730.7A CN109829107A (zh) 2019-01-23 2019-01-23 一种基于用户运动状态的推荐方法及电子设备
CN201910062730.7 2019-01-23

Publications (1)

Publication Number Publication Date
WO2020151387A1 true WO2020151387A1 (zh) 2020-07-30

Family

ID=66861883

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/124483 WO2020151387A1 (zh) 2019-01-23 2019-12-11 一种基于用户运动状态的推荐方法及电子设备

Country Status (4)

Country Link
US (1) US20220080261A1 (zh)
EP (1) EP3893129A4 (zh)
CN (1) CN109829107A (zh)
WO (1) WO2020151387A1 (zh)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11033708B2 (en) 2016-06-10 2021-06-15 Apple Inc. Breathing sequence user interface
CN109829107A (zh) * 2019-01-23 2019-05-31 华为技术有限公司 一种基于用户运动状态的推荐方法及电子设备
CN110413882B (zh) * 2019-07-15 2023-10-31 创新先进技术有限公司 信息推送方法、装置及设备
CN110515901B (zh) * 2019-08-23 2023-03-14 掌阅科技股份有限公司 信息推送方法、计算设备及计算机存储介质
CN110910872B (zh) * 2019-09-30 2023-06-02 华为终端有限公司 语音交互方法及装置
CN112839254A (zh) * 2019-11-04 2021-05-25 海信视像科技股份有限公司 显示设备与内容显示方法
CN113838550A (zh) * 2020-06-08 2021-12-24 华为技术有限公司 一种健康数据展示方法和电子设备
CN113867855A (zh) * 2020-06-30 2021-12-31 华为技术有限公司 一种任务推送方法、装置和电子设备
CN112182282A (zh) * 2020-09-01 2021-01-05 浙江大华技术股份有限公司 音乐推荐方法、装置、计算机设备和可读存储介质
IT202000021364A1 (it) * 2020-09-09 2022-03-09 St Microelectronics Srl Sistema indossabile e metodo per rilevare e monitorare una attivita' di nuoto di un utilizzatore
CN114362878B (zh) * 2020-09-27 2024-04-09 华为技术有限公司 数据处理方法及电子设备
CN114466128B (zh) * 2020-11-09 2023-05-12 华为技术有限公司 目标用户追焦拍摄方法、电子设备及存储介质
CN112596846A (zh) * 2020-12-29 2021-04-02 深圳价值在线信息科技股份有限公司 确定界面显示内容的方法、装置、终端设备及存储介质
CN113380374B (zh) * 2021-05-08 2022-05-13 荣耀终端有限公司 基于运动状态感知的辅助运动方法、电子设备及存储介质
US20220374106A1 (en) * 2021-05-21 2022-11-24 Apple Inc. Methods and user interfaces for tracking execution times of certain functions
CN114461874B (zh) * 2021-08-27 2022-12-13 荣耀终端有限公司 一种运动信息的显示方法及电子设备
CN113546396B (zh) * 2021-09-22 2021-11-23 南泽(广东)科技股份有限公司 一种基于大数据的数据处理系统及方法
CN113960911B (zh) * 2021-11-02 2022-09-20 珠海读书郎软件科技有限公司 一种运动手表的表盘自动生成和切换的系统及方法
CN116415061A (zh) * 2021-12-30 2023-07-11 华为技术有限公司 一种服务推荐方法及相关装置
WO2023177762A1 (en) * 2022-03-15 2023-09-21 Youngblood Jimmy Variable resistance exercise device
WO2023179765A1 (zh) * 2022-03-25 2023-09-28 安徽华米健康科技有限公司 多媒体推荐方法及其装置
CN116991289A (zh) * 2022-04-24 2023-11-03 华为技术有限公司 运动指导方法及电子设备
CN116049478B (zh) * 2022-08-26 2023-09-19 荣耀终端有限公司 一种应用程序推荐方法、装置及用户设备
CN115499710A (zh) * 2022-09-19 2022-12-20 北京奇艺世纪科技有限公司 播单生成方法、装置、电子设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870529A (zh) * 2012-12-13 2014-06-18 现代自动车株式会社 用于车辆的音乐推荐系统和方法
US9529520B2 (en) * 2012-02-24 2016-12-27 Samsung Electronics Co., Ltd. Method of providing information and mobile terminal thereof
CN106844660A (zh) * 2017-01-23 2017-06-13 腾讯科技(深圳)有限公司 一种音乐推荐方法及装置
CN107562867A (zh) * 2017-08-30 2018-01-09 咪咕互动娱乐有限公司 一种音乐播放列表的生成方法、装置及存储介质
CN109829107A (zh) * 2019-01-23 2019-05-31 华为技术有限公司 一种基于用户运动状态的推荐方法及电子设备

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU3283497A (en) * 1996-05-08 1997-11-26 Real Vision Corporation Real time simulation using position sensing
US7254516B2 (en) * 2004-12-17 2007-08-07 Nike, Inc. Multi-sensor monitoring of athletic performance
JP4423241B2 (ja) * 2005-06-29 2010-03-03 株式会社第一興商 スポーツチーム関連楽曲推薦システム
US8920287B2 (en) * 2006-08-04 2014-12-30 Introplay Llc Method and system for providing fitness activity tracking and gaming
CA2854001C (en) * 2012-05-23 2019-04-16 Microsoft Corporation Dynamic exercise content
WO2016154893A1 (zh) * 2015-03-31 2016-10-06 华为技术有限公司 一种处理与应用关联的新消息的方法和装置
WO2017113154A1 (en) * 2015-12-30 2017-07-06 Beijing Chaozhuo Technology Co., Ltd. System and method for operating system of mobile device
CN106951068A (zh) * 2017-02-23 2017-07-14 咪咕音乐有限公司 一种音频推送方法及装置
US10814170B2 (en) * 2017-06-16 2020-10-27 Apple Inc. Techniques for providing customized exercise-related recommendations
CN107595257A (zh) * 2017-09-04 2018-01-19 济南浪潮高新科技投资发展有限公司 一种智能运动系统及方法
CN107707927B (zh) * 2017-09-25 2021-10-26 咪咕互动娱乐有限公司 一种直播数据推送方法、装置及存储介质
DK202070613A1 (en) * 2020-02-14 2021-10-15 Apple Inc User interfaces for workout content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9529520B2 (en) * 2012-02-24 2016-12-27 Samsung Electronics Co., Ltd. Method of providing information and mobile terminal thereof
CN103870529A (zh) * 2012-12-13 2014-06-18 现代自动车株式会社 用于车辆的音乐推荐系统和方法
CN106844660A (zh) * 2017-01-23 2017-06-13 腾讯科技(深圳)有限公司 一种音乐推荐方法及装置
CN107562867A (zh) * 2017-08-30 2018-01-09 咪咕互动娱乐有限公司 一种音乐播放列表的生成方法、装置及存储介质
CN109829107A (zh) * 2019-01-23 2019-05-31 华为技术有限公司 一种基于用户运动状态的推荐方法及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3893129A4

Also Published As

Publication number Publication date
EP3893129A1 (en) 2021-10-13
CN109829107A (zh) 2019-05-31
EP3893129A4 (en) 2022-02-16
US20220080261A1 (en) 2022-03-17

Similar Documents

Publication Publication Date Title
WO2020151387A1 (zh) 一种基于用户运动状态的推荐方法及电子设备
WO2021052263A1 (zh) 语音助手显示方法及装置
WO2020211701A1 (zh) 模型训练方法、情绪识别方法及相关装置和设备
CN109814766B (zh) 一种应用显示方法及电子设备
WO2021063343A1 (zh) 语音交互方法及装置
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021000807A1 (zh) 一种应用程序中等待场景的处理方法和装置
WO2020192456A1 (zh) 一种语音交互方法及电子设备
CN109584879A (zh) 一种语音控制方法及电子设备
WO2021052139A1 (zh) 手势输入方法及电子设备
WO2021169370A1 (zh) 服务元素的跨设备分配方法、终端设备及存储介质
CN111835904A (zh) 一种基于情景感知和用户画像开启应用的方法及电子设备
WO2023273543A1 (zh) 一种文件夹管理方法及装置
WO2022135157A1 (zh) 页面显示的方法、装置、电子设备以及可读存储介质
WO2022037479A1 (zh) 一种拍摄方法和拍摄系统
CN115333941A (zh) 获取应用运行情况的方法及相关设备
WO2023179490A1 (zh) 应用推荐方法和电子设备
CN114444000A (zh) 页面布局文件的生成方法、装置、电子设备以及可读存储介质
CN115022982B (zh) 多屏协同无感接入方法、电子设备及存储介质
CN115809362A (zh) 内容推荐方法及电子设备
CN115185441A (zh) 控制方法、装置、电子设备及可读存储介质
CN114077713A (zh) 内容推荐方法、电子设备和服务器
CN111339513A (zh) 数据分享的方法和装置
WO2024021691A1 (zh) 显示方法及电子设备
WO2023109636A1 (zh) 应用卡片显示方法、装置、终端设备及可读存储介质

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: 19911413

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019911413

Country of ref document: EP

Effective date: 20210705

NENP Non-entry into the national phase

Ref country code: DE