CN104618743B - Code check resource allocation methods, apparatus and system - Google Patents

Code check resource allocation methods, apparatus and system Download PDF

Info

Publication number
CN104618743B
CN104618743B CN201410850989.5A CN201410850989A CN104618743B CN 104618743 B CN104618743 B CN 104618743B CN 201410850989 A CN201410850989 A CN 201410850989A CN 104618743 B CN104618743 B CN 104618743B
Authority
CN
China
Prior art keywords
code check
check resource
terminal
resource
needed
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
CN201410850989.5A
Other languages
Chinese (zh)
Other versions
CN104618743A (en
Inventor
张秋生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201410850989.5A priority Critical patent/CN104618743B/en
Publication of CN104618743A publication Critical patent/CN104618743A/en
Application granted granted Critical
Publication of CN104618743B publication Critical patent/CN104618743B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of code check resource allocation methods, apparatus and systems.Wherein, this method includes:The code check resource state information that terminal is sent is received, which is used to indicate the code check resource needed for terminal;The code check resource state information sent according to terminal is parsed, and obtains the analysis result of the code check resource needed for counterpart terminal;According to analysis result resource deployment is carried out for code check resource.The problem of present invention is solved since server configuration code check resource mode is single, caused multimedia distortion or influence multimedia show effect.

Description

Code check resource allocation methods, apparatus and system
Technical field
The present invention relates to internet arena, in particular to a kind of code check resource allocation methods, apparatus and system.
Background technology
With the development of network, more and more Internet resources are showed in front of the user in the form of multimedia, wherein, it is more The type of media includes at least one of:Audio, video, image, word.User is using web browsing multimedia same When, how to be accordingly that the corresponding multimedia code check resource of every user's distribution becomes currently during user browses Urgent problem to be solved.
Wherein, multimedia code check resource is illustrated by taking video code rate and audio code rate as an example, code check:It is data transmission When the unit interval transmission data bits, i.e. the sampling rate within the unit interval.Sampling rate is bigger in unit interval, and precision is just Higher, the file dealt is just closer to original document, but file size is directly proportional to sampling rate, so almost institute Coded format payes attention to is all how with minimum code check to reach minimum distortion, consolidate around what this core was derived Constant bit rate (constant bit rate, abbreviation cbr) and variable bit rate (variable bit rate, abbreviation vbr), be all The article that this respect is done, but thing is not always absolute, for example, for an audio, code check is higher, the ratio compressed Smaller, tonequality loss is smaller, closer with the tonequality of source of sound.
During existing network side is to multimedia code check resource distribution, the data that server is sent according to user please It asks, corresponding code check resource is matched for user according to current transmission rate.
But aforesaid operations have a problem that:Since server according to current transmission rate matches corresponding code check for user Resource is easy to cause and chooses same configuration mode for different types of code check Resource Server, so as to cause responding Multimedia distortion or influence multimedia show effect during code check resource.
For since server configuration code check resource mode is single, caused multimedia distortion or influence are more in the prior art The problem of display advertising effect, currently no effective solution has been proposed.
The content of the invention
It is a primary object of the present invention to provide a kind of code check resource allocation methods, apparatus and system, to solve due to clothes The problem of business device configuration code check resource mode is single, caused multimedia distortion or influence multimedia show effect.
To achieve these goals, one side according to embodiments of the present invention provides a kind of code check resource allocation side Method.Code check resource allocation methods according to the present invention include:
The code check resource state information that terminal is sent is received, which is used to indicate the code needed for terminal Rate resource;The code check resource state information sent according to terminal is parsed, and obtains point of the code check resource needed for counterpart terminal Analyse result;According to analysis result resource deployment is carried out for code check resource.
To achieve these goals, another aspect according to embodiments of the present invention provides a kind of code check resource allocation dress It puts.Code check resource allocation device according to the present invention includes:
Receiving module, for receiving the code check resource state information of terminal transmission, code check resource state information is used to indicate Code check resource needed for terminal;Parsing module, the code check resource state information that the terminal for being received according to receiving module is sent It is parsed, obtains the analysis result of the code check resource needed for counterpart terminal;Distribution module, for what is obtained according to parsing module Analysis result carries out resource deployment for code check resource.
To achieve these goals, another aspect according to embodiments of the present invention provides a kind of code check resource allocation system System.Code check resource allocation system according to the present invention includes:At least one terminal and server, wherein, at least one terminal with Server establishes communication connection, and at least one terminal to server sends code check resource state information, and at least one terminal passes through Built-in data collecting module collected code check resource state information;Server receives code check resource state information, and parses code check Resource state information obtains analysis result, and resource deployment is carried out for code check resource according to analysis result.
According to inventive embodiments, the code check resource state information sent by receiving terminal, the code check resource state information It is used to indicate the code check resource needed for terminal;The code check resource state information sent according to terminal is parsed, and is obtained corresponding whole The analysis result of code check resource needed for end;According to analysis result resource deployment is carried out for code check resource.It solves due to service The problem of device configuration code check resource mode is single, caused multimedia distortion or influence multimedia show effect, so as to improve clothes The efficiency for device configuration code check resource of being engaged in.
Description of the drawings
The attached drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of code check resource allocation methods according to embodiments of the present invention;
Fig. 2 is the schematic diagram of code check resource allocation device according to embodiments of the present invention;
Fig. 3 is the schematic diagram of code check resource allocation device according to the preferred embodiment of the invention;
Fig. 4 is the schematic diagram of code check resource allocation device according to the preferred embodiment of the invention;
Fig. 5 is the schematic diagram of code check resource allocation device according to the preferred embodiment of the invention;And
Fig. 6 is the structure chart of code check resource allocation system according to embodiments of the present invention.
Specific embodiment
It should be noted that in the case where there is no conflict, the feature in embodiment and embodiment in the application can phase Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, without being used to describe specific order or precedence.It should be appreciated that it so uses Data can exchange in the appropriate case, so as to the embodiment of the present invention described herein.In addition, term " comprising " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit Process, method, system, product or equipment are not necessarily limited to those steps or unit clearly listed, but may include without clear It is listing to Chu or for the intrinsic other steps of these processes, method, product or equipment or unit.
Embodiment one
An embodiment of the present invention provides a kind of code check resource allocation methods.
Fig. 1 is the flow chart of code check resource allocation methods according to embodiments of the present invention.As shown in Figure 1, the code check resource It is as follows that distribution method includes step:
Step S102, receives the code check resource state information that terminal is sent, which is used to indicate end Code check resource needed for end;
Wherein, code check resource allocation methods provided in an embodiment of the present invention are suitable for the background devices of network side, the backstage Equipment can be:Server or the server cluster being made of multiple servers.In addition, the terminal in step S102, Ke Yiwei Intelligent electronic device, the intelligent electronic device can be:Television set intelligently box, smart television, smart mobile phone, tablet computer, pen Remember this computer, desktop computer, palm PC, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 players (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4), electronic reader.
Specifically, during step S102 is realized, it can be with the code check resource status of server receiving terminal transmission It is illustrated exemplified by information, for example, above-mentioned terminal is illustrated by taking smart television, smart mobile phone, tablet computer as an example:
Server receive from smart television, smart mobile phone, tablet computer code check resource state information.Wherein, service The code check resource state information that the above-mentioned terminal that device receives is sent is the data acquisition module by being internally embedded in above-mentioned terminal Block acquisition.The data acquisition module can also be embedded in gateway device, the type that server is forwarded by receiving gateway device Code check resource state information, the terminal equipment type being connected according to the acquisition of code check resource state information with gateway device.
Data acquisition module provided in an embodiment of the present invention is only to realize code check resource allocation provided in an embodiment of the present invention Subject to method, the position being located to the data acquisition module does not limit.
Step S104, the code check resource state information sent according to terminal are parsed, and obtain the code needed for counterpart terminal The analysis result of rate resource;
Specifically, server is parsed according to the code check resource state information received in step S102, terminal is obtained Type, the type of required code check resource, size, code check resource quality, code check resource request time and the terminal institute possession Domain, and the information got according to the one or more in above-mentioned generates analysis result.Wherein, the code check resource request time is eventually End sends the time of code check resource state information.
Wherein, which can be:Server is obtained by parsing code check resource state information belonging to the terminal In region, in the code check resource request time of the terminal, the code check resource of required counterpart terminal type, and get the corresponding end Hold type, size and the code check resource quality of the code check resource of type.Analysis result citing specific as follows:
It is assumed that terminal type is smart mobile phone, the affiliated region of terminal is X areas, and the code check resource request time is 21:30, The type of code check resource is wma, and code check resource size is S Mb, and code check resource quality is compression ordinary quality, as a result, server By parsing code check resource state information, obtained analysis result is:21 in X areas:30 there are smart mobile phones to ask Code check resource type is wma, and size S Mb, code check resource quality is the code check resource of compression ordinary quality.
Step S106 carries out resource deployment according to analysis result for code check resource.
Specifically, the analysis result generated in server foundation step S104, resource deployment is carried out to code check resource, so as to Data are provided for resource deployment decision-making to support, and then are the corresponding code check resource of terminal distribution.
The code check resource allocation methods that the above embodiments of the present application provide, the code check resource status sent by receiving terminal Information, the code check resource state information are used to indicate the code check resource needed for terminal;The code check resource status sent according to terminal Information is parsed, and obtains the analysis result of the code check resource needed for counterpart terminal;It is corresponded to according to analysis result for terminal distribution Code check resource.It solves since server configuration code check resource mode is single, caused multimedia distortion or influence multimedia The problem of bandwagon effect, so as to improve the efficiency of server configuration code check resource.
Preferably, code check resource state information includes at least one of:Code check resource, code check resource needed for multimedia Regional information belonging to request time, terminal, the code check resource needed for multimedia include at least one of:Code check is resources-type Type, code check resource size, code check source resource.
Specifically, the code check resource in the content that code check resource state information includes needed for multimedia includes:
Code check resource type includes at least:The corresponding code check resource type of audio, the corresponding code check resource type of video, figure As corresponding code check resource type, the corresponding code check resource type of word;For example, using the corresponding code check resource type of image as Example, the corresponding code check resource type of image can be:The picture of bmg or jpg forms;
Code check resource size is in addition to the corresponding file size of above-mentioned code check resource type, the terminal also with asking code check resource Device type is associated, according to the terminal-pair of type should there are the code check resource size of form, such as audio resource just have wma and Mp3 forms, the size of corresponding two kinds of forms is also different, for when terminal is smart mobile phone, audio resource is mainly based on mp3 Based on form;
Code check source resource can be the form of affiliated database or any storage code check resource of affiliated Dropbox, of the invention Implementation, which is subject to, realizes code check resource allocation methods, is not especially limited.
Above-mentioned multimedia includes at least one of:Audio, video, image, word.
The time that code check resource state information includes can be time when terminal sends the code check resource state information, should Time is obtained according to the code check resource state information of long-term receipt in a certain amount of time for the code of a certain type convenient for server Rate resource has the record of the request of data of concentration so that server can be allocated according to the record corresponding code check resource or Being allocated as code check resource transmission provides the performance serviced good server.Herein, the good server of performance refers to allotment one Or multiple servers or server cluster or allotment idle server, to ensure that code rate data transmits.
The regional information that code check resource state information includes can send the institute during code check resource state information for terminal Possession domain, for example, server by the affiliated region in code check resource state information to the code check resource state information that receives Classify, the good server of the area allotment performance high to same region code check resource requirement.
Based on the code check resource state information mentioned in above-described embodiment, in step S104, the code according to terminal transmission Rate resource state information is parsed, and the step of obtaining the analysis result of code check resource needed for counterpart terminal includes following arbitrary A kind of realization method:
Mode one is parsed according to the code check resource request time in code check resource state information, obtained within the time Code check resource needed for multimedia needed for terminal;
Specifically, parsed according to the code check resource request time in the code check resource state information, including:
Time in the code check resource data request record stored in the code check resource request time and server is carried out Comparison;
If the time when code check resource request time is network resource transmission peak period passes according to current network data Movement Capabilities configure corresponding code check resource or, allocate the good server of performance provides service for code rate data transmission.
Specifically, server is by the code check resource request time in code check resource state information, with pre-stored code check The relation table of resource request time and code check resource data number of requests is compared.Code check resource request is stored in server Time and the relation table of code check resource data number of requests, if the code check resource data number of requests of some periods has been more than pre- If threshold value, then the period be considered to belong to network resource transmission peak period.For ease of judging the code check resource status received Whether the code check resource request time in information belongs to peak period, and terminal-request code as shown in Table 1 is also stored on server M- the first code check resource data request record for whether belonging to peak period during rate resource data-code check resource request.
When the code check resource request time in above-mentioned code check resource state information belonging to the peak period period, server It is that the code rate data passes to configure corresponding code check resource according to current network data transmission capabilities or allocate the good server of performance Defeated offer service.
Table 1
By taking table 1 as an example, if the code check resource data request of server storage is recorded as the content described in table 1, wherein false If the predetermined threshold value for the code check resource data amount asked in unit interval section is G, if in the time 20:00~22:In 00, per small When the code check resource data amount asked be more than G, it is determined that the time 20:00~22:It is peak period in 00, it is assumed that terminal 4 is 21:00 Code check resource state information is sent to server, shown in server foundation table 1, the request time for getting terminal 4 is 21:00, The time is in peak period 20:00~22:In 00, server will be that terminal 4 configures corresponding code check resource as a result, and on peak The one or more servers of allotment or allotment idle server undertake the data transmission of code check resource in phase.
It is provided for example, still receiving the code check from smart television, smart mobile phone, tablet computer with server in step S102 Exemplified by the status information of source, server receives the code check resource state information that above-mentioned terminal is sent, if being currently 8:30pm corresponds to The timetable of the network resource transmission peak period of server storage belongs to the time in rush hour section, and server will be corresponding above-mentioned The code check resource of the corresponding form of type distribution of terminal allocates the good server of performance to ensure code rate data for above-mentioned terminal Transmission.
Wherein, the code check resource of the corresponding form of type distribution of the above-mentioned terminal of correspondence is ensured that terminal is using by server Reliability during code check resource rather than basis simply receive the distribution of code check resource state information and present data transmission feelings The code check resource that condition is not inconsistent, the further time according in code check resource state information is to terminal request code check resource record Comparison, obtains the correspondence code check resource needed for the terminal, so as to avoid code check resource transmission in the process since code check resource is excessive Caused by transmission when time-consuming situation, while the transmission time of code rate data is reduced, it is ensured that terminal obtain code check The quality of resource.
Mode two is parsed according to the regional information belonging to the terminal in code check resource state information, obtained in region Code check resource needed for multimedia in territorial scope indicated by information needed for terminal;
Specifically, parsed according to the regional information in code check resource state information, including:
Region in the code check resource data stored in regional information and server belonging to the terminal request record is believed Breath is compared;
If the high area of the frequency of occurrences in code check resource data request record is in region in the regional information, allotment property Server that can be good provides service for code rate data transmission.
Specifically, the historical record of its corresponding code check resource data request number of times in each region is stored in server Table, when the request number of times of some region is more than the first given threshold, it is believed that the region is the high ground of the request number of times frequency of occurrences Area, if request number of times is less than the second given threshold, it is believed that the region is the low area of the request number of times frequency of occurrences, wherein, First given threshold is more than the second given threshold.Assuming that the first given threshold is G, the second given threshold is K, and G>K works as service The request code check resource data amount M in certain city that device receives within the period 1>G, then server determine that the city goes out for request number of times The high area of existing frequency.
For ease of judging which kind of request time the affiliated regional information of terminal in the code check resource state information received belongs to The area of the frequency of occurrences is counted, terminal as shown in Table 2-request code check resource data-request region is also stored on server Second code check resource data request record.
Table 2
By taking table 2 as an example, if the code check resource data of server storage is recorded as the content described in table 2, S cities are request time The high area of the number frequency of occurrences, D cities, F cities are the general area of the request number of times frequency of occurrences, and H cities are the request number of times frequency of occurrences Low area.When the affiliated regional information of terminal 1 in the code check resource state information that terminal 1 is sent is:During S cities, in server After the code check resource state information for receiving the transmission of terminal 1, terminal 1 is obtained by the code check resource state information for parsing terminal 1 Affiliated region is S cities, and server determines region belonging to the terminal 1 as the high area of the request number of times frequency of occurrences as a result, for eventually The corresponding code check resource of 1 configuration of end, and allocate one or more servers or server cluster or the idle clothes of allotment for terminal 1 Business device undertakes the data transmission of code check resource.
Mode three, according to the code check resource request time in code check resource state information and the regional information belonging to terminal into Row parsing, obtains within the code check resource request time, the multimedia institute in the territorial scope indicated by regional information needed for terminal The code check resource needed.
Specifically, according to the code check resource request time in code check resource state information and the regional information belonging to terminal into Row parsing, including:
Combination one and mode two, the code check resource request time in the code check resource state information mentioned in mode three With the regional information belonging to terminal, server is by the region belonging to the terminal in the code check resource request time, to the ground Terminal in the range of domain provides corresponding code check resource, wherein, when providing corresponding code check resource, the good clothes of performance can be allocated Business device provides service for code rate data transmission, to ensure the quality of code rate data transmission.
For example, it is assumed that terminal type is smart mobile phone, affiliated region is X areas, and the code check resource request time is 21: 30, the type of code check resource is wma, and code check resource size is S Mb, and code check resource quality is compression ordinary quality, is taken as a result, Being engaged in, device is regional for X by the region belonging to smart mobile phone, and code check request time is 21:30 with pre-stored each region and its phase The history table for the code check resource data request number of times answered and code check resource request time and code check resource data number of requests Relation table compared, obtain, 21:30 X areas, the code check resource type needed for smart mobile phone are wma, size S Mb, code check resource quality are the code check resource of compression ordinary quality.
For both considering the code check resource request time in code check resource state information it is further contemplated that the region belonging to terminal is believed The situation of breath can be that the regional information being in the code check resource request time belonging to peak period and terminal is code check resource data Request amount is more than the region of the first given threshold, allocates one or more servers or server cluster or allotment leisure service Device undertakes the data transmission of code check resource;Can also be that the region belonging to peak period or terminal is in the code check resource request time Information is more than the region of the first given threshold for code check resource data request amount, allocates one or more servers or server set Group or allotment idle server undertake the data transmission of code check resource.It is specific how to provide can according to practical business demand into Row setting, the application do not limit this.
Aforesaid way one is into mode three, in order to be more than the first setting in peak period and/or code check resource data request amount Service is provided for code rate data transmission during the region of threshold value, server can be preferentially big to peak period or code check resource data request amount Data are provided in the excellent server of the data transmission allocation data processing capacity of the region of the first given threshold or server cluster The server of transmission service or allotment free time are to be more than the first given threshold in peak period or code check resource data request amount Region provides data transport service, is more than particularly by historical record to being in peak period and/or code check resource data request amount The number of servers that the ground of first given threshold is overseas is cut down, preferentially to peak period and/or code check resource data request amount Region more than the first given threshold provides the server of data transport service.
Preferably, in step s 106, the step of carrying out resource deployment according to analysis result for code check resource includes as follows Any one realization method:
Mode one, according to the code check resource needed for the time inner multimedia in code check resource request, corresponding is terminal With the code check resource needed for corresponding multimedia;
Specifically, server is convenient for the code check resource of current network data transmission according to current time for terminal coupling, In, server can also distribute corresponding code check resource according to the terminal of each type, to ensure to use code check resource in terminal When, ensure the result of broadcast of multimedia file.
Mode two, according to needed for the multimedia in the territorial scope indicated by the regional information belonging to terminal needed for terminal Code check resource, corresponding for the corresponding accelerated passage of terminal coupling, the accelerated passage is for ensureing code check resource transmission quality;
Specifically, territorial scope of the server according to indicated by regional information, allocates for the terminal in the territorial scope and uses In the accelerated passage (Content Delivery Network, abbreviation CDN) of transmission code rate resource.
Mode three according to the code check resource needed for the multimedia needed for terminal, matches corresponding server.
Specifically, server is by the server of the Data Rate Distribution of type to type, according to the multimedia institute needed for terminal The code check resource needed, matches corresponding server.
Preferably, in aforesaid way three, according to the code check resource needed for the multimedia needed for terminal, corresponding clothes are matched It is engaged in including the step of device:
According to the code check resource type and/or the multimedia of code check resource size in code check status information, configuration is corresponding Server or server cluster.
Specifically, in the manner described above described in three, according to each in the code check resource needed for the multimedia needed for terminal Code check resource type and/or code check resource size, match corresponding server or server cluster, by matching corresponding service Device or server cluster ensure the transmission quality of code check resource.
Code check resource allocation methods provided in an embodiment of the present invention are only illustrated by taking a terminal device as an example, except this it Outside, for the embodiment of the present invention when realizing code check resource allocation methods, server may also receive from the code of multiple terminal devices Rate resource state information, and pass through and parse the code check resource state information, distribute corresponding code check for above-mentioned multiple terminal devices Resource, the embodiment of the present invention, which is subject to, realizes code check resource allocation methods, does not limit specifically.
Embodiment two
The embodiment of the present invention additionally provides a kind of code check resource allocation device.The device can pass through code check resource allocation side Method realizes its function.It should be noted that the code check resource allocation device of the embodiment of the present invention can be used for performing the present invention in fact The code check resource allocation methods that example is provided are applied, the code check resource allocation methods of the embodiment of the present invention can also be by of the invention real The code check resource allocation device that example provided is applied to perform.
Fig. 2 is the schematic diagram of code check resource allocation device according to embodiments of the present invention.As shown in Fig. 2, the code check resource Distributor includes:Receiving module 22, parsing module 24, distribution module 26,
Receiving module 22, for receiving the code check resource state information of terminal transmission, code check resource state information is used to refer to Show the code check resource needed for terminal;
Parsing module 24 is electrically connected with the foundation of receiving module 22, what the terminal for being received according to receiving module 22 was sent Code check resource state information is parsed, and obtains the analysis result of the code check resource needed for counterpart terminal;
Distribution module 26, is electrically connected with the foundation of parsing module 24, and the analysis result for being obtained according to parsing module 24 is Code check resource carries out resource deployment.
Preferably, code check resource state information includes at least one of:Code check resource, code check resource needed for multimedia Regional information belonging to request time, terminal, the code check resource needed for the multimedia include at least one of:Code check is resources-type Type, code check resource size, code check source resource.
Preferably, Fig. 3 is the schematic diagram of code check resource allocation device according to the preferred embodiment of the invention, as shown in figure 3, Parsing module 24 includes:
First resolution unit 241, for being parsed according to the code check resource request time in code check resource state information, Obtain the code check resource needed for the multimedia within the time needed for terminal;
Second resolution unit 242, for being solved according to the regional information belonging to the terminal in code check resource state information Analysis, obtains the code check resource needed for the multimedia in the territorial scope indicated by regional information needed for terminal;
3rd resolution unit 243 for being parsed according to the time in code check resource state information and regional information, obtains To within the time, the code check resource needed for the multimedia in the territorial scope indicated by the regional information needed for terminal.
Preferably, Fig. 4 is the schematic diagram of code check resource allocation device according to the preferred embodiment of the invention, as shown in figure 4, Distribution module 26 includes:
First allocation unit 261, for according in the code check resource needed for code check resource request time inner multimedia, correspondence It is the code check resource needed for the corresponding multimedia of terminal coupling;
Second allocation unit 262, for according to the terminal institute in the territorial scope indicated by the regional information belonging to terminal The code check resource needed for multimedia needed, corresponding is the corresponding accelerated passage of terminal coupling, which is used to ensure code Rate resource transmission quality;
3rd allocation unit 263 for the code check resource needed for the multimedia needed for foundation terminal, matches corresponding service Device.
Preferably, Fig. 5 is the schematic diagram of code check resource allocation device according to the preferred embodiment of the invention, as shown in figure 5, Based on the 3rd allocation unit 263 mentioned in above-described embodiment, including:
3rd distribution subelement 2631, for according to each code check resource type and/or code check in code check status information The multimedia of resource size configures corresponding server or server cluster.
Embodiment three
An embodiment of the present invention provides a kind of code check resource allocation systems.
Fig. 6 is the structure chart of code check resource allocation system according to embodiments of the present invention.As shown in fig. 6, the code check resource Distribution system includes as follows:At least one terminal 62 and server 64, wherein, at least one terminal 62 is established logical with server 64 Letter connection,
At least one terminal 62 sends code check resource state information to server 64, and at least one terminal 62 is by built-in Data collecting module collected code check resource state information;
Server 64 receives code check resource state information, and parses code check resource state information and obtain analysis result, foundation Analysis result carries out resource deployment for code check resource.
Server 64 can also be the code check resource allocation device shown in Fig. 2 to Fig. 5 is any.
As shown in fig. 6, the server 64 can also be the server cluster being made of at least two-server.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because According to the present invention, some steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only one kind Division of logic function, can there is an other dividing mode in actual implementation, such as multiple units or component can combine or can To be integrated into another system or some features can be ignored or does not perform.Another, shown or discussed is mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, mobile terminal, server or network equipment etc.) performs side described in each embodiment of the present invention The all or part of step of method.And foregoing storage medium includes:USB flash disk, read-only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various to be stored The medium of program code.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.

