An OMA intercom system and method supporting intercom protocol stack switching
By designing Cat4 modules and related units that support protocol stack switching in the OMA intercom system, the problem that intercom terminals cannot switch between different protocol stacks in the prior art is solved, and the automatic switching of intercom terminals when protocol stack is abnormal is realized to ensure the normal use of user intercom.
Patent Information
- Application Number
- CN202310098016.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-01
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2043-02-01
AI Technical Summary
Existing intercom terminals based on OMA intercom systems usually only have one OMA intercom protocol stack preset and cannot switch between different protocol stacks, resulting in the terminal not working normally when there is an exception in the protocol stack, affecting user use.
Design an OMA intercom system that supports intercom protocol stack switching, including Cat4 module, information typing module, display module, voice acquisition module and voice playback module. Automatic switching of the intercom protocol stack is realized through the exception information receiving unit, the protocol stack switching information judgment unit, and the intercom protocol stack switching unit.
When the protocol stack currently used by the intercom terminal is unavailable, it can be switched to another protocol stack in time to avoid affecting the user's intercom and ensure the intercom quality during normal use.
Smart Images

Figure CN116156438B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intercom communication, and in particular to an OMA intercom system and method supporting intercom protocol stack switching. Background Art
[0002] The OMA protocol stack is a Push-To-Talk over Cellular (PoC) protocol standard based on mobile cellular data networks proposed and formulated by the Open Mobile Alliance (OMA). In 2006, China Mobile deployed the first PoC service platform based on the OMA standard, marking that the PoC service platform based on the OMA standard has officially entered the civilian field in my country. In recent years, with the gradual maturity of platform technology and operation mode, 4G mobile networks have been popularized, and the terminal industry chain has also been gradually improved.
[0003] Currently, the intercom terminals based on the OMA intercom system on the market are basically pre-installed with only one OMA intercom protocol stack and can only access the OMA intercom platform. When the platform is abnormal, the intercom terminal cannot work normally, affecting the normal use of users. Summary of the invention
[0004] In order to enable switching between different intercom protocol stacks, the present application provides an OMA intercom system and method that supports intercom protocol stack switching.
[0005] In the first aspect, the present application provides an OMA intercom system supporting intercom protocol stack switching, which adopts the following technical solution:
[0006] An OMA intercom system supporting intercom protocol stack switching, the system comprising a Cat4 module and an intercom terminal with the Cat4 module as a control core, the Cat4 module specifically comprising the following units:
[0007] An intercom protocol stack operation unit, used for running the intercom protocol stack and connecting to the intercom channel corresponding to the intercom protocol stack through the intercom protocol stack to realize user intercom, wherein the intercom protocol stack includes a plurality of;
[0008] An abnormal information receiving unit, used to receive the abnormal information, wherein the abnormal information includes protocol stack switching information;
[0009] A protocol stack switching information judging unit, used to judge whether the abnormal information is the protocol stack switching information;
[0010] The intercom protocol stack switching unit is used to drive the intercom protocol stack running unit to complete the switching of the intercom protocol stack according to the protocol stack switching information.
[0011] By adopting the above technical solution, when the current intercom protocol stack of the intercom terminal is unavailable, exception information is generated, and the intercom protocol stack currently used for user intercom by the intercom terminal is switched according to the exception information, so that when a problem occurs in one intercom protocol stack, the user can switch to another intercom protocol stack in time for intercom, avoiding affecting the user intercom.
[0012] Preferably, the abnormal information receiving unit includes:
[0013] An information receiving subunit, used for receiving input information input by a user;
[0014] The abnormal information judging subunit is used to judge whether the input information is abnormal information.
[0015] By adopting the above technical solution, the input information input by the user is recognized, and abnormal information is accurately identified from a large amount of user input information, so that the system can switch the intercom protocol stack according to the abnormal information.
[0016] Preferably, the intercom protocol stack switching unit includes:
[0017] An interruption instruction generating subunit, used for generating an interruption instruction to control the system to interrupt the connection with the current intercom channel after receiving the protocol stack switching information;
[0018] The access instruction generating subunit is used to generate an access instruction to control the system to access another intercom channel corresponding to the intercom protocol stack after interrupting the connection with the current intercom channel.
[0019] By adopting the above technical solution, the current user intercom is interrupted before switching the intercom protocol stack, and the intercom channel corresponding to the current intercom protocol stack is exited to prevent the intercom protocol stack from switching abnormally due to the conflict of the intercom channel; after interrupting the communication of the current intercom channel, the intercom channel corresponding to another intercom protocol stack is connected to complete the switching of the intercom protocol stack.
[0020] Preferably, the system further comprises:
[0021] An information input module, the information input module is coupled with the Cat4 module to realize human-computer interaction of the system;
[0022] A display module is coupled to the Cat4 module and is used to display a UI interface of the system.
[0023] By adopting the above technical solution, the information input module enables the user to interact with the intercom terminal and input user input information into the intercom terminal; the system display module provides the user with a display interface to facilitate user operation; the information input module and the display module cooperate to complete the entire process of user-computer interaction.
[0024] Preferably, the system further comprises:
[0025] A voice collection module, which is coupled to the Cat4 module and is used to collect intercom information;
[0026] A voice playing module is coupled to the Cat4 module and is used to play the intercom information received from the intercom channel.
[0027] By adopting the above technical solution, the user's voice information is collected through the voice collection module, and the collected voice information is sent to the intercom channel through the intercom terminal; the voice information sent by other intercom terminals in the channel collected from the intercom channel is played through the voice playback module; and voice information transmission is realized through the voice collection module and the voice playback module.
[0028] Preferably, the Cat4 module is a communication CPU based on ARM architecture.
[0029] By adopting the above technical solution and using a high-performance, low-power, low-cost ARM architecture communication CPU, we can reduce costs and ensure performance while ensuring complete functions.
[0030] Preferably, the intercom protocol stack includes an intercom protocol stack based on the OMA standard and a third-party private intercom protocol stack. The system runs the intercom protocol stack based on the OMA standard by default, and runs the third-party private intercom protocol stack after receiving the abnormal information.
[0031] By adopting the above technical solution, the standard intercom protocol stack based on the OMA standard is run by default, and only switches to a third-party private intercom protocol stack under special circumstances, thereby ensuring the intercom quality during normal use by users.
[0032] In the second aspect, the present application provides an OMA intercom method supporting intercom protocol stack switching, which adopts the following technical solution:
[0033] An OMA intercom method supporting intercom protocol stack switching comprises the following steps:
[0034] Receiving the abnormal information;
[0035] Determining whether the abnormal information is the protocol stack switching information;
[0036] If yes, the intercom protocol stack is switched according to the protocol stack switching information.
[0037] In summary, the present application includes at least one of the following beneficial technical effects:
[0038] 1. When the current intercom protocol stack of the intercom terminal is unavailable, the intercom protocol stack is switched, so that when a problem occurs in one intercom protocol stack, the user can switch to another intercom protocol stack in time to avoid affecting the user's intercom;
[0039] 2. The intercom protocol stack based on the OMA standard is run by default to ensure the quality of user intercom;
[0040] 3. The intercom protocol stack is switched through the protocol stack switching information. The process is simple, easy to use and user-friendly. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a system block diagram of an OMA intercom system supporting intercom protocol stack switching provided by an embodiment of the present application.
[0042] Figure 2 It is an implementation flow chart of an OMA intercom system supporting intercom protocol stack switching provided in an embodiment of the present application.
[0043] Figure 3 It is a method flow chart of an OMA intercom method supporting intercom protocol stack switching provided in an embodiment of the present application.
[0044] Explanation of the reference numerals: 100, Cat4 module; 101, intercom protocol stack running unit; 102, abnormal information receiving unit; 103, protocol stack switching information judgment unit; 104, intercom protocol stack switching unit; 200, information input module; 300, display module; 400, voice acquisition module; 500, voice playback module; 600, SIM module; 700, power supply module. DETAILED DESCRIPTION
[0045] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0046] In the description of the embodiments of the present application, words such as "illustrative", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "illustrative", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "illustrative", "for example" or "for example" is intended to present related concepts in a concrete way.
[0047] In the description of the embodiments of the present application, the term "and / or" is only a kind of association relationship describing the associated objects, indicating that there may be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0048] The embodiment of the present application discloses an OMA intercom system that supports intercom protocol stack switching.
[0049] Reference Figure 1 An OMA intercom system supporting intercom protocol stack switching includes a Cat4 module 100, an information input module 200, a display module 300, a voice collection module 400, a voice playback module 500, a SIM module 600 and a power supply module 700. The above modules are all arranged in the intercom terminal, with the Cat4 module 100 as the control core, and the other modules are coupled to the Cat4 module 100.
[0050] Specifically, the Cat4 module 100 is a communication CPU of ARM architecture, configured with 128M RAM and 128M ROM, and runs the Linux embedded operating system; the Cat4 module 100 includes an intercom protocol stack running unit 101, an abnormal information receiving unit 102, a protocol stack switching information judgment unit 103 and an intercom protocol stack switching unit 104. The intercom protocol stack running unit 101 is used to run the intercom protocol stack and connect to the intercom channel corresponding to the intercom protocol stack through the intercom protocol stack to realize user intercom. In one embodiment of the present application, an intercom protocol stack based on the OMA standard and a third-party private intercom protocol stack are pre-set. When the system performs intercom, the intercom information received is encoded and transmitted through the intercom protocol stack; the abnormal information receiving unit 102 is used to receive abnormal information, which may be caused by the instability of the operator platform, resulting in the user being unable to access the corresponding intercom channel through the intercom protocol stack. When the user visits the intercom multiple times, After the intercom channel fails, an exception message will be generated. In another embodiment of the present application, the exception message can be manually typed by the user. When the user realizes that the intercom channel is unavailable, the user can manually type the exception message to switch the intercom protocol stack. The protocol stack switching information judgment unit 103 is used to determine whether the exception message is the protocol stack switching information. The protocol stack switching information can be customized. The above-mentioned manual typing method to generate exception information is used as an example for explanation. When the user types specific information in a specific interface, the exception message is determined to be the protocol stack switching information. In one embodiment of the present application, the specific information typed by the user in a specific interface can be set to press the up direction key 5 times in a row in the About Version interface of the system UI interface. The intercom protocol stack switching unit 104 is used to drive the intercom protocol stack running unit 101 to complete the switching of the intercom protocol stack according to the protocol stack switching information.
[0051] The information input module 200 is used to realize the human-computer interaction of the system. The information input module 200 can be various function keys set on the intercom terminal, including PTT key, volume adjustment key, function key, setting key, up and down selection keys and power switch key. It should be noted that the PPT key is the transmission key. When the user presses the PPT key and talks, the intercom content will be sent when the user releases the PPT key.
[0052] The display module 300 is used to display the UI interface of the system. The display module 300 may be an LCD screen. The UI display interface is generated based on the LVGL library.
[0053] The voice collection module 400 is used to collect intercom information. The voice collection module 400 may be a microphone. The intercom information and the user voice spoken by the user into the microphone are collected in PCM at a sampling rate of 8K / 16BIT.
[0054] The voice playing module 500 is used to play the intercom information received from the intercom channel and sent by other users through other intercom terminals. The voice playing module 500 can be a speaker.
[0055] The SIM module 600 is used to access the operator's 4G network.
[0056] The power supply module 700 is used to supply power to the system through a portable lithium battery.
[0057] Through the above system, the system can realize user intercom, and complete the switching of the system intercom protocol stack according to the received protocol stack switching information. The specific intercom and protocol stack switching process in one embodiment of the present application is as follows:
[0058] The system runs the intercom protocol stack based on the OMA standard by default when it is powered on. It initiates registration with the OMA platform and logs in to the OMA intercom platform. After successful login, it initiates the channel access process and accesses the predefined channel. When the user sends a voice, the user presses PTT to speak and sends the TBCP protocol to apply for the right to speak. After the right to speak is successfully applied for, the collected PCM data is compressed and encoded into an AMR format voice packet, and sent to the OMA intercom platform through the RTP protocol. Other intercom terminals in the same channel can receive the real-time voice sent by this system. When the user receives the voice sent by other intercom terminals in the same channel, the AMR format voice packets sent by other intercom terminals are decompressed into PCM data for playback and received by the user, completing the user's operation of sending and receiving voice, and enabling the user to intercom with other intercom terminals through the system.
[0059] Please refer to Figure 2 , a flowchart of a feasible intercom protocol stack switching method of the present application is provided. When the user hopes to switch to a third-party private intercom protocol stack when running an intercom protocol stack based on the OMA standard, the intercom protocol stack switching can be completed by inputting protocol stack switching information into the system. In one embodiment of the present application, the protocol stack switching information is set to press the up arrow key 5 times in succession in the About Version interface of the system UI interface. At this time, a protocol stack selection prompt box will pop up in the system UI interface. After the user presses OK, the system can immediately switch to the third-party private intercom protocol stack, and at the same time exit the OMA intercom platform, disconnect the connection with the OMA platform channel, log in to the third-party intercom platform, access the channel of the third-party intercom platform, and perform the aforementioned intercom operation.
[0060] Similarly, when the user wants to switch the third-party private intercom protocol stack to the intercom protocol stack based on the OMA standard during runtime, the user inputs the protocol stack switching information to the system, and a protocol stack selection prompt box will pop up in the system UI interface. After the user presses OK, the system will immediately switch to the intercom protocol stack based on the OMA standard, exit the third-party intercom platform, disconnect from the third-party intercom platform channel, log in to the OMA intercom platform, and access the channel based on the OMA intercom platform.
[0061] Based on the above modules, when the present application is actually applied, first insert the 4G card into the SIM module 600, start the system through the power supply module, load the system through the Cat4 module 100 and run the intercom protocol stack program to access the public network intercom platform, and display the loaded system UI interface through the display module 300; then, select the channel to be accessed through the information input module 200; when the PTT key is pressed to initiate a call, the voice receiving module starts to collect input audio data, and the Cat4 module 100 compresses the collected audio data in PCM format into voice packets in AMR format and transmits them to the public network intercom platform, thereby realizing the voice intercom sending function; and when the system accepts a call, the AMR voice packet received from the network is decoded into audio data in PCM format and played through the voice playback module 500, thereby realizing the voice intercom receiving function.
[0062] When the intercom system is started, the Cat4 module 100 starts the intercom protocol stack based on the OMA standard by default. The system logs in to the OMA intercom platform and accesses the predefined channel of the OMA intercom platform to implement intercom. When it is necessary to switch the intercom protocol stack based on the OMA standard to a third-party private protocol stack, the user enters information through the information input module 200. The abnormal information receiving unit 102 in the Cat4 module 100 receives the user-entered information and determines whether the user-entered information is abnormal information. When it is determined to be abnormal information, the protocol stack switching information determination unit 103 determines whether the abnormal information is protocol stack switching information. If it is protocol stack switching information, an interrupt instruction is generated through the intercom protocol stack switching unit 104 to interrupt the connection between the system and the intercom channel corresponding to the intercom protocol stack based on the OMA standard. After terminating the connection with the current intercom channel, the system is switched to the third-party private protocol stack, and an access instruction is generated to access the intercom channel corresponding to the third-party private protocol stack to complete the switching of the intercom protocol stack.
[0063] The implementation principle of an OMA intercom system supporting intercom protocol stack switching in the embodiment of the present application is as follows: user intercom is realized through various modules set on the intercom terminal, with Cat4 module 100 as the core, when there is a problem with the intercom protocol stack currently used by the user, abnormal information is generated, protocol stack switching information is generated according to the abnormal information, and the intercom protocol stack based on the OMA standard and the third-party private protocol stack preset in the Cat4 module 100 are switched through the protocol stack switching information. When the current intercom protocol stack is unavailable, the user can switch to another intercom protocol stack in time for intercom, avoiding the intercom operation of the user being affected.
[0064] The embodiment of the present application also discloses an OMA intercom method that supports intercom protocol stack switching.
[0065] Reference Figure 3 , an OMA intercom method supporting intercom protocol stack switching comprises the following steps:
[0066] Receiving the abnormal information;
[0067] Determining whether the abnormal information is the protocol stack switching information;
[0068] If yes, the intercom protocol stack is switched according to the protocol stack switching information.
[0069] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure, and the specification and examples are only regarded as exemplary.
Claims
1. An OMA intercom system supporting intercom protocol stack switching, characterized in that: The system comprises a Cat4 module (100) and an intercom terminal with the Cat4 module (100) as a control core, wherein the Cat4 module (100) specifically comprises the following units: An intercom protocol stack operation unit (101) is used to operate the intercom protocol stack and connect to an intercom channel corresponding to the intercom protocol stack through the intercom protocol stack to realize user intercom; the intercom protocol stack includes an intercom protocol stack based on the OMA standard and a third-party private intercom protocol stack; the intercom protocol stack based on the OMA standard includes an OMA PoC protocol stack; An abnormal information receiving unit (102), used for receiving the abnormal information, wherein the abnormal information includes protocol stack switching information; A protocol stack switching information judging unit (103), used for judging whether the abnormal information is the protocol stack switching information; An intercom protocol stack switching unit (104), used for driving the intercom protocol stack operation unit (101) to complete the switching of the intercom protocol stack according to the protocol stack switching information; The switching of the intercom protocol stack includes switching from an intercom protocol stack based on the OMA standard to a third-party private intercom protocol stack, and switching from a third-party private intercom protocol stack to an intercom protocol stack based on the OMA standard; When switching from an intercom protocol stack based on the OMA standard to a third-party private intercom protocol stack, the switching process of the intercom protocol stack includes: the intercom system exits the OMA intercom platform, interrupts the connection with the intercom channel corresponding to the intercom protocol stack based on the OMA standard, ends the connection with the current intercom channel, logs in to the third-party intercom platform, switches to the third-party private protocol stack, accesses the intercom channel corresponding to the third-party private protocol stack, and completes the switching of the intercom protocol stack.
2. The OMA intercom system supporting intercom protocol stack switching according to claim 1, characterized in that: The abnormal information receiving unit (102) comprises: An information receiving subunit, used for receiving input information input by a user; The abnormal information judging subunit is used to judge whether the input information is abnormal information.
3. The OMA intercom system supporting intercom protocol stack switching according to claim 1, characterized in that: The intercom protocol stack switching unit (104) comprises: An interruption instruction generating subunit, used for generating an interruption instruction to control the system to interrupt the connection with the current intercom channel after receiving the protocol stack switching information; The access instruction generating subunit is used to generate an access instruction to control the system to access another intercom channel corresponding to the intercom protocol stack after interrupting the connection with the current intercom channel.
4. The OMA intercom system supporting intercom protocol stack switching according to claim 1, characterized in that: The system further comprises: An information input module (200), the information input module (200) is coupled to the Cat4 module (100) to realize human-computer interaction of the system; A display module (300), the display module (300) is coupled to the Cat4 module (100) and is used to display a UI interface of the system.
5. The OMA intercom system supporting intercom protocol stack switching according to claim 1, characterized in that: The system further comprises: A voice collection module (400), the voice collection module (400) is coupled to the Cat4 module (100) and is used to collect intercom information; A voice playing module (500), the voice playing module (500) is coupled to the Cat4 module (100) and is used to play intercom information received from the intercom channel.
6. The OMA intercom system supporting intercom protocol stack switching according to claim 1, characterized in that: The Cat4 module (100) is a communication CPU based on the ARM architecture.
7. The OMA intercom system supporting intercom protocol stack switching according to claim 1, characterized in that: The system runs the intercom protocol stack based on the OMA standard by default, and runs the third-party private intercom protocol stack after receiving the abnormal information.
8. An OMA intercom method supporting intercom protocol stack switching implemented based on the intercom system according to any one of claims 1 to 7, the method comprising the following steps: Receiving the abnormal information; Determining whether the abnormal information is the protocol stack switching information; If yes, the intercom protocol stack is switched according to the protocol stack switching information.
Citation Information
Patent Citations
Voice protocol switching method and voice terminal device
CN106331401A
OMA intercom system based on Cat1
CN114449371A