CN111447491B - Video playing method based on short message, server side and mobile terminal - Google Patents

Video playing method based on short message, server side and mobile terminal Download PDF

Info

Publication number
CN111447491B
CN111447491B CN201910045086.2A CN201910045086A CN111447491B CN 111447491 B CN111447491 B CN 111447491B CN 201910045086 A CN201910045086 A CN 201910045086A CN 111447491 B CN111447491 B CN 111447491B
Authority
CN
China
Prior art keywords
video
short message
transmitted
video data
data
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
CN201910045086.2A
Other languages
Chinese (zh)
Other versions
CN111447491A (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.)
Beijing Zhongyingtong Information Technology Co ltd
Original Assignee
Tianjin Tiaotiaowa 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 Tianjin Tiaotiaowa Technology Co ltd filed Critical Tianjin Tiaotiaowa Technology Co ltd
Priority to CN201910045086.2A priority Critical patent/CN111447491B/en
Publication of CN111447491A publication Critical patent/CN111447491A/en
Application granted granted Critical
Publication of CN111447491B publication Critical patent/CN111447491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8193Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Abstract

The invention relates to a video playing method based on short messages, a server and a mobile terminal, wherein the method is applied to the server and comprises the following steps: acquiring a video to be played; converting a video to be played into video data to be transmitted in a preset format; and sending the video data to be transmitted in a preset format to a short message box of the mobile terminal in a short message mode so that the user can play the video to be played through a short message. The method is applied to the mobile terminal and comprises the following steps: the method comprises the steps that a short message box of the mobile terminal receives video data to be transmitted in a preset format issued by a server side in a short message mode, processes the video data to be transmitted in the preset format through an embedded Software Development Kit (SDK), and plays videos to be played through short messages. The invention realizes the transmission and the playing of the video in the short message by utilizing the mobile terminal, can realize interaction in the video playing process, can read the received video file by the user directly through the short message, does not need to additionally download an APP, a network terminal and the like, and improves the user experience.

Description

Video playing method based on short message, server side and mobile terminal
Technical Field
The invention relates to the technical field of information, in particular to a video playing method based on short messages, a server side and a mobile terminal.
Background
Along with the product promotion and the propaganda requirement of present enterprise promote and the change of user's reading custom, most enterprises all hope to record some videos directly and explain product characteristics or new product publicity and directly push for the user, and current video broadcast mode includes: the method comprises the steps of mobile terminal APP on demand, webpage direct playing, IP network propagation, WeChat push, local downloading playing and the like. In these ways, a user usually needs to open a webpage or the like to play a corresponding video file actively, and currently, a plurality of APPs are installed on each mobile phone of the user, each enterprise needs to install a single APP, and usually a plurality of APPs or network terminals need to be installed, so that the requirements on the performance of the mobile phone are high, and the mobile phone needs to be connected and transmitted by an IP network all the time, and also needs to consume mobile phone traffic as a premise, and a large amount of memory and storage space is needed. In addition, there are some users who do not install or are lazy to install or terminals cannot install APP or network terminals, which also limits the development of video transmission. The mobile phone short message box is a necessary functional part for each mobile phone, and all users can simply receive and send short messages through the short message box.
However, the existing mobile phone short messages can only send text messages, and only 140 characters are usually supported at the present stage, and video and audio transmission cannot be supported; although the multimedia message can be provided with a video image theoretically, the limitation is that the multimedia message usually cannot exceed 300K, the video with larger capacity (for example, more than 300K) cannot be played, the short message cannot be requested in real time, and the online interaction on the mobile terminal cannot be realized. Therefore, how to transmit and play video in short message by using short mailbox becomes a technical problem to be solved urgently.
Disclosure of Invention
The invention aims to provide a video playing method based on a short message, a server side and a mobile terminal, wherein the transmission and playing of a video file are realized in the short message by using the mobile terminal, interaction can be realized in the video playing process, a user can read the received video file directly through the short message without additionally downloading an APP (application) and a network terminal, and the like, so that the user experience is improved.
In order to solve the above technical problem, according to a first embodiment of the present invention, a video playing method based on short messages is provided, where the video playing method is applied to a server and includes the following steps:
acquiring a video to be played;
converting the video to be played into video data to be transmitted in a preset format, wherein the video data to be transmitted in the preset format is suitable for being contained in a short message box of the mobile terminal;
and sending the video data to be transmitted in the preset format to the short message box of the mobile terminal in a short message mode so that the user can play the video to be played through a short message.
Further, the video data to be transmitted in the predetermined format includes video data to be transmitted and/or video link data.
Further, converting the video to be played into video data to be transmitted in a predetermined format, including:
judging whether the capacity of the video data to be transmitted exceeds a preset capacity or not;
and if the video capacity exceeds the preset capacity, compressing the video data to be sent to the preset capacity, wherein the preset capacity is the maximum video capacity which can be received by the mobile terminal short mailbox.
Further, converting the video to be played into video data to be transmitted in a predetermined format, including:
and splitting the video to be played into a video head file and a broken line continuous transmission link, wherein the video head file is used as the video data to be transmitted, and the broken line continuous transmission link is used as the video link data.
Further, converting the video to be played into video data to be transmitted in a predetermined format, including:
and adding a video link button corresponding to the video to be played in the short message to be sent as the video link data.
According to a second embodiment of the present invention, a video playing method based on short messages is provided, where the video playing method is applied to a mobile terminal, and includes the following steps:
the method comprises the steps that a short message box of the mobile terminal receives video data to be transmitted in a preset format issued by a server side in a short message mode, wherein the video data to be transmitted in the preset format is suitable for being contained in the short message box of the mobile terminal;
and the short mailbox processes the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) and plays the video to be played through a short message.
Further, the video data to be transmitted in the predetermined format includes video data to be transmitted and/or video links.
Further, the video data to be transmitted in the predetermined format includes video data to be transmitted, the short message box processes the video data to be transmitted in the predetermined format by implanting a software development kit SDK, and plays the video to be played by a short message, including the following steps:
detecting whether the video data to be sent is compressed or not in the short message box;
and if so, decompressing and restoring the video data to be sent through the SDK and then playing the video data, otherwise, directly playing the video data to be sent.
Further, the video data to be transmitted in the predetermined format comprises video data to be transmitted and video link data, the video data to be transmitted is a video head file split by the server, the video link data is a broken line continuous transmission link split by the server, and the video head file and the broken line continuous transmission link jointly form a video file to be played;
the short mailbox processes the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) and plays the video to be played through a short message, and the short mailbox comprises the following steps:
the short message box plays the video head file, and the SDK actively detects whether a continuous playing instruction is received or not after the video head file is played;
and if the continuous playing instruction is received, connecting the broken line continuous transmission link to the server through the SDK, and playing a video file corresponding to the broken line continuous transmission link in the short message.
Further, the video data to be transmitted in the predetermined format includes video link data, and the video link data is a video link button added in the short message to be sent and issued by the server;
the short mailbox processes the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) and plays the video to be played through a short message, and the short mailbox comprises the following steps:
detecting whether a command of clicking the video link button is received in the short message received by the short message box;
and if the video link button clicking instruction is received, the SDK directly connects the video link button to the server side and plays the video to be played in the short message.
Further, the method further comprises:
collecting a dotting information instruction obtained by a video playing window in the process of playing the video by the short message;
based on the dotting information instruction, the mobile terminal feeds back the dotting information to the server side in a short message mode, or is connected to the server side through a network, and the network comprises a communication network based on an HTTP (hyper text transport protocol);
and the mobile terminal short message box receives a service item corresponding to the dotting information sent by the server and pops up corresponding interactive layer operation, wherein the service item comprises one or more of consultation, ordering, real-time on-demand and video dotting.
Further, the method further comprises:
the mobile terminal short message box receives video data to be transmitted which are sent by the server and are subjected to dotting in advance, wherein the video transmission data which are subjected to dotting in advance comprise service items corresponding to dotting information;
and popping up corresponding interactive layer operation according to service items corresponding to the dotting information in the process of playing the video by the short message, wherein the service items comprise one or more of consultation, ordering, real-time on-demand and video dotting.
According to a third embodiment of the present invention, there is provided a server, including:
the acquisition module is configured to acquire a video to be played;
the conversion module is configured to convert the video to be played into video data to be transmitted in a predetermined format, wherein the video data to be transmitted in the predetermined format is suitable for being contained in a short message box of the mobile terminal;
and the sending module is configured to send the video data to be transmitted in the preset format to the short message box of the mobile terminal in a short message mode so that a user can play the video to be played through a short message.
Further, the video data to be transmitted in the predetermined format includes video data to be transmitted and/or video link data.
Further, the conversion module includes:
the judging unit is configured to judge whether the capacity of the video data to be transmitted exceeds a preset capacity before the video data to be transmitted in the preset format is transmitted to the mobile terminal short message box in a short message mode;
and the compression unit is configured to compress the video data to be transmitted to a value not exceeding a preset capacity if the capacity of the video data to be transmitted exceeds the preset capacity, wherein the preset capacity is the maximum video capacity which can be received by the short mailbox of the mobile terminal.
Further, the conversion module includes:
the splitting unit is configured to split the video to be played into a video head file and a broken line continuous transmission link, wherein the video head file is used as the video data to be sent, and the broken line continuous transmission link is used as the video link data.
Further, the conversion module includes:
and the adding unit is configured to add a video link button corresponding to the video to be played in the short message to be sent as the video link data.
According to a fourth embodiment of the present invention, there is provided a mobile terminal including:
the receiving module is configured to receive video data to be transmitted in a preset format issued by a server side through a short message mode by a short message box of the mobile terminal, wherein the video data to be transmitted in the preset format is suitable for being contained in the short message box of the mobile terminal;
and the playing module is configured to process the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) into the short message box and play the video to be played through a short message.
Further, the video data to be transmitted in the predetermined format includes video data to be transmitted and/or video link data.
Further, the video data to be transmitted in the predetermined format includes video data to be transmitted, and the playing module includes:
the detection unit is configured to detect whether the video data to be sent is compressed or not in the short message box;
and the decompression unit is configured to decompress and restore the video data to be transmitted through the SDK and then play the video data to be transmitted if the video data to be transmitted is compressed, or directly play the video data to be transmitted if the video data to be transmitted is not compressed.
Further, the video data to be transmitted in the predetermined format comprises video data to be transmitted and video link data, the video data to be transmitted is a video head file split by the server, the video link data is a broken line continuous transmission link split by the server, and the video head file and the broken line continuous transmission link jointly form a video file to be played;
the playing module comprises:
the first playing unit is configured to actively detect whether a continuous playing instruction is received by the SDK after the short message plays the video head file and the playing of the video head file is completed;
and the second playing unit is configured to connect the broken-line continuous transmission link to the server through the SDK if the continuous playing instruction is received, and play the video file corresponding to the broken-line continuous transmission link in the short message.
Further, the video data to be transmitted in the predetermined format includes video link data, and the video link data is a video link button added in the short message to be sent and issued by the server;
the playing module comprises:
the instruction receiving unit is configured to detect whether an instruction for clicking the video link button is received in the short message received by the short message box;
and the third playing unit is configured to directly connect the video link button to the server by the SDK and play the video to be played in the short message if the video link button clicking instruction is received.
Further, still include first interactive module, first interactive module includes:
the dotting information acquisition unit is configured to acquire a dotting information instruction acquired by a video playing window in the process of playing the video by the short message;
the dotting information feedback unit is configured to feed back the dotting information to the server side in a short message mode or connect the dotting information to the server side through a network based on the dotting information instruction, wherein the network comprises a communication network based on an HTTP (hyper text transport protocol);
and the first interaction unit is configured to receive a service item corresponding to the dotting information sent by the server through the short message box and pop up a corresponding interaction layer operation, wherein the service item comprises one or more of consultation, ordering, real-time on-demand and video dotting.
Further, still include the second interactive module, include:
the dotting information acquisition unit is configured to receive video data to be transmitted which are sent by the server and are subjected to dotting in advance by the mobile terminal short message box, wherein the video transmission data subjected to dotting in advance comprise service items corresponding to dotting information;
and the second interaction unit is configured to pop up corresponding interaction layer operation according to service items corresponding to the dotting information in the process of playing the video by the short message, wherein the service items comprise one or more of consultation, ordering, real-time on-demand and video dotting.
According to a fifth embodiment of the invention, a controller is provided comprising a memory and a processor, the memory storing a computer program enabling the implementation of the steps of the method when the program is executed by the processor.
According to a sixth embodiment of the invention, a computer-readable storage medium is provided for storing a computer program, which when executed by a computer or processor, performs the steps of the method.
The invention also comprises the following:
1. a video playing method based on short messages is characterized in that the video playing method is applied to a server side and comprises the following steps:
acquiring a video to be played;
converting the video to be played into video data to be transmitted in a preset format, wherein the video data to be transmitted in the preset format is suitable for being contained in a short message box of the mobile terminal;
and sending the video data to be transmitted in the preset format to the short message box of the mobile terminal in a short message mode so that the user can play the video to be played through a short message.
2. The method for playing video based on SMS according to item 1,
the video data to be transmitted in the preset format comprises video data to be transmitted and/or video link data.
3. The method for playing video based on SMS according to item 2,
converting the video to be played into video data to be transmitted in a preset format, wherein the method comprises the following steps:
judging whether the capacity of the video data to be transmitted exceeds a preset capacity or not;
and if the video capacity exceeds the preset capacity, compressing the video data to be sent to the preset capacity, wherein the preset capacity is the maximum video capacity which can be received by the mobile terminal short mailbox.
4. The method for playing video based on SMS according to item 2,
converting the video to be played into video data to be transmitted in a preset format, wherein the method comprises the following steps:
and splitting the video to be played into a video head file and a broken line continuous transmission link, wherein the video head file is used as the video data to be transmitted, and the broken line continuous transmission link is used as the video link data.
5. The method for playing video based on SMS according to item 2,
converting the video to be played into video data to be transmitted in a preset format, wherein the method comprises the following steps:
and adding a video link button corresponding to the video to be played in the short message to be sent as the video link data.
6. A video playing method based on short messages is characterized in that the video playing method is applied to a mobile terminal and comprises the following steps:
the method comprises the steps that a short message box of the mobile terminal receives video data to be transmitted in a preset format issued by a server side in a short message mode, wherein the video data to be transmitted in the preset format is suitable for being contained in the short message box of the mobile terminal;
and the short mailbox processes the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) and plays the video to be played through a short message.
7. The method for playing video based on SMS according to item 6,
the video data to be transmitted in the preset format comprises video data to be transmitted and/or video links.
8. The method for playing video based on SMS according to item 7,
the video data to be transmitted in the preset format comprises video data to be transmitted, the short message box processes the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK), and plays the video to be played through a short message, and the method comprises the following steps:
detecting whether the video data to be sent is compressed or not in the short message box;
and if so, decompressing and restoring the video data to be sent through the SDK and then playing the video data, otherwise, directly playing the video data to be sent.
9. The method for playing video based on SMS according to item 7,
the video data to be transmitted in the preset format comprises video data to be transmitted and video link data, the video data to be transmitted is a video head file split by the server, the video link data is a broken line continuous transmission link split by the server, and the video head file and the broken line continuous transmission link jointly form a video file to be played;
the short mailbox processes the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) and plays the video to be played through a short message, and the short mailbox comprises the following steps:
the short message box plays the video head file, and the SDK actively detects whether a continuous playing instruction is received or not after the video head file is played;
and if the continuous playing instruction is received, connecting the broken line continuous transmission link to the server through the SDK, and playing a video file corresponding to the broken line continuous transmission link in the short message.
10. The method for playing video based on SMS according to item 7,
the video data to be transmitted in the preset format comprises video link data, and the video link data is a video link button which is sent by the server and is added in the short message to be sent;
the short mailbox processes the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) and plays the video to be played through a short message, and the short mailbox comprises the following steps:
detecting whether a command of clicking the video link button is received in the short message received by the short message box;
and if the video link button clicking instruction is received, the SDK directly connects the video link button to the server side and plays the video to be played in the short message.
11. The video playing method based on short messages according to any one of items 6 to 10,
the method further comprises the following steps:
collecting a dotting information instruction obtained by a video playing window in the process of playing the video by the short message;
based on the dotting information instruction, the mobile terminal feeds back the dotting information to the server side in a short message mode, or is connected to the server side through a network, and the network comprises a communication network based on an HTTP (hyper text transport protocol);
and the mobile terminal short message box receives a service item corresponding to the dotting information sent by the server and pops up corresponding interactive layer operation, wherein the service item comprises one or more of consultation, ordering, real-time on-demand and video dotting.
12. The video playing method based on short messages according to any one of items 6 to 10,
the method further comprises the following steps:
the mobile terminal short message box receives video data to be transmitted which are sent by the server and are subjected to dotting in advance, wherein the video transmission data which are subjected to dotting in advance comprise service items corresponding to dotting information;
and popping up corresponding interactive layer operation according to service items corresponding to the dotting information in the process of playing the video by the short message, wherein the service items comprise one or more of consultation, ordering, real-time on-demand and video dotting.
13. A server, comprising:
the acquisition module is configured to acquire a video to be played;
the conversion module is configured to convert the video to be played into video data to be transmitted in a predetermined format, wherein the video data to be transmitted in the predetermined format is suitable for being contained in a short message box of the mobile terminal;
and the sending module is configured to send the video data to be transmitted in the preset format to the short message box of the mobile terminal in a short message mode so that a user can play the video to be played through a short message.
14. The server according to item 13, wherein,
the video data to be transmitted in the preset format comprises video data to be transmitted and/or video link data.
15. The server according to item 14, wherein,
the conversion module includes:
the judging unit is configured to judge whether the capacity of the video data to be transmitted exceeds a preset capacity before the video data to be transmitted in the preset format is transmitted to the mobile terminal short message box in a short message mode;
and the compression unit is configured to compress the video data to be transmitted to a value not exceeding a preset capacity if the capacity of the video data to be transmitted exceeds the preset capacity, wherein the preset capacity is the maximum video capacity which can be received by the short mailbox of the mobile terminal.
16. The server according to item 14, wherein,
the conversion module includes:
the splitting unit is configured to split the video to be played into a video head file and a broken line continuous transmission link, wherein the video head file is used as the video data to be sent, and the broken line continuous transmission link is used as the video link data.
17. The server according to item 14, wherein,
the conversion module includes:
and the adding unit is configured to add a video link button corresponding to the video to be played in the short message to be sent as the video link data.
18. A mobile terminal, comprising:
the receiving module is configured to receive video data to be transmitted in a preset format issued by a server side through a short message mode by a short message box of the mobile terminal, wherein the video data to be transmitted in the preset format is suitable for being contained in the short message box of the mobile terminal;
and the playing module is configured to process the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) into the short message box and play the video to be played through a short message.
19. The mobile terminal of item 18, wherein,
the video data to be transmitted in the preset format comprises video data to be transmitted and/or video links.
20. The mobile terminal according to item 19, wherein,
the video data to be transmitted in the predetermined format comprises video data to be transmitted, and the playing module comprises:
the detection unit is configured to detect whether the video data to be sent is compressed or not in the short message box;
and the decompression unit is configured to decompress and restore the video data to be transmitted through the SDK and then play the video data to be transmitted if the video data to be transmitted is compressed, or directly play the video data to be transmitted if the video data to be transmitted is not compressed.
21. The mobile terminal according to item 19, wherein,
the video data to be transmitted in the preset format comprises video data to be transmitted and video link data, the video data to be transmitted is a video head file split by the server, the video link data is a broken line continuous transmission link split by the server, and the video head file and the broken line continuous transmission link jointly form a video file to be played;
the playing module comprises:
the first playing unit is configured to actively detect whether a continuous playing instruction is received by the SDK after the short message plays the video head file and the playing of the video head file is completed;
and the second playing unit is configured to connect the broken-line continuous transmission link to the server through the SDK if the continuous playing instruction is received, and play the video file corresponding to the broken-line continuous transmission link in the short message.
22. The mobile terminal according to item 19,
the video data to be transmitted in the preset format comprises video link data, and the video link data is a video link button which is sent by the server and is added in the short message to be sent;
the playing module comprises:
the instruction receiving unit is configured to detect whether an instruction for clicking the video link button is received in the short message received by the short message box;
and the third playing unit is configured to directly connect the video link button to the server by the SDK and play the video to be played in the short message if the video link button clicking instruction is received.
23. The mobile terminal according to any of claims 18-22, wherein,
still include first interactive module, first interactive module includes:
the dotting information acquisition unit is configured to acquire a dotting information instruction acquired by a video playing window in the process of playing the video by the short message;
the dotting information feedback unit is configured to feed back the dotting information to the server side in a short message mode or connect the dotting information to the server side through a network based on the dotting information instruction, wherein the network comprises a communication network based on an HTTP (hyper text transport protocol);
and the first interaction unit is configured to receive a service item corresponding to the dotting information sent by the server through the short message box and pop up a corresponding interaction layer operation, wherein the service item comprises one or more of consultation, ordering, real-time on-demand and video dotting.
24. The mobile terminal according to any of claims 18-22, wherein,
still include the second interactive module, include:
the dotting information acquisition unit is configured to receive video data to be transmitted which are sent by the server and are subjected to dotting in advance by the mobile terminal short message box, wherein the video transmission data subjected to dotting in advance comprise service items corresponding to dotting information;
and the second interaction unit is configured to pop up corresponding interaction layer operation according to service items corresponding to the dotting information in the process of playing the video by the short message, wherein the service items comprise one or more of consultation, ordering, real-time on-demand and video dotting.
25. A controller comprising a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, is capable of performing the steps of the method of any of items 1 to 12.
26. A computer-readable storage medium storing a computer program, wherein the program implements the steps of the method of any one of items 1 to 12 when executed by a computer or processor.
Compared with the prior art, the invention has obvious advantages and beneficial effects. By the technical scheme, the video playing method based on the short message, the server and the mobile terminal can achieve considerable technical progress and practicability, have industrial wide utilization value and at least have the following advantages:
the invention processes the video file through the server side, and sends the video file to the inbox of the short message box of the mobile terminal in a short message mode, and the mobile terminal realizes the video playing in the short message by using the short message box and can realize the interaction in the video playing process. The method and the device enable the user to read and receive the video file with the capacity exceeding the preset capacity directly through the short message without additionally downloading the APP, the network terminal and the like and occupying a large amount of mobile phone memory and storage space, improve user experience, provide convenience for enterprises to push propaganda videos, and promote the development of video technology and short message boxes.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more clearly understood, the following preferred embodiments are described in detail with reference to the accompanying drawings.
Drawings
Fig. 1 is a schematic diagram of a video playing method based on short messages according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a video playing method based on short messages according to another embodiment of the present invention;
FIG. 3 is a diagram illustrating a server-side architecture according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an interaction process of a user, a mobile terminal, and a server according to an embodiment of the present invention.
[ description of symbols ]
11: the acquisition module 12: conversion module
13: the sending module 21: receiving module
22: the playing module 100: user' s
200: the mobile terminal 300: service terminal
Detailed Description
To further illustrate the technical means and effects of the present invention adopted to achieve the predetermined purpose, the following detailed description will be given to specific embodiments and effects of a video playing method based on short messages, a service end and a mobile terminal according to the present invention, with reference to the accompanying drawings and preferred embodiments.
An embodiment of the present invention provides a video playing method based on short messages, where an execution subject of the method provided in this embodiment is a server, as shown in fig. 1, the method specifically includes the following steps:
step S11, acquiring a video to be played;
as an example, a large amount of videos to be played may be stored in the server, the videos to be played may be directly obtained from a storage unit of the server, or the videos to be played may be obtained from an interface between the server and a video provision server.
Step S12, converting the video to be played into video data to be transmitted in a preset format, wherein the video data to be transmitted in the preset format is suitable for being contained in a short message box of the mobile terminal;
as an example, the video data to be transmitted in the predetermined format includes video data to be transmitted and/or video link data.
And step S13, sending the video data to be transmitted in the preset format to the short message box of the mobile terminal in a short message mode, so that the user can play the video to be played through a short message.
The video capacity that can be directly received in the short message is limited, and therefore, as an example, the step S12 includes:
step S101, judging whether the capacity of the video data to be transmitted exceeds a preset capacity or not;
step S102, if the video data to be transmitted exceeds the preset capacity, compressing the video data to be transmitted to a value not exceeding the preset capacity, where the preset capacity is a maximum video capacity that can be received by the short mailbox of the mobile terminal, and the preset capacity may be different for different mobile terminals, and may be specifically set according to the type and capacity of the mobile terminal, and as an example, the preset capacity may be set to 2M.
The video playing method based on short messages is explained by several different embodiments as follows:
the first embodiment,
The video data to be transmitted in the predetermined format only includes video data to be transmitted, and the video transmission method based on the short message specifically includes:
step S111, acquiring a video to be played;
step S112, converting the video to be played into video data to be sent;
step S113, judging whether the capacity of the video data to be transmitted exceeds a preset capacity, and if so, compressing the video data to be transmitted to the capacity not exceeding the preset capacity;
and step S114, sending the video data to be sent processed in the step S113 to the short message box of the mobile terminal in a short message mode so that the user can play the video to be played through a short message.
Example II,
The video data to be transmitted in the preset format comprises video data to be sent and video link data, and the video transmission method based on the short message specifically comprises the following steps:
step S121, acquiring a video to be played;
step S122, splitting the video to be played into a video head file and a broken line continuous transmission link, wherein the video head file is used as the video data to be transmitted, and the broken line continuous transmission link is used as the video link data;
step S123, judging whether the capacity of the video head file exceeds a preset capacity or not, and if so, compressing the video head file to be not more than the preset capacity;
and step S124, sending the video head file and the broken-line continuous transmission link processed in the step S123 to the short message box of the mobile terminal in a short message mode, so that the user can play the video to be played through a short message.
Example III,
The video data to be transmitted in the predetermined format only includes video link data, and the video transmission method based on the short message specifically includes:
s131, acquiring a video to be played;
step S132, adding a video link button corresponding to the video to be played in the short message to be sent as the video link data;
step S132, sending the short message to be sent added with the video link button corresponding to the video to be played to the short message box of the mobile terminal in a short message mode, so that the user can play the video to be played through the short message.
An embodiment of the present invention further provides a video playing method based on a short message, where an execution subject of the method is a mobile terminal, as shown in fig. 2, and the method includes the following steps:
step S21, a short message box of the mobile terminal receives video data to be transmitted in a preset format issued by a server in a short message mode, wherein the video data to be transmitted in the preset format is suitable for being contained in the short message box of the mobile terminal;
by way of example, the video data to be transmitted in the predetermined format includes video data to be transmitted and/or video links.
And step S22, processing the video data to be transmitted in the preset format by the short mailbox through implanting a Software Development Kit (SDK), and playing the video to be played through a short message.
It should be noted that the SDK may be implanted into the mobile terminal before the mobile terminal leaves a factory, or may be added to the mobile terminal after the mobile terminal leaves the factory, and the SDK on each mobile terminal may be upgraded.
If the video data to be transmitted in the predetermined format includes video data to be transmitted, the step S22 includes the following steps:
step S201, detecting whether the video data to be sent is compressed or not in the short message box;
step S201, if yes, decompressing and restoring the video data to be sent through the SDK, and then playing the video data to be sent, otherwise, directly playing the video data to be sent.
The video playing method based on short messages is explained in the following through several different embodiments:
example four,
The video data to be transmitted in the predetermined format only includes video data to be transmitted, and the video transmission method based on the short message specifically includes:
step S211, a short message box of the mobile terminal receives video data to be sent, which is issued by a server, in a short message mode;
step S212, whether the video data to be sent is compressed or not is detected in the short message box;
and S213, if so, decompressing and restoring the video data to be transmitted through the SDK and then playing the video data, otherwise, directly playing the video data to be transmitted.
Example V,
The video data to be transmitted in the preset format comprises video data to be sent and video link data, and the video transmission method based on the short message specifically comprises the following steps:
step S221, a short message box of a mobile terminal receives video data to be transmitted and video link data which are transmitted by a server in a short message mode, wherein the video data to be transmitted is a video head file split by the server, the video link data is a broken line continuous transmission link split by the server, and the video head file and the broken line continuous transmission link jointly form a video file to be played;
step S222, whether the video data to be sent is compressed or not is detected in the short message box, if yes, the video data to be sent is decompressed and restored through the SDK and then played, and if not, the video data to be sent is directly played;
step S223, after the playing of the video head file is completed, actively detecting whether a continuous playing instruction is received by the SDK; and if the continuous playing instruction is received, connecting the broken line continuous transmission link to the server through the SDK, and playing a video file corresponding to the broken line continuous transmission link in the short message. Therefore, the user can select whether to continue playing the video file corresponding to the broken-line continuous transmission link according to specific requirements, and the user experience is further improved; and the playing of the video file corresponding to the disconnected continuous transmission link is executed at the server side, and the short message page of the mobile terminal is displayed without downloading to the mobile terminal, occupying the capacity of the mobile terminal additionally, and downloading the APP, the network terminal and the like corresponding to the video file.
Example six,
The video data to be transmitted in the predetermined format only includes video link data, and the video transmission method based on the short message specifically includes:
step S231, a short message box of the mobile terminal receives video link data issued by a server in a short message mode, wherein the video link data is a video link button which is issued by the server and is added in a short message to be sent;
step S232, detecting whether a command for clicking the video link button is received in the short message received by the short message box;
step S233, if the instruction of clicking the video link button is received, the SDK directly connects the video link button to the server, and plays the video to be played in the short message. Therefore, the playing of the video file corresponding to the video link button is executed at the server side, the short message page of the mobile terminal is displayed, the short message page does not need to be downloaded to the mobile terminal, the capacity of the mobile terminal is not occupied additionally, and the APP, the network terminal and the like corresponding to the video file do not need to be downloaded. In the process, the short message box serves as a portal, and the video file is played.
In the process of playing the video in the short message box, the user and the enterprise have interactive requirements, and therefore, the interaction between the server and the mobile terminal can be realized directly by executing corresponding operations in the video playing process, and as an example, the video playing method in this embodiment further includes:
step S31, collecting dotting information instructions obtained by a video playing window in the process of playing videos by short messages;
step S32, based on the dotting information instruction, the mobile terminal feeds back the dotting information to the server side in a short message mode, or is connected to the server side through a network, and the network comprises a communication network based on an HTTP protocol;
and step S33, the short message box of the mobile terminal receives a service item corresponding to the dotting information issued by the server and pops up a corresponding interactive layer operation, wherein the service item comprises one or more of consultation, ordering, real-time on demand and video dotting.
As another example, the video playing method further includes:
step S301, the mobile terminal short message box receives video data to be transmitted which is issued by the server and is subjected to dotting in advance, wherein the video transmission data which is subjected to dotting in advance comprises service items corresponding to dotting information;
step S302, in the process of playing the video by the short message, popping up corresponding interactive layer operation according to the service item corresponding to the dotting information, wherein the service item comprises one or more of consultation, ordering, real-time on demand and video dotting.
An embodiment of the present invention further provides a server, configured to execute a video playing method based on a short message, as shown in fig. 3, where the method includes: the device comprises an acquisition module 11, a conversion module 12 and a sending module 13, wherein the acquisition module 11 is configured to acquire a video to be played; the conversion module 12 is configured to convert the video to be played into video data to be transmitted in a predetermined format, where the video data to be transmitted in the predetermined format is suitable for being contained in a short message box of the mobile terminal; the sending module 13 is configured to send the video data to be transmitted in the predetermined format to the short message box of the mobile terminal in a short message manner, so that the user can play the video to be played through a short message, different mobile terminals may have different preset capacities, which may be specifically set according to the type and capacity of the mobile terminal, and as an example, the preset capacity may be set to 2M.
As an example, the video data to be transmitted in the predetermined format includes video data to be transmitted and/or video link data.
As an example, the conversion module 12 includes a determining unit and a compressing unit, where the determining unit is configured to determine whether the capacity of the to-be-transmitted video data exceeds a preset capacity before the to-be-transmitted video data in the predetermined format is sent to the short message box of the mobile terminal by a short message; the compression unit is configured to compress the video data to be transmitted to a value not exceeding a preset capacity if the capacity of the video data to be transmitted exceeds the preset capacity, wherein the preset capacity is the maximum video capacity which can be received by the mobile terminal short mailbox.
The server is described below by means of several embodiments:
example seven,
In this embodiment, the server is adapted to only include video data to be transmitted in the predetermined format, specifically:
the server comprises an acquisition module 11, a conversion module 12 and a sending module 13, wherein the acquisition module 11 is configured to acquire a video to be played; the conversion module 12 is configured to convert the video to be played into video data to be transmitted, and includes a determination unit and a compression unit, where the determination unit is configured to determine whether the capacity of the video data to be transmitted exceeds a preset capacity; the compression unit is configured to compress the video data to be transmitted to a value not exceeding a preset capacity if the capacity of the video data to be transmitted exceeds the preset capacity; the sending module 13 is configured to send the video data to be sent processed by the determining unit and the compressing unit to the short message box of the mobile terminal in a short message manner, so that the user can play the video to be played through a short message.
Example eight,
In this embodiment, the server is adapted to the to-be-transmitted video data in the predetermined format and includes to-be-transmitted video data and video link data, specifically:
the server comprises an acquisition module 11, a conversion module 12 and a sending module 13, wherein the acquisition module 11 is configured to acquire a video to be played; the conversion module 12 includes a splitting unit, a determining unit and a compressing unit, wherein the splitting unit is configured to split the video to be played into a video head file and a broken-line continuous transmission link, the video head file is used as the video data to be transmitted, and the broken-line continuous transmission link is used as the video link data; the judging unit is configured to judge whether the capacity of the video head file exceeds a preset capacity; the compression unit is configured to compress the video head file to be not more than a preset capacity if the capacity of the video head file exceeds the preset capacity; the sending module 13 is configured to send the video head file and the broken continuous transmission link processed by the judging unit and the compressing unit to the short message box of the mobile terminal in a short message manner, so that the user can play the video to be played through a short message.
Examples nine,
In this embodiment, the server is adapted to the video data to be transmitted in the predetermined format and only includes video link data, specifically:
the server comprises an acquisition module 11, a conversion module 12 and a sending module 13, wherein the acquisition module 11 is configured to acquire a video to be played; the conversion module 12 includes an adding unit configured to add a video link button corresponding to the video to be played in the short message to be sent as the video link data. The sending module 13 is configured to send the to-be-sent short message added with the video link button corresponding to the to-be-played video to the mobile terminal short message box in a short message manner, so that the user can play the to-be-played video through the short message.
The embodiment of the present invention further provides a mobile terminal, configured to execute the video playing method based on short messages in the embodiment of the present invention, as shown in fig. 4, including a receiving module 21 and a playing module 22, where the receiving module 21 is configured to receive, by a short message box of the mobile terminal, video data to be transmitted in a predetermined format sent by a service end in a short message manner, where the video data to be transmitted in the predetermined format is suitable for being accommodated in the short message box of the mobile terminal; the playing module 22 is configured to process the video data to be transmitted in the predetermined format through the embedded software development kit SDK, and play the video to be played through a short message. It should be noted that the SDK may be implanted into the mobile terminal before the mobile terminal leaves a factory, or may be added to the mobile terminal after the mobile terminal leaves the factory, and the SDK on each mobile terminal may be upgraded. The mobile terminal comprises all mobile terminals with the function of the short message box, such as a mobile phone, a tablet computer and the like.
As an example, the video data to be transmitted in the predetermined format includes video data to be transmitted and/or video link data.
When the video data to be transmitted in the predetermined format includes video data to be transmitted, the playing module 22 includes a detecting unit and a decompressing unit, wherein the detecting unit is configured to detect whether the video data to be transmitted is compressed or not through the short message box; the decompression unit is configured to decompress and restore the video data to be transmitted through the SDK and then play the video data to be transmitted if the video data to be transmitted is compressed, or directly play the video data to be transmitted if the video data to be transmitted is not compressed.
The mobile terminal is described below by means of several embodiments:
examples ten,
The mobile terminal of this embodiment is adapted to the video data to be transmitted in the predetermined format and only includes video data to be transmitted, specifically:
the mobile terminal comprises a receiving module 21 and a playing module 22, wherein the receiving module 21 is configured to receive video data to be sent by a service end through a short message mode by a short message box of the mobile terminal; the playing module 22 comprises a detection unit and a decompression unit, wherein the detection unit is configured to detect whether the video data to be sent is compressed or not through the short message box; the decompression unit is configured to decompress and restore the video data to be transmitted through the SDK and then play the video data to be transmitted if the video data to be transmitted is compressed, or directly play the video data to be transmitted if the video data to be transmitted is not compressed.
Examples eleven,
The mobile terminal of this embodiment is adapted to the video data to be transmitted in the predetermined format and includes video data to be transmitted and video link data, specifically:
the mobile terminal comprises a receiving module 21 and a playing module 22, wherein the receiving module 21 is configured to receive video data to be sent and video link data sent by a server side through a short message mode by a short message box of the mobile terminal; the playing module 22 includes a first playing unit and a second playing unit, the first playing unit is configured to play the video head file in the short message, and the SDK actively detects whether a continuous playing instruction is received after the playing of the video head file is completed, so that a user can select whether to continue playing the video file corresponding to the broken-line continuous transmission link according to specific requirements, thereby further improving the user experience; the first playing unit further comprises a detection unit and a decompression unit, wherein the detection unit is configured to detect whether the video head file is compressed or not through the short message box; the decompression unit is configured to decompress and restore the video head file through the SDK and then play the video head file through the first playing unit if the video head file is compressed, or directly play the video head file through the first playing unit if the video head file is not compressed. And the second playing unit is configured to be connected to the server through the SDK if the continuous playing instruction is received, and play the video file corresponding to the broken continuous transmission link in the short message, so that the play of the video file corresponding to the broken continuous transmission link is executed at the server, and the video file is displayed on a short message page of the mobile terminal, does not need to be downloaded to the mobile terminal, does not occupy the capacity of the mobile terminal additionally, and does not need to download the APP, the network terminal and the like corresponding to the video file.
Examples twelve,
The mobile terminal of this embodiment is adapted to the video data to be transmitted in the predetermined format and only includes video link data, specifically:
the mobile terminal comprises a receiving module 21 and a playing module 22, wherein the receiving module 21 is configured to receive video link data issued by a service end through a short message mode by a short message box of the mobile terminal; the playing module 22 comprises an instruction receiving unit and a third playing unit, wherein the instruction receiving unit is configured to detect whether an instruction for clicking the video link button is received in the short message received by the short message box; the third playing unit is configured to receive the instruction of clicking the video link button, then the SDK directly connects the video link button to the server, and plays the video to be played in the short message, so that the playing of the video file corresponding to the video link button is executed at the server, and the video file is displayed on the short message page of the mobile terminal without being downloaded to the mobile terminal, occupying the capacity of the mobile terminal additionally, downloading the APP, the network terminal and the like corresponding to the video file. In the process, the short message box serves as a portal, and the video file is played.
As an example, the mobile terminal further comprises a first interaction module, wherein the first interaction module comprises a dotting information acquisition unit, a dotting information feedback unit and a first interaction unit, and the dotting information acquisition unit is configured to acquire a dotting information instruction acquired by a video playing window in the process of playing a video through a short message; the dotting information feedback unit is configured to feed back the dotting information to the server side in a short message mode or connect the dotting information to the server side through a network based on the dotting information instruction, and the network comprises a communication network based on an HTTP (hyper text transport protocol); the first interaction unit is configured to receive a service item corresponding to the dotting information issued by the server through the short message box and pop up a corresponding interaction layer operation, wherein the service item comprises one or more of consultation, ordering, real-time on-demand and video dotting.
As another example, the mobile terminal further includes a second interaction module, including: the dotting information acquisition unit is configured to receive video data to be transmitted which are sent by the server and are subjected to dotting in advance by the mobile terminal short message box, wherein the video transmission data subjected to dotting in advance comprise service items corresponding to dotting information; and the second interaction unit is configured to pop up corresponding interaction layer operation according to service items corresponding to the dotting information in the process of playing the video by the short message, wherein the service items comprise one or more of consultation, ordering, real-time on-demand and video dotting.
The following describes in detail the interaction process between the user, the mobile terminal and the server by way of a thirteenth embodiment:
example thirteen:
as shown in fig. 5, the interactive process of the user 100, the mobile terminal 200 and the server 300 includes the following steps:
step S501, the server 300 judges whether the capacity of the video data to be sent exceeds a preset capacity;
step S502, if the video data to be sent exceeds the preset capacity, compressing the video data to be sent to the preset capacity, wherein the preset capacity is the maximum video capacity which can be received by the short mailbox of the mobile terminal 200;
step S503, the server 300 sends the video data and/or video link to be sent to the short message box of the mobile terminal 200 in a short message mode;
step S504, the user 100 requests to play the video data to be sent in the short message;
step S505, the mobile terminal 200 detects whether the video data to be sent is compressed in the short message box;
step S506, if yes, decompressing and restoring the video data to be sent through the SDK, and then playing the video data to be sent, otherwise, directly playing the video data to be sent;
step S507, the mobile terminal 200 presents the video corresponding to the video data to be sent to the user 100 in the short message box;
step S508, the user 100 requests to play the video link in the short message;
step S509, the mobile terminal 200 sends a video link playing instruction to the server 300;
step S510, the server 300 connects the video link according to the video link playing instruction;
step S511, the server 300 sends a video playing instruction to the mobile terminal 200;
step S512, the mobile terminal 200 plays the video file corresponding to the video link in the short message box according to the video playing instruction;
in step S513, the mobile terminal 200 presents the video corresponding to the video link to the user 100 in the short message box.
The embodiment of the invention also provides a controller, which comprises a memory and a processor, wherein the memory stores a computer program, and the program can realize the steps of the video playing method based on the short message when being executed by the processor.
An embodiment of the present invention further provides a computer-readable storage medium for storing a computer program, where the computer program is executed by a computer or a processor to implement the steps of the video playing method based on short messages.
The embodiment of the invention processes the video file through the server side and sends the video file to the short message box of the mobile terminal in a short message mode, and the mobile terminal realizes the video playing in the short message by using the short message box and can realize interaction in the video playing process. According to the invention, the user can read the received video file and browse the video content in the short message directly through the SDK arranged on the mobile terminal, the APP, the network terminal and the like do not need to be downloaded additionally, a large amount of mobile phone memory and storage space do not need to be occupied, and the user experience is improved. Enterprises need to simply upgrade the original short message system, namely, the short messages containing the video files can be pushed for users through the service ports corresponding to the service ends, convenience is provided for pushing the propaganda videos for the enterprises, and the development of video technology and short message boxes is promoted.
Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A video playing method based on short messages is characterized in that the video playing method is applied to a server side and comprises the following steps:
acquiring a video to be played;
converting the video to be played into video data to be transmitted in a preset format, wherein the video data to be transmitted in the preset format comprises video data to be sent and/or video link data; the video data to be transmitted in the preset format is suitable for being contained in a short message box of the mobile terminal; converting the video to be played into video data to be transmitted in a preset format, wherein the method comprises the following steps: judging whether the capacity of the video data to be transmitted exceeds a preset capacity or not; if the video capacity exceeds the preset capacity, compressing the video data to be sent to the preset capacity, wherein the preset capacity is the maximum video capacity which can be received by the mobile terminal short mail box; further comprising: splitting the video to be played into a video head file and a broken line continuous transmission link, wherein the video head file is used as the video data to be transmitted, and the broken line continuous transmission link is used as the video link data;
and sending the video data to be transmitted in the preset format to the short message box of the mobile terminal in a short message mode so that the user can play the video to be played through a short message.
2. The SMS-based video playback method of claim 1,
converting the video to be played into video data to be transmitted in a preset format, wherein the method comprises the following steps:
and adding a video link button corresponding to the video to be played in the short message to be sent as the video link data.
3. A video playing method based on short messages is characterized in that the video playing method is applied to a mobile terminal and comprises the following steps:
the method comprises the steps that a short message box of the mobile terminal receives video data to be transmitted in a preset format issued by a server side in a short message mode, wherein the video data to be transmitted in the preset format is suitable for being contained in the short message box of the mobile terminal; the video data to be transmitted in the preset format comprises video data to be transmitted and video link data, the video data to be transmitted is a video head file split by the server, the video link data is a broken line continuous transmission link split by the server, and the video head file and the broken line continuous transmission link jointly form a video file of a video to be played;
the short mailbox processes the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) and plays the video to be played through a short message, and the short mailbox comprises the following steps: detecting whether the video data to be sent is compressed or not in the short message box; if so, decompressing and restoring the video data to be sent through the SDK and then playing the video data, otherwise, directly playing the video data to be sent;
the short mailbox processes the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) and plays the video to be played through a short message, and the short mailbox comprises the following steps:
the short message box plays the video head file, and the SDK actively detects whether a continuous playing instruction is received or not after the video head file is played;
and if the continuous playing instruction is received, connecting the broken line continuous transmission link to the server through the SDK, and playing a video file corresponding to the broken line continuous transmission link in the short message.
4. The SMS-based video playback method of claim 3,
the video data to be transmitted in the preset format comprises video link data, and the video link data is a video link button which is sent by the server and is added in the short message to be sent;
the short mailbox processes the video data to be transmitted in the preset format through implanting a Software Development Kit (SDK) and plays the video to be played through a short message, and the short mailbox comprises the following steps:
detecting whether a command of clicking the video link button is received in the short message received by the short message box;
and if the video link button clicking instruction is received, the SDK directly connects the video link button to the server side and plays the video to be played in the short message.
5. The SMS-based video playback method of any one of claims 3-4,
the method further comprises the following steps:
collecting a dotting information instruction obtained by a video playing window in the process of playing the video by the short message;
based on the dotting information instruction, the mobile terminal feeds back the dotting information to the server side in a short message mode, or is connected to the server side through a network, and the network comprises a communication network based on an HTTP (hyper text transport protocol);
and the mobile terminal short message box receives a service item corresponding to the dotting information sent by the server and pops up corresponding interactive layer operation, wherein the service item comprises one or more of consultation, ordering, real-time on-demand and video dotting.
6. The SMS-based video playback method of any one of claims 3-4,
the method further comprises the following steps:
the mobile terminal short message box receives video data to be transmitted which are sent by the server and are subjected to dotting in advance, wherein the video transmission data which are subjected to dotting in advance comprise service items corresponding to dotting information;
and popping up corresponding interactive layer operation according to service items corresponding to the dotting information in the process of playing the video by the short message, wherein the service items comprise one or more of consultation, ordering, real-time on-demand and video dotting.
7. A server, comprising:
the acquisition module is configured to acquire a video to be played;
the conversion module is configured to convert the video to be played into video data to be transmitted in a predetermined format, wherein the video data to be transmitted in the predetermined format is suitable for being contained in a short message box of the mobile terminal; the video data to be transmitted in the preset format comprises video data to be transmitted and/or video link data; the conversion module includes: the judging unit is configured to judge whether the capacity of the video data to be transmitted exceeds a preset capacity before the video data to be transmitted in the preset format is transmitted to the mobile terminal short message box in a short message mode; the compression unit is configured to compress the video data to be transmitted to a value not exceeding a preset capacity if the capacity of the video data to be transmitted exceeds the preset capacity, wherein the preset capacity is the maximum video capacity which can be received by the mobile terminal short mailbox; the splitting unit is configured to split the video to be played into a video head file and a broken line continuous transmission link, wherein the video head file is used as the video data to be sent, and the broken line continuous transmission link is used as the video link data;
and the sending module is configured to send the video data to be transmitted in the preset format to the short message box of the mobile terminal in a short message mode so that a user can play the video to be played through a short message.
8. The server according to claim 7,
the conversion module includes:
and the adding unit is configured to add a video link button corresponding to the video to be played in the short message to be sent as the video link data.
9. A mobile terminal, comprising:
the receiving module is configured to receive video data to be transmitted in a preset format issued by a server side through a short message mode by a short message box of the mobile terminal, wherein the video data to be transmitted in the preset format is suitable for being contained in the short message box of the mobile terminal; the video data to be transmitted in the preset format comprises video data to be transmitted and video link data, the video data to be transmitted is a video head file split by the server, the video link data is a broken line continuous transmission link split by the server, and the video head file and the broken line continuous transmission link jointly form a video file of a video to be played;
the playing module is configured to process the video data to be transmitted in the preset format through the short message box by implanting a Software Development Kit (SDK), and play the video to be played through a short message; the playing module comprises:
the detection unit is configured to detect whether the video data to be sent is compressed or not in the short message box;
the decompression unit is configured to decompress and restore the video data to be transmitted through the SDK and then play the video data to be transmitted if the video data to be transmitted is compressed, or directly play the video data to be transmitted if the video data to be transmitted is not compressed;
the first playing unit is configured to actively detect whether a continuous playing instruction is received by the SDK after the short message plays the video head file and the playing of the video head file is completed; and
and the second playing unit is configured to connect the broken-line continuous transmission link to the server through the SDK if the continuous playing instruction is received, and play the video file corresponding to the broken-line continuous transmission link in the short message.
10. The mobile terminal of claim 9,
the video data to be transmitted in the preset format comprises video link data, and the video link data is a video link button which is sent by the server and is added in the short message to be sent;
the playing module comprises:
the instruction receiving unit is configured to detect whether an instruction for clicking the video link button is received in the short message received by the short message box;
and the third playing unit is configured to directly connect the video link button to the server by the SDK and play the video to be played in the short message if the video link button clicking instruction is received.
11. The mobile terminal according to any of claims 9-10,
still include first interactive module, first interactive module includes:
the dotting information acquisition unit is configured to acquire a dotting information instruction acquired by a video playing window in the process of playing the video by the short message;
the dotting information feedback unit is configured to feed back the dotting information to the server side in a short message mode or connect the dotting information to the server side through a network based on the dotting information instruction, wherein the network comprises a communication network based on an HTTP (hyper text transport protocol);
and the first interaction unit is configured to receive a service item corresponding to the dotting information sent by the server through the short message box and pop up a corresponding interaction layer operation, wherein the service item comprises one or more of consultation, ordering, real-time on-demand and video dotting.
12. The mobile terminal according to any of claims 9-10,
still include the second interactive module, include:
the dotting information acquisition unit is configured to receive video data to be transmitted which are sent by the server and are subjected to dotting in advance by the mobile terminal short message box, wherein the video transmission data subjected to dotting in advance comprise service items corresponding to dotting information;
and the second interaction unit is configured to pop up corresponding interaction layer operation according to service items corresponding to the dotting information in the process of playing the video by the short message, wherein the service items comprise one or more of consultation, ordering, real-time on-demand and video dotting.
13. A controller comprising a memory and a processor, characterized in that the memory stores a computer program which, when executed by the processor, is capable of carrying out the steps of the method of any one of claims 1 to 6.
14. A computer-readable storage medium for storing a computer program, characterized in that the program realizes the steps of the method of any one of claims 1 to 6 when executed by a computer or processor.
CN201910045086.2A 2019-01-17 2019-01-17 Video playing method based on short message, server side and mobile terminal Active CN111447491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910045086.2A CN111447491B (en) 2019-01-17 2019-01-17 Video playing method based on short message, server side and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910045086.2A CN111447491B (en) 2019-01-17 2019-01-17 Video playing method based on short message, server side and mobile terminal

Publications (2)

Publication Number Publication Date
CN111447491A CN111447491A (en) 2020-07-24
CN111447491B true CN111447491B (en) 2022-05-13

Family

ID=71648638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910045086.2A Active CN111447491B (en) 2019-01-17 2019-01-17 Video playing method based on short message, server side and mobile terminal

Country Status (1)

Country Link
CN (1) CN111447491B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345902A (en) * 2007-07-13 2009-01-14 上海东登视讯科技有限公司 Bulk-sending method for mobile phone multimedia video short message
CN103476010A (en) * 2013-09-11 2013-12-25 深圳市明日空间信息技术有限公司 Multimedia message reading method and multimedia message platform
CN103974209A (en) * 2013-01-29 2014-08-06 华为技术有限公司 Video short message transmitting and receiving method and device and handheld electronic equipment
CN105681540A (en) * 2014-11-18 2016-06-15 青岛海信移动通信技术股份有限公司 Multimedia message play method and apparatus
CN106105245A (en) * 2014-03-17 2016-11-09 微软技术许可有限责任公司 The playback of interconnection video
CN106534540A (en) * 2016-11-17 2017-03-22 中卓信(北京)科技有限公司 Communication information displaying method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345902A (en) * 2007-07-13 2009-01-14 上海东登视讯科技有限公司 Bulk-sending method for mobile phone multimedia video short message
CN103974209A (en) * 2013-01-29 2014-08-06 华为技术有限公司 Video short message transmitting and receiving method and device and handheld electronic equipment
CN103476010A (en) * 2013-09-11 2013-12-25 深圳市明日空间信息技术有限公司 Multimedia message reading method and multimedia message platform
CN106105245A (en) * 2014-03-17 2016-11-09 微软技术许可有限责任公司 The playback of interconnection video
CN105681540A (en) * 2014-11-18 2016-06-15 青岛海信移动通信技术股份有限公司 Multimedia message play method and apparatus
CN106534540A (en) * 2016-11-17 2017-03-22 中卓信(北京)科技有限公司 Communication information displaying method and device

Also Published As

Publication number Publication date
CN111447491A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN102571726A (en) Multimedia data sharing method, system and state judgment server
CN102710789A (en) Interaction method, system and device for data between intelligent terminals
US8478895B2 (en) Content adaptation realizing method and content adaptation server
CN107635014B (en) File transmission and presentation method, server and mobile terminal
CN101815995B (en) System and method for producing importance rate-based rich media, and server applied to the same
CN1941899A (en) System and method for downloading contents
CN101543011A (en) Bundling of multimedia content and decoding means
CN109510754B (en) Online document generation method, device and system and electronic equipment
CN104217024A (en) Method and device for processing webpage data
WO2012013901A1 (en) Mobile telephone including a streaming server having a means for controlling the conversion of a file before the streaming thereof
CN111093094A (en) Video transcoding method, device and system, electronic equipment and readable storage medium
CN104639985B (en) Control method for playing multimedia and system
CN102571826B (en) The method and system applied from the network platform to client push
CN104272774A (en) Systems and methods for processing encoded data streams
WO2011116558A1 (en) Method and terminal for processing short message
CN111447491B (en) Video playing method based on short message, server side and mobile terminal
CN100486162C (en) System and method for displaying received data using separate device
US20080133655A1 (en) Network system
CN113543109B (en) Emergency communication system, method and adaptive server
CN105580398A (en) Distribution management device, terminal, and distribution management method
CN103338315A (en) Information processing method and device
CN103906007A (en) Multimedia-message forwarding method and device
JP6074910B2 (en) Network system, terminal and terminal program
WO2014163902A1 (en) Audible content delivery system
CN103297820A (en) Advertising information processing method

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220519

Address after: Room 403-030, 4th floor, building 6, yard 1, Shangdi 10th Street, Haidian District, Beijing 100085

Patentee after: Beijing zhongyingtong Information Technology Co.,Ltd.

Address before: A201, No. 12, Shangdi Information Road, Haidian District, Beijing 100085

Patentee before: TIANJIN TIAOTIAOWA TECHNOLOGY CO.,LTD.