Invention content
In order to solve problems in the prior art, an embodiment of the present invention provides a kind of method and devices of broadcast information.Institute
It is as follows to state technical solution:
In a first aspect, a kind of method of broadcast information is provided, the method includes:
Receive the information broadcast request that administrator terminal is sent, carry in described information broadcast request current channel mark,
The broadcasting setting information of a plurality of target information to be played and a plurality of target information;
It determines the receiving time for receiving described information broadcast request, and is based on the receiving time, at the end of determining broadcast
Between, the broadcast-end-time is the time for stopping playing a plurality of target information;
Based on current channel mark, the broadcasting setting information and the broadcast-end-time, by a plurality of mesh
Mark information is sent to the user terminal in current channel, and the user terminal is made to play a plurality of target information.
Optionally, described to be based on the receiving time, determine broadcast-end-time, including:
The receiving time is added with acquiescence playing duration, obtains the broadcast-end-time;Alternatively,
The deadline of time cycle where the receiving time is determined as the broadcast-end-time.
Optionally, described based on current channel mark, the broadcasting setting information and the broadcast-end-time, it will
The a plurality of target information is sent to the user terminal in current channel, including:
It is identified based on the current channel, determines the user identifier in the current channel;
Based on the broadcasting setting information and the broadcast-end-time, a plurality of target information is sent to the use
Family identifies corresponding user terminal.
Optionally, described to be based on the broadcasting setting information and the broadcast-end-time, by a plurality of target information
It is sent to the corresponding user terminal of the user identifier, including:
When the broadcasting setting information includes font setting information, reproduction time interval and playing sequence, every described
Reproduction time interval, judges whether current time reaches the broadcast-end-time;
If current time does not reach the broadcast-end-time, according to the playing sequence, from a plurality of target
In information, a target information is selected;
The target information of the font setting information and selection is sent to the corresponding user terminal of the user identifier.
Second aspect, the method for providing another broadcast information, the method includes:
When instruction is arranged in the broadcast for receiving current channel, display the first broadcast setting interface, first broadcast is set
It sets the broadcast that interface is the current channel and interface is set;
Based on the first broadcast setting interface, a plurality of target information to be played and a plurality of target information are determined
Play setting information;
When receiving broadcast open command based on the first broadcast setting interface, sends information broadcast to server and ask
It asks, broadcasting for current channel mark, a plurality of target information and a plurality of target information is carried in described information broadcast request
Setting information is put, so that the server is based on current channel mark and the broadcasting setting information, by a plurality of target
Information is sent to the user terminal in the current channel, and a plurality of target information is played by the user terminal.
Optionally, described based on the first broadcast setting interface, determine a plurality of target information to be played and described more
The broadcasting setting information of target information, including:
For every target information in a plurality of target information, letter is received when interface is arranged based on first broadcast
When ceasing edit instruction, based on the broadcast information of administrator's input, the target information is determined;
Based on the first broadcast setting interface, the broadcasting setting information of a plurality of target information is determined.
Optionally, the broadcast information based on administrator's input, determines the target information, including:
Judge in the broadcast information of administrator's input whether to include sensitive word;
When the broadcast information includes sensitive word, the first prompt message is shown, to prompt the administrator again defeated
Enter broadcast information.
Optionally, described when instruction is arranged in the broadcast for receiving current channel, after display the first broadcast setting interface,
Further include:
When instruction is arranged in the broadcast for receiving subchannel based on the first broadcast setting interface, display has information wide
Broadcast the first subchannel list of permission;
When the first choice for receiving the first specified subchannel in the first subchannel list instructs, display second is wide
Setting interface is broadcast, the second broadcast setting interface is that interface is arranged in the broadcast of the described first specified subchannel.
Optionally, described when receiving subchannel idsplay order based on the first broadcast setting interface, display has
Before information broadcasts the first subchannel list of permission, further include:
When receiving the instruction of subchannel authority configuration, the second subchannel list of the current channel is shown;
When receiving the second selection instruction of the second specified subchannel in the second subchannel list, determine to described
Second specified subchannel configuration information broadcasts permission;
Described second specified subchannel is added in the first subchannel list.
The third aspect, provides a kind of device of broadcast information, and described device includes:
Receiving module, the information broadcast request for receiving administrator terminal transmission carry in described information broadcast request
Current channel mark, the broadcasting setting information of a plurality of target information to be played and a plurality of target information;
First determining module, when being used for the receiving time of determining reception described information broadcast request, and being based on the reception
Between, determine that broadcast-end-time, the broadcast-end-time are the time for stopping playing a plurality of target information;
First sending module terminates for being based on the current channel mark, the broadcasting setting information and the broadcast
The a plurality of target information is sent to the user terminal in current channel by the time, is made described in the user terminal broadcasting
A plurality of target information.
Optionally, first determining module includes:
Arithmetic element obtains the broadcast-end-time for the receiving time to be added with acquiescence playing duration;Or
Person,
First determination unit is tied for the deadline of time cycle where the receiving time to be determined as the broadcast
The beam time.
Optionally, first sending module includes:
Second determination unit determines user's mark in the current channel for being identified based on the current channel
Know;
Transmission unit believes a plurality of target for being based on the broadcasting setting information and the broadcast-end-time
Breath is sent to the corresponding user terminal of the user identifier.
Optionally, the transmission unit includes:
First judgment sub-unit, for work as the broadcasting setting information include font setting information, reproduction time interval and
When playing sequence, every the reproduction time interval, judge whether current time reaches the broadcast-end-time;
Subelement is selected, if not reaching the broadcast-end-time for current time, according to the playing sequence,
From a plurality of target information, a target information is selected;
Transmission sub-unit, for the target information of the font setting information and selection to be sent to the user identifier pair
The user terminal answered.
Fourth aspect, provides the device of another broadcast information, and described device includes:
First display module, for when instruction is arranged in the broadcast for receiving current channel, boundary to be arranged in the first broadcast of display
Face, the first broadcast setting interface are that interface is arranged in the broadcast of the current channel;
Second determining module, for based on it is described first broadcast setting interface, determine a plurality of target information to be played and
The broadcasting setting information of a plurality of target information;
Second sending module, when receiving broadcast open command based on the first broadcast setting interface, to server
Information broadcast request is sent, current channel mark, a plurality of target information and described more are carried in described information broadcast request
The broadcasting setting information of target information makes the server be based on current channel mark and the broadcasting setting information,
The a plurality of target information is sent to the user terminal in the current channel, is played by the user terminal described more
Target information.
Optionally, second determining module includes:
Third determination unit is used for for every target information in a plurality of target information, when wide based on described first
Broadcast setting interface receive information editing instruction when, based on administrator input broadcast information, determine the target information;
4th determination unit, for based on the first broadcast setting interface, determining the broadcasting of a plurality of target information
Setting information.
Optionally, the third determination unit includes:
Whether the second judgment sub-unit includes sensitive word in the broadcast information for judging administrator input;
Subelement is shown, for when the broadcast information includes sensitive word, the first prompt message being shown, to prompt
It states administrator and re-enters broadcast information.
Optionally, described device further includes:
Second display module, for instruction to be arranged when the broadcast for receiving subchannel based on the first broadcast setting interface
When, showing has the first subchannel list of information broadcast permission;
Third display module, for when the first choice for receiving the first specified subchannel in the first subchannel list
When instruction, display the second broadcast setting interface, the second broadcast setting interface is that the broadcast of the described first specified subchannel is set
Set interface.
Optionally, described device further includes:
4th display module, for when receiving the instruction of subchannel authority configuration, showing the second of the current channel
Subchannel list;
Third determining module, for when the second selection for receiving the second specified subchannel in the second subchannel list
When instruction, determines to the described second specified subchannel configuration information and broadcast permission;
Add module, for the described second specified subchannel to be added in the first subchannel list.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:In embodiments of the present invention, terminal passes through
The broadcast setting instruction for receiving current channel determines broadcasting for a plurality of target information and the target information at the first broadcast setting interface
Setting information is put, and information broadcast request is sent to server, server is by receiving a plurality of target information and a plurality of target
The broadcasting setting information of information, and according to the broadcasting setting information of a plurality of target information, which is sent to
User terminal in current channel makes the user terminal in current channel play a plurality of information, is broadcast without administrator
When putting information, it is manually entered a plurality of target information, to improve the efficiency of broadcast information, and by playing setting information
Also increase the broadcasting diversity of target information.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is the method flow diagram of the first broadcast information provided in an embodiment of the present invention, and the method for the broadcast information is used
In server, referring to Fig. 1, this approach includes the following steps.
Step 101:The information broadcast request that administrator terminal is sent is received, current channel is carried in the information broadcast request
Mark, the broadcasting setting information of a plurality of target information to be played and a plurality of target information.
Step 102:It determines the receiving time for receiving the information broadcast request, and is based on the receiving time, determine broadcast knot
Beam time, the broadcast-end-time are the time for stopping playing a plurality of target information.
Step 103:Based on the current channel identication, setting information and broadcast-end-time are played, which is believed
Breath is sent to the user terminal in current channel, and the user terminal is made to play a plurality of target information.
In embodiments of the present invention, server is arranged by receiving the broadcasting of a plurality of target information and a plurality of target information
Information, and according to the broadcasting setting information of a plurality of target information, which is sent in current channel
User terminal, so that the user terminal in current channel is played a plurality of information, when without administrator's broadcast information, manually it is defeated
Enter a plurality of target information, to improve the efficiency of broadcast information, and target letter is also increased by playing setting information
The broadcasting diversity of breath.
Optionally, it should be based on the receiving time, determine broadcast-end-time, including:
The receiving time is added with acquiescence playing duration, obtains the broadcast-end-time;Alternatively,
The deadline of time cycle where the receiving time is determined as the broadcast-end-time.
Optionally, a plurality of target should be believed based on the current channel identication, broadcasting setting information and broadcast-end-time
Breath is sent to the user terminal in current channel, including:
Based on the current channel identication, the user identifier in the current channel is determined;
Based on the broadcasting setting information and the broadcast-end-time, which is sent to the user identifier pair
The user terminal answered.
Optionally, a plurality of target information should be sent to this based on the broadcasting setting information and the broadcast-end-time
The corresponding user terminal of user identifier, including:
When the broadcasting setting information includes font setting information, reproduction time interval and playing sequence, every the broadcasting
Time interval, judges whether current time reaches the broadcast-end-time;
If current time does not reach the broadcast-end-time, according to the playing sequence, from a plurality of target information,
Select a target information;
The target information of the font setting information and selection is sent to the corresponding user terminal of the user identifier.
Above-mentioned all optional technical solutions, can form the alternative embodiment of the present invention according to any combination, and the present invention is real
Example is applied no longer to repeat this one by one.
Fig. 2 is the method flow diagram of second of broadcast information provided in an embodiment of the present invention, and the method for the broadcast information is used
In terminal, referring to Fig. 2, this approach includes the following steps.
Step 201:When instruction is arranged in the broadcast for receiving current channel, display the first broadcast setting interface, this first
Broadcast setting interface is that interface is arranged in the broadcast of the current channel;
Step 202:Based on the first broadcast setting interface, a plurality of target information to be played and a plurality of target letter are determined
The broadcasting setting information of breath;
Step 203:When receiving broadcast open command based on the first broadcast setting interface, information is sent to server
Broadcast request, the broadcasting that current channel mark, a plurality of target information and a plurality of target information are carried in the information broadcast request are set
Confidence ceases, and so that the server is based on the current channel identication and the broadcasting setting information, which is sent to place
User terminal in the current channel plays a plurality of target information by the user terminal.
In embodiments of the present invention, instruction is arranged by receiving the broadcast of current channel in terminal, on the first broadcast setting circle
Face determines the broadcasting setting information of a plurality of target information and the target information, and sends information broadcast request to server, makes clothes
The a plurality of target information is sent to the user terminal in the current channel and played out by business device, is played without administrator
When information, it is manually entered a plurality of target information, to improve the efficiency of broadcast information, and by playing setting information
Increase the broadcasting diversity of target information.
Optionally, a plurality of target information to be played and a plurality of target should be determined based on the first broadcast setting interface
The broadcasting setting information of information, including:
For every target information in a plurality of target information, compiled when receiving information based on the first broadcast setting interface
When collecting instruction, based on the broadcast information of administrator's input, the target information is determined;
Based on the first broadcast setting interface, the broadcasting setting information of a plurality of target information is determined.
Optionally, the broadcast information that should be inputted based on administrator, determines the target information, including:
Judge in the broadcast information of administrator input whether to include sensitive word;
When the broadcast information includes sensitive word, shows the first prompt message, broadcast with prompting the administrator to re-enter
Put information.
Optionally, when should receive the broadcast setting instruction of current channel, after display the first broadcast setting interface, also
Including:
When instruction is arranged in the broadcast for receiving subchannel based on the first broadcast setting interface, display has information broadcast
First subchannel list of permission;
When the first choice for receiving the first specified subchannel in the first subchannel list instructs, the second broadcast of display
Interface is set, which is that interface is arranged in the broadcast of the first specified subchannel.
Optionally, when should receive subchannel idsplay order based on the first broadcast setting interface, display has information
Before the first subchannel list for broadcasting permission, further include:
When receiving the instruction of subchannel authority configuration, the second subchannel list of the current channel is shown;
When receiving the second selection instruction of the second specified subchannel in the second subchannel list, determine to this second
Specified subchannel configuration information broadcasts permission;
The second specified subchannel is added in the first subchannel list.
Above-mentioned all optional technical solutions, can form the alternative embodiment of the present invention according to any combination, and the present invention is real
Example is applied no longer to repeat this one by one.
Fig. 3 is the method flow diagram of the third broadcast information provided in an embodiment of the present invention, and referring to Fig. 3, this method includes:
Step 301:When instruction is arranged in the broadcast that administrator terminal receives current channel, display the first broadcast setting circle
Face.
Specifically, when instruction is arranged in the broadcast that administrator terminal receives current channel, determination is needed to current channel
Information broadcasting function be configured, at this point, the administrator terminal can obtain current channel broadcast setting interface, will obtain
Broadcast setting interface be determined as the first broadcast setting interface, and show first broadcast setting interface.
For example, when instruction is arranged in the broadcast that administrator terminal receives current channel, display the first broadcast setting interface,
As shown in figure 4, the administrator of current channel can in the first broadcast setting interface to the information broadcasting function of current channel into
Row setting.
It should be noted that broadcast setting instruction is for being arranged a plurality of target information to be played and a plurality of target
The broadcasting setting information of information, and broadcast setting instruction and can be triggered by administrator, the administrator can by specified operation come
Triggering, which may include clicking operation, slide, voice operating etc., and the embodiment of the present invention, which does not do this, to be had
Body limits.
In addition, current channel can be all-channel, or subchannel, wherein all-channel refers to having to manage other
The channel of channel permission, subchannel refer to the channel managed by all-channel, and the embodiment of the present invention is not specifically limited this.
Further, if current channel is all-channel, interface reception is set when the administrator terminal is based on the first broadcast
To subchannel broadcast be arranged instruction when, the administrator terminal can show with information broadcast permission the first subchannel row
Table;When the first choice for receiving the first specified subchannel in the first subchannel list instructs, display the second broadcast setting
Interface, the second broadcast setting interface are that interface is arranged in the broadcast of the first specified subchannel.Later, which can be based on
Second broadcast setting interface, is configured the information broadcasting function of the first specified subchannel.
For example, when administrator clicks " having turned on list " in such as Fig. 4, the broadcast setting instruction of subchannel is triggered, this
When, the administrator terminal can show in Figure 5 with information broadcast permission the first subchannel list, when receive this first
In subchannel list when the first choice instruction of the first specified subchannel " Chaoyang District Beijing ", display the second broadcast setting interface,
Second broadcast setting interface is that interface is arranged in the broadcast of the first specified subchannel.
It should be noted that first choice is instructed for selecting the first specified subchannel from the first subchannel list, and
First choice instruction can be triggered by administrator, which can be triggered by specified operation, and the embodiment of the present invention is to this
It is not specifically limited.
Further, before administrator terminal shows the first subchannel list for broadcasting permission with information, work as management
When member's terminal receives the instruction of subchannel authority configuration, which can show the second subchannel row of current channel
Table;When receiving the second selection instruction of the second specified subchannel in the second subchannel list, determine to the second specified son frequency
Road configuration information broadcasts permission;Second specified subchannel is added in the first subchannel list.It that is to say, at administrator's end
Before end display has the first subchannel list of information broadcast permission, which can be managed based on current channel
All subchannels generate the first subchannel list, and store the first subchannel list.
It should be noted that the second selection instruction is used to select the second specified subchannel, and second from the second subchannel
Selection instruction can be triggered by administrator, which can be triggered by specified operation, and the embodiment of the present invention does not do this
It is specific to limit.
In addition, the instruction of subchannel authority configuration to subchannel configuration information for broadcasting permission, and subchannel authority configuration
Instruction can be triggered by administrator, which can be based on the first broadcast and interface triggering is arranged, for example, as shown in figure 4, management
Member can click the configuration button in the first broadcast setting interface to trigger, and the embodiment of the present invention is not specifically limited this.
Furthermore the subchannel number that the first subchannel list includes can be arranged in advance, and the first subchannel list includes
Subchannel number can be fixed value, can not also be fixed value, when the subchannel number that the first subchannel list includes is
When fixed value, which can also be arranged in advance, for example, the fixed value can be 10,15,20 etc., the embodiment of the present invention pair
This is not specifically limited.
Wherein, the list that the second subchannel list is made of all subchannels that current channel manages, the second son frequency
Road list can be stored in administrator terminal, can also be stored in the server, the embodiment of the present invention does not do this specific limit
It is fixed.
When the second subchannel list stores in the server, when administrator terminal receives the instruction of subchannel authority configuration
When, which can send subchannel list to server and obtain request;When server receives the subchannel list
When obtaining request, all subchannels mark that current channel is managed, and the mark of the subchannel based on acquisition can be obtained, is generated
Second subchannel list, and the second subchannel list is sent to the administrator terminal, so that the administrator terminal is shown the second son
Channel list.
It should be noted that subchannel mark can be subchannel title, number etc., the embodiment of the present invention to this not
It is specifically limited.
Step 302:For every target information in current channel a plurality of target information to be played, when administrator terminal base
When the first broadcast setting interface receives information editing's instruction, based on the broadcast information of administrator's input, determine that the target is believed
Breath.
Since information editing's instruction may include that information addition instruction and information modification instruct, for different letters
Edit instruction is ceased, the broadcast information that administrator terminal is inputted based on administrator determines that the mode of target information is different, specially:When
When information editing instruction is information addition instruction, which can directly receive the broadcast information of administrator's input,
And the target information is determined based on the broadcast information of reception.And when information editing instruction is information modification instruction, the information
The target information for needing to change can be carried in modification instruction, which is based on administrator in information modification instruction
The modification of the target information of carrying operates, and determines modified target information.
Wherein, when information editing instruction is information addition instruction, which can add a blank text
This frame, and the broadcast information that administrator inputs is received based on the empty text box.And when administrator terminal receives validation of information
When instruction, administrator terminal may determine that whether the information in the empty text box is empty, the information in the empty text box
For sky when, which can show the second prompt message, second prompt message be used for prompt administrator add mesh
It cannot be sky to mark information, for example, second prompt message can be " broadcasted content cannot be empty ".
Wherein, after administrator terminal determines a plurality of target information based on the first broadcast setting interface, the administrator is whole
End can also be ranked up a plurality of target information, and in embodiments of the present invention, which can be at random to this
A plurality of target information is ranked up, and certainly, in actual application, which can also be in other way to this
A plurality of target information is ranked up, for example, the administrator terminal can be arranged according to the addition time of a plurality of target information
Sequence, alternatively, the administrator terminal can also be in one target information of every addition, by being set in sequence in for the target information of addition
After the target information currently chosen or before, the target information currently chosen triggers information addition instruction when institute for administrator
The target information chosen, the embodiment of the present invention are not specifically limited this.
It should be noted that the number of a plurality of target information can be arranged in advance, for example, of a plurality of target information
Number can be 10,15,20 etc., that is to say, when the number of the target information of addition is equal to the number of setting, Wu Fazai
New target information is added, the embodiment of the present invention is not specifically limited this.
It in addition, the input number of words of every target information can also be arranged in advance, that is to say, number of words threshold can be set in advance
Value, and the input number of words of every target information need to be less than or equal to number of words threshold value, for example, the number of words threshold value can be 100,150
Deng the embodiment of the present invention is not specifically limited this.
Further, which can be text message, can also be voice messaging, and administrator terminal is also
Voice messaging can be converted to text message, certainly, which can also be converted to voice messaging by text message,
The embodiment of the present invention is not specifically limited this.
Furthermore information addition instruction is for adding new target information, and information modification instruction is for stored target
Information is modified, and information addition instruction and information modification instruction can be triggered by administrator, which can pass through
Specified to operate to trigger, for example, when certain target information in choosing, administrator can click or double-click the target letter chosen
Breath is not specifically limited this to trigger information addition instruction or information modification instruction, the embodiment of the present invention.
Further, administrator terminal can not only add new target information by the above method, and to having stored
Target information modify, certainly, which can also delete stored a plurality of target information, and delete
The concrete operations removed can be:When administrator terminal receives the deletion instruction of specified target information, which will
Specified target information in a plurality of target information being locally stored is deleted, and sends removal request to server, which asks
It asks carrying to specify target information mark, when server receives the removal request, is identified based on specified target information, it will be current
Specified target information in a plurality of target information that channel includes is deleted.
It should be noted that in embodiments of the present invention, addition, modification and delete operation are grasped to infobit
Make, certainly, in practical application, addition, modification and deletion can also be operated for a plurality of information, and the embodiment of the present invention is to this
It is not specifically limited.
In addition, in embodiments of the present invention, when administrator terminal receives when choosing instruction of a certain target information, in order to
The target information chosen is highlighted, which can be by by the color of the text box where the target information chosen
It is set as designated color, wherein the designated color can be arranged in advance, and the designated color can be with text where target information
The color of frame is different, and the embodiment of the present invention is not specifically limited this.
Further, when the broadcast information that administrator terminal is inputted based on administrator determines target information, the administrator
Whether terminal can also judge in the broadcast information that the administrator inputs to include sensitive word;When the broadcast information includes sensitive word
When, the first prompt message is shown, to prompt the administrator to re-enter broadcast information.
Since sensitive word database can be stored in administrator terminal, can also store in the server, therefore, when quick
When feeling the storage location difference of word database, whether administrator terminal judges in the broadcast information that the administrator inputs to include sensitivity
The mode of word is also different, specific as follows:
When sensitive word database purchase is in administrator terminal, the broadcasting which can input administrator is believed
It ceases the sensitive word database stored with the administrator terminal to be compared, when the broadcast information of administrator's input includes sensitive word
When any sensitive word in database, determine that the broadcast information includes sensitive word, otherwise, it determines not including in the broadcast information
Sensitive word.
When the sensitive word database purchase is in server, which can send sensitive word data to server
Library obtains request;When server, which receives the sensitive word database, obtains request, the sensitive word database of storage can be sent out
The administrator terminal is given, the administrator terminal is made to be based on the sensitive word database, in the broadcast information for judging administrator's input
Whether include sensitive word.Alternatively, the administrator terminal can send sensitive word matching request to server, sensitive word matching is asked
The broadcast information for asking middle carrying administrator to input;When server receives sensitive word Data Matching request, the server base
In the sensitive word database of storage, judge in the broadcast information whether to include sensitive word, later, which can be to the management
Member's terminal sends sensitive word matching response, and whether sensitive word matching response is for prompting to wrap in the administrator terminal broadcast information
Include sensitive word.
For example, when the broadcast information that administrator terminal receives administrator's input is that " 8 o'clock sharp of tonight carries out massacring it
War, all underworld gang personnel must arrive entirely " when, which sends sensitive word database to server and obtains request, works as clothes
When business device receives sensitive word database acquisition request, the sensitive word database of storage is sent to administrator terminal, if,
The sensitive word that sensitive word database includes is multiple level marketing, gambles and massacre, and the administrator terminal is by broadcast information " today of input
8 o'clock sharps carried out the war massacred at night, and all underworld gang personnel must arrive entirely " it is compared with the sensitive word database, determine that this is broadcast
It includes sensitive word " massacring " to put information, and administrator terminal can show that " broadcasted content includes sensitivity to the first prompt message at this time
Word please re-enter ".
It should be noted that sensitive word database includes the words being forbidden to use in target information, and sensitive word number
It can be arranged in advance according to library, for example may include multiple level marketing in sensitive word database, the words such as gamble, massacre, the embodiment of the present invention
This is not specifically limited.
In addition, when sensitive word database purchase is in administrator terminal, need to store in each administrator terminal
A sensitive word database, in this way, the memory space of each administrator terminal can be occupied.Therefore, in order to save administrator terminal
Memory space, in practical applications can be by sensitive word database purchase in the server.
Step 303:Administrator terminal is based on the first broadcast and interface is arranged, and determines the broadcasting setting letter of a plurality of target information
Breath.
In order to keep the target information of broadcasting more lively, it may be determined that the broadcasting setting information of a plurality of target information.Its
In, it can be font setting information, reproduction time interval and playing sequence to play setting information, and different broadcastings is set
Confidence ceases, and administrator terminal can be determined by following three kinds of situations, including:
The first situation, when play setting information be font setting information when, administrator terminal receive font setting instruction,
Font setting information is carried in font setting instruction.
Wherein, font setting instruction is configured for the font to a plurality of target information, and font setting instruction can be with
It is triggered by administrator, which can be triggered by specified operation, and the embodiment of the present invention is not specifically limited this.
It should be noted that font setting information may include font style, font size, font color etc., the present invention
Embodiment is not specifically limited this.
In addition, when administrator terminal determines font setting information, font can be arranged to the font carried in instruction and be arranged
Information application that is to say in a plurality of target information, a certain target information that can also be applied in a plurality of target information
The font setting information of a plurality of target information may be the same or different, and the embodiment of the present invention is not specifically limited this.
The second situation, when it is reproduction time interval to play setting information, administrator terminal receives reproduction time interval
Setting instruction carries reproduction time interval in the setting instruction of the reproduction time interval.
It should be noted that the setting instruction of reproduction time interval is for the reproduction time interval progress to a plurality of target information
Setting, and the setting instruction of reproduction time interval can be triggered by administrator, which can be triggered by specified operation, this
Inventive embodiments are not specifically limited this.
Wherein, which can be 15 seconds, 30 seconds, 60 seconds etc., and the embodiment of the present invention does not do this specific limit
It is fixed.
Further, the thresholding at minimum reproduction time interval can also be arranged in administrator terminal in advance, when the broadcasting of setting
When time interval is less than the thresholding, which is automatically set as the thresholding by the reproduction time interval, for example, working as the door
When being limited to 30 seconds, and being divided into 15 seconds between the reproduction time of Administrator, at this point, when the broadcasting can be arranged in the administrator terminal
Between between be divided into 30 seconds, the embodiment of the present invention is not specifically limited this.
The third situation, when play setting information be playing sequence when, administrator terminal receive playing sequence setting instruction,
Playing sequence is carried in playing sequence setting instruction.
It should be noted that playing sequence setting instruction is configured for the playing sequence to a plurality of target information, and
Playing sequence setting instruction can be triggered by administrator, which can be triggered by specified operation, the embodiment of the present invention
This is not specifically limited.
In addition, the playing sequence can be played in order, or shuffle, the embodiment of the present invention, which does not do this, to be had
Body limits.
Optionally, when the administrator terminal is not received by the setting instruction of the broadcasting to a plurality of target information, the pipe
Default information can be determined as the broadcasting setting information of a plurality of target information by reason person's terminal.And default information can
To be arranged in advance, for example, the default information of font be the Song typeface, No. four, black, non-overstriking, non-italic, no underscore, broadcast
The default information for putting time interval is 60 seconds, and the default information of playing sequence is shuffle, the embodiment of the present invention
This is not specifically limited.
Further, after administrator terminal determines the broadcasting setting information of a plurality of target information and a plurality of target information,
The broadcasting setting information of determining a plurality of target information and a plurality of target information can be stored.
It should be noted that the broadcasting setting information that administrator terminal is arranged in all-channel, it not only can be in all-channel
In come into force, can also come into force in the subchannel of the all-channel management, and in order to increase target information broadcasting diversity, this
In inventive embodiments, the broadcasting setting information which is arranged in all-channel comes into force in the all-channel, does not influence
The setting of other channels, and the broadcasting setting information being arranged in subchannel only comes into force in the subchannel, the embodiment of the present invention
This is not specifically limited.
Step 304:When administrator terminal, which is based on the first broadcast setting interface, receives broadcast open command, to server
Information broadcast request is sent, current channel mark, a plurality of target information and a plurality of target information are carried in the information broadcast request
Broadcasting setting information.
It should be noted that broadcast open command is used to open the information broadcasting function of current channel, and broadcasts to open and refer to
Order can be triggered by administrator, which can be triggered by specified operation, and the embodiment of the present invention does not do this specific limit
It is fixed.
Further, when administrator terminal, which is based on the first broadcast setting interface, receives broadcast open command, the management
Member's terminal may determine that whether the information to be played of current channel is empty, should if the information to be played of current channel is sky
Administrator terminal determination can not open the information broadcasting function of current channel, and show third prompt message, third prompt letter
Breath is empty and can not opening imformation broadcast capability for prompting administrator's current channel information to be played.
It should be noted that when the administrator terminal shows the prompt message, it can not only pass through the form of a pop-up
It shows, certainly, which can also be shown in the designated position in the first broadcast setting interface, the specific bit
Set to be arranged in advance, for example, the designated position is target information text box top etc., the embodiment of the present invention is not done this specifically
It limits.
Step 305:When server receives the information broadcast request of administrator terminal transmission, server is determined to receive and is somebody's turn to do
The receiving time of information broadcast request, and it is based on the receiving time, determine broadcast-end-time, which is to stop
The time of a plurality of target information is played, current channel mark, a plurality of target letter to be played are carried in the information broadcast request
The broadcasting setting information of breath and a plurality of target information.
Wherein, server is based on the receiving time, determines that the operation of broadcast-end-time can be:Server is by the reception
Time is added with acquiescence playing duration, obtains the broadcast-end-time;Alternatively, by the cut-off of time cycle where the receiving time
Time is determined as the broadcast-end-time.
It should be noted that acquiescence duration can be arranged in advance, for example, the acquiescence duration can be 3 hours, 10 hours,
30 hours etc., the embodiment of the present invention was not specifically limited this.
In addition, the time cycle can also be arranged in advance, for example, the time cycle is 1 day, 2 days etc., the embodiment of the present invention is to this
It is not specifically limited.
For example, when the receiving time that server receives information broadcast is 11 points of August in 2015 15 days 58 minutes and 05 second, when acquiescence
A length of 3 hours, receiving time August in 2015 15 days was added for 11 points by server for 05 second 58 minutes for 3 hours with acquiescence duration, is obtained extensively
Broadcasting the end time is 14 points of August in 2015 15 days 58 minutes and 05 second.Alternatively, when the receiving time that server receives information broadcast is
11 points of August in 2015 15 days 58 minutes and 05 second, the time cycle is 1 day, the deadline of time cycle where obtaining the receiving time
For 24 points of August in 2015 15 days 0 minute and 0 second, determine that 24 points of 2015 deadlines August 15 days 0 minute and 0 second is broadcast-end-time.
Optionally, which not only can determine broadcast-end-time by the above method, and certainly, the server is also
It can be determined by other methods, for example, when administrator terminal receives ending message broadcasting instructions, the administrator is whole
It holds to server and sends ending message broadcast request, when server receives the ending message broadcast request, which will
The receiving time of the ending message broadcast request is determined as broadcast-end-time.
Further, when a plurality of target information that server receives is text message, which can be by text
Information is converted into voice messaging and is stored, and can not also do conversion directly storage text message;When server receive it is more
When target information is voice messaging, which can be converted to text message by voice messaging and store, can not also
Direct storage is processed, the embodiment of the present invention is not especially limited this.
Step 306:Server is based on the current channel identication, determines the user identifier in the current channel.
In order to determine that the user terminal for playing target information, server are based on the current channel identication, determines to be in and deserve
User identifier in preceding channel, and server is based on the current channel identication, determines the user identifier in the current channel
Operation can be:Server is identified based on current channel, pair between the channel identication and user identifier of server storage
In should being related to, corresponding user identifier is obtained, and the user identifier of acquisition is determined to be in the user identifier in current channel.
For example, the current channel that server receives is identified as ID1, in channel identication as shown in Table 1 and user identifier
Between correspondence list in, obtain the corresponding user identifier of channel identication ID1, determine the use in channel identication ID1
Family is identified as ID11, ID12, ID13, ID14, ID15, ID16.
Table 1
In step 307:Server is based on the broadcasting setting information and the broadcast-end-time, by a plurality of target information
It is sent to the corresponding user terminal of the user identifier, makes user's terminal plays a plurality of target information.
Specifically, when the broadcasting setting information includes font setting information, reproduction time interval and playing sequence, every
The reproduction time interval, server judge whether current time reaches the broadcast-end-time;If current time does not reach this
Broadcast-end-time from a plurality of target information, selects a target information then according to the playing sequence;The font is set
Confidence is ceased is sent to the corresponding user terminal of the user identifier with the target information of selection.
Wherein, when the broadcasting setting information includes font setting information, reproduction time interval and playing sequence, every this
Reproduction time interval judges that the operation whether current time reaches the broadcast-end-time can be:Server is from receiving time
Start, every the reproduction time interval, obtain a current time, and current time is compared with broadcast-end-time,
When current time is less than broadcast-end-time, determine that current time does not reach the broadcast-end-time, when current time is big
When the broadcast-end-time, determine that current time reaches the broadcast-end-time.
For example, between when 330 receiving for 11 points 05 second 58 minutes, which was 12 o'clock sharps, and was divided between reproduction time
At 60 seconds, every reproduction time interval 60 seconds, obtain current time be 11 points 05 second 59 minutes, by 11 points of current time 59 minutes and 05 second
It is compared with 12 o'clock sharps, obtains current time and be less than broadcast-end-time, determine that 11 points of current time does not reach for 05 second 58 minutes
To the broadcast-end-time, then every reproduction time interval 60 seconds, obtain current time be 12 points 05 second 00 minute, when will be current
Between 12 points be compared with 12 o'clock sharps within 05 second 00 minute, obtain at the first time be more than broadcast-end-time, determine 11 points of current time
59 points reach the broadcast-end-time in 05 second.
Further, which can utilize timer to record the time, and server will be at the end of receiving time, broadcast
Between, reproduction time interval be added in timer, since receiving time, timer every reproduction time interval, once work as by record
The time that timer records can be compared by preceding time, later, the administrator terminal with broadcast-end-time.
It should be noted that when the font setting information of a plurality of target information is identical, server is for the first time to user's end
When end sends target information, the font setting information of a plurality of target information, later, server can be sent to the user terminal
Only target information need to be sent to user terminal according to reproduction time interval and playing sequence;Word in a plurality of target information
When body setting information differs, server often sends a target information, while sending the target information to user terminal and corresponding to
Font setting information.
Wherein, in embodiments of the present invention, when user terminal receives target information and the font setting of server transmission
When information, which can play the target information on the public frequency of current channel, and certainly, which can also be
The other positions of current channel play the target information, and the embodiment of the present invention is not specifically limited this.
Further, after server determines broadcast-end-time, which is also based on the broadcast-end-time,
Determine the information deletion time, which is the broadcasting of a plurality of target information and a plurality of target information of current channel
The erasing time of setting information.When reaching the information deletion time, which can be by a plurality of target information of current channel
It is deleted with setting information is played.
And it is based on the broadcast-end-time, determine that the operation of information deletion time can be:By the broadcast-end-time and
Specified duration is added, and obtains the information deletion time.Alternatively, the deadline of time cycle where the broadcast-end-time is determined
For the information deletion time.
It should be noted that the specified duration may be implemented to be arranged, for example, specified duration can be 0 hour, 1 hour, 2
Hour etc., the embodiment of the present invention is not specifically limited this.
Wherein, the information deletion time can be added in timer by server, and when reaching broadcast-end-time, this is periodically
Device will start timing and record the time, and when the time of record reaching the information deletion time, which can be by current channel
A plurality of target information and play setting information delete.
In addition, in embodiments of the present invention, server determines broadcast-end-time, judges whether at the end of reaching broadcast
Between, determine the information deletion time etc. and can not only timer be utilized to realize with the setting of time correlation, its other party can also be utilized
Formula realizes that 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, user terminal and server
Between can be communicated by TCP (Transmission Control Protocol, transmission control protocol) agreement,
Be, between administrator terminal and server can by TCP data channel into row data communication, user terminal and server it
Between can also be by TCP data channel into row data communication.
In embodiments of the present invention, the broadcasting that administrator terminal passes through determination a plurality of target information and a plurality of target information
Setting information, when administrator terminal, which receives information, broadcasts open command, by a plurality of target information and broadcasting setting letter
Breath is sent to server, which may include font setting information, reproduction time interval and playing sequence, because
This, which can be sent in current channel by server according to reproduction time interval and playing sequence
User terminal, so that the user terminal in current channel is played a plurality of information, when without administrator's broadcast information, manually it is defeated
Enter a plurality of target information, to improve the efficiency of broadcast information, and target letter is also increased by playing setting information
The broadcasting diversity of breath.
Fig. 6 is a kind of structural schematic diagram of broadcast information device shown according to an exemplary embodiment.It, should with reference to Fig. 6
Device includes receiving module 601, the first determining module 602 and the first sending module 603.
Receiving module 601, the information broadcast request for receiving administrator terminal transmission carry in the information broadcast request
Current channel mark, the broadcasting setting information of a plurality of target information to be played and a plurality of target information;
First determining module 602, when being used for the receiving time of the determining reception information broadcast request, and being based on the reception
Between, determine broadcast-end-time, which is the time for stopping playing a plurality of target information;
First sending module 603, for based at the end of the current channel identication, the broadcasting setting information and the broadcast
Between, which is sent to the user terminal in current channel, the user terminal is made to play a plurality of target
Information.
Optionally, the first determining module 602 includes:
Arithmetic element 6021 obtains the broadcast-end-time for the receiving time to be added with acquiescence playing duration;Or
Person,
First determination unit 6022, for the deadline of time cycle where the receiving time to be determined as the broadcast knot
The beam time.
Optionally, referring to Fig. 7, the first sending module 603 includes:
Second determination unit 6031 determines user's mark in the current channel for being based on the current channel identication
Know;
Transmission unit 6032, for being based on the broadcasting setting information and the broadcast-end-time, by a plurality of target information
It is sent to the corresponding user terminal of the user identifier.
Optionally, referring to Fig. 8, transmission unit 6032 includes:
First judgment sub-unit 60321 includes font setting information, reproduction time interval for working as the broadcasting setting information
When with playing sequence, every the reproduction time interval, judge whether current time reaches the broadcast-end-time;
Subelement 60322 is selected, it is suitable according to the broadcasting if not reaching the broadcast-end-time for current time
Sequence selects a target information from a plurality of target information;
Transmission sub-unit 60323, for the target information of the font setting information and selection to be sent to the user identifier
Corresponding user terminal.
In embodiments of the present invention, server is arranged by receiving the broadcasting of a plurality of target information and a plurality of target information
Information, and according to the broadcasting setting information of a plurality of target information, which is sent in current channel
User terminal, so that the user terminal in current channel is played a plurality of information, when without administrator's broadcast information, manually it is defeated
Enter a plurality of target information, to improve the efficiency of broadcast information, and target letter is also increased by playing setting information
The broadcasting diversity of breath.
Fig. 9 is the structural schematic diagram according to second of broadcast information device shown in an exemplary embodiment.It, should with reference to figure
Device includes the first display module 901, the second determining module 902 and the second sending module 903.
First display module 901, for when instruction is arranged in the broadcast for receiving current channel, the first broadcast of display to be arranged
Interface, the first broadcast setting interface are that interface is arranged in the broadcast of the current channel;
Second determining module 902, for based on this first broadcast setting interface, determine a plurality of target information to be played and
The broadcasting setting information of a plurality of target information;
Second sending module 903, when receiving broadcast open command based on the first broadcast setting interface, to server
Information broadcast request is sent, current channel mark, a plurality of target information and a plurality of target are carried in the information broadcast request
The broadcasting setting information of information makes the server be based on the current channel identication and the broadcasting setting information, by a plurality of target
Information is sent to the user terminal in the current channel, and a plurality of target information is played by the user terminal.
Optionally, referring to Figure 10, the second determining module 902 includes:
Third determination unit 9021, for for every target information in a plurality of target information, when first wide based on this
Broadcast setting interface receive information editing instruction when, based on administrator input broadcast information, determine the target information;
4th determination unit 9022, for based on the first broadcast setting interface, determining the broadcasting of a plurality of target information
Setting information.
Optionally, referring to Figure 11, third determination unit 9021 includes:
Second judgment sub-unit 90211, for judge the administrator input broadcast information in whether include sensitive word;
Subelement 90212 is shown, for when the broadcast information includes sensitive word, the first prompt message being shown, to carry
Show that the administrator re-enters broadcast information.
Optionally, referring to Figure 12, which further includes:
Second display module 904, for referring to when the broadcast setting for receiving subchannel based on the first broadcast setting interface
When enabling, showing has the first subchannel list of information broadcast permission;
Third display module 905, for when the first choosing for receiving the first specified subchannel in the first subchannel list
When selecting instruction, display the second broadcast setting interface, the second broadcast setting interface is that the broadcast of the first specified subchannel is arranged
Interface.
Optionally, referring to Figure 13, which further includes:
4th display module 906, for when receiving the instruction of subchannel authority configuration, showing the second of the current channel
Subchannel list;
Third determining module 907, for when the second choosing for receiving the second specified subchannel in the second subchannel list
When selecting instruction, determines to the second specified subchannel configuration information and broadcast permission;
Add module 908, for the second specified subchannel to be added in the first subchannel list.
In conclusion in the embodiment of the present invention, instruction is arranged by receiving the broadcast of current channel in terminal, in the first broadcast
The broadcasting setting information that interface determines a plurality of target information and the target information is set, and sends information broadcast to server and asks
It asks, server is by receiving the broadcasting setting information of a plurality of target information and a plurality of target information, and according to a plurality of target
The a plurality of target information is sent to the user terminal in current channel, makes current channel by the broadcasting setting information of information
Interior user terminal plays a plurality of information, when without administrator's broadcast information, is manually entered a plurality of target information, to
The efficiency of broadcast information is improved, and also increases the broadcasting diversity of target information by playing setting information.
It should be noted that:The device for the broadcast information that above-described embodiment provides is in broadcast information, only with above-mentioned each work(
Can module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different functions
Module is completed, i.e., the internal structure of device is divided into different function modules, described above all or part of to complete
Function.In addition, the device of broadcast information and the embodiment of the method for broadcast information that above-described embodiment provides belong to same design,
Specific implementation process refers to embodiment of the method, and which is not described herein again.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.