CN112530435A - Data transmission method, device and system, readable storage medium and electronic equipment - Google Patents

Data transmission method, device and system, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN112530435A
CN112530435A CN201910888129.3A CN201910888129A CN112530435A CN 112530435 A CN112530435 A CN 112530435A CN 201910888129 A CN201910888129 A CN 201910888129A CN 112530435 A CN112530435 A CN 112530435A
Authority
CN
China
Prior art keywords
text content
terminal
sending
audio data
cluster server
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.)
Granted
Application number
CN201910888129.3A
Other languages
Chinese (zh)
Other versions
CN112530435B (en
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201910888129.3A priority Critical patent/CN112530435B/en
Publication of CN112530435A publication Critical patent/CN112530435A/en
Application granted granted Critical
Publication of CN112530435B publication Critical patent/CN112530435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure relates to a data transmission method, a data transmission device, a data transmission system, a readable storage medium and an electronic device. The method is applied to a cluster server and comprises the following steps: when audio data sent by a first terminal are received, text content corresponding to the audio data is obtained; sending the audio data to a second terminal; and sending the text content to the second terminal. Therefore, when the communication signal is poor, even if the phenomena of blocking, word loss, unclear listening and the like occur in the communication process, the working personnel for vehicle scheduling can quickly and accurately acquire corresponding information through the text content corresponding to the audio data without repeated communication, and the accuracy and the real-time performance of the information are ensured, so that the driving safety is ensured. In addition, the text content occupies less bandwidth, so that the call quality is ensured.

Description

Data transmission method, device and system, readable storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data transmission method, apparatus, system, readable storage medium, and electronic device.
Background
The trunking communication system has all available channels shared by all users of the system, and provides an excellent multi-purpose, high-performance, and advanced wireless command and dispatch function. At this stage, trunked communication systems are moving from the analog era to the digital era.
When vehicle dispatching is carried out through the trunking communication system, work communication among dispatchers, train drivers and station staff relates to short messages, voice calls and video calls. Because the video call occupies more network bandwidth, the short message needs to edit characters and cannot ensure the real-time property of information exchange, so the video call is rarely used, and the voice call becomes a main mode of working communication among dispatchers, train drivers and station staff. During voice call usage, signal strength changes tend to occur due to the complexity of the wireless transmission environment (e.g., obstruction, distance, temperature, weather, etc.). When the signal weakens, the phenomenon such as card pause, lost word, not listened can appear in the voice conversation, and this kind of condition needs the staff to communicate with each other repeatedly, and then can't guarantee the accuracy and the real-time of information, makes driving safety receive the threat.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a data transmission method, apparatus, system, readable storage medium and electronic device.
In order to achieve the above object, according to a first aspect of the embodiments of the present disclosure, there is provided a data transmission method applied to a cluster server, the method including:
when audio data sent by a first terminal are received, text content corresponding to the audio data is obtained;
sending the audio data to a second terminal;
and sending the text content to the second terminal.
Optionally, before the step of sending the text content to the second terminal, the method further includes:
after the text content is obtained, judging whether modification content which is sent by the first terminal and corresponds to the text content is received in a first preset time period, wherein the modification content comprises a field to be modified in the text content and a corresponding target field;
if the modified content is received within the first preset time period, modifying the field to be modified in the text content into the target field to obtain new text content;
the sending the text content to the second terminal includes:
and sending the new text content to the second terminal.
Optionally, the method further comprises:
after the new text content is obtained, sending the new text content to the first terminal;
judging whether a first confirmation message sent by the first terminal is received within a second preset time period, wherein the first confirmation message is used for confirming the sending of the new text content, and the second preset time period is later than the first preset time period;
the sending the new text content to the second terminal includes:
and if the first confirmation message is received within the second preset time period, sending the new text content to the second terminal.
Optionally, before the step of sending the text content to the second terminal, the method further includes:
after the text content is acquired, judging whether a second confirmation message is received within a third preset time period, wherein the second confirmation message is used for confirming the sending of the text content;
the sending the text content to the second terminal includes:
and if the second confirmation message is received within the third preset time period, sending the text content to the second terminal.
Optionally, the obtaining of the text content corresponding to the audio data includes:
and acquiring text content corresponding to the audio data through a preset voice-to-character model.
According to a second aspect of the embodiments of the present disclosure, there is provided a data transmission method applied to a first terminal, the method including:
after receiving audio data input by a user, acquiring text content corresponding to the audio data;
sending the audio data to a cluster server so as to send the audio data to a second terminal through the cluster server;
and sending the text content to the cluster server so as to send the text content to the second terminal through the cluster server.
Optionally, the method further comprises:
after the text content is obtained, displaying the text content;
when a modification instruction for the text content is received, obtaining modification content corresponding to the text content according to the modification instruction, wherein the modification content comprises a field to be modified and a corresponding target field in the text content;
and sending the modified content to the cluster server, so that the cluster server modifies the field to be modified in the text content into the target field to obtain new text content.
Optionally, the method further comprises:
receiving and displaying the new text content sent by the cluster server;
and if a first confirmation instruction which is input by a user and used for representing that the new text content is correct is received, sending a first confirmation message to the cluster server, wherein the first confirmation message is used for confirming sending of the new text content.
Optionally, the method further comprises:
after the text content is displayed, if a second confirmation instruction which is input by a user and used for representing that the text content is correct is received, a second confirmation message is sent to the cluster server, wherein the second confirmation message is used for confirming sending of the text content.
Optionally, the obtaining of the text content corresponding to the audio data includes:
and acquiring text content corresponding to the audio data through a preset voice-to-character model.
According to a third aspect of the embodiments of the present disclosure, there is provided a data transmission apparatus, applied to a cluster server, the apparatus including:
the first acquisition module is used for acquiring text contents corresponding to audio data when the audio data sent by a first terminal are received;
the first sending module is used for sending the audio data to a second terminal;
and the second sending module is used for sending the text content acquired by the first acquiring module to the second terminal.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a data transmission apparatus, applied to a first terminal, the apparatus including:
the second acquisition module is used for acquiring text contents corresponding to the audio data after receiving the audio data input by the user;
the third sending module is used for sending the audio data to a cluster server so as to send the audio data to a second terminal through the cluster server;
and the fourth sending module is configured to send the text content obtained by the second obtaining module to the cluster server, so as to send the text content to the second terminal through the cluster server.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a data transmission system including:
a cluster server, wherein the cluster server is configured to perform the steps of the data transmission method provided by the first aspect of the present disclosure;
at least one first terminal, respectively connected to the cluster servers, for executing the steps of the data transmission method provided by the second aspect of the present disclosure;
and the at least one second terminal is respectively connected with the cluster server and is used for receiving the audio data and the text content sent by the cluster server.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the data transmission method provided by the first aspect of the present disclosure.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the data transmission method provided by the second aspect of the present disclosure
In the above technical solution, the cluster server receives audio data sent by the first terminal, obtains text content corresponding to the audio data, and sends the text content and the audio data to the second terminal. Therefore, when the communication signal is poor, even if the phenomena of blocking, word loss, unclear listening and the like occur in the communication process, the working personnel for vehicle scheduling can quickly and accurately acquire corresponding information through the text content corresponding to the audio data without repeated communication, and the accuracy and the real-time performance of the information are ensured, so that the driving safety is ensured. In addition, the text content occupies less bandwidth, so that the call quality is ensured.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a block diagram illustrating a data transmission system according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of data transmission according to an example embodiment.
Fig. 3 is a flow chart illustrating a method of data transmission according to another exemplary embodiment.
Fig. 4 is a flow chart illustrating a method of data transmission according to another exemplary embodiment.
Fig. 5 is a flow chart illustrating a method of data transmission according to another exemplary embodiment.
Fig. 6 is a flow chart illustrating a method of data transmission according to an example embodiment.
Fig. 7 is a flow chart illustrating a method of data transmission according to another exemplary embodiment.
Fig. 8 is a flow chart illustrating a method of data transmission according to another exemplary embodiment.
Fig. 9 is a flow chart illustrating a method of data transmission according to another exemplary embodiment.
Fig. 10 is a block diagram illustrating a data transmission apparatus according to an example embodiment.
Fig. 11 is a block diagram illustrating a data transmission apparatus according to an example embodiment.
FIG. 12 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 13 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a block diagram illustrating a data transmission system according to an exemplary embodiment. Referring to fig. 1, the system may include: a cluster server 1, at least one first terminal 2 and at least one second terminal 3.
In the present disclosure, the above-mentioned cluster server 1 is respectively connected to each first terminal 2 and each second terminal 3 in a communication manner, wherein the cluster server 1 and each first terminal 2 and each second terminal 3 can communicate via, but not limited to, a 2G (2-Generation wireless telephone technology, second Generation mobile communication technology) network, a 3G (3rd-Generation, third Generation mobile communication technology) network, a 4G (the 4th Generation mobile communication technology, fourth Generation mobile communication technology) network, bluetooth, Wi-Fi (wireless local area network technology), etc. to complete data transmission. The cluster server 1 may send the text content and the audio data to the second terminal 3 when acquiring the text content corresponding to the audio data sent by the first terminal 2; the second terminal 3 receives the above-mentioned text contents and audio data. In addition, the first terminal 2 and the second terminal 3 may be, for example, a pager, a smart phone, a tablet computer, an intelligent wearable device, and the like, and are not particularly limited in this disclosure.
For example, in the vehicle dispatching system, the cluster server 1 may be a dispatching desk, the first terminal 2 may be a handheld terminal of a train driver, and the second terminal 3 may be a handheld terminal of a station attendant.
Specifically, the cluster server 1 may implement data transmission through steps 201 to 203 shown in fig. 2.
In step 201, when audio data sent by a first terminal is received, text content corresponding to the audio data is acquired.
In step 202, audio data is transmitted to the second terminal.
In step 203, the text content is sent to the second terminal.
In the present disclosure, the cluster server 1 may acquire the text content corresponding to the audio data described above in various ways. In one embodiment, the cluster server 1 may obtain the text content corresponding to the audio data from the first terminal 2. Specifically, after receiving audio data input by a user, the first terminal 2 may obtain text content corresponding to the audio data through a preset speech-to-text model, and then may send the text content to the cluster server 1; the cluster server 1 receives the text content. Or after receiving the audio data sent by the first terminal 2, the cluster server 1 sends a request message for acquiring text content corresponding to the audio data to the first terminal 2; after receiving the request message, the first terminal 2 obtains the text content corresponding to the audio data through a preset voice-to-text model, and then sends the text content to the cluster server 1; the cluster server 1 receives the text content.
The first terminal 2 may be provided with a corresponding processor, and the preset voice-to-text model is stored thereon, so as to obtain text content corresponding to the audio data through the model.
In another embodiment, the cluster server 1 may obtain the text content corresponding to the audio data through a preset speech-to-text model. Specifically, the first terminal 2 may send the audio data to the cluster server 1 after receiving the audio data input by the user; after receiving the audio data, the cluster server 1 may obtain text content corresponding to the audio data through a preset speech-to-text model. The cluster server 1 may be provided with a corresponding processor, and the preset voice-to-text model is stored on the processor, so as to obtain text content corresponding to the audio data through the model. In this way, only the corresponding processor needs to be arranged on the cluster server 1, and the processor does not need to be arranged on each first terminal 2 in the data transmission system, thereby saving the hardware cost.
After acquiring the text content, the cluster server 1 may send the text content to the second terminal 3; the second terminal 3 receives the text content. After acquiring the text content, the cluster server 1 may directly transmit the text content to the second terminal 3, or may transmit the text content to the second terminal 3 after receiving a request message for acquiring the text content transmitted by the second terminal 3.
In addition, the cluster server 1 may also send the audio data to the second terminal 3 after receiving the audio data sent by the first terminal 2; the second terminal 3 receives the audio data.
In the present disclosure, the cluster server 1 sends the audio data and the text content to the second terminal 3 at the same time; the cluster server 1 may also send the audio data and the text content to the third terminal 3 at different times, for example, the cluster server sends the audio data to the second terminal 2 at the first time when the audio data is acquired, instead of sending the audio data together after the text content is acquired (the acquisition time of the text content is later than that of the audio data), so that the real-time property of audio data transmission can be ensured. That is, the step 203 may be executed before the step 202, may be executed after the step 202, may be executed simultaneously with the step 202, and is not particularly limited in this disclosure.
Further, the text content corresponding to the above audio data may be acquired by: firstly, extracting the characteristics of audio data to obtain characteristic values; and then, inputting the extracted characteristic value into the preset speech-to-text model, and decoding to obtain corresponding text content. The preset speech-to-text model may include an acoustic model and a speech model, wherein the speech model models word strings according to different types of speech, and an n-gram model based on (n-1) order markov chain statistics is currently and commonly used. Since the above-mentioned preset language-to-text model is well known to those skilled in the art, it will not be described in detail in this disclosure.
In the above technical solution, the cluster server receives audio data sent by the first terminal, obtains text content corresponding to the audio data, and sends the text content and the audio data to the second terminal. Therefore, when the communication signal is poor, even if the phenomena of blocking, word loss, unclear listening and the like occur in the communication process, the working personnel for vehicle scheduling can quickly and accurately acquire corresponding information through the text content corresponding to the audio data without repeated communication, and the accuracy and the real-time performance of the information are ensured, so that the driving safety is ensured. In addition, the text content occupies less bandwidth, so that the call quality is ensured.
In order to improve the accuracy of the text content, the cluster server 1 may be configured to determine whether the text content needs to be modified by the user of the first terminal 2 before sending the text content to the second terminal 3, and send the text content to the second terminal 3 after determining that the text content does not need to be modified; or, when the text content needs to be modified, the modified text content is sent to the second terminal 3 after being modified. Therefore, real-time modification of wrong text content in the cluster server 1 can be realized without inputting all the wrong text content again, time and labor are saved, and the real-time performance of information is guaranteed.
Specifically, as shown in fig. 3, the method may further include the following steps 204 to 206.
In step 204, it is determined whether a modified content corresponding to the text content and transmitted by the first terminal is received within a first preset time period.
In the present disclosure, after receiving audio data input by a user, the first terminal 2 may obtain text content corresponding to the audio data to be sent; thereafter, the text content is displayed to determine by the user of the first terminal 2 whether the text content needs to be modified; when modification is needed, a user can select a field to be modified through the first terminal 2 and modify the field to be modified into a corresponding target field, and at the moment, a corresponding modification instruction is generated; thus, after receiving the modification instruction, the first terminal 2 may obtain modification content corresponding to the modification text according to the modification instruction, where the modification content may include a field to be modified and a corresponding target field in the text content; finally, the first terminal 2 may send the modification content to the cluster server 1, so that the cluster server 1 modifies the field to be modified in the text content into the corresponding target field according to the modification content, thereby obtaining a new text content.
Specifically, after acquiring the text content, the cluster server 1 may determine whether the modified content is received within a first preset time period. If the cluster server 1 receives the modified content in the first preset time period, which indicates that there is an error in the modified content obtained by the language-to-text model, at this time, the cluster server 1 may modify the field to be modified in the text content into a corresponding target field according to the modified content, so as to obtain a new text content (i.e., execute the following step 205), and then may send the new text content to the second terminal 3; if the cluster server 1 does not receive the modified content within the first preset time period, the text content acquired in step 201 may be sent to the second terminal 3 (i.e., the following step 206 is executed).
In addition, one or more fields to be modified may be used, and the present disclosure is not particularly limited thereto.
In addition, the first terminal 2 may acquire the text content corresponding to the audio data to be transmitted in various ways. In an embodiment, after receiving the audio data input by the user, the first terminal 2 may obtain the text content corresponding to the audio data through a preset speech-to-text model.
In another embodiment, the first terminal 2 may obtain the text content corresponding to the audio data from the cluster server 1. The cluster server 1 may obtain the text content corresponding to the audio data through a preset voice-to-text model; the first terminal 2 may then obtain the above-mentioned text content by communicating with the cluster server 1.
In step 205, the field to be modified in the text content is modified into the target field, so as to obtain a new text content.
In step 206, the text content is sent to the second terminal.
In order to further improve the accuracy of the text content, the cluster server 1 may send the new text content to the first terminal 2 after obtaining the new text content, so that the user of the first terminal 2 confirms whether to send the new text content, and when the user confirms sending, the cluster server 1 sends the new text content to the second terminal 3. Specifically, as shown in fig. 4, the method may further include the following steps 207 to 209.
In step 207, the new text content is sent to the first terminal.
In step 208, it is determined whether the first acknowledgement message sent by the first terminal is received within a second preset time period.
In this disclosure, the first confirmation message may be used to confirm that the new text content is transmitted, and the second preset time period is later than the first preset time period. After the cluster server 1 obtains the new text content, the new text content may be sent to the first terminal 2; the first terminal 2 receives and displays the new text content; then, after the user of the first terminal 2 sees the new text content, if there is no error, a first confirmation instruction for representing the new text content can be input through the first terminal 2; after receiving the first confirmation instruction, the first terminal 2 sends a first confirmation message to the cluster server 1; the cluster server 1 receives this first acknowledgement message.
Specifically, after sending the new text content to the first terminal 2, the cluster server 1 may determine whether the first confirmation message sent by the first terminal 2 is received within a second preset time period. If the cluster server 1 receives the first confirmation message sent by the first terminal 2 within the second preset time period, the second terminal 3 may send the new text content obtained in step 205 (i.e., execute step 203); if the cluster server 1 does not receive the first confirmation message sent by the first terminal 2 within the second preset time period, the new text content may be sent to the second terminal 3 after the first preset time period (i.e., the following step 209 is executed).
In step 209, after the first preset time period, a new text content is sent to the second terminal.
Fig. 5 is a flow chart illustrating a method of data transmission according to another exemplary embodiment. As shown in fig. 5, the method may further include the following steps 210 and 211.
In step 210, it is determined whether a second acknowledgement message is received within a third preset time period.
In this disclosure, the second confirmation message may be used to confirm the transmission of the text content. After the first terminal 2 acquires the text content corresponding to the audio data to be sent, displaying the text content; then, after the user of the first terminal 2 sees the text content, if there is no error, a second confirmation instruction for representing that the text content is error-free can be input through the first terminal 2; after receiving the second confirmation instruction, the first terminal 2 sends a second confirmation message to the cluster server 1; the cluster server 1 receives this second acknowledgement message.
Specifically, after acquiring the text content, the cluster server 1 may determine whether the second confirmation message sent by the first terminal 2 is received within a third preset time period. If the cluster server 1 receives the second confirmation message sent by the first terminal 2 within the third preset time period, the text content acquired in the step 201 may be sent to the second terminal 3 (i.e., the step 203 is executed); if the cluster server 1 does not receive the second confirmation message sent by the first terminal 2 within the third preset time period, the text content may be sent to the second terminal 3 after a second preset time period (i.e., the following step 211 is executed).
In step 211, after a second preset duration, the text content is sent to the second terminal.
It should be noted that the first preset time period, the second preset time period, and the third preset time period may be set by a user, or may be default (for example, the first preset time period is within 30s after the cluster server 1 acquires the text content, the second preset time period is within 15s after the cluster server 1 transmits the new text content to the first terminal 2, and the third preset time period is within 15s after the cluster server 1 acquires the text content), which is not specifically limited in this disclosure. Moreover, the first preset time period and the second preset time period may be values set by a user or default empirical values, and the first preset time period and the second preset time period may be equal or unequal, which is not specifically limited in this disclosure.
Fig. 6 is a flow chart illustrating a data transmission method according to an example embodiment, wherein the method may be applied to a first terminal, e.g., the first terminal 2 shown in fig. 1. As shown in fig. 6, the method may include the following steps.
In step 601, after receiving audio data input by a user, text content corresponding to the audio data is acquired.
In step 602, the audio data is sent to the cluster server to send the audio data to the second terminal through the cluster server.
In step 603, the text content is sent to the cluster server to send the text content to the second terminal through the cluster server.
Fig. 7 is a flowchart illustrating a data transmission method according to another exemplary embodiment, wherein the method may be applied to a first terminal, for example, the first terminal 2 shown in fig. 1. As shown in fig. 7, the method may further include the following steps 604 to 606.
In step 604, after the text content is obtained, the text content is displayed.
In step 605, when a modification instruction for the text content is received, modified content corresponding to the text content is obtained according to the modification instruction.
In step 606, the modified content is sent to the cluster server, so that the cluster server modifies the field to be modified in the text content into the target field to obtain the new text content.
Fig. 8 is a flowchart illustrating a data transmission method according to another exemplary embodiment, wherein the method may be applied to a first terminal, for example, the first terminal 2 shown in fig. 1. As shown in fig. 8, the method may further include the following steps 607 to 609.
In step 607, the new text content sent by the cluster server is received and displayed.
In step 608, it is determined whether a first confirmation instruction entered by the user to characterize the new text content is received.
In step 609, a first acknowledgement message is sent to the cluster server.
In the present disclosure, after sending the modified content to the cluster server 1, the first terminal 2 may determine whether it receives a first confirmation instruction input by the user to characterize the new text content without errors. If the first confirmation instruction is received, sending a first confirmation message to the cluster server (i.e., performing step 609); otherwise, it is determined again whether the first confirmation instruction is received, i.e. the step 608 is returned to continue execution.
Fig. 9 is a flowchart illustrating a data transmission method according to another exemplary embodiment, wherein the method may be applied to a first terminal, for example, the first terminal 2 shown in fig. 1. As shown in fig. 9, the method may further include the following steps 610 and 611.
In step 610, it is determined whether a second confirmation instruction for indicating the text content is correct is received.
In the present disclosure, after the text content is displayed through the step 604, the first terminal 2 may determine whether it receives a second confirmation instruction input by the user to characterize the text content without errors. If the second confirmation instruction is received, sending a second confirmation message to the cluster server (i.e., performing the following step 611); otherwise, it is determined again whether the second confirmation instruction is received, i.e. the process returns to step 610 to continue execution.
In step 611, a second acknowledgement message is sent to the cluster server.
Since the method in the above embodiment, the specific manner in which each step performs the operation has been described in detail in the embodiment describing the above data transmission method on the cluster server side, and will not be elaborated here.
Fig. 10 is a block diagram illustrating a data transmission apparatus according to an exemplary embodiment, wherein the apparatus 1000 may be applied to a cluster server, for example, the cluster server 1 shown in fig. 1. Referring to fig. 10, the apparatus 1000 may include: a first obtaining module 1001, configured to obtain text content corresponding to audio data when the audio data sent by a first terminal is received; a first sending module 1002, configured to send the audio data to a second terminal; a second sending module 1003, configured to send the text content obtained by the first obtaining module 1001 to the second terminal.
Optionally, the apparatus 1000 may further include: a first determining module, configured to determine, after the first obtaining module 1001 obtains the text content, whether modification content corresponding to the text content and sent by the first terminal is received within a first preset time period, where the modification content includes a field to be modified in the text content and a corresponding target field; the modification module is used for modifying the field to be modified in the text content into the target field to obtain new text content if the modified content is received in the first preset time period; the second sending module 1003 is configured to send the new text content obtained by the modifying module to the second terminal.
Optionally, the second sending module 1003 is further configured to send the new text content to the first terminal after the modifying module obtains the new text content; the apparatus 1000 further comprises: a second determining module, configured to determine whether a first confirmation message sent by the first terminal is received within a second preset time period, where the first confirmation message is used to confirm sending of the new text content, and the second preset time period is later than the first preset time period; the third sending module 1003 is configured to send the new text content to the second terminal if the first confirmation message is received within the second preset time period.
Optionally, the apparatus 1000 may comprise: a third determining module, configured to determine whether a second confirmation message is received within a third preset time period after the first obtaining module 1001 obtains the text content, where the second confirmation message is used to confirm sending of the text content; the second sending module 1003 is configured to send the text content to the second terminal if the second confirmation message is received within the third preset time period.
Optionally, the first obtaining module 1001 is configured to obtain, through a preset speech-to-text model, text content corresponding to the audio data.
Fig. 11 is a block diagram illustrating a data transmission apparatus according to an exemplary embodiment, wherein the apparatus 1100 may be applied to a first terminal, for example, the first terminal 2 shown in fig. 1. Referring to fig. 11, the apparatus 1100 may include: the second obtaining module 1101 is configured to, after receiving audio data input by a user, obtain text content corresponding to the audio data; a third sending module 1102, configured to send the audio data to a cluster server, so as to send the audio data to a second terminal through the cluster server; a fourth sending module 1103, configured to send the text content obtained by the second obtaining module 1101 to the cluster server, so as to send the text content to the second terminal through the cluster server.
Optionally, the apparatus further comprises: a display module, configured to display the text content after the second obtaining module 1101 obtains the text content; a third obtaining module, configured to, when a modification instruction for the text content is received, obtain, according to the modification instruction, modification content corresponding to the text content obtained by the second obtaining module 1101, where the modification content includes a field to be modified and a target field in the text content; a fifth sending module, configured to send the modified content obtained by the third obtaining module to the cluster server, so that the cluster server sends the text.
Optionally, the display module is further configured to receive and display the new text content sent by the cluster server; the apparatus 1100 further comprises: and a sixth sending module, configured to send a first confirmation message to the cluster server if a first confirmation instruction, which is input by a user and used for characterizing that the new text content is correct, is received, where the first confirmation message is used for confirming sending of the new text content.
Optionally, the sixth sending module is further configured to, after the display module displays the text content, send a second confirmation message to the cluster server if a second confirmation instruction input by the user and used for representing that the text content is correct is received, where the second confirmation message is used for confirming sending of the text content.
Optionally, the second obtaining module 1101 is configured to obtain text content corresponding to the audio data through a preset speech-to-text model.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, realizes the steps of the data transmission method on the cluster server side.
The present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the data transmission method at the first terminal side.
Fig. 12 is a block diagram illustrating an electronic device 1200 in accordance with an example embodiment. For example, the electronic device 1200 may be provided as a server. Referring to fig. 12, the electronic device 1200 includes a processor 1222, which may be one or more in number, and a memory 1232 for storing computer programs executable by the processor 1222. The computer programs stored in memory 1232 may include one or more modules that each correspond to a set of instructions. Further, the processor 1222 may be configured to execute the computer program to perform the above-described cluster server side data transmission method.
Additionally, electronic device 1200 may also include a power component 1226 and a communication component 1250, the power component 1226 may be configured to perform power management of the electronic device 1200, and the communication component 1250 may be configured to enable communication, e.g., wired or wireless communication, of the electronic device 1200. In addition, the electronic device 1200 may also include input/output (I/O) interfaces 1258. The electronic device 1200 may operate based on an operating system stored in the memory 1232, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, and the like.
In another exemplary embodiment, a computer readable storage medium is also provided, which comprises program instructions, which when executed by a processor, implement the steps of the above-described cluster server side data transmission method. For example, the computer readable storage medium may be the memory 1232 comprising program instructions executable by the processor 1222 of the electronic device 1200 to perform the above-described cluster server-side data transmission method.
In another exemplary embodiment, a computer program product is also provided, which contains a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned cluster server-side data transmission method when executed by the programmable apparatus.
Fig. 13 is a block diagram illustrating an electronic device 1300 in accordance with an example embodiment. As shown in fig. 13, the electronic device 1300 may include: processor 1301, memory 1302. The electronic device 1300 may also include one or more of a multimedia component 1303, an input/output (I/O) interface 1304, and a communications component 1305.
The processor 1301 is configured to control the overall operation of the electronic device 1300, so as to complete all or part of the steps in the data transmission method on the first terminal side. The memory 1302 is configured to store various types of data to support operation at the electronic device 1300, such as instructions for any application or method operating on the electronic device 1300 and application-related data, such as contact data, messaging, pictures, audio, video, and so forth. The Memory 1302 may be implemented by any type or combination of volatile and non-volatile Memory devices, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 1303 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 1302 or transmitted via the communication component 1305. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 1304 provides an interface between the processor 1301 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 1305 is used for wired or wireless communication between the electronic device 1300 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 1305 may therefore include: Wi-Fi module, Bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic Device 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components for executing the above-mentioned data transmission method on the first terminal side.
In another exemplary embodiment, there is also provided a computer readable storage medium including program instructions, which when executed by a processor, implement the steps of the data transmission method at the first terminal side described above. For example, the computer readable storage medium may be the memory 1302 comprising program instructions executable by the processor 1301 of the electronic device 1300 to perform the data transmission method at the first terminal side described above.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (15)

1. A data transmission method is applied to a cluster server, and is characterized by comprising the following steps:
when audio data sent by a first terminal are received, text content corresponding to the audio data is obtained;
sending the audio data to a second terminal;
and sending the text content to the second terminal.
2. The method of claim 1, wherein prior to the step of sending the text content to the second terminal, the method further comprises:
after the text content is obtained, judging whether modification content which is sent by the first terminal and corresponds to the text content is received in a first preset time period, wherein the modification content comprises a field to be modified in the text content and a corresponding target field;
if the modified content is received within the first preset time period, modifying the field to be modified in the text content into the target field to obtain new text content;
the sending the text content to the second terminal includes:
and sending the new text content to the second terminal.
3. The method of claim 2, further comprising:
after the new text content is obtained, sending the new text content to the first terminal;
judging whether a first confirmation message sent by the first terminal is received within a second preset time period, wherein the first confirmation message is used for confirming the sending of the new text content, and the second preset time period is later than the first preset time period;
the sending the new text content to the second terminal includes:
and if the first confirmation message is received within the second preset time period, sending the new text content to the second terminal.
4. A method according to any of claims 1-3, wherein prior to the step of sending the text content to the second terminal, the method further comprises:
after the text content is acquired, judging whether a second confirmation message is received within a third preset time period, wherein the second confirmation message is used for confirming the sending of the text content;
the sending the text content to the second terminal includes:
and if the second confirmation message is received within the third preset time period, sending the text content to the second terminal.
5. The method according to any one of claims 1-3, wherein the obtaining of the text content corresponding to the audio data comprises:
and acquiring text content corresponding to the audio data through a preset voice-to-character model.
6. A data transmission method is applied to a first terminal, and is characterized by comprising the following steps:
after receiving audio data input by a user, acquiring text content corresponding to the audio data;
sending the audio data to a cluster server so as to send the audio data to a second terminal through the cluster server;
and sending the text content to the cluster server so as to send the text content to the second terminal through the cluster server.
7. The method of claim 6, further comprising:
after the text content is obtained, displaying the text content;
when a modification instruction for the text content is received, obtaining modification content corresponding to the text content according to the modification instruction, wherein the modification content comprises a field to be modified and a corresponding target field in the text content;
and sending the modified content to the cluster server, so that the cluster server modifies the field to be modified in the text content into the target field to obtain new text content.
8. The method of claim 7, further comprising:
receiving and displaying the new text content sent by the cluster server;
and if a first confirmation instruction which is input by a user and used for representing that the new text content is correct is received, sending a first confirmation message to the cluster server, wherein the first confirmation message is used for confirming sending of the new text content.
9. The method according to claim 7 or 8, characterized in that the method further comprises:
after the text content is displayed, if a second confirmation instruction which is input by a user and used for representing that the text content is correct is received, a second confirmation message is sent to the cluster server, wherein the second confirmation message is used for confirming sending of the text content.
10. The method according to any one of claims 6-8, wherein the obtaining of the text content corresponding to the audio data comprises:
and acquiring text content corresponding to the audio data through a preset voice-to-character model.
11. A data transmission apparatus applied to a cluster server, the apparatus comprising:
the first acquisition module is used for acquiring text contents corresponding to audio data when the audio data sent by a first terminal are received;
the first sending module is used for sending the audio data to a second terminal;
and the second sending module is used for sending the text content acquired by the first acquiring module to the second terminal.
12. A data transmission apparatus applied to a first terminal, the apparatus comprising:
the second acquisition module is used for acquiring text contents corresponding to the audio data after receiving the audio data input by the user;
the third sending module is used for sending the audio data to a cluster server so as to send the audio data to a second terminal through the cluster server;
and the fourth sending module is configured to send the text content obtained by the second obtaining module to the cluster server, so as to send the text content to the second terminal through the cluster server.
13. A data transmission system, comprising:
a cluster server, wherein the cluster server is configured to perform the steps of the method of any of claims 1-5;
at least one first terminal, respectively connected to the cluster servers, for performing the steps of the method of any one of claims 6 to 10;
and the at least one second terminal is respectively connected with the cluster server and is used for receiving the audio data and the text content sent by the cluster server.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
15. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 6 to 10.
CN201910888129.3A 2019-09-19 2019-09-19 Data transmission method, device and system, readable storage medium and electronic equipment Active CN112530435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910888129.3A CN112530435B (en) 2019-09-19 2019-09-19 Data transmission method, device and system, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910888129.3A CN112530435B (en) 2019-09-19 2019-09-19 Data transmission method, device and system, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112530435A true CN112530435A (en) 2021-03-19
CN112530435B CN112530435B (en) 2024-04-16

Family

ID=74974253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910888129.3A Active CN112530435B (en) 2019-09-19 2019-09-19 Data transmission method, device and system, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112530435B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113316092A (en) * 2021-05-31 2021-08-27 海能达通信股份有限公司 Call service control method, cluster system, terminal and communication system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140343950A1 (en) * 2013-05-15 2014-11-20 Maluuba Inc. Interactive user interface for an intelligent assistant
WO2017128991A1 (en) * 2016-01-26 2017-08-03 阿里巴巴集团控股有限公司 Instant communication method and instant communication system based on voice recognition
CN107147564A (en) * 2017-05-09 2017-09-08 胡巨鹏 Real-time speech recognition error correction system and identification error correction method based on cloud server
US20180227424A1 (en) * 2017-02-06 2018-08-09 babyTel Inc. System and method for transforming a voicemail into a communication session
CN109600307A (en) * 2019-01-29 2019-04-09 北京百度网讯科技有限公司 Instant communication method, terminal, equipment, computer-readable medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140343950A1 (en) * 2013-05-15 2014-11-20 Maluuba Inc. Interactive user interface for an intelligent assistant
WO2017128991A1 (en) * 2016-01-26 2017-08-03 阿里巴巴集团控股有限公司 Instant communication method and instant communication system based on voice recognition
US20180227424A1 (en) * 2017-02-06 2018-08-09 babyTel Inc. System and method for transforming a voicemail into a communication session
CN107147564A (en) * 2017-05-09 2017-09-08 胡巨鹏 Real-time speech recognition error correction system and identification error correction method based on cloud server
CN109600307A (en) * 2019-01-29 2019-04-09 北京百度网讯科技有限公司 Instant communication method, terminal, equipment, computer-readable medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113316092A (en) * 2021-05-31 2021-08-27 海能达通信股份有限公司 Call service control method, cluster system, terminal and communication system
CN113316092B (en) * 2021-05-31 2023-01-17 海能达通信股份有限公司 Call service control method, cluster system, terminal and communication system

Also Published As

Publication number Publication date
CN112530435B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
CN109725975B (en) Method and device for prompting read state of message and electronic equipment
CN104394191B (en) The method of remote control mobile terminal, control terminal and system
US11184314B2 (en) Method and apparatus for prompting message reading state, and electronic device
CN108027725B (en) Method, device and equipment for guiding terminal equipment operation
CN104754536A (en) Method and system for realizing communication between different languages
CN104967721A (en) Method and apparatus for processing unread messages
CN114095405B (en) Vehicle function unit testing method and device, electronic equipment and storage medium
WO2017071102A1 (en) A calling method, system and smart terminal
US20220171011A1 (en) Positioning method and device, server, storage medium and terminal
CN104122979A (en) Method and device for control over large screen through voice
CN112689012A (en) Cross-network proxy communication method and device
CN103701994A (en) Automatic responding method and automatic responding device
CN113473395B (en) Message processing method, device, medium and electronic equipment
CN114707951A (en) Alarm situation big data management method, device, equipment and storage medium
CN110837334A (en) Method, device, terminal and storage medium for interactive control
CN112530435B (en) Data transmission method, device and system, readable storage medium and electronic equipment
CN111131358A (en) Information acquisition method, device and system, readable storage medium and electronic equipment
CN112738726A (en) Positioning method, positioning device, terminal and storage medium
US9143357B2 (en) Chat apparatus transmitting/receiving information indicating switching of chat
CN111105797A (en) Voice interaction method and device and electronic equipment
CN106453639A (en) Message synchronization method and message synchronization device
KR20150088532A (en) Apparatus for providing service during call and method for using the apparatus
CN109165197B (en) File processing method, terminal and server
CN113691937B (en) Method for determining position information, cloud mobile phone and terminal equipment
CN111770236B (en) Conversation processing method, device, system, server and storage medium

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
GR01 Patent grant
GR01 Patent grant