CN110248419B - Method and device for interrupting communication service - Google Patents
Method and device for interrupting communication service Download PDFInfo
- Publication number
- CN110248419B CN110248419B CN201811234744.4A CN201811234744A CN110248419B CN 110248419 B CN110248419 B CN 110248419B CN 201811234744 A CN201811234744 A CN 201811234744A CN 110248419 B CN110248419 B CN 110248419B
- Authority
- CN
- China
- Prior art keywords
- time slot
- terminal
- target
- frame
- frequency
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
- H04W76/34—Selective release of ongoing connections
- H04W76/36—Selective release of ongoing connections for reassigning the resources associated with the released connections
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Time-Division Multiplex Systems (AREA)
Abstract
The invention discloses a method and a device for interrupting communication service, wherein the method comprises the following steps: the first terminal is switched to a receiving state in a target first time slot and identifies whether the first terminal receives an interrupt control frame in the target first time slot; and if so, stopping sending the first service frame in a second time slot after the target first time slot. In the embodiment of the invention, the first terminal sends the first service frame at the second time slot, is switched to the receiving state at the target first time slot and is used for receiving the interrupt control frame, and stops sending the first service frame at the second time slot after the target first time slot when the target first time slot receives the interrupt control frame, so that the communication service interrupt is realized, the first terminal does not need to receive the interrupt control frame in a way of discarding the service frame when the communication service is carried out, the communication service interrupt is realized, and the communication quality is ensured.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for interrupting a communication service.
Background
The Digital Mobile Radio (DMR) standard is a completely new and all-Digital professional wireless communication standard promulgated by the European Telecommunications Standards Institute (ETSI), which employs a frame structure of double-slot Time Division Multiple Access (TDMA). Terminals with the DMR standard typically implement one or more communication services on a limited frequency resource using a single time slot or a double time slot of a TDMA. However, due to limited frequency resources, if the terminal finds that the current frequency is already used when initiating the communication service, a strategy is usually adopted to wait for the used frequency to be idle before initiating the communication service again. However, for an emergency communication service or a communication service with a higher priority, the terminal needs to initiate the communication service as soon as possible, and at this time, a scheme is needed to interrupt the currently ongoing communication service, so as to initiate the emergency communication service or the communication service with the higher priority.
In order to interrupt a communication service, in the prior art, generally, when a terminal that is appointed to perform the communication service transmits a service frame, the terminal discards the service frame according to a set time interval, does not transmit the service frame, converts the service frame into a receiving state, and is used for receiving an interrupt control frame; if the interrupt control frame is not received, the system returns to the sending state at the next time slot, and continues to send the service frame to carry out communication service.
However, in the prior art, the traffic frames need to be discarded at the set time interval and are not transmitted, and as the requirement for the delay of the interrupt communication traffic increases, the set time interval is reduced, which results in more frequent discarding of the traffic frames and inevitably leads to a reduction in communication quality.
Disclosure of Invention
The invention provides a method and a device for interrupting a communication service, which are used for solving the problem of reduced communication quality caused by discarding a service frame in the prior art.
In a first aspect, the present invention discloses a method for interrupting a communication service, which is applied to a first terminal, and the method includes:
the first terminal is switched to a receiving state in a target first time slot and identifies whether an interrupt control frame is received in the target first time slot or not;
and if so, stopping sending the first service frame in a second time slot after the target first time slot.
Further, the first terminal switches to a receiving state in the target first time slot, including:
the first terminal switches to a receiving state in a target first time slot, and receives an interrupt control frame on a first frequency, wherein the first frequency is different from a second frequency adopted by the first terminal for sending a service frame.
Further, before the first terminal switches to the receiving state in the target first time slot, the method further includes:
and judging whether the current first time slot is a target first time slot or not according to a preset receiving period, if so, switching the first terminal to a receiving state in the target first time slot, and identifying whether the first terminal receives an interrupt control frame in the target first time slot or not.
Further, if an interrupt control frame is received in the target first time slot, the method further comprises:
and sending a frame tail control information frame at a second time slot after the target first time slot, and indicating a third terminal receiving the first service frame to stop receiving the first service frame.
In a second aspect, the present invention discloses a method for interrupting a communication service, which is applied to a second terminal, and the method includes:
judging whether a second frequency for sending a second service frame is occupied by other terminals;
if so, sending an interrupt control frame to the first terminal occupying the second frequency in the target first time slot, and stopping the first terminal from sending the first service frame in a second time slot after the target first time slot.
Further, the sending an interrupt control frame to the first terminal occupying the second frequency in the target first time slot includes:
and sending an interrupt control frame to a first terminal occupying the second frequency by adopting a first frequency in a target first time slot, wherein the first frequency is different from the second frequency.
Further, before the target first time slot sends an interrupt control frame to the first terminal occupying the second frequency, the method further includes:
and judging whether the current first time slot is a target first time slot or not according to a preset receiving period, and if so, sending an interrupt control frame to the first terminal occupying the second frequency in the target first time slot.
Further, before the target first time slot sends an interrupt control frame to the first terminal occupying the second frequency, the method further includes:
judging whether the second service frame corresponds to an emergency communication service and/or judging whether the communication service priority corresponding to the second service frame is higher than the communication service priority corresponding to the first service frame;
if at least one item is yes, sending an interrupt control frame to the first terminal occupying the second frequency in the target first time slot.
In a third aspect, the present invention discloses a device for interrupting a communication service, which is applied to a first terminal, and the device includes:
the identification module is used for switching the first terminal into a receiving state in a target first time slot, identifying whether the first terminal receives an interrupt control frame in the target first time slot, and triggering the interrupt module when the identification result is yes;
and the interruption module is used for stopping sending the first service frame in a second time slot after the target first time slot.
Further, the identification module is specifically configured to switch the first terminal to a receiving state in a target first time slot, and receive an interrupt control frame on a first frequency, where the first frequency is different from a second frequency used by the first terminal to send a service frame.
Further, the apparatus further comprises:
and the judging module is used for judging whether the current first time slot is the target first time slot or not according to the preset receiving period, and if so, triggering the identification module.
Further, the apparatus further comprises:
and a sending module, configured to send a frame tail control information frame at a second time slot after the target first time slot if the interrupt control frame is received at the target first time slot, and instruct a third terminal that receives the first service frame to stop receiving the first service frame.
In a fourth aspect, the present invention discloses a device for interrupting a communication service, which is applied to a second terminal, and the device includes:
the first judging module is used for judging whether a second frequency for sending the second service frame is occupied by other terminals or not, and if so, the sending module is triggered;
and a sending module, configured to send an interrupt control frame to a first terminal occupying the second frequency in a target first time slot, so that the first terminal stops sending a first service frame in a second time slot after the target first time slot.
Further, the sending module is specifically configured to send an interrupt control frame to a first terminal occupying the second frequency by using a first frequency in a target first time slot, where the first frequency is different from the second frequency.
Further, the apparatus further comprises:
and the second judging module is used for judging whether the current first time slot is the target first time slot or not according to the preset receiving period, and if so, triggering the sending module.
Further, the apparatus further comprises:
a third judging module, configured to judge whether the second service frame corresponds to an emergency communication service, and/or judge whether a priority of a communication service corresponding to the second service frame is higher than a priority of a communication service corresponding to the first service frame; if at least one item is yes, the sending module is triggered.
The invention discloses a method and a device for interrupting communication service, wherein the method comprises the following steps: the first terminal is switched to a receiving state in a target first time slot and identifies whether the first terminal receives an interrupt control frame in the target first time slot; and if so, stopping sending the first service frame in a second time slot after the target first time slot. In the embodiment of the invention, the first terminal only sends the first service frame at the second time slot, is switched to the receiving state at the target first time slot and is used for receiving the interrupt control frame, and stops sending the first service frame at the second time slot after the target first time slot when the target first time slot receives the interrupt control frame, so that the communication service interrupt is realized, the first terminal does not need to receive the interrupt control frame in a way of discarding the service frame when the communication service is carried out, the communication service interrupt is realized, and the communication quality is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating a process of interrupting a communication service according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an operating timeslot of a terminal operating based on TDMA dual timeslots according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a communication system in a direct-access/offline communication mode according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a frame format of an interrupt control frame according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a communication system in a relay/presence network communication mode according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a process of interrupting a communication service according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a device for interrupting a communication service according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a device for interrupting a communication service 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.
Fig. 1 is a schematic diagram of a process of interrupting a communication service according to an embodiment of the present invention, where the process includes:
s101: and the first terminal is switched to a receiving state in the target first time slot, identifies whether the first terminal receives the interrupt control frame in the target first time slot, if so, performs S102, and if not, ends.
S102: and stopping transmitting the first traffic frame in a second time slot after the target first time slot.
The method for interrupting the communication service provided by the embodiment of the invention is applied to the first terminal, wherein the first terminal can be an interphone and other equipment. Specifically, the method for interrupting a communication service according to the embodiment of the present invention may be applied to a direct connection/offline communication mode between terminals without relay stations, or may be applied to a relay/online communication mode between terminals with relay stations.
Fig. 2 is a schematic diagram of an operating timeslot of a terminal operating based on TDMA dual timeslots according to an embodiment of the present invention, as shown in fig. 2, the dual timeslots of the TDMA are respectively represented by timeslot 0 and timeslot 1, and each TDMA cycle includes timeslot 0 and timeslot 1. In the embodiment of the present invention, the first time slot may be time slot 0 or time slot 1, and the first time slot is different from the second time slot, that is, when the first time slot is time slot 0, the second time slot is time slot 1; when the first slot is slot 1, the second slot is slot 0. In addition, in the embodiment of the present invention, all the first timeslots may be set as the target first timeslots, or the set first timeslots may be set as the target first timeslots.
In an embodiment of the present invention, the switching, by the first terminal, to the receiving state in the target first timeslot includes:
the first terminal switches to a receiving state in a target first time slot and receives an interrupt control frame on a first frequency.
Specifically, the first terminal only uses the second frequency to send the first service frame in the second time slot as a sending state, and performs the first communication service of the first terminal; switching to a receiving state in a target first time slot, and adopting a first frequency for receiving an interrupt control frame which may appear; if the second terminal needs to send a second service frame at the second frequency, the second terminal performs a second communication service of the second terminal, and the first communication service of the first terminal needs to be interrupted, so that the first terminal releases the occupied resources of the second time slot and the second frequency.
And the second terminal detects that a second frequency for transmitting the second service frame is occupied by the first terminal in a second time slot, and transmits the interrupt control frame by adopting the first frequency in a target first time slot. If the first terminal receives the interrupt control frame in the target first time slot, the first terminal stops sending the first service frame in the second time slot after the target first time slot, interrupts the first communication service, and stops occupying the second time slot and the second frequency, so that the second terminal can send the second service frame in the second time slot by adopting the second frequency to carry out the second communication service of the second terminal. In the embodiment of the present invention, the first frequency and the second frequency may be the same or different, and preferably, the second frequency is different from the first frequency in order to avoid communication collision and interference.
In addition, in order to ensure that the communication service is normally performed, in the embodiment of the present invention, the second terminal sends the interrupt control frame to the first terminal only when the second service frame that the second terminal needs to send corresponds to the emergency communication service and/or the communication service priority corresponding to the second service frame is higher than the communication service priority corresponding to the first service frame of the first terminal.
In the embodiment of the invention, the first terminal only sends the first service frame at the second time slot, is switched to the receiving state at the target first time slot and is used for receiving the interrupt control frame, and stops sending the first service frame at the second time slot after the target first time slot when the target first time slot receives the interrupt control frame, so that the communication service interrupt is realized, the first terminal does not need to receive the interrupt control frame in a way of discarding the service frame when the communication service is carried out, the communication service interrupt is realized, and the communication quality is ensured.
In addition, in the embodiment of the invention, because the time slot for sending the interrupt control is different from the time slot for sending the service frame, the interrupt control frame can be sent more frequently, thereby ensuring the timeliness of the communication service interrupt.
To facilitate the knowledge of the communication service status of the first terminal, on the basis of the foregoing embodiment, in an embodiment of the present invention, if an interrupt control frame is received in the target first time slot, the method further includes:
and sending a frame tail control information frame at a second time slot after the target first time slot, and indicating a third terminal receiving the first service frame to stop receiving the first service frame.
Specifically, if the first terminal receives the interrupt control frame in the target first time slot, it needs to stop sending the first service frame in the second time slot after the target first time slot, and in order to facilitate the third terminal receiving the first service frame to know the communication service state of the first terminal. Specifically, the first terminal sends the frame tail control information frame by using the second frequency in the second time slot after the target first time slot. In the embodiment of the present invention, there may be one or more third terminals that receive the first service frame sent by the first terminal, where the second terminal may also be any one of the third terminals.
For example, as shown in fig. 3, a communication service interruption of the communication system in the communication mode in which there is no direct connection/disconnection between terminals of the relay station will be described as an example. First, the partial terms related to fig. 3 are explained in an analytic manner so as to be understood by those skilled in the art, where the first terminal is terminal a, the second terminal is terminal C, the third terminal receiving the first traffic frame transmitted by terminal a includes terminal B and terminal C, the second time slot is time slot 0, the first time slot is time slot 1, the second frequency is RF2 frequency, and the first frequency is RF1 frequency.
Specifically, step 1: terminal a transmits a first traffic frame using RF2 frequency in timeslot 0 of the dual-timeslot TDMA, performs a first communication service, switches to a receiving state in timeslot 1, uses RF1 frequency for receiving interrupt control frames that may occur, and terminals B and C receive the first traffic frame transmitted by terminal a using RF2 frequency in timeslot 0, where RF2 frequency and RF1 frequency may be the same or different, preferably, RF2 frequency and RF1 frequency are preferably considered different in order to avoid collision and interference with other communications that may occur with timeslot 1.
Step 2: if the terminal C needs to transmit the second service frame by using the RF2 frequency in the slot 0 of the current dual-slot for the second communication service, at this time, the RF2 frequency of the slot 0 is already occupied by the terminal a, and the terminal C switches the frequency to the RF1 frequency in the slot 1.
And step 3: a terminal C generates an interrupt control frame, as shown in fig. 4, which is a frame format schematic diagram of an interrupt control frame provided in the embodiment of the present invention, wherein LB is a frame structure indicator bit, and is fixedly set to 1 in the most significant bit of Byte (Byte) 0; PF is a reserved flag bit, and is fixedly set to be 0 at the position of bit (bit)6 of Byte 0; CSBKO is the lowest 6 bits of Byte 0 and can be set to be 000100; defining Byte1 as an FID identifier and defining a private identifier segment as 00010001; byte 2 is a Service option (Service Options), a field is defined as 00000010, and the field identifies that the current transmission is an interrupt control frame; byte 3 is a reserved information field, is temporarily not used and is set to 00000000 by default; byte 4 to Byte 6 define the receiving address of the target receiver of the interrupt control frame, the address is 24bit wide, in this example, the target receiver is terminal a; byte 7 to Byte 9 define the information as the address of the initiator of the interrupt control frame, the address is 24bit wide, in this example, the initiator is terminal C; the bytes 10-11 are frame check bits, and adopt CRC16 or other check modes.
And 4, step 4: and the terminal C sends the generated interrupt control frame by adopting the RF1 frequency in the time slot 1, at the moment, the terminal A is switched to a receiving mode in the time slot 0 and is in the RF1 frequency, after the terminal A receives the interrupt control frame, the terminal A analyzes the frame information, confirms whether the receiving address of the frame information is the same as the source address information of the terminal A, and then sequentially confirms whether the field information contents such as CSKBO, FID, Service Options and the like are the contents of the interrupt control frame, so as to verify the contents of the interrupt control frame.
And 5: if the verification is wrong, the terminal A continues to transmit the first service frame in the following time slot 0.
Step 6: if the verification is not wrong, the terminal A stops sending the first service frame in the subsequent time slot 0, and immediately sends a frame tail control information frame, the terminal B and the terminal C which receive the first service frame sent by the terminal A are indicated to stop receiving the first service frame, and the first communication service of the first terminal is ended.
And 7: after receiving the service frame end information sent by terminal a on the frequency of timeslot 0, RF2, terminal C confirms that terminal a has stopped the current first communication service.
And 8: the terminal C successfully interrupts the first communication service of the terminal a, and may transmit the second traffic frame of its own emergency communication service or a high priority communication service using the RF2 frequency at the time slot 0.
In order to ensure normal operation of the communication service, on the basis of the foregoing embodiments, before the first terminal switches to the receiving state in the target first time slot, the method further includes:
and judging whether the current first time slot is a target first time slot or not according to a preset receiving period, if so, switching the first terminal to a receiving state in the target first time slot, and identifying whether the first terminal receives an interrupt control frame in the target first time slot or not.
In the embodiment of the present invention, the first terminal may further determine the target first timeslot according to a preset receiving period, where the preset receiving period may be one TDMA cycle, two TDMA cycles, five TDMA cycles, and the like, and only in the target first timeslot, use the first frequency for receiving the interrupt control frame that may occur.
For example, as shown in fig. 5, the determination of a target first slot according to a set reception cycle and the implementation of communication service interruption will be described as an example of communication service interruption in a communication system in a relay/on-network communication mode in which a relay station exists between terminals. First, the partial expressions related to fig. 5 are explained in an analytic manner so that those skilled in the art can understand that, the first terminal is terminal a, the second terminal is terminal C, and the third terminal receiving the first traffic frame transmitted by terminal a includes terminal B and terminal C, the second slot is slot 0, the first slot is slot 1, the second frequency is RF2 frequency, the first frequency is RF1 frequency, and the third frequency is RF3 frequency.
Specifically, step 1: the terminal A transmits a first service frame by using the RF2 frequency in the time slot 0 of the double-time-slot TDMA to perform a first communication service, and determines whether the current time slot 1 is the target time slot 1 according to a preset period, and switches to a receiving state when the current time slot 1 is the target time slot 1, and uses the RF1 frequency for receiving an interrupt control frame which may occur, after the relay station receives the first service frame transmitted by the terminal A by using the RF3 frequency in the RF2 frequency, the terminal B and the terminal C receive the first service frame forwarded by the relay station by using the RF3 frequency in the time slot 0, preferably, in the embodiment of the invention, in order to prevent the conflict with the RF3 frequency used by the relay station, the RF1 is different from the RF 3.
Step 2: if the terminal C needs to transmit the second service frame by using the RF2 frequency in the slot 0 of the current dual-slot for the second communication service, at this time, the RF2 frequency of the slot 0 is already occupied by the terminal a, and the terminal C switches the frequency to the RF1 frequency in the slot 1.
And step 3: a terminal C generates an interrupt control frame, and as shown in fig. 4, is a frame format schematic diagram of an interrupt control frame according to an embodiment of the present invention, where LB is a frame structure indicator bit, and is fixedly set to 1 in the highest bit of Byte (Byte) 0; PF is a reserved flag bit, and is fixedly set to be 0 at the position of bit (bit)6 of Byte 0; CSBKO is the lowest 6 bits of Byte 0 and can be set to be 000100; defining Byte1 as an FID identifier and defining a private identifier segment as 00010001; byte 2 is a Service option (Service Options), a field is defined as 00000010, and the field identifies that the current transmission is an interrupt control frame; byte 3 is a reserved information field, is temporarily not used and is set to 00000000 by default; byte 4 to Byte 6 define the receiving address of the target receiver of the interrupt control frame, the address is 24bit wide, in this example, the target receiver is terminal a; byte 7 to Byte 9 define the information as the address of the initiator of the interrupt control frame, the address is 24bit wide, in this example, the initiator is terminal C; the Byte 10 to the Byte11 are frame check bits and adopt CRC16 or other check modes.
And 4, step 4: the terminal C transmits the generated interrupt control frame using the RF1 frequency in the slot 1, at which time the terminal a switches to the reception mode in the slot 1 and uses the RF1 frequency for receiving the interrupt control frame that may occur according to a predetermined period.
Since the terminal a switches to the receiving mode in the timeslot 1 and uses the RF1 frequency for receiving the interrupt control frame that may occur according to the preset period, the terminal C needs to continuously transmit a plurality of interrupt control frames in a plurality of timeslots 1 to ensure that the terminal a can receive the interrupt control frame, the number of times that the terminal C transmits the interrupt control frame is determined according to the preset period of the terminal a, for example, if the terminal a uses one timeslot 1 to wait for the RF1 frequency on the timeslot 1, the timeslot 1 returns to the alternating mode that the RF3 frequency receives other information, that is, the terminal a uses two TDMA periods as the preset period, and the terminal C needs to transmit the interrupt control frame at least twice continuously to ensure that the terminal C can correctly receive the interrupt control frame. Preferably, the terminal C may also determine the target first timeslot according to a preset period, and send the interrupt control frame in the target first timeslot. After receiving the interrupt control frame, the terminal A analyzes the frame information, confirms whether the receiving address of the frame information is the same as the source address information of the terminal A, and then sequentially confirms whether the field information contents such as CSKBO, FID, Service Options and the like are the contents of the interrupt control frame, so as to verify the contents of the interrupt control frame.
And 5: if the verification is wrong, the terminal A continues to transmit the first service frame in the following time slot 0.
Step 6: if the verification is not wrong, the terminal A stops sending the first service frame in the subsequent time slot 0, and immediately sends a frame tail control information frame, which is used for indicating the terminal B and the terminal C which receive the first service frame sent by the terminal A to stop receiving the first service frame, and the first communication service of the first terminal is ended.
And 7: after receiving the frame-tail control frame transmitted by the terminal a on the RF2 frequency of the timeslot 0, the relay station forwards the frame-tail control frame on the RF3 frequency, and after receiving the frame-tail control information frame forwarded by the relay station R on the RF3 frequency, the terminal C confirms that the terminal a has stopped the current first communication service.
And 8: the terminal C successfully interrupts the first communication service of the terminal a, and may transmit the second traffic frame of its own emergency communication service or a high priority communication service on the frequency of RF2 at the time slot 0.
In the embodiment of the invention, the specific target time slot on the adjacent time slot is utilized to transmit the interrupt control information frame, but other appointed frequencies can be adopted for communication, so that the normal mutual communication between other communication terminals in the time slot is not influenced.
Fig. 6 is a schematic diagram of a process of interrupting a communication service according to an embodiment of the present invention, where the process includes:
s601: and judging whether the second frequency for sending the second service frame is occupied by other terminals, if so, performing S602, and if not, ending.
S602: and sending an interrupt control frame to a first terminal occupying the second frequency in a target first time slot, so that the first terminal stops sending a first service frame in a second time slot after the target first time slot.
The method for interrupting the communication service provided by the embodiment of the invention is applied to the second terminal, wherein the second terminal can be an interphone and other equipment. Specifically, the method for interrupting a communication service provided in the embodiment of the present invention may be applied to a direct-connection/offline communication mode between terminals where no relay station exists, or may be applied to a relay/online communication mode between terminals where a relay station exists.
Fig. 2 is a schematic diagram of an operating timeslot of a terminal operating based on TDMA dual timeslots according to an embodiment of the present invention, as shown in fig. 2, the dual timeslots of the TDMA are respectively represented by timeslot 0 and timeslot 1, and each TDMA cycle includes timeslot 0 and timeslot 1. In the embodiment of the present invention, the first time slot may be time slot 0 or time slot 1, and the first time slot is different from the second time slot, that is, when the first time slot is time slot 0, the second time slot is time slot 1; when the first slot is slot 1, the second slot is slot 0. In addition, in the embodiment of the present invention, all the first timeslots may be set as the target first timeslots, or the set first timeslots may be set as the target first timeslots.
In this embodiment of the present invention, the sending an interrupt control frame to the first terminal occupying the second frequency in the target first time slot includes:
and sending an interrupt control frame to the first terminal occupying the second frequency by adopting the first frequency in the target first time slot.
Specifically, the first terminal only uses the second frequency to send the first service frame in the second time slot as a sending state, and performs the first communication service of the first terminal; switching to a receiving state in a target first time slot, and adopting a first frequency for receiving an interrupt control frame which may appear; if the second terminal needs to send a second service frame at the second frequency, the second terminal performs a second communication service of the second terminal, and the first communication service of the first terminal needs to be interrupted, so that the first terminal releases the occupied resources of the second time slot and the second frequency.
And the second terminal detects that a second frequency for transmitting the second service frame is occupied by the first terminal in a second time slot, and transmits the interrupt control frame by adopting the first frequency in a target first time slot. If the first terminal receives the interrupt control frame in the target first time slot, the first terminal stops sending the first service frame in the second time slot after the target first time slot, interrupts the first communication service, and stops occupying the second time slot and the second frequency, so that the second terminal can send the second service frame in the second time slot by adopting the second frequency to carry out the second communication service of the second terminal. In the embodiment of the present invention, the first frequency and the second frequency may be the same or different, and preferably, the second frequency is different from the first frequency in order to avoid communication collision and interference.
In addition, in order to ensure that the communication service is normally performed, in an embodiment of the present invention, before the target first time slot sends an interrupt control frame to the first terminal occupying the second frequency, the method further includes:
judging whether the second service frame corresponds to an emergency communication service and/or judging whether the communication service priority corresponding to the second service frame is higher than the communication service priority corresponding to the first service frame;
if at least one item is yes, sending an interrupt control frame to the first terminal occupying the second frequency in the target first time slot.
Specifically, the second terminal sends the interrupt control frame to the first terminal only when the second terminal needs to send the emergency communication service corresponding to the second service frame and/or the communication service priority corresponding to the second service frame is higher than the communication service priority corresponding to the first service frame of the first terminal.
In the embodiment of the invention, the first terminal only sends the first service frame at the second time slot, is switched to the receiving state at the target first time slot and is used for receiving the interrupt control frame, and stops sending the first service frame at the second time slot after the target first time slot when the target first time slot receives the interrupt control frame, so that the communication service interrupt is realized, the first terminal does not need to receive the interrupt control frame in a way of discarding the service frame when the communication service is carried out, the communication service interrupt is realized, and the communication quality is ensured.
In order to ensure normal operation of the communication service, on the basis of the foregoing embodiments, before the target first time slot sends an interrupt control frame to the first terminal occupying the second frequency, the method further includes:
and judging whether the current first time slot is a target first time slot or not according to a preset receiving period, and if so, sending an interrupt control frame to the first terminal occupying the second frequency in the target first time slot.
In order to ensure the accuracy of the communication service interruption, in the embodiment of the present invention, the second terminal may further determine the target first timeslot according to a preset receiving period, where the preset receiving period may be one TDMA period, two TDMA periods, five TDMA periods, and so on. Specifically, in the embodiment of the present invention, the preset receiving period in the second terminal is the same as the preset receiving period in the first terminal.
Fig. 7 is a schematic structural diagram of a device for interrupting a communication service according to an embodiment of the present invention, where the device is applied to a first terminal, and the device includes:
the identifying module 71 is configured to switch the first terminal to a receiving state in the target first time slot, identify whether the first terminal receives the interrupt control frame in the target first time slot, and trigger the interrupt module if the identification result is yes;
an interruption module 72, configured to stop sending the first traffic frame in a second time slot after the target first time slot.
The identifying module 71 is specifically configured to switch the first terminal to a receiving state in a target first time slot, and receive an interrupt control frame on a first frequency, where the first frequency is different from a second frequency used by the first terminal to send a service frame.
The device further comprises:
and the judging module 73 is configured to judge whether the current first time slot is the target first time slot according to a preset receiving period, and if so, trigger the identifying module.
The device further comprises:
a sending module 74, configured to send an end-of-frame control information frame at a second timeslot after the target first timeslot if the interrupt control frame is received at the target first timeslot, and instruct a third terminal that receives the first service frame to stop receiving the first service frame.
Fig. 8 is a schematic structural diagram of a device for interrupting a communication service according to an embodiment of the present invention, where the device is applied to a second terminal, and the device includes:
a first judging module 81, configured to judge whether a second frequency for sending a second service frame is occupied by another terminal, and if the second frequency is occupied by another terminal, trigger the sending module;
a sending module 82, configured to send an interrupt control frame to the first terminal occupying the second frequency in the target first time slot, so that the first terminal stops sending the first service frame in a second time slot after the target first time slot.
The sending module 82 is specifically configured to send an interrupt control frame to a first terminal occupying the second frequency by using a first frequency in a target first time slot, where the first frequency is different from the second frequency.
The device further comprises:
and a second determining module 83, configured to determine whether the current first time slot is the target first time slot according to a preset receiving period, and if so, trigger the sending module.
The device further comprises:
a third determining module 84, configured to determine whether the second service frame corresponds to an emergency communication service, and/or determine whether a priority of a communication service corresponding to the second service frame is higher than a priority of a communication service corresponding to the first service frame; if at least one item is yes, the sending module is triggered.
The invention discloses a method and a device for interrupting communication service, wherein the method comprises the following steps: the first terminal is switched to a receiving state in a target first time slot and identifies whether the first terminal receives an interrupt control frame in the target first time slot; the first terminal is switched to a receiving state in a target first time slot and identifies whether the first terminal receives an interrupt control frame in the target first time slot; in the embodiment of the invention, the first terminal sends the first service frame in the second time slot, is switched to the receiving state in the first time slot and is used for receiving the interrupt control frame, and stops sending the first service frame in the second time slot after the target first time slot when the target first time slot receives the interrupt control frame, so that the communication service interrupt is realized, the first terminal does not need to receive the interrupt control frame in a way of discarding the service frame when the communication service is carried out, the communication service interrupt is realized, and the communication quality is ensured.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, 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, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
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 (12)
1. A method of communication service interruption, applied to a first terminal, the method comprising:
the first terminal is switched to a receiving state in a target first time slot and identifies whether an interrupt control frame is received in the target first time slot or not;
if yes, stopping sending the first service frame in a second time slot after the target first time slot;
the first terminal is switched to a receiving state in a target first time slot, and the method comprises the following steps:
the first terminal switches to a receiving state in a target first time slot, and receives an interrupt control frame on a first frequency, wherein the first frequency is different from a second frequency adopted by the first terminal for sending a service frame.
2. The method of claim 1, wherein the first terminal switches to a receive state before the target first time slot, the method further comprising:
and judging whether the current first time slot is a target first time slot or not according to a preset receiving period, if so, switching the first terminal to a receiving state in the target first time slot, and identifying whether the first terminal receives an interrupt control frame in the target first time slot or not.
3. The method of claim 1, wherein if an interrupt control frame is received in the target first time slot, the method further comprises:
and sending a frame tail control information frame at a second time slot after the target first time slot, and indicating a third terminal receiving the first service frame to stop receiving the first service frame.
4. A method of communication service interruption, applied to a second terminal, the method comprising:
judging whether a second frequency for sending a second service frame is occupied by other terminals;
if yes, sending an interrupt control frame to a first terminal occupying the second frequency in a target first time slot, and stopping the first terminal from sending a first service frame in a second time slot after the target first time slot;
the sending an interrupt control frame to the first terminal occupying the second frequency in the target first time slot includes: and sending an interrupt control frame to a first terminal occupying the second frequency by adopting a first frequency in a target first time slot, wherein the first frequency is different from the second frequency.
5. The method of claim 4, wherein prior to the target first time slot sending an interrupt control frame to the first terminal occupying the second frequency, the method further comprises:
and judging whether the current first time slot is a target first time slot or not according to a preset receiving period, and if so, sending an interrupt control frame to the first terminal occupying the second frequency in the target first time slot.
6. The method of claim 4, wherein prior to the target first time slot sending an interrupt control frame to the first terminal occupying the second frequency, the method further comprises:
judging whether the second service frame corresponds to an emergency communication service and/or judging whether the communication service priority corresponding to the second service frame is higher than the communication service priority corresponding to the first service frame;
if at least one item is yes, sending an interrupt control frame to the first terminal occupying the second frequency in the target first time slot.
7. An apparatus for communication service interruption, applied to a first terminal, the apparatus comprising:
the identification module is used for switching the first terminal into a receiving state in a target first time slot, identifying whether the first terminal receives an interrupt control frame in the target first time slot, and triggering the interrupt module when the identification result is yes;
an interruption module, configured to stop sending a first service frame at a second time slot after the target first time slot;
the identification module is specifically configured to switch the first terminal to a receiving state in a target first time slot, and receive an interrupt control frame on a first frequency, where the first frequency is different from a second frequency used by the first terminal to send a service frame.
8. The apparatus of claim 7, wherein the apparatus further comprises:
and the judging module is used for judging whether the current first time slot is the target first time slot or not according to the preset receiving period, and if so, triggering the identification module.
9. The apparatus of claim 7, wherein the apparatus further comprises:
and a sending module, configured to send a frame tail control information frame at a second time slot after the target first time slot if the interrupt control frame is received at the target first time slot, and instruct a third terminal that receives the first service frame to stop receiving the first service frame.
10. An apparatus for communication service interruption, applied to a second terminal, the apparatus comprising:
the first judging module is used for judging whether a second frequency for sending the second service frame is occupied by other terminals or not, and if so, the sending module is triggered;
a sending module, configured to send an interrupt control frame to a first terminal occupying the second frequency in a target first time slot, so that the first terminal stops sending a first service frame in a second time slot after the target first time slot;
the sending module is specifically configured to send an interrupt control frame to a first terminal occupying a second frequency by using a first frequency in a target first time slot, where the first frequency is different from the second frequency.
11. The apparatus of claim 10, wherein the apparatus further comprises:
and the second judging module is used for judging whether the current first time slot is the target first time slot or not according to the preset receiving period, and if so, triggering the sending module.
12. The apparatus of claim 10, wherein the apparatus further comprises:
a third judging module, configured to judge whether the second service frame corresponds to an emergency communication service, and/or judge whether a priority of a communication service corresponding to the second service frame is higher than a priority of a communication service corresponding to the first service frame; if at least one item is yes, the sending module is triggered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811234744.4A CN110248419B (en) | 2018-10-23 | 2018-10-23 | Method and device for interrupting communication service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811234744.4A CN110248419B (en) | 2018-10-23 | 2018-10-23 | Method and device for interrupting communication service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110248419A CN110248419A (en) | 2019-09-17 |
CN110248419B true CN110248419B (en) | 2022-08-09 |
Family
ID=67882868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811234744.4A Active CN110248419B (en) | 2018-10-23 | 2018-10-23 | Method and device for interrupting communication service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110248419B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101959069A (en) * | 2009-07-20 | 2011-01-26 | 中兴通讯股份有限公司 | Method for transmitting and acquiring service information by using multiplex frame |
CN102057636A (en) * | 2008-06-10 | 2011-05-11 | 摩托罗拉公司 | System and method for interrupting a transmitting device in a communication system |
CN102291838A (en) * | 2011-08-15 | 2011-12-21 | 海能达通信股份有限公司 | Methods and devices for sending and receiving high priority service in direct mode |
WO2012088922A1 (en) * | 2010-12-31 | 2012-07-05 | 华为技术有限公司 | Resource configuration method for streaming media service, user service terminal and head end system |
CN103974440A (en) * | 2013-01-29 | 2014-08-06 | 电信科学技术研究院 | Processing method and device for time slot resources in Internet of vehicles |
CN108566681A (en) * | 2018-02-02 | 2018-09-21 | 福建科立讯通信有限公司 | A kind of method that call transmitting terminal is interrupted in narrowband radio digital communication system |
-
2018
- 2018-10-23 CN CN201811234744.4A patent/CN110248419B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102057636A (en) * | 2008-06-10 | 2011-05-11 | 摩托罗拉公司 | System and method for interrupting a transmitting device in a communication system |
CN101959069A (en) * | 2009-07-20 | 2011-01-26 | 中兴通讯股份有限公司 | Method for transmitting and acquiring service information by using multiplex frame |
WO2012088922A1 (en) * | 2010-12-31 | 2012-07-05 | 华为技术有限公司 | Resource configuration method for streaming media service, user service terminal and head end system |
CN102291838A (en) * | 2011-08-15 | 2011-12-21 | 海能达通信股份有限公司 | Methods and devices for sending and receiving high priority service in direct mode |
CN103974440A (en) * | 2013-01-29 | 2014-08-06 | 电信科学技术研究院 | Processing method and device for time slot resources in Internet of vehicles |
CN108566681A (en) * | 2018-02-02 | 2018-09-21 | 福建科立讯通信有限公司 | A kind of method that call transmitting terminal is interrupted in narrowband radio digital communication system |
Non-Patent Citations (1)
Title |
---|
利用干扰消除的协同中继传输方案;李国友等;《应用科学学报》;20130330(第02期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110248419A (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10959266B2 (en) | OFDMA contention method and access point | |
CN111294752B (en) | Method and device for determining candidate resources for V2X transmission, storage medium and user equipment | |
US20230063943A1 (en) | Method and terminal device for resource selection, and storage medium | |
KR20210042345A (en) | Information transmission method and device | |
WO2018058558A1 (en) | Resource selecting method and terminal device | |
CN107682930B (en) | Resource selection method and device | |
US11956817B2 (en) | Communication method, apparatus and system in unlicensed spectrums | |
CN111918270B (en) | Communication card switching processing method and device | |
CN110463280B (en) | Channel access configuration method, device, equipment and storage medium | |
EP3179656B1 (en) | Data transmission feedback, data transmission method and device | |
CN110808873A (en) | Method and device for detecting link failure | |
CN111435871A (en) | Method and equipment for determining feedback resources in sidelink | |
EP4161197A1 (en) | Cross-system interference avoidance method, device and system | |
CN106161497A (en) | From WIFI module and the most adaptive method of attachment of WIFI module of adaptive connection protocol | |
EP4161193A1 (en) | Inter-system interference avoidance method, device and system | |
CN110248419B (en) | Method and device for interrupting communication service | |
CN102711272A (en) | Data transmission method and device for private network communication | |
CN111294148B (en) | Signaling transmission and receiving method and device, storage medium and terminal | |
CN109729567B (en) | Message processing method, access point equipment and message processing equipment | |
RU2735729C1 (en) | Random access method and equipment | |
CN106559192B (en) | OFDMA-based data transmission method and related equipment | |
CN112752255B (en) | Paging control method, device, terminal and computer readable storage medium | |
CN107148057B (en) | Link information processing method and system and link machine | |
CN114765897A (en) | Communication method and device | |
CN112888032B (en) | Lossless switching method, target base station and lossless switching system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200924 Address after: Room 1201, building a, 1181 Bin'an Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Zhejiang Xinsheng Electronic Technology Co.,Ltd. Address before: Hangzhou City, Zhejiang province Binjiang District 310053 shore road 1187 Applicant before: ZHEJIANG DAHUA TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |