CN111865458A - Subway broadcasting system timing playing method based on multi-instruction multi-cycle - Google Patents
Subway broadcasting system timing playing method based on multi-instruction multi-cycle Download PDFInfo
- Publication number
- CN111865458A CN111865458A CN202010657645.8A CN202010657645A CN111865458A CN 111865458 A CN111865458 A CN 111865458A CN 202010657645 A CN202010657645 A CN 202010657645A CN 111865458 A CN111865458 A CN 111865458A
- Authority
- CN
- China
- Prior art keywords
- playing
- instruction
- played
- time
- method based
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H60/00—Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
- H04H60/61—Arrangements for services using the result of monitoring, identification or recognition covered by groups H04H60/29-H04H60/54
- H04H60/65—Arrangements for services using the result of monitoring, identification or recognition covered by groups H04H60/29-H04H60/54 for using the result on users' side
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H20/00—Arrangements for broadcast or for distribution combined with broadcast
- H04H20/53—Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers
- H04H20/61—Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for local area broadcast, e.g. instore broadcast
- H04H20/62—Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for local area broadcast, e.g. instore broadcast for transportation systems, e.g. in vehicles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H60/00—Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
- H04H60/09—Arrangements for device control with a direct linkage to broadcast information or to broadcast space-time; Arrangements for control of broadcast-related services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H60/00—Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
- H04H60/29—Arrangements for monitoring broadcast services or broadcast-related services
- H04H60/33—Arrangements for monitoring the users' behaviour or opinions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H60/00—Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
- H04H60/35—Arrangements for identifying or recognising characteristics with a direct linkage to broadcast information or to broadcast space-time, e.g. for identifying broadcast stations or for identifying users
- H04H60/38—Arrangements for identifying or recognising characteristics with a direct linkage to broadcast information or to broadcast space-time, e.g. for identifying broadcast stations or for identifying users for identifying broadcast time or space
- H04H60/40—Arrangements for identifying or recognising characteristics with a direct linkage to broadcast information or to broadcast space-time, e.g. for identifying broadcast stations or for identifying users for identifying broadcast time or space for identifying broadcast time
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
Abstract
The invention provides a subway broadcasting system timing playing method based on multi-instruction multi-cycle, which comprises the following steps: acquiring and storing a command to be played, wherein the command to be played comprises playing time, playing times and playing contents; analyzing the instruction to be played and acquiring the next playing instruction according to the playing time; and when the playing time of the next playing instruction is reached, circularly playing the playing content according to the playing times. The subway broadcasting system timing playing method based on multi-instruction multi-cycle provided by the invention stores the instruction to be played, thereby avoiding the requirement of manual immediate input; the playing time is packaged through the data of the to-be-played instruction, so that the playing equipment plays the to-be-played instruction at regular time according to the playing requirement, the playing requirement is met, and the requirement that the instruction is manually issued to play at a specific time point is avoided. Therefore, the playing time, the playing times and the playing content are packaged into the instruction to be played, so that the playing requirement is input in advance, and the playing requirement can be read and executed intelligently through the playing equipment.
Description
Technical Field
The invention relates to the technical field, in particular to a subway broadcasting system timing playing method based on multi-instruction multi-cycle.
Background
The current subway broadcasting system mainly has the functions of playing a single instruction and playing the instruction circularly for multiple times, and the function of playing the instruction at fixed time is not realized. The single command needs to be played manually, that is, when voice information needs to be broadcast at a certain moment, an operator must manually click a button for issuing the command, and then the command is transmitted to the background and then transmitted to the hardware equipment to play voice. Such a method is rather rigid and time and labor consuming. The function of instructing to play the given instructions circularly in a given time period is to set the given instructions to play the given instructions circularly in a given time period, and the instructions are played repeatedly just like a repeater, because some instructions only need to be played once, and some instructions need to be played for multiple times. Meanwhile, the function of instructing to circularly play for multiple times must play the instructions according to the order given by the instructions, and when the subway train comes, the instructions may be played instead of the required instructions but other unrelated instructions. Some commands need to be played by stepping on a time point, and the delay can be only a few seconds, which cannot be solved by the existing single-command playing function and command loop playing function. The subway has a plurality of subsystems which need to be cooperated, namely when other subsystems need to be opened, the function of circularly playing the instructions of the broadcasting system for a plurality of times can be automatically cancelled, and the given instructions cannot be played at the given time. The TTS (Text to Speech) playing function of the existing broadcasting system on the subway can only manually click and play a single piece of content input by a user, and cannot play the content input by the user at a given time, which is also a problem to be solved.
Disclosure of Invention
Based on the technical problems in the background art, the invention provides a subway broadcast system timing playing method based on multi-instruction multi-cycle.
The invention provides a subway broadcasting system timing playing method based on multi-instruction multi-cycle, which comprises the following steps:
s1, acquiring and storing a to-be-played instruction, wherein the to-be-played instruction comprises playing time, playing times and playing content;
s2, analyzing the command to be played and obtaining the next playing command according to the playing time;
and S3, when the playing time of the next playing instruction is reached, circularly playing the playing content according to the playing times.
Preferably, in step S1, instruction task areas for storing the voice broadcast and the TTS broadcast are provided, and the instruction to be played is stored in the corresponding instruction task area according to the instruction type.
Preferably, step S2 specifically includes the following steps:
s21, analyzing the command to be played and extracting the playing time;
s22, judging whether a command to be played exists when the playing time is reached;
s23, acquiring the instruction to be played which has reached the playing time as the next playing instruction;
and S34, if not, the instruction to be played with the latest playing time is taken as the next playing instruction.
Preferably, in step S1, the instruction to be played further includes a priority; in step S23, when the plurality of instructions to be played have reached the playing time, the next playing instruction is selected according to the priority.
Preferably, when the priorities of the plurality of instructions to be played that have reached the playing time are the same, the next playing instruction is randomly selected.
Preferably, when the priorities of the plurality of to-be-played instructions having reached the playing time are the same, the to-be-played instruction having the earliest playing time is selected as the next playing instruction.
Preferably, in step S3, when the playing time of the next playing instruction is reached, it is first determined whether the speaker is in an idle state, and if so, the playing content is played cyclically according to the playing times; and if not, circularly playing the playing content according to the playing times when the loudspeaker is idle.
Preferably, the specific method for playing the playing content cyclically according to the playing times in step S3 is as follows: playing the playing content, and counting the actual playing cycle times; and comparing the playing cycle times with the playing cycle times, and continuing the cycle playing or ending the cycle playing according to the comparison result.
According to the subway broadcasting system timing playing method based on multi-instruction multi-cycle, the instruction to be played is stored through the step S1, and the requirement of manual immediate input is avoided; the playing time is packaged through the data of the to-be-played instruction, so that the playing equipment plays the to-be-played instruction at regular time according to the playing requirement, the playing requirement is met, and the requirement that the instruction is manually issued to play at a specific time point is avoided. Therefore, the playing time, the playing times and the playing content are packaged into the instruction to be played, so that the playing requirement is input in advance, and the playing requirement can be read and executed intelligently through the playing equipment.
The invention realizes the timing and the fixed times of broadcast playing, and the user can set the playing times at will, thereby solving the problems of time and labor waste caused by broadcasting manually.
In the present invention, in combination with step S2 and step S3, the parsing and playing of the command to be played are independent of each other. Therefore, the background sends the instruction to the equipment at a given time point and plays the instruction, and the dependence of the instruction playing on the front-end equipment is reduced by mutual independence of the front-end equipment for analyzing the data and the background program for playing the data.
Drawings
Fig. 1 is a flowchart of a subway broadcasting system timing playing method based on multiple instruction multiple cycles according to the present invention;
fig. 2 is a flowchart of another subway broadcast system timing playing method based on multiple instruction multiple cycles according to the present invention.
Detailed Description
Referring to fig. 1, the subway broadcasting system timing playing method based on multiple instructions and multiple cycles provided by the invention comprises the following steps.
And S1, acquiring and storing a to-be-played instruction, wherein the to-be-played instruction comprises playing time, playing times and playing contents.
In this step, the instruction to be played is manually input, an instruction task area for storing voice broadcast and TTS (texttostech, from text to voice) broadcast is provided in this step, and the instruction to be played is stored in the corresponding instruction task area according to the type of the instruction.
In the embodiment, the command to be played is stored in the form of 16-system ASCII code, so as to facilitate data reading and reshaping, and reduce the difficulty of analysis.
In specific implementation, the instructions to be played are all stored in the data structure, the number of the instructions stored in the data structure is fixed, and the size of the data structure can be determined according to actual needs.
And S2, analyzing the command to be played and obtaining the next playing command according to the playing time. Specifically, in this step, the command to be played, which is stored in the form of a character string, needs to be analyzed to obtain the playing time, the playing frequency, and the playing content.
And S3, when the playing time of the next playing instruction is reached, circularly playing the playing content according to the playing times.
Specifically, when the playing time of the next playing instruction is reached, firstly, whether the loudspeaker is in an idle state is judged, and if yes, the playing content is played circularly according to the playing times; and if not, circularly playing the playing content according to the playing times when the loudspeaker is idle.
The specific method for playing the playing content cyclically according to the playing times in step S3 is as follows: playing the playing content, and counting the actual playing cycle times; and comparing the playing cycle times with the playing cycle times, and continuing the cycle playing or ending the cycle playing according to the comparison result.
Thus, in this embodiment, the step S1 is used to store the to-be-played command, so as to avoid the requirement of manual immediate input; the playing time and the like are packaged through the data of the instruction to be played, so that the playing equipment plays the instruction to be played at regular time according to the playing requirement, and the playing requirement is met. Therefore, the playing time, the playing times and the playing content are packaged into the instruction to be played, so that the playing requirement is input in advance, and the playing requirement can be read and executed intelligently through the playing equipment.
In the specific implementation, step S2 can be divided into the following steps.
And S21, analyzing the command to be played and extracting the playing time.
In this step, the command to be played in the form of 16-ary ASCII code is restored by parsing the character string, thereby obtaining the play time, the play frequency, and the play content.
S22, judging whether there is a command to be played when the playing time is reached.
S23, yes, the instruction to be played that has reached the playing time is obtained as the next playing instruction.
And S34, if not, the instruction to be played with the latest playing time is taken as the next playing instruction.
By combining the step S22 and the step S3, the next playing instruction is pre-extracted, and the timing playing of the next playing instruction is realized according to the playing time after the next playing instruction is determined, so as to further meet the time requirement of the instruction to be played.
In step S1, the command to be played further includes a priority. In step S23, when the plurality of instructions to be played have reached the playing time, the next playing instruction is selected according to the priority. Therefore, when a plurality of instructions to be played wait for playing, the playing sequence can be further defined, and signal crosstalk is avoided.
Specifically, when the priorities of the plurality of to-be-played instructions that have reached the playing time are the same, the next playing instruction is randomly selected, or the to-be-played instruction with the earliest playing time is selected as the next playing instruction.
In a specific implementation, since there may be a plurality of commands to be played that have all reached the playing time, the remaining playing time of the command to be played may be overtime after one play. At this time, the instructions to be played can be reordered according to a preset selection principle of the next instruction to be played; or the information of the command to be played can be sorted and the preset contact can be informed to be manually processed.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention are equivalent to or changed within the technical scope of the present invention.
Claims (8)
1. A subway broadcasting system timing playing method based on multi-instruction multi-cycle is characterized by comprising the following steps:
s1, acquiring and storing a to-be-played instruction, wherein the to-be-played instruction comprises playing time, playing times and playing content;
s2, analyzing the command to be played and obtaining the next playing command according to the playing time;
and S3, when the playing time of the next playing instruction is reached, circularly playing the playing content according to the playing times.
2. A subway broadcast system timing playing method based on multiple instruction multiple cycles as claimed in claim 1, wherein in step S1, there are provided instruction task areas for storing voice broadcast and TTS broadcast respectively, and the instruction to be played is stored in the corresponding instruction task area according to the instruction type.
3. The method for broadcasting subway broadcasting system at regular time based on multiple instructions and multiple cycles as claimed in claim 1, wherein step S2 specifically comprises the following steps:
s21, analyzing the command to be played and extracting the playing time;
s22, judging whether a command to be played exists when the playing time is reached;
s23, acquiring the instruction to be played which has reached the playing time as the next playing instruction;
And S34, if not, the instruction to be played with the latest playing time is taken as the next playing instruction.
4. A subway broadcast system timing playing method based on multiple instruction multiple cycles as claimed in claim 3, wherein in step S1, the instruction to be played further includes a priority; in step S23, when the plurality of instructions to be played have reached the playing time, the next playing instruction is selected according to the priority.
5. A subway broadcast system timing playing method based on multiple instruction multiple cycles as claimed in claim 4, wherein when the priority of multiple instructions to be played which have reached playing time is the same, then the next playing instruction is randomly selected.
6. A subway broadcast system timing playing method based on multiple instruction multiple cycles as claimed in claim 4, wherein when the priority of multiple to-be-played instructions which have reached playing time is the same, the to-be-played instruction with earliest playing time is selected as the next playing instruction.
7. A subway broadcast system timing playing method based on multiple instruction multiple cycles as claimed in claim 1, wherein in step S3, when the playing time of the next playing instruction is reached, it is first determined whether the speaker is in idle state, if yes, the playing content is played cyclically according to the playing times; and if not, circularly playing the playing content according to the playing times when the loudspeaker is idle.
8. A subway broadcast system timing playing method based on multiple instructions and multiple cycles as claimed in claim 7, wherein the specific method for playing the playing content cyclically according to the playing times in step S3 is as follows: playing the playing content, and counting the actual playing cycle times; and comparing the playing cycle times with the playing cycle times, and continuing the cycle playing or ending the cycle playing according to the comparison result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010657645.8A CN111865458A (en) | 2020-07-09 | 2020-07-09 | Subway broadcasting system timing playing method based on multi-instruction multi-cycle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010657645.8A CN111865458A (en) | 2020-07-09 | 2020-07-09 | Subway broadcasting system timing playing method based on multi-instruction multi-cycle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111865458A true CN111865458A (en) | 2020-10-30 |
Family
ID=73153328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010657645.8A Pending CN111865458A (en) | 2020-07-09 | 2020-07-09 | Subway broadcasting system timing playing method based on multi-instruction multi-cycle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111865458A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780395A (en) * | 2004-11-18 | 2006-05-31 | 华为技术有限公司 | System and method for realizing multi-media service in wide-band video system |
CN109147830A (en) * | 2018-08-29 | 2019-01-04 | 维沃移动通信有限公司 | A kind of playback of songs method and mobile terminal |
CN110166550A (en) * | 2019-05-22 | 2019-08-23 | 湖南康通电子股份有限公司 | A kind of fixed time broadcast method and device of digit broadcasting system |
CN111107413A (en) * | 2020-02-27 | 2020-05-05 | 四川长虹电器股份有限公司 | Method for realizing synchronous display of multiple devices based on time |
-
2020
- 2020-07-09 CN CN202010657645.8A patent/CN111865458A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780395A (en) * | 2004-11-18 | 2006-05-31 | 华为技术有限公司 | System and method for realizing multi-media service in wide-band video system |
CN109147830A (en) * | 2018-08-29 | 2019-01-04 | 维沃移动通信有限公司 | A kind of playback of songs method and mobile terminal |
CN110166550A (en) * | 2019-05-22 | 2019-08-23 | 湖南康通电子股份有限公司 | A kind of fixed time broadcast method and device of digit broadcasting system |
CN111107413A (en) * | 2020-02-27 | 2020-05-05 | 四川长虹电器股份有限公司 | Method for realizing synchronous display of multiple devices based on time |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6464411B2 (en) | Electronic device, method and program | |
WO2018099000A1 (en) | Voice input processing method, terminal and network server | |
CN103533519A (en) | Short message broadcasting method and system | |
CN105227979A (en) | Based on audio frequency playing method and the device of intelligent television | |
CN102292766A (en) | Method, apparatus and computer program product for providing compound models for speech recognition adaptation | |
US20020101920A1 (en) | Automatic test data generating apparatus and method | |
JP2014513828A (en) | Automatic conversation support | |
CN106601242A (en) | Executing method and device of operation event and terminal | |
US20060088281A1 (en) | Movie player, mobile terminal, and data processing method of mobile terminal | |
CN111583933B (en) | Voice information processing method, device, equipment and medium | |
CN100583992C (en) | Information communication terminal device and control method | |
US10216732B2 (en) | Information presentation method, non-transitory recording medium storing thereon computer program, and information presentation system | |
CN112004145A (en) | Program advertisement skipping processing method and device, television and system | |
US6523176B1 (en) | Reservation processing apparatus and method | |
CN111865458A (en) | Subway broadcasting system timing playing method based on multi-instruction multi-cycle | |
CN104702758B (en) | A kind of terminal and its method for managing multimedia notepad | |
EP3010016B1 (en) | Input information support apparatus, method for supporting input information, and input information support program | |
JP4565585B2 (en) | Data processing apparatus, data processing method, and recording medium | |
JP6305538B2 (en) | Electronic apparatus, method and program | |
CN109889643A (en) | Voice message broadcasting method and device and storage medium | |
JP4149370B2 (en) | Order processing apparatus, order processing method, order processing program, order processing program recording medium, and order processing system | |
CN107679083A (en) | A kind of method and device of intelligent information push | |
JP2005164944A (en) | Operation parameter determining device, electronic device, speech synthesizing device, interaction system, operation parameter determining method, and computer-readable control program | |
CN112380871A (en) | Semantic recognition method, apparatus, and medium | |
JP5402102B2 (en) | Schedule management apparatus and schedule management program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201030 |
|
RJ01 | Rejection of invention patent application after publication |