CN112347275A - Media file pushing method, device, equipment and computer readable storage medium - Google Patents
Media file pushing method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN112347275A CN112347275A CN202011226623.2A CN202011226623A CN112347275A CN 112347275 A CN112347275 A CN 112347275A CN 202011226623 A CN202011226623 A CN 202011226623A CN 112347275 A CN112347275 A CN 112347275A
- Authority
- CN
- China
- Prior art keywords
- target
- media file
- file
- type
- push
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/435—Filtering based on additional data, e.g. user or group profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2805—Home Audio Video Interoperability [HAVI] networks
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a media file pushing method, a device, equipment and a computer readable storage medium, wherein the media file pushing method firstly acquires a pre-pushed media file and generates a file identification picture corresponding to the pre-pushed media file, so that the selection of a target pushed media file based on the picture is faster under the condition of more media files; and then, a proper target intelligent terminal is selected and pushed according to the file type of the target pushed media file, so that the target intelligent terminal can display or play the target pushed media file smoothly, the whole pushing process is free from complicated user operation, the efficiency of pushing the media file to an intelligent household appliance by the user terminal is improved, the media file on the user terminal can be rapidly shared to the intelligent household appliance, and meanwhile, the user experience is also improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for pushing a media file.
Background
With the development of intelligent terminal technology, various household appliances in a family become intelligent day by day, and can display pictures or play audio and video to meet the entertainment requirements of users in daily life. However, at present, if a user wants to share pictures or audio/video files on user equipment such as a mobile phone to an intelligent household appliance, and wants to display a picture video or an audio that the user wants to watch on the intelligent household appliance, a series of complicated operations need to be performed, so that the technical problem that the steps of sharing media files from the existing user terminal to the intelligent household appliance are complicated is caused.
Disclosure of Invention
The invention mainly aims to provide a media file pushing method, and aims to solve the technical problem that the existing user terminal has complicated steps for sharing media files to intelligent household appliances.
In order to achieve the above object, the present invention provides a media file pushing method, which is applied to a user terminal, and the method includes:
acquiring a pre-pushed media file, and determining the pushing type of the pre-pushed media file;
acquiring a file identification picture corresponding to the pre-pushed media file according to the pushing type, and selecting a target pushed media file in the pre-pushed media file based on the file identification picture;
and identifying the target file type of the target push media file, and determining a target intelligent terminal according to the target file type so as to push the target push media file to the target intelligent terminal.
Optionally, the obtaining a pre-pushed media file and determining a push type of the pre-pushed media file include:
when the networked intelligent terminal is detected to exist in a preset range, monitoring a selection event initiated by a user based on a key and/or a touch screen;
when the selection event is monitored, marking a plurality of media files selected by a user in the selection event as pre-push media files;
identifying a push type of the pre-pushed media file, wherein the push type comprises a picture push type, an audio push type and/or a video push type.
Optionally, the obtaining a file identifier picture corresponding to the pre-pushed media file according to the pushing type includes:
when the push type comprises a picture push type, selecting any picture in the pre-pushed media file as the file identification picture;
searching an audio character picture related to the pre-pushed file as the file identification picture when the pushing type comprises an audio pushing type; and/or the presence of a gas in the gas,
and when the pushing type comprises a video pushing type, intercepting any video image frame in the pre-pushed media file as the file identification picture.
Optionally, the selecting a target pushed media file of the pre-pushed media files based on the file identification picture includes:
judging whether the state information of the file identification picture meets a preset push condition or not;
and if so, taking the pre-pushed media file corresponding to the file identification picture as the target pushed media file.
Optionally, the identifying a target file type of the target pushed media file, and determining a target intelligent terminal according to the target file type to push the target pushed media file to the target intelligent terminal includes:
identifying a target file type of the target push media file, wherein the target file type comprises a display type, a play type and/or a display play type;
and according to the display type, the play type and/or the display play type, selecting an intelligent terminal at least having a picture display function, an intelligent terminal at least having an audio play function and/or an intelligent terminal simultaneously having picture display and audio play functions from the currently networked intelligent terminals as the target intelligent terminal so as to push the target push media file to the target intelligent terminal.
Optionally, before pushing the target push media file to the target intelligent terminal, the method further includes:
sending a test instruction to the target intelligent terminal, and acquiring response information sent by the target intelligent terminal based on the test instruction;
judging whether the target intelligent terminal is in a normal working mode or not according to the response information;
and if the target intelligent terminal is not in the normal working mode, generating and displaying a mode switching prompt message.
Optionally, after identifying a target file type of the target push media file and determining a target intelligent terminal according to the target file type, the method further includes:
and transmitting the target push media file to the target intelligent terminal so that the target intelligent terminal can display and/or play the target push media file.
In addition, to achieve the above object, the present invention further provides a media file pushing apparatus, including:
the push type determining module is used for acquiring a pre-pushed media file and determining the push type of the pre-pushed media file;
the target file selection module is used for acquiring a file identification picture corresponding to the pre-pushed media file according to the pushing type and selecting a target pushed media file in the pre-pushed media file based on the file identification picture;
and the target file pushing module is used for identifying the target file type of the target pushing media file and determining a target intelligent terminal according to the target file type so as to push the target pushing media file to the target intelligent terminal.
Optionally, the media file pushing apparatus further includes:
the event monitoring module is used for monitoring a selection event initiated by a user based on a key and/or a touch screen when the networked intelligent terminal is detected to exist in a preset range;
the push type determination module comprises:
the file marking unit is used for marking a plurality of media files selected by a user in the selection event as pre-push media files when the selection event is monitored;
a type identification unit, configured to identify a push type of the pre-pushed media file, where the push type includes a picture push type, an audio push type, and/or a video push type.
Optionally, the target file selecting module includes:
the picture pushing unit is used for selecting any picture in the pre-pushed media file as the file identification picture when the pushing type comprises a picture pushing type;
the audio pushing unit is used for searching an audio character picture related to the pre-pushed file as the file identification picture when the pushing type comprises an audio pushing type; and/or the presence of a gas in the gas,
and the video pushing unit is used for intercepting any video image frame in the pre-pushed media file as the file identification picture when the pushing type comprises a video pushing type.
Optionally, the target file selecting module includes:
the dragging judgment unit is used for judging whether the state information of the file identification picture meets a preset pushing condition or not;
and the dragging judgment unit is used for taking the pre-pushed media file corresponding to the file identification picture as the target pushed media file if the target pushed media file is the target pushed media file.
Optionally, the target file pushing module includes:
the type identification unit is used for identifying a target file type of the target push media file, wherein the target file type comprises a display type, a play type and/or a display play type;
and the terminal selection unit is used for selecting an intelligent terminal at least having a picture display function, an intelligent terminal at least having an audio playing function and/or an intelligent terminal simultaneously having the picture display and audio playing functions from the currently networked intelligent terminals as the target intelligent terminal according to the display type, the playing type and/or the display playing type so as to push the target push media file to the target intelligent terminal.
Optionally, the target file pushing module includes:
the response testing unit is used for sending a testing instruction to the target intelligent terminal and acquiring response information sent by the target intelligent terminal based on the testing instruction;
the mode judging unit is used for judging whether the target intelligent terminal is in a normal working mode or not according to the response information;
and the message generating unit is used for generating and displaying a mode switching prompt message if the target intelligent terminal is not in a normal working mode.
Optionally, the media file pushing apparatus further includes:
and the file output module is used for transmitting the target pushed media file to the target intelligent terminal so as to enable the target intelligent terminal to display and/or play the target pushed media file.
In addition, to achieve the above object, the present invention further provides a media file pushing apparatus, including: the system comprises a memory, a processor and a media file pushing program stored on the memory and capable of running on the processor, wherein the media file pushing program realizes the steps of the method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having a media file pushing program stored thereon, which when executed by a processor implements the steps of the method as described above.
The invention provides a media file pushing method, a device, equipment and a computer readable storage medium. According to the media file pushing method, the pre-pushed media file is obtained firstly, and the file identification picture corresponding to the pre-pushed media file is generated, so that the target pushed media file is selected more quickly based on the picture under the condition that the number of the media files is large; and then, a proper target intelligent terminal is selected and pushed according to the file type of the target pushed media file, so that the target intelligent terminal can conveniently and smoothly display or play the target pushed media file, the whole pushing process avoids complicated user operation, the efficiency of pushing the media file to the intelligent household appliance by the user terminal is improved, the media file on the user terminal can be quickly shared to the intelligent household appliance, and the technical problem that the existing user terminal has complicated steps for sharing the media file to the intelligent household appliance is solved.
Drawings
Fig. 1 is a schematic structural diagram of a media file pushing device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a media file pushing method according to a first embodiment of the present invention;
fig. 3 is a functional module diagram of the media file pushing device according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a media file pushing device in a hardware operating environment according to an embodiment of the present invention.
The media file pushing equipment in the embodiment of the invention is a terminal with image capturing equipment, and is preferably an intelligent television.
As shown in fig. 1, the media file pushing apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The optional user interface 1003 may include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the media file pushing device configuration shown in fig. 1 does not constitute a limitation of the media file pushing device and may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a media file push program.
In the media file pushing apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a media file push program stored in the memory 1005 and perform the following operations:
acquiring a pre-pushed media file, and determining the pushing type of the pre-pushed media file;
acquiring a file identification picture corresponding to the pre-pushed media file according to the pushing type, and selecting a target pushed media file in the pre-pushed media file based on the file identification picture;
and identifying the target file type of the target push media file, and determining a target intelligent terminal according to the target file type so as to push the target push media file to the target intelligent terminal.
Further, the obtaining a pre-push media file and determining a push type of the pre-push media file includes:
when the networked intelligent terminal is detected to exist in a preset range, monitoring a selection event initiated by a user based on a key and/or a touch screen;
when the selection event is monitored, marking a plurality of media files selected by a user in the selection event as pre-push media files;
identifying a push type of the pre-pushed media file, wherein the push type comprises a picture push type, an audio push type and/or a video push type.
Further, the obtaining a file identification picture corresponding to the pre-pushed media file according to the pushing type includes:
when the push type comprises a picture push type, selecting any picture in the pre-pushed media file as the file identification picture;
searching an audio character picture related to the pre-pushed file as the file identification picture when the pushing type comprises an audio pushing type; and/or the presence of a gas in the gas,
and when the pushing type comprises a video pushing type, intercepting any video image frame in the pre-pushed media file as the file identification picture.
Further, the selecting a target pushed media file of the pre-pushed media files based on the file identification picture comprises:
judging whether the state information of the file identification picture meets a preset push condition or not;
and if so, taking the pre-pushed media file corresponding to the file identification picture as the target pushed media file.
Further, the identifying a target file type of the target push media file and determining a target intelligent terminal according to the target file type to push the target push media file to the target intelligent terminal includes:
identifying a target file type of the target push media file, wherein the target file type comprises a display type, a play type and/or a display play type;
and according to the display type, the play type and/or the display play type, selecting an intelligent terminal at least having a picture display function, an intelligent terminal at least having an audio play function and/or an intelligent terminal simultaneously having picture display and audio play functions from the currently networked intelligent terminals as the target intelligent terminal so as to push the target push media file to the target intelligent terminal.
Further, before pushing the target pushed media file to the target intelligent terminal, the processor 1001 may be configured to call a media file pushing program stored in the memory 1005, and perform the following operations:
sending a test instruction to the target intelligent terminal, and acquiring response information sent by the target intelligent terminal based on the test instruction;
judging whether the target intelligent terminal is in a normal working mode or not according to the response information;
and if the target intelligent terminal is not in the normal working mode, generating and displaying a mode switching prompt message.
Further, after identifying the target file type of the target push media file and determining the target intelligent terminal according to the target file type, the processor 1001 may be configured to invoke a media file push program stored in the memory 1005 and perform the following operations:
and transmitting the target push media file to the target intelligent terminal so that the target intelligent terminal can display and/or play the target push media file.
Based on the above hardware structure, embodiments of the media file pushing method of the present invention are provided.
With the development of intelligent terminal technology, various household appliances in a family become intelligent day by day, and can display pictures or play audio and video to meet the entertainment requirements of users in daily life. However, at present, if a user wants to share pictures or audio/video files on user equipment such as a mobile phone to an intelligent household appliance, and wants to display a picture video or an audio that the user wants to watch on the intelligent household appliance, a series of complicated operations need to be performed, so that the technical problem that the steps of sharing media files from the existing user terminal to the intelligent household appliance are complicated is caused.
In order to solve the technical problems, the invention provides a media file pushing method, namely, a pre-pushed media file is obtained firstly, and a file identification picture corresponding to the pre-pushed media file is generated, so that the target pushed media file is selected more quickly based on the picture under the condition of more media files; and then, a proper target intelligent terminal is selected and pushed according to the file type of the target pushed media file, so that the target intelligent terminal can conveniently and smoothly display or play the target pushed media file, the whole pushing process avoids complicated user operation, the efficiency of pushing the media file to the intelligent household appliance by the user terminal is improved, the media file on the user terminal can be quickly shared to the intelligent household appliance, and the technical problem that the existing user terminal has complicated steps for sharing the media file to the intelligent household appliance is solved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a media file pushing method.
A first embodiment of the present invention provides a media file pushing method, where the media file pushing method is applied to a host device, and the media file pushing method includes:
step S10, acquiring a pre-pushed media file, and determining the pushing type of the pre-pushed media file;
in this embodiment, the user terminal is a source device of the media file transmitted to the intelligent terminal, and may be a mobile phone or a tablet. Personal computers and the like, and the intelligent terminals therein are usually intelligent household appliances, such as intelligent televisions, intelligent refrigerators, intelligent washing machines, intelligent range hoods and the like. The media file may be a file stored on the user terminal, or a file shot or recorded on the spot by using the user terminal, and specifically may be one or more pictures, one or more audio, one or more video, or any combination thereof. Pre-pushing a media file refers to a media file on a user terminal that is ready to be pushed to a smart terminal, but may also require further confirmation or filtering. The marking method may specifically be adding a specific mark at key information of the media file, where the key information may be file name information or the like, and the specific mark may be a specific character or the like. The push type is specifically a picture push type, an audio push type, a video push type, or a combination of the above types.
Specifically, if a user watches a short video by using a mobile phone at home with a gap of washing clothes, the user wants to push the short video to a large screen of the intelligent large-screen washing machine for playing due to the limited size of the screen of the mobile phone, so as to obtain a better watching effect. The user can directly select the short video and click a preset key on the screen of the mobile phone, and then a marking instruction can be sent to the mobile phone. After receiving the marking instruction, the mobile phone marks the short video file as a pre-push media file. The mobile phone can directly determine that the pushing type of the short video file is the video pushing type by acquiring the file extension name of the file.
Step S20, acquiring a file identification picture corresponding to the pre-pushed media file according to the pushing type, and selecting a target pushed media file in the pre-pushed media file based on the file identification picture;
in this embodiment, the file identification picture is a picture showing content information of a pre-pushed media file corresponding to the file identification picture. For a pre-push media file with content containing pictures, any one picture or a first picture can be selected from the file identification pictures; for a pre-pushed media file with audio content, the file identification picture can select a text picture of the audio content, or a song cover picture and the like; for a pre-pushed media file with content comprising video, the file identification picture may be any video image frame in the video, or the first video image frame of the video, or a text picture of a video introduction, etc. The target pushed media file is the media file which is finally determined to be pushed to the intelligent terminal on the user terminal.
Specifically, when recognizing that the short video file currently marked as the pre-push media file is of the video push type, the mobile phone acquires a first video frame of the short video as a corresponding file identification picture. The user displays the file identification picture in the current page, drags the file identification picture to the designated position of the page, or selects the file identification picture and clicks the corresponding key in the page, so as to send a sending instruction to the mobile phone, and after receiving the sending instruction, the mobile phone can take the pre-pushed media file corresponding to the file identification picture selected by the user as the target pushed media file.
Step S30, identifying the target file type of the target push media file, and determining a target intelligent terminal according to the target file type to push the target push media file to the target intelligent terminal.
In this embodiment, the target file type refers to a file type of the target pushed media file, and may be specifically divided into a display type, a play type, a display play type, and the like. The target intelligent terminal is a transmission object device matched with a target pushed media file and selected according to the file type, and can be specifically divided into a target intelligent terminal with a display picture display function, a target intelligent terminal with an audio playing function and a target intelligent terminal with both a picture display function and an audio playing function.
Specifically, when the mobile phone identifies that the file type of the short video file currently becoming the target push media file is a display play type, a device having both a picture display function and an audio play function is selected as the target intelligent terminal from the currently networked intelligent household appliances. It should be noted that, if there is more than one current device meeting the condition, the device with the best performance is preferentially selected as the target intelligent terminal. For example, for video and pictures, the screen resolution should be selected to be highest; for audio, the best quality should be chosen, etc. After the target intelligent terminal (such as an intelligent large-screen refrigerator) is determined, the mobile phone can transmit the short video file to the intelligent large-screen refrigerator for video playing.
In the embodiment, a pre-pushed media file is obtained, and the pushing type of the pre-pushed media file is determined; acquiring a file identification picture corresponding to the pre-pushed media file according to the pushing type, and selecting a target pushed media file in the pre-pushed media file based on the file identification picture; and identifying the target file type of the target push media file, and determining a target intelligent terminal according to the target file type so as to push the target push media file to the target intelligent terminal. According to the mode, the pre-pushed media file is obtained firstly, and the file identification picture corresponding to the pre-pushed media file is generated, so that the target pushed media file is selected more quickly based on the picture under the condition that the number of the media files is large; and then, a proper target intelligent terminal is selected and pushed according to the file type of the target pushed media file, so that the target intelligent terminal can conveniently and smoothly display or play the target pushed media file, the whole pushing process avoids complicated user operation, the efficiency of pushing the media file to the intelligent household appliance by the user terminal is improved, the media file on the user terminal can be quickly shared to the intelligent household appliance, and the technical problem that the existing user terminal has complicated steps for sharing the media file to the intelligent household appliance is solved.
Further, based on the first embodiment shown in fig. 2, a second embodiment of the media file pushing method of the present invention is proposed, in this embodiment, step S10 includes:
when the networked intelligent terminal is detected to exist in a preset range, monitoring a selection event initiated by a user based on a key and/or a touch screen;
when the selection event is monitored, marking a plurality of media files selected by a user in the selection event as pre-push media files;
identifying a push type of the pre-pushed media file, wherein the push type comprises a picture push type, an audio push type and/or a video push type.
In this embodiment, the preset range is generally set as the home range where the user is located. The premise that file transmission is carried out between the user terminal and the intelligent terminal at home is that the user terminal and the intelligent terminal at home are all networked. Specifically, a user terminal is taken as a mobile phone as an example. When the mobile phone is positioned and detects that the current scene is at home and the networked intelligent household appliances exist, a thread is created to detect the type of the active page control touched by the user or selected by clicking a key on the mobile phone. If the mobile phone currently detects that the user touches or selects a selection control used for selecting the pre-pushed media file in the current page based on the key, the mobile phone can be determined that the selection event is currently monitored.
When the mobile phone monitors the selection event, the marking operation is started, and the media file specified by the user in the selection event is marked as a pre-push media file. The mobile phone acquires extension name information or other information of a current pre-pushed media file to identify the file type of the current pre-pushed media file, and determines a corresponding pushing type according to the file type, for example, if the file type is a picture type, the pushing type is corresponding to the picture pushing type; if the file type is an audio type, the push type is correspondingly an audio push type; and if the file type is a video type, the push type is a video push type.
Further, the obtaining a file identification picture corresponding to the pre-pushed media file according to the pushing type includes:
when the push type comprises a picture push type, selecting any picture in the pre-pushed media file as the file identification picture;
searching an audio character picture related to the pre-pushed file as the file identification picture when the pushing type comprises an audio pushing type; and/or the presence of a gas in the gas,
and when the pushing type comprises a video pushing type, intercepting any video image frame in the pre-pushed media file as the file identification picture.
In this embodiment, if the mobile phone recognizes that the push type of the pre-pushed media file is a picture push type (for example, recognizes that the extension name thereof is. jpg, png, etc.), a picture is selected from the push type as a file identification picture of the picture file, such as a first picture, a last picture, etc., and if the file content of the file only has one picture, the picture is directly used as the file identification picture; if the mobile phone identifies that the push type of the pre-pushed media file is an audio push type, searching a lyric picture or a song cover of the audio file and the like as a file identification picture of the audio; if the mobile phone recognizes that the push type of the pre-pushed media file is a video push type, capturing any video image frame of the video, generally capturing a first frame of video image as a file identification picture of the video.
Further, the selecting a target pushed media file of the pre-pushed media files based on the file identification picture comprises:
judging whether the state information of the file identification picture meets a preset push condition or not;
and if so, taking the pre-pushed media file corresponding to the file identification picture as the target pushed media file.
In the present embodiment, the status information may include location status information, selection status information, and the like. For example, if the mobile phone recognizes that the user currently drags a certain file identification picture to a designated area in the page, or selects a certain file identification picture, it may be determined that the position state information or the selection state information of the mobile phone satisfies a preset push condition, and then the corresponding pre-pushed media file is used as the target pushed media file. And if the mobile phone does not recognize the state information change of any file identification picture, judging that no target pushed media file exists currently.
In the embodiment, a pre-pushed media file is marked by further monitoring a selection event in a specific scene, so that the media file which a user may want to push can be captured in time; the method comprises the steps that file identification picture selection rules corresponding to different push types are set, so that files of different push types can obtain adaptive file identification pictures; by verifying the state information of the file identification picture to select the target push media file, the target push media file to be pushed can be accurately selected.
Further, based on the first embodiment shown in fig. 2, a third embodiment of the media file pushing method of the present invention is provided. In the present embodiment, step S30 includes:
identifying a target file type of the target push media file, wherein the target file type comprises a display type, a play type and/or a display play type;
and according to the display type, the play type and/or the display play type, selecting an intelligent terminal at least having a picture display function, an intelligent terminal at least having an audio play function and/or an intelligent terminal simultaneously having picture display and audio play functions from the currently networked intelligent terminals as the target intelligent terminal so as to push the target push media file to the target intelligent terminal.
In this embodiment, the display type is a file type that a corresponding device can normally open a file only by having a screen display function; the playing type is a file type which can normally open a file only by the corresponding equipment having an audio playing function; the display playing type is a file type which needs to correspond to the equipment and has a picture display function and an audio playing function at the same time. After identifying the type of the target file, the mobile phone selects a matched target intelligent terminal from the intelligent terminals which are networked in the optional range. For example, if the target pushed media file only contains audio, an intelligent terminal at least having an audio playing function can be selected as the target intelligent terminal; if the target push media file contains both audio and pictures, an intelligent terminal having both a picture display function and an audio playing function is selected as the target intelligent terminal.
Before the target pushed media file is pushed to the target intelligent terminal, the method further comprises:
sending a test instruction to the target intelligent terminal, and acquiring response information sent by the target intelligent terminal based on the test instruction;
judging whether the target intelligent terminal is in a normal working mode or not according to the response information;
and if the target intelligent terminal is not in the normal working mode, generating and displaying a mode switching prompt message.
In this embodiment, the test instruction is an instruction for acquiring current working state information of the target intelligent terminal. The mobile phone sends a test instruction to the target intelligent terminal, and when the target intelligent terminal receives the test instruction, if correct response information is replied, the mobile phone can judge that the target intelligent terminal is in a normal working mode and can perform file transmission operation; if the target intelligent terminal replies wrong response information or does not reply any response information, the mobile phone can judge that the target intelligent terminal is not in a normal working state, cannot perform file transmission operation on the target intelligent terminal, and generates and displays mode switching prompt information to prompt a user to switch the mode of the target intelligent terminal to a normal working model or automatically reselect the target intelligent terminal.
Further, after identifying the target file type of the target push media file and determining the target intelligent terminal according to the target file type, the method further includes:
and transmitting the target push media file to the target intelligent terminal so that the target intelligent terminal can display and/or play the target push media file.
In this embodiment, after the mobile phone selects the target intelligent terminal, the current target push media file can be transmitted. The target intelligent terminal can output the file (picture display, audio playing and video playing) immediately after receiving the file, and can also output the file after waiting for a user to issue a corresponding instruction.
In this embodiment, an adaptive intelligent terminal is further selected according to the file type, so that the intelligent terminal selected by the final edition can smoothly open the received target pushed media file, and the situation that the file cannot be opened because the intelligent terminal does not have a certain function is avoided; by checking the working state of the target intelligent terminal before pushing, the file can be smoothly transmitted to the target intelligent terminal.
The invention also provides a media file pushing device.
The media file pushing device comprises:
the push type determining module 10 is configured to acquire a pre-pushed media file and determine a push type of the pre-pushed media file;
a target file selecting module 20, configured to obtain a file identification picture corresponding to the pre-pushed media file according to the pushing type, and select a target pushed media file in the pre-pushed media file based on the file identification picture;
the target file pushing module 30 is configured to identify a target file type of the target pushed media file, and determine a target intelligent terminal according to the target file type, so as to push the target pushed media file to the target intelligent terminal.
The invention also provides media file pushing equipment.
The media file pushing device comprises a processor, a memory and a media file pushing program which is stored on the memory and can run on the processor, wherein when the media file pushing program is executed by the processor, the steps of the media file pushing method are realized.
The method for implementing the media file pushing program when executed may refer to various embodiments of the media file pushing method of the present invention, and will not be described herein again.
The invention also provides a computer readable storage medium.
The computer-readable storage medium of the present invention stores a media file pushing program, and the media file pushing program, when executed by a processor, implements the steps of the media file pushing method as described above.
The method for implementing the media file pushing program when executed may refer to various embodiments of the media file pushing method of the present invention, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a media file pushing device to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A media file pushing method is applied to a user terminal, and comprises the following steps:
acquiring a pre-pushed media file, and determining the pushing type of the pre-pushed media file;
acquiring a file identification picture corresponding to the pre-pushed media file according to the pushing type, and selecting a target pushed media file in the pre-pushed media file based on the file identification picture;
and identifying the target file type of the target push media file, and determining a target intelligent terminal according to the target file type so as to push the target push media file to the target intelligent terminal.
2. The method of claim 1, wherein the obtaining a pre-push media file and determining a push type of the pre-push media file comprises:
when the networked intelligent terminal is detected to exist in a preset range, monitoring a selection event initiated by a user based on a key and/or a touch screen;
when the selection event is monitored, marking a plurality of media files selected by a user in the selection event as pre-push media files;
identifying a push type of the pre-pushed media file, wherein the push type comprises a picture push type, an audio push type and/or a video push type.
3. The method of claim 2, wherein the obtaining of the file identification picture corresponding to the pre-pushed media file according to the push type comprises:
when the push type comprises a picture push type, selecting any picture in the pre-pushed media file as the file identification picture;
searching an audio character picture related to the pre-pushed file as the file identification picture when the pushing type comprises an audio pushing type; and/or the presence of a gas in the gas,
and when the pushing type comprises a video pushing type, intercepting any video image frame in the pre-pushed media file as the file identification picture.
4. The method of claim 1, wherein the selecting a target push media file of the pre-push media files based on the file identification picture comprises:
judging whether the state information of the file identification picture meets a preset push condition or not;
and if so, taking the pre-pushed media file corresponding to the file identification picture as the target pushed media file.
5. The method of claim 1, wherein the identifying a target file type of the target push media file and determining a target smart terminal according to the target file type to push the target push media file to the target smart terminal comprises:
identifying a target file type of the target push media file, wherein the target file type comprises a display type, a play type and/or a display play type;
and according to the display type, the play type and/or the display play type, selecting an intelligent terminal at least having a picture display function, an intelligent terminal at least having an audio play function and/or an intelligent terminal simultaneously having picture display and audio play functions from the currently networked intelligent terminals as the target intelligent terminal so as to push the target push media file to the target intelligent terminal.
6. The method of claim 1, wherein before pushing the target push media file to the target smart terminal, further comprising:
sending a test instruction to the target intelligent terminal, and acquiring response information sent by the target intelligent terminal based on the test instruction;
judging whether the target intelligent terminal is in a normal working mode or not according to the response information;
and if the target intelligent terminal is not in the normal working mode, generating and displaying a mode switching prompt message.
7. The method of any of claims 1-6, wherein after identifying a target file type for the target pushed media file and determining a target smart terminal based on the target file type, further comprising:
and transmitting the target push media file to the target intelligent terminal so that the target intelligent terminal can display and/or play the target push media file.
8. A media file pushing apparatus, characterized in that the media file pushing apparatus comprises:
the push type determining module is used for acquiring a pre-pushed media file and determining the push type of the pre-pushed media file;
the target file selection module is used for acquiring a file identification picture corresponding to the pre-pushed media file according to the pushing type and selecting a target pushed media file in the pre-pushed media file based on the file identification picture;
and the target file pushing module is used for identifying the target file type of the target pushing media file and determining a target intelligent terminal according to the target file type so as to push the target pushing media file to the target intelligent terminal.
9. A media file pushing apparatus, characterized in that the media file pushing apparatus comprises: memory, processor and a media file push program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the method according to any of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a media file pushing program, which when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011226623.2A CN112347275A (en) | 2020-11-04 | 2020-11-04 | Media file pushing method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011226623.2A CN112347275A (en) | 2020-11-04 | 2020-11-04 | Media file pushing method, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112347275A true CN112347275A (en) | 2021-02-09 |
Family
ID=74429392
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011226623.2A Pending CN112347275A (en) | 2020-11-04 | 2020-11-04 | Media file pushing method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112347275A (en) |
-
2020
- 2020-11-04 CN CN202011226623.2A patent/CN112347275A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9363551B2 (en) | TV program identification method, apparatus, terminal, server and system | |
CN103269396B (en) | The method and system that a kind of pair of mobile terminal is managed | |
KR101810403B1 (en) | Apparatus and method for storing data of peripheral device in portable terminal | |
CN104066009B (en) | program identification method, device, terminal, server and system | |
CN105871690B (en) | Method and device for realizing instant messaging | |
US20070005607A1 (en) | Interface control program, interface control method, interface control apparatus, plug-in program and information processing apparatus | |
US8422642B2 (en) | Message system for conducting message | |
CN113590067A (en) | Screen projection control method, system, device and computer readable storage medium | |
CN106980442B (en) | Icon management method and electronic equipment | |
CN106027631B (en) | Data transmission method and device | |
CN111901695B (en) | Video content interception method, device and equipment and computer storage medium | |
KR101776080B1 (en) | Operator system, operator server, remote support method, porgram for operator server, supported electrical appliance, and support operation display device | |
CN112256225A (en) | Screen projection method, server, terminal device and computer readable storage medium | |
CN113316128B (en) | Screen projection method, receiving terminal equipment and sending terminal equipment | |
CN111970312A (en) | File transmission method and device and computer readable storage medium | |
CN108933947B (en) | Bullet screen display method and device | |
CN112764838A (en) | Target content display method and device and electronic equipment | |
CN105630498A (en) | Application program display method and device and electronic equipment | |
CN110933772A (en) | Connection method of wireless device, mobile terminal and computer readable storage medium | |
CN114979730B (en) | Screen transmission interaction method, device, computer equipment and storage medium | |
CN112235412B (en) | Message processing method and device | |
CN110891265B (en) | Wireless connection control method and device, mobile terminal and storage medium | |
CN109195021B (en) | Screenshot sharing method and device | |
CN116320564A (en) | Display device, terminal device, and device control method | |
CN112347275A (en) | Media file pushing method, device, equipment and computer readable 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 |