CN111200744B - Multimedia playing control method and device and intelligent equipment - Google Patents

Multimedia playing control method and device and intelligent equipment Download PDF

Info

Publication number
CN111200744B
CN111200744B CN201811375965.3A CN201811375965A CN111200744B CN 111200744 B CN111200744 B CN 111200744B CN 201811375965 A CN201811375965 A CN 201811375965A CN 111200744 B CN111200744 B CN 111200744B
Authority
CN
China
Prior art keywords
playing
interface
party application
control
callback
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
CN201811375965.3A
Other languages
Chinese (zh)
Other versions
CN111200744A (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.)
TCL Technology Group Co Ltd
Original Assignee
TCL Technology Group 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 TCL Technology Group Co Ltd filed Critical TCL Technology Group Co Ltd
Priority to CN201811375965.3A priority Critical patent/CN111200744B/en
Publication of CN111200744A publication Critical patent/CN111200744A/en
Application granted granted Critical
Publication of CN111200744B publication Critical patent/CN111200744B/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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play

Abstract

A multimedia playing control method comprises the following steps: when monitoring that a system installs a third-party application, analyzing the third-party application to acquire an interface of the third-party application; if the third-party application system player calls, adding a callback function for monitoring playing control in a playing interface of a third-party application program; and when a playing control instruction of the voice control application is monitored, calculating a playing control time point through the callback function, and calling a preset callback interface of the system player to control the system player to play multimedia. The third-party application can effectively respond to the voice control instruction, and the user experience is improved.

Description

Multimedia playing control method and device and intelligent equipment
Technical Field
The application belongs to the field of multimedia, and particularly relates to a multimedia playing control method, a multimedia playing control device and intelligent equipment.
Background
In order to improve the convenience of the operation of the intelligent system, the current intelligent device generally installs a voice control application, parses a voice control instruction sent by a user through the voice control application, and sends the control instruction to a multimedia application program, for example, after the voice control application parses the voice content of the user, the voice control application sends a fast forward instruction and a fast forward ten-minute instruction to a video player, so that the video player executes the fast forward instruction or fast forward ten-minute instruction.
When the video application of the third party is installed in the intelligent system, the voice control application in the intelligent system is not adapted to the newly installed video application of the third party in advance, so that when the video application of the third party is installed in the system, a user may be subjected to voice control, the video playing software does not respond, and the user experience is poor.
Disclosure of Invention
In view of this, embodiments of the present application provide a multimedia playing control method, an apparatus, and an intelligent device, so as to solve the problem in the prior art that when a third-party video application is installed in a system, a user may perform voice control, and a video playing software does not respond, so that user experience is poor.
A first aspect of an embodiment of the present application provides a multimedia playing control method, where the multimedia playing control method includes:
when monitoring that a system installs a third-party application, analyzing the third-party application to acquire an interface of the third-party application;
judging whether the analyzed interface of the third-party application has a playing interface or not;
if a playing interface exists, adding a callback function for monitoring playing control on the playing interface;
and when a playing control instruction is monitored, calculating a playing control time point through the callback function, and calling a preset callback interface of the system player to control the system player to play the multimedia.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes a step of setting a callback interface of the system player, where the step includes:
adding a playing control interface and a member object of the playing control interface in a system player;
adding a monitoring function for playing control in the system player;
and adding a processing function for playing the control scene in the message processing function of the system player.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the step of setting a callback interface of a system player further includes:
and adding a release function for destroying the member object of the callback interface and releasing the memory when the third-party application exits.
With reference to the first aspect, in a third possible implementation manner of the first aspect, when a play control instruction of a speech control application is monitored, the step of calculating, by the callback function, a time point of play control includes:
receiving a voice control instruction, and acquiring parameters of the voice control instruction;
if the voice control instruction carries a displacement value, determining a playing time point according to the current playing progress and the displacement value;
and if the voice control instruction does not carry a displacement value, determining a playing time point according to the default control displacement value and the current playing progress.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the step of when the system is monitored to be installing a third-party application includes:
acquiring a source code storage position of an application program installation component in a system;
and setting a window generating function in the application program installation component according to the source code storage position, wherein the window generating function is used for monitoring whether a third-party application is installed in the system.
With reference to the first aspect, in a fifth possible implementation manner of the first aspect, the parsing the third-party application to obtain an interface of the third-party application includes:
acquiring an installation file of a third-party application program, and analyzing interface Activity included in the installation file;
acquiring a resource file corresponding to the installation file of the third-party application program through a disassembling tool, and searching the resource file comprising the interface name;
and if the searched resource file comprises a preset system player name, the interface of the third-party application has a playing interface.
With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the step of obtaining the installation file of the third-party application includes:
in the starting process of the system, starting application program management service;
and scanning a preset system directory through the application program management service to obtain an installation file of the third-party application program.
A second aspect of an embodiment of the present application provides a multimedia playback control apparatus, including:
the monitoring and analyzing unit is used for analyzing the third-party application to acquire an interface of the third-party application when the system is monitored to be installed with the third-party application;
the playing interface judging unit is used for judging whether the interface of the third-party application obtained by analysis has a playing interface;
a callback function adding unit, if a playing interface exists, adding a callback function for monitoring playing control on the playing interface;
and the playing unit is used for calculating a playing control time point through the callback function and calling a preset callback interface of the system player to control the system player to play the multimedia when a playing control instruction is monitored.
A third aspect of the embodiments of the present application provides an intelligent device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the multimedia playback control method according to any one of the first aspect when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the multimedia playback control method according to any one of the first aspect
Compared with the prior art, the embodiment of the application has the advantages that: the method comprises the steps of setting a callback interface in a system player, analyzing a third-party application to obtain an interface of the third-party application when the third-party application installed in a system is monitored, judging whether the installed third-party application has a playing interface or not, if the playing interface exists, adding a callback function for monitoring playing control in the playing interface, calculating a playing control time point through the callback function when a playing instruction is monitored, and calling the preset callback interface of the system player to control the system player to play multimedia, so that the third-party application can effectively respond to a voice control instruction, and the improvement of user experience is facilitated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating an implementation process of a multimedia playing control method according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation process for determining whether a third-party application is called by a system player according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of calculating a time point of play control according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a multimedia playback control apparatus according to an embodiment of the present application;
fig. 5 is a schematic diagram of an intelligent device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Fig. 1 is a schematic view of an implementation flow of a multimedia playing control method provided in an embodiment of the present application, which is detailed as follows:
in step S101, when it is monitored that a third-party application is installed in a system, analyzing the third-party application to obtain an interface of the third-party application;
specifically, the system may be an Android system or other system with a third-party application and a voice control application of the system that is not adapted to the Android system, and for convenience of description, the Android system is described below. The multimedia player can be a video player, an audio player and the like.
The application installation mode based on the Android system or platform can be divided into two modes, one mode is bounded surface installation, and the other mode is unbounded surface installation. The installation with the interface is that a user can see the installation application interface popped up by the system through operation in actual use, and the installation without the interface is that a developer performs installation through commands. The embodiment of the application mainly aims at the fact that a user uses an interface to install third-party application, namely a first installation mode. The method for installing the application program installation component in the Android system comprises the following steps that an interface installation mode is an interface of the application program installation component in the Android system, the application program installation component package installeractivity can be modified by acquiring the storage position of the application program installation component package installeractivity, and a function onCreate is generated in a window in the application program installation component package installeractivity and is used for monitoring whether a user installs a third-party application.
Of course, whether the application is installed or not can also be detected through the identification of the installation of other applications.
In step S102, determining whether a playing interface exists in the interface of the third-party application obtained by the analysis;
as shown in fig. 2, the step of analyzing and determining whether a playing interface exists in the interface of the third-party application includes:
in step S201, an installation file of a third-party application is obtained, and an interface Activity included in the installation file is analyzed;
in the starting process of the Android system, an application management service PackageManagerservice is started, and the service is responsible for scanning a specific directory in the system, finding out application files in the system, namely files taking apk as suffix, analyzing the files to obtain related information of the application, and storing the related information in member variables of the application. The related information may include interface Activity included in the application file.
In step S202, a resource file corresponding to the installation file of the third-party application is obtained through a disassembling tool, and a resource file including an interface Activity name is searched for;
the application based on the Android system is to play videos by calling an Android player (MediaPlayer), and the played videos are hosted in a playing interface, that is, there is a related call of a player (MediaPlayer) interface in the playing interface.
Through the disassembling tool, the decompiling smali code of the Android application program can be obtained, the apktool tool can be adopted in the application, and resource files such as the decompiling smali code, the picture, the XML configuration file and the like of the application program are obtained through the decompiling application program installation package apk. After the apk file is decompiled by using Apktool, a decompiled smali folder is generated under a decompiled engineering directory, all decompiled smali files are stored in the decompiled smali folder, the files can generate corresponding directories according to the hierarchical structure of the program package, and all classes in the program can generate independent smali files under the corresponding directories. For convenience of description, the following are exemplified:
assuming that an interface Activity name is com.sunxz.test.mainActivlty, com \ sunxz \ test \ directory structures are sequentially generated under a smali directory, and then a mainActivlty.smali file is generated under the directory.
In step S203, if the searched resource file includes a preset system player name, a playing interface exists in the interface of the third-party application.
If the searched resource file includes a preset system player name, for example, a keyword of a system video player name in the android platform, which is "MediaPlayer", it is determined that the interface is a playing interface, and the third party applies system player call.
In step S103, if there is a play interface, adding a callback function for monitoring play control to the play interface;
if the third-party application system player calls, a callback function for monitoring the playing control is added to a playing interface of the third-party application program, the playing control instruction of the voice control application can be monitored through the callback function, and the instruction is analyzed and calculated.
And a callback interface corresponding to the callback function is preset in the system. The step of presetting the callback interface of the callback function in the system may include:
a, adding a play control interface and a member object of the play control interface in a system player;
the play control interface may be a fast forward interface, a fast backward interface, etc., when the play control interface is a fast forward interface, the callback function may respond to how long a player fast forwards and fast forwards, the callback function may include two parameters, one parameter is the system player object itself, and the second parameter may be a displacement value of a command such as fast forward or fast backward, etc.
B, adding a monitoring function for playing control in the system player;
c, adding a processing function for playing control scenes in the message processing function of the system player;
or, the system further comprises a release function D used for destroying the member object of the callback interface and releasing the memory when the plurality of third-party applications exit, and used for destroying the play control interface and releasing the memory when the video-class play application exits.
In step S104, when a play control instruction is monitored, a play control time point is calculated through the callback function, and a preset callback interface of the system player is called to control the system player to play multimedia.
In this embodiment, the playing control instruction may be a voice control playing instruction, a gesture playing control instruction, a lip language control playing instruction, and the like, and in this embodiment, the playing control instruction is preferably a voice control playing instruction. In the following embodiments, the playback control command is preferably a voice control playback command.
When calling back a function to a play control instruction of the voice control application, the step of calculating a time point of the control may be as shown in fig. 3, including:
in step S301, a voice control instruction is received, and a parameter of the voice control instruction is acquired;
the parameters of the voice control instruction can include two conditions, namely that the voice control instruction does not carry displacement data and carries displacement values, and different calculation modes are adopted according to whether the voice control instruction carries the displacement values or not.
In step S302, if the voice control instruction carries a displacement value, determining a playing time point according to the current playing progress and the displacement value;
for example, when the voice control command is a fast forward command, the current playing progress can be obtained through the interface getCurrentPosition () of the parameter MediaPlayer mp object, and the playing time point can be obtained by summing the current playing progress and the displacement value, so as to realize fast forward of specific time.
In step S303, if the voice control instruction does not carry a displacement value, a play time point is determined according to a default control displacement value and a current play progress.
Default control displacement values and the current playing progress can be set, the playing time point is determined, and the fast-forward default time is realized.
The callback interface is set in the system player, when the third-party application installed in the system is monitored, whether the installed third-party application is called by the system player or not is judged, if the third-party application is called by the system player, a callback function for monitoring play control is added in a third-party application program, when a play instruction of the third voice control application is monitored, the time point of the play control is calculated through the callback function, the preset callback interface of the system player is called to control the system player to play multimedia, so that the third-party application can effectively respond to the voice control instruction, and the improvement of user experience is facilitated.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 4 is a schematic structural diagram of a multimedia playback control apparatus according to an embodiment of the present application, which is detailed as follows:
the multimedia play control device includes:
the monitoring and analyzing unit 401 is configured to, when it is monitored that a third-party application is installed in the system, analyze the third-party application to obtain an interface of the third-party application;
a playing interface determining unit 402, configured to determine whether a playing interface exists in the interface of the third-party application obtained through analysis;
a callback function adding unit 403, if there is a playing interface, adding a callback function for monitoring playing control on the playing interface;
and the playing unit 404 is configured to calculate a playing control time point through the callback function when a playing control instruction of the voice control application is monitored, and call a preset callback interface of the system player to control the system player to play the multimedia.
Preferably, the apparatus further includes an interface setting unit for setting a callback interface of the system player, including:
the first setting subunit is used for adding a playing control interface and a member object of the playing control interface in a system player;
a second setting subunit, configured to add a monitoring function for play control to the system player;
a third setting subunit, configured to add a processing function for playing a control scene to the message processing function of the system player;
or, the system further comprises a third setting subunit, configured to add a release function for destroying the member object of the callback interface and releasing the memory when the third-party application exits.
Preferably, the play unit includes:
the parameter acquisition subunit is used for receiving a voice control instruction and acquiring the parameter of the voice control instruction;
a first play time point determining subunit, configured to determine, if the voice control instruction carries a displacement value, a play time point according to the current play progress and the displacement value;
and the second playing time point obtaining subunit is used for determining a playing time point according to the default control displacement value and the current playing progress if the voice control instruction does not carry a displacement value.
The multimedia playback control apparatus shown in fig. 4 corresponds to the multimedia playback control method shown in fig. 1.
Fig. 5 is a schematic diagram of an intelligent device provided in an embodiment of the present application. As shown in fig. 5, the smart device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52, such as a multimedia playback control program, stored in said memory 51 and executable on said processor 50. The processor 50 executes the computer program 52 to implement the steps in the above-mentioned embodiments of the multimedia playing control method, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of each module/unit in the above-mentioned device embodiments, for example, the functions of the modules 401 to 403 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units, which are stored in the memory 51 and executed by the processor 50 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the smart device 5. For example, the computer program 52 may be divided into a listening and analyzing unit, a callback function adding unit, and a playing unit, where the specific functions of each unit are as follows:
the monitoring and analyzing unit is used for analyzing the third-party application to acquire an interface of the third-party application when the system is monitored to be installed with the third-party application;
the callback function adding unit is used for adding a callback function for monitoring playing control on a playing interface of a third-party application program if the third-party application system player calls the callback function;
and the playing unit is used for calculating the time point of playing control through the callback function and calling a preset callback interface of the system player to control the system player to play multimedia when a playing control instruction of the voice control application is monitored.
The intelligent device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The smart device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a smart device 5 and does not constitute a limitation of the smart device 5 and may include more or fewer components than shown, or some components in combination, or different components, for example the smart device may also include input output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the intelligent device 5, such as a hard disk or a memory of the intelligent device 5. The memory 51 may also be an external storage device of the Smart device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the Smart device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the smart device 5. The memory 51 is used for storing the computer program and other programs and data required by the smart device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A multimedia playing control method is characterized by comprising the following steps:
when monitoring that a system installs a third-party application, analyzing the third-party application to acquire an interface of the third-party application;
judging whether the analyzed interface of the third-party application has a playing interface or not;
if a playing interface exists, adding a callback function for monitoring playing control on the playing interface;
and when a playing control instruction is monitored, calculating a playing control time point through the callback function, and calling a preset callback interface of the system player to control the system player to play the multimedia.
2. The multimedia playback control method of claim 1, wherein the playback control command is a voice playback control command.
3. The method for controlling multimedia playing of claim 1, further comprising the step of setting a callback interface of a system player, comprising:
adding a playing control interface and a member object of the playing control interface in a system player;
adding a monitoring function for playing control in the system player;
and adding a processing function for playing the control scene in the message processing function of the system player.
4. The method of claim 3, wherein the step of setting the callback interface of the system player further comprises:
and adding a release function for destroying the member object of the callback interface and releasing the memory when the third-party application exits.
5. The method according to claim 2, wherein the step of calculating a time point of play control through the callback function when a play control command is monitored comprises:
receiving a voice control instruction, and acquiring parameters of the voice control instruction;
if the voice control instruction carries a displacement value, determining a playing time point according to the current playing progress and the displacement value;
and if the voice control instruction does not carry a displacement value, determining a playing time point according to the default control displacement value and the current playing progress.
6. The method of claim 1, wherein the step of monitoring that the system is installing a third-party application comprises:
acquiring a source code storage position of an application program installation component in a system;
and setting a window generating function in the application program installation component according to the source code storage position, wherein the window generating function is used for monitoring whether a third-party application is installed in the system.
7. The method according to claim 1, wherein the step of determining whether the analyzed interface of the third-party application has a playing interface comprises:
acquiring an installation file of a third-party application program, and analyzing an interface included in the installation file;
acquiring a resource file corresponding to the installation file of the third-party application program through a disassembling tool, and searching the resource file comprising the interface name;
and if the searched resource file comprises a preset system player name, the interface of the third-party application has a playing interface.
8. The method according to claim 7, wherein the step of obtaining the installation file of the third-party application comprises:
in the starting process of the system, starting application program management service;
and scanning a preset system directory through the application program management service to obtain an installation file of the third-party application program.
9. An intelligent device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the steps of the multimedia playback control method according to any of claims 1 to 8 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the multimedia playback control method according to any one of claims 1 to 8.
CN201811375965.3A 2018-11-19 2018-11-19 Multimedia playing control method and device and intelligent equipment Active CN111200744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811375965.3A CN111200744B (en) 2018-11-19 2018-11-19 Multimedia playing control method and device and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811375965.3A CN111200744B (en) 2018-11-19 2018-11-19 Multimedia playing control method and device and intelligent equipment

Publications (2)

Publication Number Publication Date
CN111200744A CN111200744A (en) 2020-05-26
CN111200744B true CN111200744B (en) 2021-05-25

Family

ID=70745963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811375965.3A Active CN111200744B (en) 2018-11-19 2018-11-19 Multimedia playing control method and device and intelligent equipment

Country Status (1)

Country Link
CN (1) CN111200744B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702647B (en) * 2020-12-24 2023-05-02 深圳市酷开网络科技股份有限公司 Play control method, intelligent television and computer readable storage medium
CN113380242A (en) * 2021-05-26 2021-09-10 广州朗国电子科技有限公司 Method and system for controlling multimedia playing content through voice
CN115543649B (en) * 2022-08-31 2023-11-03 荣耀终端有限公司 Data acquisition method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929385A (en) * 2012-09-05 2013-02-13 四川长虹电器股份有限公司 Method for controlling application program by voice
CN103914321A (en) * 2013-01-05 2014-07-09 腾讯科技(深圳)有限公司 Method for invoking message processing capacity of system and mobile terminal
CN104122979A (en) * 2013-04-25 2014-10-29 深圳市快播科技有限公司 Method and device for control over large screen through voice
CN105161106A (en) * 2015-08-20 2015-12-16 深圳Tcl数字技术有限公司 Voice control method of intelligent terminal, voice control device and television system
CN106790276A (en) * 2017-02-20 2017-05-31 山东威尔数据股份有限公司 A kind of browser-cross data interactive method and device based on browser protocol
CN107112015A (en) * 2014-12-30 2017-08-29 微软技术许可有限责任公司 It was found that third party enables the ability of the resource of voice

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2999346C (en) * 2015-10-02 2018-10-23 Screen Jumper Apparatus and method for event triggering from audio content digital id

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929385A (en) * 2012-09-05 2013-02-13 四川长虹电器股份有限公司 Method for controlling application program by voice
CN103914321A (en) * 2013-01-05 2014-07-09 腾讯科技(深圳)有限公司 Method for invoking message processing capacity of system and mobile terminal
CN104122979A (en) * 2013-04-25 2014-10-29 深圳市快播科技有限公司 Method and device for control over large screen through voice
CN107112015A (en) * 2014-12-30 2017-08-29 微软技术许可有限责任公司 It was found that third party enables the ability of the resource of voice
CN105161106A (en) * 2015-08-20 2015-12-16 深圳Tcl数字技术有限公司 Voice control method of intelligent terminal, voice control device and television system
CN106790276A (en) * 2017-02-20 2017-05-31 山东威尔数据股份有限公司 A kind of browser-cross data interactive method and device based on browser protocol

Also Published As

Publication number Publication date
CN111200744A (en) 2020-05-26

Similar Documents

Publication Publication Date Title
CN108717393B (en) Application program testing method and mobile terminal
CN107832100B (en) APK plug-in loading method and terminal thereof
CN111200744B (en) Multimedia playing control method and device and intelligent equipment
US10176327B2 (en) Method and device for preventing application in an operating system from being uninstalled
CN110543327B (en) Service component multiplexing method, device, computer equipment and storage medium
CN108874426B (en) Application program updating method and device and readable storage medium
CN109976787B (en) Application program upgrading method and device, terminal and computer readable storage medium
CN111367516B (en) Application interface generation method and device and electronic equipment
CN107844306B (en) Application program repairing method and device, storage medium and terminal
CN110727581A (en) Collapse positioning method and electronic equipment
CN109032685B (en) Method and terminal for accelerating startup of android system
CN112331202A (en) Voice screen projection method and device, electronic equipment and computer readable storage medium
CN111243580B (en) Voice control method, device and computer readable storage medium
CN108509228B (en) Page loading method, terminal equipment and computer readable storage medium
CN112306826A (en) Method and apparatus for processing information for terminal
CN111382017A (en) Fault query method, device, server and storage medium
CN111385661A (en) Method and terminal for controlling full-screen playing through voice
CN115691591A (en) Recording method and device, electronic equipment and storage medium
AU2013206622B2 (en) Download management method and device based on Android browser
CN114816482A (en) Method and device for upgrading block storage service, computer equipment and storage medium
CN108650544B (en) Media playing method, device and system
CN110309000B (en) Application update prompting method and terminal equipment
CN111026466A (en) File processing method and device, computer readable storage medium and electronic equipment
CN111078155B (en) Video file reading method, device, equipment and medium
US11431349B2 (en) Method, electronic device and computer program product for processing data

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
CB02 Change of applicant information

Address after: 516006 TCL technology building, No.17, Huifeng Third Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province

Applicant after: TCL Technology Group Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District

Applicant before: TCL RESEARCH AMERICA Inc.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant