Method and apparatus for displaying a sharing page according to a detected voice signal, and non-transitory computer-readable storage medium
First Claim
1. A content sharing method applied to an electronic device containing a microphone, the method comprising:
- collecting a voice signal by the microphone after current content is displayed;
detecting whether the voice signal is a blowing signal;
displaying directly a sharing page corresponding to the current content according to the displayed current content in the case that the voice signal is the blowing signal, the sharing page containing content to be shared; and
sharing the content to be shared in the sharing page,wherein, displaying a sharing page corresponding to the current content comprises;
scrolling the sharing page corresponding to the current content from one side of the electronic device to an opposite side, and time spent for scrolling the sharing page is in a negative correlation relationship with a number of times that frequency peak values of the voice signal reaching a pre-determined peak value within a first pre-determined period of time or an average peak value.
1 Assignment
0 Petitions
Accused Products
Abstract
A content sharing method, apparatus and an electronic device, which belongs to a field of computer technology, are provided. The method includes: collecting a voice signal by the microphone after current content is displayed; detecting whether the voice signal is a blowing signal; displaying a sharing page corresponding to the current content in the case that the voice signal is the blowing signal, the sharing page containing content to be shared; sharing the content to be shared in the sharing page. According to the present method, a sharing page is displayed directly to guide a user to complete content sharing upon detecting that the voice signal collected by the microphone is the blowing signal, thus avoiding inconvenience caused by multiple times of clicks of the user during content sharing and greatly reducing the time for sharing.
-
Citations
11 Claims
-
1. A content sharing method applied to an electronic device containing a microphone, the method comprising:
-
collecting a voice signal by the microphone after current content is displayed; detecting whether the voice signal is a blowing signal; displaying directly a sharing page corresponding to the current content according to the displayed current content in the case that the voice signal is the blowing signal, the sharing page containing content to be shared; and sharing the content to be shared in the sharing page, wherein, displaying a sharing page corresponding to the current content comprises; scrolling the sharing page corresponding to the current content from one side of the electronic device to an opposite side, and time spent for scrolling the sharing page is in a negative correlation relationship with a number of times that frequency peak values of the voice signal reaching a pre-determined peak value within a first pre-determined period of time or an average peak value.
-
-
2. The method according to claim 1, wherein, detecting whether the voice signal is a blowing signal comprises detecting whether the frequency peak values of the voice signal satisfy at least one of:
-
the number of times that the frequency peak values reach the pre-determined peak value within the first pre-determined period of time is larger than a first pre-determined threshold;
orthe average peak value of the frequency peak values within a second pre-determined period of time is larger than a second pre-determined threshold.
-
-
3. The method according to claim 1, wherein, sharing the content to be shared in the sharing page further comprises:
-
continuing to collect a voice signal by the microphone; detecting whether the voice signal is a blowing signal; performing the sharing in the case that the voice signal is the blowing signal.
-
-
4. The method according to claim 3, wherein, sharing the content to be shared in the sharing page further comprises:
performing the sharing according to a default sharing option or a selected current sharing option, the selected current sharing option is a sharing option selected, by a touch operation or a push-button operation, from at least one sharing options provided in the sharing page.
-
5. The method according to claim 1, wherein, sharing the content to be shared in the sharing page further comprises:
performing the sharing according to a default sharing option or a selected current sharing option in response to a clicking operation, the selected current sharing option is a sharing option selected, by a touch operation or a push-button operation, from at least one sharing options provided in the sharing page.
-
6. A content sharing apparatus applied to an electronic device containing a microphone, the apparatus comprising:
-
a first collecting module, configured to collect a voice signal by the microphone after current content is displayed; a first detecting module, configured to detect whether the voice signal collected by the first collecting module is a blowing signal; a displaying module, configured to display directly a sharing page corresponding to the current content according to the displayed current content in the case that the voice signal collected by the first collecting module is a blowing signal, the sharing page containing content to be shared; and a sharing module, configured to share the content to be shared in the sharing page, wherein, the displaying module is configured to; scroll the sharing page corresponding to the current content from one side of the electronic device to an opposite side, and time spent for scrolling the sharing page is in a negative correlation relationship with a number of times that frequency peak values of the voice signal reaching a pre-determined peak value within a first pre-determined period of time or an average peak value.
-
-
7. The apparatus according to claim 6, wherein, the first detecting module is configured to detect whether the frequency peak values of the voice signal collected by the first collecting module satisfy at least one of:
-
the number of times that the frequency peak values reach the pre-determined peak value within the first pre-determined period of time is larger than a first pre-determined threshold;
orthe average peak value of the frequency peak values within a second pre-determined period of time is larger than a second pre-determined threshold.
-
-
8. The apparatus according to claim 6, further comprising:
-
a second collection module, configured to continue to collect a voice signal by the microphone after the displaying module displays the sharing page corresponding to the current content; a second detecting module, configured to detect whether the voice signal collected by the second collecting module is a blowing signal; wherein the sharing module is further configured to share the content to be shared in the sharing page in the case that the voice signal collected by the second collecting module is the blowing signal.
-
-
9. The apparatus according to claim 8, wherein, the sharing module is further configured to:
share the content to be shared in the sharing page according to a default sharing option or a selected current sharing option, the selected current sharing option is a sharing option selected, by a touch operation or a push-button operation, from at least one sharing options provided in the sharing page.
-
10. The apparatus according to claim 6, wherein, the sharing module is further configured to:
share the content to be shared in the sharing page according to a default sharing option or a selected current sharing option in response to a clicking operation, the selected current sharing option is a sharing option selected, by a touch operation or a push-button operation, from at least one sharing options provided in the sharing page.
-
11. A non-transitory computer-readable storage medium having instructions stored thereon, the instructions, when executed by one or more processors, cause the processors to perform operations comprising:
-
collecting a voice signal by a microphone after current content is displayed; detecting whether the voice signal is a blowing signal; displaying a sharing page corresponding to the current content in the case that the voice signal is the blowing signal, the sharing page containing content to be shared; sharing the content to be shared in the sharing page, wherein, displaying a sharing page corresponding to the current content comprises; scrolling the sharing page corresponding to the current content from one side of the electronic device to an opposite side, and time spent for scrolling the sharing page is in a negative correlation relationship with a number of times that frequency peak values of the voice signal reaching a pre-determined peak value within a first pre-determined period of time or an average peak value.
-
Specification