CN106851834B - Communication method and device - Google Patents

Communication method and device Download PDF

Info

Publication number
CN106851834B
CN106851834B CN201710002746.XA CN201710002746A CN106851834B CN 106851834 B CN106851834 B CN 106851834B CN 201710002746 A CN201710002746 A CN 201710002746A CN 106851834 B CN106851834 B CN 106851834B
Authority
CN
China
Prior art keywords
relay station
user equipment
indication signal
module
activation signal
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
Application number
CN201710002746.XA
Other languages
Chinese (zh)
Other versions
CN106851834A (en
Inventor
蔡锦恩
谢国军
陈沪东
方伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Huatu Microchip Technology Co ltd
Original Assignee
Zhejiang Huatu Microchip Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Huatu Microchip Technology Co ltd filed Critical Zhejiang Huatu Microchip Technology Co ltd
Priority to CN201710002746.XA priority Critical patent/CN106851834B/en
Publication of CN106851834A publication Critical patent/CN106851834A/en
Application granted granted Critical
Publication of CN106851834B publication Critical patent/CN106851834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0078Timing of allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Abstract

The application discloses a communication method and a communication device, which are used for realizing that when a relay station is abnormal, user equipment can be automatically switched to an off-line state to carry out communication by adopting a direct communication mode, so that communication failure between the user equipment is avoided, smooth communication is ensured, and the communication efficiency is improved. The communication method provided by the embodiment of the application comprises the following steps: the method comprises the steps that a first user device detects an indication signal that a relay station is in a normal state, wherein the relay station is used for relaying data transmitted between the first user device and a second user device; and the first user equipment directly communicates with the second user equipment when the indication signal is not detected continuously within a first preset time length.

Description

Communication method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication method and apparatus.
Background
DMR is a European private network wireless communication standard promulgated by the European Telecommunications Standards Institute (ETSI) that employs a frame structure of double time slot Time Division Multiple Access (TDMA). The standard is a technical-advanced brand-new full digital professional wireless communication standard. The digital communication equipment adopting the standard supports the transfer of wireless signals with different uplink and downlink frequencies and also supports the direct communication between two wireless terminal equipment with the same frequency. The communication mechanism of the DMR standard uses a dual-timeslot TDMA structure to divide the air interface time into two timeslot windows, and one of the timeslots is only needed for one service. Therefore, the standard DMR relay station can simultaneously support two paths of digital terminal equipment to simultaneously communicate, the frequency resource utilization rate of the relay station is greatly improved, and meanwhile, the communication range of the digital terminal equipment can be effectively expanded by utilizing the relay station to carry out business communication.
Due to the advantages of the DMR relay station, the mode of communication by the DMR relay station in the market is more and more widely applied. However, for example, during digital intercom using the relay station, a fault of the relay station system or a power failure may occur, and at this time, the relay station may not work normally, which may cause that the digital terminal cannot find the uplink when communicating using the relay station, thereby causing a communication failure.
At present, the following two processing modes are adopted under the condition that the transfer platform cannot work normally: one is to cancel communication, wait until the transfer station can work normally, and then initiate a call request again; the other is to cancel the current communication and manually switch the terminal initiated by the service to the off-line state, i.e. the service initiating terminal and the target terminal sent by the service adopt a direct communication mode without a relay station to carry out the service communication. However, the second manual switching mode to the off-line state requires manual intervention by personnel, and is very inconvenient to operate. In addition, in communication process, if the revolving stage breaks down and leads to the unable normal work of revolving stage, the terminal initiating terminal of this moment does not know that the revolving stage has been unable normal work, and the terminal initiating terminal still can carry out invalid transmission to the revolving stage of unable normal work all the time to lead to communication failure.
To sum up, at present, under the condition that the relay station fails to work normally, the prior art cannot realize that the terminal is automatically switched to the off-line state to communicate with the target terminal in the direct communication mode, and the relay station fails in the communication process, and the terminal cannot know that the relay station cannot work normally, so that the relay station cannot be switched to the off-line state to communicate with the target terminal in the direct communication mode, and the communication cannot be carried out smoothly.
Disclosure of Invention
The embodiment of the application provides a communication method and a communication device, which are used for realizing that when a relay station is abnormal, user equipment can be automatically switched to an off-line state to carry out communication in a direct communication mode, so that communication failure between the user equipment is avoided, smooth communication is ensured, and communication efficiency is improved.
The communication method provided by the embodiment of the application comprises the following steps:
the method comprises the steps that a first user device detects an indication signal that a relay station is in a normal state, wherein the relay station is used for relaying data transmitted between the first user device and a second user device;
and the first user equipment directly communicates with the second user equipment when the indication signal is not detected continuously within a first preset time length.
According to the communication method provided by the embodiment of the application, whether the relay station is in the normal state or not is determined by detecting the indication signal that the relay station is in the normal state, and when the relay station is determined to be in the abnormal state, the user equipment is automatically switched to the off-line state to directly communicate with the second user equipment, so that the inconvenience of manual intervention when the relay station is in the abnormal state is avoided; in addition, by using the communication method provided by the embodiment of the present application, whether the first user equipment is in the communication process or before the communication is initiated, whether the relay station is in the normal state or not can be determined by detecting the indication signal that the relay station is in the normal state, so that, in the communication process, when the relay station is not in the normal state, the first user equipment can also directly communicate with the second user equipment, and the smooth communication between the first user equipment and the second user equipment is ensured.
Preferably, the first user equipment detects an indication signal that the relay station is in a normal state during communication with the second user equipment through the relay station.
Preferably, the first user equipment communicates with the second user equipment through the relay station by using one time slot of a Time Division Multiple Access (TDMA) double time slot, and detects the indication signal that the relay station is in a normal state by using the other time slot of the TDMA double time slot.
According to the communication method provided by the embodiment of the application, in the process that the first user equipment communicates with the second user equipment through the relay station, the indication signal that the relay station is in the normal state is detected through another time slot in the TDMA double time slots, so that whether the relay station is in the normal state can be judged, and when the first user equipment determines that the relay station is not in the normal state, the first user equipment directly communicates with the second user equipment, so that the situation that the first user equipment cannot know that the relay station fails to communicate through the relay station and the second user equipment is avoided, and the smooth communication between the first user equipment and the second user equipment is ensured.
Preferably, before the first user equipment communicates with the second user equipment through the relay station, the method further includes:
the first user equipment detects an indication signal that the transfer platform is in an activated state;
if the indication signal that the transfer station is in the activated state is not detected, sending an activation signal to the transfer station, detecting whether the indication signal that the transfer station replies to the activation signal that the transfer station is in the activated state is received within a second preset time period, and communicating with the second user equipment through the transfer station when the indication signal that the transfer station replies to the activation signal that the transfer station is in the activated state is received within the second preset time period.
Preferably, the method further comprises: when the first user equipment does not receive the indication signal, in the second preset time length, of the relay station, that the relay station replies to the activation signal, that the relay station is in the activation state, the first user equipment detects whether the number of times of sending the activation signal to the relay station reaches a preset maximum value, and if the number of times of sending the activation signal to the relay station does not reach the maximum value, the first user equipment sends the activation signal to the relay station again, and detects whether the indication signal, in the second preset time length, of the relay station, that the relay station replies to the activation signal, that the relay station is in the activation state is received again.
Preferably, the method further comprises: and if the number of times of the activation signal sent to the relay station by the first user equipment reaches a preset maximum value, the first user equipment directly communicates with the second user equipment.
Preferably, the first user equipment periodically detects an indication signal that the relay station is in a normal state.
Corresponding to the above communication method, the present application provides a communication apparatus comprising:
the system comprises a first module, a second module and a third module, wherein the first module is used for detecting an indication signal that a relay station is in a normal state, and the relay station is used for relaying data transmitted between first user equipment and second user equipment;
and the second module is used for directly communicating with the second user equipment when the first module continuously does not detect the indication signal within a first preset time length.
Preferably, the first module is further configured to detect an indication signal that the relay station is in a normal state in a process that the first user equipment communicates with the second user equipment through the relay station.
Preferably, the first module communicates with the second user equipment through the relay station by using one of time slots of a time division multiple access TDMA double time slot, and detects the indication signal that the relay station is in a normal state by using the other time slot of the TDMA double time slot.
Preferably, before the first user equipment communicates with the second user equipment through the relay station, the first module is further configured to:
detecting an indication signal that the transfer platform is in an activated state;
if the first module does not detect the indication signal that the relay station is in the activated state, sending an activation signal to the relay station, detecting whether the indication signal that the relay station replies to the activation signal that the relay station is in the activated state is received within a second preset time period, and communicating with the second user equipment through the relay station when the indication signal that the relay station replies to the activation signal that the relay station is in the activated state is received within the second preset time period.
Preferably, when the first module does not receive the indication signal that the relay station is in the activated state, which is replied by the relay station for the activation signal, within a second preset duration, the first module is further configured to detect whether the number of times of sending the activation signal to the relay station reaches a preset maximum value, and if the number of times of sending the activation signal to the relay station does not reach the preset maximum value, send the activation signal to the relay station again, and re-detect whether the indication signal that the relay station is in the activated state, which is replied by the relay station for the activation signal, is received within a second preset duration.
Preferably, the second module is further configured to:
and if the number of times of the activation signal sent to the relay station by the first module reaches a preset maximum value, the second module directly communicates with the second user equipment.
Preferably, the first module is further configured to periodically detect an indication that the transfer platform is in a normal state.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating a flow of a first communication method according to an embodiment of the present application;
fig. 2 is a schematic diagram of communication using TDMA time slots according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a second communication method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a third communication method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a fourth communication method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a fifth communication method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a communication device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a communication method and a communication device, which are used for realizing that when a relay station is abnormal, user equipment can be automatically switched to an off-line state to carry out communication in a direct communication mode, so that communication failure between the user equipment is avoided, smooth communication is ensured, and communication efficiency is improved.
As shown in fig. 1, a communication method provided in an embodiment of the present application includes:
s101, detecting an indication signal that a relay station is in a normal state by first user equipment, wherein the relay station is used for transferring data transmitted between the first user equipment and second user equipment;
the indication signal that the relay station is in the normal state in the embodiment of the present application may be, for example, a synchronization frame sent by the relay station, where the synchronization frame may be an idle frame, may also be a synchronization frame for other data services and control services that are relayed and issued by the relay station, may also be a voice synchronization frame for other language services that are issued by the relay station, and as long as the signal that the relay station sends and can indicate that the relay station is in the normal state may be used as the indication signal that the relay station is in the normal state.
S102, when the first user equipment does not detect the indication signal continuously within a first preset time, the first user equipment directly communicates with the second user equipment.
According to the communication method provided by the embodiment of the application, whether the relay station is in the normal state or not is determined by detecting the indication signal that the relay station is in the normal state, and when the relay station is determined to be in the abnormal state, the first user equipment can be automatically switched to the off-line state to be communicated with the second user equipment in a direct communication mode, so that the inconvenience of manual intervention operation when the relay station is in the abnormal state is avoided; in addition, by using the communication method provided by the embodiment of the present application, whether the first user equipment is in the communication process or before the communication is initiated, whether the relay station is in the normal state or not can be determined by detecting the indication signal that the relay station is in the normal state, so that, in the communication process, when the relay station is not in the normal state, the first user equipment can also directly communicate with the second user equipment, and the smooth communication between the first user equipment and the second user equipment is ensured.
Preferably, the first user equipment detects an indication signal that the relay station is in a normal state during communication with the second user equipment through the relay station.
In step S102, the first user equipment determines whether an indication signal indicating that the relay station is in a normal state is detected, for example, as follows:
the method comprises the steps of starting a preset timer T _ SyncNum when first user equipment and second user equipment communicate through a relay station, enabling the timer T _ SyncNum to be cleared and restarting the timer T _ SyncNum to start timing when the first user equipment detects an indication signal that the relay station is in a normal state before the timer T _ SyncNum is overtime, and determining that the relay station is in an abnormal state when the first user equipment does not continuously detect the indication signal before the timer T _ SyncNum is overtime, wherein the timing duration of the timer T _ SyncNum is the first preset duration.
In the step S102, the directly communicating between the first user equipment and the second user equipment includes: the first user equipment is automatically switched to a link frequency which can be directly communicated with the second user equipment, so that the first user equipment can be directly communicated with the second user equipment, and smooth communication is guaranteed. The link frequency of the direct communication between the first user equipment and the second user equipment is preset or a communication frequency determined by negotiation with the second user equipment in advance.
Preferably, the first user equipment communicates with the second user equipment through the relay station by using one Time slot of a Time Division Multiple Access (TDMA) double Time slot, and detects the indication signal that the relay station is in a normal state by using the other Time slot of the TDMA double Time slot.
In the communication method provided in the embodiment of the present application, the TDMA time slots are used to implement the process of the first user equipment and the second user equipment communicating through the relay station, as shown in fig. 2, for example, the first user equipment and the second user equipment occupy one time slot of each TDMA time slot (i.e., TDMA0, TDMA1, TDMA2, and TDMA3) through the relay station for traffic transmission, and the other time slot is used for transmission of an indication signal indicating whether the relay station is in a normal state. Taking the TDMA0 as an example, the TDMA0 includes two time slots, one of the time slots is used for transmitting the service a, and the other time slot is used for transmitting an idle (idle) frame sent by the relay station, where the idle frame is an indication signal that the relay station is in a normal state, that is, it is realized that the user equipment can detect the indication signal that the relay station is in a normal state sent by the relay station in the process of transmitting the service through the relay station.
According to the communication method provided by the embodiment of the application, in the process that the first user equipment communicates with the second user equipment through the relay station, the indication signal that the relay station is in the normal state is detected through another time slot in the TDMA double time slots, so that whether the relay station is in the normal state can be detected, and when the first user equipment determines that the relay station is in the abnormal state, the first user equipment directly communicates with the second user equipment, so that the situation that the first user equipment cannot know that the relay station fails to communicate in the process that the first user equipment communicates with the second user equipment through the relay station is avoided, and the smooth communication between the first user equipment and the second user equipment is ensured.
Preferably, before the first user equipment communicates with the second user equipment through the relay station, the method further includes:
the first user equipment detects an indication signal that the transfer platform is in an activated state;
if the indication signal that the transfer station is in the activated state is not detected, sending an activation signal to the transfer station, and detecting whether the indication signal that the transfer station replies to the activation signal that the transfer station is in the activated state is received within a second preset time period; and when receiving an indication signal that the relay station is in an activated state and replied by the relay station for the activation signal within a second preset time, communicating with the second user equipment through the relay station.
It should be noted that the indication signal that the relay station is in the activated state and the indication signal that the relay station is in the normal state may be the same signal or different signals, in this embodiment of the application, the indication signal that the relay station is in the activated state and the indication signal that the relay station is in the normal state are only different in role in the communication process, the indication signal that the relay station is in the normal state is used to detect whether the relay station is in the normal state for a relay station that does not need to be activated, and the indication signal that the relay station is in the activated state is used to determine whether the relay station is activated when the relay station needs to be activated. The signal sent by the relay station which can play the above role can be used as an indication signal that the relay station is in an activated state or an indication signal that the relay station is in a normal state.
The activation signal sent by the first user equipment may be, for example, an activation frame used for activating a relay station, and when the first user equipment sends the activation frame to the relay station, if the first user equipment detects a signal replied by the relay station for the activation frame, which may be, for example, a synchronization frame, it indicates that the relay station is activated.
The manner of detecting whether the indication signal that the relay station is in the active state and replied by the relay station for the activation signal is received within a second preset time period may be, for example:
when first user equipment needs to initiate a service, detecting an idle frame of a relay station, if the idle frame is not detected, indicating that the relay station is not activated, sending an activation signal to the relay station at the moment, starting a preset timer T _ SyncWu, and when the first user equipment receives an indication signal (such as an idle frame) which is replied by the relay station for the activation signal and is in an activation state before the timer T _ SyncWu is overtime, determining that the relay station is activated, wherein the first user equipment is communicated with second user equipment through the relay station; and when the first user equipment does not receive the indication signal that the relay station is in the activated state and replied by the relay station aiming at the activation signal before the time of the timer T _ SyncWu is overtime, determining that the relay station is abnormal and needs to be disconnected, and subsequently communicating with the second user equipment in a direct connection mode by the first user equipment. Or, the first user equipment sends the activation signal to the relay station again, restarts the timer T _ SyncWu, and repeats the operations until reaching the preset maximum number of times of sending the activation signal, and if the relay station is not activated for the maximum number of times, the first user equipment subsequently adopts a direct connection mode to communicate with the second user equipment, namely, the first user equipment automatically disconnects the network. And the timing duration of the timer T _ SyncWu is the second preset duration. Therefore, preferably, the process of the first user equipment activating the transfer station further includes:
when the first user equipment does not receive an indication signal that the relay station is in an activated state and replied by the relay station for the activation signal within a second preset time length, the first user equipment detects whether the number N of times of sending the activation signal to the relay station reaches a preset maximum value Nmax; for example, a counter may be set to detect whether the number N of times that the first user equipment detects that the activation signal is sent to the relay station reaches a maximum value Nmax preset by the counter;
if the maximum value is not reached, the activation signal is sent to the relay station again, and whether an indication signal that the relay station replies to the activation signal and the relay station is in an activation state is received within a second preset time period or not is detected again.
Preferably, the process of the first user equipment activating the transfer platform further comprises:
if the number N of times of the activation signal sent to the relay station by the first user equipment reaches a preset maximum value Nmax; the first user equipment directly communicates with the second user equipment.
Preferably, the first user equipment periodically detects an indication signal that the relay station is in a normal state.
Therefore, it is preferable that the first user equipment in this embodiment periodically detects the indication signal that the relay station is in the normal state, optionally, the indication signal that the relay station is in the normal state may be detected in one timeslot of each TDMA double timeslot, or the indication signal that the relay station is in the normal state may be detected every multiple TDMA double timeslots, and specifically, the period in which the relay station sends the indication signal may be determined according to an actual situation, which is not limited in this application.
A description of a specific example of the overall process is given below.
The method for performing service communication between the first user equipment and the second user equipment specifically comprises the following processes:
in the case that it is necessary to determine whether the relay station is in an active state before service transmission, specific steps are shown in fig. 3, and include:
s301, the first user equipment determines that a service request needs to be initiated;
s302, the first user equipment detects whether a synchronous frame sent by a transfer station is received, if so, the step S303 is executed, otherwise, the step S304 is executed;
s303, the first user equipment communicates with the second user equipment through the transfer platform, and simultaneously starts a timer T _ SyncNum to start timing;
and S304, the first user equipment executes the process of activating the transfer platform.
If step S303 is executed, the first user equipment communicates with the second user equipment through the relay station, as shown in fig. 4, specifically including the following steps:
s401, the first user equipment starts to communicate with the second user equipment through the relay station, and starts a timer T _ SyncNum.
S402, the first user equipment detects whether a synchronous frame sent by the transfer station is received before the time of the timer T _ SyncNum is out; if so, go to step S403; otherwise, executing step S406;
s403, the first ue determines whether the service transmission is completed, if so, performs step S405, otherwise, performs step S404.
S404, the first user equipment clears the timer T _ SyncNum, restarts timing and executes the step S402 again, namely the first user equipment continuously detects whether a synchronous frame sent by the transfer station is received before the timer T _ SyncNum is overtime;
s405, the first user equipment enters an idle state.
That is, if the synchronization frame sent by the relay station can be received before the timer T _ SyncNum expires during the service sending process until the service sending is completed, the first ue enters the idle state.
S406, the first user equipment performs offline operation so as to realize direct communication with the second user equipment.
If step S304 needs to be executed, that is, the first user equipment needs to execute the process of activating the relay station, a specific activation process is shown in fig. 5, and includes:
s501, the first user equipment sends an activation frame to the relay station, starts a counter, enables a count value N to be 1, and starts a timer T _ SyncWu; specifically, the first user equipment switches to the uplink frequency RF1 to transmit an active frame to the relay station, and then switches to the downlink frequency RF2 to receive an idle frame transmitted by the relay station;
s502, the first user equipment judges whether an idle frame sent by the transfer station is received before the timeout of the timer T _ SyncWu; if yes, go to step S503; otherwise, executing steps S504-S505;
s503, the first user equipment communicates with the second user equipment through the transfer platform, and a timer T _ SyncNum is started; specifically, after detecting the synchronization frame of the relay station, the first user equipment switches to the uplink frequency RF1 to transmit the uplink service, the relay station receives the uplink service of the first user equipment, and forwards the service to the second user equipment at the downlink frequency RF2, and the second user equipment receives the forwarded service of the first user equipment at the downlink;
s504, the first ue makes the count N equal to N + 1;
s505, the first user equipment judges whether N is equal to Nmax; if yes, go to step S506; otherwise, executing step S507;
s506, the first user equipment executes the off-line process and directly communicates with the second user equipment;
s507, the first user equipment sends the activation frame to the transfer platform again, and restarts the timer T _ SyncWu, and then executes the step S502;
after step S503, it is necessary to detect whether the relay station is in a normal state during the service transmission process by using the method shown in fig. 4.
In the communication method provided in this embodiment of the present application, if it is determined that the relay station is in an abnormal state, after the first user equipment switches to the offline mode to complete service transmission, the first user equipment needs to switch to a mode for performing service transmission by using the relay station again, enter an idle state, and wait for next service transmission, where specific steps are shown in fig. 6 and include:
s601, the first user equipment is switched to a offline state to send a service;
s602, the first user equipment determines that the service transmission is finished;
s603, the first user equipment is switched to a mode needing to transmit the service through the transfer platform;
s604, the first user equipment enters an idle state.
In correspondence with the above communication method, the present application provides a communication apparatus, as shown in fig. 7, including:
a first module 01, configured to detect an indication signal that a relay station is in a normal state, where the relay station is configured to relay data transmitted between a first user equipment and a second user equipment;
a second module 02, configured to directly communicate with the second user equipment when the first module does not detect the indication signal continuously within a first preset time period.
The first module 01 starts a preset timer T _ SyncNum when communicating through a relay station, when the first module 01 detects an indication signal that the relay station is in a normal state before the timer T _ SyncNum is overtime, the timer T _ SyncNum is cleared and the timer T _ SyncNum is restarted to start timing, when the first module 01 does not detect the indication signal before the timer T _ SyncNum is overtime, the relay station is determined to be in an abnormal state, wherein the timing duration of the timer T _ SyncNum is the first preset duration.
Preferably, the first module is further configured to detect an indication signal that the relay station is in a normal state in a process that the first user equipment communicates with the second user equipment through the relay station.
Preferably, the first module communicates with the second user equipment through the relay station by using one of time slots of a time division multiple access TDMA double time slot, and detects the indication signal that the relay station is in a normal state by using the other time slot of the TDMA double time slot.
Preferably, before the first user equipment communicates with the second user equipment through the relay station, the first module is further configured to:
detecting an indication signal that the transfer platform is in an activated state;
if the first module does not detect the indication signal that the relay station is in the activated state, sending an activation signal to the relay station, detecting whether the indication signal that the relay station replies to the activation signal that the relay station is in the activated state is received within a second preset time period, and communicating with the second user equipment through the relay station when the indication signal that the relay station replies to the activation signal that the relay station is in the activated state is received within the second preset time period.
The manner of detecting, by the first module 01, whether an indication signal that the relay station is in an active state and replied by the relay station for the activation signal is received within a second preset time period may be, for example:
when a service needs to be initiated, detecting an idle frame of a relay station, if the idle frame is not detected, indicating that the relay station is not activated, sending an activation signal to the relay station at this time, starting a preset timer T _ SyncWu, and when the first module 01 receives an indication signal (for example, an idle frame) that the relay station is in an activated state and is replied by the relay station for the activation signal before the timer T _ SyncWu times out, determining that the relay station is activated, wherein the first module 01 communicates with the second user equipment through the relay station; when the first module 01 does not receive the indication signal that the relay station is in the activated state, which is replied by the relay station for the activation signal, before the timer T _ SyncWu times out, it is determined that the relay station is abnormal and needs to be disconnected, and the second module 02 subsequently adopts a direct connection mode to communicate with the second user equipment. Or, the first module 01 sends the activation signal to the relay station again, restarts the timer T _ SyncWu, and repeats the above operations until reaching a preset maximum number of times for sending the activation signal, and if the relay station is not activated for the maximum number of times, the second module 02 subsequently communicates with the second user equipment in a direct communication manner, that is, automatically disconnects the network. And the timing duration of the timer T _ SyncWu is the second preset duration. Therefore, preferably, the process of activating the transfer platform by the first module 01 further includes:
preferably, when the first module does not receive the indication signal that the relay station is in the activated state, which is replied by the relay station for the activation signal, within a second preset duration, the first module is further configured to detect whether the number of times of sending the activation signal to the relay station reaches a preset maximum value, and if the number of times of sending the activation signal to the relay station does not reach the preset maximum value, send the activation signal to the relay station again, and re-detect whether the indication signal that the relay station is in the activated state, which is replied by the relay station for the activation signal, is received within a second preset duration. Whether the number of times of sending the activation signal to the relay station reaches a maximum value preset by a counter may be detected, for example, by setting a counter in the first module;
preferably, the second module is further configured to:
and if the number of times of the activation signal sent to the relay station by the first module reaches a preset maximum value, the second module directly communicates with the second user equipment.
Preferably, the first module is further configured to periodically detect an indication that the transfer platform is in a normal state.
In summary, according to the communication method and the communication device provided by the embodiment of the present application, whether the relay station is in the normal state is determined by detecting the indication signal that the relay station is in the normal state, and when it is determined that the relay station is in the abnormal state, the user equipment directly communicates with the second user equipment, so that the inconvenience of manual intervention when the relay station is in the abnormal state is avoided; in addition, by using the communication method and apparatus provided in the embodiment of the present application, whether the first user equipment is in the communication process or before the communication is initiated, whether the relay station is in the normal state or not may be determined by detecting the indication signal that the relay station is in the normal state, so that, in the communication process, when the relay station is not in the normal state, the first user equipment may also directly communicate with the second user equipment, thereby avoiding that the first user equipment and the second user equipment cannot normally communicate, and ensuring that the communication between the first user equipment and the second user equipment is smoothly performed.
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, 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.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (8)

1. A method of communication, the method comprising:
the method comprises the steps that a first user device detects an indication signal that a relay station is in a normal state, wherein the relay station is used for relaying data transmitted between the first user device and a second user device;
the first user equipment directly communicates with the second user equipment when the indication signal is not detected continuously within a first preset time length;
the first user equipment detects an indication signal that the relay station is in a normal state in the process of communicating with the second user equipment through the relay station;
the first user equipment communicates with the second user equipment through the relay station by utilizing one time slot in Time Division Multiple Access (TDMA) double time slots, and an indicating signal of the relay station in a normal state is detected by utilizing the other time slot in the TDMA double time slots;
and the first user equipment periodically detects an indication signal that the transfer platform is in a normal state.
2. The method of claim 1, wherein the first user device, prior to communicating with the second user device through the relay station, further comprises:
the first user equipment detects an indication signal that the transfer platform is in an activated state;
if the indication signal that the transfer station is in the activated state is not detected, sending an activation signal to the transfer station, detecting whether the indication signal that the transfer station replies to the activation signal that the transfer station is in the activated state is received within a second preset time period, and communicating with the second user equipment through the transfer station when the indication signal that the transfer station replies to the activation signal that the transfer station is in the activated state is received within the second preset time period.
3. The method of claim 2, further comprising: when the first user equipment does not receive the indication signal, in the second preset time length, of the relay station, that the relay station replies to the activation signal, that the relay station is in the activation state, the first user equipment detects whether the number of times of sending the activation signal to the relay station reaches a preset maximum value, and if the number of times of sending the activation signal to the relay station does not reach the maximum value, the first user equipment sends the activation signal to the relay station again, and detects whether the indication signal, in the second preset time length, of the relay station, that the relay station replies to the activation signal, that the relay station is in the activation state is received again.
4. The method of claim 3, further comprising: and if the number of times of the activation signal sent to the relay station by the first user equipment reaches a preset maximum value, the first user equipment directly communicates with the second user equipment.
5. A communications apparatus, comprising:
the system comprises a first module, a second module and a third module, wherein the first module is used for detecting an indication signal that a relay station is in a normal state, and the relay station is used for relaying data transmitted between first user equipment and second user equipment;
the second module is used for directly communicating with the second user equipment when the first module continuously does not detect the indication signal within a first preset time length;
the first module is further configured to detect an indication signal that the relay station is in a normal state when the first user equipment communicates with the second user equipment through the relay station;
the first module communicates with the second user equipment through the relay station by using one time slot in Time Division Multiple Access (TDMA) double time slots, and detects an indication signal that the relay station is in a normal state by using the other time slot in the TDMA double time slots;
the first module is also used for periodically detecting an indication signal that the transfer platform is in a normal state.
6. The apparatus of claim 5, wherein the first module, prior to the first user device communicating with the second user device through the relay station, is further configured to:
detecting an indication signal that the transfer platform is in an activated state;
if the first module does not detect the indication signal that the relay station is in the activated state, sending an activation signal to the relay station, detecting whether the indication signal that the relay station replies to the activation signal that the relay station is in the activated state is received within a second preset time period, and communicating with the second user equipment through the relay station when the indication signal that the relay station replies to the activation signal that the relay station is in the activated state is received within the second preset time period.
7. The apparatus according to claim 6, wherein when the first module does not receive the indication signal that the relay station is in the active state for the activation signal reply within a second preset time period, the first module is further configured to detect whether the number of times of sending the activation signal to the relay station reaches a preset maximum value, and if the number of times of sending the activation signal to the relay station does not reach the maximum value, send the activation signal to the relay station again, and re-detect whether the indication signal that the relay station is in the active state for the activation signal reply is received within a second preset time period.
8. The apparatus of claim 7, wherein the second module is further configured to:
and if the number of times of the activation signal sent to the relay station by the first module reaches a preset maximum value, the second module directly communicates with the second user equipment.
CN201710002746.XA 2017-01-03 2017-01-03 Communication method and device Active CN106851834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710002746.XA CN106851834B (en) 2017-01-03 2017-01-03 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710002746.XA CN106851834B (en) 2017-01-03 2017-01-03 Communication method and device

Publications (2)

Publication Number Publication Date
CN106851834A CN106851834A (en) 2017-06-13
CN106851834B true CN106851834B (en) 2020-08-04

Family

ID=59117577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710002746.XA Active CN106851834B (en) 2017-01-03 2017-01-03 Communication method and device

Country Status (1)

Country Link
CN (1) CN106851834B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115209500A (en) * 2022-07-20 2022-10-18 西安广和通无线通信有限公司 Service recovery method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090509A (en) * 2006-06-12 2007-12-19 展讯通信(上海)有限公司 Terminal off-line direct calling method for digital centreless communication system
CN102215436A (en) * 2011-06-15 2011-10-12 深圳科立讯电子有限公司 Automatic offline method under DMR (Digital Mobile Radio) transit mode
CN103024788A (en) * 2012-12-23 2013-04-03 杭州宏睿通信技术有限公司 Method for simultaneous communication between DMR (digital mobile radio)/PDT (portable data terminal) devices in double time slots
CN103369609A (en) * 2013-07-29 2013-10-23 海能达通信股份有限公司 Communication mode switching method and device
US8942159B2 (en) * 2010-07-05 2015-01-27 Hytera Communications Corp., Ltd. Terminal in digital mobile radio relay system, transmission power regulation method and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090509A (en) * 2006-06-12 2007-12-19 展讯通信(上海)有限公司 Terminal off-line direct calling method for digital centreless communication system
US8942159B2 (en) * 2010-07-05 2015-01-27 Hytera Communications Corp., Ltd. Terminal in digital mobile radio relay system, transmission power regulation method and system thereof
CN102215436A (en) * 2011-06-15 2011-10-12 深圳科立讯电子有限公司 Automatic offline method under DMR (Digital Mobile Radio) transit mode
CN103024788A (en) * 2012-12-23 2013-04-03 杭州宏睿通信技术有限公司 Method for simultaneous communication between DMR (digital mobile radio)/PDT (portable data terminal) devices in double time slots
CN103369609A (en) * 2013-07-29 2013-10-23 海能达通信股份有限公司 Communication mode switching method and device

Also Published As

Publication number Publication date
CN106851834A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN111567070B (en) Wake-up time control method, device and computer readable storage medium
EP3029987B1 (en) Communication mode switching method and device
RU2557662C2 (en) Method, devices and system for carrier aggregation
EP3927053B1 (en) Method, terminal storage medium for operating a drx timer
JP4472862B2 (en) Wireless communication method
KR20190028550A (en) Method and apparatus for state transition of UE
CN106060919A (en) Obtaining method and device for secondary timing advance
JP2005020400A (en) Radio base station, radio communication system, communication control method of radio base station, and construction method of radio communication network
RU2697931C2 (en) Method, terminal and system for reducing power consumption of cluster terminal in broadband cluster system
CN110557807B (en) Method for carrying out communication in sleep state of terminal and terminal
US20220078715A1 (en) Methods and apparatuses for using power-saving signal pattern, device and system
CN106851834B (en) Communication method and device
US8305976B1 (en) Efficient wireless communication network entry for wireless communication devices
EP3035762B1 (en) Call collision processing method, terminal and transfer platform
AU2020208539B2 (en) Resource periodicity configuration method and device, link processing and establishing method and device
CN106303902B (en) Method and device for executing device-to-device discovery process and detecting user equipment
CN102572975B (en) A kind of method of switching operating frequency of cells, system and equipment
CN105992266B (en) Detection method of discontinuous reception capability, terminal and network side equipment
JPH08317446A (en) Mobile radio communication method
EP1909522B1 (en) Mobile station, wireless access network apparatus, mobile communication system and communication method for controlling transmission timing
WO2012149788A1 (en) Service establishment method and system, radio network controller and user terminal
CN102196515B (en) Cell switching method, radio network controller and user equipment
CN112752279A (en) Method, terminal device, apparatus and medium for supporting dual-card dual-standby communication
CN111212465B (en) Data transmission method, base station, terminal and system
JP7270226B2 (en) wireless communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant