CN112651125A - Simulated train communication method, device, equipment and storage medium - Google Patents

Simulated train communication method, device, equipment and storage medium Download PDF

Info

Publication number
CN112651125A
CN112651125A CN202011554725.7A CN202011554725A CN112651125A CN 112651125 A CN112651125 A CN 112651125A CN 202011554725 A CN202011554725 A CN 202011554725A CN 112651125 A CN112651125 A CN 112651125A
Authority
CN
China
Prior art keywords
voice message
wireless communication
message
communication device
integrated wireless
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
Application number
CN202011554725.7A
Other languages
Chinese (zh)
Inventor
张二阳
苏以佳
张俊
冯领田
刘帅
张冶
辛青青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou J&T Hi Tech Co Ltd
Original Assignee
Zhengzhou J&T Hi Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou J&T Hi Tech Co Ltd filed Critical Zhengzhou J&T Hi Tech Co Ltd
Priority to CN202011554725.7A priority Critical patent/CN112651125A/en
Publication of CN112651125A publication Critical patent/CN112651125A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance
    • G06Q50/2057Career enhancement or continuing education service

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Primary Health Care (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a communication method, a device, equipment and a storage medium for a simulation train, and belongs to the technical field of simulation trains. The method is applied to the first simulation train comprehensive wireless communication equipment, and comprises the following steps: acquiring a first voice message; converting the first voice message into a first text message corresponding to the first voice message; and respectively sending the first voice message and the first text message to the second simulated train integrated wireless communication equipment. The method and the device can realize synchronous transmission of the voice message and the text message corresponding to the voice message, and improve the instantaneity of message transmission.

Description

Simulated train communication method, device, equipment and storage medium
Technical Field
The present application relates to the field of simulation technologies, and in particular, to a method, an apparatus, a device, and a storage medium for simulating train communication.
Background
With the development of domestic high-speed railways, a large number of high-speed rail vehicle specialized talents are needed in various places, in order to train and educate the high-speed rail vehicle specialized talents, simulation trains are usually set to simulate real trains, in order to simulate the communication relationship between the trains, communication connection needs to be established between the simulation trains, and workers on the simulation trains can realize message interaction through the communication connection relationship.
The currently adopted method mainly adopts a voice message or text message form to realize message interaction among various simulated trains. Usually, the message requiring the instant interaction is interacted as a voice message, and the message not requiring the instant interaction is interacted as a text message, and the two messages do not interfere with each other.
However, if a voice message transmission channel between actual trains fails or voice messages cannot be interacted instantly due to other situations, timeliness of obtaining messages between the trains is affected, and risks caused by message blocking between the trains are increased.
Disclosure of Invention
The application aims to provide a method, a device, equipment and a storage medium for simulating train communication, which can realize synchronous transmission of a voice message and a text message corresponding to the voice message and improve the instantaneity of message transmission.
The embodiment of the application is realized as follows:
in one aspect of the embodiments of the present application, a method for communicating a simulated train is provided, where the method is applied to a first simulated train integrated wireless communication device, and the method includes:
acquiring a first voice message;
converting the first voice message into a first text message corresponding to the first voice message;
and respectively sending the first voice message and the first text message to the second simulated train integrated wireless communication equipment.
Optionally, the acquiring the first voice message comprises:
receiving input audio stream information;
storing the audio stream information to an audio queue of a preset buffer area, wherein the preset buffer area comprises a plurality of audio queues;
and if the target audio queue which is fully stored exists, the audio stream information in the target audio queue is used as the first voice message.
Optionally, after the first voice message and the first text message are respectively transmitted to the second simulated train integrated wireless communication device, the method further comprises:
emptying the target audio queue;
and sending the emptied target audio queue to a buffer area as an empty queue.
Optionally, before acquiring the first voice message, the method further includes:
sending a call request to the second simulated train integrated wireless communication device, or receiving a call request sent by the second simulated train integrated wireless communication device;
and establishing communication connection with the second simulated train integrated wireless communication device according to the call request.
Optionally, the method further comprises:
sending a communication disconnection instruction to the second simulated train comprehensive wireless communication device, or receiving a communication disconnection instruction sent by the second simulated train comprehensive wireless communication device;
and disconnecting the communication connection with the second simulated train integrated wireless communication equipment according to the communication disconnection instruction.
Optionally, the method further comprises:
receiving a second voice message sent by a second simulation train integrated wireless communication device and a second text message corresponding to the second voice message;
and playing the second voice message and displaying a second text message corresponding to the second voice message.
Optionally, after receiving a second voice message sent by the second simulated train integrated wireless communication device and a second text message corresponding to the second voice message, the method further includes:
identifying message content of the second text message;
and if the message content of the second text message comprises a prompt instruction, generating a corresponding third voice message according to the second text message, wherein the third voice message comprises a prompt sound effect corresponding to the message content.
In another aspect of the embodiments of the present application, there is provided a simulated train communication apparatus applied to a first simulated train integrated wireless communication device, the apparatus including: the device comprises an acquisition module, a conversion module and a sending module;
the acquisition module is used for acquiring a first voice message;
the conversion module is used for converting the first voice message into a first text message corresponding to the first voice message;
and the sending module is used for respectively sending the first voice message and the first text message to the second simulated train comprehensive wireless communication equipment.
Optionally, the obtaining module is specifically configured to receive input audio stream information; storing the audio stream information to an audio queue of a preset buffer area, wherein the preset buffer area comprises a plurality of audio queues; and if the target audio queue which is fully stored exists, the audio stream information in the target audio queue is used as the first voice message.
Optionally, the sending module is further configured to empty the target audio queue; and sending the emptied target audio queue to a buffer area as an empty queue.
Optionally, the sending module is further configured to send a call request to the second simulated train integrated wireless communication device. The device also includes: a receiving module; the receiving module is used for receiving a call request sent by the second simulation train comprehensive wireless communication equipment; and establishing communication connection with the second simulated train integrated wireless communication device according to the call request.
Optionally, the sending module is further configured to send a communication disconnection instruction to the second simulated train integrated wireless communication device, and the receiving module is further configured to receive the communication disconnection instruction sent by the second simulated train integrated wireless communication device; and disconnecting the communication connection with the second simulated train integrated wireless communication equipment according to the communication disconnection instruction.
Optionally, the receiving module is further configured to receive a second voice message sent by the second simulated train integrated wireless communication device and a second text message corresponding to the second voice message; and playing the second voice message and displaying a second text message corresponding to the second voice message.
Optionally, the apparatus further comprises: an identification module; the identification module is used for identifying the message content of the second text message; and if the message content of the second text message comprises a prompt instruction, generating a corresponding third voice message according to the second text message, wherein the third voice message comprises a prompt sound effect corresponding to the message content.
In another aspect of the embodiments of the present application, there is provided a computer device, including: the simulation train communication method comprises a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, and when the processor executes the computer program, the steps of the simulation train communication method are realized.
In another aspect of the embodiments of the present application, a storage medium is provided, and the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for simulating train communication described above are implemented.
The beneficial effects of the embodiment of the application include:
in the method, the device, the equipment and the storage medium for communication of the simulated train provided by the embodiment of the application, the first voice message can be acquired, the first voice message is converted into the first text message corresponding to the first voice message, and then the first voice message and the first text message are respectively sent to the second comprehensive wireless communication equipment for the simulated train. The first voice message and the first text message are respectively sent to the second simulated train integrated wireless communication device, so that the second simulated train integrated wireless communication device can display the text message corresponding to the voice message while playing the voice message, the instantaneity of information transmission can be improved, and workers on the second simulated train can receive the meaning expressed by the first voice message more clearly.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic view of an application scenario of a simulated train communication method provided in an embodiment of the present application;
fig. 2 is a first schematic flowchart of a simulation train communication method provided in an embodiment of the present application;
fig. 3 is a schematic flow chart diagram ii of a simulation train communication method provided in the embodiment of the present application;
fig. 4 is a third schematic flowchart of a simulation train communication method provided in the embodiment of the present application;
fig. 5 is a fourth schematic flowchart of a simulated train communication method provided in the embodiment of the present application;
fig. 6 is a fifth flowchart illustrating a simulation train communication method according to an embodiment of the present application;
fig. 7 is a sixth schematic flowchart of a simulated train communication method provided in an embodiment of the present application;
fig. 8 is a seventh flowchart illustrating a simulated train communication method according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of a simulated train communication device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it is noted that the terms "first", "second", "third", and the like are used merely for distinguishing between descriptions and are not intended to indicate or imply relative importance.
The following explains a specific application scenario of the simulated train communication method provided by the embodiment of the present application.
Fig. 1 is a schematic view of an application scenario of a simulated train communication method provided in an embodiment of the present application, please refer to fig. 1, where the application scenario may include a plurality of simulated trains, each simulated train at least includes an integrated wireless communication device, and fig. 1 includes: it should be noted that in this scenario, any one of the simulated trains may be the first simulated train 110 or the second simulated train 120.
The simulated train can be a train model used for simulating a real train (such as a high-speed railway), can have various functions of the real train, and the integrated radio communication equipment (CIR) can be equipment for communication between railway locomotives and can be arranged on a driving platform of the train. The integrated wireless communication equipment of the simulated train can be arranged on a simulated driving platform of the simulated train, and the simulated driving platform can be arranged in a scene of the simulated train and used for simulating the driving platform of the real train. Of course, the integrated wireless communication device of the simulated train can be realized through virtual software simulation, and the specific deployment is not limited.
Optionally, information interaction can be performed between the integrated wireless communication devices of the plurality of simulated trains, and it should be noted that the wireless signals provided for the integrated wireless communication devices are not limited to 3G, 4G networks used by common communication devices, but are more preferably a GSM-R network (Global System for Mobile Communications-hierarchy for Railway communication and application) designed on the basis of a conventional GSM network (Global System for Mobile Communications), which is a Railway dedicated communication network and has a communication frequency of 800 MHz.
The carrier applying the GSM-R network can ensure that no communication is lost below the speed of 500 km/h, and compared with a 3G network and a 4G network, the carrier has the advantage that the communication is still not lost under high-speed motion.
Multiple simulated trains may be used to simulate different real trains on the track, for example: two trains which are adjacent to each other in front and back on the running track.
The following explains a specific implementation process of the simulated train communication method provided in the embodiment of the present application.
Fig. 2 is a first schematic flow chart of a simulation train communication method provided in an embodiment of the present application, please refer to fig. 2, the simulation train communication method is applied to a first simulation train integrated wireless communication device, and the method includes:
s210: a first voice message is obtained.
Optionally, the first voice message may be a voice message obtained by performing preprocessing after being input through a voice input device (e.g., a microphone) on the first simulated train, and the first voice message may include a message that the first simulated train is required to be sent to the second simulated train.
S220: and converting the first voice message into a first text message corresponding to the first voice message.
Alternatively, the first text message may correspond to the content of the first voice message. The first voice message can be subjected to text processing, the audio signal in the voice message is extracted, and the voice message is converted into the text message according to the corresponding relation between the audio signal and the text, so that the first text message is obtained.
For example: the voice content in the first voice message comprises 'please notice by the vehicle ahead, i.e. about to overtake', which is characterized in the first voice message in an audio mode, and after the first voice message is subjected to text processing, the 'please notice by the vehicle ahead, i.e. about to overtake' can be characterized in a text mode.
S230: and respectively sending the first voice message and the first text message to the second simulated train integrated wireless communication equipment.
Optionally, after the first text message is acquired, the first voice message and the first text message may be respectively sent to the second simulated train integrated wireless communication device. Wherein the first voice message and the first text message can be transmitted respectively by using two communication lines in the integrated wireless communication device.
As explained above for the integrated wireless communication device, the first voice message and the first text message may be transmitted using a GSM-R network to ensure that the transmission of the first voice message and the first text message is not lost when the train is operating at high speed.
In the method for communication of the simulated train provided by the embodiment of the application, the first voice message can be acquired, converted into the first text message corresponding to the first voice message, and then respectively sent to the second comprehensive wireless communication equipment of the simulated train. The first voice message and the first text message are respectively sent to the second simulated train integrated wireless communication device, so that the second simulated train integrated wireless communication device can display the text message corresponding to the voice message while playing the voice message, the instantaneity of information transmission can be improved, and workers on the second simulated train can receive the meaning expressed by the first voice message more clearly.
The following explains a specific implementation process for acquiring the first voice message in the simulated train communication method provided in the embodiment of the present application.
Fig. 3 is a second flowchart of a simulated train communication method according to an embodiment of the present application, please refer to fig. 3, where acquiring the first voice message includes:
s310: input audio stream information is received.
Alternatively, the audio stream information may be a message entered by a worker through a voice input device on the first simulated train. Specifically, the message may be a word or a sentence spoken by a worker.
S320: and storing the audio stream information to an audio queue of a preset buffer area.
The preset buffer area comprises a plurality of audio queues.
Optionally, a preset buffer area may have a plurality of audio queues, the audio queues may be sequentially arranged in order, each audio queue is an empty queue in an initial state, after receiving input audio stream information, the audio stream information may be sequentially input into an audio queue arranged at the top in the buffer area for storage, and after the audio queue is full of storage, the audio stream information may be sequentially input into other empty audio queues for storage according to the arrangement order.
S330: and if the target audio queue which is fully stored exists, the audio stream information in the target audio queue is used as the first voice message.
Alternatively, after any one of the audio queues is full, the audio queue may be used as a target audio queue. After the target audio queue is determined, all the audio stream information in the target audio queue can be used as the first voice message.
Optionally, the staff may also select any audio queue not full for storage as the target audio queue by inputting a selection instruction, which is not limited herein.
Another specific implementation process in the simulated train communication method provided in the embodiment of the present application is specifically explained below.
Fig. 4 is a third schematic flowchart of a simulated train communication method provided in an embodiment of the present application, please refer to fig. 4, where after the first voice message and the first text message are respectively sent to the second simulated train integrated wireless communication device, the method further includes:
s410: and emptying the target audio queue.
Optionally, after the integrated wireless communication device of the first simulated train sends the first voice message and the first text message to the integrated wireless communication device of the second simulated train, the audio stream information in the target audio queue may be emptied.
S420: and sending the emptied target audio queue to a buffer area as an empty queue.
Alternatively, the emptied target audio queue may be sent to the buffer as an empty queue, and the empty queue may be arranged at the end of the audio queue.
For example: if 12 audio queues are in the buffer area, after the first audio queue is full, the audio queue can be output as a target audio queue, and after the first voice message and the first text message are respectively sent to the second simulated train integrated wireless communication device, the audio queue can be emptied and added into the audio queue again as an empty queue, for example, the audio queue can be used as the last audio queue in the current audio queue.
The following explains a specific implementation process of the method adopted before the first voice message is acquired in the simulated train communication method provided by the embodiment of the present application.
Fig. 5 is a fourth schematic flowchart of a method for simulating train communication according to an embodiment of the present application, please refer to fig. 5, before acquiring the first voice message, the method further includes:
s510: and sending a call request to the second simulated train integrated wireless communication device.
Or, S520: and receiving a call request sent by the second simulated train integrated wireless communication device.
Optionally, the first simulated train integrated wireless communication device and the second simulated train integrated wireless communication device may both send out a call request, where the call request may be sent out according to a preset condition (e.g., a preset time, a preset distance between trains, etc.), or may be a call request sent out by an operator through operating the integrated wireless communication device (e.g., dialing out through a transmitter on the integrated wireless communication device), which is not limited herein.
S530: and establishing communication connection with the second simulated train integrated wireless communication device according to the call request.
Alternatively, if the call request is sent from the first emulated train integrated wireless communication device to the second emulated train integrated wireless communication device, the second emulated train integrated wireless communication device may establish a communication connection with the first emulated train integrated wireless communication device according to the received call request. And if the call request is the call request sent by the second simulated train integrated wireless communication device to the first simulated train integrated wireless communication device, establishing communication connection with the second simulated train integrated wireless communication device according to the received call request.
Optionally, after the first simulated train integrated wireless communication device and the second simulated train integrated wireless communication device establish a communication connection, information interaction between the first simulated train and the second simulated train may be implemented, for example: the aforementioned first voice message, first text message, etc.
Next, a further specific implementation process in the simulated train communication method provided in the embodiment of the present application is explained.
Fig. 6 is a fifth flowchart of a simulation train communication method provided in an embodiment of the present application, please refer to fig. 6, where the method further includes:
s610: and sending a communication disconnection instruction to the second simulated train integrated wireless communication equipment.
Or, S620: and receiving a communication disconnection instruction sent by the second simulated train integrated wireless communication equipment.
Optionally, the first emulated train integrated wireless communication device and the second emulated train integrated wireless communication device may both send a communication disconnection instruction, where the communication disconnection instruction may be sent according to a preset condition (for example, a preset time, a preset distance between trains, and the like), or may also be a communication disconnection instruction sent by a worker through operating the integrated wireless communication device (for example, sending the communication disconnection instruction is implemented by hanging up a transmitter on the integrated wireless communication device), which is not limited herein.
S630: and disconnecting the communication connection with the second simulated train integrated wireless communication equipment according to the communication disconnection instruction.
Optionally, after any one of the first simulated train integrated wireless communication device and the second simulated train integrated wireless communication device sends a communication disconnection instruction, the communication connection between the first simulated train integrated wireless communication device and the second simulated train integrated wireless communication device may be disconnected, and information interaction between the first simulated train and the second simulated train cannot be performed under the condition that the communication connection is disconnected.
Another specific implementation process of the simulated train communication method provided in the embodiment of the present application is specifically explained below.
Fig. 7 is a sixth schematic flowchart of a simulated train communication method provided in an embodiment of the present application, please refer to fig. 7, and accordingly, a call may also be initiated by a second simulated train party, where the method further includes:
s710: and receiving a second voice message sent by the second simulated train integrated wireless communication equipment and a second text message corresponding to the second voice message.
Optionally, on the premise that the communication connection is established, the first simulated train integrated wireless communication device may receive a second voice message sent by the second simulated train integrated wireless communication device and a second text message corresponding to the second voice message.
The second voice message may be a voice message obtained by preprocessing the voice message after being input through a voice input device (e.g., a microphone) on the second simulated train, and the second voice message may include a message that the second simulated train is required to be sent to the first simulated train.
The second text message may correspond to the content of the second voice message. The second voice message can be subjected to text processing, the audio signal in the voice message is extracted, and the voice message is converted into the text message according to the corresponding relation between the audio signal and the text, so that the second text message is obtained.
S720: and playing the second voice message and displaying a second text message corresponding to the second voice message.
Alternatively, the second voice message may be played through an audio output device (e.g., a speaker) on the first simulated train integrated wireless communication device and the second text message may be displayed through a text output device (e.g., a display screen) on the first simulated train integrated wireless communication device.
It should be noted that the processes of S710-S720 may be performed synchronously with the processes of S210-S230, that is, the first simulated train integrated wireless communication device may receive and transmit the voice message and the text message synchronously.
Next, a further specific implementation process of the simulated train communication method provided in the embodiment of the present application is explained.
Fig. 8 is a seventh flowchart of a simulated train communication method provided in the embodiment of the present application, please refer to fig. 8, after receiving a second voice message sent by a second simulated train integrated wireless communication device and a second text message corresponding to the second voice message, the method further includes:
s810: message content of the second text message is identified.
Optionally, after receiving the second text message, the first simulated train integrated wireless communication device may perform word recognition processing on the second text message, recognize specific message content in the second text message, and determine whether the message content of the second text message has a prompt instruction according to a correspondence between a recognition result and a prompt instruction pre-stored in the first simulated train integrated wireless communication device.
The prompt instruction may be an instruction for prompting the first simulated train to perform a corresponding operation, and the corresponding operation may include, for example: backing, turning, parking, etc.
S820: and if the message content of the second text message comprises a prompt instruction, generating a corresponding third voice message according to the second text message.
And the third voice message comprises a prompt sound effect corresponding to the message content.
Optionally, if it is determined that the message content of the second text message includes a prompt instruction, a third voice message may be generated according to the message content of the second text message to prompt a worker on the first simulated train.
Alternatively, the alert sound effect may be a preset voice alert, such as: calling a preset voice, and playing a prompting voice of 'please stop' to play; or may be specific sound effects such as: alarm sounds, ring tones, etc. to prompt, without limitation.
The following describes a device, equipment, a storage medium, and the like corresponding to the simulation train communication method provided by the present application for execution, and specific implementation processes and technical effects thereof are referred to above and will not be described again below.
Fig. 9 is a schematic structural diagram of a simulated train communication device according to an embodiment of the present application, please refer to fig. 9, the device is applied to a first simulated train integrated wireless communication device, and the device includes: the system comprises an acquisition module 100, a conversion module 200 and a sending module 300;
an obtaining module 100, configured to obtain a first voice message;
a conversion module 200, configured to convert the first voice message into a first text message corresponding to the first voice message;
a sending module 300, configured to send the first voice message and the first text message to the second simulated train integrated wireless communication device, respectively.
Optionally, the obtaining module 100 is specifically configured to receive input audio stream information; storing the audio stream information to an audio queue of a preset buffer area, wherein the preset buffer area comprises a plurality of audio queues; and if the target audio queue which is fully stored exists, the audio stream information in the target audio queue is used as the first voice message.
Optionally, the sending module 300 is further configured to empty the target audio queue; and sending the emptied target audio queue to a buffer area as an empty queue.
Optionally, the sending module 300 is further configured to send a call request to the second simulated train integrated wireless communication device. The device also includes: a receiving module 400; the receiving module 400 is configured to receive a call request sent by the second emulated train integrated wireless communication device; and establishing communication connection with the second simulated train integrated wireless communication device according to the call request.
Optionally, the sending module 300 is further configured to send a communication disconnection instruction to the second simulated train integrated wireless communication device, and the receiving module 400 is further configured to receive the communication disconnection instruction sent by the second simulated train integrated wireless communication device; and disconnecting the communication connection with the second simulated train integrated wireless communication equipment according to the communication disconnection instruction.
Optionally, the receiving module 400 is further configured to receive a second voice message sent by the second simulated train integrated wireless communication device and a second text message corresponding to the second voice message; and playing the second voice message and displaying a second text message corresponding to the second voice message.
Optionally, the apparatus further comprises: an identification module 500; the recognition module 500 is configured to recognize message content of the second text message; and if the message content of the second text message comprises a prompt instruction, generating a corresponding third voice message according to the second text message, wherein the third voice message comprises a prompt sound effect corresponding to the message content.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application, and referring to fig. 10, the computer device includes: the memory 600 and the processor 700, wherein the memory 600 stores a computer program operable on the processor 700, and the processor 700 implements the steps of the simulated train communication method when executing the computer program.
In another aspect of the embodiments of the present application, there is further provided a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the method for simulating train communication described above are implemented.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A simulated train communication method is applied to a first simulated train integrated wireless communication device, and comprises the following steps:
acquiring a first voice message;
converting the first voice message into a first text message corresponding to the first voice message;
and respectively sending the first voice message and the first text message to a second simulated train integrated wireless communication device.
2. The method of claim 1, wherein the obtaining the first voice message comprises:
receiving input audio stream information;
storing the audio stream information to an audio queue of a preset buffer area, wherein the preset buffer area comprises a plurality of audio queues;
and if the target audio queue which is fully stored exists, the audio stream information in the target audio queue is used as the first voice message.
3. The method of claim 2, wherein after said transmitting said first voice message and said first text message, respectively, to a second simulated train integrated wireless communication device, said method further comprises:
emptying the target audio queue;
and sending the emptied target audio queue to the buffer area as an empty queue.
4. The method of claim 1, wherein prior to said retrieving the first voice message, the method further comprises:
sending a call request to the second simulated train integrated wireless communication device, or receiving the call request sent by the second simulated train integrated wireless communication device;
and establishing communication connection with the second simulated train integrated wireless communication device according to the call request.
5. The method of claim 4, wherein the method further comprises:
sending a communication disconnection instruction to the second simulated train integrated wireless communication device, or receiving a communication disconnection instruction sent by the second simulated train integrated wireless communication device;
and disconnecting the communication connection with the second simulated train integrated wireless communication equipment according to the communication disconnection instruction.
6. The method of claim 1, wherein the method further comprises:
receiving a second voice message sent by a second simulation train integrated wireless communication device and a second text message corresponding to the second voice message;
and playing the second voice message and displaying a second text message corresponding to the second voice message.
7. The method of claim 6, wherein after receiving a second voice message sent by a second simulated train integrated wireless communication device and a second text message corresponding to the second voice message, the method further comprises:
identifying message content of the second text message;
and if the message content of the second text message comprises a prompt instruction, generating a corresponding third voice message according to the second text message, wherein the third voice message comprises a prompt sound effect corresponding to the message content.
8. A simulated train communication device, which is applied to a first simulated train integrated wireless communication device, comprises: the device comprises an acquisition module, a conversion module and a sending module;
the acquisition module is used for acquiring a first voice message;
the conversion module is used for converting the first voice message into a first text message corresponding to the first voice message;
and the sending module is used for respectively sending the first voice message and the first text message to second simulated train comprehensive wireless communication equipment.
9. A computer device, comprising: memory in which a computer program is stored which is executable on the processor, and a processor which, when executing the computer program, carries out the steps of the method according to any one of the preceding claims 1 to 7.
10. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202011554725.7A 2020-12-22 2020-12-22 Simulated train communication method, device, equipment and storage medium Pending CN112651125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011554725.7A CN112651125A (en) 2020-12-22 2020-12-22 Simulated train communication method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011554725.7A CN112651125A (en) 2020-12-22 2020-12-22 Simulated train communication method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112651125A true CN112651125A (en) 2021-04-13

Family

ID=75362781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011554725.7A Pending CN112651125A (en) 2020-12-22 2020-12-22 Simulated train communication method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112651125A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070117549A1 (en) * 2005-10-06 2007-05-24 Arnos Reed W Wireless handset and methods for use therewith
CN101404741A (en) * 2008-11-06 2009-04-08 北京创毅视讯科技有限公司 Audio playing apparatus and method, and digital television chip
CN103187062A (en) * 2011-12-28 2013-07-03 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted data processing device and preservation service data processing system
CN106997764A (en) * 2016-01-26 2017-08-01 阿里巴巴集团控股有限公司 A kind of instant communicating method and instantaneous communication system based on speech recognition
CN107888479A (en) * 2017-10-31 2018-04-06 深圳云之家网络有限公司 Voice communication method, device, computer equipment and storage medium
CN108089835A (en) * 2016-11-14 2018-05-29 松下航空电子公司 For distributing the method and system of information on transport vehicle
CN108248638A (en) * 2017-12-26 2018-07-06 河南辉煌软件有限公司 Train arrival reminding system based on voice prompt
CN109801627A (en) * 2019-01-31 2019-05-24 冯泽 Voice class information processing method, device, computer equipment and storage medium
CN209089068U (en) * 2019-01-02 2019-07-09 中车株洲电力机车有限公司 A kind of rail transit train phone system and rail transit train
CN110775098A (en) * 2019-11-06 2020-02-11 北交智慧科技有限公司 Active train control system
CN110837573A (en) * 2019-11-08 2020-02-25 苏州思必驰信息科技有限公司 Distributed audio file storage and reading method and system
CN111348074A (en) * 2020-03-20 2020-06-30 北京佳讯飞鸿电气股份有限公司 Railway dispatching method and system
CN111652344A (en) * 2020-05-29 2020-09-11 百度在线网络技术(北京)有限公司 Method and apparatus for presenting information
CN111755008A (en) * 2020-06-11 2020-10-09 北京字节跳动网络技术有限公司 Information processing method, information processing apparatus, electronic device, and medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070117549A1 (en) * 2005-10-06 2007-05-24 Arnos Reed W Wireless handset and methods for use therewith
CN101404741A (en) * 2008-11-06 2009-04-08 北京创毅视讯科技有限公司 Audio playing apparatus and method, and digital television chip
CN103187062A (en) * 2011-12-28 2013-07-03 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted data processing device and preservation service data processing system
CN106997764A (en) * 2016-01-26 2017-08-01 阿里巴巴集团控股有限公司 A kind of instant communicating method and instantaneous communication system based on speech recognition
CN108089835A (en) * 2016-11-14 2018-05-29 松下航空电子公司 For distributing the method and system of information on transport vehicle
CN107888479A (en) * 2017-10-31 2018-04-06 深圳云之家网络有限公司 Voice communication method, device, computer equipment and storage medium
CN108248638A (en) * 2017-12-26 2018-07-06 河南辉煌软件有限公司 Train arrival reminding system based on voice prompt
CN209089068U (en) * 2019-01-02 2019-07-09 中车株洲电力机车有限公司 A kind of rail transit train phone system and rail transit train
CN109801627A (en) * 2019-01-31 2019-05-24 冯泽 Voice class information processing method, device, computer equipment and storage medium
CN110775098A (en) * 2019-11-06 2020-02-11 北交智慧科技有限公司 Active train control system
CN110837573A (en) * 2019-11-08 2020-02-25 苏州思必驰信息科技有限公司 Distributed audio file storage and reading method and system
CN111348074A (en) * 2020-03-20 2020-06-30 北京佳讯飞鸿电气股份有限公司 Railway dispatching method and system
CN111652344A (en) * 2020-05-29 2020-09-11 百度在线网络技术(北京)有限公司 Method and apparatus for presenting information
CN111755008A (en) * 2020-06-11 2020-10-09 北京字节跳动网络技术有限公司 Information processing method, information processing apparatus, electronic device, and medium

Similar Documents

Publication Publication Date Title
CN103680134B (en) The method of a kind of offer service of calling a taxi, Apparatus and system
CN104821929B (en) Multi-medium data sharing method and terminal
CN103646562A (en) One-key motorcade and self-driving marshalling service system and method
CN108053675A (en) Train arrival based reminding method and system, client, server and electronic equipment
CN102347913A (en) Method for realizing voice and text content mixed message
CN110768710A (en) Method for realizing voice communication based on Beidou short message
CN103489210A (en) Virtual character proactive contacting system and method thereof
US20200374245A1 (en) Computer-readable recording medium recording conversation control program, conversation control method, and information processing device
CN113114752B (en) Data acquisition method, device, terminal and server based on public traffic scene
CN106162552B (en) Map system and interaction method based on map system
CN112651125A (en) Simulated train communication method, device, equipment and storage medium
CN103685774B (en) A kind of Ads on Vehicles method for pushing based on speech communication
CN100375429C (en) Method and apparatus for watching game play in real time through browser
CN103023593A (en) Methods for sending and playing broadcast information, client equipment, server and system
CN112447179A (en) Voice interaction method, device, equipment and computer readable storage medium
CN110164411A (en) A kind of voice interactive method, equipment and storage medium
CN108650622A (en) Under driving states with the exchange method of broadcast, system, equipment and storage medium
CN102404292B (en) Account automatic matching method and system
CN103886772A (en) Method and system for displaying station reporting information in instant messaging
CN113742473A (en) Digital virtual human interaction system and calculation transmission optimization method thereof
CN113345440A (en) Signal processing method, device and equipment and Augmented Reality (AR) system
CN111726283B (en) WeChat receiving method and device for vehicle-mounted intelligent sound box
CN112837678B (en) Private cloud recognition training method and device
CN106792143B (en) Share playback method and system in media file multiple terminals
CN104842899A (en) System for processing data and method for operationg system

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