Ad hoc network communication method and device
By dynamically changing the service time slots to voice time slots in the ad-hoc network and adopting the CSMA/CA access method, the problem in the existing technology that the bandwidth occupied by voice services affects the efficiency of data services is solved, and efficient simultaneous voice and data services are achieved. transmission.
Patent Information
- Application Number
- CN202010784569.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-06
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-08-06
AI Technical Summary
When existing ad hoc network communications support data services and voice services, the fixed occupation of voice time slots affects data service transmission efficiency, and the encapsulation of voice data into data services affects data service access efficiency, and the two influence each other.
In an ad hoc network, nodes synchronize to the default frame structure, dynamically change service time slots to voice time slots when initiating voice services, notify neighbor nodes to use the new frame structure for data service transmission, and use CSMA/CA access mode to avoid pre-allocation Voice time slots, dynamically allocate voice time slots to support simultaneous transmission of voice and data services.
It achieves support for voice services without affecting the transmission efficiency of data services, avoids the mutual influence of voice and data services, and improves the transmission efficiency of both services.
Smart Images

Figure CN114071689B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a self-organizing network communication method and device. Background Art
[0002] Ad hoc network communications generally use CSMA / CA (Carrier Sense Multiple Access / Collision Avoidance) to transmit data services.
[0003] In existing ad hoc networks that support simultaneous data and voice transmission, in order to ensure that data services and voice services are supported simultaneously, statically reserving voice time slots (fixedly occupying voice time slots) and encapsulating voice data into high-priority data services (such as VOIP) are often used.
[0004] Each of the above methods has its own disadvantages:
[0005] Fixed occupation of voice time slots makes voice services simple and reliable, but requires fixed bandwidth overhead, affecting the transmission efficiency of data services.
[0006] The way of encapsulating voice data into data services is affected by the access efficiency of data services, and voice services and data services affect each other. Summary of the invention
[0007] In view of this, an embodiment of the present invention provides a method and apparatus for communication in an ad hoc network to solve the above-mentioned problem.
[0008] A communication method for an ad hoc network, wherein each node in the ad hoc network is synchronized to the same default frame structure; in the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services;
[0009] The self-organizing network communication method comprises:
[0010] The first node initiating the voice service in the ad hoc network determines a voice transmission period, and changes at least one service time slot in the voice transmission period into a voice time slot to obtain a new frame structure; the period of the communication frame is an integer multiple of the voice transmission period;
[0011] The first node sends a first message including time slot structure information to a second node in the ad hoc network; the time slot structure information is used to indicate the new frame structure, so that the second node adopts the new frame structure and transmits data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode; the second node includes a neighbor node of the first node;
[0012] The first node transmits voice traffic to the second node using the voice timeslot.
[0013] Optionally, before sending the first message, it also includes: the first node determines the target node; the target node includes: all or part of the second node; the first message also includes: target node information; the target node information includes the node identifier of the target node, so that the target node sends a second message to a third node; wherein: the third node includes: a neighbor node of the target node; the second message contains the time slot structure information, so that the third node adopts the default frame structure to receive data services sent by non-target nodes, and avoids the voice time slot when sending the message.
[0014] Optionally, the first message is a request to send RTS message, and the second message is a clear to send CTS message.
[0015] A communication method for an ad hoc network, wherein each node in the ad hoc network is synchronized to the same default frame structure; in the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services;
[0016] The self-organizing network communication method comprises:
[0017] Any second node in the ad hoc network receives a first message including time slot structure information; the first message is generated by the first node initiating a voice service in the ad hoc network after changing at least one service time slot in a voice transmission period to a voice time slot to obtain a new frame structure; the time slot structure information is used to indicate the new frame structure; any second node is a neighbor node of the first node;
[0018] Any second node adopts the new frame structure to transmit data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode;
[0019] Any second node uses the voice time slot in the new frame structure to receive the voice service transmitted by the first node.
[0020] Optionally, the first message also includes: target node information; the target node information includes all or part of the node identifier of the second node; the method also includes: if its own node identifier matches the node identifier in the target node information, any second node sends a second message to the neighboring node; wherein: the second message includes the time slot structure information, so that the third node adopts the default frame structure to receive data services sent by non-target nodes, and avoids the voice time slot when sending the message.
[0021] Optionally, it also includes: when the first node ends the voice service, if its own node identifier matches the node identifier in the target node information, the second node sends voice end information to the neighboring node to inform the neighboring node to resume using the default frame structure.
[0022] A communication method for an ad hoc network, wherein each node in the ad hoc network is synchronized to the same default frame structure; in the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services;
[0023] The self-organizing network communication method comprises:
[0024] Any third node in the ad hoc network receives a second message including time slot structure information; the time slot structure information is used to indicate a new frame structure; in the new frame structure, at least one of the service time slots is changed to a voice time slot; the node sending the second message is the target node;
[0025] Any third node receives the data service sent by the non-target node using the default frame structure;
[0026] Any third node avoids the voice time slot when sending a message.
[0027] Optionally, it also includes: any third node receives voice end information; the voice end information is sent by the target node; any third node uses the default frame structure to transmit data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode.
[0028] Optionally, the service time slot used by any third node to receive the RTS message sent by the non-target node is represented as the nth time slot; n is an arbitrary integer; when sending a message, any third node avoids the voice time slot, including: any third node sends a CTS message after the voice time slot ends.
[0029] A self-organizing network communication device, as a node in the self-organizing network, each node in the self-organizing network is synchronized to the same default frame structure; in the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services;
[0030] The device comprises:
[0031] A processing unit for:
[0032] If a voice service is initiated, a voice transmission period is determined, and at least one service time slot in the voice transmission period is changed to a voice time slot to obtain a new frame structure; the period of the communication frame is an integer multiple of the voice transmission period;
[0033] A sending unit, for:
[0034] Sending a first message including time slot structure information to a second node in the ad hoc network; the time slot structure information is used to indicate the new frame structure, so that the second node adopts the new frame structure and transmits data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode; the second node includes a neighbor node of the first node;
[0035] The first service transmission unit is used to: use the voice time slot to transmit the voice service to the second node.
[0036] A self-organizing network communication device, as a node in the self-organizing network, each node in the self-organizing network is synchronized to the same default frame structure; in the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services;
[0037] The device comprises:
[0038] A first receiving unit is configured to: receive a first message including time slot structure information; the first message is generated by a first node initiating a voice service in the ad hoc network after changing at least one service time slot in a voice transmission period into a voice time slot to obtain a new frame structure; the time slot structure information is used to indicate the new frame structure; the device is a neighbor node of the first node;
[0039] The second service transmission unit is configured to:
[0040] The new frame structure is adopted to transmit data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode;
[0041] The voice service transmitted by the first node is received by using the voice time slot in the new frame structure.
[0042] A self-organizing network communication device, as a node in the self-organizing network, each node in the self-organizing network is synchronized to the same default frame structure; in the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services;
[0043] The device comprises:
[0044] a second receiving unit, configured to receive a second message including time slot structure information; the time slot structure information is used to indicate a new frame structure; in the new frame structure, at least one of the service time slots is changed to a voice time slot; and a node sending the second message is a target node;
[0045] The third service transmission unit is configured to:
[0046] Receiving data services sent by non-target nodes using the default frame structure;
[0047] When sending messages, avoid the voice time slot.
[0048] A self-organizing network communication device comprises at least a processor and a memory; the processor executes any one of the above-mentioned self-organizing network communication methods by executing a program stored in the memory and calling other devices.
[0049] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0050] It can be seen that in the embodiment of the present invention, when the voice service is not initiated, each node in the ad hoc network uses the default frame structure to transmit the data service. When the voice service is initiated, the first node that initiates the voice service determines the voice transmission period, changes at least one service time slot in the period to a voice time slot, and obtains a new frame structure. Afterwards, the first node notifies the second node (neighboring node) of the new frame structure, and uses the voice time slot in the new frame structure to transmit the voice service to the second node. At the same time, the second node can use the new frame structure to transmit the data service in the CSMA / CA access mode.
[0051] In this embodiment, voice time slots are not allocated in advance. Voice time slots are dynamically allocated when a voice service is initiated, thereby eliminating the need to occupy a fixed bandwidth overhead and not affecting the transmission efficiency of data services. Furthermore, voice data occupies voice time slots and does not need to be encapsulated as data services, so it is not affected by the access efficiency of data services, thereby effectively supporting the simultaneous transmission of data and voice services without affecting each other. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A schematic diagram of a self-organizing network provided by an embodiment of the present invention;
[0053] Figure 2 A schematic diagram of a TDMA time frame structure provided by an embodiment of the present invention;
[0054] Figure 3 A schematic diagram of the use of time slots in a TDMA time frame provided in an embodiment of the present invention;
[0055] Figure 4 An exemplary process of a self-organizing network communication method provided by an embodiment of the present invention;
[0056] Figure 5 A schematic diagram of a voice transmission cycle provided by an embodiment of the present invention;
[0057] Figure 6 A schematic diagram of sending an RTS message provided in an embodiment of the present invention;
[0058] Figure 7A schematic diagram of a node using a new frame structure to transmit a voice service according to an embodiment of the present invention;
[0059] Figure 8 Another exemplary process of the self-organizing network communication method provided by the embodiment of the present invention;
[0060] Fig. 9 A schematic diagram of sending an RTS message and a CTS message provided in an embodiment of the present invention;
[0061] Fig.10 A schematic diagram of sending a CTS message provided by an embodiment of the present invention;
[0062] Fig.11 Another schematic diagram of sending a CTS message provided by an embodiment of the present invention;
[0063] Fig.12a An exemplary structure of a self-organizing network communication device provided by an embodiment of the present invention;
[0064] Figure 12b Another exemplary structure of the ad hoc network communication device provided by the embodiment of the present invention;
[0065] Fig.12c Another exemplary structure of the ad hoc network communication device provided by the embodiment of the present invention;
[0066] Fig.13 A possible hardware structure diagram of the ad hoc network communication device provided in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0067] For the purpose of reference and clarity, the technical terms, abbreviations or acronyms used below are summarized as follows:
[0068] TDMA: Time division multiple access. A communication technology for sharing a transmission medium (usually in the radio field) or a network, allowing multiple users to use the same frequency in different time slices (time slots);
[0069] CSMA / CA: Carrier Sense multiple Access / Collision Avoidance. Carrier sense multiple access with collision avoidance cannot detect whether there is a conflict on the channel while sending packets, and can only try to "avoid" it;
[0070] RTS: Request To Send. Request to send, asking whether to allow sending;
[0071] CTS:ClearToSend. Clear to send;
[0072] RTS / CTS handshake protocol: First, A sends an RTS signal to B, indicating that A wants to send some data to B. After receiving RTS, B sends a CTS signal to all nodes, indicating that it is ready and A can send. The remaining nodes temporarily "stand still". Then, A sends data to B. Finally, after receiving the data, B broadcasts an ACK confirmation frame to all nodes. In this way, all nodes can once again listen and compete for the channel equally.
[0073] The embodiments of the present invention provide a self-organizing network communication method and a self-organizing network communication device.
[0074] An ad hoc network communication device is a node in an ad hoc network. Figure 1 A schematic diagram of an ad hoc network is shown, where nodes A, B0-B2, C0-C1, and D0 are all ad hoc network communication devices.
[0075] In the present invention, each node in the same ad hoc network is synchronized to the same default frame structure, for example Figure 2 The TDMA time frame structure is shown.
[0076] A TDMA time frame consists of N time slots ( Figure 2 Multiple TDMA time frames are shown in the figure), and the value of N can be flexibly designed.
[0077] In the default frame structure, see Figure 3 , part or all of the time slots in the TDMA time frame are service time slots (represented by D), and the service time slots are used to transmit data services.
[0078] Figure 4 An exemplary process of the above-mentioned ad hoc network communication method is shown, including:
[0079] S1: The first node initiating a voice service in the ad hoc network determines a voice transmission cycle, and changes at least one service time slot in the voice transmission cycle into a voice time slot to obtain a new frame structure.
[0080] The specific node that generates the PTT request is the first node that initiates the voice service.
[0081] by Figure 1 Taking the ad hoc network as an example, if node A initiates a voice service, node A is the first node. Node A determines the voice transmission period and the voice time slot to obtain a new frame structure.
[0082] Since the maximum voice delay acceptable to human ears is less than or equal to 300ms, the voice transmission cycle is generally less than 300ms. The number of voice time slots in a voice transmission cycle can be determined by the voice transmission bandwidth of the system design.
[0083] The voice transmission bandwidth refers to the rate at which voice is encoded (voice coding rate), typically 8 kbps for G.729A and 13 kbps for RPE-LTP in the GSM system.
[0084] Among them, the transmission rate of the voice time slot is B = V / (n / T), T is the total number of time slots in a TDMA communication frame period; n is the number of voice time slots in a voice transmission period; V is the voice coding rate; B is the transmission rate of the voice time slot. Then n = TV / B.
[0085] It should be noted that the period of the communication frame is an integer multiple of the voice transmission period. Assuming that a TDMA communication frame period is X and the voice transmission period is t, then X can divide t.
[0086] Figure 5 The schematic diagram shows that the communication frame includes 100 time slots and the communication frame period is twice the voice transmission period. Figure 5 In the figure, "V" represents the voice time slot.
[0087] S2: The first node sends a first message including time slot structure information to the second node in the ad hoc network.
[0088] In an example, the first message may specifically be an RTS message.
[0089] The above-mentioned time slot structure information at least includes voice time slot position information, which is used to indicate the above-mentioned new frame structure.
[0090] The second node includes a neighboring node of the first node. Depending on the networking situation, the number of the second nodes may be one or more.
[0091] Since the second node is a neighbor node of the first node, the second node can also be regarded as a one-hop internal node of the first node.
[0092] Still Figure 1 Take the self-organizing network shown in the figure as an example, assuming that the first node is node A, then please refer to Figure 6 , the second node may include: B0-B2, so that node A can send an RTS message to nodes B0-B2 to indicate the new frame structure.
[0093] S3: The first node uses the voice time slot in the new frame structure to transmit the voice service to the second node.
[0094] After notifying the new frame structure, Figure 6 Take the self-organizing network shown as an example, see Figure 7 , node A can use the new frame structure to transmit voice services to nodes B0-B2.
[0095] S4: The second node adopts the new frame structure and transmits data services in the CSMA / CA access mode.
[0096] CSMA / CA is a data transmission and reception and backoff method. Figure 5 Taking the new time slot structure shown as an example, if there are 100 time slots and there is no voice service, data service will occupy 0-99, and CSMA / CA will be used for data service transmission in each time slot; when the time slot structure changes, assuming that voice occupies time slots 0, 1, 50, and 51, then data transmission and reception will occupy time slots 2-49 and 52-99, and CSMA / CA will be used for data service transmission in these time slots.
[0097] It can be seen that in the embodiment of the present invention, when the voice service is not initiated, each node in the ad hoc network uses the default frame structure to transmit the data service. When the voice service is initiated, the first node that initiates the voice service determines the voice transmission period, changes at least one service time slot in the period to a voice time slot, and obtains a new frame structure. Afterwards, the first node notifies the second node (neighboring node) of the new frame structure, and uses the voice time slot in the new frame structure to transmit the voice service to the second node. At the same time, the second node can use the new frame structure to transmit the data service in the CSMA / CA access mode.
[0098] In this embodiment, voice time slots are not allocated in advance. Voice time slots are dynamically allocated when a voice service is initiated, thereby eliminating the need to occupy a fixed bandwidth overhead and not affecting the transmission efficiency of data services. Furthermore, voice data occupies voice time slots and does not need to be encapsulated as data services, so it is not affected by the access efficiency of data services, thereby effectively supporting the simultaneous transmission of data and voice services without affecting each other.
[0099] Next, we will Figure 1 Taking the self-organizing network shown in FIG. 1 as an example, taking node A as the first node, the communication method for the self-organizing network is introduced in more detail. Figure 8 , which may exemplarily include:
[0100] S800: The first node (node A) generates a PTT signal.
[0101] S801: The first node determines a voice transmission cycle, and changes at least one service time slot in the voice transmission cycle into a voice time slot to obtain a new frame structure.
[0102] Specifically, the first node may randomly select one or several time slots suitable for the voice bandwidth within the voice transmission period as the voice time slots.
[0103] S802: The first node determines a target node.
[0104] The target node includes: all or part of the second node.
[0105] by Figure 6 As shown in the example, the target node may include one or more of nodes B0-B2.
[0106] S803: The first node sends a first message to the second node.
[0107] More specifically, after the first node changes from a data receiving and sending state to a channel idle state, it sends a first message.
[0108] In this embodiment, in addition to the aforementioned time slot structure information, the first message also includes: target node information.
[0109] The target node information includes a node identifier of the target node, and its function is to enable the target node to send a second message to the third node.
[0110] Using the previous example, assuming that nodes B0 and B1 are target nodes, the target node information includes the node identifiers of nodes B0 and B1.
[0111] The third node includes: neighbor nodes of the target node. Using the previous example, assuming that the target node includes nodes B0 and B1, the third node includes node C0.
[0112] S804: After receiving the first message, if the second node's own node identifier matches the node identifier in the target node information, the second node sends a second message to its neighboring node.
[0113] Among them: if the first node is taken as the standard, the third node is the next two hops of the first node.
[0114] For details, see Fig. 9 , the first message is an RTS message, and the second message is a CTS message.
[0115] The second message also contains time slot structure information, and its purpose is to inform the third node of the new frame structure.
[0116] The third node is equivalent to the two-hop node of the first node. Fig. 9 For example, assume that node A is the first node and node C0 is the third node. Voice is one hop, so when node A and B0 have voice communication, node C0 sends a signal that will affect node B0, but node D0 sends a signal to node C0 that will not affect node B0. Therefore, CTS is used to notify the two-hop nodes of the new frame structure.
[0117] It should be noted that the second node, which is the target node, should avoid the voice time slot when sending the CTS message.
[0118] Assume that the time slot in which the target node receives the RTS message sent by the first node is the mth time slot (m is an integer less than N), and consider the following situations:
[0119] Case 1: the m+1th time slot is a service time slot in the new frame structure, and a CTS message is sent to the third node in the m+1th time slot.
[0120] In case 2, the m+1th time slot is a voice time slot in the new frame structure, and a CTS message may be sent to the third node in a service time slot after the voice time slot.
[0121] In one example, a CTS message may be sent after the voice timeslot ends.
[0122] In addition, the second node can also receive RTS messages sent by other nodes besides the first node. For example, see Fig.10 In addition to receiving the RTS message from node A, node B2 may also receive the RTS message sent by node C1 and needs to reply with a CTS message to node C1 before transmitting data services.
[0123] Assume that the current time slot when the RTS message is received is p, then consider the following situation:
[0124] Case 3: the p+1th time slot is a voice time slot in the new frame structure. Then, a CTS message can be sent to other nodes in the service time slot after the voice time slot, and then data services are transmitted.
[0125] In one example, a CTS message may be sent after the voice timeslot ends.
[0126] Case 4: The P+1 time slot and the subsequent time slots are service time slots in the new frame structure. Then, a CTS message is sent to other nodes in the p+1 time slot (see Fig.11 ), followed by data traffic.
[0127] S805 to S806 are the same as the aforementioned S3 and S4, and are not described in detail here.
[0128] S807: The third node uses a default frame structure to receive the data service sent by the non-target node.
[0129] See also Fig. 9 Node C0 is a third node, which can use the default frame structure to receive the data service sent by node D0.
[0130] S808: The third node avoids the voice time slot when sending a message.
[0131] Still see Fig. 9If node C0 sends a message in the voice time slot, it will affect node B0. Therefore, no matter which node it sends a message to, it needs to avoid the voice time slot.
[0132] Steps S807 and S808 can be implemented as follows: the third node uses the default frame structure to communicate with the non-target node (needs to avoid the voice time slot).
[0133] Taking RTS and CTS messages as an example, it is assumed that the time slot in which the third node receives the RTS message sent by the non-target node is the nth time slot (n is an arbitrary integer).
[0134] In one example, a CTS message may be sent after the voice timeslot ends.
[0135] If the third node communicates with the target node, the new frame structure may be used.
[0136] In other embodiments of the present invention, the following steps may also be included:
[0137] S809: When the first node ends the voice service, the target node sends voice end information to the neighboring node (third node).
[0138] S810: The third node resumes using the default frame structure and transmits data services in the CSMA / CA access mode.
[0139] It should be noted that, taking node C0 as an example, even if C0 does not receive the voice end information (message), in the subsequent data communication process, as long as its neighbor node (such as node B0) sends an RTS message to it, it can also complete the frame structure synchronization with node B0 according to the RTS message.
[0140] Table 1 below is the experimental data obtained using the embodiments of the present invention:
[0141] B = V / (n / T);
[0142] Where: T is the total number of time slots in a TDMA communication frame period; n is the number of voice time slots in a voice transmission period; V is the voice coding rate; B is the transmission rate of the voice time slot.
[0143] The transmission rate of the voice time slot and the data time slot required for voice using a 2400bps coding rate are as follows:
[0144]
[0145] Table 1
[0146] The following is an introduction to the ad hoc network communication device.
[0147] The ad hoc network communication device can serve as the first node, the second node or the third node described above in a certain scenario.
[0148] Fig.12a An example structure of a first node is shown, including:
[0149] The processing unit 1 is used for:
[0150] If a voice service is initiated, a voice transmission period is determined, and at least one service time slot in the voice transmission period is changed into a voice time slot to obtain a new frame structure;
[0151] The sending unit 2 is used for:
[0152] Sending a first message including time slot structure information to a second node in the ad hoc network;
[0153] The time slot structure information is used to indicate a new frame structure, so that the second node adopts the new frame structure and performs data service transmission in a CSMA / CA access mode.
[0154] The second node includes a neighbor node of the first node;
[0155] The first service transmission unit 3 is used to transmit the voice service to the second node by using the voice time slot.
[0156] For detailed introduction, please refer to the previous record in this article, which will not be elaborated here.
[0157] In other embodiments of the present invention, before sending the first message, the processing unit 1 in all the above embodiments is further used to:
[0158] Determine a target node; the target node includes: all or part of the second node.
[0159] Correspondingly, the first message also includes: target node information; the target node information includes a node identifier of the target node, so that the target node sends the second message to the third node.
[0160] in:
[0161] The third nodes include: neighbor nodes of the target node;
[0162] The second message includes time slot structure information, so that the third node adopts a default frame structure to receive data services sent by non-target nodes, and avoids voice time slots when sending messages.
[0163] In an example, the first message is a request to send RTS message, and the second message is a clear to send CTS message.
[0164] For detailed introduction, please refer to the previous record in this article, which will not be elaborated here.
[0165] Figure 12b An example structure of a second node is shown, including:
[0166] The first receiving unit 4 is used to: receive a first message containing time slot structure information;
[0167] The time slot structure information is used to indicate the new frame structure;
[0168] The second service transmission unit 5 is configured to:
[0169] Adopt new frame structure and CSMA / CA access mode for data service transmission;
[0170] The voice service transmitted by the first node is received by using the voice time slot in the new frame structure.
[0171] For detailed introduction, please refer to the previous record in this article, which will not be elaborated here.
[0172] In other embodiments of the present invention, the first message further includes: target node information; the target node information includes the node identification of all or part of the second node.
[0173] The second service transmission unit 5 in all the above embodiments is further configured to:
[0174] If the node identifier of the own node matches the node identifier in the target node information, a second message is sent to the neighboring node;
[0175] in:
[0176] The second message includes time slot structure information, so that the third node adopts a default frame structure to receive data services sent by non-target nodes, and avoids voice time slots when sending messages.
[0177] In other embodiments of the present invention, when the first node ends the voice service, the second service transmission unit 5 in all the above embodiments is further used for:
[0178] If the node identifier of the node itself matches the node identifier in the target node information, a voice end message is sent to the neighboring node to inform the neighboring node to restore the default frame structure.
[0179] For detailed introduction, please refer to the previous record in this article, which will not be elaborated here.
[0180] Fig.12c An example structure of the third node is shown, including:
[0181] The second receiving unit 6 is used for:
[0182] receiving a second message including time slot structure information; the time slot structure information is used to indicate a new frame structure; in the new frame structure, at least one of the service time slots is changed to a voice time slot; the node sending the second message is a target node;
[0183] The third service transmission unit 7 is configured to:
[0184] Using the above default frame structure to receive data services sent by non-target nodes;
[0185] When sending messages, avoid the above-mentioned voice time slots.
[0186] Specifically, a CTS message may be sent after the voice timeslot ends.
[0187] In addition, after receiving the voice end information, the third service transmission unit 7 can restore the default frame structure and perform data service transmission in the CSMA / CA access mode.
[0188] For detailed introduction, please refer to the previous record in this article, which will not be elaborated here.
[0189] Since the self-organizing network communication device may serve as the first node, the second node or the third node in different scenarios, the self-organizing network communication device structurally includes the processing unit 1 to the third service transmission unit 7.
[0190] Fig.13 A possible hardware structure diagram of the self-organizing network communication device in the above embodiment is shown, including: a bus, a processor 1, a memory 2, a communication interface 3, an input device 4 and an output device 5. The processor 1, the memory 2, the communication interface 3, the input device 4 and the output device 5 are interconnected via a bus. Among them:
[0191] A bus may include a pathway that transfers information between components of a computer system.
[0192] The processor 1 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0193] The memory 2 stores programs or scripts for executing the technical solution of the present invention, and may also store operating systems and other key services. Specifically, the program may include program codes, and the program codes include computer operating instructions. The script is usually stored in text (such as ASCII) and is only interpreted or compiled when called.
[0194] The input device 4 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a voice input device, a touch screen, etc.
[0195] The output device 5 may include means for allowing information to be output to a user, such as a display screen, a speaker, etc.
[0196] The communication interface 3 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0197] The processor 1 can implement the ad hoc network communication method provided in the above embodiment by executing the program stored in the memory 2 and calling other devices.
[0198] In addition, the functions of each unit of the ad hoc network communication device can be realized by the aforementioned processor 1 executing the program stored in the memory 2 and calling other devices.
[0199] The professionals may further appreciate that the units and model steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0200] The steps of the method or model described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a WD-ROM, or any other form of storage medium known in the art.
[0201] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A self-organizing network communication method, characterized in that: Each node in the ad hoc network is synchronized to the same default frame structure; In the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services; The self-organizing network communication method comprises: The first node initiating the voice service in the ad hoc network determines a voice transmission period, and changes at least one service time slot in the voice transmission period into a voice time slot to obtain a new frame structure; the period of the communication frame is an integer multiple of the voice transmission period; The first node sends a first message including time slot structure information to a second node in the ad hoc network; the time slot structure information is used to indicate the new frame structure, so that the second node adopts the new frame structure and transmits data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode; the second node includes a neighbor node of the first node; The first node transmits voice traffic to the second node using the voice timeslot.
2. The method according to claim 1, characterized in that Before sending the first message, the method further includes: The first node determines a target node; the target node includes: all or part of the second node; The first message also includes: target node information; the target node information includes a node identifier of the target node, so that the target node sends a second message to the third node; in: The third node includes: a neighbor node of the target node; The second message includes the time slot structure information, so that the third node adopts the default frame structure to receive the data service sent by the non-target node, and avoids the voice time slot when sending the message.
3. The method according to claim 2, characterized in that The first message is a request to send RTS message, and the second message is a clear to send CTS message.
4. A self-organizing network communication method, characterized in that: Each node in the ad hoc network is synchronized to the same default frame structure; In the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services; The self-organizing network communication method comprises: Any second node in the ad hoc network receives a first message including time slot structure information; the first message is generated by the first node initiating a voice service in the ad hoc network after changing at least one service time slot in a voice transmission period to a voice time slot to obtain a new frame structure; the time slot structure information is used to indicate the new frame structure; any second node is a neighbor node of the first node; Any second node adopts the new frame structure to transmit data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode; Any second node uses the voice time slot in the new frame structure to receive the voice service transmitted by the first node.
5. The method according to claim 4, characterized in that The first message also includes: target node information; the target node information includes all or part of the node identifiers of the second node; The method further comprises: If the node identifier of the own node matches the node identifier in the target node information, any second node sends a second message to the neighboring node; in: The second message includes the time slot structure information, so that the neighboring node of the second node adopts the default frame structure to receive the data service sent by the non-target node, and avoids the voice time slot when sending the message.
6. The method according to claim 5, characterized in that Also includes: When the first node ends the voice service, if its own node identifier matches the node identifier in the target node information, the second node sends voice end information to the neighboring node to inform the neighboring node to resume using the default frame structure.
7. A self-organizing network communication method, characterized in that: Each node in the ad hoc network is synchronized to the same default frame structure; In the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services; The self-organizing network communication method comprises: Any third node in the ad hoc network receives a second message including time slot structure information; the time slot structure information is used to indicate a new frame structure; in the new frame structure, at least one of the service time slots is changed to a voice time slot; the node sending the second message is a target node; the target node adopts the new frame structure to transmit data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode; the target node adopts the voice time slot in the new frame structure to receive the voice service transmitted by the first node; Any third node receives the data service sent by the non-target node using the default frame structure; Any third node avoids the voice time slot when sending a message.
8. The method according to claim 7, characterized in that Also includes: Any third node receives the voice end information; the voice end information is sent by the target node; Any third node uses the default frame structure to transmit data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode.
9. The method according to claim 7, characterized in that The service time slot used by any third node to receive the RTS message sent by the non-target node is represented as the nth time slot; n is an arbitrary integer; When sending a message, any third node avoids the voice time slot, including: Any third node sends a CTS message after the voice timeslot ends.
10. A self-organizing network communication device, characterized in that: As nodes in an ad hoc network, each node in the ad hoc network is synchronized to the same default frame structure; In the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services; The device comprises: A processing unit for: If a voice service is initiated, a voice transmission period is determined, and at least one service time slot in the voice transmission period is changed to a voice time slot to obtain a new frame structure; the period of the communication frame is an integer multiple of the voice transmission period; A sending unit, used to: Sending a first message including time slot structure information to a second node in the ad hoc network; the time slot structure information is used to indicate the new frame structure, so that the second node adopts the new frame structure and transmits data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode; the second node includes a neighbor node of the device; The first service transmission unit is used to: use the voice time slot to transmit the voice service to the second node.
11. A self-organizing network communication device, characterized in that: As nodes in an ad hoc network, each node in the ad hoc network is synchronized to the same default frame structure; In the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services; The device comprises: A first receiving unit is configured to: receive a first message including time slot structure information; the first message is generated by a first node initiating a voice service in the ad hoc network after changing at least one service time slot in a voice transmission period into a voice time slot to obtain a new frame structure; the time slot structure information is used to indicate the new frame structure; the device is a neighbor node of the first node; The second service transmission unit is configured to: The new frame structure is adopted to transmit data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode; The voice service transmitted by the first node is received by using the voice time slot in the new frame structure.
12. A self-organizing network communication device, characterized in that: As nodes in an ad hoc network, each node in the ad hoc network is synchronized to the same default frame structure; In the default frame structure, a communication frame includes a plurality of service time slots, and the service time slots are used to transmit data services; The device comprises: a second receiving unit, configured to receive a second message including time slot structure information; the time slot structure information is used to indicate a new frame structure; in the new frame structure, at least one of the service time slots is changed into a voice time slot; the node sending the second message is a target node; the target node adopts the new frame structure to transmit data services in a carrier sense multiple access / collision avoidance CSMA / CA access mode; the target node adopts the voice time slot in the new frame structure to receive the voice service transmitted by the first node; The third service transmission unit is configured to: Receiving data services sent by non-target nodes using the default frame structure; When sending messages, avoid the voice time slot.
13. A self-organizing network communication device, characterized in that: At least includes a processor and a memory; the processor executes the self-organizing network communication method as described in any one of claims 1 to 3, or executes the self-organizing network communication method as described in any one of claims 4 to 6, or executes the self-organizing network communication method as described in any one of claims 7 to 9 by executing the program stored in the memory and calling other devices.
