Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of method and device of broadcast information.Described technical scheme is as follows:
First aspect, provides a kind of method of broadcast information, and described method comprises:
The information broadcasting request that receiving management person's terminal sends, carries the broadcasting configuration information of current channel mark, many target informations to be played and described many objectives information in described information broadcasting request;
Determine the time of reception receiving described information broadcasting request, and based on described time of reception, determine broadcast-end-time, described broadcast-end-time is the time stopping playing described many objectives information;
Based on described current channel mark, described broadcasting configuration information and described broadcast-end-time, described many objectives information is sent to the user terminal be in current channel, make described user terminal play described many objectives information.
Alternatively, describedly determine broadcast-end-time based on described time of reception, comprising:
Described time of reception is added with acquiescence playing duration, obtains described broadcast-end-time; Or,
The deadline of described time of reception place time cycle is defined as described broadcast-end-time.
Alternatively, described based on described current channel mark, described broadcasting configuration information and described broadcast-end-time, described many objectives information is sent to the user terminal be in current channel, comprising:
Identify based on described current channel, determine to be in the user ID in described current channel;
Based on described broadcasting configuration information and described broadcast-end-time, by the user terminal that described many objectives information sends to described user ID corresponding.
Alternatively, described based on described broadcasting configuration information and described broadcast-end-time, by the user terminal that described many objectives information sends to described user ID corresponding, comprising:
When described broadcasting configuration information comprise Set font information, reproduction time interval and playing sequence time, every described reproduction time interval, judge whether current time arrives described broadcast-end-time;
If current time does not arrive described broadcast-end-time, then according to described playing sequence, from described many objectives information, select an objective information;
By the user terminal that the target information of described Set font information and selection sends to described user ID corresponding.
Second aspect, provides the method for another kind of broadcast information, and described method comprises:
When the broadcast receiving current channel arranges instruction, display first broadcast arranges interface, and it is that the broadcast of described current channel arranges interface that described first broadcast arranges interface;
Interface is set based on described first broadcast, determines the broadcasting configuration information of many target informations to be played and described many objectives information;
When arranging interface based on described first broadcast and receiving broadcast open command, information broadcasting request is sent to server, the broadcasting configuration information of current channel mark, described many objectives information and described many objectives information is carried in described information broadcasting request, make described server based on described current channel mark and described broadcasting configuration information, described many objectives information is sent to the user terminal be in described current channel, plays described many objectives information by described user terminal.
Alternatively, described interface is set based on described first broadcast, determines the broadcasting configuration information of many target informations to be played and described many objectives information, comprising:
For objective information every in described many objectives information, when arranging interface based on described first broadcast and receiving information editing's instruction, based on the broadcast information of keeper's input, determine described target information;
Interface is set based on described first broadcast, determines the broadcasting configuration information of described many objectives information.
Alternatively, the described broadcast information based on keeper's input, determine described target information, comprising:
Judge whether comprise sensitive word in the broadcast information that described keeper inputs;
When described broadcast information comprises sensitive word, show the first information, re-enter broadcast information to point out described keeper.
Alternatively, when the described broadcast when receiving current channel arranges instruction, display first broadcast also comprises after arranging interface:
When arranging broadcast that interface receives sub-channel based on described first broadcast and arranging instruction, display has the first sub-channel list of information broadcasting authority;
When to receive in described first sub-channel list first and refer to the first selection instruction of stator channel, display second broadcast arranges interface, and it is described first refer to that the broadcast of stator channel arranges interface that described second broadcast arranges interface.
Alternatively, described when arranging interface based on described first broadcast and receiving sub-channel idsplay order, display also comprises before having the first sub-channel list of information broadcasting authority:
When receiving sub-channel authority configuration-direct, show the second sub-channel list of described current channel;
When receiving the second selection instruction of the second finger stator channel in described second sub-channel list, determine to specify sub-channel configuration information broadcast authority to described second;
Refer to that stator channel is added in described first sub-channel list by described second.
The third aspect, provides a kind of device of broadcast information, and described device comprises:
Receiver module, for the information broadcasting request that receiving management person's terminal sends, carries the broadcasting configuration information of current channel mark, many target informations to be played and described many objectives information in described information broadcasting request;
First determination module, for determining the time of reception receiving described information broadcasting request, and based on described time of reception, determines broadcast-end-time, and described broadcast-end-time is the time stopping playing described many objectives information;
First sending module, for based on described current channel mark, described broadcasting configuration information and described broadcast-end-time, sends to described many objectives information the user terminal be in current channel, makes described user terminal play described many objectives information.
Alternatively, described first determination module comprises:
Arithmetic element, for being added with acquiescence playing duration by described time of reception, obtains described broadcast-end-time; Or,
First determining unit, for being defined as described broadcast-end-time by the deadline of described time of reception place time cycle.
Alternatively, described first sending module comprises:
Second determining unit, for identifying based on described current channel, determines to be in the user ID in described current channel;
Transmitting element, for based on described broadcasting configuration information and described broadcast-end-time, by the user terminal that described many objectives information sends to described user ID corresponding.
Alternatively, described transmitting element comprises:
First judgment sub-unit, for comprise when described broadcasting configuration information Set font information, reproduction time interval and playing sequence time, every described reproduction time interval, judge whether current time arrives described broadcast-end-time;
Chooser unit, if do not arrive described broadcast-end-time for current time, then according to described playing sequence, from described many objectives information, selects an objective information;
Send subelement, for the user terminal sending to described user ID corresponding the target information of described Set font information and selection.
Fourth aspect, provides the device of another kind of broadcast information, and described device comprises:
First display module, during for arranging instruction when the broadcast receiving current channel, display first broadcast arranges interface, and it is that the broadcast of described current channel arranges interface that described first broadcast arranges interface;
Second determination module, for arranging interface based on described first broadcast, determines the broadcasting configuration information of many target informations to be played and described many objectives information;
Second sending module, when arranging interface based on described first broadcast and receiving broadcast open command, information broadcasting request is sent to server, the broadcasting configuration information of current channel mark, described many objectives information and described many objectives information is carried in described information broadcasting request, make described server based on described current channel mark and described broadcasting configuration information, described many objectives information is sent to the user terminal be in described current channel, plays described many objectives information by described user terminal.
Alternatively, described second determination module comprises:
3rd determining unit, for for objective information every in described many objectives information, when arranging interface based on described first broadcast and receiving information editing's instruction, based on the broadcast information of keeper's input, determines described target information;
4th determining unit, for arranging interface based on described first broadcast, determines the broadcasting configuration information of described many objectives information.
Alternatively, described 3rd determining unit comprises:
Second judgment sub-unit, for judging whether comprise sensitive word in the broadcast information that described keeper inputs;
Display subelement, for when described broadcast information comprises sensitive word, shows the first information, re-enters broadcast information to point out described keeper.
Alternatively, described device also comprises:
Second display module, for when arranging broadcast that interface receives sub-channel based on described first broadcast and arranging instruction, display has the first sub-channel list of information broadcasting authority;
3rd display module, for when to receive in described first sub-channel list first and refer to the first selection instruction of stator channel, display second broadcast arranges interface, and it is described first refer to that the broadcast of stator channel arranges interface that described second broadcast arranges interface.
Alternatively, described device also comprises:
4th display module, for when receiving sub-channel authority configuration-direct, shows the second sub-channel list of described current channel;
3rd determination module, for when receiving the second selection instruction of the second finger stator channel in described second sub-channel list, determines to specify sub-channel configuration information broadcast authority to described second;
Add module, for referring to that stator channel is added in described first sub-channel list by described second.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: in embodiments of the present invention, terminal arranges instruction by the broadcast receiving current channel, in the first broadcast, the broadcasting configuration information that many objectives information and this target information are determined in interface is set, and send information broadcasting request to server, server is by receiving the broadcasting configuration information of many objectives information and this many objectives information, and according to the broadcasting configuration information of this many objectives information, this many objectives information is sent to the user terminal be in current channel, the user terminal in current channel is made to play this many information, and during without the need to keeper's broadcast information, this many objectives information of manual input, thus improve the efficiency of broadcast information, and the broadcasting diversity of target information is too increased by playing configuration information.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Fig. 1 is the method flow diagram of the first broadcast information that the embodiment of the present invention provides, and the method for this broadcast information is used in server, and see Fig. 1, the method comprises the following steps.
Step 101: the information broadcasting request that receiving management person's terminal sends, carries the broadcasting configuration information of current channel mark, many target informations to be played and this many objective information in this information broadcasting request.
Step 102: determine the time of reception receiving this information broadcasting request, and based on this time of reception, determine broadcast-end-time, this broadcast-end-time is the time stopping playing this many objectives information.
Step 103: based on this current channel identication, play configuration information and broadcast-end-time, this many objectives information is sent to the user terminal be in current channel, makes this user terminal play this many objectives information.
In embodiments of the present invention, server is by receiving the broadcasting configuration information of many objectives information and this many objectives information, and according to the broadcasting configuration information of this many objectives information, this many objectives information is sent to the user terminal be in current channel, the user terminal in current channel is made to play this many information, and during without the need to keeper's broadcast information, this many objectives information of manual input, thus improve the efficiency of broadcast information, and too increase the broadcasting diversity of target information by playing configuration information.
Alternatively, based on this time of reception, broadcast-end-time should be determined, comprising:
This time of reception is added with acquiescence playing duration, obtains this broadcast-end-time; Or,
The deadline of this time of reception place time cycle is defined as this broadcast-end-time.
Alternatively, based on this current channel identication, broadcasting configuration information and broadcast-end-time, this many objectives information should be sent to the user terminal be in current channel, comprising:
Based on this current channel identication, determine to be in the user ID in this current channel;
Based on this broadcasting configuration information and this broadcast-end-time, by the user terminal that this many objectives information sends to this user ID corresponding.
Alternatively, based on this broadcasting configuration information and this broadcast-end-time, by the user terminal that this many objectives information sends to this user ID corresponding, should comprise:
When this broadcasting configuration information comprise Set font information, reproduction time interval and playing sequence time, every this reproduction time interval, judge whether current time arrives this broadcast-end-time;
If current time does not arrive this broadcast-end-time, then according to this playing sequence, from this many objectives information, select an objective information;
By the user terminal that the target information of this Set font information and selection sends to this user ID corresponding.
Above-mentioned all alternatives, all can form optional embodiment of the present invention according to combining arbitrarily, the embodiment of the present invention repeats no longer one by one to this.
Fig. 2 is the method flow diagram of the second broadcast information that the embodiment of the present invention provides, and the method for this broadcast information is used in terminal, and see Fig. 2, the method comprises the following steps.
Step 201: when the broadcast receiving current channel arranges instruction, display first broadcast arranges interface, and it is that the broadcast of this current channel arranges interface that this first broadcast arranges interface;
Step 202: interface is set based on this first broadcast, determines the broadcasting configuration information of many target informations to be played and this many objectives information;
Step 203: when arranging interface based on this first broadcast and receiving broadcast open command, information broadcasting request is sent to server, the broadcasting configuration information of current channel mark, many objectives information and many objectives information is carried in this information broadcasting request, make this server based on this current channel identication and this broadcasting configuration information, this many objectives information is sent to the user terminal be in this current channel, plays this many objectives information by this user terminal.
In embodiments of the present invention, terminal arranges instruction by the broadcast receiving current channel, in the first broadcast, the broadcasting configuration information that many objectives information and this target information are determined in interface is set, and send information broadcasting request to server, server is made to send to the user terminal be in this current channel to play this many objectives information, and during without the need to keeper's broadcast information, this many objectives information of manual input, thus improve the efficiency of broadcast information, and too increase the broadcasting diversity of target information by playing configuration information.
Alternatively, interface should be set based on this first broadcast, and determine the broadcasting configuration information of many target informations to be played and this many objectives information, comprising:
For objective information every in this many objectives information, when arranging interface based on this first broadcast and receiving information editing's instruction, based on the broadcast information of keeper's input, determine this target information;
Interface is set based on this first broadcast, determines the broadcasting configuration information of this many objectives information.
Alternatively, based on the broadcast information of keeper's input, this target information should be determined, comprising:
Judge whether comprise sensitive word in the broadcast information that this keeper inputs;
When this broadcast information comprises sensitive word, show the first information, re-enter broadcast information to point out this keeper.
Alternatively, when the broadcast that should receive current channel arranges instruction, display first broadcast also comprises after arranging interface:
When arranging broadcast that interface receives sub-channel based on this first broadcast and arranging instruction, display has the first sub-channel list of information broadcasting authority;
When to receive in this first sub-channel list first and refer to the first selection instruction of stator channel, display second broadcast arranges interface, and it is that this first refers to that the broadcast of stator channel arranges interface that this second broadcast arranges interface.
Alternatively, should based on this first broadcast arrange interface receive sub-channel idsplay order time, display there is the first sub-channel list of information broadcasting authority before, also comprise:
When receiving sub-channel authority configuration-direct, show the second sub-channel list of this current channel;
When receiving the second selection instruction of the second finger stator channel in this second sub-channel list, determine to this second appointment sub-channel configuration information broadcast authority;
This second finger stator channel is added in this first sub-channel list.
Above-mentioned all alternatives, all can form optional embodiment of the present invention according to combining arbitrarily, the embodiment of the present invention repeats no longer one by one to this.
The method flow diagram of the third broadcast information that Fig. 3 provides for the embodiment of the present invention, see Fig. 3, the method comprises:
Step 301: when the broadcast that administrator terminal receives current channel arranges instruction, display first broadcast arranges interface.
Particularly, when the broadcast that administrator terminal receives current channel arranges instruction, determine to need the information broadcasting function to current channel to arrange, now, the broadcast that this administrator terminal can obtain current channel arranges interface, the broadcast of acquisition is arranged interface to be defined as the first broadcast and to arrange interface, and show the first broadcast interface is set.
Such as, when the broadcast that administrator terminal receives current channel arranges instruction, display first broadcast arranges interface, and as shown in Figure 4, the keeper of current channel can arrange in interface in this first broadcast and arrange the information broadcasting function of current channel.
It should be noted that, broadcast arranges instruction for arranging many objectives information to be played, and the broadcasting configuration information of this many objectives information, and broadcast arranges instruction and can be triggered by keeper, this keeper can be triggered by assigned operation, this assigned operation can comprise clicking operation, slide, voice operating etc., and the embodiment of the present invention is not specifically limited this.
In addition, current channel can be all-channel, also can be sub-channel, and wherein, all-channel refers to the channel with other channel authorities of management, sub-channel refer to the channel that manages by all-channel, the embodiment of the present invention is not specifically limited this.
Further, if current channel is all-channel, when this administrator terminal based on the first broadcast arrange broadcast that interface receives sub-channel instruction is set time, this administrator terminal can show the first sub-channel list with information broadcasting authority; When to receive in this first sub-channel list first and refer to the first selection instruction of stator channel, display second broadcast arranges interface, and it is that the broadcast of the first finger stator channel arranges interface that the second broadcast arranges interface.Afterwards, this administrator terminal can arrange interface based on the second broadcast, refers to that the information broadcasting function of stator channel is arranged to first.
Such as, when keeper clicks as " opening list " in Fig. 4, the broadcast of triggers channel arranges instruction, now, this administrator terminal can show the first sub-channel list with information broadcasting authority in Figure 5, when to receive in this first sub-channel list first and refer to the first selection instruction of stator channel " Chaoyang District Beijing ", display second broadcast arranges interface, and it is that the broadcast of the first finger stator channel arranges interface that the second broadcast arranges interface.
It should be noted that, the first selection instruction is used for from the first sub-channel list, select first to refer to stator channel, and the first selection instruction can be triggered by keeper, and this keeper can be triggered by assigned operation, and the embodiment of the present invention is not specifically limited this.
Further, before administrator terminal display has the first sub-channel list of information broadcasting authority, when administrator terminal receives sub-channel authority configuration-direct, this administrator terminal can show the second sub-channel list of current channel; When receiving the second selection instruction of the second finger stator channel in the second sub-channel list, determine to specify sub-channel configuration information broadcast authority to second; Refer to that stator channel is added in this first sub-channel list by second.That is to say, before administrator terminal display has the first sub-channel list of information broadcasting authority, all sub-channel that this administrator terminal can manage based on current channel generates the first sub-channel list, and stores the first sub-channel list.
It should be noted that, the second selection instruction is used for from the second sub-channel, select second to refer to stator channel, and the second selection instruction can be triggered by keeper, and this keeper can be triggered by assigned operation, and the embodiment of the present invention is not specifically limited this.
In addition, sub-channel authority configuration-direct is used for sub-channel configuration information broadcast authority, and sub-channel authority configuration-direct can be triggered by keeper, this keeper can arrange interface based on the first broadcast and trigger, such as, as shown in Figure 4, keeper can click the configuration button that the first broadcast arranges in interface and trigger, and the embodiment of the present invention is not specifically limited this.
Moreover, the sub-channel number that first sub-channel list comprises can be arranged in advance, and the sub-channel number that the first sub-channel list comprises can be fixed value, also can not be fixed value, when the sub-channel number that the first sub-channel list comprises is fixed value, this fixed value also can be arranged in advance, such as, this fixed value can be 10,15,20 etc., and the embodiment of the present invention is not specifically limited this.
Wherein, the list of all sub-channel composition that the second sub-channel list manages for current channel, this second sub-channel list can be stored in administrator terminal, and also can store in the server, the embodiment of the present invention is not specifically limited this.
When the second sub-channel list stores in the server, when administrator terminal receives sub-channel authority configuration-direct, this administrator terminal can send sub-channel list to server and obtain request; When server receives this sub-channel list acquisition request, the all sub-channel identication that current channel manages can be obtained, and based on the sub-channel identication obtained, generate the second sub-channel list, and the second sub-channel list is sent to this administrator terminal, make this administrator terminal show the second sub-channel list.
It should be noted that, sub-channel identication can be the title, numbering etc. of sub-channel, and the embodiment of the present invention is not specifically limited this.
Step 302: for objective information every in many objectives information that current channel is to be played, when administrator terminal based on first broadcast arrange interface receive information editing's instruction time, based on keeper input broadcast information, determine this target information.
Because information editing's instruction can comprise information addition instruction and information modify instruction, therefore, for different information editing's instructions, the mode of the broadcast information determination target information that administrator terminal inputs based on keeper is different, be specially: when this information editing's instruction is information addition instruction, this administrator terminal can directly receiving management person input broadcast information, and based on receive broadcast information determine this target information.And when this information editing's instruction is information modify instruction, the target information needing amendment can be carried in this information modify instruction, this administrator terminal, based on the retouching operation of keeper to the target information of carrying in this information modify instruction, determines amended target information.
Wherein, when this information editing's instruction is information addition instruction, this administrator terminal can add a blank text box, and based on the broadcast information that this blank text box receiving management person inputs.And when administrator terminal receives validation of information instruction, administrator terminal can judge whether the information in this blank text box is empty, when the information in this blank text box is empty, this administrator terminal can show the second information, this second information can not for empty for the target information pointing out keeper to add, such as, this second information can be " broadcasted content can not be sky ".
Wherein, when administrator terminal to arrange after interface determines many objectives information based on the first broadcast, this administrator terminal can also sort to this many objectives information, and in embodiments of the present invention, this administrator terminal can sort to this many objectives information at random, certainly, in actual application, this administrator terminal can also sort to this many objectives information in other way, such as, this administrator terminal can sort according to the interpolation time of this many objectives information, or, this administrator terminal can also when often adding an objective information, by the target information of interpolation be set in sequence in the current target information chosen after or before, the target information of the current target information chosen for choosing when keeper's trigger message adds instruction, the embodiment of the present invention is not specifically limited this.
It should be noted that, the number of this many objectives information can be arranged in advance, such as, the number of this many objectives information can be 10,15,20 etc., that is to say, when the number of the target information of adding equals the number arranged, cannot add new target information again, the embodiment of the present invention is not specifically limited this.
In addition, the input number of words of every objective information also can be arranged in advance, that is to say, can number of words threshold value be set in advance, and the input number of words of every objective information need be less than or equal to number of words threshold value, such as, this number of words threshold value can be 100,150 etc., and the embodiment of the present invention is not specifically limited this.
Further, this many objectives information can be text message, also can be voice messaging, and voice messaging can also be converted to text message by administrator terminal, certainly, text message can also be converted to voice messaging by this administrator terminal, and the embodiment of the present invention is not specifically limited this.
Moreover, information addition instruction is for adding new target information, information modify instruction is used for modifying to the target information stored, and information addition instruction and information modify instruction all can be triggered by keeper, this keeper can be triggered by assigned operation, such as, in elected during certain objective information, keeper can click or double-click the target information chosen, thus trigger message adds instruction or information modify instruction, and the embodiment of the present invention is not specifically limited this.
Further, administrator terminal not only can add new target information by said method, and the target information stored is modified, certainly, this administrator terminal can also be deleted the many objectives information stored, and the concrete operations of deleting can be: when administrator terminal receives the delete instruction of intended target information, intended target information deletion in this many objectives information that this locality stores by this administrator terminal, and send removal request to server, this removal request carries intended target message identification, when server receives this removal request, based on intended target message identification, intended target information deletion in many objectives information that current channel is comprised.
It should be noted that, in embodiments of the present invention, interpolation, amendment and deletion action are all operate infobit, certainly, in practical application, add, revise and delete and also can operate for many information, the embodiment of the present invention is not specifically limited this.
In addition, in embodiments of the present invention, when administrator terminal receive a certain target information choose instruction time, in order to highlight the target information chosen, this administrator terminal can by being set to designated color by the color of the text box at the target information place chosen, and wherein, this designated color can be arranged in advance, and this designated color can be different from the color of target information place text box, the embodiment of the present invention is not specifically limited this.
Further, when the broadcast information determination target information that administrator terminal inputs based on keeper, this administrator terminal can also judge whether comprise sensitive word in the broadcast information that this keeper inputs; When this broadcast information comprises sensitive word, show the first information, re-enter broadcast information to point out this keeper.
Because sensitive word database can be stored in administrator terminal, also can store in the server, therefore, when the memory location of sensitive word database is different, administrator terminal judges that the mode whether comprising sensitive word in the broadcast information that this keeper inputs is also different, specific as follows:
When sensitive word database purchase is at administrator terminal, the broadcast information that keeper can input by this administrator terminal and the sensitive word database that this administrator terminal stores compare, when the broadcast information of keeper's input comprises the arbitrary sensitive word in sensitive word database, determine that this broadcast information comprises sensitive word, otherwise, determine not comprise sensitive word in this broadcast information.
When this sensitive word database purchase is at server, this administrator terminal can send sensitive word database to server and obtain request; When server receives this sensitive word database acquisition request, the sensitive word database of storage can be sent to this administrator terminal, make this administrator terminal based on this sensitive word database, judge whether comprise sensitive word in the broadcast information that keeper inputs.Or this administrator terminal can send sensitive word matching request to server, in this sensitive word matching request, carry the broadcast information of keeper's input; When server receives this sensitive word Data Matching request, this server is based on the sensitive word database stored, judge whether comprise sensitive word in this broadcast information, afterwards, this server can send sensitive word match responding to this administrator terminal, and this sensitive word match responding is for pointing out in this broadcast information of administrator terminal whether comprise sensitive word.
Such as, the broadcast information receiving keeper's input when administrator terminal is that " o'clock sharp tonight 8 carries out the war of massacring, all underworld gang personnel must arrive entirely " time, this administrator terminal sends sensitive word database to server and obtains request, when server receives this sensitive word database acquisition request, the sensitive word database of storage is sent to administrator terminal, if, the sensitive word that sensitive word database comprises is multiple level marketing, gamble and massacre, by the broadcast information of input, " o'clock sharp tonight 8 carries out the war of massacring to this administrator terminal, all underworld gang personnel must arrive entirely " compare with this sensitive word database, determine that this broadcast information comprises sensitive word and " massacres ", now administrator terminal can show the first information " broadcasted content comprises sensitive word, please re-enter ".
It should be noted that, sensitive word database comprises the words prohibitted the use in target information, and sensitive word database can be arranged in advance, words such as can comprising multiple level marketing in such as sensitive word database, gamble, massacre, the embodiment of the present invention is not specifically limited this.
In addition, when sensitive word database purchase is in administrator terminal, needs in each administrator terminal, store a sensitive word database, so, the memory space of each administrator terminal can be taken.Therefore, in order to save the memory space of administrator terminal, in actual applications can by sensitive word database purchase in the server.
Step 303: administrator terminal arranges interface based on the first broadcast, determines the broadcasting configuration information of this many objectives information.
In order to make the target information of broadcasting more lively, the broadcasting configuration information of this many objectives information can be determined.Wherein, playing configuration information can be Set font information, reproduction time interval and playing sequence, and for different broadcasting configuration informations, administrator terminal can be determined by following three kinds of situations, comprising:
The first situation, when to play configuration information be Set font information, administrator terminal receives Set font instruction, carries Set font information in this Set font instruction.
Wherein, Set font instruction is used for arranging the font of many objectives information, and Set font instruction can be triggered by keeper, and this keeper can be triggered by assigned operation, and the embodiment of the present invention is not specifically limited this.
It should be noted that, Set font information can comprise font style, font size, font color etc., and the embodiment of the present invention is not specifically limited this.
In addition, during administrator terminal determination Set font information, can by the Set font Information application that carries in Set font instruction in this many objectives information, also a certain objective information in this many objectives information can be applied to, that is to say that the Set font information of this many objectives information can be identical, also can be different, the embodiment of the present invention is not specifically limited this.
The second situation, when play configuration information be reproduction time interval time, administrator terminal receive reproduction time interval instruction is set, this reproduction time interval is arranged in instruction carries reproduction time interval.
It should be noted that, reproduction time interval arranges instruction for arranging the reproduction time interval of many objectives information, and reproduction time interval arranges instruction can be triggered by keeper, this keeper can be triggered by assigned operation, and the embodiment of the present invention is not specifically limited this.
Wherein, this reproduction time interval can be 15 seconds, 30 seconds, 60 seconds etc., and the embodiment of the present invention is not specifically limited this.
Further, administrator terminal can also arrange the thresholding at minimum reproduction time interval in advance, when the reproduction time interval arranged is less than this thresholding, this reproduction time interval is automatically set as this thresholding by this administrator terminal, such as, when this thresholding is 30 seconds, and the reproduction time of Administrator is when being spaced apart 15 seconds, now, this administrator terminal can arrange this reproduction time and be spaced apart 30 seconds, and the embodiment of the present invention is not specifically limited this.
The third situation, when play configuration information be playing sequence time, administrator terminal receive playing sequence instruction is set, this playing sequence arranges in instruction and carries playing sequence.
It should be noted that, playing sequence arranges instruction for arranging the playing sequence of many objectives information, and playing sequence arranges instruction can be triggered by keeper, this keeper can be triggered by assigned operation, and the embodiment of the present invention is not specifically limited this.
In addition, this playing sequence can be played in order, and can be also shuffle, the embodiment of the present invention be not specifically limited this.
Alternatively, when this administrator terminal do not receive instruction is arranged to the broadcasting of this many objectives information time, default information can be defined as the broadcasting configuration information of this many objectives information by this administrator terminal.And default information can be arranged in advance, such as, the default information of font be the Song typeface, No. four, black, non-overstriking, non-italic, without underscore, the default information at reproduction time interval is 60 seconds, the default information of playing sequence is shuffle, and the embodiment of the present invention is not specifically limited this.
Further, after administrator terminal determines the broadcasting configuration information of many objectives information and many objectives information, the broadcasting configuration information of the many objectives information determined and many objectives information can be stored.
It should be noted that, the broadcasting configuration information that administrator terminal is arranged in all-channel, not only can come into force in all-channel, come into force in the sub-channel that can also manage at this all-channel, and in order to increase the diversity that target information is play, in embodiments of the present invention, the broadcasting configuration information that this administrator terminal is arranged in all-channel comes into force in this all-channel, do not affect the setting of other channels, and the broadcasting configuration information arranged in sub-channel only comes into force in this sub-channel, the embodiment of the present invention is not specifically limited this.
Step 304: when administrator terminal based on first broadcast arrange interface receive broadcast open command time, send information broadcasting request to server, in this information broadcasting request, carry the broadcasting configuration information of current channel mark, many objectives information and many objectives information.
It should be noted that, broadcast open command is for opening the information broadcasting function of current channel, and broadcast open command can be triggered by keeper, and this keeper can be triggered by assigned operation, and the embodiment of the present invention is not specifically limited this.
Further, when administrator terminal based on first broadcast arrange interface receive broadcast open command time, this administrator terminal can judge whether the information to be played of current channel is empty, if the information to be played of current channel is empty, then this administrator terminal determines the information broadcasting function cannot opening current channel, and display the 3rd information, the 3rd information is for pointing out keeper's current channel information to be played for empty and cannot opening information broadcast capability.
It should be noted that, when this administrator terminal shows this information, the form that not only can play window by one shows, certainly, this administrator terminal can also show at the first broadcast assigned address arranged in interface, and this assigned address can be arranged in advance, such as, this assigned address is above target information text box etc., and the embodiment of the present invention is not specifically limited this.
Step 305: when server receives the information broadcasting request of administrator terminal transmission, server determines the time of reception receiving this information broadcasting request, and based on this time of reception, determine broadcast-end-time, this broadcast-end-time is stop playing time of this many objectives information, carries the broadcasting configuration information of current channel mark, many target informations to be played and this many objective information in this information broadcasting request.
Wherein, server, based on this time of reception, determines that the operation of broadcast-end-time can be: this time of reception is added with acquiescence playing duration by server, obtains this broadcast-end-time; Or, the deadline of this time of reception place time cycle is defined as this broadcast-end-time.
It should be noted that, acquiescence duration can be arranged in advance, and such as, this acquiescence duration can be 3 hours, 10 hours, 30 hours etc., and the embodiment of the present invention is not specifically limited this.
In addition, the time cycle also can be arranged in advance, and such as, the time cycle is 1 day, 2 days etc., and the embodiment of the present invention is not specifically limited this.
Such as, the time of reception receiving information broadcasting when server is 11: 58: 05 on the 15th August in 2015, acquiescence duration is 3 hours, time of reception is added with acquiescence duration 11: 58: 05 on the 15th August in 2015 by server for 3 hours, and obtaining broadcast-end-time is 14: 58: 05 on the 15th August in 2015.Or, the time of reception receiving information broadcasting when server is 11: 58: 05 on the 15th August in 2015, time cycle is 1 day, the deadline obtaining this time of reception place time cycle is 24: 0: 0 on the 15th August in 2015, determines that 24: 0: 0 on the 15th August of 2015 deadline is for broadcast-end-time.
Alternatively, this server not only can determine broadcast-end-time by said method, certainly, this server can also be determined by other method, such as, when administrator terminal receives ending message broadcasting instructions, this administrator terminal sends ending message broadcast request to server, when server receives this ending message broadcast request, the time of reception of this ending message broadcast request is defined as broadcast-end-time by this server.
Further, when many objectives information that server receives is text message, this server can convert text message to voice messaging and store, and also can not change directly storing text message; When many objectives information that server receives is voice messaging, voice messaging can be converted to text message and store by this server, also can not process direct storage, and the embodiment of the present invention does not do concrete restriction to this.
Step 306: server, based on this current channel identication, is determined to be in the user ID in this current channel.
In order to determine the user terminal playing target information, server is based on this current channel identication, determine to be in the user ID in this current channel, and server is based on this current channel identication, determine that the operation of the user ID be in this current channel can be: server identifies based on current channel, from the corresponding relation between the channel identication and user ID of server stores, obtain corresponding user ID, and the user ID of acquisition is defined as the user ID that is in current channel.
Such as, the current channel that server receives is designated ID1, in corresponding relation list between channel identication as shown in table 1 and user ID, obtain the user ID that channel identication ID1 is corresponding, determine that the user ID be in channel identication ID1 is ID11, ID12, ID13, ID14, ID15, ID16.
Table 1
In step 307: server, based on this broadcasting configuration information and this broadcast-end-time, by the user terminal that this many objectives information sends to this user ID corresponding, makes this many objectives information of user's terminal plays.
Particularly, when this broadcasting configuration information comprise Set font information, reproduction time interval and playing sequence time, every this reproduction time interval, server judges whether current time arrives this broadcast-end-time; If current time does not arrive this broadcast-end-time, then according to this playing sequence, from this many objectives information, select an objective information; By the user terminal that the target information of this Set font information and selection sends to this user ID corresponding.
Wherein, when this broadcasting configuration information comprises Set font information, when reproduction time interval and playing sequence, every this reproduction time interval, judge that the operation whether current time arrives this broadcast-end-time can be: server is from time of reception, every this reproduction time interval, obtain a current time, and current time and broadcast-end-time are compared, when current time is less than broadcast-end-time, determine that current time does not arrive this broadcast-end-time, when current time is more than or equal to this broadcast-end-time, determine that current time reaches this broadcast-end-time.
Such as, be 11: 58: 05 when 330 receiving, this broadcast-end-time was 12 o'clock sharps, and reproduction time is when being spaced apart 60 seconds, every reproduction time interval 60 seconds, obtaining current time is 11: 59: 05, current time is compared with 12 o'clock sharps for 11: 59: 05, obtain current time and be less than broadcast-end-time, determine that current time does not reach this broadcast-end-time in 11: 58: 05, again every a reproduction time interval 60 seconds, obtaining current time is 12: 00: 05, current time is compared with 12 o'clock sharps for 12: 00: 05, obtaining the very first time is greater than broadcast-end-time, determine that current time reaches this broadcast-end-time in 11: 59: 05.
Further, this server can utilize timer writing time, time of reception, broadcast-end-time, reproduction time interval add in timer by server, from time of reception, timer is every reproduction time interval, record a current time, afterwards, the time of timer record and broadcast-end-time can compare by this administrator terminal.
It should be noted that, when the Set font information of many objectives information is identical, server first time is when sending target information to user terminal, the Set font information of this many objectives information can be sent to this user terminal, afterwards, server only need send target information according to reproduction time interval and playing sequence to user terminal; When the Set font information in many objectives information is not identical, server often sends an objective information, sends Set font information corresponding to this target information to user terminal simultaneously.
Wherein, in embodiments of the present invention, when user terminal receives target information and the Set font information of server transmission, this user terminal can play this target information on the public frequency of current channel, certainly, this user terminal can also play this target information in other positions of current channel, and the embodiment of the present invention is not specifically limited this.
Further, when after server determination broadcast-end-time, this server can also based on this broadcast-end-time, comformed information erasing time, and this information deletion time is the erasing time of many objectives information of current channel and the broadcasting configuration information of this many objectives information.When arriving the information deletion time, this server by many objectives of current channel information and can play configuration information deletion.
And based on this broadcast-end-time, the operation of comformed information erasing time can be: this broadcast-end-time and appointment duration are added, obtain the information deletion time.Or, the deadline of this broadcast-end-time place time cycle is defined as the information deletion time.
It should be noted that, this appointment duration can realize arranging, and such as, specify duration can be 0 hour, 1 hour, 2 hours etc., the embodiment of the present invention be not specifically limited this.
Wherein, the information deletion time can join in timer by server, and when reaching broadcast-end-time, this timer will start timing and writing time, when the time of recording reaches the information deletion time, this server by many objectives of current channel information and can play configuration information deletion.
In addition, in embodiments of the present invention, server determination broadcast-end-time, judge whether that reaching broadcast-end-time, comformed information erasing time etc. not only can utilize timer to realize with the setting of time correlation, also other modes can be utilized to realize, and the embodiment of the present invention is not specifically limited this.
It should be noted that, in embodiments of the present invention, between administrator terminal and server, all TCP (TransmissionControlProtocol can be passed through between user terminal and server, transmission control protocol) agreement communicates, that is to say, between administrator terminal and server, data communication can be carried out by tcp data passage, between user terminal and server, also can carry out data communication by tcp data passage.
In embodiments of the present invention, administrator terminal is by determining the broadcasting configuration information of many objectives information and this many objectives information, when administrator terminal receives information broadcasting open command, this many objectives information and this broadcasting configuration information are sent to server, this broadcasting configuration information can comprise Set font information, reproduction time interval and playing sequence, therefore, server can according to reproduction time interval and playing sequence, this many objectives information is sent to the user terminal be in current channel, the user terminal in current channel is made to play this many information, and during without the need to keeper's broadcast information, this many objectives information of manual input, thus improve the efficiency of broadcast information, and the broadcasting diversity of target information is too increased by playing configuration information.
Fig. 6 is the structural representation of a kind of broadcast information device according to an exemplary embodiment.With reference to Fig. 6, this device comprises receiver module 601, first determination module 602 and the first sending module 603.
Receiver module 601, for the information broadcasting request that receiving management person's terminal sends, carries the broadcasting configuration information of current channel mark, many target informations to be played and this many objective information in this information broadcasting request;
First determination module 602, for determining the time of reception receiving this information broadcasting request, and based on this time of reception, determines broadcast-end-time, and this broadcast-end-time is the time stopping playing this many objectives information;
First sending module 603, for based on this current channel identication, this broadcasting configuration information and this broadcast-end-time, sends to this many objectives information the user terminal be in current channel, makes this user terminal play this many objectives information.
Alternatively, the first determination module 602 comprises:
Arithmetic element 6021, for being added with acquiescence playing duration by this time of reception, obtains this broadcast-end-time; Or,
First determining unit 6022, for being defined as this broadcast-end-time by the deadline of this time of reception place time cycle.
Alternatively, see Fig. 7, the first sending module 603 comprises:
Second determining unit 6031, for based on this current channel identication, determines to be in the user ID in this current channel;
Transmitting element 6032, for based on this broadcasting configuration information and this broadcast-end-time, by the user terminal that this many objectives information sends to this user ID corresponding.
Alternatively, see Fig. 8, transmitting element 6032 comprises:
First judgment sub-unit 60321, for comprise when this broadcasting configuration information Set font information, reproduction time interval and playing sequence time, every this reproduction time interval, judge whether current time arrives this broadcast-end-time;
Chooser unit 60322, if do not arrive this broadcast-end-time for current time, then according to this playing sequence, from this many objectives information, selects an objective information;
Send subelement 60323, for the user terminal sending to this user ID corresponding the target information of this Set font information and selection.
In embodiments of the present invention, server is by receiving the broadcasting configuration information of many objectives information and this many objectives information, and according to the broadcasting configuration information of this many objectives information, this many objectives information is sent to the user terminal be in current channel, the user terminal in current channel is made to play this many information, and during without the need to keeper's broadcast information, this many objectives information of manual input, thus improve the efficiency of broadcast information, and too increase the broadcasting diversity of target information by playing configuration information.
Fig. 9 is the structural representation of the second broadcast information device according to an exemplary embodiment.With reference to figure, this device comprises the first display module 901, second determination module 902 and the second sending module 903.
First display module 901, during for arranging instruction when the broadcast receiving current channel, display first broadcast arranges interface, and it is that the broadcast of this current channel arranges interface that this first broadcast arranges interface;
Second determination module 902, for arranging interface based on this first broadcast, determines the broadcasting configuration information of many target informations to be played and this many objectives information;
Second sending module 903, when arranging interface based on this first broadcast and receiving broadcast open command, information broadcasting request is sent to server, the broadcasting configuration information of current channel mark, this many objectives information and this many objective information is carried in this information broadcasting request, make this server based on this current channel identication and this broadcasting configuration information, this many objectives information is sent to the user terminal be in this current channel, plays this many objectives information by this user terminal.
Alternatively, see Figure 10, the second determination module 902 comprises:
3rd determining unit 9021, for for objective information every in this many objectives information, when arranging interface based on this first broadcast and receiving information editing's instruction, based on the broadcast information of keeper's input, determines this target information;
4th determining unit 9022, for arranging interface based on this first broadcast, determines the broadcasting configuration information of this many objectives information.
Alternatively, see Figure 11, the 3rd determining unit 9021 comprises:
Second judgment sub-unit 90211, for judging whether comprise sensitive word in the broadcast information that this keeper inputs;
Display subelement 90212, for when this broadcast information comprises sensitive word, shows the first information, re-enters broadcast information to point out this keeper.
Alternatively, see Figure 12, this device also comprises:
Second display module 904, for when arranging broadcast that interface receives sub-channel based on this first broadcast and arranging instruction, display has the first sub-channel list of information broadcasting authority;
3rd display module 905, for when to receive in this first sub-channel list first and refer to the first selection instruction of stator channel, display second broadcast arranges interface, and it is that this first refers to that the broadcast of stator channel arranges interface that this second broadcast arranges interface.
Alternatively, see Figure 13, this device also comprises:
4th display module 906, for when receiving sub-channel authority configuration-direct, shows the second sub-channel list of this current channel;
3rd determination module 907, for when receiving the second selection instruction of the second finger stator channel in this second sub-channel list, determines to this second appointment sub-channel configuration information broadcast authority;
Add module 908, for being added in this first sub-channel list by this second finger stator channel.
In sum, in the embodiment of the present invention, terminal arranges instruction by the broadcast receiving current channel, in the first broadcast, the broadcasting configuration information that many objectives information and this target information are determined in interface is set, and send information broadcasting request to server, server is by receiving the broadcasting configuration information of many objectives information and this many objectives information, and according to the broadcasting configuration information of this many objectives information, this many objectives information is sent to the user terminal be in current channel, the user terminal in current channel is made to play this many information, and during without the need to keeper's broadcast information, this many objectives information of manual input, thus improve the efficiency of broadcast information, and the broadcasting diversity of target information is too increased by playing configuration information.
It should be noted that: the device of the broadcast information that above-described embodiment provides is when broadcast information, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the device of the broadcast information that above-described embodiment provides and the embodiment of the method for broadcast information belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.