CN104410620B - A kind of information processing method and server - Google Patents

A kind of information processing method and server Download PDF

Info

Publication number
CN104410620B
CN104410620B CN201410681769.4A CN201410681769A CN104410620B CN 104410620 B CN104410620 B CN 104410620B CN 201410681769 A CN201410681769 A CN 201410681769A CN 104410620 B CN104410620 B CN 104410620B
Authority
CN
China
Prior art keywords
node
stream media
electronic equipment
solicited message
streaming media
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
CN201410681769.4A
Other languages
Chinese (zh)
Other versions
CN104410620A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410681769.4A priority Critical patent/CN104410620B/en
Publication of CN104410620A publication Critical patent/CN104410620A/en
Application granted granted Critical
Publication of CN104410620B publication Critical patent/CN104410620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of information processing method, for solving the technical issues of burden of server of the prior art is larger, real-time is poor.The method includes:At least one of server Streaming Media is sent to the first stream media node in the corresponding M stream media node of stream media node cluster;Wherein, it can be communicated with each other between the M stream media node, M is positive integer;It detects and judges whether the first solicited message of the first electronic equipment at least one electronic equipment meets the first preset condition;If satisfied, using the second stream media node in the M stream media node as service node corresponding with first electronic equipment;Second stream media node is controlled to obtain first object Streaming Media corresponding with first solicited message by first stream media node, and the first object Streaming Media is sent to first electronic equipment.Invention additionally discloses servers corresponding with this method.

Description

