Emergent broadcast Screening germplasm method and system
Technical field
The present invention relates to broadcasting television technology fields, more particularly, to emergent broadcast Screening germplasm method and system.
Background technique
Currently, emergent broadcast platform receives the emergent broadcast information that weather bureau sends or higher level's emergent broadcast platform hair
When the emergent broadcast sent broadcasts request, emergent broadcast platform can broadcast request according to emergent broadcast information or emergent broadcast, from being
Most suitable resource collection is selected in numerous broadcast system resources of system, most suitable resource collection is generated into control command, and
It sends, broadcasts process accordingly to realize, and this broadcasts process and will cause resource redundancy and utilizes and the wasting of resources.
Summary of the invention
In view of this, can be broadcast in satisfaction the purpose of the present invention is to provide emergent broadcast Screening germplasm method and system
While the covering of hair requires, that realizes possible resource distributes utilization rationally.
In a first aspect, the embodiment of the invention provides emergent broadcast Screening germplasm methods, which comprises
Solicited message is broadcast in acquisition;
First resource set is selected from broadcast system resource according to the solicited message of broadcasting;
The first resource set is obtained into Secondary resource set according to matching element of resource;
The Secondary resource set is commented in advance;
Judge whether the Secondary resource set is up to standard;
If not up to standard, matching condition is sequentially adjusted according to configuration sequence to the matching element of resource, is generated new
Scheduling scheme comments the new scheduling scheme in advance, until up to standard.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute
Stating and broadcasting solicited message includes target area, and the solicited message of broadcasting according to selects the first money from broadcast system resource
Gather in source
If the target area is completely or partially overlapped with the overlay area in the broadcast system resource, will be overlapped
Part is used as the first resource set.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute
Stating matching element of resource includes that original broadcasts language, possession and publication means, it is described by the first resource set according to matching resource
Element obtains Secondary resource set
The first resource set is broadcast into language, the possession and the publication means according to the original and obtains described second
Resource collection.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides the third of first aspect
Possible embodiment, wherein described to include: to new pre- comment of scheduling scheme progress
The multiple publication means for choosing resource are extracted from the new scheduling scheme;
Each publication means are respectively processed, the corresponding assessment packet of each publication means is obtained;
The population and area for extracting the target area, according to the corresponding assessment packet of each publication means and
The population of the target area and the area obtain the covering population or area percentage of each publication means;
Extract overlay area administrative division the encoding list in the corresponding assessment packet of each publication means, and structure
At the 4th set;
4th set is subjected to duplicate removal or weight combined treatment, obtains the area of coverage at county level of the new scheduling scheme
Domain the encoding list, and constitute the 5th set;
The corresponding population of administrative division or area are extracted from the 5th set, and counts population or area sum;
According to the population of the target area and area and the population or area sum, the publication means are obtained
Cover population or area percentage.
The third possible embodiment with reference to first aspect, the embodiment of the invention provides the 4th kind of first aspect
Possible embodiment, wherein it is described that each publication means are respectively processed, obtain each publication means pair
The assessment packet answered includes repeating following processing, until each publication means are all traversed:
Extract the first publication resource of the first publication means;
All overlay area administrative division the encoding lists of the first publication resource are extracted, and constitute first set;
The administrative division of the first set is normalized, second set is obtained;
Duplicate removal processing is carried out to the second set, obtains third set;
Corresponding population or area data are extracted from the third set, obtains the covering people of the first publication means
Mouth and area coverage numerical value constitute the covering population and area coverage numerical value of the third set and the first publication means
The assessment packet of the first publication means.
Second aspect, the embodiment of the present invention also provide emergent broadcast Screening germplasm system, the system comprises:
Acquiring unit broadcasts solicited message for obtaining;
First resource Resource selection unit selects first from broadcast system resource for broadcasting solicited message according to
Resource collection;
Secondary resource set acquiring unit, for the first resource set to be obtained the second money according to matching element of resource
Source set;
First comments unit in advance, for being commented in advance the Secondary resource set;
Judging unit, for judging whether the Secondary resource set is up to standard;
Second comments unit in advance, in the case where not up to standard, to the matching element of resource according to configuration sequence successively
Matching condition is adjusted, new scheduling scheme is generated, the new scheduling scheme is commented in advance, until up to standard.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute
Stating and broadcasting solicited message includes target area, and the first resource Resource selection unit includes:
If the target area is completely or partially overlapped with the overlay area in the broadcast system resource, will be overlapped
Part is used as the first resource set.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein institute
Stating matching element of resource includes that original broadcasts language, possession and publication means, and the Secondary resource set acquiring unit includes:
The first resource set is broadcast into language, the possession and the publication means according to the original and obtains described second
Resource collection.
In conjunction with the first possible embodiment of second aspect, the embodiment of the invention provides the third of second aspect
Possible embodiment, wherein described second comments the unit to include: in advance
The multiple publication means for choosing resource are extracted from the new scheduling scheme;
Each publication means are respectively processed, the corresponding assessment packet of each publication means is obtained;
The population and area for extracting the target area, according to the corresponding assessment packet of each publication means and
The population of the target area and the area obtain the covering population or area percentage of each publication means;
Extract overlay area administrative division the encoding list in the corresponding assessment packet of each publication means, and structure
At the 4th set;
4th set is subjected to duplicate removal or weight combined treatment, obtains the area of coverage at county level of the new scheduling scheme
Domain the encoding list, and constitute the 5th set;
The corresponding population of administrative division or area are extracted from the 5th set, and counts population or area sum;
According to the population of the target area and area and the population or area sum, the publication means are obtained
Cover population or area percentage.
In conjunction with the third possible embodiment of second aspect, the embodiment of the invention provides the 4th kind of second aspect
Possible embodiment, wherein described second to comment unit further include repeating following processing in advance, until each publication
Means are all traversed:
Extract the first publication resource of the first publication means;
All overlay area administrative division the encoding lists of the first publication resource are extracted, and constitute first set;
The administrative division of the first set is normalized, second set is obtained;
Duplicate removal processing is carried out to the second set, obtains third set;
Corresponding population or area data are extracted from the third set, obtains the covering people of the first publication means
Mouth and area coverage numerical value constitute the covering population and area coverage numerical value of the third set and the first publication means
The assessment packet of the first publication means.
The embodiment of the invention provides emergent broadcast Screening germplasm methods, broadcast solicited message by obtaining;According to broadcasting
Solicited message selects first resource set from broadcast system resource;First resource set is obtained the according to matching element of resource
Two resource collections;Secondary resource set is commented in advance;Judge whether Secondary resource set is up to standard;If not up to standard, to
It is sequentially adjusted in matching condition according to configuration sequence with element of resource, generates new scheduling scheme, new scheduling scheme is carried out pre-
It comments, until it is up to standard, can be while the covering that satisfaction is broadcast require, that realizes possible resource distributes utilization rationally.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims
And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the emergent broadcast Screening germplasm method flow diagram that the embodiment of the present invention one provides;
The flow chart of step S106 in the emergent broadcast Screening germplasm method that Fig. 2 provides for the embodiment of the present invention one;
The flow chart of step S202 in the emergent broadcast Screening germplasm method that Fig. 3 provides for the embodiment of the present invention one;
Fig. 4 is emergent broadcast Screening germplasm system schematic provided by Embodiment 2 of the present invention.
Icon:
10- acquiring unit;20- first resource Resource selection unit;30- Secondary resource set acquiring unit;40- first is pre-
Comment unit;50- judging unit;60- second comments unit in advance.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
To be described in detail to the embodiment of the present invention below convenient for understanding the present embodiment.
Embodiment one:
Fig. 1 is the emergent broadcast Screening germplasm method flow diagram that the embodiment of the present invention one provides.
Referring to Fig.1, solicited message is broadcast in step S101, acquisition;
Here, broadcasting solicited message is sent by weather bureau or higher level's emergent broadcast platform.Wherein, solicited message is broadcast
Including event-level information, specially 1 grade publication demand information (especially great/red early warning/Red), 2 grades of publication demand informations
(great/orange warning/Orange), 3 grades of publication demand informations (larger/yellow early warning/Yellow) and 4 grades of publication demand informations
(general/blue early warning/Blue).
When event level is 1 grade of publication demand information, the method for resource discovering is different from other three-levels, specifically:
State is available;
Overlay area is all or part of Chong Die with target area;
If 1 grade of publication demand information is broadcasted with text type, select cable digital TV, direct broadcast satellite, CMMB,
The resource of face DTV four publication means;
If 1 grade of publication demand information is broadcasted with audio types, all publication means resources are selected;If 1 grade of publication
Demand information is broadcasted with text and audio types, then selects all publication means resources;
If 1 grade of publication demand information only issues the text or audio program of a kind of language, the hair of all languages is selected
Cloth resource;
If 1 grade of publication demand information issues the program of multilingual simultaneously, language matching rule is broadcast by original and is sent out
Cloth.
Here, 1 grade of publication demand information cannot be configured according to matching element of resource.
When event level is 2 grades of publication demand informations, 3 grades of publication demand informations and 4 grades of publication demand informations, resource hair
Existing method specifically:
State is available;
Overlay area is all or part of Chong Die with target area;
If 1 grade of publication demand information is broadcasted with text type, select cable digital TV, direct broadcast satellite, CMMB,
The resource of face DTV four publication means;
If 1 grade of publication demand information is broadcasted with audio types, all publication means resources are selected
If 1 grade of publication demand information is broadcasted with text and audio types, all publication means resources are selected;
Possession rule match;
Original broadcasts language matching;
Publication means are matched with coverage goal crowd.Wherein, coverage goal crowd is divided into city, suburb, four kinds of rural area, most
Good matching rule is as shown in table 1:
Table 1
Step S102 selects first resource set according to solicited message is broadcast from broadcast system resource;
First resource set is obtained Secondary resource set according to matching element of resource by step S103;
Step S104 comments Secondary resource set in advance;
Step S105 judges whether Secondary resource set is up to standard, if not up to standard, thens follow the steps S106;If up to standard,
Then follow the steps S107;
Step S106 is sequentially adjusted in matching condition according to configuration sequence to the matching element of resource, generates new scheduling
Scheme comments the new scheduling scheme in advance, until up to standard.
Here, if Secondary resource set is not up to standard, the sequence for matching element of resource can match, for example, matching money
The configuration sequence of source element is that original broadcasts language, possession and publication means, according to sequentially first removing this matching condition of publication means,
Due to removing a restrictive condition, obtained resource collection can be larger, then is commented in advance the resource collection;If also not up to standard,
Remove this matching condition of possession again, obtained resource collection can be larger, then is commented in advance;If it is also not up to standard, then remove
Original broadcasts this matching condition of language, by relaxing matching condition, to keep resource collection up to standard.
It specifically can refer to table 2, table 2 is that matching element of resource screens element optimization table, and matching element of resource configuration sequence is
Language and publication means are broadcast in possession, original, can above-mentioned three elements of flexible configuration according to demand sequence.
Table 2
Serial number |
Possession is preferential |
Original broadcasts language |
Publication means |
1 |
√ |
√ |
× |
2 |
√ |
× |
× |
3 |
√ |
× |
× |
4 |
× |
× |
× |
Wherein, the specific explanations of matching element of resource screening element optimization table are as shown in table 3:
Table 3
Step S107 does not need to configure matching element of resource.
Further, the solicited message of broadcasting includes target area, and step S102 includes:
If the target area is completely or partially overlapped with the overlay area in the broadcast system resource, will be overlapped
Part is used as the first resource set.
Further, the matching element of resource includes that original broadcasts language, possession and publication means, and step S103 includes:
The first resource set is broadcast into language, the possession and the publication means according to the original and obtains described second
Resource collection.
Here, original broadcasts language, possession and publication means as matching resource three elements.
Further, referring to Fig. 2, step S106 the following steps are included:
Step S201 extracts the multiple publication means for choosing resource from new scheduling scheme;
Step S202 is respectively processed each publication means, obtains the corresponding assessment packet of each publication means;
Step S203 extracts the population and area of target area, according to the corresponding assessment packet of each publication means with
And the population and the area of the target area, obtain the covering population or area percentage of each publication means;
Step S204 extracts the overlay area administrative division coding column in the corresponding assessment packet of each publication means
Table, and constitute the 4th set;
4th set is carried out duplicate removal or weight combined treatment, obtains the covering at county level of new scheduling scheme by step S205
Regional code list, and constitute the 5th set;
Step S206 extracts the corresponding population of administrative division or area from the 5th set, and counts population or area is total
Number;
Step S207 obtains covering for publication means according to the population of target area and area and population or area sum
Lid population or area percentage.
Further, referring to Fig. 3, step S202 includes the following steps, repeats following processing, until each hair
Cloth means are all traversed:
Step S301 extracts the first publication resource of the first publication means;
Step S302, extracts all overlay area administrative division the encoding lists of the first publication resource, and constitutes the
One set;
Step S303 is normalized the administrative division of the first set, obtains second set;
Step S304 carries out duplicate removal processing to the second set, obtains third set;
Step S305 extracts corresponding population or area data from the third set, obtains the first publication hand
The covering population and area coverage numerical value of section, by the covering population and covering surface of the third set and the first publication means
Product value constitutes the assessment packet of the first publication means.
Here, first publication means is handled, the corresponding assessment packet of the first publication means is obtained, thus respectively
A publication means are performed both by above-mentioned steps, obtain the corresponding assessment packet of each publication means.
Wherein, new scheduling scheme is commented in advance, evaluation criteria table is as shown in table 4:
Table 4
Specifically, new scheduling scheme is commented in advance, comments the publication resource (i.e. broadcast system) only according to selection in advance
The estimation of covering population/area is carried out, so include following basic data, specifically:
Broadcast system overlay area the encoding list.The overlayable regional scope of the broadcast system is represented, by provincial, districts and cities
Grade, counties and cities' grade administrative division the encoding list composition, can be any combination of above-mentioned three kinds of rank administrative divisions coding.
Cover population/area.In broadcast system realization, each provincial, prefecture-level and counties and cities grade administrative division coding is
Respectively correspond actual area and the size of population.
Embodiment two:
Fig. 4 is emergent broadcast Screening germplasm system schematic provided by Embodiment 2 of the present invention.
Referring to Fig. 4, acquiring unit 10 broadcasts solicited message for obtaining;
First resource Resource selection unit 20 selects for broadcasting solicited message according to from broadcast system resource
One resource collection;
Secondary resource set acquiring unit 30, for the first resource set to be obtained second according to matching element of resource
Resource collection;
First comments unit 40 in advance, for being commented in advance the Secondary resource set;
Judging unit 50, for judging whether the Secondary resource set is up to standard;
Second comments unit 60 in advance, in the case where not up to standard, to the matching element of resource according to configuration sequence according to
Secondary adjustment matching condition, generates new scheduling scheme, is commented in advance the new scheduling scheme, until up to standard.
Further, the solicited message of broadcasting includes target area, and the first resource Resource selection unit 20 includes:
If the target area is completely or partially overlapped with the overlay area in the broadcast system resource, will be overlapped
Part is used as the first resource set.
Further, matching element of resource includes that original broadcasts language, possession and publication means, and the Secondary resource set obtains
Unit 30 includes:
The first resource set is broadcast into language, the possession and the publication means according to the original and obtains described second
Resource collection.
Further, second the unit 60 is commented to include: in advance
The multiple publication means for choosing resource are extracted from the new scheduling scheme;
Each publication means are respectively processed, the corresponding assessment packet of each publication means is obtained;
The population and area for extracting the target area, according to the corresponding assessment packet of each publication means and
The population of the target area and the area obtain the covering population or area percentage of each publication means;
Extract overlay area administrative division the encoding list in the corresponding assessment packet of each publication means, and structure
At the 4th set;
4th set is subjected to duplicate removal or weight combined treatment, obtains the area of coverage at county level of the new scheduling scheme
Domain the encoding list, and constitute the 5th set;
The corresponding population of administrative division or area are extracted from the 5th set, and counts population or area sum;
According to the population of the target area and area and the population or area sum, the publication means are obtained
Cover population or area percentage.
Further, second to comment unit 60 further include repeating following processing in advance, until each publication means are all
It is traversed:
Extract the first publication resource of the first publication means;
All overlay area administrative division the encoding lists of the first publication resource are extracted, and constitute first set;
The administrative division of the first set is normalized, second set is obtained;
Duplicate removal processing is carried out to the second set, obtains third set;
Corresponding population or area data are extracted from the third set, obtains the covering people of the first publication means
Mouth and area coverage numerical value constitute the covering population and area coverage numerical value of the third set and the first publication means
The assessment packet of the first publication means.
Computer program product provided by the embodiment of the present invention, the computer-readable storage including storing program code
Medium, the instruction that said program code includes can be used for executing previous methods method as described in the examples, and specific implementation can be joined
See embodiment of the method, details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.