CN111856977B - Control method and device of multimedia terminal and storage medium - Google Patents

Control method and device of multimedia terminal and storage medium Download PDF

Info

Publication number
CN111856977B
CN111856977B CN202010762197.8A CN202010762197A CN111856977B CN 111856977 B CN111856977 B CN 111856977B CN 202010762197 A CN202010762197 A CN 202010762197A CN 111856977 B CN111856977 B CN 111856977B
Authority
CN
China
Prior art keywords
control
multimedia terminal
device control
class
function
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
CN202010762197.8A
Other languages
Chinese (zh)
Other versions
CN111856977A (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.)
Chengdu Xinchao Media Group Co Ltd
Original Assignee
Chengdu Xinchao Media 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 Chengdu Xinchao Media Group Co Ltd filed Critical Chengdu Xinchao Media Group Co Ltd
Priority to CN202010762197.8A priority Critical patent/CN111856977B/en
Publication of CN111856977A publication Critical patent/CN111856977A/en
Application granted granted Critical
Publication of CN111856977B publication Critical patent/CN111856977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to the technical field of equipment control, and discloses a control method, a control device and a storage medium of a multimedia terminal, wherein the method comprises the following steps: receiving a control instruction aiming at the multimedia terminal, wherein the control instruction is an instruction used for controlling the multimedia terminal to execute a first function; based on the control handle corresponding to the multimedia terminal, calling a device control method corresponding to the control instruction from the device control class to complete the function; the control handle is determined after the device control class is initialized, the device control class also comprises a device control method which is corresponding to other multimedia terminals except the multimedia terminal and completes a second function, and the first function is the same as or different from the second function. The control method, the control device and the storage medium of the multimedia terminal can carry out unified management control on the multimedia terminals with different equipment models.

Description

