CN105142038B - The method and system of playing network media file - Google Patents

The method and system of playing network media file Download PDF

Info

Publication number
CN105142038B
CN105142038B CN201510472187.XA CN201510472187A CN105142038B CN 105142038 B CN105142038 B CN 105142038B CN 201510472187 A CN201510472187 A CN 201510472187A CN 105142038 B CN105142038 B CN 105142038B
Authority
CN
China
Prior art keywords
url
node
message
mesh network
sent
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
CN201510472187.XA
Other languages
Chinese (zh)
Other versions
CN105142038A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510472187.XA priority Critical patent/CN105142038B/en
Publication of CN105142038A publication Critical patent/CN105142038A/en
Application granted granted Critical
Publication of CN105142038B publication Critical patent/CN105142038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • H04N21/6377Control signals issued by the client directed to the server or network components directed to server

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method and system of playing network media file, the method includes:When meeting URL request condition, no and network connection is judged, send and broadcast the message to MESH network;The message that the node of remaining each MESH network function is sent is received in preset time;The node for the MESH network function of meeting preset rules is judged whether there is according to the message;When judging result is when being, is sent to request message one, and receives the URL corresponding with above-mentioned ID of its transmission;When judging result is no, request message two is sent to MESH network wired portal node, and receives the URL corresponding with above-mentioned ID of the storage of its transmission or URL corresponding with above-mentioned ID received from web medium server;Above-mentioned network media file is played according to above-mentioned URL.The present invention makes the network media file of the variable URL of node normal play of MESH network function, is suitble to practical application.

Description

The method and system of playing network media file
Technical field
The present invention relates to intelligent playback equipment technical field, more particularly to a kind of method of playing network media file and System.
Background technology
Intelligent playback equipment is a kind of novel intelligent appliance equipment, by connect WIFI (Wireless-Fidelity, WiMAX) network, can communicate with cell phone application (Application, application program), so as to receive APP transmit it is each Kind instruction, performs various orders.Web medium server is each network media in MESH network (wireless mesh network) File provides a unique identifier ID (identity number), and corresponding URL is asked to media server by ID (Uniform Resource Locator, uniform resource locator), wherein MP (Mesh Point, the section of MESH network function Point), MPP (Mesh Portal Point, MESH network wired portal node) broadcasts according to the corresponding URL of network media file Put the network media file.In MP playing network media files, if URL is permanently effective, MP any moment can lead to The URL is crossed to play corresponding network media file, if the URL is variable, i.e., within some period effectively, beyond this when Between fail after section, then MP can not play above-mentioned network media file using the URL after this period, and MP needs again According to ID to media server request URL, but at this time MP may without and network connection, can not be according to ID to media server Ask corresponding URL, it is impossible to play corresponding network media file.
Invention content
Based on the above situation, the present invention proposes a kind of method and system of playing network media file, ensures MESH nets The node normal play network media file of network function meets actual needs.
To achieve these goals, the embodiment of technical solution of the present invention is:
A kind of method of playing network media file, includes the following steps:
When meeting URL request condition, the connection status with network is judged;
It when judgement is not with the network connection, sends and broadcasts the message to MESH network, the broadcast message includes net The ID of network media file;
The node of remaining each MESH network function in the MESH network is received in preset time according to described wide Broadcast the message that message is sent according to preset requirement;
Judge whether to have in the node of remaining each MESH network function according to the message and meet preset rules MESH network function node;
When judging result is when being, request message is sent to the node of the MESH network function of meeting preset rules One, the request message one includes the ID, and receives the node of MESH network function for meeting preset rules according to institute State the URL corresponding with the ID of the transmission of request message one;When judging result is no, sent out to MESH network wired portal node Request message two is sent, the request message two includes the ID, and receives the MESH network wired portal node according to The URL corresponding with the ID for the storage that request message two is sent is received corresponding with the ID from web medium server URL;
The network media file is played according to the URL.
A kind of system of playing network media file, including:
Connection judgment module, for when meeting URL request condition, judging the connection status with network;
Broadcast the message sending module, for when judgement is not with the network connection, sending broadcast to MESH network and disappearing Breath, described broadcast the message include the ID of network media file;
Message reception module, for receiving remaining each MESH network function in the MESH network in preset time Node according to the message that is sent according to preset requirement of broadcasting the message;
Node judgment module, for being judged to be in the node of remaining each MESH network function according to the message The no node for having the MESH network function of meeting preset rules;
URL request module one, for when judging result for be when, to the MESH network function of meeting preset rules Node sends request message one, and the request message one includes the ID, and receives the MESH network for meeting preset rules The URL corresponding with the ID that the node of function is sent according to the request message one;
URL request module two, for when judging result is no, request message to be sent to MESH network wired portal node Two, the request message two includes the ID, and receives the MESH network wired portal node according to the request message two The URL corresponding with the ID of the storage of the transmission or URL corresponding with the ID received from web medium server;
File playing module, for playing the network media file according to the URL.
A kind of method of playing network media file, includes the following steps:
Receive MESH network function node not with MESH network function remaining in network connection and MESH network Node all not with the request message two sent during network connection, the request message two includes the ID of network media file;
It is inquired according to the request message two and whether stores URL corresponding with the ID;
When URL corresponding with the ID is when being, is sent to the node of the MESH network function by query result;When looking into When to ask result be no, request message three is sent to web medium server, the request message three includes the ID, described in reception The URL corresponding with the ID that web medium server is sent according to the request message three, and will URL corresponding with the ID It is sent to the node of the MESH network function.
A kind of system of playing network media file, including:
Request message receiving module, for receive the node of MESH network function not with network connection and MESH network In remaining MESH network function node all not with the request message two sent during network connection, the request message two wraps Include the ID of network media file;
URL enquiry modules, for inquiring whether store URL corresponding with the ID according to the request message two;
URL request module three, for when query result is no, request message three, institute to be sent to web medium server It states request message three and includes the ID, it is being sent according to the request message three with the ID to receive the web medium server Corresponding URL;
URL sending modules, for when storage URL corresponding with the ID is when being, is sent to described by query result The node of MESH network function;When query result is no, network media services that the URL request module three is received The URL corresponding with the ID that device is sent is sent to the node of the MESH network function.
Compared with prior art, beneficial effects of the present invention are:The method and system of playing network media file of the present invention, When judgement is not with network connection, sends and broadcast the message to MESH network;It is received in preset time remaining in MESH network Each MESH network function node according to the message that is sent according to preset requirement of broadcast message;It is according to the judgement of above-mentioned message The no node for having the MESH network function of meeting preset rules;When judging result is to be, to the MESH nets for meeting preset rules The node of network function sends request message one, and receives the URL corresponding with above-mentioned ID of its transmission;When judging result is no, To MESH network wired portal node send request message two, and receive its transmission storage URL corresponding with above-mentioned ID or The URL corresponding with above-mentioned ID received from web medium server;Above-mentioned network media file is finally played according to above-mentioned URL. Node in MESH network function does not have connected to the network, utilizes MESH connected to the network other in MESH network The node or MESH network wired portal node request URL, the node normal play for making MESH network function of network function are variable The network media file of URL, while preferentially by mission dispatching to the node for bearing smaller MESH network function, mitigate MESH nets Network wired portal node is born, and is suitble to practical application.
Description of the drawings
Fig. 1 is the method flow diagram of playing network media file in one embodiment;
Fig. 2 is the system structure diagram of playing network media file in one embodiment;
Fig. 3 is the method flow diagram of another playing network media file in one embodiment;
Fig. 4 is the system structure diagram of another playing network media file in one embodiment;
Fig. 5 is the method flow diagram based on playing network media file in one specific example of method shown in Fig. 1,3.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, Do not limit protection scope of the present invention.
The method of playing network media file in one embodiment, as shown in Figure 1, including the following steps:
Step S101:When meeting URL request condition, the connection status with network is judged;
Step S102:It when judgement is not with the network connection, sends and broadcasts the message to MESH network, the broadcast disappears Breath includes the ID of network media file;
Step S103:The node root of remaining each MESH network function in the MESH network is received in preset time According to the message for broadcasting the message and being sent according to preset requirement;
Step S104:Judge whether there is satisfaction in the node of remaining each MESH network function according to the message The node of the MESH network function of preset rules;
Step S105:When judging result is when being, sends to the node of the MESH network function of meeting preset rules Request message one, the request message one includes the ID, and receives the section of MESH network function for meeting preset rules The URL corresponding with the ID that point is sent according to the request message one;When judging result for it is no when, to MESH network it is wired enter Mouth node sends request message two, and the request message two includes the ID, and receives the MESH network wired portal node According to the request message two send storage URL corresponding with the ID or from web medium server receive with it is described The corresponding URL of ID;
Step S106:The network media file is played according to the URL.
It is evidenced from the above discussion that the method for playing network media file of the present invention, is ensureing the node of MESH network function just Often play the network media file of variable URL.
In addition, in a specific example, corresponded to when receiving URL request instruction or according to the network media file URL when playing network media file failure, judgement meets the URL request condition.
Such as when needing according to URL playing network media files, according to URL request instruction request network media file pair The URL that answers or when according to URL playing network media files, URL failures play failure, need to ask network media file pair The URL answered re-starts broadcasting.
In addition, in a specific example, the preset requirement includes:In every judgement, there are one the sections of MESH network function When point is with network connection, sends one and confirm help message;Otherwise, one is sent to abandon helping message;It is described to confirm that help disappears Breath includes sending the node of the MESH network function of the confirmation message when the preceding request sent to the web medium server Message number;
It is that the confirmation helps message that the node of MESH network function for meeting preset rules, which is the message sent, and The node of the MESH network function of confirming that the request message number that message is helped to include is minimum.
After the node of remaining each MESH network function receives broadcast message in MESH network, check whether to connect with network It connects, if showing that request message can be sent to web medium server with network connection, otherwise cannot.Work as MESH network in this way When the node of function is not with network connection, using MESH network functions connected to the network other in MESH network node to Web medium server request URL makes the network media file of the variable URL of node normal play of MESH network function.
When node and the network connection of some MESH network function remaining in MESH network, reply one and confirm help Message, the confirmation help message to include the node of the MESH network function when the preceding request message sent to web medium server Number, in this way it will be seen that the node resource occupancy situation of the MESH network function, facilitates subsequent processing.
A MESH network work(connected to the network is selected in the node of remaining MESH network function in MESH network The node of energy, and the request message number that the node of the MESH network function is sent to web medium server is minimum, i.e., should The node tasks amount of MESH network function is minimum, and resource occupation is minimum, and working efficiency is high.
The system of playing network media file in one embodiment, as shown in Fig. 2, including:
Connection judgment module 201, for when meeting URL request condition, judging the connection status with network;
Broadcast the message sending module 202, for when judgement is not with the network connection, sending and broadcasting to MESH network Message, described broadcast the message include the ID of network media file;
Message reception module 203, for receiving remaining each MESH network in the MESH network in preset time The node of function is according to the message for broadcasting the message and being sent according to preset requirement;
Node judgment module 204, for judging the node of remaining each MESH network function according to the message In whether have the node of the MESH network function of meeting preset rules;
URL request module 1, for when judging result for be when, to the MESH network work(for meeting preset rules The node of energy sends request message one, and the request message one includes the ID, and receives the MESH for meeting preset rules The URL corresponding with the ID that the node of network function is sent according to the request message one;
URL request module 2 206, for when judging result is no, sending and asking to MESH network wired portal node Message two, the request message two include the ID, and receive the MESH network wired portal node and disappeared according to the request The URL corresponding with the ID for the storage that breath two the is sent or URL corresponding with the ID received from web medium server;
File playing module 207, for playing the network media file according to the URL.
As shown in Fig. 2, in a specific example, the system in the present embodiment further includes URL request determination module 208, For playing the network media file when receiving URL request instruction or according to the corresponding URL of the network media file During failure, judgement meets the URL request condition;
The connection judgment module 201 the URL request determination module 208 judgement meet the URL request condition when, Judge the connection status with the network.
Based on the system of the present embodiment shown in Fig. 2, a specific course of work can be discussed further below:
URL request determination module 208 is corresponded to when receiving URL request instruction or according to the network media file first URL when playing network media file failure, judgement meets the URL request condition;In URL request determination module 208 When judgement meets URL request condition, connection judgment module 201 judges the connection status with network;When connection judgment module 201 is sentenced When determining not with network connection, broadcast message sending module 202 sends to MESH network and broadcasts the message, which includes net The ID of network media file;Message reception module 203 receives remaining each MESH network work(in MESH network in preset time The message that the node of energy is sent according to broadcast message according to preset requirement;Node judgment module 204 judges surplus according to above-mentioned message Whether the node of the MESH network function that meets preset rules is had in the node of remaining each MESH network function;When node judges 204 judging result of module is when being, URL request module 1 is sent to the node for the MESH network function of meeting preset rules Request message one, request message one include above-mentioned ID, and receive the node transmission for the MESH network function of meeting preset rules URL corresponding with above-mentioned ID;When 204 judging result of node judgment module is no, URL request module 2 206 is to MESH network Wired portal node sends request message two, and request message two includes above-mentioned ID, and receives MESH network wired portal node hair The URL corresponding with above-mentioned ID for the storage the sent or URL corresponding with above-mentioned ID received from web medium server;Final act Playing module 207 plays above-mentioned network media file according to above-mentioned URL.
It is evidenced from the above discussion that the system of playing network media file of the present invention, utilizes other and network in MESH network The node of the MESH network function of connection or MESH network wired portal node realize the node normal play of MESH network function The network media file of variable URL is suitble to application.
In addition, in a specific example, the preset requirement includes:In every judgement, there are one the sections of MESH network function When point is with network connection, sends one and confirm help message;Otherwise, one is sent to abandon helping message;It is described to confirm that help disappears Breath includes sending the node of the MESH network function of the confirmation message when the preceding request sent to the web medium server Message number;
It is that the confirmation helps message that the node of MESH network function for meeting preset rules, which is the message sent, and The node of the MESH network function of confirming that the request message number that message is helped to include is minimum.
After the node of remaining each MESH network function receives broadcast message in MESH network, check whether to connect with network It connects, if showing that request message can be sent to web medium server with network connection, otherwise cannot.Work as MESH network in this way When the node of function is not with network connection, using MESH network functions connected to the network other in MESH network node to Web medium server request URL makes the network media file of the variable URL of node normal play of MESH network function.
When node and the network connection of some MESH network function remaining in MESH network, reply one and confirm help Message, the confirmation help message to include the node of the MESH network function when the preceding request message sent to web medium server Number, in this way it will be seen that the node resource occupancy situation of the MESH network function, facilitates subsequent processing.
A MESH network work(connected to the network is selected in the node of remaining MESH network function in MESH network The node of energy, and the request message number that the node of the MESH network function is sent to web medium server is minimum, i.e., should The node tasks amount of MESH network function is minimum, and resource occupation is minimum, and working efficiency is high.
The method of playing network media file in one embodiment, as shown in figure 3, including the following steps:
Step S301:Receive MESH network function node not with MESH remaining in network connection and MESH network For the node of network function all not with the request message two sent during network connection, it is literary that the request message two includes the network media The ID of part;
Step S302:It is inquired according to the request message two and whether stores URL corresponding with the ID;
Step S303:When URL corresponding with the ID is when being, is sent to the MESH network function by query result Node;When query result is no, request message three is sent to web medium server, the request message three includes described ID, receives the URL corresponding with the ID that the web medium server is sent according to the request message three, and will with it is described The corresponding URL of ID are sent to the node of the MESH network function.
It is evidenced from the above discussion that the method for playing network media file of the present invention, variable in the URL of network media file When, ensure the node normal play of the MESH network function network media file.
In addition, in a specific example, in the URL corresponding with the ID for receiving the web medium server transmission Later, URL corresponding with the ID is sent to before the node of the MESH network function, further includes step:
Storage URL corresponding with the ID.If ensure subsequently to ask the URL again, the quick obtaining URL is reduced Processing time, difficulty.
The system of playing network media file in one embodiment, as shown in figure 4, including:
Request message receiving module 401, for receive the node of MESH network function not with network connection and MESH In network the node of remaining MESH network function all not with the request message two sent during network connection, the request message Two include the ID of network media file;
URL enquiry modules 402, for inquiring whether store URL corresponding with the ID according to the request message two;
URL request module 3 403, for when query result is no, request message three to be sent to web medium server, The request message three includes the ID, receive that the web medium server sends according to the request message three with it is described The corresponding URL of ID;
URL sending modules 404, for when storage URL corresponding with the ID is when being, is sent to institute by query result State the node of MESH network function;When query result is no, the network media that the URL request module three is received takes The URL corresponding with the ID that business device is sent is sent to the node of the MESH network function.
As shown in figure 4, in a specific example, the system in the present embodiment further includes URL memory modules 405, is used for After the URL corresponding with the ID for receiving that the web medium server is sent in the URL request module 3 403, storage with The corresponding URL of the ID;
The URL sending modules 404 are after the URL memory modules 405 store URL corresponding with the ID, by described in The URL corresponding with the ID that the web medium server that URL request module 3 403 receives is sent is sent to the MESH The node of network function.
The system of the present embodiment based on shown in Fig. 4, a specific course of work can be discussed further below:
First request message receiving module 401 receive MESH network function node not with network connection and MESH nets All not with the request message two sent during network connection, request message two includes the node of remaining MESH network function in network The ID of network media file;Then URL enquiry modules 402 inquired according to above-mentioned request message two whether store it is corresponding with above-mentioned ID URL;When 402 query result of URL enquiry modules is no, URL request module 3 403 sends to web medium server and asks Message three, request message three include above-mentioned ID, receive the URL corresponding with above-mentioned ID that web medium server is sent;URL is stored Module 405 stores URL corresponding with above-mentioned ID;When 402 query result of URL enquiry modules is when being, URL sending modules 404 will The URL corresponding with above-mentioned ID of storage is sent to the node of MESH network function;When 402 query result of URL enquiry modules is no When, URL sending modules 404 connect URL request module 3 403 after URL memory modules 405 store URL corresponding with above-mentioned ID The URL corresponding with above-mentioned ID that the web medium server of receipts is sent is sent to the node of MESH network function.
It is evidenced from the above discussion that the system of playing network media file of the present invention, is realizing the node of MESH network function just The network media file of variable URL is often played, is suitble to application.
The above method in order to better understand, the method for a playing network media file of the present invention detailed below Application example.
As shown in figure 5, the application example may comprise steps of:
Step S501:MP plays the network when receiving URL request instruction or according to the corresponding URL of network media file When media file fails, the connection status with network is judged;
Step S502:When judging MP with network connection, MP sends request message to web medium server, which disappears Breath includes the ID of network media file, and web medium server receives above-mentioned request message, and URL corresponding with above-mentioned ID is sent To MP;When judging MP not with network connection, MP sends to MESH network and broadcasts the message, which includes above-mentioned ID;
Step S503:Remaining each MP receives above-mentioned broadcast message in MESH network, is often judged according to the broadcast message During there are one MP with network connection, it is sent to above-mentioned MP mono- and confirms help message;Otherwise, above-mentioned MP mono- is sent to abandon helping Help message;Above-mentioned confirmation helps message to include sending the MP of the confirmation message when the preceding request sent to web medium server disappears Cease number;
Step S504:Above-mentioned MP receives the confirmation help that remaining each MP in MESH network is sent in preset time and disappears It ceases or abandons helping message, judge whether there are one MP in remaining each MP in above-mentioned MESH network according to the message received The message of transmission for above-mentioned confirmation help message, and the confirmation help message include it is above-mentioned to web medium server send Request message number it is minimum;
Step S505:When judging result is when being, above-mentioned MP is sent to the above-mentioned MP minimum including request message number please Message is sought, which includes above-mentioned ID, and the above-mentioned MP minimum including request message number is sent to web medium server Request message, the request message include above-mentioned ID, and web medium server receives the request message, will be corresponding with above-mentioned ID URL is sent to the above-mentioned MP minimum including request message number, the above-mentioned MP minimum including request message number again will with it is above-mentioned The corresponding URL of ID are sent to above-mentioned MP;When judging result is no, above-mentioned MP sends request message, the request message packet to MPP Include above-mentioned ID;
Step S506:MPP receives the request message that above-mentioned MP is sent;
Step S507:Whether MPP stores URL corresponding with above-mentioned ID according to the inquiry of above-mentioned request message;
Step S508:When query result is when being, storage URL corresponding with above-mentioned ID is sent to above-mentioned MP by MPP;When When query result is no, MPP sends request message to web medium server, which includes above-mentioned ID, the network media Server receives the request message, URL corresponding with above-mentioned ID is sent to MPP, MPP stores the URL, and the URL is sent To above-mentioned MP;
Step S509:MP plays above-mentioned network media file according to above-mentioned URL.
This application example does not have connected to the network in MP, utilizes MP connected to the network other in MESH network Or MPP realizes the network media file of the variable URL of the MP normal plays, simply, is suitble to practical application.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are come It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (8)

  1. A kind of 1. method of playing network media file, which is characterized in that include the following steps:
    When meeting URL request condition, the connection status with network is judged;
    It when judgement is not with the network connection, sends and broadcasts the message to MESH network, the broadcast message includes network matchmaker The ID of body file;
    The node that remaining each MESH network function in the MESH network is received in preset time disappears according to the broadcast Cease the message sent according to preset requirement;
    Judge whether to have in the node of remaining each MESH network function according to the message and meet preset rules The node of MESH network function;
    When judging result is when being, request message one, institute is sent to the node of the MESH network function of meeting preset rules It states request message one and includes the ID, and receive the node of MESH network function for meeting preset rules according to the request The URL corresponding with the ID that message one is sent;When judging result is no, sends and ask to MESH network wired portal node Message two, the request message two include the ID, and receive the MESH network wired portal node and disappeared according to the request The URL corresponding with the ID for the storage that breath two the is sent or URL corresponding with the ID received from web medium server;
    The network media file is played according to the URL;
    The preset requirement includes:In node and network connection of every judgement there are one MESH network function, one is sent really Recognize help message;Otherwise, one is sent to abandon helping message;It is described to confirm that help message includes sending the confirmation message The node of MESH network function is when the preceding request message number sent to the web medium server;
    It is that the confirmation helps message, and described that the node of MESH network function for meeting preset rules, which is the message sent, Confirm the node of the minimum MESH network function of the request message number that message is helped to include.
  2. 2. the method for playing network media file according to claim 1, which is characterized in that refer to receiving URL request When playing the network media file failure when enabling or according to the corresponding URL of the network media file, judgement meets the URL Request condition.
  3. A kind of 3. method of playing network media file, which is characterized in that include the following steps:
    The node of MESH network function is received in the section not with MESH network function remaining in network connection and MESH network Point during network connection to the request message two of MESH network wired portal node transmission, the request message two all with not including The ID of network media file;
    The ID with the network media file whether is stored according to the request message two inquiry MESH network wired portal node Corresponding URL;
    When URL corresponding with the ID of the network media file is when being, is sent to the MESH nets by the result of the inquiry The node of network function;When the result of the inquiry is no, request message three is sent to web medium server, the request disappears The ID that breath three includes the network media file, receive that the web medium server sends according to the request message three with The corresponding URL of ID of the network media file, and URL corresponding with the ID of the network media file be sent to described The node of MESH network function.
  4. 4. the method for playing network media file according to claim 3, which is characterized in that receiving the network media After the URL corresponding with the ID that server is sent, URL corresponding with the ID is sent to the MESH network function Before node, step is further included:
    Storage URL corresponding with the ID.
  5. 5. a kind of system of playing network media file, which is characterized in that including:
    Connection judgment module, for when meeting URL request condition, judging the connection status with network;
    Broadcast the message sending module, for when judgement is not with the network connection, sending and broadcasting the message to MESH network, institute State the ID that broadcast message includes network media file;
    Message reception module, for receiving the section of remaining each MESH network function in the MESH network in preset time Point is according to the message for broadcasting the message and being sent according to preset requirement;
    Node judgment module, for judging whether have in the node of remaining each MESH network function according to the message Meet the node of the MESH network function of preset rules;
    URL request module one, for when judging result for be when, to the node of MESH network function for meeting preset rules Request message one is sent, the request message one includes the ID, and receives the MESH network function of meeting preset rules The URL corresponding with the ID that is sent according to the request message one of node;
    URL request module two, for when judging result is no, request message two to be sent to MESH network wired portal node, The request message two includes the ID, and receives the MESH network wired portal node and sent according to the request message two Storage URL corresponding with the ID or from web medium server receive URL corresponding with the ID;
    File playing module, for playing the network media file according to the URL;
    The preset requirement includes:In node and network connection of every judgement there are one MESH network function, one is sent really Recognize help message;Otherwise, one is sent to abandon helping message;It is described to confirm that help message includes sending the confirmation message The node of MESH network function is when the preceding request message number sent to the web medium server;
    It is that the confirmation helps message, and described that the node of MESH network function for meeting preset rules, which is the message sent, Confirm the node of the minimum MESH network function of the request message number that message is helped to include.
  6. 6. the system of playing network media file according to claim 5, which is characterized in that further include URL request judgement Module, for playing the network media when receiving URL request instruction or according to the corresponding URL of the network media file When file fails, judgement meets the URL request condition;
    The connection judgment module the URL request determination module judgement meet the URL request condition when, judge with it is described The connection status of network.
  7. 7. a kind of system of playing network media file, which is characterized in that including:
    Request message receiving module, for receiving the node of MESH network function not with being remained in network connection and MESH network The node of remaining MESH network function all not with during network connection to MESH network wired portal node send request message Two, the request message two includes the ID of network media file;
    URL enquiry modules, for according to the request message two inquire MESH network wired portal node whether store with it is described The corresponding URL of ID of network media file;
    URL request module three, for when the result of the inquiry is no, request message three to be sent to web medium server, The request message three includes the ID of the network media file, receives the web medium server according to the request message Three URLs corresponding with the ID sent;
    URL sending modules, for when the result of the inquiry for be when, by the corresponding with the ID of the network media file of storage URL be sent to the node of the MESH network function;When the result of the inquiry is no, by the URL request module three The URL corresponding with the ID of the network media file that the web medium server received is sent is sent to the MESH nets The node of network function.
  8. 8. the system of playing network media file according to claim 7, which is characterized in that URL memory modules are further included, For receive that the web medium server is sent in the URL request module three URL corresponding with the ID after, storage with The corresponding URL of the ID;
    The URL sending modules are after the URL memory modules store URL corresponding with the ID, by the URL request module The URL corresponding with the ID that three web medium servers received are sent is sent to the section of the MESH network function Point.
CN201510472187.XA 2015-08-04 2015-08-04 The method and system of playing network media file Active CN105142038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510472187.XA CN105142038B (en) 2015-08-04 2015-08-04 The method and system of playing network media file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510472187.XA CN105142038B (en) 2015-08-04 2015-08-04 The method and system of playing network media file

Publications (2)

Publication Number Publication Date
CN105142038A CN105142038A (en) 2015-12-09
CN105142038B true CN105142038B (en) 2018-07-10

Family

ID=54727222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510472187.XA Active CN105142038B (en) 2015-08-04 2015-08-04 The method and system of playing network media file

Country Status (1)

Country Link
CN (1) CN105142038B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231630A (en) * 2017-05-31 2017-10-03 上海联彤网络通讯技术有限公司 The system and method for shared multiple network function is realized based on mobile communication equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141697A (en) * 2007-10-15 2008-03-12 北京航空航天大学 Video sharing method of mobile stream media
CN101299707A (en) * 2007-09-20 2008-11-05 上海寰创通信科技有限公司 Method for diffusing route
CN102571778A (en) * 2011-12-28 2012-07-11 奇智软件(北京)有限公司 Method and device for providing data
CN104602289A (en) * 2015-02-12 2015-05-06 广东欧珀移动通信有限公司 MPP node self recovery method, device and system and intelligent terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970331B (en) * 2012-10-26 2016-03-30 北京奇虎科技有限公司 Picture provides system
CN103634688A (en) * 2013-12-23 2014-03-12 乐视致新电子科技(天津)有限公司 Method and device of controlling smart television to play video files by mobile communication terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299707A (en) * 2007-09-20 2008-11-05 上海寰创通信科技有限公司 Method for diffusing route
CN101141697A (en) * 2007-10-15 2008-03-12 北京航空航天大学 Video sharing method of mobile stream media
CN102571778A (en) * 2011-12-28 2012-07-11 奇智软件(北京)有限公司 Method and device for providing data
CN104602289A (en) * 2015-02-12 2015-05-06 广东欧珀移动通信有限公司 MPP node self recovery method, device and system and intelligent terminal

Also Published As

Publication number Publication date
CN105142038A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN109756504B (en) Communication method based on live broadcast platform and related device
CN104883618B (en) Programme televised live tries method, apparatus and system
CN106027586B (en) The method and apparatus of agreed bandwidth in a peer-to-peer network
CN101127623A (en) Data processing method, device and system
CN104780183A (en) Information sharing method, device and electronic device
ATE516539T1 (en) METHOD AND DEVICE IN A COMMUNICATIONS NETWORK
CN105791093B (en) Virtual objects presentation method and device
CN102075561A (en) Method, device and system for downloading network resources
CN110392020A (en) A kind of transmission method and system of streaming media resource
CN104243520A (en) Remote monitoring method, device and system
CN105142038B (en) The method and system of playing network media file
CN103001941A (en) Multipoint login based message distribution method and multipoint login based message distribution device
CN106302032A (en) A kind of point-to-multipoint poll means of communication
CN107690183A (en) Uplink data transmission method and device
CN102647395B (en) Method, device and system for distributing number of people for online game server
CN105847275A (en) Data transmission channel creating method, system and server
US20120324033A1 (en) Apparatus and method of performing discovery based on priority level in distributed network, and method of determining discovery back-off time
CN104767796A (en) Hot resource management method for internet of vehicles based on mobile P2P
CN106254935A (en) A kind of method of resource-sharing and terminal
CN104836827A (en) Data processing method based on asymmetric P2P network, and system
CN105142039B (en) The method and system of playing network media file
CN103532850B (en) Uplink message forwarding method, device and AP (access point) equipment
CN105763456A (en) Path selection method, device and system
CN104253874A (en) Message sending and processing method, device and system
CN113765745A (en) Service performance testing method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.