CN112187733A - Network side equipment, terminal and talkback method - Google Patents
Network side equipment, terminal and talkback method Download PDFInfo
- Publication number
- CN112187733A CN112187733A CN202010942956.9A CN202010942956A CN112187733A CN 112187733 A CN112187733 A CN 112187733A CN 202010942956 A CN202010942956 A CN 202010942956A CN 112187733 A CN112187733 A CN 112187733A
- Authority
- CN
- China
- Prior art keywords
- data packet
- terminal
- target
- target terminal
- network side
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000005540 biological transmission Effects 0.000 claims abstract description 96
- 238000004891 communication Methods 0.000 claims abstract description 58
- 238000012790 confirmation Methods 0.000 claims description 27
- 230000001960 triggered effect Effects 0.000 claims description 6
- 238000012545 processing Methods 0.000 description 23
- 239000010410 layer Substances 0.000 description 19
- 230000008569 process Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 230000003993 interaction Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000003672 processing method Methods 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q5/00—Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange
- H04Q5/24—Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange for two-party-line systems
- H04Q5/245—Circuit arrangements in which for one subscriber low frequency speech and/or signalling signals proceed on the line, while for the other subscriber the low frequency speech and/or signalling signals are modulated upon a high frequency carrier signal
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a network side device, a terminal and an intercom method, relating to the technical field of communication, wherein the network side device of the embodiment comprises a communication unit for data transmission; the processor is used for performing target data packet transmission with the target terminal through the communication unit based on a preset first sending period after determining the speaking right release of the target terminal connected with the network side equipment; the first sending period is greater than a second sending period for sending a voice data packet when the target terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data. In this embodiment, after the talk right of the target terminal is released, the network side device and the target terminal perform target data packet transmission in a longer period, so that after the talk right of the target terminal is released, the transmission amount of data packets is reduced, the occupation of network resources is reduced, and the power consumption of the target terminal is reduced.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network side device, a terminal, and an intercom method.
Background
With the development of science and technology, the intercom technology is more and more popular. Through the talkback technology carried by the public mobile network, the conversation can be carried out between the clients without any network support, and the method is widely applied to relatively fixed and frequent conversation occasions.
In the related art, the client and the network side device perform data transmission based on a Reliable Transport Protocol (rtp), specifically: the sender keeps a certain frequency from obtaining the speaking right until the sender is disconnected with the network side equipment, and sends a data packet to the network side equipment, and the network side equipment replies confirmation information to the sender after receiving the data packet and sends the data packet to the receiver.
However, in the above scheme, the data packet occupies more network resources, and the sender may generate higher power consumption.
Disclosure of Invention
The invention provides a network side device, a terminal and a talkback method, which are used for reducing network resources occupied in the talkback process and reducing power consumption generated by a sender.
In a first aspect, an embodiment of the present invention provides a network side device, including: a processor and a communication unit;
the communication unit is used for carrying out data transmission;
the processor is configured to perform target data packet transmission with a target terminal through the communication unit based on a preset first sending period after determining that a talk right of the target terminal connected to the network side device is released;
the first sending period is greater than a second sending period for sending a voice data packet when the target terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
In this embodiment, when the target terminal connected to the network side device occupies the right of talk, the target terminal sends the voice data packet at a higher frequency through a shorter period, so that the network side device can normally receive the voice data; after the speaking right of the target terminal is released, voice data are not sent to the network side equipment any more, the network side equipment and the target terminal transmit a target data packet in a longer period, so that after the speaking right of the target terminal is released, the transmission quantity of the data packet is reduced, the occupation of network resources is reduced, the power consumption of the target terminal is reduced, the load of the network side equipment is reduced, meanwhile, due to the transmission of the target data packet, the connection closing between the network side equipment and the target terminal is avoided, and the requirement of instant communication in the talkback process is met.
In some exemplary embodiments, the processor is further configured to, after determining that the talk right of the target terminal connected to the network-side device is released,
and if the request for occupying the speaking right sent by the target terminal is not received within a second preset time length, disconnecting the connection with the target terminal, wherein the second preset time length comprises at least one first sending period.
According to the scheme, if the request for occupying the speech right sent by the target terminal is not received within the second preset time length, the idle time of the target terminal is longer, the target terminal may no longer need to send the voice data, and at the moment, the network side equipment is disconnected from the target terminal, so that connection resources are saved; meanwhile, the second preset time period includes at least one first sending period, that is, the second preset time period cannot be too short, so that the target terminal is prevented from being disconnected from the target terminal when voice data needs to be sent.
In some exemplary embodiments, the processor is further configured to:
determining speaking right release of the target terminal based on received first speaking right release information sent by the target terminal; or
And if the time length of the speech right occupied by the target terminal exceeds a preset first time length, releasing the speech right occupied by the target terminal.
According to the scheme, if the first speaking right release information sent by the target terminal is received, the terminal does not occupy the speaking right any more, and the speaking right release of the target terminal can be directly determined; if the time length of the target terminal occupying the speech right exceeds the preset first time length, the terminal occupies the speech right for a long time, and in order to avoid that the target terminal occupies the speech right for a long time due to factors such as faults and the like, other terminals connected with the network side equipment cannot occupy the speech right, and the network side equipment can directly recover the speech right occupied by the target terminal.
In some exemplary embodiments, the processor is further configured to:
after the speaking right occupied by the target terminal is released, before target data packet transmission is carried out between the communication unit and the target terminal based on a preset first sending period,
and sending second talk right release information to the target terminal through the communication unit, and receiving first confirmation information sent by the target terminal based on the second talk right release information.
According to the scheme, after the speaking right occupied by the target terminal is released, the second speaking right release information is sent to the target terminal, so that the target terminal can know speaking right release, and reply confirmation is carried out after the second speaking right release information is received, so that target data packet transmission can be carried out between the network side equipment and the target terminal based on a preset first sending period.
In some exemplary embodiments, the processor is specifically configured to:
transmitting a target data packet to the target terminal through the communication unit based on a preset first transmission period, or
Receiving, by the communication unit, a target packet transmitted by the target terminal based on the first transmission cycle, or
And sending second confirmation information to the target terminal through the communication unit according to the received target data packet sent by the target terminal based on the first sending period.
According to the scheme, after the speaking right occupied by the target terminal is released, the target data packet can be sent to the target terminal in a one-way mode through the network side equipment, and the transmission quantity of the data packet is further reduced; the target data packet which is transmitted to the network side equipment in a one-way mode through the target terminal based on the first transmission period is also used, the transmission quantity of the data packet is reduced, meanwhile, the target terminal actively keeps normal connection state with the server, so that the network side equipment can be disconnected from the target terminal in time after not receiving the target data packet, and connection resources are saved; and after receiving the target data packet sent by the target terminal, the network side equipment can send confirmation information to the target terminal, so that a proper transmission mode can be selected according to different application scenes.
In a second aspect, an embodiment of the present invention provides a terminal, including: a processor and a communication unit;
the communication unit is used for carrying out data transmission;
the processor is configured to perform target data packet transmission with a network side device connected to the terminal through the communication unit based on a preset first sending period after determining that the talk right of the terminal is released;
the first sending period is greater than a second sending period for sending voice data packets when the terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
In some exemplary embodiments, the processor is further configured to:
responding to a speaking right release instruction triggered by a user, and releasing the speaking right occupied by the terminal; or
And determining the talk right release of the terminal based on the second talk right release information sent by the network side equipment.
In some exemplary embodiments, the processor is further configured to:
after the speaking right occupied by the terminal is released, before target data packet transmission is carried out through a network side device connected with the terminal through the communication unit based on a preset first sending period,
and sending first speaking right release information to the network side equipment through the communication unit, and receiving third confirmation information sent by the network side equipment based on the first speaking right release information.
In some exemplary embodiments, the processor is specifically configured to:
receiving, by the communication unit, a target packet transmitted by the network-side device based on the first transmission cycle, or
Transmitting a target data packet to the network side device through the communication unit based on a preset first transmission cycle, or
And sending a target data packet to the network side equipment through the communication unit based on a preset first sending period, and receiving fourth confirmation information sent by the network side equipment based on the received target data packet through the communication unit.
In a third aspect, an embodiment of the present invention provides an intercom method, which is applied to a network side device, and the method includes:
after determining that the speaking right of a target terminal connected with the network side equipment is released, transmitting a target data packet with the target terminal based on a preset first sending period;
the first sending period is greater than a second sending period for sending a voice data packet when the target terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
In some exemplary embodiments, after determining that the talk right of the target terminal connected to the network side device is released, the method further includes:
and if the request for occupying the speaking right sent by the target terminal is not received within a second preset time length, disconnecting the connection with the target terminal, wherein the second preset time length comprises at least one first sending period.
In some exemplary embodiments, the release of the talk right of the target terminal connected to the network side device is determined by:
determining speaking right release of the target terminal based on received first speaking right release information sent by the target terminal; or
And if the time length of the speech right occupied by the target terminal exceeds a preset first time length, releasing the speech right occupied by the target terminal.
In some exemplary embodiments, after releasing the talk right occupied by the target terminal, before performing target packet transmission with the target terminal based on a preset first sending period, the method further includes:
and sending second talk right release information to the target terminal, and receiving first confirmation information sent by the target terminal based on the second talk right release information.
In some exemplary embodiments, the performing target packet transmission with the target terminal based on a preset first sending period includes:
transmitting a target data packet to the target terminal based on a preset first transmission period, or
Receiving a target data packet sent by the target terminal based on the first sending period, or
And sending second confirmation information to the target terminal according to the received target data packet sent by the target terminal based on the first sending period.
In a fourth aspect, an embodiment of the present invention provides an intercom method, which is applied to a terminal, and the method includes:
after the speaking right of the terminal is determined to be released, target data packet transmission is carried out with network side equipment connected with the terminal based on a preset first sending period;
the first sending period is greater than a second sending period for sending voice data packets when the terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
In some exemplary embodiments, the release of the floor for the terminal is determined by:
responding to a speaking right release instruction triggered by a user, and releasing the speaking right occupied by the terminal; or
And determining the talk right release of the terminal based on the second talk right release information sent by the network side equipment.
In some exemplary embodiments, after releasing the talk right occupied by the terminal, before performing target packet transmission with a network side device connected to the terminal based on a preset first sending period, the method further includes:
and sending first speaking right release information to the network side equipment, and receiving third confirmation information sent by the network side equipment based on the first speaking right release information.
In some exemplary embodiments, the performing, by a network side device connected to the terminal based on a preset first sending cycle, target packet transmission includes:
receiving a target data packet sent by the network side device based on the first sending period, or
Sending a target data packet to the network side device based on a preset first sending period, or
And sending a target data packet to the network side equipment based on a preset first sending period, and receiving fourth confirmation information sent by the network side equipment based on the received target data packet.
In a fifth aspect, an embodiment of the present invention provides an intercom apparatus, including:
the first data transmission module is used for transmitting a target data packet with a target terminal based on a preset first sending period after the first speaking right processing module determines that the speaking right of the target terminal connected with the network side equipment is released;
the first sending period is greater than a second sending period for sending a voice data packet when the target terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
In a sixth aspect, an embodiment of the present invention provides another intercom apparatus, including:
the second data transmission module is used for transmitting a target data packet with the network side equipment connected with the terminal based on a preset first sending period after the second talk right processing module determines that the talk right of the terminal is released;
the first sending period is greater than a second sending period for sending voice data packets when the terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the intercom method according to any one of the third aspect or the fourth aspect.
In addition, for technical effects brought by any one implementation manner of the second aspect to the seventh aspect, reference may be made to technical effects brought by different implementation manners of the first aspect, and details are not described here.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention;
fig. 2 is a block diagram of a hardware configuration of a terminal according to an embodiment of the present invention;
fig. 3 is a block diagram of a software structure of a terminal according to an embodiment of the present invention;
fig. 4 is an interaction flowchart of a first intercom method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of data transmission between a target terminal and a network side device in a session process;
fig. 6 is an interaction flowchart of a second intercom method according to an embodiment of the present invention;
fig. 7 is an interaction flowchart of a third intercom method according to an embodiment of the present invention;
fig. 8 is a schematic flow chart of a voice packet processing method according to an embodiment of the present invention;
fig. 9 is a schematic view of a first intercom device according to an embodiment of the present invention;
fig. 10 is a schematic view of a second intercom device according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a network-side device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless otherwise specified.
In the description of the present application, it is to be noted that, unless otherwise explicitly stated or limited, the term "connected" is to be understood broadly, and may for example be directly connected, indirectly connected through an intermediate medium, or be a communication between two devices. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
Through the talkback technology carried by the public mobile network, the conversation can be carried out between the clients without any network support, and the method is widely applied to relatively fixed and frequent conversation occasions. The client and the network side device perform data transmission based on an rtp protocol, specifically: the sender starts to acquire the speaking right until the sender is disconnected from the network side equipment, a certain frequency is kept for sending a data packet to the network side equipment, and the network side equipment replies confirmation information to the sender after receiving the data packet and sends the data packet to the receiver.
In the process of talkback, when the sender occupies the right of talk, the speaker can talk, however, the idle time is far longer than the speaking time, so that the sender only occupies a small part of the right of talk and sends effective voice data. Because real-time communication is required in the talkback, according to the specification of the rtp protocol, even if a sender does not occupy the speech right, the sender can continue to send the null data packet to the network side equipment at high frequency, and the network side equipment can reply after receiving the null data packet so as to keep connection. A large number of invalid null packets occupy more network resources and the sender may generate higher power consumption.
The embodiment of the invention provides network side equipment, a terminal and an intercom method in order to reduce network resources occupied in the intercom process and reduce power consumption generated by a sender.
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a schematic view of an application scenario according to an embodiment of the present invention. The application scenario diagram includes a plurality of terminals (three terminals: terminal 101, terminal 102, and terminal 103 are illustrated in the figure, and the number of terminals may be more or less in practical applications) and a network-side device 200.
The terminals are connected to the network side device 200, respectively, and can perform data transmission.
Among them, one of the terminals (taking the terminal 101 as an example) occupies the talk right, and can send the voice data packet to the network side device 200 based on the second shorter sending period.
The network side device 200 performs transcoding on the voice data packet according to a preset coding mode;
and distributing the voice data packet after code conversion to the terminal 102 and the terminal 103.
After the talk right of the terminal 101 is released, the network side device and the target terminal perform target data packet transmission through a first longer transmission period.
In the embodiment of the present invention, the terminal may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a television, and other devices.
The network side device 200 includes one or more sets of servers, which may be of one or more types.
The application scenarios described above are merely examples of application scenarios for implementing the embodiments of the present invention, and the embodiments of the present invention are not limited to the application scenarios described above.
Fig. 2 shows a block diagram of a hardware configuration of the above-described terminal.
The following describes embodiments in detail by taking a terminal as an example. It should be understood that the terminal shown in fig. 2 is only an example, and the terminal may have more or fewer components than shown in fig. 2, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
As shown in fig. 2, the terminal includes: a Radio Frequency (RF) circuit 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (Wi-Fi) module 170, a processor 180, a bluetooth module 181, and a power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 performs various functions of the terminal and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system enabling the terminal to operate. The memory 120 may store an operating system and various application programs, and may also store codes for performing the methods described in the embodiments of the present application.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the terminal, and particularly, the display unit 130 may include a touch screen 131 disposed on the front surface of the terminal and may collect touch operations of the user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the terminal. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the terminal, and the integrated function may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The terminal may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The terminal may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, light sensors, motion sensors, etc.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the terminal. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The terminal may be further provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal or outputs the audio data to the memory 120 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and a terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 170, and provides wireless broadband internet access for the user. Information interaction can also be carried out with other equipment with the Wi-Fi module through the Wi-Fi module.
The processor 180 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, and a touch response, and the processing method described in the embodiments of the present application. Additionally, the processor 180 and the display unit 130 may be coupled.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol.
The terminal also includes a power supply 190 (such as a battery) to power the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The terminal can also be provided with a power button for starting and shutting down the terminal, locking the screen and the like.
Fig. 3 is a block diagram of a software configuration of a terminal according to an embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 3, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The telephone manager is used for providing a communication function of the terminal. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal vibrates, an indicator light flashes, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The talkback method provided by the embodiment of the invention comprises the following steps:
after determining that the speaking right of a connected target terminal is released, the network side equipment transmits a target data packet with the target terminal based on a preset first sending period;
or after the target terminal determines that the speaking right is released, the target terminal transmits a target data packet with the target terminal based on a preset first sending period.
And the first sending period is greater than a second sending period for sending the voice data packet when the target terminal occupies the speaking right. The target data packet is a null data packet or a data packet carrying preset data.
According to the specification of the rtp protocol, when the target terminal does not occupy the right of talk, the target terminal continues to send the null data packet to the network side equipment at a high frequency, the network side equipment replies after receiving the null data packet, a large number of invalid null data packets occupy more network resources, and the target terminal generates higher power consumption. However, if the network side device and the target terminal stop data transmission when the target terminal does not occupy the right of talk, the connection is closed, and when the target terminal sends voice data again, the connection needs to be requested again, which consumes time in the connection process, and this violates the design requirement of instant messaging.
Therefore, in the embodiment, after the speaking right of the target terminal is determined to be released, the network side device transmits the target data packet with the target terminal based on a longer first period, and the connection is maintained continuously, so that invalid empty data packets can be reduced, and the requirement of instant messaging can be met.
According to the scheme, when the target terminal connected with the network side equipment occupies the right of talk, the voice data packet is sent at a high frequency through a short period, so that the network side equipment can normally receive the voice data; after the speaking right of the target terminal is released, voice data are not sent to the network side equipment any more, the network side equipment and the target terminal transmit a target data packet in a longer period, so that after the speaking right of the target terminal is released, the transmission quantity of the data packet is reduced, the occupation of network resources is reduced, the power consumption of the target terminal is reduced, the load of the network side equipment is reduced, meanwhile, due to the transmission of the target data packet, the connection closing between the network side equipment and the target terminal is avoided, and the requirement of instant communication in the talkback process is met.
Fig. 4 is an interaction flowchart of a first intercom method provided in the embodiment of the present invention, and as shown in fig. 4, the method may include:
step 401: and the network side equipment determines the talk right release of the target terminal.
The embodiment does not limit the implementation manner of the speaking right release of the target terminal, and may be that the target terminal actively gives up taking the speaking right or passively gives up taking the speaking right, for example:
1) and the target terminal receives a speaking right release instruction triggered by the user, actively releases the occupied speaking right and abandons the occupation of channel resources.
In this scenario, the target terminal may further send the first talk right release information to the network side device, so that the network side device may also know the talk right release occupied by the target terminal.
In some specific embodiments, the network side device sends the third confirmation information to the target terminal according to the received first talk burst release information.
2) And if the time length of the speech right occupied by the target terminal exceeds the preset first time length, the network side equipment withdraws channel resources and releases the speech right occupied by the target terminal.
If the time length of the target terminal occupying the speech right exceeds the preset first time length, the terminal occupies the speech right for a long time, and in order to avoid that the target terminal occupies the speech right for a long time due to factors such as faults and the like, other terminals connected with the network side equipment cannot occupy the speech right, and the network side equipment can directly recover the speech right occupied by the target terminal.
In this scenario, the network side device may send the second talk right release information to the target terminal, so that the target terminal can also know the talk right release occupied by the target terminal.
In some specific embodiments, the target terminal sends the first acknowledgement information to the network side device according to the received second talk burst release information, so that the network side device may send the second talk burst release information to the target terminal again after not receiving the first acknowledgement information within a period of time.
In this embodiment, the talk right release of the target terminal may be determined in any manner described above or other similar manners according to the application scenario.
Step 402: and the network side equipment sends the target data packet to the target terminal based on a preset first sending period.
And the first sending period is greater than a second sending period for sending the voice data packet when the target terminal occupies the speaking right. The target data packet is a null data packet or a data packet carrying preset data.
The embodiment does not limit the specific implementation form of the target data packet, for example:
1) in order to reduce the network code pressure and save the flow, the target data packet is a data packet only containing a header.
2) In some scenarios, some data needs to be updated from the network side device at regular or irregular time, and relevant information can be placed in a target data packet, where the target data packet is a data packet carrying agreed service data information.
The implementation form of the target data packet is only an example of the target data packet implementing the embodiment of the present invention, and the embodiment of the present invention is not limited to the implementation form of the target data packet.
According to the scheme, after the speaking right of the target terminal is released, voice data are not sent to the network side equipment any more, the target data packet is sent to the target terminal in a one-way mode through a long period through the network side equipment, compared with the mode that data transmission is carried out in a two-way mode through the network side equipment and the target terminal in a short period, the transmission quantity of the data packet is greatly reduced, the occupation of network resources is reduced, the power consumption of the target terminal is reduced, the load of the network side equipment is reduced, meanwhile due to the transmission of the target data packet, the connection closing between the network side equipment and the target terminal is avoided, and the requirement of instant communication in the talkback process is met.
In some embodiments, after the above steps, the intercom method further comprises:
if the network side equipment does not receive the request of occupying the speech right sent by the target terminal within a second preset time length after the speech right of the target terminal is released, the connection with the target terminal is disconnected.
Wherein the second preset duration comprises at least one of the first transmission periods.
In this embodiment, if the idle time of the target terminal is long, the target terminal may no longer need to send voice data, and how to maintain the connection between the network side device and the target terminal at this time may cause waste of connection resources.
Based on this, if the network side device does not receive the request for occupying the speech right sent by the target terminal within the second preset time after the speech right of the target terminal is released, which indicates that the idle time of the target terminal is longer, the target terminal may no longer need to send voice data, and at this time, the network side device disconnects from the target terminal, so as to save connection resources.
The second preset time length may be set according to an actual application scenario. But the second preset time length cannot be too short, including at least one first sending period, otherwise, the target terminal is disconnected when the voice data needs to be sent, and the requirement of instant messaging is not met.
Optionally, the second preset time period includes a plurality of first sending periods, so as to ensure reachability of the target data packet.
Referring to fig. 5, when the target terminal occupies the right of talk, the target terminal sends the voice packet to the network side device based on the second sending period (T2); the network side equipment replies after receiving the voice data packet; and after the target terminal session right is released, the target data packet is sent to the network side equipment based on the first sending period (T1). Taking the time of the target terminal occupying the talk right as 40s, the time of releasing the talk right as 2 minutes, the first sending period as 15s, the second sending period as 20ms, and the size of the data packet as 320 bytes as an example:
if the number of bytes transmitted per second is 50 × 320 × 2 — 32000 and about 30k according to the existing transmission mode, the number of bytes transmitted in the whole transmission process is (40+120) × 30 — 4800 k; according to the transmission mode of the above embodiment, the number of bytes transmitted per second at idle is 120/15 × 320/1024 ═ 2.5K, and the number of bytes transmitted in the whole transmission process is 40 × 30+2.5 ═ 1202.5K, and it can be seen that the transmission process can save the transmission amount by about 75%.
Each parameter of the transmission process is illustrated by way of example, and is not limited to this embodiment, and a specific value of each parameter may be set according to an actual scene.
Fig. 6 is an interaction flowchart of a second intercom method provided in the embodiment of the present invention, and as shown in fig. 6, the method may include:
step 601: the target terminal determines the release of the talk right.
The implementation of step 601 may refer to the implementation of step 401, which is not described herein again.
Step 602: and the target terminal sends the target data packet to the network side equipment based on a preset first sending period.
And the first sending period is greater than a second sending period for sending the voice data packet when the target terminal occupies the speaking right. The target data packet is a null data packet or a data packet carrying preset data.
In this embodiment, the target terminal may disconnect from the network side device for various reasons, and if the target terminal cannot actively maintain connection with the network side device, no connection resource needs to be provided.
For specific implementation forms of the target data packet, reference may be made to the above embodiments, and details are not described herein.
According to the scheme, after the speaking right of the target terminal is released, the target terminal sends the target data packet to the network side equipment in a one-way mode through a long period, compared with the mode that the data transmission is carried out in a two-way mode through the network side equipment and the target terminal in a short period, the transmission quantity of the data packet is greatly reduced, the occupation of network resources is reduced, the power consumption of the target terminal is saved, the load of the network side equipment is reduced, meanwhile due to the transmission of the target data packet, the connection closing between the network side equipment and the target terminal is avoided, and the requirement of instant communication in the talkback process is met; in addition, the target terminal actively keeps normal connection with the server, so that the network side equipment can be disconnected with the target terminal in time after not receiving the target data packet, and connection resources are saved.
Fig. 7 is an interaction flowchart of a third intercom method according to an embodiment of the present invention, and as shown in fig. 7, the method may include:
step 701: the target terminal determines the release of the talk right.
Step 702: and the target terminal sends the target data packet to the network side equipment based on a preset first sending period.
And the first sending period is greater than a second sending period for sending the voice data packet when the target terminal occupies the speaking right. The target data packet is a null data packet or a data packet carrying preset data.
The implementation of steps 701-702 is the same as that of steps 601-602, and will not be described herein again.
Step 703: and the network side equipment sends second confirmation information to the target terminal based on the target data packet.
The network side equipment receives the target data packet, and can know whether the target terminal is in a connected state, the network side equipment sends second confirmation information to the target terminal, and the target terminal can know that the connection of the network side equipment is available.
According to the scheme, after the speaking right of the target terminal is released, the target terminal sends the target data packet to the network side equipment in a longer period and replies confirmation information, compared with the case that data transmission is carried out through the network side equipment and the target terminal in a shorter period, the transmission quantity of the data packet is reduced, the occupation of network resources is reduced, the power consumption of the target terminal is saved, the load of the network side equipment is reduced, meanwhile, due to the transmission of the target data packet, the connection closing between the network side equipment and the target terminal is avoided, and the requirement of instant communication in the talkback process is met; in addition, the network side equipment can acquire the connection state of the target terminal after receiving the target data packet, and the network side equipment can transmit second confirmation information to the target terminal so that the target terminal can acquire the connection availability of the network side equipment.
On the basis of the embodiment in fig. 6 or fig. 7, the step of disconnecting the connection with the target terminal if the request for occupying the talk right sent by the target terminal is not received within the second preset time period may also be performed.
Fig. 8 is a schematic flowchart of a voice data packet processing method provided in an embodiment of the present invention, which is applied to a network side device, and as shown in fig. 8, the method may include:
step 801: and carrying out code conversion on the received voice data packet sent by the target terminal according to a preset coding mode.
The network side equipment needs to perform unified coding conversion on the voice data packets according to a preset coding mode based on the difference of the manufacturers and the coding modes of the terminals connected with the network side equipment, so that the talkback among the terminals of different types can be supported.
Step 802: and distributing the voice data packet after code conversion to a plurality of corresponding other connected terminals through each distribution thread item.
With reference to the foregoing embodiment, it is understood that in this embodiment, the number of packets received by the network side device is greatly reduced, and therefore, the data to be processed is also reduced.
In this embodiment, a single mode is adopted, and the network side device only needs to process the voice data packet sent by the target terminal, so as to reduce the amount of computation, for example: and each data packet has 320 bytes, the network side equipment is connected with N terminals, the bytes processed in a single time in the mixing mode are N x 320 bytes, only 320 bytes are processed in a single mode, and the calculation amount is reduced to 1/N of the original calculation amount.
In this embodiment, the computation amount of the network side device is reduced, and in order to effectively utilize the computation resource of the network side device on the basis of ensuring normal transmission, each distribution thread item distributes the voice data packet after code conversion to a plurality of corresponding terminals connected to other terminals, for example:
the transmission interval is 20ms, the calculation and transmission time is t1(t1<20ms), the existing transmission process is that each thread sends a voice data packet to a terminal, and the resource uses t1 × N; in this embodiment, dynamic regulation and control transmission is adopted, a single thread can send a voice packet to a 20/t1 client, only N/(20/t1) transmission threads (N is an integer rounded up) are needed to meet the requirement, and the utilization rate of resources is increased by a factor of t1 × N/t1 × N approximately 20 times.
By the scheme, the calculation amount of the network side equipment is reduced, and the utilization rate of calculation resources is improved.
As shown in fig. 9, based on the same inventive concept, an embodiment of the present invention provides a first intercom device 900, including: the first data transmission module 901 and the first talk right processing module 902 may further include a connection processing module 903 in some embodiments.
A first data transmission module 901, configured to perform, after the first talk right processing module 902 determines that the talk right of a target terminal connected to the network-side device is released, target data packet transmission with the target terminal based on a preset first sending period;
the first sending period is greater than a second sending period for sending a voice data packet when the target terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
In some exemplary embodiments, the connection processing module 903 is configured to:
after the first talk burst processing module 902 determines that the talk burst of the target terminal connected to the network side device is released,
and if the request for occupying the speaking right sent by the target terminal is not received within a second preset time length, disconnecting the connection with the target terminal, wherein the second preset time length comprises at least one first sending period.
In some exemplary embodiments, the first talk burst processing module 902 determines the talk burst release of the target terminal connected to the network side device by:
determining speaking right release of the target terminal based on received first speaking right release information sent by the target terminal; or
And if the time length of the speech right occupied by the target terminal exceeds a preset first time length, releasing the speech right occupied by the target terminal.
In some exemplary embodiments, the first data transmission module 901 is further configured to, before performing target data packet transmission with the target terminal based on a preset first sending period, after the first talk right processing module 902 releases the talk right occupied by the target terminal,
and sending second talk right release information to the target terminal, and receiving first confirmation information sent by the target terminal based on the second talk right release information.
In some exemplary embodiments, the first data transmission module 901 performs target data packet transmission with the target terminal based on a preset first sending period, including:
transmitting a target data packet to the target terminal based on a preset first transmission period, or
Receiving a target data packet sent by the target terminal based on the first sending period, or
And sending second confirmation information to the target terminal according to the received target data packet sent by the target terminal based on the first sending period.
Therefore, the implementation of the device can refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 10, based on the same inventive concept, the embodiment of the present invention provides a second intercom device 1000, including: a second data transmission module 1001 and a second talk burst processing module 1002.
A second data transmission module 1001, configured to perform, after the second talk burst processing module 1002 determines that the talk burst of the terminal is released, target data packet transmission with a network side device connected to the terminal based on a preset first sending period;
the first sending period is greater than a second sending period for sending voice data packets when the terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
In some exemplary embodiments, the second talk burst processing module 1002 determines the release of the talk burst of the terminal by:
responding to a speaking right release instruction triggered by a user, and releasing the speaking right occupied by the terminal; or
And determining the talk right release of the terminal based on the second talk right release information sent by the network side equipment.
In some exemplary embodiments, the second data transmission module 1001 is further configured to, after the second talk right processing module 1002 releases the talk right occupied by the terminal, before performing target data packet transmission with a network-side device connected to the terminal based on a preset first sending period,
and sending first speaking right release information to the network side equipment, and receiving third confirmation information sent by the network side equipment based on the first speaking right release information.
In some exemplary embodiments, the second data transmission module 1001 performs target packet transmission with a network side device connected to the terminal based on a preset first transmission cycle, and includes:
receiving a target data packet sent by the network side device based on the first sending period, or
Sending a target data packet to the network side device based on a preset first sending period, or
And sending a target data packet to the network side equipment based on a preset first sending period, and receiving fourth confirmation information sent by the network side equipment based on the received target data packet.
Since the apparatus is the apparatus in the method in the embodiment of the present invention, and the principle of the apparatus for solving the problem is similar to that of the method, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 11, based on the same inventive concept, an embodiment of the present invention provides a network-side device 1100, where the network-side device 1100 includes: a processor 1101, a memory 1102 and a communication unit 1103, wherein the memory 1102 stores program code which, when executed by the processor 1101, causes the processor 1101 to perform the following process:
after determining that the speaking right of the target terminal connected to the network side device is released, performing target data packet transmission with the target terminal through the communication unit 1103 based on a preset first sending period;
the first sending period is greater than a second sending period for sending a voice data packet when the target terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
In some exemplary embodiments, the processor 1101 is further configured to, after determining that the talk burst of the target terminal connected to the network-side device is released,
and if the request for occupying the speaking right sent by the target terminal is not received within a second preset time length, disconnecting the connection with the target terminal, wherein the second preset time length comprises at least one first sending period.
In some exemplary embodiments, the processor 1101 is further configured to:
determining speaking right release of the target terminal based on received first speaking right release information sent by the target terminal; or
And if the time length of the speech right occupied by the target terminal exceeds a preset first time length, releasing the speech right occupied by the target terminal.
In some exemplary embodiments, the processor 1101 is further configured to:
after the speaking right occupied by the target terminal is released, before target data packet transmission is carried out between the communication unit and the target terminal based on a preset first sending period,
second talk burst release information is sent to the target terminal through the communication unit 1103, and first confirmation information sent by the target terminal based on the second talk burst release information is received.
In some exemplary embodiments, the processor 1101 is specifically configured to:
transmitting a destination data packet to the destination terminal through the communication unit 1103 based on a preset first transmission period, or
Receiving, by the communication unit 1103, a destination packet transmitted by the destination terminal based on the first transmission cycle, or
According to receiving a target data packet sent by the target terminal based on the first sending period, sending second acknowledgement information to the target terminal through the communication unit 1103.
The implementation of the network side device may refer to the implementation of the above method, and repeated details are not described herein.
Based on the same inventive concept, an embodiment of the present invention provides a target terminal, including: a processor, a memory and a communication unit, wherein the memory stores program code which, when executed by the processor, causes the processor to perform the following:
after the speaking right of the terminal is determined to be released, target data packet transmission is carried out through the communication unit and network side equipment connected with the terminal based on a preset first sending period;
the first sending period is greater than a second sending period for sending voice data packets when the terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
In some exemplary embodiments, the processor is further configured to:
responding to a speaking right release instruction triggered by a user, and releasing the speaking right occupied by the terminal; or
And determining the talk right release of the terminal based on the second talk right release information sent by the network side equipment.
In some exemplary embodiments, the processor is further configured to:
after the speaking right occupied by the terminal is released, before target data packet transmission is carried out through a network side device connected with the terminal through the communication unit based on a preset first sending period,
and sending first speaking right release information to the network side equipment through the communication unit, and receiving third confirmation information sent by the network side equipment based on the first speaking right release information.
In some exemplary embodiments, the processor is specifically configured to:
receiving, by the communication unit, a target packet transmitted by the network-side device based on the first transmission cycle, or
Transmitting a target data packet to the network side device through the communication unit based on a preset first transmission cycle, or
And sending a target data packet to the network side equipment through the communication unit based on a preset first sending period, and receiving fourth confirmation information sent by the network side equipment based on the received target data packet through the communication unit.
The implementation of the target terminal can refer to the implementation of the method, and repeated details are not repeated.
Embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the above-mentioned intercom method. The readable storage medium may be a nonvolatile readable storage medium, among others.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the invention. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A network side device, wherein the network side device comprises: a processor and a communication unit;
the communication unit is used for carrying out data transmission;
the processor is configured to perform target data packet transmission with a target terminal through the communication unit based on a preset first sending period after determining that a talk right of the target terminal connected to the network side device is released;
the first sending period is greater than a second sending period for sending a voice data packet when the target terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
2. The network-side device of claim 1, wherein the processor is further configured to, after determining that the session right of the target terminal connected to the network-side device is released,
and if the request for occupying the speaking right sent by the target terminal is not received within a second preset time length, disconnecting the connection with the target terminal, wherein the second preset time length comprises at least one first sending period.
3. The network-side device of claim 1, wherein the processor is further configured to:
determining speaking right release of the target terminal based on received first speaking right release information sent by the target terminal; or
And if the time length of the speech right occupied by the target terminal exceeds a preset first time length, releasing the speech right occupied by the target terminal.
4. The network-side device of claim 3, wherein the processor is further configured to:
after the speaking right occupied by the target terminal is released, before target data packet transmission is carried out between the communication unit and the target terminal based on a preset first sending period,
and sending second talk right release information to the target terminal through the communication unit, and receiving first confirmation information sent by the target terminal based on the second talk right release information.
5. The network-side device of claim 4, wherein the processor is specifically configured to:
transmitting a target data packet to the target terminal through the communication unit based on a preset first transmission period, or
Receiving, by the communication unit, a target packet transmitted by the target terminal based on the first transmission cycle, or
And sending second confirmation information to the target terminal through the communication unit according to the received target data packet sent by the target terminal based on the first sending period.
6. A terminal, characterized in that the terminal comprises: a processor and a communication unit;
the communication unit is used for carrying out data transmission;
the processor is configured to perform target data packet transmission with a network side device connected to the terminal through the communication unit based on a preset first sending period after determining that the talk right of the terminal is released;
the first sending period is greater than a second sending period for sending voice data packets when the terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
7. The terminal of claim 6, wherein the processor is further configured to:
responding to a speaking right release instruction triggered by a user, and releasing the speaking right occupied by the terminal; or
And determining the talk right release of the terminal based on the second talk right release information sent by the network side equipment.
8. The terminal of claim 7, wherein the processor is further configured to:
after the speaking right occupied by the terminal is released, before target data packet transmission is carried out through a network side device connected with the terminal through the communication unit based on a preset first sending period,
and sending first speaking right release information to the network side equipment through the communication unit, and receiving third confirmation information sent by the network side equipment based on the first speaking right release information.
9. An intercom method, which is applied to a network side device, includes:
after determining that the speaking right of a target terminal connected with the network side equipment is released, transmitting a target data packet with the target terminal based on a preset first sending period;
the first sending period is greater than a second sending period for sending a voice data packet when the target terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
10. An intercom method, characterized in that, applied to a terminal, the method comprises:
after the speaking right of the terminal is determined to be released, target data packet transmission is carried out with network side equipment connected with the terminal based on a preset first sending period;
the first sending period is greater than a second sending period for sending voice data packets when the terminal occupies the speaking right, and the target data packet is a null data packet or a data packet carrying preset data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010942956.9A CN112187733A (en) | 2020-09-09 | 2020-09-09 | Network side equipment, terminal and talkback method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010942956.9A CN112187733A (en) | 2020-09-09 | 2020-09-09 | Network side equipment, terminal and talkback method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112187733A true CN112187733A (en) | 2021-01-05 |
Family
ID=73920346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010942956.9A Pending CN112187733A (en) | 2020-09-09 | 2020-09-09 | Network side equipment, terminal and talkback method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112187733A (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101600158A (en) * | 2008-06-06 | 2009-12-09 | 中兴通讯股份有限公司 | The implementation method of digital packet terminal state exchange |
CN102036349A (en) * | 2009-09-29 | 2011-04-27 | 联想(北京)有限公司 | Method for maintaining connection of terminal and network server, terminal and network server |
CN102244841A (en) * | 2010-05-14 | 2011-11-16 | 中国移动通信集团重庆有限公司 | Voice interaction processing method, device and system |
CN202602899U (en) * | 2012-05-23 | 2012-12-12 | 华为终端有限公司 | Conversation control device, push to talk (PTT) terminal and PTT conversation system |
CN104427095A (en) * | 2013-08-25 | 2015-03-18 | 希姆通信息技术(上海)有限公司 | A hand-held terminal intercommunication method and a hand-held terminal having an intercommunication function |
CN105007543A (en) * | 2014-04-18 | 2015-10-28 | 腾讯科技(深圳)有限公司 | Intercommunication method, apparatus, device and system |
CN105323250A (en) * | 2015-11-09 | 2016-02-10 | 广东微沃通讯科技发展有限公司 | Data transmission method based on PTT public network cluster intercom system |
CN106102141A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of processing method and processing device based on packet |
US20170054763A1 (en) * | 2015-08-18 | 2017-02-23 | Gn Resound A/S | Method of exchanging data packages between first and second portable communication devices using a favoured frequency band |
CN106792819A (en) * | 2016-12-26 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of method and device of the power consumption for reducing mobile terminal |
CN108337244A (en) * | 2018-01-11 | 2018-07-27 | 海尔优家智能科技(北京)有限公司 | A kind of intercom method, server, medium and equipment based on Session Initiation Protocol |
CN108966365A (en) * | 2018-08-15 | 2018-12-07 | 上海移远通信技术股份有限公司 | A kind of link keeping method, relevant apparatus, terminal and storage medium |
CN109863799A (en) * | 2016-11-23 | 2019-06-07 | 华为技术有限公司 | A kind of method and apparatus of resource allocation and transmission data packet |
CN110381130A (en) * | 2019-07-12 | 2019-10-25 | 湖南新云网科技有限公司 | The long connection method of keep-alive, device, communication terminal and storage medium |
CN110392018A (en) * | 2018-04-18 | 2019-10-29 | 北京视联动力国际信息技术有限公司 | A kind of communication means and system of intercom |
CN110505678A (en) * | 2019-07-09 | 2019-11-26 | 华为技术有限公司 | A kind of method, terminal device and the storage medium of the connection of release wireless heterogeneous networks |
-
2020
- 2020-09-09 CN CN202010942956.9A patent/CN112187733A/en active Pending
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101600158A (en) * | 2008-06-06 | 2009-12-09 | 中兴通讯股份有限公司 | The implementation method of digital packet terminal state exchange |
CN102036349A (en) * | 2009-09-29 | 2011-04-27 | 联想(北京)有限公司 | Method for maintaining connection of terminal and network server, terminal and network server |
CN102244841A (en) * | 2010-05-14 | 2011-11-16 | 中国移动通信集团重庆有限公司 | Voice interaction processing method, device and system |
CN202602899U (en) * | 2012-05-23 | 2012-12-12 | 华为终端有限公司 | Conversation control device, push to talk (PTT) terminal and PTT conversation system |
CN104427095A (en) * | 2013-08-25 | 2015-03-18 | 希姆通信息技术(上海)有限公司 | A hand-held terminal intercommunication method and a hand-held terminal having an intercommunication function |
CN105007543A (en) * | 2014-04-18 | 2015-10-28 | 腾讯科技(深圳)有限公司 | Intercommunication method, apparatus, device and system |
US20170054763A1 (en) * | 2015-08-18 | 2017-02-23 | Gn Resound A/S | Method of exchanging data packages between first and second portable communication devices using a favoured frequency band |
CN105323250A (en) * | 2015-11-09 | 2016-02-10 | 广东微沃通讯科技发展有限公司 | Data transmission method based on PTT public network cluster intercom system |
CN106102141A (en) * | 2016-05-31 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of processing method and processing device based on packet |
CN109863799A (en) * | 2016-11-23 | 2019-06-07 | 华为技术有限公司 | A kind of method and apparatus of resource allocation and transmission data packet |
CN106792819A (en) * | 2016-12-26 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of method and device of the power consumption for reducing mobile terminal |
CN108337244A (en) * | 2018-01-11 | 2018-07-27 | 海尔优家智能科技(北京)有限公司 | A kind of intercom method, server, medium and equipment based on Session Initiation Protocol |
CN110392018A (en) * | 2018-04-18 | 2019-10-29 | 北京视联动力国际信息技术有限公司 | A kind of communication means and system of intercom |
CN108966365A (en) * | 2018-08-15 | 2018-12-07 | 上海移远通信技术股份有限公司 | A kind of link keeping method, relevant apparatus, terminal and storage medium |
CN110505678A (en) * | 2019-07-09 | 2019-11-26 | 华为技术有限公司 | A kind of method, terminal device and the storage medium of the connection of release wireless heterogeneous networks |
CN110381130A (en) * | 2019-07-12 | 2019-10-25 | 湖南新云网科技有限公司 | The long connection method of keep-alive, device, communication terminal and storage medium |
Non-Patent Citations (1)
Title |
---|
郭际川: "基于SIP的PTT演示系统设计与开发", 《电气电子教学学报》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7463647B2 (en) | Notification processing system, method and electronic device | |
WO2021185244A1 (en) | Device interaction method and electronic device | |
CN111294884A (en) | Communication terminal supporting dual-card dual-standby single-pass and data service switching method | |
WO2019019032A1 (en) | Method and apparatus for configuring downlink data packet | |
CN114666864A (en) | Multi-network communication method, terminal device, storage medium, and program product | |
US20240045643A1 (en) | Codec negotiation and switching method | |
CN114201130A (en) | Screen projection method and device and storage medium | |
CN112583822B (en) | Communication apparatus and communication method | |
CN114679752A (en) | Method for sharing wireless communication capacity by dual systems and terminal equipment | |
CN113014614A (en) | Equipment control method, control equipment and controlled equipment | |
CN112187733A (en) | Network side equipment, terminal and talkback method | |
CN114371895B (en) | Terminal equipment, mail marking method and storage medium | |
CN118233402A (en) | Data transmission method and electronic equipment | |
CN112000411B (en) | Mobile terminal and display method of recording channel occupation information thereof | |
WO2021114950A1 (en) | Multipath http channel multiplexing method and terminal | |
US20230300825A1 (en) | Logic channel multiplexing method and apparatus, communication device, and storage medium | |
CN115884142A (en) | Bluetooth connection method and electronic equipment | |
CN113641431A (en) | Method and terminal equipment for enhancing display of two-dimensional code | |
CN113157092A (en) | Visualization method, terminal device and storage medium | |
CN114007202A (en) | Method for establishing binding relationship and related equipment | |
CN113543366A (en) | Mobile terminal, call method thereof, call server and call system | |
WO2024131878A1 (en) | Screen-mirroring method, electronic device, and system | |
CN111159734A (en) | Communication terminal and multi-application data inter-access processing method | |
CN115297467B (en) | Data domain switching method, device, terminal equipment and medium | |
US20240107540A1 (en) | Method for sending uplink control information, device 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210105 |