Claims (9)

1. a kind of code check resource allocation methods, which is characterized in that including:
The code check resource state information that terminal is sent is received, the code check resource state information is used to indicate needed for the terminal Code check resource, the code check resource state information include at least one of:Code check resource, code check resource needed for multimedia please Regional information belonging to seeking time, the terminal;
The code check resource state information sent according to the terminal is parsed, and obtains corresponding to the code check needed for the terminal The analysis result of resource;
According to the analysis result resource deployment is carried out for the code check resource;
The code check resource state information sent according to the terminal is parsed, and obtains corresponding to the code check needed for the terminal The step of analysis result of resource, includes any one following realization method:
Mode one is parsed according to the code check resource request time in the code check resource state information, obtained in institute State the code check resource needed for the multimedia in the time needed for the terminal;
Mode two is parsed according to the regional information belonging to the terminal in the code check resource state information, obtained Code check resource needed for multimedia in territorial scope indicated by the regional information needed for the terminal;
Mode three, according to the code check resource request time in the code check resource state information and the ground belonging to the terminal Domain information is parsed, and is obtained within the time, in the territorial scope indicated by the regional information needed for the terminal Code check resource needed for multimedia.
2. according to the method described in claim 1, it is characterized in that, code check resource needed for the multimedia include it is following at least One of:Code check resource type, code check resource size, code check source resource.
3. according to the method described in claim 2, it is characterized in that, it is described according to the analysis result for the code check resource into The step of row resource deployment, includes any one following realization method:
Mode one, according to the code check resource within the code check resource request time needed for the multimedia, corresponding is described Code check resource needed for the corresponding multimedia of terminal coupling;
Mode two, according to the multimedia in the territorial scope indicated by the regional information belonging to the terminal needed for the terminal Required code check resource, corresponding is the corresponding accelerated passage of the terminal coupling, and the accelerated passage is used to ensure that code check provides Source transmission quality;
Mode three according to the code check resource needed for the multimedia needed for the terminal, matches corresponding server.
4. according to the method described in claim 3, it is characterized in that, code needed for the multimedia according to needed for the terminal Rate resource, the step of matching corresponding server, include:
According to each code check resource type and/or the multimedia of code check resource size in the code check status information, configuration pair The server or server cluster answered.
5. a kind of code check resource allocation device, which is characterized in that including:
Receiving module, for receiving the code check resource state information of terminal transmission, the code check resource state information is used to indicate Code check resource needed for the terminal, the code check resource state information include at least one of:Code check needed for multimedia Resource, code check resource request time, the regional information belonging to the terminal;
Parsing module, the code check resource state information that the terminal for being received according to the receiving module is sent carry out Parsing obtains corresponding to the analysis result of the code check resource needed for the terminal;
Distribution module, the analysis result for being obtained according to the parsing module carry out Resources Department for the code check resource Administration;
The parsing module includes:
First resolution unit, for being solved according to the code check resource request time in the code check resource state information Analysis, obtains the code check resource needed for the multimedia within the time needed for the terminal;
Second resolution unit, for being solved according to the regional information belonging to the terminal in the code check resource state information Analysis, obtains the code check resource needed for the multimedia in the territorial scope indicated by the regional information needed for the terminal;
3rd resolution unit, for according to the code check resource request time in the code check resource state information and the end Regional information belonging to end is parsed, and is obtained within the time, described in the territorial scope indicated by the regional information Code check resource needed for multimedia needed for terminal.
6. device according to claim 5, which is characterized in that code check resource needed for the multimedia include it is following at least One of:Code check resource type, code check resource size, code check source resource.
7. device according to claim 6, which is characterized in that the distribution module includes:
First allocation unit is right for code check resource of the foundation within the code check resource request time needed for the multimedia It is code check resource needed for the corresponding multimedia of the terminal coupling to answer;
Second allocation unit, for according to the terminal institute in the territorial scope indicated by the regional information belonging to the terminal The code check resource needed for multimedia needed, corresponding is the corresponding accelerated passage of the terminal coupling, and the accelerated passage is used for Ensure code check resource transmission quality;
3rd allocation unit, for according to the code check resource needed for the multimedia needed for the terminal, matching corresponding server.
8. device according to claim 7, which is characterized in that the 3rd allocation unit, including:
3rd distribution subelement, for according to each code check resource type and/or code check resource in the code check status information The multimedia of size configures corresponding server or server cluster.
9. a kind of code check resource allocation system, which is characterized in that the system comprises:At least one terminal and server, wherein, At least one terminal is established with the server and communicated to connect,
At least one terminal sends code check resource state information to the server, and at least one terminal passes through built-in Data collecting module collected described in code check resource state information, the code check resource state information include at least one of: The regional information belonging to code check resource, code check resource request time, the terminal needed for multimedia;
The server receives the code check resource state information, and parses the code check resource state information and obtain analysis knot Fruit carries out resource deployment according to the analysis result for the code check resource;
The code check resource state information sent according to the terminal is parsed, and obtains corresponding to the code check needed for the terminal The step of analysis result of resource, includes any one following realization method:
Mode one is parsed according to the code check resource request time in the code check resource state information, obtained in institute State the code check resource needed for the multimedia in the time needed for the terminal;
Mode two is parsed according to the regional information belonging to the terminal in the code check resource state information, obtained Code check resource needed for multimedia in territorial scope indicated by the regional information needed for the terminal;
Mode three, according to the code check resource request time in the code check resource state information and the ground belonging to the terminal Domain information is parsed, and is obtained within the time, in the territorial scope indicated by the regional information needed for the terminal Code check resource needed for multimedia.
CN201410850989.5A 2014-12-30 2014-12-30 Code check resource allocation methods, apparatus and system Active CN104618743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410850989.5A CN104618743B (en) 2014-12-30 2014-12-30 Code check resource allocation methods, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410850989.5A CN104618743B (en) 2014-12-30 2014-12-30 Code check resource allocation methods, apparatus and system

Publications (2)

Publication Number Publication Date
CN104618743A CN104618743A (en) 2015-05-13
CN104618743B true CN104618743B (en) 2018-05-18

Family

ID=53152989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410850989.5A Active CN104618743B (en) 2014-12-30 2014-12-30 Code check resource allocation methods, apparatus and system

Country Status (1)

Country Link
CN (1) CN104618743B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357173B (en) * 2015-09-23 2019-03-15 科大讯飞股份有限公司 Data resource processing method, system and applied electronic equipment and terminal
CN105611321B (en) * 2015-12-30 2019-06-21 北京奇艺世纪科技有限公司 A kind of video code rate method for pushing and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883193A (en) * 2012-10-09 2013-01-16 乐视网信息技术(北京)股份有限公司 Content distribution flow control method
CN103312629A (en) * 2012-03-09 2013-09-18 深圳市腾讯计算机系统有限公司 Method, device and system of CDN (content delivery network) flow distribution

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710586B (en) * 2011-03-28 2014-10-08 华为技术有限公司 Streaming media transmission control method, media transmission control method and associated equipment
WO2013127079A1 (en) * 2012-02-29 2013-09-06 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for load balancing in cellular communication systems
CN104168332A (en) * 2014-09-01 2014-11-26 广东电网公司信息中心 Load balance and node state monitoring method in high performance computing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312629A (en) * 2012-03-09 2013-09-18 深圳市腾讯计算机系统有限公司 Method, device and system of CDN (content delivery network) flow distribution
CN102883193A (en) * 2012-10-09 2013-01-16 乐视网信息技术(北京)股份有限公司 Content distribution flow control method