A kind of information processing method and server
Technical field
The present invention relates to machinery field, more particularly to a kind of information processing method and server.
Background technology
With the rapid development of science and technology and the increasingly fierceness of market competition, the performance and appearance of electronic equipment have obtained energetically Promoted, wherein laptop with its small volume and less weight, it is easy to carry, recreational strong the advantages that just by more and more people's Like, become an indispensable part in studying and living.User is also more and more using the thing that electronic equipment can be done, Such as:User can be watched video by the electronic equipment being connect with network server, listen to music, play game etc..
In general, during electronic equipment viewing media are used, need to obtain corresponding Streaming Media from server, i.e., When media resource is asked in requesting terminal by router to server, corresponding media are provided by the forwarding capability of router Source is transmitted to terminal, to provide service to the user.But it is made requests on when existing simultaneously the same media resource of multiple terminal-pairs When, it, may in service process since router node needs to carry out multiple duplication and flow control to the real-time media Cause the delay of Streaming Media;Also, the unlimited of wide area network and not is switched to by the constrained viewing of LAN in real time flow medium After the viewing of homogenous quantities demand, need to solve the unlimited dynamic replication of media stream data, each Media Stream real-time synchronization and provide on demand The problem of different quality code stream, therefore, the burden of server and router is larger, and live effect is poor.
Therefore, it exists in the prior art during streaming media service, server bears the skill larger, real-time is poor Art is helpless to be carried.
Invention content
The embodiment of the present invention provides a kind of information processing method and server, for solving server of the prior art The technical issues of larger, real-time is poor is born, is realized by dividing in the increased stream media node cluster of streaming media service layer The burden that server is terminal service is dissipated, improves efficiency of service.
A kind of information processing method, applied in server, the server is connected at least one by routing device Electronic equipment, the method includes:
At least one of server Streaming Media is sent to the corresponding M stream media node of stream media node cluster In the first stream media node;Wherein, it can be communicated with each other between the M stream media node, M is positive integer;
Detect and judge the first electronic equipment at least one electronic equipment the first solicited message whether Meet the first preset condition;
If satisfied, using the second stream media node in the M stream media node as with first electronic equipment pair The service node answered;
Second stream media node is controlled to be obtained and first solicited message pair by first stream media node The first object Streaming Media answered, and the first object Streaming Media is sent to first electronic equipment.
A kind of server, the server are connected at least one electronic equipment, the server packet by routing device It includes:
First transmitting element, at least one of server Streaming Media to be sent to stream media node cluster pair The first stream media node in the M stream media node answered;Wherein, can mutually be led between the M stream media node Letter, M is positive integer;
First judging unit, for detecting and judging the first electronic equipment at least one electronic equipment Whether the first solicited message meets the first preset condition;
Allocation unit, for if satisfied, using the second stream media node in the M stream media node as with described The corresponding service node of one electronic equipment;
Processing unit, for second stream media node to be controlled to be obtained and described the by first stream media node The corresponding first object Streaming Media of one solicited message, and the first object Streaming Media is sent to first electronic equipment.
In the embodiment of the present invention, since at least one Streaming Media is sent to the stream media node by the server in advance The first stream media node in cluster, therefore when detecting first solicited message from first electronic equipment, lead to The judgement to it is crossed, when determining to meet first preset condition, then by the second in the stream media node cluster Media node is assigned as the corresponding service node of first electronic equipment, so as to control the second stream media node according to described One solicited message provides the first object Streaming Media for first electronic equipment, therefore when multiple electronic equipments are to passing through routing When the server of device connection sends service request information, then through being each electronic equipment distribution in the stream media node cluster Corresponding service stream media node, realizes and obtains corresponding target by the association between node in stream media node cluster Streaming Media realizes distributed stand-alone service mode, without all servicing by each stream media node in cluster Device or routing end are replicated and are serviced, therefore reduce the burden of server.
Simultaneously as stream media node cluster described in the server controls is the electronic device terminal for sending solicited message Distribute corresponding stream media node, then it can be by being obtained and the corresponding target stream of request respectively in first stream media node Media improve the efficiency of acquisition process so that each stream media node can obtain target Streaming Media quickly, and be sent to pair The electronic device terminal answered, therefore there is preferable real-time, efficiency of service is higher.
Description of the drawings
Fig. 1 is the main flow schematic diagram of information processing method in the embodiment of the present invention;
Fig. 2 is the structure diagram of stream media node cluster in the embodiment of the present invention;
Fig. 3 is the primary structure schematic diagram of server in the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention discloses a kind of information processing method, and applied in server, the server is set by routing It is standby to be connected at least one electronic equipment, the method includes:At least one of server Streaming Media is sent to stream The first stream media node in the corresponding M stream media node of media node cluster;Wherein, between the M stream media node It can communicate with each other, M is positive integer;It detects and judges the first electronic equipment at least one electronic equipment The first solicited message whether meet the first preset condition;If satisfied, by the second Streaming Media section in the M stream media node Point is as service node corresponding with first electronic equipment;Second stream media node is controlled to pass through the first-class matchmaker Body node obtains first object Streaming Media corresponding with first solicited message, and the first object Streaming Media is sent to First electronic equipment.
In the embodiment of the present invention, since at least one Streaming Media is sent to the stream media node by the server in advance The first stream media node in cluster, therefore when detecting first solicited message from first electronic equipment, lead to The judgement to it is crossed, when determining to meet first preset condition, then by the second in the stream media node cluster Media node is assigned as the corresponding service node of first electronic equipment, so as to control the second stream media node according to described One solicited message provides the first object Streaming Media for first electronic equipment, therefore when multiple electronic equipments are to passing through routing When the server of device connection sends service request information, then through being each electronic equipment distribution in the stream media node cluster Corresponding service stream media node, realizes and obtains corresponding target by the association between node in stream media node cluster Streaming Media realizes distributed stand-alone service mode, without all servicing by each stream media node in cluster Device or routing end are replicated and are serviced, therefore reduce the burden of server.
Simultaneously as stream media node cluster described in the server controls is the electronic device terminal for sending solicited message Distribute corresponding stream media node, then it can be by being obtained and the corresponding target stream of request respectively in first stream media node Media improve the efficiency of acquisition process so that each stream media node can obtain target Streaming Media quickly, and be sent to pair The electronic device terminal answered, therefore there is preferable real-time, efficiency of service is higher.
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art All other embodiments obtained without creative efforts shall fall within the protection scope of the present invention.
In the embodiment of the present invention, the electronic equipment can be PC (personal computer), notebook, PAD (tablet computer), The different electronic equipment of mobile phone etc., the invention is not limited in this regard.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, represents there may be Three kinds of relationships, for example, A and/or B, can represent:Individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein, it is a kind of relationship of "or" to typically represent forward-backward correlation object.
The preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
Fig. 1 is referred to, the embodiment of the invention discloses a kind of information processing method, applied in server, the service Device is connected at least one electronic equipment by routing device, and the method may include following steps:
Step 11:At least one of server Streaming Media is sent to the corresponding M stream of stream media node cluster The first stream media node in media node;Wherein, it can be communicated with each other between M stream media node of the stream, M is just Integer.
In the embodiment of the present invention, at least one electronic equipment can be carried out by routing device and the server Connection, at least one electronic equipment can have laptop, mobile phone, tablet computer of communication function etc..Stream Media node cluster is no main structure, and stream can be uploaded to any one node by stream media equipment
Optionally, the set of node that the stream media node cluster can be and be established by physics or virtual node device Group, the quantity of the M stream media node having can be according to determined by node device, and usually, node is set Standby more, then it is more to kick node for the Streaming Media in cluster, can be correspondingly that more electronic device terminals be serviced.Specifically , the stream media node cluster can be built upon the cluster of streaming media service layer, can be connected with routing device, but do not relate to And the change to routing layer, then with the dynamic allocation of stream media node, can service be entered by same routing layer, you can use or Distribute the stream media node in cluster.
Fig. 2 is referred to, is the schematic diagram of stream media node cluster, wherein, it can will be described at least one by router Streaming Media is uploaded on any stream media node in cluster, and using the node as the first stream media node.
In active service, at least one Streaming Media can be sent to the stream matchmaker by the server by router On the first stream media node in body node cluster, due to that can be communicated with each other between the M stream media node, therefore flow Other stream media nodes in media node cluster can know Streaming Media present on first Streaming Media.For example, institute When stating the first stream media node and receiving at least one Streaming Media, can Streaming Media be generated according at least one Streaming Media Traffic table, and the streaming media service table is shared into other stream media nodes or the table is set as open state, to collect Other stream media nodes in group carry out consulting service available streaming media resource by process.
Step 12:Detect and judge the first request letter of the first electronic equipment at least one electronic equipment Whether breath meets the first preset condition.
In the embodiment of the present invention, there is first solicited message from least one electronic equipment when detecting When, judge whether first solicited message meets the process of first preset condition and be specifically as follows:Come when detection has From the first solicited message of the first electronic equipment at least one electronic equipment when, judge that first solicited message is The no first node mark identical comprising node identification corresponding with first stream media node;If not including, determine described First solicited message meets first preset condition.
Wherein, each stream media node has corresponding node identification, institute at least one stream media node Stating node identification can show the corresponding terminal of the solicited message received when sending solicited message with user, if having and be directed to Stream media node.For example, if the corresponding request stream of solicited message and the institute in stream media node cluster are reached by router Stream where stating the first stream media node corresponds to, then the first node can be included in the solicited message and is identified, so as to true The fixed solicited message is the request for first stream media node;If not including, the first request letter can be determined Breath is unsatisfactory for first preset condition, i.e., is not the request carried out for first stream media node.
Step 13:If satisfied, using the second stream media node in the M stream media node as with first electronics The corresponding service node of equipment.
After the judging result in step 12, if described in the judging result shows that first solicited message meets First preset condition, i.e., described first solicited message are not the solicited messages for first stream media node, therefore can be by institute It states the second stream media node in stream media node cluster and distributes to first electronic equipment, as its corresponding service section Point.
In practice, when receiving multiple solicited messages from least one electronic equipment, judging that it meets institute After stating the first preset condition, the stream media node cluster automatically, can be distributed randomly in cluster for it except described first-class Stream media node outside media node, to realize through distributed method of service, mitigates as corresponding service node The burden of first stream media node.
Step 14:Second stream media node is controlled to be obtained and the described first request by first stream media node The corresponding first object Streaming Media of information, and the first object Streaming Media is sent to first electronic equipment.
In the embodiment of the present invention, as corresponding after second stream media node is distributed for first electronic equipment After service node, the method can also include:Obtain the corresponding at least one required parameter of first solicited message;Pass through At least one required parameter is sent to first stream media node by second stream media node.Wherein, it is described extremely A few required parameter may be used to indicate that first electronic equipment to the requested Streaming Media type of the server, matter Situations such as amount, data volume size, to provide service for electronic device terminal according to specific requirements.
Optionally, in the embodiment of the present invention, after at least one required parameter is obtained, pass through second Streaming Media The process that node obtains the first object Streaming Media at first stream media node can specifically include:According to it is described extremely The first parameter information in a few required parameter determines in first stream media node the with first-class media identification One Streaming Media;Judge whether the corresponding control parameter of first Streaming Media joins with second at least one required parameter Number information is consistent, obtains a judging result;According to the judging result, second stream media node is controlled to pass through described first Streaming Media obtains first object Streaming Media corresponding with first solicited message.
Wherein, first parameter information can be media stream identification, which, which may be used to indicate that, is asked Streaming Media type, such as video, music, picture etc..And the control parameter can refer to control the corresponding matter of Streaming Media The parameters such as amount, size, such as standard quality, high-quality etc..
There can be a variety of data contents generally, due to all types of Streaming Medias, can also be carried out in Streaming Media mark It embodies.For example, Streaming Media is identified as the Streaming Media that A is expressed as video data, Streaming Media is identified as the stream that B is represented as image data Media, then video data stream media identification is that A1, A2 can represent the Streaming Media of corresponding video 1 and the Streaming Media of corresponding video 2, And Streaming Media is identified as the Streaming Media that can represent correspondence image 1 of B1, Streaming Media is identified as the stream of the representative correspondence image 2 of B2 Media.
Further, since each Streaming Media may have different characteristics control parameter, for example, at least one stream matchmaker In body, even its corresponding quality size of the Streaming Media of same type may be differed also, therefore determine at least one stream After there is the first Streaming Media of Streaming Media mark to match with first parameter information in media, can also it obtain and described the The corresponding control parameter of one Streaming Media, and pass through and it is compared with second required parameter, can be more precisely Electronic device terminal provides the target Streaming Media of demand.
If for example, it is A2, and determine first-class matchmaker according to first required parameter that first solicited message determines There is body Streaming Media to identify A2, then is to ask the stream that quality-controlling parameters are 1080P according to second required parameter further Media, then at this point, can determine whether the corresponding control parameter of first Streaming Media is identical with second required parameter.
If specifically, identical, first Streaming Media is determined as the first mesh corresponding with first solicited message Mark Streaming Media;Otherwise, second stream media node is controlled to be replicated to first Streaming Media and the conversion of control parameter, First object Streaming Media corresponding with first solicited message is obtained, then controls second stream media node again by described in First object Streaming Media is sent to first electronic equipment, to provide use to the user at the first electronic equipment end. I.e. when there is the solicited message for carrying out self terminal, a layer proxy can be made and by described the by other stream media nodes in cluster Streaming Media corresponding with solicited message and control parameter are replicated in one stream media node, so as to provide service for terminal.
In practice, second stream media node according at least one required parameter from first stream media node It is middle to obtain the first object Streaming Media, there can be two ways:
Mode one:Second stream media node is informed at least one required parameter by process described first-class Media, first stream media node determine the corresponding first object stream matchmaker according at least one required parameter Body, and second stream media node is sent it to, and second stream media node obtains the first object Streaming Media Afterwards, first electronic equipment is forwarded it to.
Wherein, if joining in the control parameter that first Streaming Media is determined according to Streaming Media mark with the described second request Number is different, then first Streaming Media can be sent to second stream media node, then by institute by first stream media node The second stream media node is stated to convert, such as by quality-controlling parameters by by 480P the control parameter of first Streaming Media 1080P is converted to, so as to obtain the first object Streaming Media.
Mode two:Second stream media node is according at least one required parameter from first stream media node Corresponding target Streaming Media is inquired in shared traffic table, determines that there is stream matchmaker corresponding at least one required parameter Body, and the Streaming Media is replicated, to obtain corresponding first object Streaming Media, and send it to first electronics and set It is standby.
Wherein, if the control parameter in the first Streaming Media determined according to the first required parameter is joined with the described second request Number is different, then can control it turning for parameter in second stream media node replicates the first-class media procedure It changes, to obtain with the first object Streaming Media with the matched control parameter of the second required parameter, and then is transmitted to described First electronic equipment.
Due in the embodiment of the present invention, in the mistake that the first object Streaming Media is obtained by second stream media node Cheng Zhong, at least two required parameters that can be in first solicited message come true by judgement or comparison at least twice Fixed corresponding first object Streaming Media, and in the control parameter according to the first determining Streaming Media of Streaming Media mark and the second request During parameter difference, can quality conversion be carried out by the second stream media node, so as to obtain corresponding target Streaming Media, therefore in user When terminal switches the viewing demand of different quality, can be by the duplication or quality conversion of corresponding service node streaming media It provides corresponding streaming media resource.And since stream media node and electronic device terminal are one-to-one service, so that The efficiency for performing request is higher, can keep preferable real-time, improve the experience of user.
Optionally, in the embodiment of the present invention, if being determined in the deterministic process of step 12, first solicited message is discontented with The foot preset condition includes the first node corresponding with first stream media node in that is, described first solicited message Mark, therefore directly can provide streaming media service for first electronic equipment by first stream media node, i.e., according to institute At least one of the first solicited message parameter information is stated, controls first stream media node will be with first solicited message Corresponding first object Streaming Media is sent to first electronic equipment.
If in addition, the corresponding first request ginseng of first solicited message is not met at least one Streaming Media Number then can send a streaming media resource to the server by the router and ask, to make the stream media node collection Group obtains corresponding request Streaming Media from the server end, and passes through the router and be sent to the first Streaming Media section Point, so as to provide service for terminal.
Usually, what the M stream media node in stream media node cluster can be in the range of centainly undertaking please It asks.For example, 100 solicited messages can be usually handled simultaneously.Therefore, server, can basis after the request of terminal is received Stream media node load state decides whether to distribute new node in current cluster.
Therefore in the embodiment of the present invention, second when second electronic equipment of the reception from least one electronic equipment please When seeking information, the corresponding number of requests of current ongoing solicited message is detected in the stream media node cluster;Wherein, institute It is to meet the information of first preset condition to state the second solicited message;Judge whether the number of requests is more than predetermined threshold value; If being more than, the stream media node cluster is controlled to generate the M+1 stream media node, and by the M+1 stream media node As service node corresponding with second electronic equipment.It please be still referring to FIG. 2, wherein, standby node can be used as described When number of requests is more than the predetermined threshold value, the stream media node cluster can load the standby node, and generate the M + 1 stream media node.
It should be noted that for being assigned for the electronic device terminal of corresponding service node, if in a timing The interior service node does not receive the solicited message of its transmission again, then controllable flow media node cluster breaks the service node The correspondence with electronic device terminal is opened, so as to dynamically update the number of nodes in cluster, therefore with other electricity During the new solicited message of sub- equipment, by the real-time detection to current stream media node, present node load state is determined, if Excess load then sends out report, and using the standby node being configured, then notifies the new spare section of cluster loading by command mode Point, and then the M+1 stream media node is distributed as corresponding service node for second electronic equipment, to be terminal Service is provided.
Fig. 3 is referred to, based on same idea, the present invention also provides a kind of server, a kind of server, the server leads to It crosses routing device and is connected at least one electronic equipment, the server includes the first transmitting element 301, the first judging unit 302nd, allocation unit 303 and processing unit 304.
First transmitting element 301 can be used at least one of server Streaming Media being sent to Streaming Media The first stream media node in the corresponding M stream media node of node cluster;It wherein, can between the M stream media node It communicates with each other, M is positive integer.
First judging unit 302 can in detect and judge at least one electronic equipment first electricity Whether the first solicited message of sub- equipment meets the first preset condition.
The allocation unit 303 can be used for if satisfied, the second stream media node in the M stream media node is made For service node corresponding with first electronic equipment.
The processing unit 304 can be used for second stream media node is controlled to obtain by first stream media node First object Streaming Media corresponding with first solicited message is taken, and the first object Streaming Media is sent to described first Electronic equipment.
Optionally, in the embodiment of the present invention, first judging unit 302 specifically can be used for:
When detection has the first solicited message of the first electronic equipment at least one electronic equipment, sentence Whether first solicited message of breaking includes the identical first node mark of node identification corresponding with first stream media node Know;
If not including, determine that first solicited message meets first preset condition.
Optionally, in the embodiment of the present invention, first judging unit 302 specifically can be also used for:If described first please Information is asked to include first node mark, determines that first solicited message is unsatisfactory for first preset condition, and by institute The first stream media node is stated as service node corresponding with first electronic equipment;
The processing unit is additionally operable to:According at least one of first solicited message parameter information, described in control First object Streaming Media corresponding with first solicited message is sent to first electronic equipment by the first stream media node.
In the embodiment of the present invention, the server further includes:Acquiring unit corresponds to for obtaining first solicited message At least one required parameter;Second transmitting element, for by second stream media node by least one request Parameter is sent to first stream media node.
Optionally, in the embodiment of the present invention, the processing unit 304 specifically can be used for:According to it is described it is at least one please The first parameter information in parameter is sought, determines that there is the first-class matchmaker of first-class media identification in first stream media node Body;Judge the corresponding control parameter of first Streaming Media whether with the second parameter information at least one required parameter Unanimously, a judging result is obtained;According to the judging result, second stream media node is controlled to pass through first Streaming Media Obtain first object Streaming Media corresponding with first solicited message;Second stream media node is controlled by first mesh Mark Streaming Media is sent to first electronic equipment.
Optionally, in the embodiment of the present invention, the processing unit 304 specifically can be also used for:If the judging result table It is bright identical, second stream media node is controlled to replicate first Streaming Media, and believe as with the described first request Cease corresponding first object Streaming Media;If alternatively, the judging result shows to differ, second stream media node pair is controlled First Streaming Media replicate and the conversion of control parameter, obtains first object stream corresponding with first solicited message Media.
Optionally, in the embodiment of the present invention, the server further includes:Detection unit is received described in extremely for working as During the second solicited message of the second electronic equipment of a few electronic equipment, detect in the stream media node cluster it is current The corresponding number of requests of solicited message of progress;Wherein, second solicited message is to meet the letter of first preset condition Breath;Second judgment unit, for judging whether the number of requests is more than predetermined threshold value;Expanding element, if for being more than, control The stream media node cluster generates the M+1 stream media node, and using the M+1 stream media node as with described the The corresponding service node of two electronic equipments.
The embodiment of the present invention discloses a kind of information processing method, and applied in server, the server is set by routing It is standby to be connected at least one electronic equipment, the method includes:At least one of server Streaming Media is sent to stream The first stream media node in the corresponding M stream media node of media node cluster;Wherein, between the M stream media node It can communicate with each other, M is positive integer;It detects and judges the first electronic equipment at least one electronic equipment The first solicited message whether meet the first preset condition;If satisfied, by the second Streaming Media section in the M stream media node Point is as service node corresponding with first electronic equipment;Second stream media node is controlled to pass through the first-class matchmaker Body node obtains first object Streaming Media corresponding with first solicited message, and the first object Streaming Media is sent to First electronic equipment.
In the embodiment of the present invention, since at least one Streaming Media is sent to the stream media node by the server in advance The first stream media node in cluster, therefore when detecting first solicited message from first electronic equipment, lead to The judgement to it is crossed, when determining to meet first preset condition, then by the second in the stream media node cluster Media node is assigned as the corresponding service node of first electronic equipment, so as to control the second stream media node according to described One solicited message provides the first object Streaming Media for first electronic equipment, therefore when multiple electronic equipments are to passing through routing When the server of device connection sends service request information, then through being each electronic equipment distribution in the stream media node cluster Corresponding service stream media node, realizes and obtains corresponding target by the association between node in stream media node cluster Streaming Media realizes distributed stand-alone service mode, without all servicing by each stream media node in cluster Device or routing end are replicated and are serviced, therefore reduce the burden of server.
Simultaneously as stream media node cluster described in the server controls is the electronic device terminal for sending solicited message Distribute corresponding stream media node, then it can be by being obtained and the corresponding target stream of request respectively in first stream media node Media improve the efficiency of acquisition process so that each stream media node can obtain target Streaming Media quickly, and be sent to pair The electronic device terminal answered, therefore there is preferable real-time, efficiency of service is higher.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in On the storage mediums such as CD, hard disk, USB flash disk, when computer program instructions quilt corresponding with information processing method in storage medium One electronic equipment reads or is performed, and includes the following steps:
At least one of server Streaming Media is sent to the corresponding M stream media node of stream media node cluster In the first stream media node;Wherein, it can be communicated with each other between the M stream media node, M is positive integer;
Detect and judge the first electronic equipment at least one electronic equipment the first solicited message whether Meet the first preset condition;
If satisfied, using the second stream media node in the M stream media node as with first electronic equipment pair The service node answered;
Second stream media node is controlled to be obtained and first solicited message pair by first stream media node The first object Streaming Media answered, and the first object Streaming Media is sent to first electronic equipment.
Optionally, stored in the storage medium and step:It detects and judges from least one electronic equipment In the first solicited message of the first electronic equipment whether meet the corresponding computer instruction of the first preset condition and held specifically During row, include the following steps:
When detection has the first solicited message of the first electronic equipment at least one electronic equipment, sentence Whether first solicited message of breaking includes the identical first node mark of node identification corresponding with first stream media node Know;
If not including, determine that first solicited message meets first preset condition.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step Suddenly:When detection has the first solicited message of the first electronic equipment at least one electronic equipment, institute is judged State the first solicited message whether comprising node identification corresponding with first stream media node it is identical first node mark pair The computer instruction answered is performed while being performed, and following steps are specifically included during execution:
If first solicited message is identified comprising the first node, it is described to determine that first solicited message is unsatisfactory for First preset condition, and using first stream media node as service node corresponding with first electronic equipment;
According at least one of first solicited message parameter information, control first stream media node will be with institute It states the corresponding first object Streaming Media of the first solicited message and is sent to first electronic equipment.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step Suddenly:If satisfied, using the second stream media node in the M stream media node as clothes corresponding with first electronic equipment The corresponding computer instruction of business node is performed after being performed, and following steps are specifically included during execution:
Obtain the corresponding at least one required parameter of first solicited message;
At least one required parameter is sent to by first stream media node by second stream media node.
Optionally, stored in the storage medium and step:Second stream media node is controlled by described first Stream media node obtains first object Streaming Media corresponding with first solicited message, and the first object Streaming Media is sent out It send to the corresponding computer instruction of first electronic equipment during specific be performed, includes the following steps:
According to the first parameter information at least one required parameter, determine have in first stream media node First Streaming Media of first-class media identification;
Judge whether the corresponding control parameter of first Streaming Media joins with second at least one required parameter Number information is consistent, obtains a judging result;
According to the judging result, second stream media node is controlled to be obtained and described the by first Streaming Media The corresponding first object Streaming Media of one solicited message;
Control second stream media node that the first object Streaming Media is sent to first electronic equipment.
Optionally, stored in the storage medium and step:According to the judging result, second Streaming Media is controlled Node passes through the corresponding computer of first Streaming Media acquisition first object Streaming Media corresponding with first solicited message Instruction includes the following steps during specific be performed:
If the judging result shows identical, second stream media node is controlled to be answered first Streaming Media System, and as first object Streaming Media corresponding with first solicited message;Or
If the judging result shows to differ, second stream media node is controlled to answer first Streaming Media The conversion of system and control parameter obtains first object Streaming Media corresponding with first solicited message.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step Suddenly:If satisfied, using the second stream media node in the M stream media node as corresponding with first electronic equipment The corresponding computer instruction of service node is performed after being performed, and following steps are specifically included during execution:
When the second solicited message for receiving the second electronic equipment from least one electronic equipment, described in detection The corresponding number of requests of current ongoing solicited message in stream media node cluster;Wherein, second solicited message is Meet the information of first preset condition;
Judge whether the number of requests is more than predetermined threshold value;
If being more than, the stream media node cluster is controlled to generate the M+1 stream media node, and described the M+1 is flowed Media node is as service node corresponding with second electronic equipment.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (14)

1. a kind of information processing method, applied in server, the server is connected at least one electricity by routing device Sub- equipment, the method includes:
At least one of server Streaming Media is sent in the corresponding M stream media node of stream media node cluster First stream media node;Wherein, it can be communicated with each other between the M stream media node, M is positive integer;
It detects and judges whether the first solicited message of the first electronic equipment at least one electronic equipment meets First preset condition;
If satisfied, using the second stream media node in the M stream media node as corresponding with first electronic equipment Service node;
Second stream media node is controlled to be obtained by first stream media node corresponding with first solicited message First object Streaming Media, and the first object Streaming Media is sent to first electronic equipment.
2. the method as described in claim 1, which is characterized in that detect and judge at least one electronic equipment Whether the first solicited message of the first electronic equipment meets the first preset condition, specifically includes:
When detection has the first solicited message of the first electronic equipment at least one electronic equipment, institute is judged State whether the first solicited message identifies comprising the identical first node of node identification corresponding with first stream media node;
If not including, determine that first solicited message meets first preset condition.
3. method as claimed in claim 2, which is characterized in that described when detection has from least one electronic equipment In the first electronic equipment the first solicited message when, judge first solicited message whether include and first Streaming Media The identical first node mark of the corresponding node identification of node, further includes:
If first solicited message is identified comprising the first node, determine that first solicited message is unsatisfactory for described first Preset condition, and using first stream media node as service node corresponding with first electronic equipment;
According at least one of first solicited message parameter information, control first stream media node will be with described the The corresponding first object Streaming Media of one solicited message is sent to first electronic equipment.
4. method as claimed in claim 2, which is characterized in that if satisfied, by the second in the M stream media node After media node is as service node corresponding with first electronic equipment, the method further includes:
Obtain the corresponding at least one required parameter of first solicited message;
At least one required parameter is sent to by first stream media node by second stream media node.
5. method as claimed in claim 4, which is characterized in that control second stream media node passes through described first Stream media node obtains first object Streaming Media corresponding with first solicited message, and the first object Streaming Media is sent out It send to first electronic equipment, specifically includes:
According to the first parameter information at least one required parameter, determine there is first in first stream media node First Streaming Media of Streaming Media mark;
Judge whether the corresponding control parameter of first Streaming Media is believed with the second parameter at least one required parameter Breath is consistent, obtains a judging result;
According to the judging result, second stream media node is controlled to be obtained by first Streaming Media please with described first Seek the corresponding first object Streaming Media of information;
Control second stream media node that the first object Streaming Media is sent to first electronic equipment.
6. method as claimed in claim 5, which is characterized in that according to the judging result, control the second Streaming Media section Point obtains first object Streaming Media corresponding with first solicited message by first Streaming Media, specifically includes:
If the judging result shows identical, second stream media node is controlled to replicate first Streaming Media, and As first object Streaming Media corresponding with first solicited message;Or
If the judging result shows to differ, control second stream media node first Streaming Media replicate and The conversion of control parameter obtains first object Streaming Media corresponding with first solicited message.
7. the method as described in any claims of claim 2-6, which is characterized in that if satisfied, by the M stream media node In the second stream media node as service node corresponding with first electronic equipment after, the method further includes:
When the second solicited message for receiving the second electronic equipment from least one electronic equipment, the stream matchmaker is detected The corresponding number of requests of current ongoing solicited message in body node cluster;Wherein, second solicited message is meets The information of first preset condition;
Judge whether the number of requests is more than predetermined threshold value;
If being more than, the stream media node cluster is controlled to generate the M+1 stream media node, and by the M+1 Streaming Media Node is as service node corresponding with second electronic equipment.
8. a kind of server, the server is connected at least one electronic equipment by routing device, and the server includes:
First transmitting element, it is corresponding at least one of server Streaming Media to be sent to stream media node cluster The first stream media node in M stream media node;Wherein, it can be communicated with each other between the M stream media node, M For positive integer;
First judging unit, for detecting and judging first of the first electronic equipment at least one electronic equipment Whether solicited message meets the first preset condition;
Allocation unit, for if satisfied, using the second stream media node in the M stream media node as with described first electricity The corresponding service node of sub- equipment;
Processing unit, please with described first for second stream media node to be controlled to be obtained by first stream media node The corresponding first object Streaming Media of information is sought, and the first object Streaming Media is sent to first electronic equipment.
9. server as claimed in claim 8, which is characterized in that first judging unit is specifically used for:
When detection has the first solicited message of the first electronic equipment at least one electronic equipment, institute is judged State whether the first solicited message identifies comprising the identical first node of node identification corresponding with first stream media node;
If not including, determine that first solicited message meets first preset condition.
10. server as claimed in claim 9, which is characterized in that first judging unit is specifically additionally operable to:If described One solicited message is identified comprising the first node, determines that first solicited message is unsatisfactory for first preset condition, and Using first stream media node as service node corresponding with first electronic equipment;
The processing unit is additionally operable to:According at least one of first solicited message parameter information, control described first First object Streaming Media corresponding with first solicited message is sent to first electronic equipment by stream media node.
11. server as claimed in claim 9, which is characterized in that the server further includes:
Acquiring unit, for obtaining the corresponding at least one required parameter of first solicited message;
At least one required parameter is sent to described by the second transmitting element for passing through second stream media node One stream media node.
12. server as claimed in claim 11, which is characterized in that the processing unit is specifically used for:
According to the first parameter information at least one required parameter, determine there is first in first stream media node First Streaming Media of Streaming Media mark;
Judge whether the corresponding control parameter of first Streaming Media is believed with the second parameter at least one required parameter Breath is consistent, obtains a judging result;
According to the judging result, second stream media node is controlled to be obtained by first Streaming Media please with described first Seek the corresponding first object Streaming Media of information;
Control second stream media node that the first object Streaming Media is sent to first electronic equipment.
13. server as claimed in claim 12, which is characterized in that the processing unit is specifically additionally operable to:If the judgement The result shows that identical, second stream media node is controlled to replicate first Streaming Media, and as with described first The corresponding first object Streaming Media of solicited message;If alternatively, the judging result shows to differ, second Streaming Media is controlled First Streaming Media is replicated node and the conversion of control parameter, obtains and first solicited message corresponding first Target Streaming Media.
14. the server as described in any claims of claim 9-13, which is characterized in that the server further includes:
Detection unit, for when the second solicited message for receiving the second electronic equipment from least one electronic equipment When, detect in the stream media node cluster the corresponding number of requests of current ongoing solicited message;Wherein, described second Solicited message is to meet the information of first preset condition;
Second judgment unit, for judging whether the number of requests is more than predetermined threshold value;
If expanding element for being more than, controls the stream media node cluster to generate the M+1 stream media node, and by described in The M+1 stream media node is as service node corresponding with second electronic equipment.
CN201410681769.4A 2014-11-24 2014-11-24 A kind of information processing method and server Active CN104410620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410681769.4A CN104410620B (en) 2014-11-24 2014-11-24 A kind of information processing method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410681769.4A CN104410620B (en) 2014-11-24 2014-11-24 A kind of information processing method and server

Publications (2)

Publication Number Publication Date
CN104410620A CN104410620A (en) 2015-03-11
CN104410620B true CN104410620B (en) 2018-07-03

Family

ID=52648218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410681769.4A Active CN104410620B (en) 2014-11-24 2014-11-24 A kind of information processing method and server

Country Status (1)

Country Link
CN (1) CN104410620B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586340B (en) * 2020-05-08 2021-11-19 青岛海信医疗设备股份有限公司 Image data loading and providing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005369A (en) * 2006-01-19 2007-07-25 深圳市瑞福特信息技术有限公司 Distritive content sending net and distributive content sending and up transfering method
CN101237418A (en) * 2008-02-28 2008-08-06 蓝汛网络科技(北京)有限公司 Stream media acceleration system, method and device based on content distribution network

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6389448B1 (en) * 1999-12-06 2002-05-14 Warp Solutions, Inc. System and method for load balancing
CN1468002A (en) * 2002-06-27 2004-01-14 上海汉唐科技有限公司 Flow media compression, transmission and storage system based on internet
CN1495634A (en) * 2002-06-27 2004-05-12 上海汉唐科技有限公司 Server clustering load balancing method and system
CN1251103C (en) * 2002-12-31 2006-04-12 联想(北京)有限公司 Method for improving serviceability of business machine group
CN100581173C (en) * 2006-12-01 2010-01-13 清华大学 Method for self-adapted load balance scheduling of the video grid
CN100502339C (en) * 2007-08-31 2009-06-17 华为技术有限公司 Autonomous method for peer-to-peer network, node device and system
CN101252546B (en) * 2008-04-15 2012-02-29 中国科学技术大学 Method and apparatus for migrating medium stream online service
US8271652B2 (en) * 2008-07-24 2012-09-18 Netapp, Inc. Load-derived probability-based domain name service in a network storage cluster
CN101729273A (en) * 2008-10-27 2010-06-09 中国移动通信集团公司 Streaming media distribution system, method and device
CN101510884A (en) * 2009-03-26 2009-08-19 华为技术有限公司 Multimedia conference management method, network device and network system
CN101510880A (en) * 2009-03-27 2009-08-19 北京中星微电子有限公司 Streaming media system, device and method
CN102137140A (en) * 2010-10-08 2011-07-27 华为软件技术有限公司 Method, device and system for processing streaming services
CN101998144B (en) * 2010-11-17 2014-03-12 中兴通讯股份有限公司南京分公司 Content management method and system
CN102025630A (en) * 2010-12-14 2011-04-20 成都市华为赛门铁克科技有限公司 Load balancing method and load balancing system
CN103685416B (en) * 2012-09-20 2019-04-26 联想(北京)有限公司 Distributed task scheduling distributes and claims method and electronic equipment
CN103458013A (en) * 2013-08-21 2013-12-18 成都云鹰科技有限公司 Streaming media server cluster load balancing system and balancing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005369A (en) * 2006-01-19 2007-07-25 深圳市瑞福特信息技术有限公司 Distritive content sending net and distributive content sending and up transfering method
CN101237418A (en) * 2008-02-28 2008-08-06 蓝汛网络科技(北京)有限公司 Stream media acceleration system, method and device based on content distribution network

