CN110377256B - Multimedia file delivery method and device, storage medium and electronic device - Google Patents

Multimedia file delivery method and device, storage medium and electronic device Download PDF

Info

Publication number
CN110377256B
CN110377256B CN201910641737.4A CN201910641737A CN110377256B CN 110377256 B CN110377256 B CN 110377256B CN 201910641737 A CN201910641737 A CN 201910641737A CN 110377256 B CN110377256 B CN 110377256B
Authority
CN
China
Prior art keywords
multimedia
data packet
instruction
module
power
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
CN201910641737.4A
Other languages
Chinese (zh)
Other versions
CN110377256A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201910641737.4A priority Critical patent/CN110377256B/en
Publication of CN110377256A publication Critical patent/CN110377256A/en
Application granted granted Critical
Publication of CN110377256B publication Critical patent/CN110377256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a multimedia file delivery method and device, a storage medium and an electronic device, wherein the method comprises the following steps: when the multimedia playing equipment is in a power-off state, monitoring whether a data packet sent by a communication module is received, wherein the communication module comprises a wired communication module and/or a wireless communication module; when a data packet sent by a communication module is received, whether the data packet contains a multimedia delivery protocol or not is analyzed; and when the data packet contains the multimedia delivery protocol, starting the multimedia delivery equipment to deliver the multimedia file in the data packet. The problems of complex screen projection operation flow, poor universality and poor convenience in the related technology are solved.

Description