Also Published As

Publication number Publication date
CN104618743A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN106162233A (en) Code check recommends method and device
CN104700289A (en) Advertising method and device
CN102158541B (en) Shared information acquisition method, device, mobile terminal and server
CN101715104A (en) Network interaction reading system and method for user and content management
CN108600300A (en) Daily record data processing method and processing device
CN108900924A (en) The method and apparatus of commending friends in direct broadcasting room
CN107770574A (en) The method and apparatus of video transmission
EP3054401A1 (en) Data label carrier information application and processing system and method
CN108366012A (en) A kind of social networks method for building up, device and electronic equipment
CN111859127A (en) Subscription method and device of consumption data and storage medium
CN108235353A (en) monitoring system of urban rail system based on L TE-M communication
CN111131493A (en) Data acquisition method and device and user portrait generation method and device
CN104618743B (en) Code check resource allocation methods, apparatus and system
CN104639593A (en) Information sharing method and system, browser and server
CN107995501A (en) Video connects wheat method and system
CN108337556A (en) Method and apparatus for playing audio/video file
CN111431818A (en) Cross-domain request traffic distribution method and device, storage medium and computer equipment
CN111144949A (en) Reward data issuing method and device, computer equipment and storage medium
CN106507137B (en) A kind of footmark configuration method, server and system
CN102917026A (en) Method, equipment and system for subscribing information of internet of things
CN104883619A (en) System, method and device for recommending audio and video content
CN201532715U (en) Network interactive point-and-read system capable of performing user and content management
CN102238505B (en) Method and system for processing multi-user parallel signalling tracking at client
CN115801102B (en) Method, device and storage medium for downlink data
CN103237236B (en) A kind of information processing method, BOSS system and information processing system

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method, device and system for allocating code rate resource

Effective date of registration: 20190531

Granted publication date: 20180518

Pledgee: Shenzhen Black Horse World Investment Consulting Co.,Ltd.

Pledgor: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Registration number: 2019990000503

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Patentee after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Patentee before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20240604

Granted publication date: 20180518