Control method and device of multimedia terminal and storage medium
Technical Field
The invention relates to the technical field of equipment control, in particular to a control method and device of a multimedia terminal and a storage medium.
Background
The multimedia terminal is a novel communication terminal which can integrate various media (such as voice, characters, data, images, moving images and the like) and integrates a telephone, a telegraph, a fax machine, a television, a computer and the like.
At present, a plurality of multimedia terminal customizing manufacturers exist, and control logics of multimedia terminals with different equipment models are different due to the fact that no unified standard exists, so that when the multimedia terminals with different equipment models are managed and controlled, the equipment types need to be judged firstly, and then the multimedia terminals are controlled according to control methods provided by the manufacturers, and further the management and control of the multimedia terminals become very complicated;
therefore, how to provide an effective solution to facilitate the management control of the multimedia terminal has become an urgent problem in the prior art.
Disclosure of Invention
In order to solve the problem of complex management control of the multimedia terminal in the prior art, the invention aims to provide a control method, a control device and a storage medium of the multimedia terminal, so as to conveniently perform unified management control on the multimedia terminals with different equipment models.
In a first aspect, the present invention provides a method for controlling a multimedia terminal, including:
receiving a control instruction aiming at the multimedia terminal, wherein the control instruction is an instruction for controlling the multimedia terminal to execute a first function;
calling a device control method corresponding to the control instruction from a device control class based on a control handle corresponding to the multimedia terminal to complete the function;
the control handle is determined after the device control class is initialized, the device control class further includes a device control method for completing a second function corresponding to other multimedia terminals except the multimedia terminal, and the first function is the same as or different from the second function.
Through the design, the invention completes the function by the equipment control method corresponding to the control instruction in the slave equipment control class based on the control handle corresponding to the multimedia terminal when the control instruction aiming at the multimedia terminal is received. Therefore, the management control of the multimedia terminal can be realized only by calling the equipment control method corresponding to the control instruction in the equipment control class according to the control handle corresponding to the multimedia terminal without knowing the equipment type and the specific control method of the equipment multimedia, and the unified management and maintenance of the multimedia terminals with different equipment models are facilitated.
In one possible design, the method further includes:
determining the equipment type of the multimedia terminal;
and initializing the equipment control class according to the equipment type of the multimedia terminal to obtain the control handle.
Based on the above disclosure, the control handle can be obtained by determining the device type of the multimedia terminal and initializing the device control class according to the device type of the multimedia terminal. Therefore, when the multimedia terminal is controlled again in the following, the management control of the multimedia terminal can be realized only by calling the corresponding equipment control method according to the control handle corresponding to the multimedia terminal, and the unified management and maintenance of the multimedia terminals of different manufacturers and different equipment models are facilitated.
In one possible design, the initializing the device control class includes:
and when the multimedia terminal starts to run, initializing the equipment control class.
In one possible design, the device control classes include a device control base class and a device control subclass;
based on the control handle corresponding to the multimedia terminal, calling a device control method corresponding to the control instruction from a device control class to complete the function, wherein the method comprises the following steps:
calling a device control method corresponding to the control instruction from the device control base class or the device control subclass based on the control handle to complete the function;
wherein the device control subclass inherits the device control base class.
Based on the above disclosure, the control of the specific function of the same multimedia terminal can be completed by calling and controlling the handle to call the device control method corresponding to the control instruction from the device control base class or the device control subclass.
In one possible design, when the number of the device control classes is multiple, one device control class corresponds to one multimedia terminal;
based on the control handle corresponding to the multimedia terminal, calling a device control method corresponding to the control instruction from a device control class to complete the function, wherein the method comprises the following steps:
determining a device control class corresponding to the control handle from a plurality of device control classes;
and calling a device control method corresponding to the control instruction from a device control class corresponding to the control handle to complete the function.
In a second aspect, the present invention provides a control apparatus for a multimedia terminal, comprising:
a receiving unit, configured to receive a control instruction for the multimedia terminal, where the control instruction is an instruction for controlling the multimedia terminal to execute a first function;
a calling unit, configured to call, from a device control class, a device control method corresponding to the control instruction based on a control handle corresponding to the multimedia terminal, so as to complete the function;
the control handle is determined after the device control class is initialized, the device control class further includes a device control method for completing a second function corresponding to other multimedia terminals except the multimedia terminal, and the first function is the same as or different from the second function.
In one possible design, the control device of the multimedia terminal further includes:
a determining unit, configured to determine a device type of the multimedia terminal;
and the initialization unit is used for initializing the equipment control class according to the equipment type of the multimedia terminal to obtain the control handle.
In one possible design, when initializing the device control class, the method is specifically configured to:
and when the multimedia terminal starts to run, initializing the equipment control class.
In one possible design, the device control classes include a device control base class and a device control subclass;
the invoking unit, when configured to invoke, from a device control class, a device control method corresponding to the control instruction based on the control handle corresponding to the multimedia terminal to complete the function, is specifically configured to:
calling a device control method corresponding to the control instruction from the device control base class or the device control subclass based on the control handle to complete the function;
wherein the device control subclass inherits the device control base class.
In one possible design, when the number of the device control classes is multiple, one device control class corresponds to one multimedia terminal;
the invoking unit, when configured to invoke, from a device control class, a device control method corresponding to the control instruction based on the control handle corresponding to the multimedia terminal to complete the function, is specifically configured to:
determining a device control class corresponding to the control handle from a plurality of device control classes;
and calling a device control method corresponding to the control instruction from a device control class corresponding to the control handle to complete the function.
In a third aspect, the present invention provides a control apparatus for a multimedia terminal, comprising a memory, a processor and a transceiver, which are communicatively connected in sequence, wherein the memory is used for storing a computer program, the transceiver is used for transceiving a message, and the processor is used for reading the computer program and executing the control method for the multimedia terminal according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon instructions which, when run on a computer, perform the control method of the multimedia terminal according to the first aspect.
In a fifth aspect, the present invention provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of controlling a multimedia terminal according to the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a control method of a multimedia terminal provided by the present invention.
Fig. 2 is a schematic structural diagram of a control device of a multimedia terminal provided by the present invention.
Fig. 3 is a schematic structural diagram of a control device of another multimedia terminal provided by the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. Specific structural and functional details disclosed herein are merely illustrative of example embodiments of the invention. This invention may, however, be embodied in many alternate forms and should not be construed as limited to the embodiments set forth herein.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments of the present invention.
It should be understood that, for the term "and/or" as may appear herein, it is merely an associative relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, B exists alone, and A and B exist at the same time; for the term "/and" as may appear herein, which describes another associative object relationship, it means that two relationships may exist, e.g., a/and B, may mean: a exists independently, and A and B exist independently; in addition, for the character "/" that may appear herein, it generally means that the former and latter associated objects are in an "or" relationship.
It will be understood that when an element is referred to herein as being "connected," "connected," or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Conversely, if a unit is referred to herein as being "directly connected" or "directly coupled" to another unit, it is intended that no intervening units are present. In addition, other words used to describe the relationship between elements should be interpreted in a similar manner (e.g., "between … …" versus "directly between … …", "adjacent" versus "directly adjacent", etc.).
It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, numbers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
It should be understood that specific details are provided in the following description to facilitate a thorough understanding of example embodiments. However, it will be understood by those of ordinary skill in the art that the example embodiments may be practiced without these specific details. For example, systems may be shown in block diagrams in order not to obscure the examples in unnecessary detail. In other instances, well-known processes, structures and techniques may be shown without unnecessary detail in order to avoid obscuring example embodiments.
Examples
In order to solve the problem of complex management control of a multimedia terminal in the prior art, embodiments of the present application provide a control method, an apparatus and a storage medium for a multimedia terminal, which can very conveniently implement management control of a multimedia terminal and facilitate unified management and maintenance of multimedia terminals of different device models.
The control method of the multimedia terminal provided in the embodiments of the present application can be applied to any one of a plurality of multimedia terminals with different device models that need to be managed and controlled.
It is to be understood that the described execution body does not constitute a limitation of the embodiments of the present application.
As shown in fig. 1, which is a flowchart of a control method of a multimedia terminal provided in an embodiment of the present application, the control method of the multimedia terminal may be applied to a situation that a control handle corresponding to the multimedia terminal is known after the multimedia terminal is started and operated, and the control method of the multimedia terminal includes the following steps:
step S101: and receiving a control instruction aiming at the multimedia terminal.
The control instruction is used for controlling the multimedia terminal to execute the first function. For example, the application is not limited in this embodiment, and the application includes a timing switch, a system time setting, a screen brightness adjustment, a fan switch, and an instruction for reading corresponding functions such as firmware information.
In this embodiment of the application, the control instruction for the multimedia terminal may be sent from other terminal devices in communication connection with the multimedia terminal, may also be an instruction triggered by a user operating a control key on the multimedia terminal or a control on a touch screen of the multimedia terminal, and may also be an instruction triggered by the user through a gesture, voice, and the like, which is not specifically limited in this embodiment of the application.
Other terminal devices may be, but are not limited to, smart phones, Personal Computers (PCs), tablet computers, laptop portable computers, Personal Digital Assistants (PDAs), Mobile Internet Devices (MIDs), and the like.
Step S102: and calling a device control method corresponding to the control instruction from the device control class based on the control handle corresponding to the multimedia terminal.
In the embodiment of the application, the common functions of the multiple multimedia terminals are abstracted to form the interfaces, and the interfaces are called as device control classes according to the characteristics of the multiple multimedia terminals respectively.
In the embodiment of the present application, the implementation manner of the device control class includes, but is not limited to, the following two types:
the implementation mode is as follows:
the device control classes include a device control base class and a device control subclass.
Wherein, the base class refers to a class type defined to contain all entity commonalities in object-oriented design. Through an inheritance mechanism, an existing base class is utilized to define a new data type called as a subclass, the subclass inherits all information of the base class, and members and member functions which are not available in the base class can be added to meet the requirement of describing a new object.
In this embodiment, the device control base class includes control methods of the same function of the multimedia terminal device, for example, a plurality of multimedia terminals are A, B, C types of multimedia terminals, and the three types of multimedia terminals are respectively denoted as a multimedia terminal a, a multimedia terminal B, and a multimedia terminal C. The multimedia terminal A, the multimedia terminal B and the multimedia terminal C all have the common functions: the device control base class includes a control method for realizing the function, but the multimedia with different models also has mutually different functions, for example, the system time setting of the multimedia terminal A is different from other multimedia terminals, the screen brightness adjustment of the multimedia terminal B is different from other types of multimedia terminals, the fan switch of the multimedia terminal C is different from other types of multimedia terminals, and different device control subclasses include realization methods corresponding to the unique functions of the terminals with different models.
The object produced by the interface runtime of the multimedia terminal may be referred to as a control handle. In the embodiment of the application, the control handle is determined after initializing the device control class corresponding to the multimedia terminal when the multimedia terminal starts to run, the device control class further includes a device control method for completing a second function corresponding to other multimedia terminals except the multimedia terminal, and the first function is the same as or different from the second function. The specific process of initializing and obtaining the control handle corresponding to the multimedia terminal is described in detail in the following embodiments.
After receiving the control instruction for the multimedia terminal, the multimedia terminal can call the device control base class or the device control subclass corresponding to the control handle from the unified device management class according to the control handle so as to complete the control of the multimedia terminal.
In the embodiment of the present application, the control instruction may include control category information used for representing control categories (such as timing on/off, system time setting, screen brightness adjustment, fan switching, and reading firmware information). When the device control base class and the device control subclass are called, the device control base class and the device control subclass corresponding to the control class information may be called according to the control class information in the control instruction. The device control base class and the device control subclass corresponding to the control class information may refer to functions that can be executed by the multimedia terminal controlled by methods included in the device control base class and the device control subclass, and correspond to the control class indicated by the control class information. For example, the method included in a device control subclass can control the multimedia terminal to adjust the screen brightness, and if the control class indicated by the control class information is screen brightness adjustment, it indicates that the device control base class and the corresponding device control subclass correspond to the control class information.
Implementation mode two
The number of the equipment control classes is multiple, and each equipment control class corresponds to one multimedia terminal.
Taking the number of the device control classes as three as an example, each device control class comprises a method for realizing corresponding functions of the multimedia terminal corresponding to each device class. As an example: the device control class 1 includes a function implementation method corresponding to the multimedia terminal a, the device control class 2 includes a function implementation method corresponding to the multimedia terminal B, and the device control class 3 includes a function implementation method corresponding to the multimedia terminal C. In this way, when the control instruction is received, the device control class corresponding to the multimedia terminal is determined from the plurality of device control classes, and then the control method corresponding to the control instruction is called from the device control class corresponding to the multimedia terminal.
According to the control method of the multimedia terminal provided by the embodiment of the application, when the multimedia terminal receives the control instruction aiming at the multimedia terminal, the device control method corresponding to the control instruction is called from the device control class according to the control handle corresponding to the multimedia terminal so as to complete the function. Therefore, in the process of controlling the multimedia terminal, the management control of the multimedia terminal can be realized only by calling the equipment control method corresponding to the control instruction from the equipment control class according to the control handle corresponding to the multimedia terminal without knowing the equipment type and the specific control method of the multimedia equipment, and the unified management and maintenance of the multimedia terminals with different equipment models are facilitated.
In this embodiment of the present application, when the control instruction is a control instruction received for the first time after the multimedia terminal is started and operated, before the control instruction is executed, the device control class further needs to be initialized, specifically including the following steps:
step S201: the device type of the multimedia terminal is determined.
Before step S201 is executed, the device type of the multimedia terminal needs to be acquired first, and the manner of acquiring the device type of the multimedia terminal includes, but is not limited to, acquiring from a storage unit of the multimedia terminal, or acquiring from another electronic device connected to the multimedia terminal, or acquiring by another manner, which is not limited in the embodiment of the present application.
Step S202: and initializing the equipment control class according to the equipment type of the media terminal to obtain a control handle.
In the embodiment of the application, the device control class may be initialized by creating a singleton mode or a global static method. The following description takes the creation of a singleton schema as an example:
the code to initialize device control classes by creating a singleton pattern may be as follows:
Figure BDA0002613366610000081
the process of initializing the device control class through the singleton mode includes: judging the device type of the multimedia terminal, initializing the device control class by using the device type of the multimedia terminal, and then obtaining a corresponding control handle, which can be specifically realized by the following codes:
Figure BDA0002613366610000082
wherein, the 'MODEL' represents the device type, the 'if' (CH '. equalsIgoreCase (MODEL))' represents that the device is judged to be the 'CH', the interface corresponding to the 'CH' device is returned, and the 'else if' represents
("KJ". equalsignorecase (model)) "indicates that the judgment is a" KJ "device.
Correspondingly, after the device control class is initialized, the control handle corresponding to the multimedia terminal is obtained. In the aforementioned codes, the control handle corresponding to the multimedia terminal is "DeviceInterface". Specifically, when the device type of the multimedia terminal is determined to be "CH", a "CH" type interface, that is, a "CH" type control handle is returned, and when the device type of the multimedia terminal is determined to be "KJ", a "KJ" type interface, that is, a "KJ" type control handle is returned.
It should be noted that, the process of initializing the device control class only needs to be performed once, that is, at the time of starting the multimedia terminal, or after the multimedia terminal is started, before the control instruction is received for the first time, or before the control instruction is received for the first time and the control instruction received for the first time is executed. After the device control class is initialized, the control instruction is received subsequently, and the control method corresponding to the control instruction is called from the device control class directly according to the control handle without initializing again. The device type does not need to be judged, and the multimedia terminals of different manufacturers and different device types can be managed and controlled in a unified mode conveniently.
In a second aspect, an embodiment of the present application provides a control device of a multimedia terminal, where the control device of the multimedia terminal is applicable to a multimedia terminal, and referring to fig. 2, the control device of the multimedia terminal includes:
a receiving unit, configured to receive a control instruction for the multimedia terminal, where the control instruction is an instruction for controlling the multimedia terminal to execute a first function;
a calling unit, configured to call, from a device control class, a device control method corresponding to the control instruction based on a control handle corresponding to the multimedia terminal, so as to complete the function;
the control handle is determined after the device control class is initialized, the device control class further includes a device control method for completing a second function corresponding to other multimedia terminals except the multimedia terminal, and the first function is the same as or different from the second function.
In one possible design, the control device of the multimedia terminal further includes:
a determining unit, configured to determine a device type of the multimedia terminal;
and the initialization unit is used for initializing the equipment control class according to the equipment type of the multimedia terminal to obtain the control handle.
In one possible design, when initializing the device control class, the method is specifically configured to:
and when the multimedia terminal starts to run, initializing the equipment control class.
In one possible design, the device control classes include a device control base class and a device control subclass;
the invoking unit, when configured to invoke, from a device control class, a device control method corresponding to the control instruction based on the control handle corresponding to the multimedia terminal to complete the function, is specifically configured to:
calling a device control method corresponding to the control instruction from the device control base class or the device control subclass based on the control handle to complete the function;
wherein the device control subclass inherits the device control base class.
In one possible design, when the number of the device control classes is multiple, one device control class corresponds to one multimedia terminal;
the invoking unit, when configured to invoke, from a device control class, a device control method corresponding to the control instruction based on the control handle corresponding to the multimedia terminal to complete the function, is specifically configured to:
determining a device control class corresponding to the control handle from a plurality of device control classes;
and calling a device control method corresponding to the control instruction from a device control class corresponding to the control handle to complete the function.
For the working process, the working details, and the technical effects of the apparatus provided in the second aspect of this embodiment, reference may be made to the first aspect of this embodiment, which is not described herein again.
As shown in fig. 3, a third aspect of the embodiments of the present application provides a control apparatus of a multimedia terminal, including a memory, a processor, and a transceiver, which are sequentially connected in a communication manner, where the memory is used to store a computer program, the transceiver is used to transmit and receive a message, and the processor is used to read the computer program and execute the control method of the multimedia terminal according to the first aspect of the embodiments.
By way of specific example, the Memory may include, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Flash Memory (Flash Memory), a first-in-first-out Memory (FIFO), a first-in-last-out Memory (FILO), and/or the like; the processor may not be limited to a processor adopting an architecture processor such as a model STM32F105 series microprocessor, an arm (advanced RISC machines), an X86, or a processor of an integrated NPU (neutral-network processing unit); the transceiver may be, but is not limited to, a WiFi (wireless fidelity) wireless transceiver, a bluetooth wireless transceiver, a General Packet Radio Service (GPRS) wireless transceiver, a ZigBee protocol (ieee 802.15.4 standard-based low power local area network protocol), a 3G transceiver, a 4G transceiver, and/or a 5G transceiver, etc.
For the working process, the working details, and the technical effects of the apparatus provided in the third aspect of this embodiment, reference may be made to the first aspect of the embodiment, which is not described herein again.
A fourth aspect of the present embodiment provides a computer-readable storage medium storing instructions for implementing the method for controlling a multimedia terminal according to the first aspect of the present embodiment, that is, the computer-readable storage medium stores instructions that, when executed on a computer, perform the method for abstract management based on a multimedia terminal according to the first aspect. The computer-readable storage medium refers to a carrier for storing data, and may include, but is not limited to, floppy disks, optical disks, hard disks, flash memories, flash disks and/or Memory sticks (Memory sticks), etc., and the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
For a working process, working details, and technical effects of the computer-readable storage medium provided in the fourth aspect of this embodiment, reference may be made to the first aspect of the embodiment, which is not described herein again.
A fifth aspect of the present embodiments provides a computer program product comprising instructions which, when run on a computer, are adapted to cause the computer to perform the method of controlling a multimedia terminal according to the first aspect of the present embodiments, wherein the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus.
The embodiments described above are merely illustrative, and 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a repository code combining means to execute the methods according to the embodiments or parts of the embodiments.
The invention is not limited to the above alternative embodiments, and any other various forms of products can be obtained by anyone in the light of the present invention, but any changes in shape or structure thereof, which fall within the scope of the present invention as defined in the claims, fall within the scope of the present invention.

Claims (10)

1. A method for controlling a multimedia terminal, comprising:
receiving a control instruction aiming at the multimedia terminal, wherein the control instruction is an instruction for controlling the multimedia terminal to execute a first function;
calling a device control method corresponding to the control instruction from a device control class based on a control handle corresponding to the multimedia terminal to complete the function;
the control handle is determined after the device control class is initialized, the device control class further comprises a device control method which is corresponding to other multimedia terminals except the multimedia terminal and completes a second function, the first function is the same as or different from the second function, common functions of various multimedia terminals are abstracted to form an interface, and the interface is called as the device control class according to the characteristics of various multimedia terminals.
2. The method of claim 1, wherein the method further comprises:
determining the equipment type of the multimedia terminal;
and initializing the equipment control class according to the equipment type of the multimedia terminal to obtain the control handle.
3. The method of claim 2, wherein the initializing the device control class comprises:
and when the multimedia terminal starts to run, initializing the equipment control class.
4. The method of any of claims 1-3, wherein the device control classes include a device control base class and a device control subclass;
based on the control handle corresponding to the multimedia terminal, calling a device control method corresponding to the control instruction from a device control class to complete the function, wherein the method comprises the following steps:
calling a device control method corresponding to the control instruction from the device control base class or the device control subclass based on the control handle to complete the function;
wherein the device control subclass inherits the device control base class.
5. The method according to any of claims 1-3, wherein there are a plurality of said device control classes, one device control class corresponding to one multimedia terminal;
based on the control handle corresponding to the multimedia terminal, calling a device control method corresponding to the control instruction from a device control class to complete the function, wherein the method comprises the following steps:
determining a device control class corresponding to the control handle from a plurality of device control classes;
and calling a device control method corresponding to the control instruction from a device control class corresponding to the control handle to complete the function.
6. A control apparatus of a multimedia terminal, comprising:
a receiving unit, configured to receive a control instruction for the multimedia terminal, where the control instruction is an instruction for controlling the multimedia terminal to execute a first function;
a calling unit, configured to call, from a device control class, a device control method corresponding to the control instruction based on a control handle corresponding to the multimedia terminal, so as to complete the function;
the control handle is determined after the device control class is initialized, the device control class further comprises a device control method which is corresponding to other multimedia terminals except the multimedia terminal and completes a second function, the first function is the same as or different from the second function, common functions of various multimedia terminals are abstracted to form an interface, and the interface is called as the device control class according to the characteristics of various multimedia terminals.
7. The apparatus of claim 6, further comprising:
a determining unit, configured to determine a device type of the multimedia terminal;
and the initialization unit is used for initializing the equipment control class according to the equipment type of the multimedia terminal to obtain the control handle.
8. The apparatus as claimed in claim 7, wherein, when initializing said device control class, is specifically configured to:
and when the multimedia terminal starts to run, initializing the equipment control class.
9. A control device of a multimedia terminal, comprising a memory, a processor and a transceiver which are sequentially connected in communication, wherein the memory is used for storing a computer program, the transceiver is used for receiving and sending messages, and the processor is used for reading the computer program and executing the control method of the multimedia terminal according to any one of claims 1 to 5.
10. A computer-readable storage medium having stored thereon instructions for executing the method of controlling a multimedia terminal according to any one of claims 1 to 5 when the instructions are run on a computer.
CN202010762197.8A 2020-07-31 2020-07-31 Control method and device of multimedia terminal and storage medium Active CN111856977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010762197.8A CN111856977B (en) 2020-07-31 2020-07-31 Control method and device of multimedia terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010762197.8A CN111856977B (en) 2020-07-31 2020-07-31 Control method and device of multimedia terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111856977A CN111856977A (en) 2020-10-30
CN111856977B true CN111856977B (en) 2021-12-07

Family

ID=72954032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010762197.8A Active CN111856977B (en) 2020-07-31 2020-07-31 Control method and device of multimedia terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111856977B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176751A (en) * 2013-03-04 2013-06-26 浪潮电子信息产业股份有限公司 Unified service system under multiple storage protocols
CN104199680A (en) * 2014-08-04 2014-12-10 中国电子科技集团公司第三十研究所 Processing method supporting calling of various safety devices
CN104866303A (en) * 2015-04-09 2015-08-26 广东欧珀移动通信有限公司 Information processing method and mobile terminal
CN109478049A (en) * 2016-02-18 2019-03-15 伊诺万斯科技欧洲有限公司 Interface for being communicated between industrial automation application and industrial field bus
CN109885341A (en) * 2019-02-20 2019-06-14 无锡宝威电子有限公司 A kind of common apparatus driving model, system and application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9239666B2 (en) * 2007-09-12 2016-01-19 Citrix Systems, Inc. Methods and systems for maintaining desktop environments providing integrated access to remote and local resources

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176751A (en) * 2013-03-04 2013-06-26 浪潮电子信息产业股份有限公司 Unified service system under multiple storage protocols
CN104199680A (en) * 2014-08-04 2014-12-10 中国电子科技集团公司第三十研究所 Processing method supporting calling of various safety devices
CN104866303A (en) * 2015-04-09 2015-08-26 广东欧珀移动通信有限公司 Information processing method and mobile terminal
CN109478049A (en) * 2016-02-18 2019-03-15 伊诺万斯科技欧洲有限公司 Interface for being communicated between industrial automation application and industrial field bus
CN109885341A (en) * 2019-02-20 2019-06-14 无锡宝威电子有限公司 A kind of common apparatus driving model, system and application

Also Published As

Publication number Publication date
CN111856977A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
WO2021121052A1 (en) Multi-screen cooperation method and system, and electronic device
US9870239B2 (en) Method and device for running application program
WO2021110133A1 (en) Control operation method and electronic device
EP3142006A2 (en) Device control method and apparatus
CN116095881A (en) Multi-device cooperation method, electronic device and related products
CN111459586A (en) Remote assistance method, device, storage medium and terminal
CN105335200B (en) Method for upgrading system and device
CN114222003A (en) Service calling method, system, device, equipment and storage medium
CN111856977B (en) Control method and device of multimedia terminal and storage medium
CN112579191A (en) Component loading method, device and system
CN113805705B (en) Terminal shortcut key operation method and device
CN113253905B (en) Touch method based on multi-finger operation and intelligent terminal
CN115080099A (en) System upgrade method, apparatus, storage medium, and program product
CN110196716A (en) Graphic display method, device, electronic equipment and storage medium
CN110968383B (en) Message frame display method and device, terminal and storage medium
CN109032583B (en) Data interaction method and device
CN112306702B (en) Data sharing method and device, electronic equipment and storage medium
CN116700660B (en) Audio playing method and electronic equipment
CN201985978U (en) Multitask downloading system of mobile phone
CN101911003B (en) Information processing apparatus and program
CN117729561B (en) System upgrading method, terminal and storage medium
WO2023231818A9 (en) Application interface display method and electronic device
CN112153471B (en) Video playing control method and device and storage medium
CN117202143B (en) Connection parameter updating method, bluetooth device and readable storage medium
CN115314588B (en) Background synchronization method, device, terminal, equipment, system and storage medium

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 610000 High-tech Zone, Chengdu City, Sichuan Province, No. 99, No. 1, No. 2, No. 15, No. 1, No. 1505, No. 1, No. 1, No. 1, No. 1, No. 1, No. 1, No. 1, No. 1, No. 1, No

Patentee after: CHENGDU XINCHAO MEDIA GROUP CO.,LTD.

Address before: 610000 High-tech Zone, Chengdu City, Sichuan Province, No. 99, No. 1, No. 2, No. 15, No. 1, No. 1505, No. 1, No. 1, No. 1, No. 1, No. 1, No. 1, No. 1, No. 1, No. 1, No

Patentee before: CHENGDU XINCHAO MEDIA GROUP Co.,Ltd.