CN106066780B - Running data processing method and device - Google Patents

Running data processing method and device Download PDF

Info

Publication number
CN106066780B
CN106066780B CN201610401813.0A CN201610401813A CN106066780B CN 106066780 B CN106066780 B CN 106066780B CN 201610401813 A CN201610401813 A CN 201610401813A CN 106066780 B CN106066780 B CN 106066780B
Authority
CN
China
Prior art keywords
running
audio
audio resource
running data
played
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610401813.0A
Other languages
Chinese (zh)
Other versions
CN106066780A (en
Inventor
胡小轩
俞静
朱一闻
王诗沐
王逸天
刘哲远
刘成
杨淼
潘小明
任轶
魏明雅
于康康
陆俊峰
金东�
梁建
李永安
余晓帆
吕宗盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Netease Cloud Music Technology Co Ltd
Original Assignee
Hangzhou Netease Cloud Music Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Netease Cloud Music Technology Co Ltd filed Critical Hangzhou Netease Cloud Music Technology Co Ltd
Priority to CN201610401813.0A priority Critical patent/CN106066780B/en
Publication of CN106066780A publication Critical patent/CN106066780A/en
Application granted granted Critical
Publication of CN106066780B publication Critical patent/CN106066780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/16Sound input; Sound output
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16ZINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
    • G16Z99/00Subject matter not provided for in other main groups of this subclass

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The embodiment of the invention provides a running data processing method. The method comprises the following steps: aiming at each audio resource played in a running period, obtaining running data within the playing duration of the audio resource; and generating and displaying a running data statistical page, wherein the running data statistical page comprises at least part of audio resources played in a running period and running data corresponding to each displayed audio resource. The running data in the playing time duration of each audio resource is counted and displayed respectively, so that the running data counting and the audio resource playing can be completed only by operating one APP at the terminal, the terminal overhead is reduced, the user can know each audio resource and the corresponding running data according to the display content, the running data can be used for guiding the playing of the audio resource in the follow-up running process of the user, the user is helped to improve the running efficiency, a better running effect is obtained, and better experience is brought to the user. Furthermore, the embodiment of the invention provides a running data processing device.

Description

Running data processing method and device
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a running data processing method and device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
Listening music is very relevant to the user's scene, such as commuting, working, running, doing housework, falling asleep, etc.; but also to the mood of the user, such as loss of love, impairment, nostalgia, thoughts, etc. Recommending appropriate music to the user through the scene is one of hot functions provided by the multimedia player, namely providing contextual music to the user.
With the development of smart phones, various running apps (applications) can be generated by accurately judging the calorie consumption of a running user through positioning, accelerated calculation and the like. The vast majority of users can listen to music in the running process, can help to stabilize the step frequency and even be faster by listening to music suitable for the rhythm of the user, and can also concentrate on listening to the music by the user, thereby transferring the attention to heavy feet and effectively improving the running exercise effect.
Disclosure of Invention
However, for the reason that the running APP and the music playing APP are independent of each other, the running APP in the prior art can provide running data statistics for the user, and cannot provide a music playing function for the user, while the music playing APP can only provide the music playing function for the user and cannot provide running data statistics.
Therefore, in prior art, if the user listens to music during the running process, the terminal needs to run two APPs simultaneously, on the one hand, the expense of terminal processing resources is increased, and on the other hand, because two APPs of terminal operation are independent each other, the user can't know that the music of running in-process broadcast is that running efficiency is higher by oneself, and the effect of running is better, and has no guiding significance to running next time by oneself.
Therefore, an improved running data processing method is needed, so that after the user finishes running, the user can know each piece of music played in the current running period and the related running data in the playing time of the music, and the user is helped to improve the running efficiency to obtain a better running effect.
In this context, embodiments of the present invention are intended to provide a running data processing method and apparatus.
In a first aspect of embodiments of the present invention, there is provided a running data processing method, including:
aiming at each audio resource played in a running period, obtaining running data within the playing duration of the audio resource;
and generating and displaying a running data statistical page, wherein the running data statistical page comprises at least part of audio resources played in the running period and running data corresponding to each displayed audio resource.
The running data comprises data determined according to at least one of the running steps, the consumed energy, the heart rate and the blood pressure counted in the playing duration of the audio resource.
In a possible embodiment, the running data comprises stride frequency data; and
for each audio resource played in a running period, obtaining running data within the playing duration of the audio resource, specifically including:
aiming at each audio resource played in a running period, when the audio resource is detected to start playing, respectively recording a first accumulated running step number when the audio resource starts playing and a first time when the audio resource starts playing;
when detecting the next audio resource after the audio resource is started to be played, respectively recording a second accumulated running step number when the next audio resource is started to be played and a second time when the next audio resource is started to be played; and
the stride frequency data for the duration of the playback of the audio asset is determined according to the following equation:
Figure BDA0001010877860000021
wherein:
a1 represents a first cumulative number of running steps at which the audio asset begins to play;
t1 a first time to begin playing the audio asset;
a2 represents a second cumulative number of running steps at which the next audio asset begins to play;
t2 represents a second time to begin playing the next audio asset.
In a possible implementation manner, in the running data statistics page, N audio resources played in the running period and running data corresponding to the N audio resources are sequentially displayed according to a size arrangement order of the running data, where N is a natural number greater than or equal to 1.
In a possible implementation manner, the length of the data entry corresponding to each audio resource displayed on the running data statistics page is different; and
for each audio resource displayed by the running data statistics page,
the sound and the sound are determined according to the following formulaLength of data entry corresponding to frequency resource:
Figure BDA0001010877860000031
wherein:
l1 is the data entry length corresponding to the audio resource with the highest running data rank;
l2 is the data entry length corresponding to the audio resource with the lowest running data rank;
s is a sequencing serial number corresponding to any audio resource except the highest and lowest sequenced audio resource;
s _ max is a sorting sequence number corresponding to the highest-sorting audio resource;
and S _ min is a sequencing serial number corresponding to the audio resource with the lowest sequencing.
In a possible embodiment, the running data statistics page further includes a playlist generation operation hotspot; and
the method further comprises the following steps:
and when the play list generation operation hot zone is triggered, generating a corresponding audio resource play list aiming at the N audio resources played in the running period which are sequentially displayed.
In a possible embodiment, the running data processing method may further include:
aiming at each audio resource displayed by the running data statistical page, establishing a link from the audio resource to an audio resource playing page; and
and when the link is triggered, starting to play the corresponding audio resource and displaying the corresponding audio resource playing page.
In a possible implementation manner, the audio resource playing page comprises a collection operation hot zone and a downloading operation hot zone; and
the method further comprises the following steps:
when the collection operation hot zone is triggered, collecting the audio resources played currently;
and when the downloading operation hot area is triggered, downloading the audio resource played currently from the network side.
In a possible embodiment, the running data statistics page further includes a sharing operation hotspot; and
the method further comprises the following steps:
and when the sharing operation hotspot is triggered, sharing the running data statistical page.
In a second aspect of embodiments of the present invention, there is provided a running data processing apparatus comprising:
the device comprises an obtaining unit, a processing unit and a processing unit, wherein the obtaining unit is used for obtaining running data in the playing duration of each audio resource played in a running period;
the first generation unit is used for generating a running data statistics page, and the running data statistics page comprises at least part of audio resources played in the running period and running data corresponding to each displayed audio resource;
and the display unit is used for displaying the running data statistics page generated by the first generation unit.
The running data comprises data determined according to at least one of the running steps, the consumed energy, the heart rate and the blood pressure counted in the playing duration of the audio resource.
In a possible embodiment, the running data comprises stride frequency data; and
the obtaining unit includes:
the first recording subunit is used for respectively recording a first accumulated running step number when the audio resource is started to be played and a first time for starting to play the audio resource when the audio resource is detected to be started to be played aiming at each audio resource played in a running period;
the second recording subunit is used for respectively recording a second accumulated running step number when the next audio resource starts to be played and a second time when the next audio resource starts to be played when the next audio resource after the audio resource starts to be played is detected;
a determining subunit, configured to determine the stride frequency data within the playback duration of the audio resource according to the following formula:
Figure BDA0001010877860000041
wherein:
a1 represents a first cumulative number of running steps at which the audio asset begins to play;
t1 a first time to begin playing the audio asset;
a2 represents a second cumulative number of running steps at which the next audio asset begins to play;
t2 represents a second time to begin playing the next audio asset.
In a possible implementation manner, in the running data statistics page, N audio resources played in the running period and running data corresponding to the N audio resources are sequentially displayed according to an arrangement order of the sizes of the running data, where N is a natural number greater than or equal to 1.
In a possible implementation manner, the running data statistics page sequentially displays the N audio resources played in the running period and the running data corresponding to the N audio resources using graphical data entries.
In a possible implementation manner, the length of the data entry corresponding to each audio resource displayed on the running data statistics page is different; and
the device, still include:
a determination unit for counting each audio resource displayed by the page for the running data,
determining the length of the data entry corresponding to the audio resource according to the following formula:wherein:
l1 is the data entry length corresponding to the audio resource with the highest running data rank;
l2 is the data entry length corresponding to the audio resource with the lowest running data rank;
s is a sequencing serial number corresponding to any audio resource except the highest and lowest sequenced audio resource;
s _ max is a sorting sequence number corresponding to the highest-sorting audio resource;
and S _ min is a sequencing serial number corresponding to the audio resource with the lowest sequencing.
In a possible embodiment, the running data statistics page further includes a playlist generation operation hotspot; and
the device, still include:
and the second generation unit is used for generating a corresponding audio resource playlist aiming at the audio resources played in the sequentially displayed N running periods when the playlist generation operation hot zone is triggered.
In a possible embodiment, the above-mentioned running data processing apparatus further comprises a link establishing unit, wherein:
the link establishing unit is used for establishing a link from the audio resource to an audio resource playing page aiming at each audio resource displayed by the running data statistical page;
the display unit is further configured to start playing the corresponding audio resource and display a corresponding audio resource playing page when the link is triggered.
In a possible implementation manner, the audio resource playing page comprises a collection operation hot zone and a downloading operation hot zone; and
the device, still include:
the collection unit is used for collecting the audio resources played currently when the collection operation hot zone is triggered;
and the downloading unit is used for downloading the audio resource played currently from the network side when the downloading operation hot area is triggered.
In a possible embodiment, the running data statistics page further includes a sharing operation hotspot; and
the device, still include:
and the sharing unit is used for sharing the running data statistical page when the sharing operation hotspot is triggered.
In a third aspect of embodiments of the present invention, there is provided a running processing apparatus, which may include, for example, a memory and a processor, wherein the processor may be configured to read a program in the memory and execute the following processes: aiming at each audio resource played in a running period, obtaining running data within the playing duration of the audio resource; and generating and displaying a running data statistical page, wherein the running data statistical page comprises at least part of audio resources played in the running period and running data corresponding to each displayed audio resource.
In a fourth aspect of embodiments of the present invention, there is provided a program product comprising program code for performing, when the program product is run, the following: aiming at each audio resource played in a running period, obtaining running data within the playing duration of the audio resource; and generating and displaying a running data statistical page, wherein the running data statistical page comprises at least part of audio resources played in the running period and running data corresponding to each displayed audio resource.
According to the running data processing method and device provided by the embodiment of the invention, the running data in the playing time length of each audio resource played in the current running period is counted and displayed, and the running data counting and the audio resource playing can be completed only by operating one APP by the terminal, so that the terminal overhead is reduced.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 schematically illustrates an application scenario according to an embodiment of the present invention;
FIG. 2 schematically illustrates a running data processing flow diagram according to an embodiment of the invention;
FIG. 3 is a schematic diagram illustrating a flow of obtaining average stride frequency data corresponding to the audio resource according to an embodiment of the present invention;
FIG. 4 schematically illustrates a running data statistics page diagram according to an embodiment of the invention;
FIG. 5 schematically shows an audio asset playback page according to an embodiment of the invention;
FIG. 6 is a schematic diagram of a running data statistics apparatus according to another embodiment of the present invention;
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a running data processing method and device are provided.
In this context, it is to be understood that the term operational hot is referred to as an area where links are added to a page. For example, pictures in a page are cut into different link areas of a block in a cutting manner, which is called an operation hot area. One operation hot zone corresponds to at least one operation function key.
Moreover, any number of elements in the drawings are by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that most of running processes can listen to music, but the current running APP and music playing APP are independent of each other, so that the terminal needs to run two APPs simultaneously, the user can not know that running efficiency is higher when playing music, and the obtained running effect is better.
In view of this, embodiments of the present invention provide a method and an apparatus for processing running data, so as to respectively count running data corresponding to each piece of music played during a running process, and display the running data through a terminal after the running process is completed, so that a user can know that the running efficiency of the user is higher when the user plays the music during the running process, and the obtained running effect is better.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
Referring to fig. 1, a method for controlling a multimedia resource playing operation according to an embodiment of the present invention may be applied to the following scenarios: the user 10 plays the audio resource through a terminal APP installed in the terminal device 11. The audio resource played by the terminal APP may be locally stored in the terminal device 11, or may be provided by the cloud server 12, and when the audio resource provided by the cloud server 12 is played, the user 10 may download the audio resource to the terminal device 11 locally and then play the audio resource, or may play the audio resource online. Or the cloud server 12 recommends and plays the user 10 according to the recorded user data, for example, the cloud server 12 determines a favorite music type of the user according to the recorded user data, and recommends a corresponding type of music for the user 10 through a multimedia player installed in the terminal device 11 during the running process of the user. Alternatively, the cloud server may also recommend music for the user according to the recorded user running data, for example, the cloud server 12 may recommend matching music for the user according to BPM (Beat Per Minute). Take a song "We will rock you" as an example, where the tempo is very obvious, and the tempo is followed by the tempo, which adds up to about 164 beats in one minute. This means that if the user steps at 164 steps/minute, the cloud server 12 may match the song to the user. Typically, the songs recommended by the cloud server 12 are mainly focused on 110-. Or, during specific implementation, the recommendation library can be downloaded to the local terminal by the terminal APP, and during the running process of the user, the terminal APP recommends matched music and the like to the user according to the detected user step frequency.
The terminal device 11 and the cloud server 12 may be connected through a communication network, where the communication network may be a local area network, a wide area network, or a cellular network. The terminal device 11 may be a portable device (e.g., a mobile phone, a tablet, a notebook, etc.) or a Personal Computer (PC), and the cloud server 12 may be any server device capable of providing resource downloading.
It should be noted that, in a specific implementation, the running data processing method provided in the embodiment of the present invention may be provided as an independent terminal APP, or may be embedded in an existing running APP or music playing APP, and for example, a corresponding portal is set in the running APP or music APP, and a user triggers the running data processing method provided in the embodiment of the present invention to start through the portal, which is not limited in the embodiment of the present invention. For convenience of description, the running data processing method provided by the present invention is provided as an independent terminal APP as an example for explanation.
Exemplary method
In the following, in connection with the application scenario of fig. 1, a running data processing method according to an exemplary embodiment of the present invention is described with reference to fig. 2-5. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
As shown in fig. 2, which is a schematic flow chart of an implementation of the running data processing method according to the embodiment of the present invention, the method may include the following steps:
and S21, obtaining running data in the playing duration of the audio resource aiming at each audio resource played in the running period.
The running period may correspond to a process from the user entering a specific playing state to the end of the playing, for example, a process from entering a running mode of music software when the user is ready to run to exiting the running mode when the user is finished running, or a process from the detection of the start of running to the end of running. One audio resource may correspond to a song, or a piece of music, etc., so that the interval between different audio resources can be controlled.
In one embodiment, the audio assets begin to be played in sequence upon detecting the beginning of a running cycle. According to the embodiment of the invention, the running data of the audio resource during playing needs to be counted respectively for each played audio resource.
And S22, generating and displaying a running data statistical page, wherein the running data statistical page comprises at least part of audio resources played in the running period and running data corresponding to each displayed audio resource.
And after the running of the user is detected to be finished, generating a running data statistical page according to the running data obtained in the step S21 and displaying the running data statistical page, wherein the running data statistical page comprises at least part of the audio resources played in the running period and running data corresponding to each displayed audio resource.
The running data may include data determined according to at least one of the running steps, the energy consumption, the heart rate, and the blood pressure counted during the playing duration of each audio resource. For example, the step frequency data in each audio resource playing time determined according to the running step number and the average consumed energy consumption data in each audio resource playing time determined according to the consumed energy data. In another embodiment, the peak step frequency during the playing process of each audio resource may be counted, and the peak step frequency may be the highest value of the average step frequency in a fixed time period. For convenience of description, the running data is taken as the step frequency data as an example, that is, the running data obtained in step S21 is the average step frequency data determined for each audio resource within the playing duration of the audio resource.
Preferably, in practical implementation, for each audio resource played in the running period, the average step frequency data corresponding to the audio resource can be obtained according to the flow shown in fig. 3 (in the embodiment of the present invention, the average step frequency data in the playing duration of the audio resource is referred to as the average step frequency data corresponding to the audio resource):
and S31, when it is detected that the audio resource starts to be played, recording a first accumulated running step number when the audio resource starts to be played and a first time when the audio resource starts to be played respectively for each audio resource played in the running period.
For example, when starting playing an audio resource, the terminal APP records a current first cumulative running step number as a1 according to the data for counting the running steps, and records a first time for starting playing the audio resource as T1.
And S32, when detecting the next audio resource after the audio resource is started to be played, respectively recording the second accumulated running step number when the next audio resource is started to be played and the second time for starting to play the next audio resource.
For example, when the terminal APP detects that the next audio resource starts to be played or the user triggers to switch to the next audio resource, the terminal APP records a current second cumulative running step number as a2 according to the data for counting the running step numbers, and records a second time for starting to play the next audio resource as T2.
And S33, determining the step frequency data in the playing duration of the audio resource.
In this step, the terminal APP may determine the stride frequency data within the playing duration of the audio resource according to the following formula
Figure BDA0001010877860000111
Wherein: a1 represents a first cumulative number of running steps at which the audio asset begins to play; t1 a first time to begin playing the audio asset; a2 represents a second cumulative number of running steps at which the next audio asset begins to play; t2 represents a second time to begin playing the next audio asset.
In the embodiment of the invention, in the displayed running data statistical page, the terminal APP may arrange the order of the audio resources according to the size of the corresponding running data and sequentially display N audio resources played in the running period and the running data corresponding to the N audio resources, where N is a natural number greater than or equal to 1, and N does not exceed the number of audio resources played in the current running period. If the number of the played audio resources is larger than the preset ranking number N in one running period, displaying the first N audio resources in the running period according to the size arrangement sequence of the running data in a running data statistics page; if the number of the played audio resources is less than the preset ranking number in one running period, all the audio resources in the running period can be displayed in the running data statistical page. It should be noted that, in the specific implementation, depending on the size of the display screen of the terminal, the terminal APP may select some of the audio resources sorted in the front and the running data corresponding to the audio resources to be displayed, and may also display all the played audio resources and the running data corresponding to the audio resources, and if the same page cannot display all the content, the terminal APP may also perform page display or pull-down continuous display.
It should be noted that, in a specific implementation, in order to reduce the overhead of processing resources by the terminal, for an audio resource whose play duration is less than a preset duration, for example, for an audio resource whose play duration does not exceed 10s, the terminal APP may not count the corresponding running data.
In order to enhance the visualization of running data display, the related information of the audio resource with the maximum average running step frequency can be highlighted above the running data statistical page, and corresponding documentaries, pictures and the like are matched; and arranging the audio resources in a descending order below the page according to the size of the running data corresponding to the audio resources played in the running period, so that the readability is improved.
Preferably, in order to express the running data more intuitively, in the embodiment of the present invention, the N audio resources played in the running period and the running data corresponding thereto may be sequentially displayed by using the graphical data entry in the running data statistics page. Taking N as an example, as shown in fig. 4, it is a schematic view of a running data statistics page displayed by the terminal. In fig. 4, the corresponding audio resources are sequentially arranged according to the descending order of the average step frequency data, the data entry length corresponding to each audio resource is different, the data entry corresponding to the audio resource with the largest running data is the longest, the data entry corresponding to the audio resource with the smallest running data is the shortest, and the data entry lengths corresponding to the other audio resources can be determined according to the following formula:
Figure BDA0001010877860000121
wherein, L1 is the data entry length corresponding to the audio resource with the highest running data rank; l2 is the data entry length corresponding to the audio resource with the lowest running data rank; s is a sequencing serial number corresponding to any audio resource except the highest and lowest sequenced audio resource; s _ max is a sorting sequence number corresponding to the highest-sorting audio resource; and S _ min is a sequencing serial number corresponding to the audio resource with the lowest sequencing.
In specific implementation, the correspondence between the audio resource and the corresponding running data may also be described by using a visualization graph such as a bar graph, a pie graph, a graph, and the like, which is not limited in the embodiment of the present invention.
Optionally, the running data statistics page may further include a playlist generation operation hotspot 41, and when the playlist generation operation hotspot 41 is triggered, a corresponding audio resource playlist is generated for the N audio resources played in the sequentially displayed running period. In this way, the user can sequentially play the audio assets in the audio asset playlist by selecting the audio asset playlist in the non-running mode.
In addition, according to the embodiment of the invention, for each audio resource displayed by the running data statistics page, a link from the audio resource to an audio resource playing page can be established; when the link is triggered, the corresponding audio resource is started to be played and the corresponding audio resource playing page is displayed, wherein the displayed audio resource playing page is as shown in fig. 5.
Optionally, the audio resource playing page includes a favorite operation hotspot 51, a download operation hotspot 52, a comment hotspot 53, and the like, wherein when the favorite operation hotspot 51 is triggered, the currently played audio resource is favorite; when the download operation hotspot 52 is triggered, the currently playing audio asset is downloaded from the network side. When the comment hotspot 53 is triggered, the user is allowed to comment on the current audio resource.
Optionally, the running data statistics page may further include a sharing operation hotspot 42, and the current running data statistics page is shared when the sharing operation hotspot 42 is triggered. Specifically, the terminal APP can call a social platform interface, and the user is allowed to share the currently displayed running data statistics page to the corresponding social platform.
It should be noted that the arrangement of the operation hotspots included in the running data statistics page and the audio resource playing page on the corresponding page may be designed according to actual needs, and is not limited to the arrangement shown in fig. 4.
In a specific implementation, the running data statistics page may also display the comprehensive running data in the current running period, for example, the running duration, the running steps accumulated in the current running, the total calories of calories consumed in the current running, and the like.
The running data processing method provided by the embodiment of the invention respectively counts and displays corresponding running data of the audio resources played in the running process, so that a user can know that the running effect obtained by the audio resources with high self-sufficient running efficiency is better, the method has a guiding significance on the running of the subsequent user, furthermore, the method can provide the audio resources with the running data in front of the corresponding running data sequence for the user in a graphical mode, provide operations of generating an audio resource list, sharing running data counting pages and the like for the user, and after entering the corresponding audio resources, the user can also perform operations of collecting, downloading, commenting and the like on the corresponding audio resources, thereby improving the user experience.
Exemplary device
Having described the method of an exemplary embodiment of the present invention, a running data processing apparatus of an exemplary embodiment of the present invention will be described with reference to fig. 6.
As shown in fig. 6, which is a schematic structural diagram of a running data processing apparatus according to an embodiment of the present invention, the running data processing apparatus may include:
an obtaining unit 61, configured to obtain, for each audio resource played in a running period, running data within a playing duration of the audio resource;
a first generating unit 62, configured to generate a running data statistics page, where the running data statistics page includes at least part of the audio resources played in the running period and running data corresponding to each displayed audio resource;
a display unit 63, configured to display the running data statistics page generated by the first generation unit 62.
The running data comprises data determined according to at least one of the running steps, the consumed energy, the heart rate and the blood pressure counted in the playing duration of the audio resource. For example, the running data includes step frequency data, then
The obtaining unit 61 includes:
a first recording subunit 611, configured to, for each audio resource played in a running period, when it is detected that the audio resource starts to be played, respectively record a first accumulated running step number when the audio resource starts to be played and a first time when the audio resource starts to be played;
a second recording subunit 612, configured to, when detecting a next audio resource after the audio resource starts to be played, respectively record a second cumulative running step number when the next audio resource starts to be played and a second time when the next audio resource starts to be played;
a determining subunit 613, configured to determine that the audio resource is played according to the following formulaStep frequency data over duration:
Figure BDA0001010877860000141
wherein:
a1 represents a first cumulative number of running steps at which the audio asset begins to play;
t1 a first time to begin playing the audio asset;
a2 represents a second cumulative number of running steps at which the next audio asset begins to play;
t2 represents a second time to begin playing the next audio asset.
Preferably, in the running data statistics page, N audio resources played in the running period and running data corresponding to the N audio resources are sequentially displayed according to an arrangement order of the running data, where N is a natural number greater than or equal to 1.
Preferably, the running data statistics page uses graphical data entries to sequentially display the N audio resources played in the running period and the running data corresponding to the N audio resources.
In specific implementation, the lengths of the data items corresponding to each audio resource displayed on the running data statistical page are different; and
the data processing device provided by the embodiment of the invention further comprises:
a determination unit 64 for determining, for each audio resource displayed by the running data statistics page,
determining the length of the data entry corresponding to the audio resource according to the following formula:
Figure BDA0001010877860000151
wherein:
l1 is the data entry length corresponding to the audio resource with the highest running data rank;
l2 is the data entry length corresponding to the audio resource with the lowest running data rank;
s is a sequencing serial number corresponding to any audio resource except the highest and lowest sequenced audio resource;
s _ max is a sorting sequence number corresponding to the highest-sorting audio resource;
and S _ min is a sequencing serial number corresponding to the audio resource with the lowest sequencing.
Optionally, the running data statistics page further includes a playlist generation operation hotspot; the running data processing device provided by the embodiment of the invention further comprises:
a second generating unit 65, configured to generate a corresponding audio resource playlist for the audio resources played in the sequentially displayed N running periods when the playlist generating operation hotspot is triggered.
Optionally, the running data processing apparatus provided in the embodiment of the present invention may further include a link establishing unit 66, where:
a link establishing unit 66, configured to establish, for each audio resource displayed on the running data statistics page, a link from the audio resource to an audio resource playing page;
the display unit 63 is further configured to start playing the corresponding audio resource and display a corresponding audio resource playing page when the link is triggered.
Optionally, the audio resource playing page includes a favorite operation hotspot and a download operation hotspot; and
the running data processing device provided by the embodiment of the invention further comprises:
the favorite unit 67 is used for favoring the audio resource played currently when the favorite operation hot zone is triggered;
a downloading unit 68, configured to download the currently played audio resource from the network side when the downloading operation hotspot is triggered.
Optionally, the running data statistics page further includes a sharing operation hotspot; and
the running data processing device provided by the embodiment of the invention further comprises:
a sharing unit 69, configured to share the running data statistics page when the sharing operation hotspot is triggered.
In some possible embodiments, the running data processing device according to the invention may comprise at least one processing unit, and at least one memory unit. Wherein the storage unit stores program code which, when executed by the processing unit, causes the processing unit to perform various steps in a running data processing method according to various exemplary embodiments of the present invention described in the above-mentioned "exemplary methods" section of this specification. For example, the processing unit may execute step S21 shown in fig. 2, obtaining running data for each audio resource played in a running period within the playing duration of the audio resource, and generating and displaying a running data statistics page in step S22, where the running data statistics page includes at least part of the audio resources played in the running period and running data corresponding to each displayed audio resource.
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the invention. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (18)

1. A method of processing running data, comprising:
aiming at each audio resource played in a running period, obtaining running data within the playing duration of the audio resource, wherein the audio resource is the audio resource played by music software in a running mode;
and generating and displaying a running data statistical page, wherein the running data statistical page comprises at least part of audio resources played in the running period and running data corresponding to each displayed audio resource, the running data statistical page comprises a playlist generation operation hotspot, and when the playlist generation operation hotspot is triggered, generating a corresponding audio resource playlist comprising the N audio resources according to N audio resources played in the running period which are sequentially displayed according to the size arrangement sequence of the running data, so that a user can play the audio resources in the audio resource playlist by selecting the audio resource playlist in a non-running mode, wherein N is a natural number greater than or equal to 1.
2. The method of claim 1, wherein the running data comprises data determined from at least one of running steps, energy expenditure, heart rate, and blood pressure counted for the duration of the audio asset being played.
3. The method of claim 2, the running data comprising stride frequency data; and
for each audio resource played in a running period, obtaining running data within the playing duration of the audio resource, specifically including:
aiming at each audio resource played in a running period, when the audio resource is detected to start playing, respectively recording a first accumulated running step number when the audio resource starts playing and a first time when the audio resource starts playing;
when detecting the next audio resource after the audio resource is started to be played, respectively recording a second accumulated running step number when the next audio resource is started to be played and a second time when the next audio resource is started to be played; and
the stride frequency data for the duration of the playback of the audio asset is determined according to the following equation:
Figure FDA0002179256150000011
wherein:
a1 represents a first cumulative number of running steps at which the audio asset begins to play;
t1 a first time to begin playing the audio asset;
a2 represents a second cumulative number of running steps at which the next audio asset begins to play;
t2 represents a second time to begin playing the next audio asset.
4. The method as claimed in claim 1, wherein the running data statistics page sequentially displays N audio resources played in the running period and corresponding running data thereof according to a size arrangement order of the running data, wherein N is a natural number greater than or equal to 1.
5. The method of claim 4, wherein N audio resources played during the running cycle and their corresponding running data are sequentially displayed in the running data statistics page using graphical data entries.
6. The method of claim 5, the running data statistics page displays data entries corresponding to each audio resource that are of different lengths; and
for each audio resource displayed by the running data statistics page,
determining the length of the data entry corresponding to the audio resource according to the following formula:
Figure FDA0002179256150000021
wherein:
l1 is the data entry length corresponding to the audio resource with the highest running data rank;
l2 is the data entry length corresponding to the audio resource with the lowest running data rank;
s is a sequencing serial number corresponding to any audio resource except the highest and lowest sequenced audio resource;
s _ max is a sorting sequence number corresponding to the highest-sorting audio resource;
and S _ min is a sequencing serial number corresponding to the audio resource with the lowest sequencing.
7. The method of claim 1, further comprising:
aiming at each audio resource displayed by the running data statistical page, establishing a link from the audio resource to an audio resource playing page; and
and when the link is triggered, starting to play the corresponding audio resource and displaying the corresponding audio resource playing page.
8. The method of claim 7, the audio asset playback page comprising a favorite operational hotspot and a download operational hotspot; and
the method further comprises the following steps:
when the collection operation hot zone is triggered, collecting the audio resources played currently;
and when the downloading operation hot area is triggered, downloading the audio resource played currently from the network side.
9. The method of claim 1, wherein the running data statistics page further comprises sharing operational hotspots; and
the method further comprises the following steps:
and when the sharing operation hotspot is triggered, sharing the running data statistical page.
10. A running data processing apparatus comprising:
the device comprises an obtaining unit, a processing unit and a processing unit, wherein the obtaining unit is used for obtaining running data in the playing duration of each audio resource played in a running period, and the audio resources are the audio resources played by music software in a running mode;
the running data statistics page comprises a playlist generation operation hotspot, and when the playlist generation operation hotspot is triggered, corresponding audio resource playlists comprising the N audio resources played in the running cycle and sequentially displayed according to the size arrangement sequence of the running data are generated, so that a user can play the audio resources in the audio resource playlist by selecting the audio resource playlist in a non-running mode, wherein N is a natural number greater than or equal to 1;
and the display unit is used for displaying the running data statistics page generated by the first generation unit.
11. The apparatus of claim 10, wherein the running data comprises data determined from at least one of running steps, energy expenditure, heart rate, and blood pressure counted for the duration of the audio resource playing.
12. The apparatus of claim 11, the running data comprising stride frequency data; and
the obtaining unit includes:
the first recording subunit is used for respectively recording a first accumulated running step number when the audio resource is started to be played and a first time for starting to play the audio resource when the audio resource is detected to be started to be played aiming at each audio resource played in a running period;
the second recording subunit is used for respectively recording a second accumulated running step number when the next audio resource starts to be played and a second time when the next audio resource starts to be played when the next audio resource after the audio resource starts to be played is detected;
a determining subunit, configured to determine the stride frequency data within the playback duration of the audio resource according to the following formula:
Figure FDA0002179256150000031
wherein:
a1 represents a first cumulative number of running steps at which the audio asset begins to play;
t1 a first time to begin playing the audio asset;
a2 represents a second cumulative number of running steps at which the next audio asset begins to play;
t2 represents a second time to begin playing the next audio asset.
13. The apparatus according to claim 10, wherein the running data statistics page sequentially displays N audio resources played in the running period and corresponding running data thereof according to an order of running data sizes, where N is a natural number greater than or equal to 1.
14. The device of claim 13, N audio resources played within the running cycle and their corresponding running data are sequentially displayed in the running data statistics page using graphical data entries.
15. The device of claim 14, the running data statistics page displays data entries corresponding to each audio resource that are of different lengths; and
the device, still include:
a determination unit for counting each audio resource displayed by the page for the running data,
determining the length of the data entry corresponding to the audio resource according to the following formula:
Figure FDA0002179256150000041
wherein:
l1 is the data entry length corresponding to the audio resource with the highest running data rank;
l2 is the data entry length corresponding to the audio resource with the lowest running data rank;
s is a sequencing serial number corresponding to any audio resource except the highest and lowest sequenced audio resource;
s _ max is a sorting sequence number corresponding to the highest-sorting audio resource;
and S _ min is a sequencing serial number corresponding to the audio resource with the lowest sequencing.
16. The apparatus of claim 10, further comprising a link establishment unit, wherein:
the link establishing unit is used for establishing a link from the audio resource to an audio resource playing page aiming at each audio resource displayed by the running data statistical page;
the display unit is further configured to start playing the corresponding audio resource and display a corresponding audio resource playing page when the link is triggered.
17. The apparatus of claim 16, the audio asset playback page comprising a favorite operational hotspot and a download operational hotspot; and
the device, still include:
the collection unit is used for collecting the audio resources played currently when the collection operation hot zone is triggered;
and the downloading unit is used for downloading the audio resource played currently from the network side when the downloading operation hot area is triggered.
18. The apparatus of claim 10, the running statistics page further comprising a shared operational hotspot; and
the device, still include:
and the sharing unit is used for sharing the running data statistical page when the sharing operation hotspot is triggered.
CN201610401813.0A 2016-06-06 2016-06-06 Running data processing method and device Active CN106066780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610401813.0A CN106066780B (en) 2016-06-06 2016-06-06 Running data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610401813.0A CN106066780B (en) 2016-06-06 2016-06-06 Running data processing method and device

Publications (2)

Publication Number Publication Date
CN106066780A CN106066780A (en) 2016-11-02
CN106066780B true CN106066780B (en) 2020-01-21

Family

ID=57421255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610401813.0A Active CN106066780B (en) 2016-06-06 2016-06-06 Running data processing method and device

Country Status (1)

Country Link
CN (1) CN106066780B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844660B (en) * 2017-01-23 2022-09-13 腾讯科技(深圳)有限公司 Music recommendation method and device
CN111914018A (en) * 2020-08-21 2020-11-10 国电联合动力技术有限公司 Data dynamic sorting method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101002985A (en) * 2006-01-20 2007-07-25 雅马哈株式会社 Apparatus for controlling music reproduction and apparatus for reproducing music
CN101394906A (en) * 2006-01-24 2009-03-25 索尼株式会社 Audio reproducing device, audio reproducing method, and audio reproducing program
CN102213957A (en) * 2010-04-08 2011-10-12 上海薄荷信息科技有限公司 Control method, and device and system for providing virtual private sport coach
CN102449675A (en) * 2009-04-27 2012-05-09 耐克国际有限公司 Training program and music playlist generation for athletic training
CN104460981A (en) * 2013-09-17 2015-03-25 索尼公司 Presenting audio based on biometrics parameters
CN104618576A (en) * 2014-12-29 2015-05-13 上海斐讯数据通信技术有限公司 One-key running mode method and system
CN105612475A (en) * 2013-08-07 2016-05-25 耐克创新有限合伙公司 Wrist-worn athletic device with gesture recognition and power management

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009129402A1 (en) * 2008-04-16 2009-10-22 Nike International, Ltd. Athletic performance user interface for mobile device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101002985A (en) * 2006-01-20 2007-07-25 雅马哈株式会社 Apparatus for controlling music reproduction and apparatus for reproducing music
CN101394906A (en) * 2006-01-24 2009-03-25 索尼株式会社 Audio reproducing device, audio reproducing method, and audio reproducing program
CN102449675A (en) * 2009-04-27 2012-05-09 耐克国际有限公司 Training program and music playlist generation for athletic training
CN102213957A (en) * 2010-04-08 2011-10-12 上海薄荷信息科技有限公司 Control method, and device and system for providing virtual private sport coach
CN105612475A (en) * 2013-08-07 2016-05-25 耐克创新有限合伙公司 Wrist-worn athletic device with gesture recognition and power management
CN104460981A (en) * 2013-09-17 2015-03-25 索尼公司 Presenting audio based on biometrics parameters
CN104618576A (en) * 2014-12-29 2015-05-13 上海斐讯数据通信技术有限公司 One-key running mode method and system

Also Published As

Publication number Publication date
CN106066780A (en) 2016-11-02

Similar Documents

Publication Publication Date Title
CA2950421C (en) Systems, methods and apparatus for generating music recommendations
CN103605656B (en) A kind of method, apparatus for recommending music and a kind of mobile terminal
TWI619072B (en) A Music Service System, Method and Server
CN106416263B (en) The method and apparatus that intelligent automatic high speed for media caches
US20100205222A1 (en) Music profiling
CN107481706B (en) Song skewer burning method and device
WO2017165825A1 (en) Transitions between media content items
EP2727023A1 (en) Shared metadata for media files
CN107316641B (en) Voice control method and electronic equipment
US10664520B2 (en) Personalized media presentation templates
CN105094967A (en) Method and apparatus for operating process
CN104468840A (en) Audio pushing method, device and system
CN105335414A (en) Music recommendation method, device and terminal
EP2811399B1 (en) Method and terminal for starting music application
CN106713985A (en) Method and device for recommending network video
CN112287165A (en) File processing method and device
CN108108457A (en) Method, storage medium and the terminal of big beat information are extracted from music beat point
CN106777115A (en) Song processing method and processing device
CN105243066A (en) Audio recommendation apparatus and audio play method
CN106066780B (en) Running data processing method and device
CN107622101A (en) Play method and device, the electronic equipment of song
CN104751870B (en) A kind of information processing method and electronic equipment
CN112287162A (en) Message searching method and device and electronic equipment
CN106653067B (en) Information processing method and terminal
CN104575545B (en) A kind of generation method of list to be played

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161101

Address after: Hangzhou City, Zhejiang province 310052 Binjiang District Wangshang Road No. 599 building 4 Room 601

Applicant after: Hangzhou NetEase cloud Music Technology Co., Ltd.

Address before: Hangzhou City, Zhejiang province Binjiang District 310052 River Street Network Road No. 599 building 4 layer 7

Applicant before: NetEase (Hangzhou) Network Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant