CN113038285B - Resource information playing control method and device and electronic equipment - Google Patents

Resource information playing control method and device and electronic equipment Download PDF

Info

Publication number
CN113038285B
CN113038285B CN202110270848.6A CN202110270848A CN113038285B CN 113038285 B CN113038285 B CN 113038285B CN 202110270848 A CN202110270848 A CN 202110270848A CN 113038285 B CN113038285 B CN 113038285B
Authority
CN
China
Prior art keywords
shaking
target
data
playing
resource information
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
CN202110270848.6A
Other languages
Chinese (zh)
Other versions
CN113038285A (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.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network 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 Rajax Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN202110270848.6A priority Critical patent/CN113038285B/en
Publication of CN113038285A publication Critical patent/CN113038285A/en
Application granted granted Critical
Publication of CN113038285B publication Critical patent/CN113038285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders

Abstract

The application provides a method, a device and an electronic device for controlling resource information playing, wherein the method comprises the following steps: the method comprises the steps of obtaining shaking data generated under the barrier-free voice playing state based on a resource data service page, wherein the resource data service page comprises a plurality of display units used for displaying resource information; determining target playing data which is matched with the shaking data and is used for playing control over the resource information, wherein the target playing data comprises a target playing control mode corresponding to preset target shaking data; and according to the target playing data, carrying out playing control on the playing position of the current display unit of the resource information according to the target playing control mode. Therefore, the voice playing control operation of the visually impaired people for the resource information is more convenient, and the inconvenience caused by operation limitation is avoided.

Description

Resource information playing control method and device and electronic equipment
Technical Field
The present application relates to the field of information technology processing, and in particular, to a method for controlling resource information playing. The application also relates to a control device for playing the resource information, the electronic equipment and a computer storage medium.
Background
With the change of times and the development of the internet, modern advanced intelligent terminals such as smart phones and tablet computers become essential important tools in daily life of people. For example, more and more users are currently ordering, listening to songs and watching videos on intelligent terminal equipment through the internet. The touch screen operation becomes a conventional operation for controlling various application resource functions, that is, a corresponding touch screen operation needs to be performed on a terminal device screen according to a specified function implementation area, so that the corresponding function can be adjusted according to the current display content, and the requirements of a user can be met. The touch screen operation firstly needs to be intuitive, the touch screen can be performed according to the visible display content, the other hand holding the terminal device is usually needed to complete the corresponding function operation, the operation process is simpler for common people, but the operation difficulty is higher for people with visual impairment, and the method has limitation.
Disclosure of Invention
The application provides a control method for resource information playing, which aims to solve the technical problem of avoiding the operation limitation of adjustment control on played video, text and other information. The application also provides a control device, an electronic device and a storage medium for playing the resource information.
The application provides a control method for resource information playing, which comprises the following steps: acquiring shaking data generated in an accessible voice playing state based on a resource data service page, wherein the resource data service page comprises a plurality of display units for displaying resource information; determining target playing data which is matched with the shaking data and is used for playing control over the resource information, wherein the target playing data comprises a target playing control mode corresponding to preset target shaking data; and according to the target playing data, carrying out playing control on the playing position of the current display unit of the resource information according to the target playing control mode.
In some embodiments, the determining target play data matching the wobble data for play control of the resource information includes: determining a shaking direction corresponding to the shaking angle according to the shaking angle in the shaking data; determining whether a target shaking direction matching the shaking direction exists in the target shaking data; and if so, determining the target playing control mode corresponding to the target shaking direction as target playing data for playing control on the resource information.
In some embodiments, the determining target play data matching the shake data for play control of the resource information includes: acquiring a shaking angle and shaking force in the shaking data; determining a shaking direction corresponding to the shaking angle according to the shaking angle; determining whether a target sway direction matching the sway direction exists in the target sway data; if so, determining whether the shaking force is within a force threshold range set according to the target playing control mode corresponding to the target shaking force in the target shaking data; if so, determining the target playing control mode corresponding to the target shaking force matched with the shaking force as target playing data for controlling the playing of the resource information.
In some embodiments, the determining target play data matching the wobble data for play control of the resource information includes: acquiring shaking angles and shaking times in the shaking data; determining a shaking direction corresponding to the shaking angle according to the shaking angle; determining whether a target sway direction matching the sway direction exists in the target sway data; if yes, determining whether a target shaking frequency matched with the shaking frequency exists in the target shaking data; and if so, determining the target playing control mode corresponding to the target shaking times matched with the shaking times as target playing data for playing control on the resource information.
In some embodiments, the determining target play data matching the wobble data for play control of the resource information includes: acquiring shaking angles, shaking times and shaking force in the shaking data; determining a shaking direction corresponding to the shaking angle according to the shaking angle; determining whether a target sway direction matching the sway direction exists in the target sway data; if yes, determining whether a target shaking frequency matched with the shaking frequency exists in the target shaking data; if so, determining whether the shaking force is within a force threshold range set according to the target playing control mode corresponding to the target shaking force in the target shaking data; if so, determining the target playing control mode corresponding to the target shaking strength matched with the shaking strength as target playing data for playing control on the resource information.
In some embodiments, the obtaining of shake data generated in an unobstructed voice play state based on a resource data service page includes: acquiring shaking data generated aiming at the terminal equipment based on the resource information page state output by the terminal equipment on a barrier-free resource service application platform; or, in response to a resource information page output by the terminal device in a barrier-free play mode set by a resource service application platform, acquiring the shake data generated for the terminal device.
In some embodiments, the obtaining of shake data generated in an unobstructed voice play state based on a resource data service page includes: responding to a shaking function automatically started when a resource service application platform outputs a resource data service page when a terminal device is in an accessible voice broadcast state of the resource data service page, and acquiring shaking data generated aiming at the terminal device; or responding to a shaking function starting voice prompt provided when the resource service application platform outputs a resource data service page when the terminal equipment plays the resource information without obstacles, and acquiring the shaking data generated aiming at the terminal equipment.
The present application further provides a control device for playing resource information, including: the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring shaking data generated in an accessible voice playing state based on a resource data service page, and the resource data service page comprises a plurality of display units for displaying resource information; a determining unit, configured to determine target play data that is matched with the shake data and is used for performing play control on the resource information, where the target play data includes a target play control manner corresponding to preset target shake data; and the control unit is used for controlling the playing position of the current display unit of the resource information according to the target playing data and the target playing control mode.
The application also provides a computer storage medium for storing the network platform generated data and a program for processing the network platform generated data; when the program is read and executed, the steps of the control method for playing the resource information are executed.
The present application further provides an electronic device, comprising: a processor; and the memory is used for storing a program for processing the data generated by the network platform, and when the program is read and executed by the processor, the program executes the steps of the control method for playing the resource information.
Compared with the prior art, the method has the following advantages:
the application provides a method for controlling resource information playing, which comprises the following steps: acquiring shaking data generated in an accessible voice playing state based on a resource data service page, wherein the resource data service page comprises a plurality of display units for displaying resource information; determining target playing data which is matched with the shaking data and is used for playing control over the resource information, wherein the target playing data comprises a target playing control mode corresponding to preset target shaking data; and according to the target playing data, carrying out playing control on the playing position of the current display unit of the resource information according to the target playing control mode. Therefore, the operation of the visually impaired people for playing and controlling the resource information is more convenient, and the inconvenience caused by operation limitation is avoided.
Drawings
Fig. 1 is a flowchart of an embodiment of a method for controlling resource information playing provided in the present application;
FIG. 2 is a flowchart of a first embodiment of step S102 of FIG. 1;
FIG. 3 is a flowchart of a second embodiment of step S102 of FIG. 1;
FIG. 4 is a flowchart of a third embodiment of step S102 of FIG. 1;
FIG. 5 is a flowchart of a fourth embodiment of step S102 in FIG. 1;
fig. 6 is a schematic view of an application scenario of an embodiment of a method for controlling resource information playing provided by the present application;
fig. 7 is a schematic diagram illustrating that a coordinate system is established with a terminal device as a center in an embodiment of a control method for resource information playing provided by the present application;
fig. 8 is a schematic structural diagram of an embodiment of a control apparatus for playing resource information provided in the present application;
fig. 9 is a schematic structural diagram of an embodiment of an electronic device provided in the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The description used in this application and in the appended claims is for example: "a," "an," "first," and "second," etc., are not necessarily limited to a quantity or order, but rather are used to distinguish one type of information from another.
In order to show the control method for playing the resource information provided by the present application more clearly, the original purpose of the control method for playing the resource information provided by the present application is firstly introduced in a summary manner by combining with the actual application scenario.
In combination with the above background art, the touch screen operation has become a conventional operation for controlling various application resource functions, that is, the corresponding touch screen operation is performed on the resource information output on the screen of the terminal device according to the set designated function implementation area, so as to implement the adjustment of the corresponding function, and thus control of playing of the resource information is implemented.
In practical application, in the process of performing related application services such as catering service, text reading, video appreciation and the like based on terminal equipment, different application platforms have different control methods, for example: for the catering service, the operations of purchasing, paying, searching and the like of corresponding food can be realized by triggering the specified function control; for text reading, operations such as jumping and the like can be realized according to the corresponding control functions of the progress, the brightness and the chapters set by the application software, and the video application service can be realized. In any control, two hands are usually required to be matched, that is, one hand holds the terminal device, and the other hand implements the corresponding touch screen operation. Even with one-handed operation, it is not very convenient to control some functions. Particularly, for the visually impaired people, it is more difficult to perform a touch screen operation on the application service function provided on the terminal device under the condition of invisibility or limited visibility, so that the application provides a control method for playing the resource information, which can complete corresponding function operations with one hand for the common people and can still complete corresponding function control for the resource information played on the terminal device under the condition of invisibility or limited visibility for the visually impaired people.
Based on the above content, the method for controlling resource information playing provided by the present application may be suitable for playing control of common people on the terminal device when playing resource information, and may also be suitable for playing control of visually impaired people on the terminal device when playing resource information. A detailed description will be given below of a control method for playing resource information provided by the present application.
Referring to fig. 1, fig. 1 is a flowchart of an embodiment of a method for controlling resource information playing provided by the present application, where the embodiment of the method includes:
step S101: acquiring shaking data generated in an accessible voice playing state based on a resource data service page, wherein the resource data service page comprises a plurality of display units for displaying resource information;
the step S101 is to obtain shake data of the terminal device.
The resource data service page includes a plurality of display units for displaying resource information, where the display units are units for displaying resource information, for example, UI (User Interface) cards in fig. 6, and each UI card may represent one display unit. For example, in a take-away catering service platform, a display unit may represent activity introduction information of a merchant, activity introduction information provided by the service platform, or meal introduction information provided by the merchant, and so on. Here, the resource data service page is only explained by taking a UI card as an example of the display unit, and the form of the display unit is not limited, and the following contents may be referred to for specific contents.
The resource data service page may be understood as a service page output by a third-party service application platform and displayed on the terminal device, and the service page may display resource data service information, for example: resource objects, service application platform information, resource object provider information, resource object acquirer information, and the like. In this embodiment, the resource data service page may be an interactive page, for example, a service page provided by an application service such as a takeout service application and a commodity shopping service.
The resource information may be service content information in the service application platform, and is related to service categories provided by the service application platform, for example, in a takeaway catering service platform, the resource information may be information of various foods, merchants, activities and the like provided by a merchant, or may be activity or notification information provided by the service application platform; the resource information may be voice information for the resource data displayed by the display unit in an unobstructed voice play state based on the resource data service page. On a video playing service application platform, the resource information is audio and video information of various video contents, and is mainly audio information for the visually impaired people; in the e-book service application platform, the resource information is the voice playing information of the text class in the e-book.
The shaking data may be data generated by shaking the terminal device by an external force during the process of playing the resource information. The state of the terminal device playing the resource information can be understood as a working state of the resource information currently played by the terminal device. The wobble data is based on data generated when the terminal device plays the resource information.
The specific implementation process of step S101 may include:
step S101-1: acquiring shaking data generated aiming at the terminal equipment based on the resource information page state output by the terminal equipment on a barrier-free resource service application platform;
or;
step S101-2: and responding to a resource information page output by the terminal equipment in a barrier-free play mode set by a resource service application platform, and acquiring the shaking data generated aiming at the terminal equipment.
The barrier-free resource service application platform can be a resource service application platform developed for people with visual disorder, has a service function suitable for people with visual disorder, and can sense the visual disorder service function without additionally setting a visual disorder mode (also called a barrier-free playing mode) on the barrier-free resource service application platform. The resource service application platform is a service application platform suitable for common people and people with visual disorder, and when the resource service application platform is used by people with visual disorder, a barrier-free playing mode suitable for people with visual disorder is started.
By way of example of a catering service application scenario, when visually-handicapped people use the barrier-free resource service application platform or after the resource service application platform starts a barrier-free play mode, the contents displayed in the catering service application platform may be as shown in fig. 6, and the service resource information may be output by displaying information of a UI (User Interface: card form of User Interface) card in a page of the catering service application platform, where the UI card may be, for example, a category list carried by a card on a e-commerce platform; in social media websites, cards are used to represent a single activity or idea; in news websites and magazines, cards are used to display different news items, so that the pages interact with the user in the form of UI cards, each of which represents one kind of takeaway-related resource information. The resource information in the form of a UI card is used as an example here, and there is no limitation on the form of the resource information output or displayed on the application service platform.
In addition, according to the difference of service resources or the difference of types provided by the accessible resource service application platforms used by people with visual impairment, the activation mode of the corresponding shaking function can be set for different accessible resource service application platforms, so that the shaking data can be conveniently acquired. Therefore, the acquiring shake data generated in the barrier-free voice playing state based on the resource data service page includes:
responding to a shaking function which is automatically started when a resource service application platform outputs a resource data service page when a terminal device is in a barrier-free voice broadcasting state of the resource data service page, and acquiring shaking data generated aiming at the terminal device; for example, when a visually impaired person uses a music service application platform of the terminal device and detects that the music service application platform outputs a resource information page state, a shaking function is automatically started for collecting shaking data so as to make a data basis for a target playing control mode for controlling music resource information according to the shaking data.
Or;
responding to a shaking function starting voice prompt provided when a resource service application platform outputs a resource data service page when a terminal device is in a barrier-free resource information playing state, and acquiring shaking data generated by the terminal device; for example, visually-impaired people use the barrier-free takeaway ordering service application platform of the terminal device, when the shaking function of the barrier-free takeaway ordering service application platform for outputting the resource information page state is detected, the voice prompt function is automatically started, and the language prompt information of takeaway ordering is controlled and played through shaking data.
The above is merely an illustration of the manner of activation for the shaking function and is not limited to the above example.
The shaking data comprises one or more combinations of shaking angles, shaking times and shaking force, and can be acquired through detection of a gyroscope sensor of the terminal equipment.
As shown in fig. 7, the shaking angle may be a shaking angle of the terminal device on a coordinate axis, where a coordinate system is established with the terminal device as a center, and a maximum value of an included angle between the terminal device and a positive direction of the Y axis is selected during shaking of the terminal device. For example, in the shaking process of the terminal device, the angles generated on the coordinate axes are 150 ° and 45 ° (included angles with the positive direction of the X axis), and the included angle values of the positions corresponding to the two angles of the terminal device and the positive direction of the Y axis are 60 ° and 45 °, respectively, so that it can be known that the shaking angle corresponding to the present shaking of the terminal device is 150 °. Similarly, the maximum value of the included angle between the terminal device and the negative direction of the Y axis can also be used as the shaking angle.
The shaking times may refer to the shaking times generated by the terminal device in one shaking stage. The specific monitoring mode may be: and when the interval time between two adjacent shaking of the terminal equipment is smaller than a preset time threshold, indicating that the two adjacent shaking of the terminal equipment belong to a shaking stage of the terminal equipment. And determining the shaking times of the shaking stage of the terminal equipment according to the shaking times appearing in the shaking stage of the terminal equipment. Specifically, after the terminal device shakes once, the next shaking of the terminal device is not received within a preset time, which indicates that the shaking times of the terminal device at this stage is once; when the time interval between the first shaking and the second shaking of the terminal equipment is smaller than a preset time threshold, after the second shaking, the next shaking of the terminal equipment is not received within the preset time, and the shaking times of the terminal equipment at the stage are represented as two times; when the time interval between the first shaking and the second shaking of the terminal device is smaller than a preset time threshold, the time interval between the second shaking and the third shaking is smaller than the preset time threshold, and after the third shaking, the next shaking is not received within the preset time threshold, which indicates that the shaking frequency of the terminal device at this stage is three times. And so on, determining whether the shaking of the terminal equipment at the stage is finished according to whether the time interval between two adjacent shaking of the terminal equipment is smaller than a preset time threshold value or not, thereby obtaining the shaking times.
The shaking force can be the gravity of the earth on the terminal equipment in the shaking process of the terminal equipment. The degree of shaking can be determined in combination with the angle of shaking. In general, the shaking strength may refer to a projection on an X-axis during shaking of the terminal device. That is, the shaking force is a value obtained by multiplying the shaking force by cos θ, where the shaking force is based on the unit acceleration 1g, and θ is a shaking angle of the terminal device.
In this embodiment, the shaking force may be detected by a gyroscope of the terminal device, for example, an accelerometer (UIAccelerometer) is used to determine the acceleration of the shaking, the accelerometer may detect data generated by the terminal device on an X, Y, Z axis, and return a value in a range of 0 to 1g, where the value may represent the shaking force at different shaking angles or in different shaking directions. For example, when the shaking force of the terminal device is detected to be (1g, 0, 0), it indicates that the acceleration of the terminal device in the positive direction of the X axis is 1g, and indicates that the target shaking force is 1 g. When the shaking force of the terminal device is (0, 1g, 0), it indicates that the acceleration of the terminal device in the positive direction of the Y axis is 1g, that is, the terminal device is in a static state, and no shaking data is generated. For another example, when the swing angle of the terminal device is 60 °, the swing force of 0.5 ° is distributed to the X axis and the Y axis according to the calculation formula 1 × cos60 °, and the swing force of 0.5g and 0.5g are calculated for different swing angles.
In this embodiment, relevant parameters such as a shaking angle, a shaking force, a shaking frequency and the like in the shaking data may be obtained through an accelerometer and other devices.
Step S102: determining target playing data which is matched with the shaking data and is used for playing control over the resource information, wherein the target playing data comprises a target playing control mode corresponding to preset target shaking data;
the playing control in step S102 may be understood as control of adjusting the voice playing of the currently played resource information. The target playing data may be understood as playing control mode data for adjusting and controlling the playing of the resource information, and target resource data and the like for playing, and may specifically include target shaking data and a target playing control mode corresponding to the target shaking data. The target play control manner may include a plurality of control manners, such as increasing play speed (also referred to as accelerated play), slowing down play speed (also referred to as decelerated play), repeating play control manner, returning play control manner, skipping play control manner, and the like.
The purpose of the step S102 is to determine target play data, so as to implement play control on resource information, a specific implementation of the determining process of the target play data or the matching process of the wobble data of the step S102 may be to determine the target play data by matching with the target wobble data in a manner of any one or a combination of more of a wobble angle, a wobble strength, and a wobble frequency in the wobble data, and a specific implementation process of the first manner, which is described in detail below, as shown in fig. 2, may include:
step S201: determining a shaking direction corresponding to the shaking angle according to the shaking angle in the shaking data;
step S202: determining whether a target sway direction matching the sway direction exists in the target sway data;
step S203: and if so, determining the target playing control mode corresponding to the target shaking direction as target playing data for playing control over the resource information.
A specific implementation procedure of the step S201 may be to compare a shaking angle in the shaking data with a target shaking direction in preset target shaking data, and determine whether the target shaking direction has angle data corresponding to the shaking angle, where the target shaking direction may be determined according to the target shaking angle, for example: as shown in fig. 7, a coordinate system is established with the terminal device as the center, the shaking direction may be divided into four quadrants, the first quadrant is that the abscissa (x) is greater than 0, and the ordinate (y) is greater than 0, that is: 0 to 90 degrees; the second quadrant is such that the abscissa (x) is less than 0 and the ordinate (y) is greater than 0, i.e.: 90-180 degrees; the third quadrant has an abscissa (x) less than 0 and an ordinate (y) less than 0, i.e.: 180 degrees to 270 degrees; the fourth quadrant has an abscissa (x) greater than 0 and an ordinate (y) less than 0, i.e.: 270 to 360 degrees. The target shaking direction may be to set a shaking angle between 0 and 90 degrees to be shaken to the right, and the corresponding target playing control manner or control function may be to perform accelerated playing on the voice of the resource information played by the current display unit; the shaking angle is set to be between 90 and 180 degrees, the shaking is carried out leftwards, and the corresponding target playing control mode is to carry out deceleration playing on the voice of the resource information played by the current display unit; the shaking angle is set to be between 180 and 270 degrees, the target playing control mode is to return to the last display unit for playing; the shaking angle is set to be 270-360 degrees, the shaking angle is set to be shaken downwards and rightwards, and the corresponding target playing control mode is that the next display unit is jumped to play. Usually with the right and left being the primary target roll directions. And the left lower part and the right lower part can be arranged according to actual requirements.
For example, if a shaking event occurred in the terminal device is monitored and the shaking angle in the generated shaking data may be 60 °, which is between 0 and 90 degrees of the set target shaking direction, the target shaking direction may be determined as shaking to the right. The corresponding target play control manner is to increase the play speed for the resource information of the display unit. In combination with the application scenario of the visually impaired person ordering food on the takeaway service application platform shown in fig. 6, increasing the playing speed means increasing the voice playing speed of the UI1 card information, starting at the current position of the UI1 card listened to by the visually impaired person, and decreasing the time length for playing the current UI1 card or decreasing the time for entering the next UI2 card to play voice. When the shaking angle generated by the user shaking the terminal device is 150 degrees and falls between 90 degrees and 180 degrees of the set target shaking direction, it can be determined that the target shaking direction is left shaking, and the target playing control mode corresponding to the left shaking is that the playing speed is slowed down for the resource information of the display unit, where slowing down the playing speed refers to starting at the current position of the UI1 card listened to by the visually impaired, slowing down the voice playing speed of the UI1 card information, increasing the voice playing time length for playing the current UI1 card, or increasing the time for entering the voice playing of the next UI card.
And if the shaking direction corresponding to the shaking angle of the terminal equipment does not fall within the angle range of the target shaking direction in the preset target shaking data, the shaking angle is an invalid shaking angle, the corresponding target shaking direction does not exist, and the target playing data for playing and controlling the resource information is determined. For example, if the shaking angle of the terminal device is 90 °, the corresponding shaking direction is the positive direction of the Y axis, and the terminal device does not belong to the target shaking direction in the preset target shaking data, the playing speed of the resource information of the current display unit cannot be controlled.
The adjacent shaking angle before the shaking is stopped can be obtained by obtaining the shaking angle, and the adjacent shaking angle before the shaking is stopped can be selected to be matched with the target shaking direction because the shaking angle is not fixed in the shaking process. Of course, the average value of the plurality of sway angles may be obtained, and the average value is matched with the target sway direction, and the specific obtaining form is not limited.
The above-described embodiment is to determine target play data for play control of the resource information of the current display unit according to the shake angle.
A specific implementation process of the second manner of the step S102 is shown in fig. 3, and may specifically include:
step S301: acquiring a shaking angle and a shaking force in the shaking data;
step S302: determining a shaking direction corresponding to the shaking angle according to the shaking angle;
step S303: determining whether a target sway direction matching the sway direction exists in the target sway data;
step S304: if yes, determining whether the shaking force is within a force threshold range set according to the target playing control mode corresponding to the target shaking force in the target shaking data; if the determination result in the step S303 is negative, performing play control on the resource information according to a play control mode determined by the target shaking direction or outputting a voice prompt with control failure, and the like;
step S305: if so, determining the target playing control mode corresponding to the target shaking strength matched with the shaking strength as target playing data for playing control on the resource information; when the determination result in the step S304 is negative, the resource information may be controlled to be played according to a playing control manner determined by the target shaking direction, or the playing control is not executed, or a voice prompt indicating that shaking data matching fails or a voice prompt indicating that playing control fails may be output.
For the specific implementation process of step S302 and step S303, reference may be made to step S201 and step S202, and details are not repeated here.
The specific implementation process of step S304 may be to preset a target playing control mode corresponding to the force value of the target shaking force. According to the gravity value of 0-1g measured by an accelerometer, dividing 0-1g into three target shaking force grades, wherein the first target shaking force grade is (0-0.3 g), the corresponding control playing length is 0-3 seconds(s), the second target shaking force grade is [0.3-0.6g ], the corresponding control playing length is 3-6 seconds(s), the third target shaking force grade is [0.6-1g ], the corresponding control playing length is 6-10 seconds(s), different target shaking force grades correspond to different control playing lengths, such as the length of accelerated playing, the length of decelerated playing and the like, and the force grade division and the corresponding playing control mode can be set arbitrarily according to actual requirements and are not limited to the contents.
The example of the above steps S201 to S203 is used in conjunction with fig. 6. UI1 card is present broadcast speech information, and when the angle of shaking that detects terminal equipment is 60, its corresponding target direction of shaking is for shaking right, and the corresponding broadcast voice that is to the resource information of current display element increases the broadcast speed (broadcast with higher speed), and the dynamics of shaking on the positive direction of X axle is 1X cos60 ═ 0.5g, belongs to second target degree of shaking dynamics grade, corresponding for control broadcast length is 5s, then carry out the control that broadcast duration is 5s with higher speed to the UI1 card speech information of present broadcast, promptly: and starting from the current playing position of the UI1 card, and carrying out accelerated playing on the subsequent 5s voice playing data according to the playing sequence. If the target shaking direction is leftwards shaking and the corresponding slow-down playing speed is slow-down playing (slow-down playing), the shaking force generated in the negative direction of the X axis is 0.5g, the second target shaking force level also belongs to, and the corresponding control playing length is 5s, the slow-down playing time length of the UI1 card voice information which is played at present is controlled to be 5s, namely: and from the current playing position of the UI1 card, carrying out deceleration playing on the subsequent 5s voice playing data according to the playing sequence. If the control mode of shaking to the right is jumping, the user can jump to a position 5s away from the current voice playing information to play. The implementation of the specific control may be determined according to the characteristics of the specific service resource of the resource application service platform, which is only an example and is not used to limit the setting of the play control manner.
The above embodiment first determines the target shaking direction matched with the shaking angle, and after matching, needs to determine which force level the shaking force belongs to, and then determines the target playing data for performing playing control on the playing voice of the resource information of the current display unit.
A specific implementation process of the third manner of the step S102 is shown in fig. 4, and may specifically include:
step S401: acquiring a shaking angle and shaking times in the shaking data;
step S402: determining a shaking direction corresponding to the shaking angle according to the shaking angle;
step S403: determining whether a target sway direction matching the sway direction exists in the target sway data;
step S404: if yes, determining whether a target shaking frequency matched with the shaking frequency exists in the target shaking data;
step S405: and if so, determining the target playing control mode corresponding to the target shaking times matched with the shaking times as target playing data for playing control over the resource information.
The third mode may be understood as that after the shaking direction corresponding to the determined shaking angle belongs to the preset target shaking direction, whether the shaking frequency is the target shaking frequency is further determined, and if so, the corresponding target play control mode is determined as target play data for performing play control on the resource information play voice of the current display unit. For step S402 and step S403, reference may be made to step S201 and step S202, and details are not repeated here.
As described above with respect to the shaking times in step S101, it can be understood that the shaking times may be the shaking times of the terminal device in one shaking stage of the terminal device. The target shaking times may be preset times, and control functions corresponding to the times, such as: when the target shaking times is 1 time, controlling according to a target playing control mode corresponding to the target shaking direction, such as accelerated playing, retrieval playing and the like; when the target shaking frequency is 2 times, the corresponding target playing control mode is to jump to the playing content of the next display unit and start accelerated playing from the playing content of the next display unit, or repeat the control function corresponding to the target shaking direction for 2 times, and the like, which is not illustrated here one by one.
Following the above example, as shown in fig. 6, when the currently played audio material of the display unit of the terminal device of the visually impaired person is the UI1 card, and it is detected that the shaking angle of the terminal device of the visually impaired person is 45 °, the corresponding target shaking direction is to be shaken to the right. The preset target playing control mode for the target shaking times corresponding to one shaking time is to start at the current playing position of the UI1 card and increase the control of the voice playing speed; when the shaking times are the preset target playing control modes of the two corresponding target shaking times, jumping to the next UI2 card from the current playing position of the UI1 card according to the playing sequence, and controlling the UI2 card to increase the playing speed.
For another example, the currently played audio data of the terminal device of the visually impaired person is the UI card 1, and when the shaking angle of the terminal device of the visually impaired person is detected to be 150 °, the corresponding target shaking direction is left shaking. And then, according to a target playing control mode of the target shaking times corresponding to the shaking times, determining to control the playing resources of the current display unit, such as: when the shaking times are one time, the target playing control mode of the target shaking times corresponding to the shaking data is that the current playing position of the UI2 card is started, and the voice playing speed is slowed down (the playing is slowed down); when the target shaking times are two times, the target playing control mode of the target shaking times corresponding to the shaking data is that the current playing position of the UI2 card is jumped to a UI1 card on the UI2 according to the playing sequence, and the voice playing speed is slowed down from the UI1 card; when the target shaking times are three times, the target control mode corresponding to the shaking data is that the playing of the UI1 card is repeated.
It should be noted that, when the target shaking times are not matched, the control may be performed according to the playing control manner corresponding to the target shaking direction, or any playing control may not be performed, or a voice prompt indicating that the shaking data matching fails or a voice prompt indicating that the playing control fails may be output.
In the above embodiment, the target shaking direction matching the shaking angle is determined, and the target shaking times matching the shaking times are matched, so as to determine the target play data for performing play control on the resource information of the current display unit.
A specific implementation process of the fourth manner of the step S102 is shown in fig. 5, and may specifically include:
step S501: acquiring shaking angles, shaking times and shaking force in the shaking data;
step S502: determining a shaking direction corresponding to the shaking angle according to the shaking angle;
step S503: determining whether a target shaking direction matching the shaking direction exists in the target shaking data;
step S504: if yes, determining whether a target shaking frequency matched with the shaking frequency exists in the target shaking data;
step S505: if yes, determining whether the shaking force is within a force threshold range set according to the target playing control mode corresponding to the target shaking force in the target shaking data;
step S506: if so, determining the target playing control mode corresponding to the target shaking strength matched with the shaking strength as target playing data for playing control on the resource information.
For the specific implementation process of step S502 and step S503, reference may be made to step S201 and step S202, and details are not repeated here. For the specific implementation process of step S504 and step S505, reference may be made to step S404 and step S405, which is not repeated herein. For the specific implementation process of step S505 and step S506, reference may be made to step S304 and step S305, and details are not repeated here.
In a specific implementation process, as shown in fig. 6, when the visually impaired people are listening to the currently played content of the UI1 card, the shake angle of the listening terminal device is 60 °, and the corresponding target shake direction is shake to the right. The shaking times are 1 time, and the next shaking data is not received within a preset time threshold, which indicates that the shaking times are 1 time. The shaking strength is 1 × cos60 ° -0.5, and the target playing control manner corresponding to the shaking angle, the shaking frequency and the shaking strength may be that the voice playing information of the subsequent 5s is accelerated and played according to the playing sequence starting at the current playing position of the UI1 card. The target playing control duration determined according to the target shaking strength may be specifically limited according to actual needs, and this is merely exemplary and not limiting.
For another example, when the shaking angle of the terminal device of the visually impaired person is 45 °, the shaking frequency is 2 times, the time interval between two shaking is smaller than the preset time threshold, the shaking strength is 0-1g, the corresponding target shaking direction is rightward shaking, the target shaking frequency is 2 times, the target shaking angle is 45 °, the target shaking strength is 1 × cos45 ° -0.7, the target playing control duration of the corresponding terminal device is 0.7 × 10-7 s. Therefore, the target play control data corresponding to the terminal device jumps from the current play position of the UI1 card to the position 7s later, and then the play position 7s later is the target play position, and starts from the target play position to perform accelerated play of the voice play.
The above is a description of a specific implementation process of target play data for performing play control on resource information, which is determined according to three kinds of shake data, i.e., shake angle, shake frequency and shake force.
The above is a specific implementation manner of the shake data including one or more combinations of parameters such as shake angle, shake direction and shake force, and in fact, the combination manner may have various forms and is not limited to the above examples, and the parameters included in the shake data are not limited to the above examples. When a sensor such as a gyroscope monitors a shaking event of a terminal device, reference may also be made to the implementation manner of the related art for determining relevant shaking data, and the foregoing is merely an illustrative description and does not limit shaking data.
Step S103: according to the target playing data, the playing position of the current display unit of the resource information is controlled to be played according to the target playing control mode;
the playing position of the current display unit in step S103 may be understood as a position where the resource information played by the current display unit is located when the terminal device starts shaking.
The purpose of step S103 is to adjust the playing position of the current display unit of the resource information, so that the resource information of the currently playing display unit is the target resource information, and the specific implementation process may refer to step S102, that is, different control functions are set corresponding to different target wobble data, and after the matched target wobble data is determined according to the wobble data, the adjustment of the playing position of the current display unit is controlled according to a target playing control manner corresponding to the target wobble data, for example, the playing position of the current display unit is controlled to accelerate playing, or the playing position of the target display unit is skipped to play, so as to reduce the playing duration of the redundant information or filter the playing of the redundant information. And prompting the adjustment mode of the playing position of the current display unit in a voice playing mode before or during the adjustment of the playing position of the current display unit according to the target playing control mode corresponding to the target shaking data. For example, in the control method in steps S201 to S203, it is monitored that the shaking angle sent by the terminal device is 60 °, the target shaking direction is determined, the target shaking direction is rightward shaking, the corresponding target control method is to increase the playing speed, and during the process of adjusting the playing position of the current display unit, the method further includes prompting in a voice broadcast mode: "the current switching playback mode is to increase the voice playback speed of the UI1 card information starting at the current position of the UI1 card".
For another example, in the control method of the above steps S401 to S405, the currently played audio data of the terminal device of the visually impaired person is the UI1 card, and when it is detected that the shaking angle of the terminal device of the visually impaired person is 45 °, the corresponding target shaking direction is rightward shaking. When the shaking times are the preset target playing control modes of the two corresponding target shaking times, jumping to the next UI2 card from the current playing position of the UI1 card according to the playing sequence, and controlling the UI2 card to increase the playing speed. Before or in the process of adjusting the play control mode, the method further comprises the following prompt in a voice broadcast mode: "the current switching playback mode is to jump from the UI1 card to the next UI2 card and to perform control to increase the playback speed for the UI2 card".
By aiming at the voice prompt information of the play control mode before or in the process of controlling the current play position, a visually-handicapped person can check the heard voice prompt information, if the play control mode in the voice prompt information is consistent with the play control mode required by the person, the person does not do processing, the adjustment of the play control mode is continued, if the play control mode in the voice prompt information is inconsistent with the play control mode required by the person, the adjustment of the play control mode is stopped, and the play control mode is determined by shaking the terminal equipment again.
The application provides a control method for resource information playing, which comprises the following steps: acquiring shaking data generated in an accessible voice playing state based on a resource data service page, wherein the resource data service page comprises a plurality of display units for displaying resource information; determining target playing data which is matched with the shaking data and is used for playing control over the resource information, wherein the target playing data comprises a target playing control mode corresponding to preset target shaking data; and according to the target playing data, carrying out playing control on the playing position of the current display unit of the resource information according to the target playing control mode. The method determines target playing data for playing control over the resource information through shaking data generated by the terminal equipment when the resource information is played, and controls and adjusts the current playing position of the resource information according to a target playing control mode. In practical applications, the resource information may be video information, voice information, text information, and the like. According to the method, the playing control of the resource information by the user becomes simple and convenient through the correspondence between the shaking data and the playing control function, and especially for people with visual impairment, in the playing control operation process of the resource information, the control of the corresponding playing function can be completed only by simply shaking the terminal equipment for playing the resource information.
In order to more intuitively understand the implementation process of the resource information playing control method provided by the application, an implementation process of playing control corresponding to resource information in a catering service application scene (for example, take-away ordering, go to a store ordering, and the like) by visually-impaired people is taken as an example, but the application scene is not limited to catering services.
For example, as shown in fig. 6, the visually impaired people order at the take-away service application platform, where each UI card represents resource information of one take-away item. The resource information of present broadcast is the pronunciation data information of UI1 card, and when detecting that terminal equipment's rocking angle is 60, its corresponding target direction of rocking is for rocking right, and the target angle of rocking is 60, and the calculation obtains the target dynamics of rocking 1 xcos 60 ═ 0.5, and supposing when the target dynamics of rocking is 1g, corresponding target broadcast control duration is 10s, then the target dynamics of rocking is 0.5g and corresponding target broadcast control duration is 5 s. When the target shaking times are detected to be 1 time, the target control mode corresponding to the shaking data is that the current playing position of the UI1 card is started, and the voice playing speed is increased for the resource information of 5s in the future. When the shaking frequency is detected to be 2 times and corresponds to the first target shaking strength level, the target control mode corresponding to the shaking data is to adjust the current playing position of the UI1 card to the target playing position after 5s, and increase the voice playing speed of the resource information from the target playing position after 5 s. When the shaking times are detected to be 3 times and correspond to the first target shaking strength level, the target control mode corresponding to the shaking data is the resource information of jumping from the UI1 card to the UI2 card. According to the method, when the takeout service application platform is used by people with visual disorder, shaking data are generated by shaking the terminal device, a target control mode corresponding to the shaking data is determined according to the shaking data, and the voice playing speed of current commodity information in the takeout service application platform is adjusted according to the target playing control mode. The control method enables visually-handicapped people to control the playing of the resource information only by shaking the terminal equipment playing the resource information, improves the universality of the playing operation and reduces the complexity of the operation.
In addition, the method for controlling playing of resource information according to the first embodiment of the present application may also be applied to application scenarios such as electronic book playing and video playing. For example, when the visually impaired people listen to the electronic book by using the voice information, the shaking angle of the terminal device is detected to be 45 °, which corresponds to the target shaking direction being to be shaken to the right. The target playing control mode corresponding to the rightward shaking is to increase the voice playing speed of the text content of the electronic book from the current listening position of the current electronic book. When the shaking angle of the terminal device is detected to be 150 degrees, the shaking direction corresponding to the target is leftwards shaking. The target playing control mode corresponding to the rightward shaking is to slow down the voice playing speed of the text content of the electronic book from the current listening position of the current electronic book. By the control method, visually-impaired people can finish the voice playing speed of the text content of the electronic book by shaking the terminal equipment with one hand without touching the screen of the terminal equipment, and the method is convenient and quick.
In addition, the method for controlling resource information provided in the first embodiment of the present application may also be applied to a service application scenario in which a general population orders a meal or listens to an electronic book. Introduction is performed in an application scenario in which a general population (hereinafter, a user represents the general population) orders on a takeout service application platform. Firstly, starting a shaking function and voice prompt information of the takeout service application platform, wherein the voice information of the takeout commodity 1 is currently played by the terminal device, and when a user wants to accelerate the playing speed, shaking the terminal device to enable a shaking angle of the terminal device to be located in an area where a positive direction of an X axis of a coordinate system shown in fig. 7 is located, namely, a first quadrant and a fourth quadrant, for example, when the shaking angle of the terminal device is detected to be 45 degrees, starting from a current playing position of the takeout commodity 1, and increasing the voice playing speed. When the user wants to slow down the playing speed, the terminal device is shaken to make the shaking angle of the terminal device located in the area where the negative direction of the X-axis of the coordinate system shown in fig. 7 is located, that is, the second quadrant and the third quadrant, for example, when it is detected that the shaking angle of the terminal device is 150 °, the voice playing speed is slowed down from the current playing position of the takeout article 1.
Corresponding to the embodiment of the method for controlling the resource information playing provided by the application, the application also provides a device for controlling the resource information playing. Since the device embodiment is basically similar to the embodiment corresponding to the application scenario and the method embodiment, the description is relatively simple, and for relevant points, reference may be made to the corresponding part of the description of the method embodiment. The device embodiments described below are merely illustrative.
Please refer to fig. 8, which is a schematic structural diagram of an embodiment of a control apparatus for playing resource information provided in the present application, wherein the embodiment of the control apparatus for playing resource information includes:
an obtaining unit 801, configured to obtain shake data generated in an unobstructed voice playing state based on a resource data service page, where the resource data service page includes a plurality of display units for displaying resource information;
a determining unit 802, configured to determine target playing data that is matched with the shake data and is used for performing playing control on the resource information, where the target playing data includes a target playing control manner corresponding to preset target shake data;
a control unit 803, configured to perform playback control on the playback position of the current display unit of the resource information according to the target playback data in the target playback control manner.
Here, for the summary description of the obtaining unit, the determining unit, and the determining unit, specific contents may refer to the description of step S101 to step S103 in the control method for playing resource information, and details are not repeated here.
The determining unit 802 is configured to determine target control data for performing play control on the resource information, and a first specific implementation manner of the determining unit may include:
the target shaking direction determining subunit is used for determining a shaking direction corresponding to the shaking angle according to the shaking angle in the shaking data; determining whether a target shaking direction matching the shaking direction exists in the target shaking data;
and the target playing data determining subunit is configured to determine, if the determination result of the target shaking direction determining subunit is yes, the target playing control manner corresponding to the target shaking direction as the target playing data for performing playing control on the resource information.
Here, for the schematic description of the target shaking direction determining subunit and the target playing data determining subunit, specific contents may refer to the descriptions of step S201 to step S203 in the control method for playing the resource information, and are not described in detail here.
The determining unit 802 is configured to determine target control data for performing play control on the resource information, and a second specific implementation manner of the determining unit may include:
the first acquisition subunit is used for acquiring a shaking angle and a shaking force in the shaking data;
the target shaking direction determining subunit is used for determining a shaking direction corresponding to the shaking angle according to the shaking angle; determining whether a target shaking direction matching the shaking direction exists in the target shaking data;
the target shaking force determining subunit is configured to determine, if the determination result of the target shaking direction determining subunit is yes, whether the shaking force is within a force threshold range set according to the target play control manner corresponding to the target shaking force in the target shaking data;
and the target playing data determining subunit is configured to determine, if the determination result of the target shaking strength determining subunit is yes, the target playing control mode corresponding to the target shaking strength matched with the shaking strength as the target playing data for performing playing control on the resource information.
Here, for the schematic description of the first obtaining subunit, the target shaking direction determining subunit, the target shaking force determining subunit, and the target playing data determining subunit, specific contents may refer to the description of step S301 to step S305 in the control method for playing resource information, and are not described in detail here.
The determining unit 802 is configured to determine target control data for performing play control on the resource information, and a third specific implementation manner of the determining unit may include:
the second acquisition subunit is used for acquiring the shaking angle and the shaking times in the shaking data;
the target shaking direction determining subunit is used for determining a shaking direction corresponding to the shaking angle according to the shaking angle; determining whether a target sway direction matching the sway direction exists in the target sway data;
a target shaking number determining subunit configured to determine whether there is a target shaking number matching the shaking number in the target shaking data if the determination result of the target shaking direction determining subunit is yes;
and the target playing data determining subunit is configured to determine, if the determination result of the target shaking number determining subunit is yes, the target playing control mode corresponding to the target shaking number that is matched with the shaking number as the target playing data for performing playing control on the resource information.
Here, the second obtaining subunit, the target shaking direction determining subunit, the target shaking frequency determining subunit, and the target playing data determining subunit are described in a summary manner, and specific contents may refer to the description of step S401 to step S405 in the control method for playing resource information, which is not described in detail herein.
The determining unit 802 is configured to determine target control data for performing play control on the resource information, and a fourth specific implementation manner of the determining unit may include:
the third acquisition subunit is used for acquiring the shaking angle, the shaking times and the shaking force in the shaking data;
the target shaking direction determining subunit is used for determining a shaking direction corresponding to the shaking angle according to the shaking angle; determining whether a target sway direction matching the sway direction exists in the target sway data;
a target shaking number determining subunit configured to determine whether there is a target shaking number matching the shaking number in the target shaking data if the determination result of the target shaking direction determining subunit is yes;
the target shaking frequency determining subunit is used for determining whether the shaking frequency is within a frequency threshold range set according to the target playing control mode corresponding to the target shaking frequency in the target shaking data if the judgment result of the target shaking frequency determining subunit is yes;
and the target playing data determining subunit is configured to determine, if the determination result of the target shaking strength determining subunit is yes, the target playing control mode corresponding to the target shaking strength matched with the shaking strength as the target playing data for performing playing control on the resource information.
Here, for the summary description of the third obtaining subunit, the target shaking direction determining subunit, the target shaking frequency determining subunit, the target shaking strength determining subunit, and the target playing data determining subunit, specific contents may refer to the descriptions of step S501 to step S506 in the control method for playing resource information, and are not described in detail here.
The acquisition unit 801 includes:
the system comprises a first shaking data acquisition unit, a first monitoring unit and a second monitoring unit, wherein the first shaking data acquisition unit is used for acquiring shaking data generated aiming at a terminal device based on a resource information page state output by the terminal device on a barrier-free resource service application platform;
alternatively, the first and second electrodes may be,
and the second shaking data acquisition unit is used for responding to a resource information page output by the terminal equipment in a barrier-free play mode set by a resource service application platform and acquiring the shaking data generated aiming at the terminal equipment.
Here, for a brief description of the first wobble data obtaining unit and the second wobble data obtaining unit, specific contents may refer to the descriptions of step S101-1 to step S101-2 in the control method for playing the resource information, and are not described in detail here.
The obtaining unit 801 is specifically configured to obtain shaking data generated for the terminal device in response to a shaking function that is automatically started when the resource service application platform outputs the resource data service page when the terminal device is in an accessible voice broadcast state of the resource data service page; or responding to a shaking function starting voice prompt provided when the resource service application platform outputs a resource data service page when the terminal equipment plays the resource information without obstacles, and acquiring the shaking data generated aiming at the terminal equipment.
Corresponding to the above method embodiments provided by the present application, the present application also provides a computer storage medium, and since the computer storage medium is substantially similar to the above method embodiments provided by the present application, the description is relatively simple, and the relevant points can be referred to the description of the above method embodiments provided by the present application. The computer storage media described below are merely illustrative.
The computer storage medium is used for storing network platform generated data and a program for processing the network platform generated data; when the program is read and executed, the steps involved in the control method for playing the resource information are executed.
It should be noted that, for the detailed description of the storage medium provided in the present application, reference may be made to the description of the foregoing method embodiment provided in the present application, and details are not repeated here.
Corresponding to the method embodiment provided by the application, the application also provides an electronic device. Since the embodiment of the electronic device is basically similar to the embodiment of the method provided in the present application, the description is relatively simple, and for the relevant points, reference may be made to the description of the embodiment of the method provided in the present application.
Fig. 9 is a schematic structural diagram of an embodiment of an electronic device provided in the present application.
The electronic device includes:
a processor 901;
the memory 902 is used for storing a program for processing network platform generated data, and when the program is read and executed by the processor, the program executes the steps related to the control method for playing the resource information.
It should be noted that, for the detailed description of the embodiment of the electronic device provided in the present application, reference may be made to an application scenario of the control method for playing the resource information provided in the present application and related descriptions of the above method embodiments provided in the present application, and details are not repeated here.
Although the present invention has been described with reference to the preferred embodiments, it should be understood that the invention is not limited thereto, and that various changes and modifications may be made by those skilled in the art without departing from the spirit and scope of the present invention.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or Flash memory (Flash RAM). Memory is an example of a computer-readable medium.
1. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable Media does not include non-Transitory computer readable Media (transient Media), such as modulated data signals and carrier waves.
2. As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.

Claims (10)

1. A method for controlling resource information playing is characterized by comprising the following steps:
acquiring shaking data generated in an accessible voice playing state based on a resource data service page, wherein the resource data service page comprises a plurality of display units for displaying resource information;
determining target playing data which is matched with the shaking data and is used for playing control over the resource information, wherein the target playing data comprises a target playing control mode corresponding to preset target shaking data;
adjusting the playing position of a current display unit of the resource information according to the target playing data, wherein the resource information corresponding to the playing position of the current display unit is target resource information, and playing control is carried out on the target resource information according to the target playing control mode; and in the process of adjusting the playing position of the current display unit, prompting the adjustment mode of the playing position of the current display unit in a voice playing mode.
2. The method for controlling playback of resource information according to claim 1, wherein said determining target playback data that matches the wobble data and is used for performing playback control on the resource information includes:
determining a shaking direction corresponding to the shaking angle according to the shaking angle in the shaking data;
determining whether a target sway direction matching the sway direction exists in the target sway data;
and if so, determining the target playing control mode corresponding to the target shaking direction as target playing data for playing control on the resource information.
3. The method for controlling playback of resource information according to claim 1, wherein the determining target playback data that matches the wobble data and is used for controlling playback of the resource information includes:
acquiring a shaking angle and a shaking force in the shaking data;
determining a shaking direction corresponding to the shaking angle according to the shaking angle;
determining whether a target sway direction matching the sway direction exists in the target sway data;
if so, determining whether the shaking force is within a force threshold range set according to the target playing control mode corresponding to the target shaking force in the target shaking data;
if so, determining the target playing control mode corresponding to the target shaking force matched with the shaking force as target playing data for controlling the playing of the resource information.
4. The method for controlling playback of resource information according to claim 1, wherein the determining target playback data that matches the wobble data and is used for controlling playback of the resource information includes:
acquiring a shaking angle and shaking times in the shaking data;
determining a shaking direction corresponding to the shaking angle according to the shaking angle;
determining whether a target sway direction matching the sway direction exists in the target sway data;
if yes, determining whether a target shaking frequency matched with the shaking frequency exists in the target shaking data;
and if so, determining the target playing control mode corresponding to the target shaking times matched with the shaking times as target playing data for playing control on the resource information.
5. The method for controlling playback of resource information according to claim 1, wherein said determining target playback data that matches the wobble data and is used for performing playback control on the resource information includes:
acquiring shaking angles, shaking times and shaking force in the shaking data;
determining a shaking direction corresponding to the shaking angle according to the shaking angle;
determining whether a target sway direction matching the sway direction exists in the target sway data;
if yes, determining whether a target shaking frequency matched with the shaking frequency exists in the target shaking data;
if so, determining whether the shaking force is within a force threshold range set according to the target playing control mode corresponding to the target shaking force in the target shaking data;
if so, determining the target playing control mode corresponding to the target shaking strength matched with the shaking strength as target playing data for playing control on the resource information.
6. The method for controlling resource information playing according to claim 1, wherein the obtaining shaking data generated in the unobstructed voice playing state based on the resource data service page comprises:
acquiring shaking data generated aiming at the terminal equipment based on the resource information page state output by the terminal equipment on a barrier-free resource service application platform;
alternatively, the first and second electrodes may be,
and responding to a resource information page output by the terminal equipment in a barrier-free play mode set by a resource service application platform, and acquiring the shaking data generated aiming at the terminal equipment.
7. The method for controlling resource information playing according to claim 1, wherein the obtaining shaking data generated in the unobstructed voice playing state based on the resource data service page comprises:
responding to a shaking function automatically started when a resource service application platform outputs a resource data service page when a terminal device is in an accessible voice broadcast state of the resource data service page, and acquiring shaking data generated aiming at the terminal device;
alternatively, the first and second electrodes may be,
and responding to a shaking function starting voice prompt provided when the resource service application platform outputs a resource data service page when the terminal equipment plays the resource information without obstacles, and acquiring the shaking data generated aiming at the terminal equipment.
8. A control apparatus for playing resource information, comprising:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring shaking data generated in an accessible voice playing state based on a resource data service page, and the resource data service page comprises a plurality of display units for displaying resource information;
a determining unit, configured to determine target play data that is matched with the shake data and is used for performing play control on the resource information, where the target play data includes a target play control manner corresponding to preset target shake data;
the control unit is used for adjusting the playing position of the current display unit of the resource information according to the target playing data, the resource information corresponding to the playing position of the current display unit is target resource information, and the playing control is carried out on the target resource information according to the target playing control mode; and in the process of adjusting the playing position of the current display unit, prompting the adjustment mode of the playing position of the current display unit in a voice playing mode.
9. A computer storage medium for storing network platform generated data and a program for processing the network platform generated data;
when being read and executed, performs the steps of a control method for playing back asset information according to any one of claims 1 to 7.
10. An electronic device, comprising:
a processor;
a memory for storing a program for processing network platform generated data, wherein the program, when read and executed by the processor, performs the steps of the method for controlling playing of resource information according to any one of claims 1 to 7.
CN202110270848.6A 2021-03-12 2021-03-12 Resource information playing control method and device and electronic equipment Active CN113038285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110270848.6A CN113038285B (en) 2021-03-12 2021-03-12 Resource information playing control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110270848.6A CN113038285B (en) 2021-03-12 2021-03-12 Resource information playing control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113038285A CN113038285A (en) 2021-06-25
CN113038285B true CN113038285B (en) 2022-09-06

Family

ID=76470263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110270848.6A Active CN113038285B (en) 2021-03-12 2021-03-12 Resource information playing control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113038285B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421769A (en) * 2001-11-27 2003-06-04 朱若愚 Digital phonetic broadcast method and system
CN106060612A (en) * 2016-06-29 2016-10-26 乐视控股(北京)有限公司 Video playing method and video playing device
CN111263204A (en) * 2018-11-30 2020-06-09 青岛海尔多媒体有限公司 Control method and device for multimedia playing equipment and computer storage medium
CN111367458A (en) * 2020-03-10 2020-07-03 柯旋 Barrier-free film for intelligent touch screen mobile terminal and barrier-free touch screen method
CN112351140A (en) * 2017-11-02 2021-02-09 单正建 Video playing control method and intelligent electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377209A (en) * 2012-04-20 2013-10-30 阿里巴巴集团控股有限公司 Method and terminal for browsing webpages with the help of voices
US10365800B2 (en) * 2013-12-16 2019-07-30 Samsung Electronics Co., Ltd. User interface (UI) providing apparatus and UI providing method thereof
KR102223732B1 (en) * 2014-06-26 2021-03-05 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN105355218A (en) * 2014-08-20 2016-02-24 黄小曼 Multimedia playing system apparatus independent of visual operation
CN109660659A (en) * 2018-11-27 2019-04-19 深圳卡通新技术有限公司 A kind of mobile phone operation method and system
CN111538697B (en) * 2020-04-23 2023-04-18 掌阅科技股份有限公司 Page turning processing method of electronic book, electronic equipment and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421769A (en) * 2001-11-27 2003-06-04 朱若愚 Digital phonetic broadcast method and system
CN106060612A (en) * 2016-06-29 2016-10-26 乐视控股(北京)有限公司 Video playing method and video playing device
CN112351140A (en) * 2017-11-02 2021-02-09 单正建 Video playing control method and intelligent electronic equipment
CN111263204A (en) * 2018-11-30 2020-06-09 青岛海尔多媒体有限公司 Control method and device for multimedia playing equipment and computer storage medium
CN111367458A (en) * 2020-03-10 2020-07-03 柯旋 Barrier-free film for intelligent touch screen mobile terminal and barrier-free touch screen method

Also Published As

Publication number Publication date
CN113038285A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
US9311680B2 (en) Apparatus and method for generating emotion information, and function recommendation apparatus based on emotion information
US9570091B2 (en) Music playing system and music playing method based on speech emotion recognition
US9977584B2 (en) Navigating media playback using scrollable text
WO2019085642A1 (en) Method and device for implementing do-not-disturb mode
WO2017032079A1 (en) Information browsing method and mobile terminal
WO2015099876A1 (en) Dynamically adjusted stereo for portable devices
CN113900618B (en) Information playing method and device, electronic equipment and storage medium
CN112328136A (en) Comment information display method, comment information display device, comment information display equipment and comment information storage medium
WO2020103562A1 (en) Voice processing method and apparatus
CN107797652B (en) Method, device and terminal for adjusting display effect
CN106921802B (en) Audio data playing method and device
US20170315675A1 (en) Systems and methods for determining seek positions
CN113038285B (en) Resource information playing control method and device and electronic equipment
WO2023246166A1 (en) Method and apparatus for adjusting video progress, and computer device and storage medium
CN113260972A (en) Display control method, electronic torch and storage medium
CN113034213B (en) Cartoon content display method, device, equipment and readable storage medium
CN112925458B (en) Information processing method, device, equipment and computer readable storage medium
WO2020097908A1 (en) Method and apparatus for jumping to page, and storage medium and electronic device
CN110737421A (en) processing method and device
CN106293660B (en) Information processing method and electronic equipment
US20240001227A1 (en) Content preparation devices and methods
CN111538249B (en) Control method, device, equipment and storage medium of distributed terminal
KR20200101055A (en) Method for displaying visual object regarding contents and electronic device thereof
CN113110770B (en) Control method and device
CN115633120B (en) Interaction method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant