CN106412679B - Media content acquisition method, media content providing method, media content acquisition device, media content providing device and media content providing system - Google Patents

Media content acquisition method, media content providing method, media content acquisition device, media content providing device and media content providing system Download PDF

Info

Publication number
CN106412679B
CN106412679B CN201510465643.8A CN201510465643A CN106412679B CN 106412679 B CN106412679 B CN 106412679B CN 201510465643 A CN201510465643 A CN 201510465643A CN 106412679 B CN106412679 B CN 106412679B
Authority
CN
China
Prior art keywords
near field
media content
terminal
url
equipment
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
CN201510465643.8A
Other languages
Chinese (zh)
Other versions
CN106412679A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510465643.8A priority Critical patent/CN106412679B/en
Publication of CN106412679A publication Critical patent/CN106412679A/en
Application granted granted Critical
Publication of CN106412679B publication Critical patent/CN106412679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • 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
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a media content acquisition method, a media content providing device and a media content providing system, and belongs to the field of communication. The method comprises the following steps: receiving instant messaging information sent by near field equipment through a communication server, wherein the instant messaging information carries a URL (uniform resource locator), the URL carries an equipment identifier of the near field equipment and path information of media content, and when the URL is triggered, the media content is obtained from the near field equipment corresponding to the equipment identifier of the near field equipment carried in the URL according to the path information of the media content carried in the URL; and playing the media content. The invention solves the problem that the video in the automobile data recorder cannot be read when the special client is not installed in the mobile phone; the effect that the media content can be obtained from the near field equipment through the communication application program as long as the communication application program with the highest utilization rate is installed in the terminal and the special client corresponding to the near field equipment does not need to be installed is achieved.

Description