Multimedia file delivery method and device, storage medium and electronic device
Technical Field
The invention relates to the technical field of audio and video and communication, in particular to a multimedia file delivery method and device, a storage medium and an electronic device.
Background
At present, wireless screen projection display is increasingly used in places such as families, business meetings, video monitoring and the like, and the use of wireless screen projection is generally divided into three types: 1. network link push playing, 2, audio and video media file push playing, and 3, picture mirror image playing (on screen).
In the related art, the display device is generally turned on through an intermediate operation (physical or touch key operation, remote control operation, mobile APP remote control operation, etc.), and then a source end (such as a smart phone, a PC, a tablet) is used to initiate wireless screen projection display. The above operation process may need to search for a remote controller, or operate two remote controllers of a television and a set-top box to turn on the device, or need to ascend to turn on the intelligent projection device on the top of the conference room, or need to have a step of turning on the device and wait for the display device to turn on and the advertisement to be played). Therefore, the process is complicated.
Aiming at the problem that the screen projection operation process is complicated in the related technology, no reasonable solution exists at present.
Disclosure of Invention
The embodiment of the invention provides a multimedia file delivery method and device, a storage medium and an electronic device, and aims to at least solve the problems of complex screen delivery operation process, and poor universality and convenience in the related technology.
According to an embodiment of the present invention, a method for delivering a multimedia file is provided, including: when the multimedia playing device is in a power-off state, monitoring whether a data packet sent by a communication module is received; when a data packet sent by the communication module is received, analyzing whether the data packet contains a multimedia delivery protocol or not; and when the data packet comprises the multimedia delivery protocol, starting the multimedia delivery device to deliver the multimedia file in the data packet.
Optionally, the starting of the multimedia delivery device to deliver the multimedia file in the data packet includes: sending a power-on instruction to a power module or instructing a main chip to send the power-on instruction to the power module, wherein the power-on instruction is used for instructing the whole multimedia delivery device to be powered on; and sending a release instruction to the main chip, wherein the release instruction is used for indicating the main chip to start the multimedia release device and directly releasing the multimedia files in the data packet by skipping a preset startup picture.
Optionally, after sending the release instruction to the master chip, the method further includes: entering a sleep mode and waiting to be awakened by the main chip; or continuously monitoring whether the data packet sent by the communication module is received.
Optionally, after entering the sleep mode, the method further comprises: and receiving a wake-up instruction sent by the main chip, wherein the wake-up instruction is sent by the main chip when the putting of the multimedia file is finished, and the wake-up instruction is used for indicating whether a data packet sent by the communication module is received or not in monitoring.
According to an embodiment of the present invention, there is also provided a method for delivering a multimedia file, including: when the multimedia playing device is in a power-off state, receiving a releasing instruction from a monitoring module, wherein the releasing instruction is used for indicating that a data packet containing a multimedia releasing protocol is received; and starting the multimedia delivery equipment to deliver the multimedia files in the data packet according to the delivery instruction.
Optionally, the starting, according to the delivery instruction, the multimedia delivery device to deliver the multimedia file in the data packet includes: sending a power-on instruction to a power module, wherein the power-on instruction is used for instructing the whole multimedia delivery device to be powered on; and after the multimedia delivery equipment is started, skipping a preset startup picture to directly deliver the multimedia files in the data packet.
Optionally, after the multimedia delivery device is started to deliver the multimedia file in the data package according to the delivery instruction, the method further includes: and after the multimedia file is played, sending a wake-up instruction to the monitoring module, wherein the wake-up instruction is used for indicating whether the monitoring module monitors to receive a data packet containing a multimedia delivery protocol.
According to an embodiment of the present invention, there is also provided a multimedia file delivery apparatus, including: the monitoring module is used for monitoring whether a data packet sent by the communication module is received or not when the multimedia playing device is in a power-off state; the analysis module is used for analyzing whether the data packet contains a multimedia delivery protocol or not when the data packet sent by the communication module is received; and the first starting module is used for starting a multimedia delivery device to deliver the multimedia files in the data packet when the data packet comprises the multimedia delivery protocol.
According to an embodiment of the present invention, there is also provided a multimedia file delivery apparatus, including: the multimedia playing device comprises a receiving module, a monitoring module and a sending module, wherein the receiving module is used for receiving a releasing instruction from the monitoring module when the multimedia playing device is in a power-off state, and the releasing instruction is used for indicating that a data packet containing a multimedia releasing protocol is received; and the second starting module is used for starting the multimedia delivery equipment according to the delivery instruction and delivering the multimedia files in the data packet.
According to an embodiment of the present invention, there is also provided a multimedia playback device including: the communication module is used for sending a data packet when the multimedia playing equipment is in a power-off state; the screen projecting protocol pre-analysis module is used for receiving the data packet sent by the communication module and analyzing whether the data packet contains a multimedia projecting protocol or not; and the main chip is used for starting a multimedia delivery device to deliver the multimedia files in the data packet when the data packet contains the multimedia delivery protocol.
Optionally, the screen-casting protocol pre-parsing module is further configured to: sending a power-on instruction to a power module or instructing a main chip to send the power-on instruction to the power module, wherein the power-on instruction is used for instructing the whole multimedia delivery device to be powered on; and sending a release instruction to the main chip, wherein the release instruction is used for indicating the main chip to start the multimedia release device and directly releasing the multimedia files in the data packet by skipping a preset startup picture.
Optionally, the screen-casting protocol pre-parsing module is further configured to: after sending the putting instruction to the main chip, entering a sleep mode; and receiving a wake-up instruction sent by the main chip, wherein the wake-up instruction is sent by the main chip when the putting of the multimedia file is finished, and the wake-up instruction is used for indicating whether a data packet sent by the communication module is received or not in monitoring.
According to another embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
By the embodiment of the invention, the device keeps monitoring with low power consumption after power is off, so that a source end (a smart phone, a PC (personal computer) and the like) can be connected to the network terminal node at any time, a WIFI (wireless fidelity) packet is analyzed, and whether the command is an initiating command of a screen-throwing protocol is confirmed; the whole display equipment is controlled to be powered on and started, the problem that the screen projection operation process in the related technology is complex is solved, the screen can be projected and opened immediately, and the screen projection program and speed are greatly optimized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram illustrating a process of booting and screen projecting of a display device in the prior art;
fig. 2 is a block diagram of a hardware structure of a mobile terminal of a multimedia file delivery method according to an embodiment of the present invention;
fig. 3 is a flowchart of an alternative multimedia file delivery method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a smart display device according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a screen-projection start-up of a smart display device according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a screen-on shutdown process of an intelligent display device according to an embodiment of the present invention;
fig. 7 is a flowchart of an alternative multimedia file delivery method according to an embodiment of the present invention;
FIG. 8 is a simplified screen-casting fast-start flowchart of an embodiment of the present invention;
fig. 9 is a block diagram of an alternative multimedia file delivery apparatus according to an embodiment of the present invention;
fig. 10 is a block diagram of an alternative multimedia file delivery apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In order to support wireless screen projection, the current source devices such as smart phones and PCs, relay devices such as routers, and display devices such as displays, televisions, projectors, and small-pitch LED screens are mostly used: DLNA, miracast, airplay and other manufacturers' similar wireless screen projection protocols, the protocol profiles are shown in the following table.
Figure BDA0002132121320000051
Currently, there is no known technology for supporting a "screen-casting fast-start" display device, and generally, the display device is turned on first through an intermediate operation (physical or touch key operation, remote control operation, mobile phone APP remote control operation, etc.), and then a source end (such as a smart phone, a PC, a tablet) is used to initiate a wireless screen-casting display.
Several prior art application scenarios are briefly described below.
Scene one: when a smart television user wants to screen a mobile phone Youkou client movie, the user needs to find a remote controller or use a mobile phone screen control APP, remotely control to start a television, play television advertisements (about 20-30 seconds are different at present), start screen projection operation, select a WIFI node screen projection target, and display pictures.
Scene two: when a meeting is about to be opened in a conference room, a host needs to find a remote controller to start a projector or a television (sometimes the physical starting button of projection equipment installed at the top needs to be directly operated), waits for starting, starts screen projection operation, selects a WIFI node to project a screen target, and displays a picture.
Summarizing the above two application scenarios, the conventional screen projection operation flow is shown in fig. 1. Fig. 1 is a schematic diagram illustrating a process of starting up and projecting a screen of a display device in the prior art, and the above fig. 1 and the prior screen projection experience can be used to summarize the following disadvantages of the prior art:
1. the operation process is complicated (for example, sometimes a remote controller needs to be found everywhere, or a television and a set-top box need to be operated to start the device, sometimes a user needs to ascend to start the intelligent projection device on the top of the conference room, and the user needs to have the step of starting the device and wait for the display device to be started and the advertisement to be played).
2. The universality and the convenience are poor (for example, the current popular mobile phone needs to be provided with the screen control APP to control the display device, the mobile phone is generally suitable for being used in families and is not suitable for public occasions such as business occasions, for example, a large public meeting room of a certain company, and speakers different in different meetings need to be provided with the screen control APP to operate the display device by using a smart phone or a PC notebook computer, which is unrealistic).
3. When the display device is in a shutdown state or a standby state, a WIFI module of the display device is in a power-off state daily, so that a WIFI node cannot be found and timely connected by a route and a source end.
4. The power-on process of the display device is slow (for example, logo display, more boot applications of the smart television are loaded, and long-time advertisement insertion exists).
However, in the current society, people are already in smart application environments such as smart homes, internet of things devices, and the like, user experience is an important index, and some steps in the current traditional operation modes can be omitted or further optimized: for example, "the display device is started by physical operation" and "the display device is waited for normal operation" in the screen projection operation process. The problem to be solved by the embodiment of the present invention is: the traditional screen projection operation link is reduced, and the screen projection and starting processes are optimized.
A solution of screen-casting quick start is provided, an operation concept of 'casting immediately and opening immediately' is provided, and the scheme can better improve the operation experience of users such as family screen casting, business meeting screen casting and the like.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the mobile terminal as an example, fig. 2 is a block diagram of a hardware structure of the mobile terminal of a method for delivering a multimedia file according to an embodiment of the present invention. As shown in fig. 2, the mobile terminal 10 may include one or more (only one shown in fig. 2) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those of ordinary skill in the art that the structure shown in fig. 2 is only an illustration and is not intended to limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 2, or have a different configuration than shown in FIG. 2.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the method for obtaining scheduled throughput in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The embodiment of the invention provides a multimedia file delivery method. Fig. 3 is a flowchart of an optional multimedia file delivery method according to an embodiment of the present invention, and as shown in fig. 3, the method includes:
step S301, when the multimedia playing device is in a power-off state, monitoring whether a data packet sent by a communication module is received;
step S303, when a data packet sent by the communication module is received, whether the data packet contains a multimedia delivery protocol or not is analyzed;
step S305, when the data packet contains the multimedia delivery protocol, the multimedia delivery device is started to deliver the multimedia file in the data packet.
By the method, when the multimedia playing equipment is in a power-off state, whether a data packet sent by a communication module is received or not is monitored, wherein the communication module comprises a wired communication module and/or a wireless communication module; when a data packet sent by a communication module is received, whether the data packet contains a multimedia delivery protocol is analyzed, wherein the multimedia delivery protocol at least comprises one of the following protocols: a Digital Living Network Alliance (DLNA) protocol, a Miracast protocol and an Airplay protocol; when the data packet contains a multimedia delivery protocol, starting a multimedia delivery device to deliver multimedia files in the data packet, wherein the multimedia files at least comprise one of the following files: video, audio, images, slides. The problem that the screen projection operation flow is complicated in the related technology is solved, the screen can be opened immediately after being projected, and the screen projection program and speed are greatly optimized.
Optionally, the communication module may include a wireless communication module and a wired communication module, the wireless communication module may include, but is not limited to, bluetooth, wifi, and other wireless communication modes, and the multimedia delivery protocol may include, but is not limited to: digital living network alliance DLNA protocol, miracast protocol, airplay protocol, etc., and the types of multimedia files may include, but are not limited to: video, audio, images, slides, etc.
Fig. 4 is a schematic structural diagram of an intelligent display device according to an embodiment of the present invention, as shown in fig. 4, taking a current most representative display device, namely an intelligent electronic device, as an example, a "screen-casting protocol pre-analysis module" is added in the middle of a relative position between WIFI and an image processing chip in the prior art, it should be noted that an execution main body of the steps of the method may be the "screen-casting protocol pre-analysis module", which may be an independent MCU, a sub-functional unit in a WIFI integrated module or in an image processing main chip, or a thread in the image processing main chip (one of them may be selected according to a hardware and software environment, power consumption, and the like when a driving board is designed). The key point is that the system supports the analysis and processing of various screen projection protocol stacks (including DLNA, miracast, airlay, and the like, and the proprietary protocol can also be expanded).
The screen projection protocol pre-analysis module has the functions of:
analyzing a network packet sent by WIFI at any time, and judging whether the packet is a protocol initiated by screen projection (the protocol comprises DLNA, miracast and Airplay);
the whole machine can be controlled to start through power management;
the device has the functions of active dormancy and awakening after starting.
Even if the whole equipment is powered off, the whole equipment and the WIFI module are always in a low-power-consumption monitoring state; during the normal operation of the device, the module sleeps and waits for the image main processing chip to wake up before the shutdown. In short, the system is monitored when the system is turned off, and is dormant when the system is turned on to wait for being awakened.
Preferably, the step S305 may be implemented by: sending a power-on instruction to the power module or instructing the main chip to send the power-on instruction to the power module, wherein the power-on instruction is used for instructing the multimedia delivery device to be powered on integrally; and sending a release instruction to the main chip, wherein the release instruction is used for indicating the main chip to start the multimedia release device and directly releasing the multimedia files in the data packet by skipping a preset startup picture.
It should be noted that the main chip in the embodiment of the present invention may be an "image main processing chip" in the intelligent display device, and the image main processing chip is to be started up as fast as possible: the optimization points include, for example, increasing the priority of the boot thread and reducing the module loading of low priority on the software; bypassing the boot Logo loading and displaying; by bypassing the display of the start-up advertisement of the smart television and the like, various adverse factors influencing the experience of the user in the process of putting on and opening are reduced. If the traditional remote controller type startup still follows the original startup flow, if the traditional remote controller type startup still follows the screen-casting startup, the special quick startup flow is adopted.
Preferably, after sending the release instruction to the master chip, the method further includes: entering a sleep mode and waiting to be awakened by a main chip; or continuously monitoring whether the data packet sent by the communication module is received.
Preferably, after entering the sleep mode, the method further comprises: and receiving a wake-up instruction sent by the main chip, wherein the wake-up instruction is sent by the main chip when the putting of the multimedia file is finished, and the wake-up instruction is used for indicating whether a data packet sent by the communication module is received or not.
Fig. 5 is a flowchart illustrating screen-projection start of the smart display device according to an embodiment of the present invention. As shown in fig. 5, the screen-shot start includes the following steps:
s501, receiving a data packet from the WIFI module in low-power-consumption monitoring of the screen-casting protocol pre-analysis module.
S502, the screen projection protocol pre-analysis module judges whether the current display equipment is in a power-on state, if so, step S503 is executed, and if not, step S504 is executed.
S503, because the whole equipment is powered on, all tasks are undertaken by the image main processing chip at this time, and the process is ended after the processing is finished.
S504, whether the data packet is a screen-casting initiation protocol is analyzed, if yes, step S505 is executed, and if not, the step S501 is returned.
And S505, powering on the whole machine through power supply operation, and transferring screen projection information to the image processing main chip.
S506, the image processing main chip receives the screen projection command and bypasses the LOGO display lamp to start up quickly.
And S507, starting screen projection display.
And S508, enabling the screen projection protocol pre-analysis module to enter a dormant state, and ending the process.
Fig. 6 is a flowchart illustrating a screen-on shutdown process of an intelligent display device according to an embodiment of the present invention. As shown in fig. 6, the screen-shot shutdown process includes the following steps:
s601, the image main processing chip receives a data packet sent by WIFI.
S602, judging whether the current data packet is a screen-on shutdown protocol, if not, executing the step S605 and then returning to the step S601, and if so, executing the step S603.
S603, the image main processing chip wakes up the screen projection protocol pre-analysis module in the dormant state.
And S604, powering off the display equipment by the image main processing chip. After the power is off, the WIFI module, the screen projection protocol pre-analysis module and the traditional remote control infrared/Bluetooth receiving module all work normally.
And S605, executing conventional WIFI data processing.
It should be noted that the screen projection protocol pre-analysis module and the image main processing chip respectively perform their functions: the former is used for starting the device, and the latter is used for waking up the screen projection protocol preresolution module and shutting down and other conventional processing. Of course, the interactive logics can be modified and optimized according to actual conditions. For example, case 1: in the shutdown process, the whole equipment can be powered off by the image main processing chip, and the power can also be powered off by the screen projection protocol pre-analysis module after the screen projection protocol pre-analysis module is awakened. Case 2: the screen projection protocol pre-analysis module can also be operated in a low-power consumption working state (no matter whether the display equipment is operated or in a power-off state), at the moment, the screen projection protocol pre-analysis module can be used for transferring WIFI data, and the screen projection protocol pre-analysis module can analyze protocol contents to control power on and power off.
Fig. 7 is a flowchart of an optional multimedia file delivery method according to an embodiment of the present invention, and as shown in fig. 7, when the preprocessing module and the main chip are independently arranged, from the perspective of the main chip, the method may include the following steps: step S702, when the multimedia playing device is in a power-off state, receiving a releasing instruction from a monitoring module, wherein the releasing instruction is used for indicating that a data packet containing a multimedia releasing protocol is received;
and step S704, starting the multimedia delivering equipment to deliver the multimedia files in the data packet according to the delivering instruction.
Optionally, starting the multimedia delivery device to deliver the multimedia file in the data package according to the delivery instruction may include the following steps: sending a power-on instruction to a power module, wherein the power-on instruction is used for instructing the whole multimedia delivery device to be powered on; and after the multimedia delivery device is started, skipping a preset startup picture to directly deliver the multimedia file in the data packet.
Optionally, after the multimedia file in the data packet is launched by the multimedia delivery device according to the delivery instruction, the method further includes: and after the multimedia file is played, sending a wake-up instruction to the monitoring module, wherein the wake-up instruction is used for indicating whether the monitoring module monitors to receive a data packet containing a multimedia delivery protocol.
As can be seen from the above description, the flow of the screen projection scheme in the embodiment of the present invention is greatly simplified, as shown in fig. 8, fig. 8 is a simplified screen projection fast-starting flow chart in the embodiment of the present invention.
The wireless screen-projection quick-starting scheme of the display equipment has the following advantages:
(1) The overall process of the screen-casting operation is simple and quick (because the traditional remote control operation or physical key operation is not needed, and the starting operation of a mobile phone APP is also not needed, the film can be directly started and displayed on the Youkou client, and the photos can be immediately started and displayed by screen casting at the point of screen casting);
(2) The method has good universality and convenience (because the current global universal screen-casting protocols DLNA, miracast, airPlay and the like are supported, the screen control APP does not need to be additionally installed or hardware is not added, and only one smart phone, PC (personal computer) and tablet computer are needed).
(3) The WIFI node of the display device can be quickly found by a route and a source end (a mobile phone, a PC and a tablet) and is connected in time (because a WIFI module and a screen projection protocol pre-analysis module of the display device are always in a low-power consumption monitoring state when the display device is in a power-off state);
(4) The power-on process of the display equipment is fast (because the display equipment optimizes the links of logo display, loading of a starting application program of the intelligent television, long-time advertisement insertion and the like).
In a word, the user can feel the convenience of 'switching on and switching off instantly', and the experience degree of wireless screen-casting operation of the user is improved.
1. In the embodiment of the invention, the screen projection protocol pre-analysis module is added between the WIFI module and the image processing chip of the display equipment, the starting speed is optimized, and the integral method and device of 'projection and opening' for rapid wireless screen projection are used as patent protection points.
2. The screen projection protocol pre-analysis module can be an independent MCU (microprogrammed control unit), a sub-functional unit in a WIFI (wireless fidelity) integrated module or an image processing main chip or a thread in the image processing main chip according to the selection, design and standby power consumption consideration of different hardware and software environments.
3. In the shutdown process, the image main processing chip (1) can obtain a shutdown command when analyzing the screen-throwing protocol, and after the screen-throwing protocol pre-analysis module is awakened, the screen-throwing protocol pre-analysis module can be told to operate the power-off by automatically operating the display equipment to power off. (2) Or the screen-throwing protocol pre-analysis module works all the time and analyzes the data state with low power consumption, and automatically powers off the display equipment after the shutdown command in the screen-throwing protocol is obtained through analysis. Any shut down condition is also within the scope of this patent.
4. The scheme can also support (1) quick start and play of audio equipment and the like by slight modification; (2) The method and the device for realizing the quick start by analyzing the screen-casting protocol (DLNA, miracast, airplay) and other similar protocols are all within the protection range because the function of adding a screen-casting protocol pre-analysis module is added in the following.
Example 2
According to another embodiment of the present invention, there is further provided a multimedia file delivery apparatus, which is used to implement any one of the above method embodiments, and the description already made is not repeated here. Fig. 9 is a block diagram of a multimedia file delivery apparatus according to an embodiment of the present invention, and as shown in fig. 9, the apparatus includes: the monitoring module 90 is configured to monitor whether a data packet sent by the communication module is received when the multimedia playing device is in a power-off state, where the communication module includes a wired communication module and/or a wireless communication module; an analyzing module 92, configured to analyze whether a multimedia delivery protocol is included in a data packet sent by the communication module when the data packet is received, where the multimedia delivery protocol includes at least one of: a Digital Living Network Alliance (DLNA) protocol, a Miracast protocol and an Airplay protocol; a starting module 94, configured to start a multimedia delivery device to deliver a multimedia file in the data packet when the data packet includes the multimedia delivery protocol, where the multimedia file includes at least one of: video, audio, images, slides.
Through the device, the problems of complex screen projection operation flow, poor universality and poor convenience in the related technology are solved, the effect of 'instant projection and instant opening' is achieved, and the screen projection program and speed are greatly optimized.
Preferably, the starting module comprises: the multimedia delivery device comprises a first sending unit, a second sending unit and a power module, wherein the first sending unit is used for sending a power-on instruction to the power module, and the power-on instruction is used for indicating that the multimedia delivery device is powered on integrally; the indicating unit is used for indicating the main chip to send a power-on instruction to the power module; and the second sending unit is used for sending a releasing instruction to the main chip, wherein the releasing instruction is used for indicating the main chip to start the multimedia releasing device and skipping a preset starting picture to directly release the multimedia files in the data packet.
Preferably, the apparatus further comprises: and the sleep module is used for entering a sleep mode and waiting to be awakened by the main chip.
Preferably, the apparatus further comprises: and the receiving module is used for receiving the awakening instruction sent by the main chip, wherein the awakening instruction is sent by the main chip when the release of the multimedia file is finished, and the awakening instruction is used for indicating whether a data packet sent by the communication module is received or not during monitoring.
According to an embodiment of the present invention, there is also provided a multimedia file delivery apparatus, including: a receiving module 1002, configured to receive a release instruction from a monitoring module when the multimedia playing device is in a power-off state, where the release instruction is used to indicate that a data packet including a multimedia release protocol is received; and a second starting module 1004, configured to start the multimedia delivery device according to the delivery instruction and deliver the multimedia file in the data packet.
As shown in fig. 4, according to an embodiment of the present invention, there is also provided a multimedia playback apparatus including: the communication module (which may be a wireless communication module such as a wifi module, or a wired communication module) is configured to send a data packet when the multimedia playing device is in a power-off state; the screen-casting protocol pre-analysis module is used for receiving the data packet sent by the communication module and analyzing whether the data packet contains a multimedia casting protocol or not; and the main chip is used for starting a multimedia delivery device to deliver the multimedia files in the data packet when the data packet contains the multimedia delivery protocol.
Optionally, the screen-casting protocol pre-parsing module is further configured to: sending a power-on instruction to a power module or instructing a main chip to send the power-on instruction to the power module, wherein the power-on instruction is used for instructing the multimedia delivery device to be powered on integrally; and sending a release instruction to the main chip, wherein the release instruction is used for indicating the main chip to start the multimedia release device and skipping a preset startup picture to directly release the multimedia files in the data packet.
Optionally, the screen-casting protocol pre-parsing module is further configured to: after sending the putting instruction to the main chip, entering a sleep mode; and receiving a wake-up instruction sent by the main chip, wherein the wake-up instruction is sent by the main chip when the putting of the multimedia file is finished, and the wake-up instruction is used for indicating whether a data packet sent by the communication module is received or not during monitoring.
According to another embodiment of the present invention, there is also provided a multimedia playing device, configured to carry the functional module in any one of the above device embodiments.
As shown in fig. 4, taking a currently most representative display device, namely an intelligent television as an example, a "screen-casting protocol pre-analysis module" is added in the middle of the relative position between the WIFI and the image processing chip in the prior art, it should be noted that an execution main body of the above method steps may be the "screen-casting protocol pre-analysis module," which may be an independent MCU, or a sub-functional unit in the WIFI integrated module or in the image processing main chip, or a thread in the image processing main chip (one of them may be selected according to a hardware and software environment, power consumption, and the like when the driver board is designed). The key point is that the system supports the analysis and processing of various screen projection protocol stacks (including DLNA, miracast, airlay, and the like, and the proprietary protocol can also be expanded).
Example 3
An embodiment of the present invention further provides a storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps in any of the method embodiments described above when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
step S1, when the multimedia playing equipment is in a power-off state, monitoring whether a data packet sent by a communication module is received, wherein the communication module comprises a wired communication module and/or a wireless communication module;
step S2, when a data packet sent by the communication module is received, whether the data packet contains a multimedia delivery protocol is analyzed, wherein the multimedia delivery protocol at least comprises one of the following protocols: a Digital Living Network Alliance (DLNA) protocol, a Miracast protocol and an Airplay protocol;
step S3, when the data packet contains a multimedia delivery protocol, starting a multimedia delivery device to deliver multimedia files in the data packet, wherein the multimedia files at least comprise one of the following files: video, audio, images, slides.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
step S1, when the multimedia playing equipment is in a power-off state, monitoring whether a data packet sent by a communication module is received, wherein the communication module comprises a wired communication module and/or a wireless communication module;
step S2, when a data packet sent by the communication module is received, whether the data packet contains a multimedia delivery protocol is analyzed, wherein the multimedia delivery protocol at least comprises one of the following protocols: a Digital Living Network Alliance (DLNA) protocol, a Miracast protocol and an Airplay protocol;
step S3, when the data packet contains a multimedia delivery protocol, starting a multimedia delivery device to deliver multimedia files in the data packet, wherein the multimedia files at least comprise one of the following files: video, audio, images, slides.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation manners, and details of this embodiment are not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A method for delivering multimedia files, comprising:
when the multimedia playing device is in a power-off state, monitoring whether a data packet sent by a communication module is received;
when a data packet sent by the communication module is received, analyzing whether the data packet contains a multimedia delivery protocol or not;
and when the data packet comprises the multimedia delivery protocol, starting the multimedia delivery device to deliver the multimedia file in the data packet.
2. The method of claim 1, wherein initiating a multimedia delivery device to deliver a multimedia file in the data package comprises:
sending a power-on instruction to a power module or instructing a main chip to send the power-on instruction to the power module, wherein the power-on instruction is used for instructing the whole multimedia delivery device to be powered on;
and sending a release instruction to the main chip, wherein the release instruction is used for indicating the main chip to start the multimedia release device and directly releasing the multimedia files in the data packet by skipping a preset startup picture.
3. The method of claim 2, wherein after sending the launch instruction to the master chip, the method further comprises:
entering a sleep mode to wait for being awakened by the main chip; or
And continuously monitoring whether the data packet sent by the communication module is received.
4. The method of claim 3, wherein after entering the sleep mode, the method further comprises:
and receiving a wake-up instruction sent by the main chip, wherein the wake-up instruction is sent by the main chip when the putting of the multimedia file is finished, and the wake-up instruction is used for indicating whether a data packet sent by the communication module is received or not during monitoring.
5. The method of claim 1, comprising:
when the multimedia playing device is in a power-off state, receiving a releasing instruction from a monitoring module, wherein the releasing instruction is used for indicating that a data packet containing a multimedia releasing protocol is received;
and starting the multimedia delivery equipment to deliver the multimedia files in the data packet according to the delivery instruction.
6. The method of claim 5, wherein initiating the multimedia delivery device to deliver the multimedia file in the data package according to the delivery instruction comprises:
sending a power-on instruction to a power module, wherein the power-on instruction is used for instructing the whole multimedia delivery device to be powered on;
and after the multimedia delivery equipment is started, skipping a preset startup picture to directly deliver the multimedia files in the data packet.
7. The method according to claim 5, wherein after the multimedia delivery device is started to deliver the multimedia file in the data package according to the delivery instruction, the method further comprises:
and after the multimedia file is played, sending a wake-up instruction to the monitoring module, wherein the wake-up instruction is used for indicating whether the monitoring module monitors to receive a data packet containing a multimedia delivery protocol.
8. A multimedia file delivery apparatus, comprising:
the monitoring module is used for monitoring whether a data packet sent by the communication module is received or not when the multimedia playing device is in a power-off state;
the analysis module is used for analyzing whether the data packet contains a multimedia delivery protocol or not when receiving the data packet sent by the communication module;
and the first starting module is used for starting a multimedia delivery device to deliver the multimedia file in the data packet when the data packet contains the multimedia delivery protocol.
9. The apparatus of claim 8, further comprising:
the receiving module is used for receiving a releasing instruction from the monitoring module when the multimedia playing device is in a power-off state, wherein the releasing instruction is used for indicating that a data packet containing a multimedia releasing protocol is received;
and the second starting module is used for starting the multimedia delivery equipment according to the delivery instruction and delivering the multimedia files in the data packet.
10. A multimedia playback apparatus, comprising:
the communication module is used for sending a data packet when the multimedia playing equipment is in a power-off state;
the screen-casting protocol pre-analysis module is used for receiving the data packet sent by the communication module and analyzing whether the data packet contains a multimedia casting protocol or not;
and the main chip is used for starting a multimedia delivery device to deliver the multimedia files in the data packet when the data packet contains the multimedia delivery protocol.
11. The apparatus of claim 10, wherein the screen projection protocol pre-resolution module is further configured to:
sending a power-on instruction to a power module or instructing a main chip to send the power-on instruction to the power module, wherein the power-on instruction is used for instructing the multimedia delivery device to be powered on integrally;
and sending a release instruction to the main chip, wherein the release instruction is used for indicating the main chip to start the multimedia release device and skipping a preset startup picture to directly release the multimedia files in the data packet.
12. The apparatus of claim 11, wherein the screen projection protocol pre-resolution module is further configured to:
after sending the putting instruction to the main chip, entering a sleep mode;
and receiving a wake-up instruction sent by the main chip, wherein the wake-up instruction is sent by the main chip when the putting of the multimedia file is finished, and the wake-up instruction is used for indicating whether a data packet sent by the communication module is received or not during monitoring.
13. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 7 when executed.
14. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
CN201910641737.4A 2019-07-16 2019-07-16 Multimedia file delivery method and device, storage medium and electronic device Active CN110377256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910641737.4A CN110377256B (en) 2019-07-16 2019-07-16 Multimedia file delivery method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910641737.4A CN110377256B (en) 2019-07-16 2019-07-16 Multimedia file delivery method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN110377256A CN110377256A (en) 2019-10-25
CN110377256B true CN110377256B (en) 2022-12-16