Also Published As

Publication number Publication date
CN104410620A (en) 2015-03-11

Similar Documents

Publication Publication Date Title
US10356365B2 (en) Framework to support a hybrid of meshed endpoints with non-meshed endpoints
US9532002B2 (en) System for enabling meshed conferences to be seamlessly promoted to full MCU based conferences
WO2019084972A1 (en) Streaming media live broadcast method and system
WO2017088384A1 (en) Method, apparatus and system for uploading live video
WO2021164352A1 (en) Network live broadcast data management method and related device
JP2016502798A (en) Dynamic bit rate encoding and distribution according to the content situation
JP2008199539A (en) Band requesting system, band requesting device, client device, band requesting method, content reproducing method, and program
CN108650667A (en) Terminal scheduling method and apparatus
US10812757B2 (en) Communication system
CN113741762A (en) Multimedia playing method, device, electronic equipment and storage medium
KR101686073B1 (en) Method, management server and computer-readable recording medium for allowing client terminal to be provided with services by converting network topology adaptively according to characteristics of the services
US9992140B2 (en) Electronic apparatus, server, and control method of system
EP3257197B1 (en) Distribution of bandwidth in a network
CN106686635B (en) Data transmission method and device based on control and configuration protocol of wireless access point
CN104158673A (en) Conference mode selection method and server
CN104410620B (en) A kind of information processing method and server
CN107431641A (en) For the subscription of communication attributes
US11818185B2 (en) Audio streaming from host Bluetooth device to multiple receiving Bluetooth devices
CN105634931B (en) Message service processing method and instant communication server
CN106254935A (en) A kind of method of resource-sharing and terminal
KR20220128396A (en) Flash Crowd Management for Live Streaming
KR20110028057A (en) Method for setting multiple session and node by using thereof
KR20160102231A (en) Stateless message routing
CN112738445B (en) Multi-line plug flow method and device, storage medium and electronic equipment
CN109889545A (en) Data communications method and device

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