Media content acquisition method, media content providing method, media content acquisition device, media content providing device and media content providing system
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for acquiring media content.
Background
The automobile data recorder is an increasingly widely used vehicle-mounted device at present, and is used for recording environmental videos of a vehicle in a stopping process or a traveling process.
Some automobile data recorders support a WIFI (Wireless Fidelity) protocol, so that a WIFI connection can be established between the mobile phone and the automobile data recorders. Meanwhile, a special client corresponding to the automobile data recorder is installed on the mobile phone. The user can open a special client on the mobile phone, and the video recorded in the automobile data recorder is read and played through the special client.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems: the mobile phone must be provided with a special client corresponding to the automobile data recorder to read the video in the automobile data recorder. If the special client corresponding to the automobile data recorder is not installed in the mobile phone, the video in the automobile data recorder cannot be read.
Disclosure of Invention
In order to solve the problem that a video in a vehicle event data recorder cannot be read when a special client is not installed in a mobile phone, embodiments of the present invention provide a method, a device and a system for acquiring media content. The technical scheme is as follows:
according to a first aspect of the present invention, there is provided a media content acquisition method, the method comprising:
receiving instant messaging information sent by near field equipment through a communication server, wherein the instant messaging information carries a uniform resource identifier (URL), and the URL carries an equipment identifier of the near field equipment and path information of media content;
when the URL is triggered, acquiring the media content from near field equipment corresponding to the equipment identifier of the near field equipment carried in the URL according to the path information of the media content carried in the URL;
and playing the media content.
According to a second aspect of the present invention, there is provided a media content providing method, the method comprising:
sending instant messaging information to a terminal through a communication server, wherein the instant messaging information carries a uniform resource identifier (URL), and the URL carries an equipment identifier of a near field equipment and path information of media content, so that the terminal can obtain the media content from the near field equipment corresponding to the equipment identifier of the near field equipment carried in the URL when the URL is triggered according to the path information of the media content carried by the URL;
and providing the media content to the terminal so that the terminal can play the media content.
According to a third aspect of the present invention, there is provided a media content acquiring apparatus, the apparatus comprising:
the near field equipment comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving instant messaging information sent by the near field equipment through a communication server, and the instant messaging information carries a uniform resource identifier (URL); the URL carries the equipment identification of the near field equipment and the path information of the media content;
an obtaining module, configured to obtain, when the URL is triggered, the media content from near-field equipment corresponding to the equipment identifier of the near-field equipment carried in the URL according to the path information of the media content carried in the URL;
and the playing module is used for playing the media content.
According to a fourth aspect of the present invention, there is provided a media content providing apparatus, the apparatus comprising:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending instant messaging information to a terminal through a communication server, and the instant messaging information carries a uniform resource identifier (URL); the URL carries the equipment identification of the near field equipment and the path information of the media content, so that the terminal can acquire the media content from the near field equipment corresponding to the equipment identification of the near field equipment carried in the URL when the URL is triggered according to the path information of the media content carried by the URL;
and the providing module is used for providing the media content to the terminal so that the terminal can play the media content.
According to a fifth aspect of the present invention, there is provided a media content providing system, the system comprising: the terminal, the near field equipment and the communication server;
the terminal comprises a media content acquiring device as described in the third aspect above;
the near field device comprising a media content providing apparatus as described in the fourth aspect above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
receiving instant communication information sent by near field equipment through a communication server through a terminal, wherein the instant communication information carries a URL (uniform resource locator), and the URL carries equipment identification of the near field equipment and path information of media content; when the URL is triggered, the terminal acquires the media content from the near field equipment corresponding to the equipment identification of the near field equipment carried in the URL according to the path information of the media content carried in the URL; playing the media content; the problem that the video in the automobile data recorder cannot be read when a special client is not installed in the mobile phone is solved; the effect that the media content can be obtained from the near field equipment through the communication application program as long as the communication application program with the highest utilization rate is installed in the terminal and the special client corresponding to the near field equipment does not need to be installed is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1A and fig. 1B are schematic structural diagrams respectively illustrating two implementation environments provided by an embodiment of the present invention;
FIG. 2 is a flow chart of a method of media content retrieval according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method of media content retrieval according to another embodiment of the present invention;
FIG. 4 is a schematic interface diagram of a media content acquiring method according to an embodiment of the present invention;
fig. 5 is a block diagram illustrating a structure of a media content acquiring apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram showing a configuration of a media content acquiring apparatus according to another embodiment of the present invention;
fig. 7 is a block diagram showing a configuration of a media content providing apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram showing a configuration of a media content providing apparatus according to another embodiment of the present invention;
fig. 9 is a block diagram showing a configuration of a media content providing system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1A, a schematic structural diagram of an implementation environment according to an embodiment of the invention is shown. The implementation environment includes: a terminal 120, a near field device 140 and a communication server 160.
The terminal 120 may be a mobile phone, a tablet computer, an e-book reader, an MP3 player (Moving picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), an MP4 player (Moving picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), a laptop, a desktop computer, and the like. The terminal 120 has a communication application installed therein, which may be an instant communication application, a social application, or a voice communication application. For example, the communication application is an instant messenger QQ or a microblog or a WeChat.
A near field connection is established directly between the terminal 120 and the near field device 140. The near field connection can be wireless connection such as WIFI connection, Bluetooth connection and the like; or a USB data line or USB-like data line connection.
The near field device 140 may be a tachograph, a car navigation, a motion camera, or the like. The near field device 140 is an electronic device having a short range wireless communication capability. In an embodiment of the present invention, the near field device 140 also typically has multimedia recording capability, multimedia storage capability, and internet communication capability.
For example, the near field device 140 is an automobile data recorder, which has WIFI communication capability and mobile communication network access capability, a 4G (fourth generation mobile communication protocol) SIM (Subscriber Identity Module) card is built in the automobile data recorder, after the terminal 120 establishes WIFI connection with the near field device 140, the terminal 120 may access the internet through the SIM card in the near field device 140, so that the terminal 120 communicates with a server in the internet through the relay of the near field device 140.
The near field device 140 is also connected to a communication server 160 via a mobile communication network.
The communication server 160 is a backend server for communication-like applications. The communication server 160 may be a server, a server cluster composed of a plurality of servers, or a cloud computing center.
Referring to fig. 1B, a schematic structural diagram of another implementation environment provided by the embodiment of the invention is shown. The implementation environment includes: a terminal 120, a near field device 140 and a communication server 160.
Unlike fig. 1A, the terminal 120 may be located a relatively large distance from the near field device 140, so that no communication connection is established between the terminal 120 and the near field device 140.
At this time, the terminal 120 communicates with the communication server 160 directly through the mobile communication network or other networks without the relay of the near field device 140.
Referring to fig. 2, a flowchart of a method for acquiring media content according to an embodiment of the present invention is shown. The embodiment is exemplified by applying the media content providing method to the implementation environment shown in fig. 1A or fig. 1B. The method comprises the following steps:
step 202, the near field device sends instant messaging information to the terminal through the communication server, where the instant messaging information carries a URL, and the URL carries a device identifier of the near field device and path information of the media content.
And step 204, the terminal receives instant messaging information sent by the near field equipment through the communication server.
Step 206, when the URL is triggered, the terminal obtains the media content from the near field device corresponding to the device identifier of the near field device carried in the URL according to the path information of the media content carried in the URL.
The URL carries the identification of the near field device and path information for the media content. The terminal may use the identification of the near field device to determine whether a near field connection is established with the near field device. The terminal can also acquire the media content from the near field equipment according to the path information of the media content. The path information indicates a storage path of the media content in the near field device.
And if the terminal establishes the near field connection with the near field equipment, the terminal directly acquires the media content through the near field connection. And if the terminal does not establish the near field connection with the near field equipment, the terminal acquires the media content through the communication server.
Optionally, the media content is video, audio or pictures.
Correspondingly, the near field device provides media content to the terminal.
In step 208, the terminal plays the media content.
In summary, in the media content obtaining method provided in this embodiment, the instant messaging information sent by the near field device through the communication server is received by the terminal, where the instant messaging information carries a URL, and the URL carries a device identifier of the near field device and path information of the media content; when the URL is triggered, the terminal acquires the media content from the near field equipment corresponding to the equipment identification of the near field equipment carried in the URL according to the path information of the media content carried in the URL; playing the media content; the problem that the video in the automobile data recorder cannot be read when a special client is not installed in the mobile phone is solved; the effect that the media content can be obtained from the near field equipment through the communication application program as long as the communication application program with the highest utilization rate is installed in the terminal and the special client corresponding to the near field equipment does not need to be installed is achieved.
Referring to fig. 3, a flowchart of a method for acquiring media content according to another embodiment of the present invention is shown. The embodiment is exemplified by applying the media content providing method to the implementation environment shown in fig. 1A or fig. 1B. The method comprises the following steps:
step 301, a terminal and a near field device directly establish a near field connection, where the near field connection is a connection directly established between the terminal and the near field device.
The near field connection may be a WIFI connection or a bluetooth connection, etc.
For example, the terminal is a mobile phone and the near field device is a car recorder. After the user enters the vehicle, the mobile phone of the user is connected with the automobile data recorder in a WIFI mode.
Step 302, the terminal communicates with the communication server through the transfer of the near field device.
When the near field equipment has the capability of accessing the Internet, the terminal also communicates with the communication server through the transfer of the near field equipment.
For example, a 4G SIM card is built in the automobile data recorder, and after the mobile phone of the user establishes a WIFI connection with the automobile data recorder, the mobile phone of the user accesses a communication server or other servers in the internet by means of the SIM card in the automobile data recorder.
That is, the near field device relays communication between the terminal and the communication server, or relays communication between the terminal and other devices on the internet.
Step 303, the near field device sends instant messaging information to the terminal through the communication server, where the instant messaging information carries a URL.
In this embodiment, the near field device also serves as a user in the communication-class application. That is, the user in the communication-type application is not limited to a person, and may be an electronic device. At this time, a predetermined SDK (Software Development Kit) is run in the near-field device. The SDK has the capability of sending and receiving information to and from a communication server using the communication protocol of the communication-class application.
The near field device typically establishes a buddy relationship with one or more terminals in a communication-class application. Optionally, the near field device only sends the instant messaging information to the terminal with the friend relationship.
The near field device first generates a URL (uniform resource Locator) according to the device identifier of the near field device and the path information of the media content. The path information is stored path information of the media content in the near field device.
And then, the near field equipment carries the URL in instant messaging information for sending. Typically, one URL corresponds to one media content. Optionally, the instant messaging information also carries text and/or pictures.
For example, when the near field device is a driving recorder, and the driving recorder records the abnormal video a, the driving recorder generates a URL and a text introduction "you have a section of driving video a and please check" according to a PID (Product ID, Product identification code) of the driving recorder and path information of the abnormal video a, and then carries the URL and the text introduction in an instant messaging message to send to a mobile phone of a user.
For another example, the near field device is a car recorder, 10 video segments have been recorded inside the car recorder, the car recorder periodically generates 10 sets of URLs and text descriptions according to its own PID (Product ID, Product identification code) and path information of the 10 video segments, and then carries the 10 sets of URLs and text descriptions in 10 instant messaging messages respectively to send to the mobile phone of the user.
It should be noted that, as another possible implementation manner, the near field device does not generate a URL, the near field device carries the device identifier of the near field device, the path information of the media content, and other optional information in the instant messaging information according to an agreed format and sends the instant messaging information to the communication server, then the communication server parses the device identifier of the near field device and the path information of the media content according to the agreed format, the communication server encapsulates the device identifier of the near field device and the path information of the media content into a URL, and then the communication server carries the URL in the instant messaging information and sends the URL to the terminal.
Therefore, the generation device of the URL is not limited in the embodiment of the present invention, and the generation device of the URL may be a near field device or a communication server, as long as the instant messaging information received by the terminal carries the URL.
And step 304, the terminal receives instant messaging information sent by the near field equipment through the communication server.
Step 305, the terminal displays the instant messaging information in the communication client.
If the instant messaging information carries the text introduction, the terminal only displays the text introduction in the form of the instant messaging information in the communication client, the text introduction is a hyperlink, and the URL is hidden in the hyperlink and is not displayed. Optionally, the terminal displays the text introduction and the hyperlink simultaneously in the form of instant messaging information in the communication client.
For example, referring to fig. 4, the terminal displays a dialog interface 40 in the communication client, where the source of information "your automobile data recorder" displayed by the dialog interface 40 is a near field device, the instant messaging content is "you have a driving video a and please view", and the instant messaging content is a clickable hyperlink.
And step 306, when the URL is triggered, the terminal acquires the device identifier of the near field device and the path information of the media content from the URL.
For example, the mobile phone of the user acquires the PID of the driving recorder and the path information of the video a in the driving recorder from the URL.
And 307, the terminal detects whether the near field connection exists with the near field equipment according to the equipment identification.
For example, the mobile phone detects whether a near field connection is established with the near field device corresponding to the PID according to the PID.
If a near field connection exists, go to step 309; if no near field connection exists, then step 310 is entered.
And step 308, if the near field connection exists with the near field device, the terminal acquires the media content corresponding to the path information from the near field device through the near field connection.
Because there is a near field connection between the terminal and the near field device, the terminal does not need to expend traffic to obtain the media content from the internet approach. And the terminal directly acquires the media content corresponding to the path information from the near field equipment through the near field connection.
For example, a mobile phone of a user directly reads video a from a vehicle event data recorder through WIFI connection.
At this time, the near field device may receive the terminal acquisition request, and the near field device provides the media content to the terminal through the near field connection established with the terminal.
Step 309, if there is no near field connection with the near field device, the terminal obtains the media content corresponding to the path information from the near field device through the communication server.
If the terminal does not have near field connection with the near field equipment, the terminal sends a media obtaining request to the communication server according to the URL, the media obtaining request can carry the identification of the near field equipment and the path information of the media content, and the communication server obtains the media content from the near field equipment according to the media obtaining request and then feeds the media content back to the terminal.
For example, when the mobile phone is far away from the vehicle, the mobile phone sends a media acquisition request to the communication server according to the URL, where the media acquisition request carries PID of the automobile data recorder and path information of the video a. And the communication server sends a media acquisition request to the automobile data recorder according to the PID, the automobile data recorder provides the video A to the communication server, and the communication server sends the video A to the terminal.
In step 310, the terminal plays the media content.
There are at least two possible implementations of this step:
firstly, the terminal jumps to a preset webpage according to the URL; media content is played in the web page.
After the URL is triggered in the communication application program, the communication application program jumps to a preset webpage according to the URL. The web page may be a preset playing template page in the communication application program, or a playing template page provided by the communication server. The playing template page is used for playing the media content. The play template page may be an HTML5(HyperText Markup Language 5, fifth edition) page. The communication application program can load the media content acquired from the near field device into the webpage for playing.
Secondly, the terminal calls a media player according to the URL; the media content is played by a media player.
After the URL is triggered in the communication application program, a local method (English: native) in the terminal intercepts a trigger signal of the URL, and then the local method calls a media player in the terminal and plays media contents through the media player. The media player may be a media player carried by an operating system of the terminal, or may be a third-party media player installed in the terminal.
It should be noted that, in this embodiment, a precedence relationship between the step of the terminal executing the media player and the step of the terminal executing the media content is not specifically limited.
It should be noted that, in this embodiment, a sequence relationship between the step of the terminal executing the step of jumping to the predetermined webpage and the step of the terminal executing the step of acquiring the media content is not specifically limited.
In summary, in the media content obtaining method provided in this embodiment, the instant messaging information sent by the near field device through the communication server is received by the terminal, where the instant messaging information carries a URL, and the URL carries a device identifier of the near field device and path information of the media content; when the URL is triggered, the terminal acquires the media content from the near field equipment corresponding to the equipment identification of the near field equipment carried in the URL according to the path information of the media content carried in the URL and plays the media content; the problem that the video in the automobile data recorder cannot be read when a special client is not installed in the mobile phone is solved; the effect that the media content can be obtained from the near field equipment through the communication application program as long as the communication application program with the highest utilization rate is installed in the terminal and the special client corresponding to the near field equipment does not need to be installed is achieved.
The embodiment also accesses the communication server through the terminal by virtue of the transit of the near field equipment, and directly acquires the media content through the near field connection without consuming the traffic of the terminal.
In the embodiment, the integration scheme that the media content is acquired from the near field connection and the media content is acquired from the communication server is organically integrated through the instant communication information carrying the URL, and an access interface is not required to be respectively arranged for two different acquisition modes, so that the two acquisition modes are organically combined and compatible, and the operation complexity of a user in acquiring the media content is reduced.
The steps related to the terminal side in the above method embodiments may be implemented separately as a method for acquiring media content on the terminal side, and the steps related to the near field device side may be implemented separately as a method for providing media content on the near field device side.
The following are embodiments of the apparatus of the present invention, details of which are not described in detail in the embodiments of the apparatus, and reference may be made to the above-mentioned one-to-one corresponding method embodiments.
Referring to fig. 5, a block diagram of a media content acquiring apparatus according to an embodiment of the present invention is shown. The media content acquiring device provided by the embodiment can be realized by software, hardware or a combination of the two to form all or part of the terminal. The device comprises:
a receiving module 520, configured to receive instant messaging information sent by a near field device through a communication server, where the instant messaging information carries a uniform resource identifier URL, and the URL carries a device identifier of the near field device and path information of media content.
An obtaining module 540, configured to obtain, when the URL is triggered, the media content from the near field device corresponding to the device identifier of the near field device carried in the URL according to the path information of the media content carried in the URL;
and a playing module 560 for playing the media content.
In summary, the media content obtaining apparatus provided in this embodiment receives, through a terminal, instant messaging information sent by a near field device through a communication server, where the instant messaging information carries a URL, and the URL carries a device identifier of the near field device and path information of media content; when the URL is triggered, the terminal acquires the media content from the near field equipment corresponding to the equipment identification of the near field equipment carried in the URL according to the path information of the media content carried in the URL; playing the media content; the problem that the video in the automobile data recorder cannot be read when a special client is not installed in the mobile phone is solved; the effect that the media content can be obtained from the near field equipment through the communication application program as long as the communication application program with the highest utilization rate is installed in the terminal and the special client corresponding to the near field equipment does not need to be installed is achieved.
Referring to fig. 6, a block diagram of a media content acquiring apparatus according to an embodiment of the present invention is shown. The media content acquiring device provided by the embodiment can be realized by software, hardware or a combination of the two to form all or part of the terminal. The device comprises:
a receiving module 520, configured to receive instant messaging information sent by a near field device through a communication server, where the instant messaging information carries a URL, and the URL carries a device identifier of the near field device and path information of media content.
An obtaining module 540, configured to obtain, when the URL is triggered, the media content from the near field device corresponding to the device identifier of the near field device carried in the URL according to the path information of the media content carried in the URL;
a playing module 560, configured to play the media content.
Optionally, the obtaining module 540 includes:
an information obtaining unit 542, configured to obtain, from the URL, a device identifier of the near field device and path information of the media content;
a connection detecting unit 544, configured to detect whether there is a near field connection with the near field device according to the device identifier, where the near field connection is a connection directly established with the near field device;
a near field obtaining unit 546, configured to obtain, if there is a near field connection with the near field device, the media content corresponding to the path information from the near field device through the near field connection.
A remote obtaining unit 548, configured to obtain, from the near field device through the communication server, the media content corresponding to the path information if there is no near field connection with the near field device.
Optionally, the playing module 560 includes:
a page jump unit 562, configured to jump to a predetermined web page according to the URL; a first playing unit 564 for playing the media content in the web page;
and/or the presence of a gas in the gas,
a player invoking unit 566, configured to invoke a media player according to the URL; a second playing unit 568, configured to play the media content through the media player.
Optionally, the apparatus further comprises:
an establishing module 512, configured to establish a near field connection directly with the near field device, where the near field connection is a connection directly established with the near field device;
a communication module 514, configured to communicate with the communication server through the relay of the near field device.
In summary, the media content obtaining apparatus provided in this embodiment receives, through a terminal, instant messaging information sent by a near field device through a communication server, where the instant messaging information carries a URL, and the URL carries a device identifier of the near field device and path information of media content; when the URL is triggered, the terminal acquires the media content from the near field equipment corresponding to the equipment identification of the near field equipment carried in the URL according to the path information of the media content carried in the URL; playing the media content; the problem that the video in the automobile data recorder cannot be read when a special client is not installed in the mobile phone is solved; the effect that the media content can be obtained from the near field equipment through the communication application program as long as the communication application program with the highest utilization rate is installed in the terminal and the special client corresponding to the near field equipment does not need to be installed is achieved.
The embodiment also accesses the communication server through the terminal by virtue of the transit of the near field equipment, and directly acquires the media content through the near field connection without consuming the traffic of the terminal.
In the embodiment, the media content acquired from the near field connection and the media content acquired from the communication server are organically integrated into a whole through the instant communication information carrying the URL, an access interface does not need to be respectively arranged for two different acquisition modes, the two acquisition modes are organically combined and compatible, and the operation complexity of a user in acquiring the media content is reduced.
Referring to fig. 7, a block diagram of a media content providing apparatus according to an embodiment of the present invention is shown. The media content providing apparatus provided by the present embodiment may be implemented as all or a part of the near field device by software, hardware, or a combination of both. The device includes:
a sending module 720, configured to send instant messaging information to a terminal through a communication server, where the instant messaging information carries a URL, and the URL carries an equipment identifier of a near field device and path information of a media content, so that when the URL is triggered, the terminal obtains the media content from the near field device corresponding to the equipment identifier of the near field device carried in the URL according to the path information of the media content carried in the URL;
a providing module 740, configured to provide the media content to the terminal, so that the terminal plays the media content.
In summary, the media content providing apparatus provided in this embodiment sends, to the terminal, instant messaging information through the communication server, where the instant messaging information carries a URL, and the URL carries an equipment identifier of the near field device and path information of the media content, and provides the media content to the terminal; the problem that the video in the automobile data recorder cannot be read when a special client is not installed in the mobile phone is solved; the effect that the media content can be obtained from the near field equipment through the communication application program as long as the communication application program with the highest utilization rate is installed in the terminal and the special client corresponding to the near field equipment does not need to be installed is achieved.
Referring to fig. 8, a block diagram of a media content providing apparatus according to an embodiment of the present invention is shown. The media content providing apparatus provided by the present embodiment may be implemented as all or a part of the near field device by software, hardware, or a combination of both. The device includes:
a sending module 720, configured to send instant messaging information to a terminal through a communication server, where the instant messaging information carries a URL, and the URL carries an equipment identifier of a near field device and path information of a media content, so that when the URL is triggered, the terminal obtains the media content from the near field device corresponding to the equipment identifier of the near field device carried in the URL according to the path information of the media content carried in the URL;
a providing module 740, configured to provide the media content to the terminal, so that the terminal plays the media content.
Optionally, the providing module 740 is configured to provide the media content corresponding to the path information to the terminal through a near field connection established with the terminal;
or, the providing module 740 is configured to provide, to the terminal, the media content corresponding to the path information through the communication server.
Optionally, the apparatus further comprises:
an establishing module 712, configured to establish a near field connection directly with the terminal, where the near field connection is a connection directly established with the terminal;
a relay module 714, configured to relay communication between the terminal and the communication server.
In summary, the media content providing apparatus provided in this embodiment sends, to the terminal, instant messaging information through the communication server, where the instant messaging information carries a URL, and the URL carries an equipment identifier of the near field device and path information of the media content, and provides the media content to the terminal; the problem that the video in the automobile data recorder cannot be read when a special client is not installed in the mobile phone is solved; the effect that the media content can be obtained from the near field equipment through the communication application program as long as the communication application program with the highest utilization rate is installed in the terminal and the special client corresponding to the near field equipment does not need to be installed is achieved.
The embodiment also accesses the communication server through the terminal by virtue of the transit of the near field equipment, and directly acquires the media content through the near field connection without consuming the traffic of the terminal.
In the embodiment, the media content acquired from the near field connection and the media content acquired from the communication server are organically integrated into a whole through the instant communication information carrying the URL, an access interface does not need to be respectively arranged for two different acquisition modes, the two acquisition modes are organically combined and compatible, and the operation complexity of a user in acquiring the media content is reduced.
Referring to fig. 9, a block diagram of a media content providing system according to an embodiment of the present invention is shown, where the system includes: a terminal 920, a near field device 940 and a communication server 960;
the terminal 920 includes a media content acquiring apparatus according to any one of the embodiments shown in fig. 5 or fig. 6;
the near field device 940 includes a media content providing apparatus according to any one of the embodiments shown in fig. 7 or fig. 8.
It should be noted that: the media content obtaining device and the media content providing device provided in the foregoing embodiments are only illustrated by the division of the functional modules when obtaining the media content, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above. In addition, the media content obtaining apparatus and the media content obtaining method provided by the above embodiments belong to the same concept, the media content providing apparatus and the media content providing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
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.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (12)

1. A media content acquisition method is used for a terminal, wherein a communication application program is installed in the terminal, and the method comprises the following steps:
receiving instant communication information sent by a near field device through a communication server, wherein the near field device is a user in the communication application program, the near field device and the terminal establish a friend relationship in the communication application program, the instant communication information carries a uniform resource identifier (URL), the URL carries a device identifier of the near field device and path information of media content, the media content is recorded by the near field device, the path information is stored path information of the media content in the near field device, and the communication server is a background server of the communication application program;
when the URL is triggered, acquiring a device identification of the near field device and path information of the media content from the URL;
detecting whether a near field connection exists with the near field equipment according to the equipment identification, wherein the near field connection is directly established between the near field equipment and the near field equipment;
if the near field connection exists with the near field equipment, acquiring the media content corresponding to the path information from the near field equipment through the near field connection;
if the near field connection does not exist with the near field equipment, sending the media obtaining request to the communication server according to the URL, wherein the communication server is used for obtaining the media content from the near field equipment according to the media obtaining request; receiving the media content sent by the communication server;
and playing the acquired media content.
2. The method of claim 1, wherein the playing the media content comprises:
jumping to a preset webpage according to the URL; playing the media content in the webpage;
or the like, or, alternatively,
calling a media player according to the URL; and playing the media content through the media player.
3. The method of claim 1, wherein the receiving the instant messaging information sent by the near field device through the communication server further comprises:
establishing a near field connection directly with the near field device, the near field connection being a connection established directly with the near field device;
communicating with the communication server through the relay of the near field device.
4. A media content providing method for use with a near field device, the near field device being a user in a communication-like application, the method comprising:
sending instant messaging information to a terminal through a communication server, wherein the communication server is a background server of the communication application program, the communication application program is installed in the terminal, a friend relationship is established between near field equipment and the terminal in the communication application program, the instant messaging information carries a uniform resource identifier (URL), the URL carries an equipment identifier of the near field equipment and path information of media content, so that the terminal can obtain the media content from the near field equipment corresponding to the equipment identifier of the near field equipment carried in the URL when the URL is triggered according to the path information of the media content carried by the URL, the media content is recorded by the near field equipment, and the path information is storage path information of the media content in the near field equipment;
if the near field connection exists with the terminal, the media content corresponding to the path information is provided for the terminal through the near field connection established between the terminal and the terminal;
if no near field connection exists between the terminal and the communication server, receiving a media acquisition request sent by the communication server, wherein the media acquisition request is sent according to the URL when the terminal detects that no near field connection exists between the terminal and the near field equipment according to the equipment identification; and sending the media content to the communication server according to the media acquisition request so that the communication server can feed back the media content to the terminal.
5. The method of claim 4, wherein before providing the media content to the terminal, further comprising:
establishing a near field connection directly with the terminal, wherein the near field connection is a connection directly established with the terminal;
and relaying the communication between the terminal and the communication server.
6. A media content acquiring apparatus, wherein the apparatus is used for a terminal, and a communication application is installed in the terminal, the apparatus comprising:
a receiving module, configured to receive instant messaging information sent by a near field device through a communication server, where the near field device is a user in the communication application, and the near field device and the terminal establish a buddy relationship in the communication application, the instant messaging information carries a uniform resource identifier URL, the URL carries a device identifier of the near field device and path information of media content, the media content is recorded by the near field device, the path information is storage path information of the media content in the near field device, and the communication server is a backend server of the communication application;
an acquisition module comprising an information acquisition unit, a connection detection unit, a near field acquisition unit, and a remote acquisition unit; the information acquisition unit is used for acquiring the equipment identification of the near field equipment and the path information of the media content from the URL;
the connection detection unit is used for detecting whether near field connection exists between the near field equipment and the near field equipment according to the equipment identification, wherein the near field connection is directly established between the near field equipment and the near field equipment;
the near field obtaining unit is configured to obtain the media content corresponding to the path information from the near field device through a near field connection if the near field connection exists with the near field device;
the remote acquisition unit is used for sending the media acquisition request to the communication server according to the URL if no near field connection exists between the remote acquisition unit and the near field equipment, and the communication server is used for acquiring the media content from the near field equipment according to the media acquisition request; receiving the media content sent by the communication server;
and the playing module is used for playing the media content.
7. The apparatus of claim 6, wherein the playing module comprises:
the page jumping unit is used for jumping to a preset webpage according to the URL; the first playing unit is used for playing the media content in the webpage;
and/or the presence of a gas in the gas,
the player calling unit is used for calling the media player according to the URL; and the second playing unit is used for playing the media content through the media player.
8. The apparatus of claim 6, further comprising:
the establishing module is used for directly establishing near field connection with the near field equipment, and the near field connection is directly established connection with the near field equipment;
and the communication module is used for communicating with the communication server through the transfer of the near field equipment.
9. An apparatus for providing media content, the apparatus being for use in a near field device, the near field device being a user in a communication-like application, the apparatus comprising:
the terminal comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending instant communication information to the terminal through a communication server, the communication server is a background server of the communication application program, the communication application program is installed in the terminal, a friend relationship is established between the near field equipment and the terminal in the communication application program, the instant communication information carries a uniform resource identifier (URL), and the URL carries an equipment identifier of the near field equipment and path information of media content; when the URL is triggered, the terminal acquires the media content from near field equipment corresponding to the equipment identifier of the near field equipment carried in the URL according to path information of the media content carried in the URL, wherein the media content is recorded by the near field equipment, and the path information is storage path information of the media content in the near field equipment;
a providing module, configured to provide the media content corresponding to the path information to the terminal through a near field connection established between the terminal and the providing module if the near field connection exists with the terminal;
if no near field connection exists between the terminal and the communication server, receiving a media acquisition request sent by the communication server, wherein the media acquisition request is sent according to the URL when the terminal detects that no near field connection exists between the terminal and the near field equipment according to the equipment identification; and sending the media content to the communication server according to the media acquisition request so that the communication server can feed back the media content to the terminal.
10. The apparatus of claim 9, further comprising:
the establishing module is used for directly establishing near field connection with the terminal, and the near field connection is directly established connection with the terminal;
and the transfer module is used for transferring the communication between the terminal and the communication server.
11. A media content providing system, characterized in that the system comprises: the terminal, the near field equipment and the communication server;
the terminal comprises a media content acquiring device according to any one of claims 6 to 8;
the near field device comprising a media content providing apparatus as claimed in claim 9 or 10.
12. A computer-readable storage medium, characterized in that a program is stored in the computer-readable storage medium, the program being executed by hardware to implement the media content acquiring method of any one of claims 1 to 3 or the media content providing method of claim 4 or 5.
CN201510465643.8A 2015-07-31 2015-07-31 Media content acquisition method, media content providing method, media content acquisition device, media content providing device and media content providing system Active CN106412679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510465643.8A CN106412679B (en) 2015-07-31 2015-07-31 Media content acquisition method, media content providing method, media content acquisition device, media content providing device and media content providing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510465643.8A CN106412679B (en) 2015-07-31 2015-07-31 Media content acquisition method, media content providing method, media content acquisition device, media content providing device and media content providing system

Publications (2)

Publication Number Publication Date
CN106412679A CN106412679A (en) 2017-02-15
CN106412679B true CN106412679B (en) 2020-06-30

Family

ID=58007762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510465643.8A Active CN106412679B (en) 2015-07-31 2015-07-31 Media content acquisition method, media content providing method, media content acquisition device, media content providing device and media content providing system

Country Status (1)

Country Link
CN (1) CN106412679B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107093327B (en) * 2017-04-21 2021-03-23 华南理工大学 Driving collision processing method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855539A (en) * 2008-06-09 2013-01-02 索尼株式会社 Information management apparatus and method, and information management apparatus and method
CN102891890A (en) * 2012-09-26 2013-01-23 腾讯科技(深圳)有限公司 Interaction method and related equipment and system among terminals
CN103442451A (en) * 2013-08-21 2013-12-11 乐视致新电子科技(天津)有限公司 Data wireless transmission method, device and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100583984C (en) * 2007-08-28 2010-01-20 蒋晓海 Method for implementing instant communication interactive video
CN103166941B (en) * 2011-12-19 2018-07-03 联想(北京)有限公司 A kind of method and device of data sharing
CN102821109B (en) * 2012-08-28 2015-06-03 腾讯科技(深圳)有限公司 Method, associated equipment and system for realizing data sharing in instant communication application
CN203014870U (en) * 2013-01-15 2013-06-19 深圳市多森软件开发有限公司 A vehicle internet public service system based on Wechat
CN103488500A (en) * 2013-09-09 2014-01-01 百度在线网络技术(北京)有限公司 Multimedia document processing method and device
CN104144198B (en) * 2013-09-30 2017-02-08 腾讯科技(深圳)有限公司 Multimedia information sharing method, system and device
CN104301778A (en) * 2014-09-05 2015-01-21 北京奇虎科技有限公司 Data acquisition method, device and system
CN104811817B (en) * 2015-04-30 2018-04-13 北京奇艺世纪科技有限公司 The method and device of video is played using videoconference client software

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855539A (en) * 2008-06-09 2013-01-02 索尼株式会社 Information management apparatus and method, and information management apparatus and method
CN102891890A (en) * 2012-09-26 2013-01-23 腾讯科技(深圳)有限公司 Interaction method and related equipment and system among terminals
CN103442451A (en) * 2013-08-21 2013-12-11 乐视致新电子科技(天津)有限公司 Data wireless transmission method, device and system

Also Published As

Publication number Publication date
CN106412679A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN108521608B (en) Video file processing method and device, terminal and storage medium
WO2018068657A1 (en) Interface moving method, device, intelligent terminal, server and operating system
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN111314433B (en) Message transmission method and device and electronic equipment
CN109684589B (en) Client comment data processing method and device and computer storage medium
CN112019625B (en) Websocket-based message pushing method, system, device and medium
CN111930973A (en) Multimedia data playing method and device, electronic equipment and storage medium
CN112312222A (en) Video sending method and device and electronic equipment
US11809380B2 (en) Information sharing method, apparatus, electronic device, and storage medium
US11758087B2 (en) Multimedia conference data processing method and apparatus, and electronic device
US9948732B2 (en) Method for providing status messaging service in electronic device and the electronic device thereof
CN114205664A (en) Screen projection method, screen projection device, screen projection display device, screen projection system, and medium
US20230117037A1 (en) Comment sharing method, apparatus and electronic device
CN112055251A (en) Media data playing method, device, equipment and storage medium
CN104753825B (en) The delivery method and system of login status when instant messaging multiple terminals logs in
CN109753262B (en) Frame display processing method and device, terminal equipment and storage medium
CN106412679B (en) Media content acquisition method, media content providing method, media content acquisition device, media content providing device and media content providing system
US10911557B2 (en) Miracast source providing network service access for a miracast sink
US20150163260A1 (en) Systems and Methods for Messaging Multiple Devices
CN110708238B (en) Method and apparatus for processing information
CN112738154A (en) Information sharing system and method
CN110619101B (en) Method and apparatus for processing information
CN111083145A (en) Message sending method and device and electronic equipment
CN111290861A (en) Message processing method and device and electronic equipment
CN114339628A (en) Method, device, storage medium and product for sending 5G rich media message

Legal Events

Date Code Title Description
C06 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