A method for implementing real-time intercom through network communication and a system for real-time intercom
Real-time intercom is realized through network communication, which solves the problems of high cost, difficult maintenance and limited coverage of the intercom, and provides real-time intercom and voice playback functions without distance limitation, reducing the purchase cost of professional intercom terminals and increasing the Information transmission efficiency.
Patent Information
- Application Number
- CN202310298766.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2043-03-24
AI Technical Summary
The existing walkie-talkies have problems such as high cost, difficult maintenance, limited communication distance and lack of voice playback functions. They are especially unable to transmit information in the first time in emergencies, and the coverage is limited.
Real-time intercom is realized through network communication, the terminal receives user login requests, obtains intercom channel list, loads and plays voice files, supports recording and uploading audio files, uses service servers and resource servers to manage voice files, realizes real-time intercom and history Voice playback.
Real-time intercom and voice playback functions without distance restrictions are realized, reducing the cost of purchasing professional intercom terminals, avoiding equipment maintenance and coverage limitations, and improving information transmission efficiency in emergencies.
Smart Images

Figure CN116389426B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of communication, and in particular relates to a method for implementing real-time intercom through network communication and a real-time intercom system. Background Art
[0002] The real-time intercom function on the market is mainly realized by intercom, but there are some inevitable problems in the use of intercom:
[0003] 1. Cost issues: the cost of purchasing the walkie-talkie, the specific frequency occupation fee that needs to be paid on time, and the equipment inspection and maintenance costs; in addition, improper maintenance of the walkie-talkie by the user will greatly reduce the service life of the walkie-talkie;
[0004] 2. Emergency handling: Intercoms must be configured to participate in intercoms. If an emergency occurs and the personnel on site do not have intercoms, they will not be able to convey the current situation in the first place, delaying the handling of the emergency;
[0005] 3. Limited communication distance: The coverage of the walkie-talkie is limited by the transmission power of the walkie-talkie and the surrounding environment. The maximum distance of a walkie-talkie with a transmission power of 5W can reach 3 kilometers in an open and unobstructed area, but if there are obstructions around, the communication distance will be greatly reduced. If it is in the urban area, the distance may be only about 200-800 meters;
[0006] 4. Lack of voice playback function: Most of the walkie-talkies on the market do not have a recording function, so they do not support voice playback; if you miss important voice, you will not be able to listen to it again through playback. Summary of the invention
[0007] The main purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and to provide a method and a system for realizing real-time intercom through network communication, which can realize real-time intercom, playback of historical voices, recording of conversation records and other functions through network communication, and the communication distance is not limited, and no professional intercom terminal is required, thus saving the cost of purchasing a professional intercom terminal.
[0008] According to one aspect of the present invention, the present invention provides a method for implementing real-time intercom via network communication, the method comprising the following steps:
[0009] S1: The terminal receives a login request from the user, obtains the user's account ID, and sends a request to the service server to obtain the intercom channel list information;
[0010] S2: The service server searches for intercom channel list information bound to the account ID stored in the database according to the current account ID sent by the terminal, and returns the intercom channel list information to the terminal;
[0011] S3: The terminal loads the intercom channel list information, receives an operation request from a user, and implements real-time intercom according to the operation request.
[0012] Preferably, the operation request includes an operation of requesting the real-time intercom system to play audio, specifically including:
[0013] After selecting a channel, the terminal sends the account ID and the channel ID of the selected channel to the business server; the business server determines whether the account has the authority to obtain the voice information in the channel based on the account ID and the channel ID. If so, the business server returns the latest voice file address and file recorder ID information in the channel to the terminal.
[0014] Preferably, the method further comprises:
[0015] The terminal determines whether the latest voice file in the channel is uploaded by the current user based on whether the account ID and the returned file recorder ID are the same. If not, it adds it to the voice queue to be played. At the same time, the terminal page determines whether recording is in progress. If not, the voice is played in the order of the voice queue.
[0016] Preferably, the operation request includes an operation of requesting the real-time intercom system to record audio, specifically including:
[0017] The terminal determines whether there is a voice file being played in the currently opened intercom channel, and if so, terminates the voice playback, performs audio recording, and obtains an audio file;
[0018] The terminal uploads the audio file to a resource server, and the resource server returns the address of the audio file to the terminal.
[0019] Preferably, the method further comprises:
[0020] After receiving the audio file address, the terminal uploads the audio file address to the service server, and the service server records the recorder ID, assembles the audio file information into voice file information and puts it into the audio queue.
[0021] According to another aspect of the present invention, the present invention also provides a system for implementing real-time intercom via network communication, the system comprising a terminal and a service server;
[0022] The terminal receives a login request from a user, obtains an account ID of the user, and sends a request to the service server to obtain information on a list of intercom channels;
[0023] The service server searches for intercom channel list information bound to the account ID stored in a database according to the current account ID sent by the terminal, and returns the intercom channel list information to the terminal;
[0024] The terminal loads the intercom channel list information, receives an operation request from a user, and implements real-time intercom according to the operation request.
[0025] Preferably, the operation request includes an operation of requesting the real-time intercom system to play audio, specifically including:
[0026] After selecting a channel, the terminal sends the account ID and the channel ID of the selected channel to the business server; the business server determines whether the account has the authority to obtain the voice information in the channel based on the account ID and the channel ID. If so, the business server returns the latest voice file address and file recorder ID information in the channel to the terminal.
[0027] Preferably,
[0028] The terminal determines whether the latest voice file in the channel is uploaded by the current user based on whether the account ID and the returned file recorder ID are the same. If not, it adds it to the voice queue to be played. At the same time, the terminal page determines whether recording is in progress. If not, the voice is played in the order of the voice queue.
[0029] Preferably, the system further includes a resource server, and the operation request includes an operation of requesting the real-time intercom system to record audio, specifically including:
[0030] The terminal determines whether there is a voice file being played in the currently opened intercom channel, and if so, terminates the voice playback, performs audio recording, and obtains the audio file;
[0031] The terminal uploads the audio file to a resource server, and the resource server returns the address of the audio file to the terminal.
[0032] Preferably,
[0033] After receiving the audio file address, the terminal uploads the audio file address to the service server, and the service server records the recorder ID, assembles the audio file information into voice file information and puts it into the audio queue.
[0034] Beneficial effects: In the present invention, the user logs in to the real-time intercom system through a terminal such as a small program or a PC web page, and the system automatically matches the corresponding real-time intercom channel according to the login account information; if one account corresponds to multiple channels, a channel list will appear for the user to switch; the user uses a device such as a microphone built into a mobile phone or computer to record audio, uploads the audio file to the real-time intercom channel, and saves it on the server; at the same time, the intercom channel page automatically pulls the latest audio file address in the channel and plays it. The present invention can realize real-time intercom, playback of historical voices, recording of conversation records, and other functions through network communication, the communication distance is not limited, and no professional intercom terminal is required, saving the cost of purchasing a professional intercom terminal.
[0035] The features and advantages of the present invention will become clear through reference to the following drawings and detailed description of specific embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flow chart of a method for achieving real-time intercom through network communication;
[0037] Figure 2 It is a real-time intercom system audio playback flow chart;
[0038] Figure 3 It is a flow chart of recording audio in real-time intercom system;
[0039] Figure 4 It is a schematic diagram of a system that realizes real-time intercom through network communication; DETAILED DESCRIPTION
[0040] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] Example 1
[0042] Figure 1 This is a flow chart of a method for achieving real-time intercom via network communication. Figure 1 As shown, this embodiment provides a method for implementing real-time intercom through network communication, and the method includes the following steps:
[0043] S1: The terminal receives a login request from the user, obtains the user's account ID, and sends a request to the service server to obtain the intercom channel list information;
[0044] S2: The service server searches for intercom channel list information bound to the account ID stored in the database according to the current account ID sent by the terminal, and returns the intercom channel list information to the terminal;
[0045] S3: The terminal loads the intercom channel list information, receives an operation request from a user, and implements real-time intercom according to the operation request.
[0046] The method can realize real-time intercom, playback of historical voices, recording of conversation records and other functions through network communication. The communication distance is not limited and no professional intercom terminal is required, thus saving the cost of purchasing professional intercom terminals.
[0047] Preferably, the operation request includes an operation of requesting the real-time intercom system to play audio, specifically including:
[0048] After selecting a channel, the terminal sends the account ID and the channel ID of the selected channel to the business server; the business server determines whether the account has the authority to obtain the voice information in the channel based on the account ID and the channel ID. If so, the business server returns the latest voice file address and file recorder ID information in the channel to the terminal.
[0049] Preferably, the method further comprises:
[0050] The terminal determines whether the latest voice file in the channel is uploaded by the current user based on whether the account ID and the returned file recorder ID are the same. If not, it adds it to the voice queue to be played. At the same time, the terminal page determines whether recording is in progress. If not, the voice is played in the order of the voice queue.
[0051] Specifically, refer to Figure 2 , the audio playback process of the real-time intercom system includes:
[0052] 1. After logging into the intercom system with an account and entering the intercom page, the intercom system terminal page automatically calls the server's channel list acquisition interface. The server searches the database for the intercom channel list information bound to the account ID based on the current account ID sent by the terminal, and returns the channel list to the terminal;
[0053] 2. After the terminal page obtains the intercom channel list, the drop-down box in the upper right corner of the page will load the channel list, and the first channel in the list will be selected by default; if there is more than one channel in the list, the user can switch the intercom channel by sliding the drop-down box to select other channels;
[0054] 3. After selecting a channel, the terminal page calls the server's interface for pulling the latest voice file address in the channel, and sends the account ID and the ID of the selected channel to the server; the server determines whether the account has the authority to obtain the voice information in the channel based on the account ID and channel ID. If so, the server returns the latest voice file address in the channel, the file recorder ID and other information to the terminal that initiated the request;
[0055] 4. The terminal page determines whether the latest voice file in the channel is uploaded by the current user by combining the current account ID with the returned file recorder ID. If not, it is added to the voice queue to be played. At the same time, the terminal page determines whether recording is in progress. If not, the voice is played in the order of the voice queue.
[0056] Preferably, the operation request includes an operation of requesting the real-time intercom system to record audio, specifically including:
[0057] The terminal determines whether there is a voice file being played in the currently opened intercom channel, and if so, terminates the voice playback, performs audio recording, and obtains the audio file;
[0058] The terminal uploads the audio file to a resource server, and the resource server returns the address of the audio file to the terminal.
[0059] Preferably, the method further comprises:
[0060] After receiving the audio file address, the terminal uploads the audio file address to the service server, and the service server records the recorder ID, assembles the audio file information into voice file information and puts it into the audio queue.
[0061] Specifically, refer to Figure 3 , the audio recording process of the real-time intercom system includes:
[0062] 1. When the user clicks the recording button, the terminal will determine whether there is a voice file being played in the currently opened intercom channel. If so, the voice playback will be terminated;
[0063] 2. After the user clicks the recording button, the terminal requests permission to use the microphone of the terminal's main body, such as a mobile phone, to record voice. After the request is approved, the audio is recorded;
[0064] 3. After recording is completed, the terminal page calls the server's resource upload interface to upload the audio file to the resource server, and the resource server returns the address of the audio file to the terminal that initiated the request;
[0065] 4. After receiving the audio file address, the terminal page calls the server's voice file upload interface and uploads the audio file address to the business server. The business server records the recorder ID, assembles the voice file information and puts it into the audio queue.
[0066] In this embodiment, the user logs in to the real-time intercom system through a terminal such as a small program or a PC web page, and the system automatically matches the corresponding real-time intercom channel according to the login account information; if one account corresponds to multiple channels, a channel list will appear for the user to switch; the user uses a device such as a microphone built into a mobile phone or computer to record audio, uploads the audio file to the real-time intercom channel, and saves it on the server; at the same time, the intercom channel page automatically pulls the latest audio file address in the channel and plays it. The present invention can realize real-time intercom, playback of historical voices, recording of conversation records, and other functions through network communication, the communication distance is not limited, and no professional intercom terminal is required, saving the cost of purchasing a professional intercom terminal.
[0067] Example 2
[0068] Figure 4 This is a schematic diagram of a system that implements real-time intercom via network communication. Figure 4 As shown, this embodiment also provides a system for implementing real-time intercom through network communication, the system comprising a terminal and a service server;
[0069] The terminal receives a login request from a user, obtains an account ID of the user, and sends a request to the service server to obtain information on a list of intercom channels;
[0070] The service server searches for intercom channel list information bound to the account ID stored in a database according to the current account ID sent by the terminal, and returns the intercom channel list information to the terminal;
[0071] The terminal loads the intercom channel list information, receives an operation request from a user, and implements real-time intercom according to the operation request.
[0072] Preferably, the operation request includes an operation of requesting the real-time intercom system to play audio, specifically including:
[0073] After selecting a channel, the terminal sends the account ID and the channel ID of the selected channel to the business server; the business server determines whether the account has the authority to obtain the voice information in the channel based on the account ID and the channel ID. If so, the business server returns the latest voice file address and file recorder ID information in the channel to the terminal.
[0074] Preferably,
[0075] The terminal determines whether the latest voice file in the channel is uploaded by the current user based on whether the account ID and the returned file recorder ID are the same. If not, it adds it to the voice queue to be played. At the same time, the terminal page determines whether recording is in progress. If not, the voice is played in the order of the voice queue.
[0076] Preferably, the system further includes a resource server, and the operation request includes an operation of requesting the real-time intercom system to record audio, specifically including:
[0077] The terminal determines whether there is a voice file being played in the currently opened intercom channel, and if so, terminates the voice playback, performs audio recording, and obtains the audio file;
[0078] The terminal uploads the audio file to a resource server, and the resource server returns the address of the audio file to the terminal.
[0079] Preferably,
[0080] After receiving the audio file address, the terminal uploads the audio file address to the service server, and the service server records the recorder ID, assembles the audio file information into voice file information and puts it into the audio queue.
[0081] The specific implementation process of the functions realized by the terminal, the service server and the resource server in this embodiment 2 is the same as the implementation process in embodiment 1, and will not be repeated here.
[0082] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A method for implementing real-time intercom via network communication, characterized in that: The method comprises the following steps: S1: The terminal receives a login request from the user, obtains the user's account ID, and sends a request to the service server to obtain the intercom channel list information; S2: The service server searches for intercom channel list information bound to the account ID stored in the database according to the current account ID sent by the terminal, and returns the intercom channel list information to the terminal; S3: the terminal loads the intercom channel list information, receives an operation request from a user, and implements real-time intercom according to the operation request; Among them, the operation request includes an operation of requesting the real-time intercom system to play audio, specifically including: after selecting a channel, the terminal sends the account ID and the channel ID of the selected channel to the business server; the business server determines whether the account has the authority to obtain the voice information in the channel based on the account ID and the channel ID, and if so, returns the latest voice file address and file recorder ID information in the channel to the terminal.
2. The method according to claim 1, characterized in that The method further comprises: The terminal determines whether the latest voice file in the channel is uploaded by the current user based on whether the account ID and the returned file recorder ID are the same. If not, it adds it to the voice queue to be played; at the same time, the terminal page determines whether recording is in progress. If not, the voice is played in the order of the voice queue.
3. The method according to claim 1, characterized in that The operation request includes an operation of requesting the real-time intercom system to record audio, specifically including: The terminal determines whether there is a voice file being played in the currently opened intercom channel, and if so, terminates the voice playback, performs audio recording, and obtains an audio file; The terminal uploads the audio file to a resource server, and the resource server returns the address of the audio file to the terminal.
4. The method according to claim 3, characterized in that The method further comprises: After receiving the audio file address, the terminal uploads the audio file address to the service server, and the service server records the recorder ID, assembles the audio file information into voice file information and puts it into the audio queue.
5. A system for implementing real-time intercom via network communication, characterized in that: The system includes a terminal and a service server; The terminal receives a login request from a user, obtains an account ID of the user, and sends a request to the service server to obtain information on a list of intercom channels; The service server searches for intercom channel list information bound to the account ID stored in a database according to the current account ID sent by the terminal, and returns the intercom channel list information to the terminal; The terminal loads the intercom channel list information, receives an operation request from a user, and implements real-time intercom according to the operation request; Among them, the operation request includes an operation of requesting the real-time intercom system to play audio, specifically including: after selecting a channel, the terminal sends the account ID and the channel ID of the selected channel to the business server; the business server determines whether the account has the authority to obtain the voice information in the channel based on the account ID and the channel ID, and if so, returns the latest voice file address and file recorder ID information in the channel to the terminal.
6. The system according to claim 5, characterized in that The terminal determines whether the latest voice file in the channel is uploaded by the current user based on whether the account ID and the returned file recorder ID are the same. If not, it adds it to the voice queue to be played. At the same time, the terminal page determines whether recording is in progress. If not, the voice is played in the order of the voice queue.
7. The system according to claim 5, characterized in that The system further includes a resource server, and the operation request includes an operation of requesting the real-time intercom system to record audio, specifically including: The terminal determines whether there is a voice file being played in the currently opened intercom channel, and if so, terminates the voice playback, performs audio recording, and obtains an audio file; The terminal uploads the audio file to a resource server, and the resource server returns the address of the audio file to the terminal.
8. The system according to claim 7, characterized in that After receiving the audio file address, the terminal uploads the audio file address to the service server, and the service server records the recorder ID, assembles the audio file information into voice file information and puts it into the audio queue.
Citation Information
Patent Citations
Voice talkback implementation method and device based on Internet
CN103067455A
Wireless intercom system and intercom based on VoWLAN (Voice Wireless Local Area Network)
CN104410932A
Intercom method based on mobile terminal and mobile terminal
CN106303989A
Voice relay method and system based on intelligent terminal
CN107666433A
Multi-group voice real-time communication method and system
CN109672610A