Family

ID=68253590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910641737.4A Active CN110377256B (en) 2019-07-16 2019-07-16 Multimedia file delivery method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN110377256B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687803A (en) * 2020-05-19 2021-11-23 华为技术有限公司 Screen projection method, screen projection source end, screen projection destination end, screen projection system and storage medium
CN113422833B (en) * 2021-06-29 2022-12-09 安徽文香科技有限公司 Multimedia file uploading method and device, electronic equipment and readable storage medium
CN114501090B (en) * 2022-01-30 2023-09-05 深圳创维-Rgb电子有限公司 Screen projection method, device, equipment and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI363555B (en) * 2007-01-25 2012-05-01 Inventec Appliances Corp Communication apparatus with network multimedia playback function
CN103152315A (en) * 2011-12-06 2013-06-12 中兴通讯股份有限公司 Advertisement injecting method, system and device
CN107659712A (en) * 2017-09-01 2018-02-02 咪咕视讯科技有限公司 A kind of method, apparatus and storage medium for throwing screen

Also Published As

Publication number Publication date
CN110377256A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
WO2021109422A1 (en) Standby control method and display device
CN110377256B (en) Multimedia file delivery method and device, storage medium and electronic device
US9325892B2 (en) Systems and methods for remote camera control
US7886136B2 (en) Computer system, method, and medium for switching operating system
WO2022062236A1 (en) Data transmission method and device
WO2017193612A1 (en) Apparatus employing mobile terminal to operate electronic apparatus, system, and method
CN111935518B (en) Video screen projection method and display device
US9407863B2 (en) System and method for processing visual information
CN113014972B (en) Screen projection method, device and system
US20230119300A1 (en) Method for Resuming Playing Multimedia Content Between Devices
JP2008061111A (en) Electronic device and radio communication control method
CN112511902B (en) Display screen control method and device of OLED television terminal and OLED television terminal
EP4311314A1 (en) Sleep scheduling method and device
US20230345227A1 (en) Switch module, terminal device, method for controlling terminal device
US20150109582A1 (en) Projector with variable power consumption based on data received from removable module
US11550527B2 (en) Media file processing method for display device and display device
WO2016179900A1 (en) Routing device, power saving method and apparatus therefor, and storage medium
WO2022105417A1 (en) Display device and device control method
US11284351B2 (en) Electronic device and operating method thereof
CN109688393B (en) Screen projection control method and first electronic device
WO2022206392A1 (en) Application wakeup method, display device, mobile terminal and server
KR101659955B1 (en) Multi-display Device And Method Of Controlling The Multi-display Device
US11687484B2 (en) Electronic device and operation method thereof
JP2011526717A (en) Terminal device using peripheral device of other terminal by controlling one terminal and interface method thereof
JP2008288721A (en) Information processing system, information terminal and server apparatus

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