WO2017206145A1 - Data transmission methodfor terminal device and terminal device - Google Patents

Data transmission methodfor terminal device and terminal device Download PDF

Info

Publication number
WO2017206145A1
WO2017206145A1 PCT/CN2016/084529 CN2016084529W WO2017206145A1 WO 2017206145 A1 WO2017206145 A1 WO 2017206145A1 CN 2016084529 W CN2016084529 W CN 2016084529W WO 2017206145 A1 WO2017206145 A1 WO 2017206145A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
data
terminal
data response
data request
Prior art date
Application number
PCT/CN2016/084529
Other languages
French (fr)
Chinese (zh)
Inventor
徐海林
Original Assignee
海能达通信股份有限公司
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 海能达通信股份有限公司 filed Critical 海能达通信股份有限公司
Priority to PCT/CN2016/084529 priority Critical patent/WO2017206145A1/en
Publication of WO2017206145A1 publication Critical patent/WO2017206145A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving

Definitions

  • the present invention relates to the field of terminal equipment technologies, and in particular, to a data transmission method and a terminal device of a terminal device.
  • terminal devices With the continuous development of terminal equipment technologies and applications, there are more and more wireless network data transmission requirements between terminal devices, so that they form a unified network application, and the Internet of Things develops rapidly on terminal devices, such as commonly used short message data. Pass, Global Positioning System (English full name: Global Positioning System, English abbreviation: GPS) data exchange and so on.
  • GPS Global Positioning System
  • the frequency resources of the terminal device are limited, and the network resources and bandwidth are also occupied while transmitting data for a long time.
  • a wireless network used by a walkie-talkie usually has multiple call modes such as a call, a group call, and a full call, and will occupy the existing frequency resources during the call.
  • the call relationship is confirmed by the terminal device identity (English full name: IDentifier, English abbreviation: ID).
  • IDentifier English abbreviation: ID
  • the calling party initiates the terminal device ID of the called party
  • the called party compares the received terminal device ID with its own terminal device ID, and if the ID is the same, responds to the call, during which the frequency resource will always be Occupied.
  • the data transmission mode is the same as the calling mode.
  • the terminal device When the data processing is a call in the digital terminal device, the terminal device separately responds to the data in a one-to-one manner, and occupies the frequency resource of the terminal device at the same frequency point during the data transmission process. .
  • the terminal device When multiple terminal devices need to transmit data, if a terminal device occupies the frequency resources of the terminal device at a certain frequency point for a long time, the other terminal devices cannot use the frequency resources under the frequency point, resulting in the terminal device.
  • the data transmission fails, which reduces the data transmission efficiency between the terminal devices and the utilization efficiency of the frequency resources.
  • the embodiment of the invention provides a data transmission method and a terminal device of a terminal device, which are used for improving data transmission efficiency and frequency resource utilization efficiency between terminal devices.
  • the embodiment of the present invention provides the following technical solutions:
  • an embodiment of the present invention provides a data transmission method of a terminal device, including:
  • the embodiment of the present invention further provides a data transmission method of a terminal device, including:
  • the third terminal device When the third terminal device needs to use the data of the first terminal device, the third terminal device acquires the first terminal device that has been received before the data of the first terminal device is currently needed to be used.
  • the data sent is a response.
  • the embodiment of the present invention further provides a terminal device, where the terminal device is specifically a first terminal device, where the first terminal device includes: a receiving module and a group sending module, where
  • the receiving module is configured to receive a data request of the second terminal device
  • the group sending module is configured to send a data response to the second terminal device and one or more third terminal devices according to the received data request, the first terminal device, the second terminal device, and the The third terminal device uses the same frequency resource.
  • the embodiment of the present invention further provides a terminal device, where the terminal device is specifically a third terminal device, where the third terminal device includes: a receiving module and an acquiring module, where
  • the receiving module is configured to receive a data response sent by the first terminal device to the second terminal device and the third terminal device according to the data request of the second terminal device, where the third terminal device, the first The terminal device and the second terminal device use the same frequency resource;
  • the acquiring module is configured to acquire, when the third terminal device needs to use data of the first terminal device, the first terminal that has been received before the data of the first terminal device is currently used. The data response sent by the device.
  • the embodiment of the present invention further provides a terminal device, where the terminal device is specifically a first terminal device, where the first terminal device includes: a receiver, a transmitter, a processor, and a memory;
  • the processor performs the following process:
  • the embodiment of the present invention further provides a terminal device, where the terminal device is specifically a third terminal device, where the third terminal device includes: a receiver, a transmitter, a processor, and a memory;
  • the processor performs the following process:
  • the third terminal device needs to use the data of the first terminal device, acquire a data response sent by the first terminal device that has been received before the data of the first terminal device is currently used.
  • the first terminal device first receives the data request of the second terminal device, and the first terminal device, the second terminal device, and the one or more third terminal devices use the same frequency resource, the first terminal The device may send a data response to the second terminal device and the one or more third terminal devices according to the received data request.
  • the first terminal device after the second terminal device sends the data request to the first terminal device, the first terminal device not only sends a data response to the second terminal device, but also sends a data response to the third terminal device,
  • the three terminal devices can receive the data response without sending a data request to the first terminal device, so that the data transmission efficiency and the frequency resource utilization efficiency between the third terminal device and the first terminal device can be improved, and the internal resources of the terminal device are enhanced. Rational use of the software to improve the performance of the software.
  • the third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
  • FIG. 1 is a schematic block diagram of a data transmission method of a terminal device according to an embodiment of the present disclosure
  • FIG. 2-a is a data transmission between multiple terminal devices in a fixed group according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of data transmission between multiple terminal devices in a temporary group according to an embodiment of the present invention
  • FIG. 2-c is a schematic diagram of another data transmission between multiple terminal devices in a temporary group according to an embodiment of the present invention.
  • FIG. 3 is a schematic block diagram of a data transmission method of another terminal device according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a first terminal device according to an embodiment of the present disclosure.
  • FIG. 5-a is a schematic structural diagram of a third terminal device according to an embodiment of the present disclosure.
  • FIG. 5-b is a schematic structural diagram of another third terminal device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another first terminal device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another third terminal device according to an embodiment of the present disclosure.
  • the embodiment of the invention provides a data transmission method and a terminal device of a terminal device, which are used for improving data transmission efficiency and frequency resource utilization efficiency between terminal devices.
  • an embodiment of a data transmission method of a terminal device of the present invention is applicable to between terminal devices During the transmission of the text data, the terminal device in the embodiment of the present invention may specifically refer to a mobile terminal, such as a mobile phone or a tablet computer, and may also be referred to as a walkie-talkie, such as a hand stand (ie, a handheld phone) or a car station (ie, Car radios, etc.
  • the data transmission method of the terminal device of the present invention is first described from the data sender (ie, the first terminal device). Referring to FIG. 1 , the data transmission method of the terminal device provided by the embodiment of the present invention may include:
  • the first terminal device receives a data request of the second terminal device.
  • the first terminal device, the second terminal device, and the one or more third terminal devices may all be digital terminal devices, and all the terminal devices may be in accordance with the digital mobile radio standard (English full name: Digital Mobile Radio , English abbreviation: DMR) for wireless communication, the first terminal device, the second terminal device and one or more third terminal devices can use the same frequency resource, namely the first terminal device, the second terminal device and one or more The third terminal device operates at the same frequency point.
  • a method for transmitting a terminal device according to an embodiment of the present invention is described by using data transmission between three terminal devices as an example.
  • the terminal device used for the data transmission initiator is defined as the first terminal device.
  • the terminal device that is used to request the first terminal device is defined as the second terminal device, and the other terminal device that is only used for the data transmission receiver is defined as the third terminal device. It can be understood that the embodiment of the present invention provides The data transmission method of the terminal device may not be limited to three terminal devices, but may be used for more terminal devices including three terminal devices, for example, may be used for data transmission between four terminal devices, etc. Wait.
  • the second terminal device needs to use the data of the first terminal device, for example, the second terminal device needs to use the GPS data of the first terminal device to calculate the orientation, and the second terminal device can be used to the first terminal.
  • the device sends a data request, and the data request refers to the second terminal device requesting the text data from the first terminal device, instead of the second terminal device requesting the call from the first terminal device.
  • the first terminal device and the second terminal device use the same frequency resource, and the first terminal device can receive the data request sent by the second terminal device, where the second terminal
  • the second terminal device may occupy the frequency resource during the process of the device sending the data request to the first terminal device. It should be noted that, by receiving the data request sent by the second terminal device, the first terminal device only receives the data request of one terminal device, and then the first terminal device starts to trigger step 102.
  • the first terminal device sends a data response to the second terminal device and the one or more third terminal devices according to the received data request.
  • the first terminal device after the first terminal device receives the data request sent by the second terminal device, the first terminal device needs to respond to the data request, and the first terminal device may generate a data response corresponding to the data request,
  • the data response includes the data of the first terminal device.
  • the second terminal device requests the first terminal device to obtain the GPS data of the first terminal device, and the first terminal device may generate a data response, where the data response includes: the first terminal GPS data of the device.
  • the data response generated by the first terminal device in the embodiment of the present invention may include multiple types of text data, depending on the request type of the second terminal device and the requested data content.
  • the first terminal device may determine, according to the same frequency resource as the first terminal device, which data transmission is sent to the terminal device, for example, the third terminal device does not send the first terminal device Data request, but the third terminal device occupies the same frequency point as the first terminal device, and the first terminal device can send a data response to the second terminal device and also send a data response to the third terminal device, and the third terminal The device can obtain the data response of the first terminal device without sending a data request to the first terminal device, and change the one-to-one communication mode between the terminal devices during data transmission in the prior art.
  • the first terminal device in order to save the frequency resource, only receives the data request sent by the second terminal device, but the first terminal device does not only send the data response to the second terminal device, but may also send the data response to the third terminal device.
  • the data response is sent, or the first terminal device can also send a data response to more terminal devices, so that the terminal device that does not request the first terminal device can also obtain the data response of the first terminal device. Therefore, the data transmission efficiency and the utilization efficiency of the frequency resources between the plurality of terminal devices can be improved, the rational utilization of the internal resources of the terminal device can be enhanced, and the running performance of the software can be improved.
  • the third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
  • the first terminal device responds to the second terminal device, the first terminal device needs to collect information to generate a data response, and the response of the first terminal device needs to wait for the collected data to be completed before replying, but cannot immediately reply, resulting in The data reply is delayed, so for the third terminal device, there is no problem of the reply delay of the first terminal device, and the first terminal device can quickly transmit to the third terminal device without re-collecting the data.
  • the first terminal device, the second terminal device, and the one or more third terminal devices use the same frequency resource, and the second terminal device and the one or more third terminal devices Both can receive the data response sent by the first terminal device.
  • the first terminal device, the second terminal device, and the one or more third terminal devices may also use the same The time slot and the same color code, that is, only the terminal device using the same time slot and the same color code as the first terminal device can receive the data response sent by the first terminal device.
  • the first terminal device sends a data response to the second terminal device and the one or more third terminal devices according to the received data request, which specifically includes the following steps:
  • the first terminal device sends a data response to all the terminal devices in the first fixed group (English name: Fixed Group) where the first terminal device is located according to the received data request, where the first fixed group includes: the first terminal The device, the second terminal device, and one or more third terminal devices.
  • first fixed group includes: the first terminal The device, the second terminal device, and one or more third terminal devices.
  • the group of different groups may use different group identities (English full name: IDentifier, English abbreviation: ID), and the first terminal device, the second terminal device, and one or more third terminal devices belong to the same fixed group.
  • the fixed group is defined as a first fixed group, and in the first fixed group, in addition to the first terminal device, the second terminal device, and one or more third terminal devices, more terminals may be included.
  • the device may send a data response to the other terminal devices in the first fixed group when the first terminal device sends the data response to the second terminal device, and the terminal in the first fixed group group other than the second terminal device
  • the device does not need to send a data request to the first terminal device to obtain the data response of the first terminal device, and the terminal device other than the second terminal device in the first fixed group can obtain the data response of the first terminal device.
  • Data to the first terminal device may include: terminal devices A, B, and C.
  • the second terminal device is the terminal device A shown in the figure
  • the first terminal device is the terminal device B shown in the figure
  • the third terminal device is the terminal device C shown in the figure
  • the terminal device B can simultaneously reply the data response to the terminal device A, the terminal device C, and the terminal device D
  • the terminal device C and the terminal device D can obtain the terminal without requesting the terminal device A.
  • the data sent by the device A responds.
  • the terminal device C and the terminal device D need to use the data of the terminal device A
  • the terminal device C and the terminal device D do not need to request the terminal device A again, so that the terminal device C and the terminal device D can be reduced. Request load.
  • the first terminal device sends a data response to the second terminal device and the one or more third terminal devices according to the received data request, which specifically includes the following steps:
  • the first terminal device requests the temporary group where the first terminal device is located according to the received data request. All the terminal devices in the group (English name: Temporally Group) send a data response, and the temporary group in which the first terminal device is located includes: a first terminal device, a second terminal device, and one or more third terminal devices, and the first terminal The device and the second terminal device belong to the first fixed group, and the third terminal device belongs to the second fixed group.
  • the groups of different groups may use different group IDs.
  • the first fixed group group and the second fixed group group may be two groups with different group IDs.
  • the temporary group is The group may include at least one fixed group.
  • the temporary group may include the first fixed group and the second fixed group.
  • the non-limiting group may further include the third fixed group, the fourth fixed group, and the like.
  • the temporary group can also be temporarily set up, and only a plurality of terminal devices need to be selected to join the temporary group, for example, the first terminal device, the second terminal device, and one or more The third terminal device is added to the temporary group, so the temporary group can also be created without the fixed group, but directly by the terminal device.
  • Temporary groups can use different IDs than fixed groups.
  • the group ID replied by the terminal device cannot reach other groups, so the temporary group ID can be used, and the ID will be set as the group call ID in the terminal device digital protocol, and the ID is Groups can receive data responses.
  • the group ID is used for the data transmission method of the terminal device in the embodiment of the present invention and cannot be used for other purposes such as calling, and will be used in the configuration (terminal device writing frequency software) and the exclusive method of the present invention, and the digital terminal device
  • the ID resource is rich, and this temporary group ID method does not affect the use of fixed group allocation ID.
  • the second fixed group may further include If the first terminal device sends a data response to the second terminal device, the first terminal device may also send a data response to other terminal devices other than the second terminal device in the temporary group in which the first terminal device is located, The terminal device other than the second terminal device in the group does not need to send a data request to the first terminal device to obtain the data response of the first terminal device, and the terminal devices other than the second terminal device in the temporary group pass The data of the first terminal device can be obtained by parsing the data response of the first terminal device. For example, as shown in FIG. 2-b, FIG.
  • the first fixed group may include: terminal devices A and B. C, D
  • the second fixed group may include: the terminal device E, the first fixed group and the second fixed group belong to the same temporary group, wherein the second terminal device is the terminal device A shown in the figure, The first terminal device is the terminal device B shown in the figure, and the third terminal device is the terminal device E shown in the figure, when the terminal device A sends the terminal device B to the terminal device B.
  • the terminal device B can simultaneously reply the data response to the terminal device A, the terminal device C, the terminal device D, and the terminal device E, and the terminal device C, the terminal device D, and the terminal device E do not need to request the terminal device A.
  • the first terminal device sends a data response to the second terminal device and the one or more third terminal devices according to the received data request, which specifically includes the following steps:
  • the first terminal device configures a data response corresponding to the data request by using a private protocol.
  • the first terminal device sends the data response obtained by using the private protocol to the second terminal device, the third terminal device, and the fourth terminal device, where the private protocol is the first terminal device, the second terminal device, and one or more third devices.
  • the protocol standard that the terminal device can recognize, and the fourth terminal device and the first terminal device use the same frequency resource.
  • the first terminal device, the second terminal device, and the one or more third terminal devices are pre-configured with a identifiable private protocol, and the first terminal device can use the private protocol to configure a data response, and then the first terminal device can adopt Broadcasting to send a data response obtained by using a private protocol, if the second terminal device, the third terminal device, and the fourth terminal device can receive the data response of the private protocol configuration, because the second terminal device and one or more
  • the third terminal device is configured with the private protocol, and the second terminal device and the one or more third terminal devices can correctly parse the data response sent by the first terminal device, and the fourth terminal device is the same as the first terminal device.
  • the frequency resource because the fourth terminal device is not configured with the private protocol, the fourth terminal device cannot obtain the data response sent by the first terminal device.
  • the first terminal device, the second terminal device, and the one or more third terminal devices may parse the same type of data, and the fourth terminal device and the first terminal device identify non-identical data, and the group that receives the non-identical data.
  • the group and the receiving group are not set to enter the temporary receiving group.
  • other types of terminal devices ie, the fourth terminal device cannot perform the azimuth operation, and it is not necessary to receive the GPS data sent by the first terminal device. For example, as shown in FIG. 2-c, FIG.
  • the first fixed group may include: terminal devices A and B. , C, D
  • the second fixed group may include: terminal devices E and F
  • the first fixed group and the second fixed group belong to the same temporary group, wherein, the second The terminal device is the terminal device A shown in the figure, the first terminal device is the terminal device B shown in the figure, the third terminal device is the terminal device E shown in the figure, and the fourth terminal device is as shown in the figure.
  • the terminal device F when the terminal device A sends a data request to the terminal device B, the terminal device B can simultaneously reply the data response to the terminal device A, the terminal device C, the terminal device D, the terminal device E, and the terminal device F, and the terminal device A,
  • the terminal device B, the terminal device C, the terminal device D, and the terminal device E are all configured with a private protocol, and the terminal device F is not configured with the private protocol.
  • the terminal device F cannot calculate the orientation, and does not indicate the orientation, so the terminal The device B does not respond to the data transmission, and the data format transmitted is different from the standard data message, which will not affect the use of the terminal device F.
  • the terminal device A initiates a data request to the terminal device B, and the terminal device B includes the first group of the temporary group.
  • the fixed group and the second fixed group, but not all other terminal devices of the terminal device F reply to the data response.
  • the first terminal device first receives the data request of the second terminal device, because the first terminal device, the second terminal device, and the one or more third terminal devices use the same frequency resource.
  • the first terminal device may send a data response to the second terminal device and the one or more third terminal devices according to the received data request.
  • the first terminal device after the second terminal device sends the data request to the first terminal device, the first terminal device not only sends a data response to the second terminal device, but also sends a data response to the third terminal device,
  • the three terminal devices can receive the data response without sending a data request to the first terminal device, so that the data transmission efficiency and the frequency resource utilization efficiency between the third terminal device and the first terminal device can be improved, and the internal resources of the terminal device are enhanced. Rational use of the software to improve the performance of the software.
  • the third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
  • a data transmission method of a terminal device of the present invention is applicable to the process of transmitting text data between terminal devices, and specifically, the data transmission from the receiver of the data (ie, the third terminal device) to the terminal device of the present invention The method is described.
  • a data transmission method of a terminal device according to an embodiment of the present invention may include:
  • the third terminal device receives a data response sent by the first terminal device to the second terminal device and the one or more third terminal devices according to the data request of the second terminal device.
  • the third terminal device, the first terminal device, and the second terminal device use the same frequency resource.
  • the first terminal device, the second terminal device, and the one or more third terminal devices may all be digital terminal devices, and all the terminal devices may perform wireless communication according to the DMR.
  • the first terminal device, the second terminal device, and the one or more third terminal devices may use the same frequency resource, that is, the first terminal device, the second terminal device, and one or more third terminal devices operate at the same frequency point.
  • the second terminal device needs to use the data of the first terminal device, for example, the second terminal device needs to use the GPS data of the first terminal device to calculate the orientation, and the second terminal device can send a data request to the first terminal device, where the data is sent.
  • the request means that the second terminal device requests text data from the first terminal device, instead of the second terminal device requesting a call from the first terminal device.
  • the first terminal device may determine, according to the same frequency resource as the first terminal device, which data device the data response is sent to, for example, the third terminal device does not The first terminal device sends a data request, but the third terminal device occupies the same frequency point as the first terminal device, and the first terminal device can send a data response to the second terminal device and also send a data response to the third terminal device.
  • the third terminal device can obtain the data response of the first terminal device without sending a data request to the first terminal device, and change the one-to-one communication mode between the terminal devices during data transmission in the prior art.
  • the first terminal device in order to save the frequency resource, only receives the data request sent by the second terminal device, but the first terminal device does not only send the data response to the second terminal device, but may also send the data response to the third terminal device.
  • the data response is sent, or the first terminal device can also send a data response to more terminal devices, so that the terminal device that does not request the first terminal device can also obtain the data response of the first terminal device.
  • the third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
  • the first terminal device when the first terminal device responds to the second terminal device, the first terminal device needs to collect information to generate a data response, and the response of the first terminal device needs to wait for the collected data to be completed before replying, but cannot immediately reply, resulting in The data reply is delayed, so for the third terminal device, there is no problem of the reply delay of the first terminal device, and the first terminal device can quickly transmit to the third terminal device without re-collecting the data.
  • the first terminal device, the second terminal device, and the one or more third terminal devices use the same frequency resource, and the second terminal device and the one or more third terminal devices Both can receive the data response sent by the first terminal device.
  • the first terminal device, the second terminal device, and the one or more third terminal devices may also use the same time slot and the same color code, that is, only the same as the first terminal device. Time slot and same color code The terminal device can receive the data response sent by the first terminal device.
  • the third terminal device acquires a data response sent by the first terminal device that has been received before the data of the first terminal device is currently used.
  • the third terminal device can receive the data response sent by the first terminal device without requesting the first terminal device, and the third terminal device needs to use the first
  • the third terminal device does not send a data request to the first terminal device, but acquires a data response sent by the first terminal device that has been received before the data of the first terminal device is currently used, and the third The terminal device may obtain the data of the first terminal device from the data response sent by the first terminal device received in step 301.
  • the third terminal device receives the GPS data response of the first terminal device in step 301.
  • the third terminal device does not need to request the first terminal device, but acquires the first terminal by using the GPS data response of the first terminal device received in advance. GPS data of the device, thereby saving the request load of the third terminal device and the recovery load of the first terminal device
  • the method for transmitting a terminal device according to the embodiment of the present invention may further include the following steps:
  • the third terminal device determines whether the length of time between receiving the data response sent by the first terminal device and the data currently needed to use the first terminal device exceeds Preset data life cycle;
  • the third terminal device sends a data request to the first terminal device, and the third terminal device receives the first terminal device according to the data request of the third terminal device to the third terminal device and the second terminal device.
  • the data sent is a response.
  • the third terminal device may perform steps D1 and D2 in addition to performing step 302.
  • the first terminal device can time constrain the validity of the data response. If the data value changes over time, the data received in step 301 can be used within the valid time range in which the data does not change or is acceptable. response. For other scenarios, the data value does not change with time, and the time constraint value will be zero, without time constraints. For example, GPS location data may be available for a certain period of time. The change occurs within 5 minutes, the terminal device A initiates a data request to the terminal device B, and the terminal device B replies to the terminal device A, C data response.
  • the terminal device C will not send a new request to the terminal device B within 5 minutes, and directly use the data response within 5 minutes. For more than 5 minutes, terminal device C will resend the data request. Therefore, in the embodiment of the present invention, the single terminal device initiates a data request, and the other party replies to the group terminal device with a time-constrained data response. If the preset life cycle is exceeded, the request needs to be resent. If not, the pre-acquisition may be used. The data response to.
  • the first terminal device after the second terminal device sends a data request to the first terminal device, the first terminal device not only sends a data response to the second terminal device, but also sends the data response to the third terminal device.
  • the data response is that the third terminal device can receive the data response without sending the data request to the first terminal device, so that the data transmission efficiency and the frequency resource utilization efficiency between the third terminal device and the first terminal device can be improved. Enhance the rational use of internal resources of the terminal equipment and improve the running performance of the software.
  • the third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
  • a terminal device is provided by the embodiment of the present invention, where the terminal device is specifically a first terminal device 400, and the first terminal device 400 includes: a receiving module 401 and a group sending module 402, where
  • the receiving module 401 is configured to receive a data request of the second terminal device
  • the group sending module 402 is configured to send a data response to the second terminal device and one or more third terminal devices according to the received data request, the first terminal device, the second terminal device, and The third terminal device uses the same frequency resource.
  • the group sending module 402 is specifically configured to receive according to the received Sending, by the data request, the data response to all terminal devices in the first fixed group in which the first terminal device is located, where the first fixed group includes: the first terminal device, the second terminal device And the third terminal device.
  • the group sending module 402 is configured to send, according to the received data request, the data response to all terminal devices in the temporary group in which the first terminal device is located, where
  • the temporary group in which the terminal device is located includes: the first terminal device, the second terminal device, and the third terminal device, where the first terminal device and the second terminal device belong to the first fixed group
  • the third terminal device belongs to the second fixed group.
  • the group sending module 402 is configured to configure a data response corresponding to the data request by using a private protocol, and send a data response obtained by using the private protocol to the second terminal device,
  • the third terminal device and the fourth terminal device send the private protocol is a protocol standard that the first terminal device, the second terminal device, and the third terminal device can identify, the fourth terminal device and the The first terminal device uses the same frequency resource.
  • the first terminal device first receives the data request of the second terminal device, because the first terminal device, the second terminal device, and the one or more third terminal devices use the same frequency resource.
  • the first terminal device may send a data response to the second terminal device and the one or more third terminal devices according to the received data request.
  • the first terminal device after the second terminal device sends the data request to the first terminal device, the first terminal device not only sends a data response to the second terminal device, but also sends a data response to the third terminal device,
  • the three terminal devices can receive the data response without sending a data request to the first terminal device, so that the data transmission efficiency and the frequency resource utilization efficiency between the third terminal device and the first terminal device can be improved, and the internal resources of the terminal device are enhanced. Rational use of the software to improve the performance of the software.
  • the third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
  • a terminal device is provided by the embodiment of the present invention.
  • the terminal device is specifically a second terminal device 500.
  • the first terminal device 500 includes: a receiving module 501 and an obtaining module 502. ,
  • the receiving module 501 is configured to receive a data response that is sent by the first terminal device to the second terminal device and the third terminal device according to the data request of the second terminal device, where the third terminal device A terminal device and the second terminal device use the same frequency resource;
  • the obtaining module 502 is configured to acquire, when the third terminal device needs to use data of the first terminal device, the first that has been received before the data of the first terminal device is currently used. The data response sent by the terminal device.
  • the third terminal device 500 may further include: a validity management module 503, where
  • the validity management module 503 is configured to: when the third terminal device needs to use the data of the first terminal device, determine, from receiving the data response sent by the first terminal device, to the current need to use the first Whether the length of time between data of a terminal device exceeds a preset data life cycle; if the time length exceeds the data life cycle, sending a data request to the first terminal device, the third terminal device receiving the Determining, by the first terminal device, a data response sent to the third terminal device and the second terminal device according to the data request of the third terminal device.
  • the first terminal device after the second terminal device sends a data request to the first terminal device, the first terminal device not only sends a data response to the second terminal device, but also sends the data response to the third terminal device.
  • the data response is that the third terminal device can receive the data response without sending the data request to the first terminal device, so that the data transmission efficiency and the frequency resource utilization efficiency between the third terminal device and the first terminal device can be improved. Enhance the rational use of internal resources of the terminal equipment and improve the running performance of the software.
  • the third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a program, and the program executes some or all of the steps described in the foregoing method embodiments.
  • the terminal device is specifically a first terminal device.
  • the first terminal device 600 includes:
  • the receiver 601, the transmitter 602, the processor 603, and the memory 604 (wherein the number of the processors 603 in the first terminal device 600 may be one or more, and one processor in FIG. 6 is taken as an example).
  • the receiver 601, the transmitter 602, the processor 603, and the memory 604 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
  • Memory 604 can include read only memory and random access memory and provides instructions and data to processor 603. A portion of the memory 604 may also include a non-volatile random access memory (English name: Non-Volatile Random Access Memory, English abbreviation: NVRAM).
  • the memory 604 stores operating systems and operational instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operational instructions can include various operational instructions for implementing various operations.
  • the operating system can include a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the processor 603 controls the operation of the first terminal device, and the processor 603 may also be referred to as a central processing unit (English name: Central Processing Unit, English abbreviation: CPU).
  • a central processing unit English name: Central Processing Unit, English abbreviation: CPU.
  • each component of the first terminal device is coupled together by a bus system.
  • the bus system may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus.
  • the various buses are referred to as bus systems in the figures.
  • Processor 603 can be an integrated circuit chip with signal processing capabilities.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 603 or an instruction in a form of software.
  • the processor 603 may be a general-purpose processor, a digital signal processor (English name: digital signal processing, English abbreviation: DSP), an application-specific integrated circuit (English name: Application Specific Integrated Circuit, English abbreviation: ASIC), ready-made programmable Gate array (English name: Field-Programmable Gate Array, English abbreviation: FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC Application Specific Integrated Circuit
  • FPGA ready-made programmable Gate array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in memory 604, and processor 603 reads the information in memory 604 and, in conjunction with its hardware, performs the steps of the above method.
  • the receiver 601 can be configured to receive input digital or character information, and generate and the first terminal device
  • the related settings and signal inputs related to function control, the transmitter 602 can include a display device such as a display screen, and the transmitter 602 can be used to output digital or character information through an external interface.
  • the processor 603 is configured to execute the foregoing method performed by the first terminal device. For details, refer to the description in the foregoing embodiment. For example, the processor 603 performs the following process:
  • the processor 603 is specifically configured to perform the following process:
  • the processor 603 is specifically configured to perform the following process:
  • the processor 603 is specifically configured to perform the following process:
  • the terminal device is specifically a third terminal device.
  • the third terminal device 700 includes:
  • the receiver 701, the transmitter 702, the processor 703, and the memory 704 (wherein the number of processors 703 in the third terminal device 700 may be one or more, and one processor in FIG. 7 is taken as an example).
  • the receiver 701, the transmitter 702, the processor 703, and the memory 704 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
  • the memory 704 can include a read only memory and a random access memory and provides the processor 703 with Instructions and data. A portion of memory 704 may also include NVRAM.
  • the memory 704 stores operating systems and operational instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operational instructions can include various operational instructions for implementing various operations.
  • the operating system can include a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the processor 703 controls the operation of the third terminal device, and the processor 703 may also be referred to as a CPU.
  • each component of the third terminal device is coupled together by a bus system.
  • the bus system may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus.
  • the various buses are referred to as bus systems in the figures.
  • the method disclosed in the foregoing embodiments of the present invention may be applied to the processor 703 or implemented by the processor 703.
  • the processor 703 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 703 or an instruction in a form of software.
  • the processor 703 described above may be a general purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in memory 704, and processor 703 reads the information in memory 704 and, in conjunction with its hardware, performs the steps of the above method.
  • the processor 703 is configured to execute the foregoing method performed by the third terminal device. For details, refer to the description of the foregoing embodiment. For example, the processor 703 performs the following process:
  • the third terminal device needs to use the data of the first terminal device, acquire a data response sent by the first terminal device that has been received before the data of the first terminal device is currently used.
  • the processor 703 is specifically configured to perform the following process:
  • the third terminal device When the third terminal device needs to use the data of the first terminal device, it is judged from receiving Whether the length of time between the data sent by the first terminal device and the data currently needed to use the first terminal device exceeds a preset data life cycle;
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be Physical units can be located in one place or distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the connection relationship between the modules indicates that there is a communication connection between them, and specifically, one or more communication buses or signal lines can be realized.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, dedicated hardware, dedicated CPU, dedicated memory, dedicated memory, Special components and so on.
  • functions performed by computer programs can be easily implemented with the corresponding hardware, and the specific hardware structure used to implement the same function can be various, such as analog circuits, digital circuits, or dedicated circuits. Circuits, etc.
  • software program implementation is a better implementation in more cases.
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • U disk mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., including a number of instructions to make a computer device (may be A personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.
  • a computer device may be A personal computer, server, or network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed in the embodiments of the present invention are a data transmission method for a terminal device and a terminal device. The data transmission method for a terminal device provided in the embodiments of the present invention comprises: a first terminal device receiving a data request from a second terminal device; and the first terminal device sending, according to the received data request, a data response to the second terminal device and one or more third terminal devices, the first terminal device, the second terminal device, and the third terminal device using the same frequency resource.

Description

一种终端设备的数据传送方法和终端设备Data transmission method and terminal device of terminal device 技术领域Technical field
本发明涉及终端设备技术领域,尤其涉及一种终端设备的数据传送方法和终端设备。The present invention relates to the field of terminal equipment technologies, and in particular, to a data transmission method and a terminal device of a terminal device.
背景技术Background technique
随着终端设备技术和应用不断发展,有越来越多终端设备之间的无线网络数据传输要求,使其形成统一的网络应用,并且物联网在终端设备上发展迅速,比如常用的短信数据互传,全球定位***(英文全称:Global Positioning System,英文简称:GPS)数据互传等等。但作为终端设备本身应用的资源,不论是窄带产品还是未来的宽带产品,终端设备的频率资源都是有限的,在长时间传送数据的同时也占用了网络资源和带宽。With the continuous development of terminal equipment technologies and applications, there are more and more wireless network data transmission requirements between terminal devices, so that they form a unified network application, and the Internet of Things develops rapidly on terminal devices, such as commonly used short message data. Pass, Global Positioning System (English full name: Global Positioning System, English abbreviation: GPS) data exchange and so on. However, as a resource for the terminal device itself, whether it is a narrowband product or a future broadband product, the frequency resources of the terminal device are limited, and the network resources and bandwidth are also occupied while transmitting data for a long time.
在终端设备使用的无线网络中,例如对讲机使用的无线网络中,通常有个呼,组呼和全呼等多种呼叫方式,在呼叫过程中将占用现有的频率资源。作为指定的呼叫方和被呼叫方是通过终端设备身份(英文全称:IDentifier,英文简称:ID)来确认相互之间的呼叫关系。当呼叫方发起被呼方的终端设备ID时,被叫方将接收到的终端设备ID与自身的终端设备ID进行比较,如果ID相同则响应该呼叫,在此过程中频率资源将会一直被占用。而数据传送方式与呼叫方式是相同的,在数字终端设备中数据处理是个呼时,终端设备采用一对一的方式单独回复数据,在数据传送过程中会占用同一频点下终端设备的频率资源。有多个终端设备都需要进行数据传送时若一个终端设备长时间的占用某一频点下终端设备的频率资源,就会导致其它终端设备无法使用该频点下的频率资源,造成终端设备间的数据传送失败,降低了终端设备之间的数据传送效率和频率资源的利用效率。In a wireless network used by a terminal device, for example, a wireless network used by a walkie-talkie usually has multiple call modes such as a call, a group call, and a full call, and will occupy the existing frequency resources during the call. As the designated caller and called party, the call relationship is confirmed by the terminal device identity (English full name: IDentifier, English abbreviation: ID). When the calling party initiates the terminal device ID of the called party, the called party compares the received terminal device ID with its own terminal device ID, and if the ID is the same, responds to the call, during which the frequency resource will always be Occupied. The data transmission mode is the same as the calling mode. When the data processing is a call in the digital terminal device, the terminal device separately responds to the data in a one-to-one manner, and occupies the frequency resource of the terminal device at the same frequency point during the data transmission process. . When multiple terminal devices need to transmit data, if a terminal device occupies the frequency resources of the terminal device at a certain frequency point for a long time, the other terminal devices cannot use the frequency resources under the frequency point, resulting in the terminal device. The data transmission fails, which reduces the data transmission efficiency between the terminal devices and the utilization efficiency of the frequency resources.
发明内容Summary of the invention
本发明实施例提供了一种终端设备的数据传送方法和终端设备,用于提高终端设备之间的数据传送效率和频率资源的利用效率。The embodiment of the invention provides a data transmission method and a terminal device of a terminal device, which are used for improving data transmission efficiency and frequency resource utilization efficiency between terminal devices.
为解决上述技术问题,本发明实施例提供以下技术方案: To solve the above technical problem, the embodiment of the present invention provides the following technical solutions:
第一方面,本发明实施例提供一种终端设备的数据传送方法,包括:In a first aspect, an embodiment of the present invention provides a data transmission method of a terminal device, including:
第一终端设备接收第二终端设备的数据请求;Receiving, by the first terminal device, a data request of the second terminal device;
所述第一终端设备根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,所述第一终端设备、所述第二终端设备和所述第三终端设备使用相同的频率资源。Transmitting, by the first terminal device, a data response to the second terminal device and one or more third terminal devices according to the received data request, the first terminal device, the second terminal device, and the The third terminal device uses the same frequency resource.
第二方面,本发明实施例还提供一种终端设备的数据传送方法,包括:In a second aspect, the embodiment of the present invention further provides a data transmission method of a terminal device, including:
第三终端设备接收第一终端设备根据第二终端设备的数据请求向所述第二终端设备和所述第三终端设备发送的数据响应,所述第三终端设备、所述第一终端设备和所述第二终端设备使用相同的频率资源;Receiving, by the third terminal device, a data response sent by the first terminal device to the second terminal device and the third terminal device according to the data request of the second terminal device, the third terminal device, the first terminal device, and The second terminal device uses the same frequency resource;
当所述第三终端设备需要使用所述第一终端设备的数据时,所述第三终端设备获取在当前需要使用所述第一终端设备的数据之前就已经接收到的所述第一终端设备发送的数据响应。When the third terminal device needs to use the data of the first terminal device, the third terminal device acquires the first terminal device that has been received before the data of the first terminal device is currently needed to be used. The data sent is a response.
第三方面,本发明实施例还提供一种终端设备,所述终端设备具体为第一终端设备,所述第一终端设备包括:接收模块和群发模块,其中,In a third aspect, the embodiment of the present invention further provides a terminal device, where the terminal device is specifically a first terminal device, where the first terminal device includes: a receiving module and a group sending module, where
所述接收模块,用于接收第二终端设备的数据请求;The receiving module is configured to receive a data request of the second terminal device;
所述群发模块,用于根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,所述第一终端设备、所述第二终端设备和所述第三终端设备使用相同的频率资源。The group sending module is configured to send a data response to the second terminal device and one or more third terminal devices according to the received data request, the first terminal device, the second terminal device, and the The third terminal device uses the same frequency resource.
第四方面,本发明实施例还提供一种终端设备,所述终端设备具体为第三终端设备,所述第三终端设备包括:接收模块和获取模块,其中,In a fourth aspect, the embodiment of the present invention further provides a terminal device, where the terminal device is specifically a third terminal device, where the third terminal device includes: a receiving module and an acquiring module, where
所述接收模块,用于接收第一终端设备根据第二终端设备的数据请求向所述第二终端设备和所述第三终端设备发送的数据响应,所述第三终端设备、所述第一终端设备和所述第二终端设备使用相同的频率资源;The receiving module is configured to receive a data response sent by the first terminal device to the second terminal device and the third terminal device according to the data request of the second terminal device, where the third terminal device, the first The terminal device and the second terminal device use the same frequency resource;
所述获取模块,用于当所述第三终端设备需要使用所述第一终端设备的数据时,获取在当前需要使用所述第一终端设备的数据之前就已经接收到的所述第一终端设备发送的数据响应。The acquiring module is configured to acquire, when the third terminal device needs to use data of the first terminal device, the first terminal that has been received before the data of the first terminal device is currently used. The data response sent by the device.
第五方面,本发明实施例还提供一种终端设备,所述终端设备具体为第一终端设备,所述第一终端设备包括:接收器、发射器、处理器以及存储器;In a fifth aspect, the embodiment of the present invention further provides a terminal device, where the terminal device is specifically a first terminal device, where the first terminal device includes: a receiver, a transmitter, a processor, and a memory;
所述处理器执行如下流程: The processor performs the following process:
接收第二终端设备的数据请求;Receiving a data request of the second terminal device;
根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,所述第一终端设备、所述第二终端设备和所述第三终端设备使用相同的频率资源。Sending a data response to the second terminal device and the one or more third terminal devices according to the received data request, where the first terminal device, the second terminal device, and the third terminal device use the same Frequency resources.
第六方面,本发明实施例还提供一种终端设备,所述终端设备具体为第三终端设备,所述第三终端设备包括:接收器、发射器、处理器以及存储器;In a sixth aspect, the embodiment of the present invention further provides a terminal device, where the terminal device is specifically a third terminal device, where the third terminal device includes: a receiver, a transmitter, a processor, and a memory;
所述处理器执行如下流程:The processor performs the following process:
接收第一终端设备根据第二终端设备的数据请求向所述第二终端设备和所述第三终端设备发送的数据响应,所述第三终端设备、所述第一终端设备和所述第二终端设备使用相同的频率资源;Receiving, by the first terminal device, a data response sent to the second terminal device and the third terminal device according to the data request of the second terminal device, the third terminal device, the first terminal device, and the second The terminal device uses the same frequency resource;
当所述第三终端设备需要使用所述第一终端设备的数据时,获取在当前需要使用所述第一终端设备的数据之前就已经接收到的所述第一终端设备发送的数据响应。When the third terminal device needs to use the data of the first terminal device, acquire a data response sent by the first terminal device that has been received before the data of the first terminal device is currently used.
从以上技术方案可以看出,本发明实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present invention have the following advantages:
在本发明实施例中,第一终端设备首先接收到第二终端设备的数据请求,由于第一终端设备、第二终端设备和一个或多个第三终端设备使用相同的频率资源,第一终端设备可以根据接收到的数据请求向第二终端设备和一个或多个第三终端设备发送数据响应。本发明实施例中,第二终端设备向第一终端设备发送了数据请求之后,第一终端设备不仅会向第二终端设备发送数据响应,同时也会向第三终端设备发送数据响应,则第三终端设备不需要向第一终端设备发送数据请求就可以接收到数据响应,因此可以提高第三终端设备和第一终端设备之间的数据传送效率和频率资源的利用效率,增强终端设备内部资源的合理利用,提升软件运行性能。第三终端设备不需要向第一终端设备请求,第一终端设备也不需要再响应,从而可以节省第一终端设备和一个或多个第三终端设备的电力,减缓终端设备的电能消耗。In the embodiment of the present invention, the first terminal device first receives the data request of the second terminal device, and the first terminal device, the second terminal device, and the one or more third terminal devices use the same frequency resource, the first terminal The device may send a data response to the second terminal device and the one or more third terminal devices according to the received data request. In the embodiment of the present invention, after the second terminal device sends the data request to the first terminal device, the first terminal device not only sends a data response to the second terminal device, but also sends a data response to the third terminal device, The three terminal devices can receive the data response without sending a data request to the first terminal device, so that the data transmission efficiency and the frequency resource utilization efficiency between the third terminal device and the first terminal device can be improved, and the internal resources of the terminal device are enhanced. Rational use of the software to improve the performance of the software. The third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
附图说明DRAWINGS
图1为本发明实施例提供的一种终端设备的数据传送方法的流程方框示意图;FIG. 1 is a schematic block diagram of a data transmission method of a terminal device according to an embodiment of the present disclosure;
图2-a为本发明实施例中在一个固定组群下多个终端设备之间的数据传送 示意图;FIG. 2-a is a data transmission between multiple terminal devices in a fixed group according to an embodiment of the present invention; schematic diagram;
图2-b为本发明实施例中在临时组群下多个终端设备之间的一种数据传送示意图;FIG. 2 is a schematic diagram of data transmission between multiple terminal devices in a temporary group according to an embodiment of the present invention; FIG.
图2-c为本发明实施例中在临时组群下多个终端设备之间的另一种数据传送示意图;FIG. 2-c is a schematic diagram of another data transmission between multiple terminal devices in a temporary group according to an embodiment of the present invention;
图3为本发明实施例提供的另一种终端设备的数据传送方法的流程方框示意图;FIG. 3 is a schematic block diagram of a data transmission method of another terminal device according to an embodiment of the present disclosure;
图4为本发明实施例提供的一种第一终端设备的组成结构示意图;FIG. 4 is a schematic structural diagram of a first terminal device according to an embodiment of the present disclosure;
图5-a为本发明实施例提供的一种第三终端设备的组成结构示意图;FIG. 5-a is a schematic structural diagram of a third terminal device according to an embodiment of the present disclosure;
图5-b为本发明实施例提供的另一种第三终端设备的组成结构示意图;FIG. 5-b is a schematic structural diagram of another third terminal device according to an embodiment of the present disclosure;
图6为本发明实施例提供的另一种第一终端设备的组成结构示意图;FIG. 6 is a schematic structural diagram of another first terminal device according to an embodiment of the present disclosure;
图7为本发明实施例提供的另一种第三终端设备的组成结构示意图。FIG. 7 is a schematic structural diagram of another third terminal device according to an embodiment of the present disclosure.
具体实施方式detailed description
本发明实施例提供了一种终端设备的数据传送方法和终端设备,用于提高终端设备之间的数据传送效率和频率资源的利用效率。The embodiment of the invention provides a data transmission method and a terminal device of a terminal device, which are used for improving data transmission efficiency and frequency resource utilization efficiency between terminal devices.
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域的技术人员所获得的所有其他实施例,都属于本发明保护的范围。In order to make the object, the features and the advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,这仅仅是描述本发明的实施例中对相同属性的对象在描述时所采用的区分方式。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,以便包含一系列单元的过程、方法、***、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。The terms "first", "second" and the like in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the terms so used are interchangeable as appropriate, and are merely illustrative of the manner in which the objects of the same. In addition, the terms "comprises" and "comprises" and "comprises", and any variations thereof, are intended to cover a non-exclusive inclusion so that a process, method, system, product, or device comprising a series of units is not necessarily limited to those elements, but may include Other units listed or inherent to these processes, methods, products or equipment.
以下分别进行详细说明。The details are described below separately.
本发明终端设备的数据传送方法的一个实施例,可应用于终端设备之间的 文本数据的传送过程中,本发明实施例中终端设备具体可以指的是移动终端,例如手机、平板电脑,也可以指的是对讲机,例如手台(即手持式讲机)、车台(即车载对讲机)等。具体的,首先从数据发送方(即第一终端设备)对本发明终端设备的数据传送方法进行说明,请参阅图1所示,本发明一个实施例提供的终端设备的数据传送方法,可以包括:An embodiment of a data transmission method of a terminal device of the present invention is applicable to between terminal devices During the transmission of the text data, the terminal device in the embodiment of the present invention may specifically refer to a mobile terminal, such as a mobile phone or a tablet computer, and may also be referred to as a walkie-talkie, such as a hand stand (ie, a handheld phone) or a car station (ie, Car radios, etc. Specifically, the data transmission method of the terminal device of the present invention is first described from the data sender (ie, the first terminal device). Referring to FIG. 1 , the data transmission method of the terminal device provided by the embodiment of the present invention may include:
101、第一终端设备接收第二终端设备的数据请求。101. The first terminal device receives a data request of the second terminal device.
在本发明实施例中,第一终端设备、第二终端设备和一个或多个第三终端设备都可以为数字终端设备,所有的终端设备均可以按照数字移动无线电标准(英文全称:Digital Mobile Radio,英文简称:DMR)进行无线通信,第一终端设备、第二终端设备和一个或多个第三终端设备可以使用相同的频率资源,即第一终端设备、第二终端设备和一个或多个第三终端设备工作在同一频点下。本发明实施例中以三个终端设备之间的数据传送为例对本发明实施例提供的终端设备的传送方法进行说明,其中,将用于数据传送发起方的终端设备定义为第一终端设备,将用于向该第一终端设备请求的终端设备定义为第二终端设备,将只用于数据传送接收方的另一个终端设备定义为第三终端设备,可以理解的是,本发明实施例提供的终端设备的数据传送方法可以不局限于三个终端设备,而是可以用于包括三个终端设备在内的更多的终端设备,例如,可以用于四个终端设备之间的数据传送等等。In the embodiment of the present invention, the first terminal device, the second terminal device, and the one or more third terminal devices may all be digital terminal devices, and all the terminal devices may be in accordance with the digital mobile radio standard (English full name: Digital Mobile Radio , English abbreviation: DMR) for wireless communication, the first terminal device, the second terminal device and one or more third terminal devices can use the same frequency resource, namely the first terminal device, the second terminal device and one or more The third terminal device operates at the same frequency point. In the embodiment of the present invention, a method for transmitting a terminal device according to an embodiment of the present invention is described by using data transmission between three terminal devices as an example. The terminal device used for the data transmission initiator is defined as the first terminal device. The terminal device that is used to request the first terminal device is defined as the second terminal device, and the other terminal device that is only used for the data transmission receiver is defined as the third terminal device. It can be understood that the embodiment of the present invention provides The data transmission method of the terminal device may not be limited to three terminal devices, but may be used for more terminal devices including three terminal devices, for example, may be used for data transmission between four terminal devices, etc. Wait.
在本发明实施例中,第二终端设备需要使用第一终端设备的数据,例如第二终端设备需要使用第一终端设备的GPS数据对方位进行运算,这时第二终端设备可以向第一终端设备发送数据请求,该数据请求指的是第二终端设备向第一终端设备请求文本数据,而不是第二终端设备向第一终端设备请求呼叫。第二终端设备向第一终端设备发送了数据请求之后,第一终端设备和第二终端设备使用相同的频率资源,第一终端设备可以接收到第二终端设备发送的数据请求,在第二终端设备向第一终端设备发送数据请求的过程中第二终端设备会占用频率资源。需要说明的是,第一终端设备通过接收第二终端设备发送的数据请求,该第一终端设备只接收到一个终端设备的数据请求,然后第一终端设备开始触发执行步骤102。In the embodiment of the present invention, the second terminal device needs to use the data of the first terminal device, for example, the second terminal device needs to use the GPS data of the first terminal device to calculate the orientation, and the second terminal device can be used to the first terminal. The device sends a data request, and the data request refers to the second terminal device requesting the text data from the first terminal device, instead of the second terminal device requesting the call from the first terminal device. After the second terminal device sends the data request to the first terminal device, the first terminal device and the second terminal device use the same frequency resource, and the first terminal device can receive the data request sent by the second terminal device, where the second terminal The second terminal device may occupy the frequency resource during the process of the device sending the data request to the first terminal device. It should be noted that, by receiving the data request sent by the second terminal device, the first terminal device only receives the data request of one terminal device, and then the first terminal device starts to trigger step 102.
102、第一终端设备根据接收到的数据请求向第二终端设备和一个或多个第三终端设备发送数据响应。 102. The first terminal device sends a data response to the second terminal device and the one or more third terminal devices according to the received data request.
在本发明实施例中,第一终端设备接收到第二终端设备发送的数据请求之后,第一终端设备需要对该数据请求作出响应,第一终端设备可以生成与该数据请求对应的数据响应,该数据响应中包括第一终端设备的数据,例如第二终端设备向第一终端设备请求该第一终端设备的GPS数据,则第一终端设备可以生成数据响应,该数据响应包括:第一终端设备的GPS数据。可以理解的是,本发明实施例中第一终端设备生成的数据响应可以包括多种类型的文本数据,具体取决于第二终端设备的请求类型以及所请求的数据内容。当第一终端设备生成数据响应之后,第一终端设备可以根据使用与该第一终端设备相同的频率资源确定向哪些终端设备发送数据响应,例如,第三终端设备虽然没有向第一终端设备发送数据请求,但是该第三终端设备与第一终端设备占用相同的频点,该第一终端设备可以向第二终端设备发送数据响应的同时也向第三终端设备发送数据响应,则第三终端设备不需要向第一终端设备发送数据请求就可以获取到该第一终端设备的数据响应,改变现有技术中数据传送时终端设备之间的一对一通信方式。本发明实施例中为了节省频率资源,第一终端设备虽然只接收到第二终端设备发送的数据请求,但是第一终端设备不仅仅向第二终端设备发送数据响应,还可以向第三终端设备发送数据响应,或者第一终端设备还可以向更多的终端设备发送数据响应,以使这些没有向第一终端设备请求的终端设备也可以获取到第一终端设备的数据响应。因此可以提高多个终端设备之间的数据传送效率和频率资源的利用效率,增强终端设备内部资源的合理利用,提升软件运行性能。第三终端设备不需要向第一终端设备请求,第一终端设备也不需要再响应,从而可以节省第一终端设备和一个或多个第三终端设备的电力,减缓终端设备的电能消耗。另外,第一终端设备在向第二终端设备作数据响应时,第一终端设备需要收集信息才能生成数据响应,第一终端设备的回复需要等收集数据完成之后才能回复,而不能立即回复,造成数据回复延迟,因此对于第三终端设备而言,不会存在第一终端设备的回复延迟问题,第一终端设备可以向第三终端设备迅速发送而不用重新收集数据。In the embodiment of the present invention, after the first terminal device receives the data request sent by the second terminal device, the first terminal device needs to respond to the data request, and the first terminal device may generate a data response corresponding to the data request, The data response includes the data of the first terminal device. For example, the second terminal device requests the first terminal device to obtain the GPS data of the first terminal device, and the first terminal device may generate a data response, where the data response includes: the first terminal GPS data of the device. It can be understood that the data response generated by the first terminal device in the embodiment of the present invention may include multiple types of text data, depending on the request type of the second terminal device and the requested data content. After the first terminal device generates the data response, the first terminal device may determine, according to the same frequency resource as the first terminal device, which data transmission is sent to the terminal device, for example, the third terminal device does not send the first terminal device Data request, but the third terminal device occupies the same frequency point as the first terminal device, and the first terminal device can send a data response to the second terminal device and also send a data response to the third terminal device, and the third terminal The device can obtain the data response of the first terminal device without sending a data request to the first terminal device, and change the one-to-one communication mode between the terminal devices during data transmission in the prior art. In the embodiment of the present invention, in order to save the frequency resource, the first terminal device only receives the data request sent by the second terminal device, but the first terminal device does not only send the data response to the second terminal device, but may also send the data response to the third terminal device. The data response is sent, or the first terminal device can also send a data response to more terminal devices, so that the terminal device that does not request the first terminal device can also obtain the data response of the first terminal device. Therefore, the data transmission efficiency and the utilization efficiency of the frequency resources between the plurality of terminal devices can be improved, the rational utilization of the internal resources of the terminal device can be enhanced, and the running performance of the software can be improved. The third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down. In addition, when the first terminal device responds to the second terminal device, the first terminal device needs to collect information to generate a data response, and the response of the first terminal device needs to wait for the collected data to be completed before replying, but cannot immediately reply, resulting in The data reply is delayed, so for the third terminal device, there is no problem of the reply delay of the first terminal device, and the first terminal device can quickly transmit to the third terminal device without re-collecting the data.
需要说明的是,在本发明实施例中,第一终端设备、第二终端设备和一个或多个第三终端设备使用相同的频率资源,则第二终端设备和一个或多个第三终端设备都可以接收到第一终端设备发送的数据响应。在本发明的一些实施例中,第一终端设备、第二终端设备和一个或多个第三终端设备还可以使用相同 的时隙和相同的色码,即只有和第一终端设备使用相同的时隙和相同的色码的终端设备才能接收到第一终端设备发送的数据响应。It should be noted that, in the embodiment of the present invention, the first terminal device, the second terminal device, and the one or more third terminal devices use the same frequency resource, and the second terminal device and the one or more third terminal devices Both can receive the data response sent by the first terminal device. In some embodiments of the present invention, the first terminal device, the second terminal device, and the one or more third terminal devices may also use the same The time slot and the same color code, that is, only the terminal device using the same time slot and the same color code as the first terminal device can receive the data response sent by the first terminal device.
在本发明的一些实施例中,步骤102第一终端设备根据接收到的数据请求向第二终端设备和一个或多个第三终端设备发送数据响应,具体包括如下步骤:In some embodiments of the present invention, the first terminal device sends a data response to the second terminal device and the one or more third terminal devices according to the received data request, which specifically includes the following steps:
A1、第一终端设备根据接收到的数据请求向第一终端设备所在的第一固定组群(英文名称:Fixed Group)内的所有终端设备发送数据响应,第一固定组群包括:第一终端设备、第二终端设备和一个或多个第三终端设备。A1: The first terminal device sends a data response to all the terminal devices in the first fixed group (English name: Fixed Group) where the first terminal device is located according to the received data request, where the first fixed group includes: the first terminal The device, the second terminal device, and one or more third terminal devices.
其中,不同分组的组群可以使用不同的组群身份(英文全称:IDentifier,英文简称:ID),第一终端设备、第二终端设备和一个或多个第三终端设备属于同一个固定组群,该固定组群定义为第一固定组群,在第一固定组群内除了包括第一终端设备、第二终端设备和一个或多个第三终端设备之外,还可以包括更多的终端设备,则第一终端设备向第二终端设备发送数据响应时还可以向第一固定组群内的其它终端设备都发送数据响应,则第一固定组群内除第二终端设备以外的其它终端设备不需要向第一终端设备发送数据请求就可以获取到第一终端设备的数据响应,第一固定组群内除第二终端设备以外的其它终端设备通过解析第一终端设备的数据响应可以获取到第一终端设备的数据。举例说明如下,如图2-a所示,为本发明实施例中在一个固定组群下多个终端设备之间的数据传送示意图,第一固定组群可以包括:终端设备A、B、C、D,其中,第二终端设备为图中所示的终端设备A,第一终端设备为图中所示的终端设备B,第三终端设备为图中所示的终端设备C,当终端设备A向终端设备B发送数据请求时,终端设备B可以向终端设备A、终端设备C、终端设备D同时回复数据响应,则终端设备C、终端设备D不需要向终端设备A请求就可以得到终端设备A发送的数据响应,当终端设备C和终端设备D需要使用终端设备A的数据时,终端设备C、终端设备D不需要再向终端设备A请求,从而可以减少终端设备C、终端设备D的请求负荷。The group of different groups may use different group identities (English full name: IDentifier, English abbreviation: ID), and the first terminal device, the second terminal device, and one or more third terminal devices belong to the same fixed group. The fixed group is defined as a first fixed group, and in the first fixed group, in addition to the first terminal device, the second terminal device, and one or more third terminal devices, more terminals may be included. The device may send a data response to the other terminal devices in the first fixed group when the first terminal device sends the data response to the second terminal device, and the terminal in the first fixed group group other than the second terminal device The device does not need to send a data request to the first terminal device to obtain the data response of the first terminal device, and the terminal device other than the second terminal device in the first fixed group can obtain the data response of the first terminal device. Data to the first terminal device. For example, as shown in FIG. 2-a, FIG. 2 is a schematic diagram of data transmission between multiple terminal devices in a fixed group according to an embodiment of the present invention. The first fixed group may include: terminal devices A, B, and C. And D, wherein the second terminal device is the terminal device A shown in the figure, the first terminal device is the terminal device B shown in the figure, and the third terminal device is the terminal device C shown in the figure, when the terminal device is When A sends a data request to the terminal device B, the terminal device B can simultaneously reply the data response to the terminal device A, the terminal device C, and the terminal device D, and the terminal device C and the terminal device D can obtain the terminal without requesting the terminal device A. The data sent by the device A responds. When the terminal device C and the terminal device D need to use the data of the terminal device A, the terminal device C and the terminal device D do not need to request the terminal device A again, so that the terminal device C and the terminal device D can be reduced. Request load.
在本发明的一些实施例中,步骤102第一终端设备根据接收到的数据请求向第二终端设备和一个或多个第三终端设备发送数据响应,具体包括如下步骤:In some embodiments of the present invention, the first terminal device sends a data response to the second terminal device and the one or more third terminal devices according to the received data request, which specifically includes the following steps:
B1、第一终端设备根据接收到的数据请求向第一终端设备所在的临时组 群(英文名称:Temporally Group)内的所有终端设备发送数据响应,第一终端设备所在的临时组群包括:第一终端设备、第二终端设备和一个或多个第三终端设备,第一终端设备和第二终端设备属于第一固定组群,第三终端设备属于第二固定组群。B1. The first terminal device requests the temporary group where the first terminal device is located according to the received data request. All the terminal devices in the group (English name: Temporally Group) send a data response, and the temporary group in which the first terminal device is located includes: a first terminal device, a second terminal device, and one or more third terminal devices, and the first terminal The device and the second terminal device belong to the first fixed group, and the third terminal device belongs to the second fixed group.
其中,不同分组的组群可以使用不同的组群ID,例如第一固定组群和第二固定组群可以是组群ID不相同的两个组群,一种可实现的方式是,临时组群可以包括至少一个固定组群,例如临时组群可包括第一固定组群和第二固定组群,不限定的是,临时组群还可以包括第三固定组群、第四固定组群等。另外,本发明实施例中临时组群也可以是临时组建的,只需要选择多个终端设备加入到临时组群中即可,例如可以将第一终端设备、第二终端设备和一个或多个第三终端设备加入到临时组群,因此临时组群也可以不通过固定组群来创建,而直接通过终端设备来创建。临时组群可以和固定组群使用不同的ID。对于不同分组的组群,终端设备回复的组群ID不能达到其它组群,因此可以采用临时组群ID,此ID将被设为终端设备数字协议中的组呼ID,在回复时此ID的组群都能收到数据响应。组群ID用于本发明实施例中终端设备的数据传送方法而不能用于呼叫等其它用途,将在配置(终端设备写频软件)里限制使用和专属本发明方法使用,而数字终端设备的ID资源丰富,此临时组ID方法不影响使用固定组群分配ID。在第一固定组群内除了包括第一终端设备、第二终端设备之外,还可以包括更多的终端设备,在第二固定组群内除了包括第三终端设备之外,还可以包括更多的终端设备,则第一终端设备向第二终端设备发送数据响应时还可以向该第一终端设备所在的临时组群内的除第二终端设备以外的其它终端设备发送数据响应,则临时组群内除第二终端设备以外的其它终端设备不需要向第一终端设备发送数据请求就可以获取到第一终端设备的数据响应,临时组群内除第二终端设备以外的其它终端设备通过解析第一终端设备的数据响应可以获取到第一终端设备的数据。举例说明如下,如图2-b所示,为本发明实施例中在临时组群下多个终端设备之间的一种数据传送示意图,第一固定组群可以包括:终端设备A、B、C、D,第二固定组群可以包括:终端设备E,第一固定组群和第二固定组群属于同一个临时组群,其中,第二终端设备为图中所示的终端设备A,第一终端设备为图中所示的终端设备B,第三终端设备为图中所示的终端设备E,当终端设备A向终端设备B发送 数据请求时,终端设备B可以向终端设备A、终端设备C、终端设备D、终端设备E同时回复数据响应,则终端设备C、终端设备D、终端设备E不需要向终端设备A请求就可以得到终端设备A发送的数据响应,当终端设备C、终端设备D和终端设备E需要使用终端设备A的数据时,终端设备C、终端设备D和终端设备E不需要再向终端设备A请求,从而可以减少终端设备C、终端设备D的请求负荷。The groups of different groups may use different group IDs. For example, the first fixed group group and the second fixed group group may be two groups with different group IDs. One achievable manner is that the temporary group is The group may include at least one fixed group. For example, the temporary group may include the first fixed group and the second fixed group. The non-limiting group may further include the third fixed group, the fourth fixed group, and the like. . In addition, in the embodiment of the present invention, the temporary group can also be temporarily set up, and only a plurality of terminal devices need to be selected to join the temporary group, for example, the first terminal device, the second terminal device, and one or more The third terminal device is added to the temporary group, so the temporary group can also be created without the fixed group, but directly by the terminal device. Temporary groups can use different IDs than fixed groups. For group groups of different groups, the group ID replied by the terminal device cannot reach other groups, so the temporary group ID can be used, and the ID will be set as the group call ID in the terminal device digital protocol, and the ID is Groups can receive data responses. The group ID is used for the data transmission method of the terminal device in the embodiment of the present invention and cannot be used for other purposes such as calling, and will be used in the configuration (terminal device writing frequency software) and the exclusive method of the present invention, and the digital terminal device The ID resource is rich, and this temporary group ID method does not affect the use of fixed group allocation ID. In the first fixed group, in addition to the first terminal device and the second terminal device, more terminal devices may be included, and in addition to the third terminal device, the second fixed group may further include If the first terminal device sends a data response to the second terminal device, the first terminal device may also send a data response to other terminal devices other than the second terminal device in the temporary group in which the first terminal device is located, The terminal device other than the second terminal device in the group does not need to send a data request to the first terminal device to obtain the data response of the first terminal device, and the terminal devices other than the second terminal device in the temporary group pass The data of the first terminal device can be obtained by parsing the data response of the first terminal device. For example, as shown in FIG. 2-b, FIG. 2 is a schematic diagram of data transmission between multiple terminal devices in a temporary group according to an embodiment of the present invention. The first fixed group may include: terminal devices A and B. C, D, the second fixed group may include: the terminal device E, the first fixed group and the second fixed group belong to the same temporary group, wherein the second terminal device is the terminal device A shown in the figure, The first terminal device is the terminal device B shown in the figure, and the third terminal device is the terminal device E shown in the figure, when the terminal device A sends the terminal device B to the terminal device B. When the data is requested, the terminal device B can simultaneously reply the data response to the terminal device A, the terminal device C, the terminal device D, and the terminal device E, and the terminal device C, the terminal device D, and the terminal device E do not need to request the terminal device A. Obtaining the data response sent by the terminal device A, when the terminal device C, the terminal device D, and the terminal device E need to use the data of the terminal device A, the terminal device C, the terminal device D, and the terminal device E do not need to request the terminal device A again. Thereby, the request load of the terminal device C and the terminal device D can be reduced.
在本发明的一些实施例中,步骤102第一终端设备根据接收到的数据请求向第二终端设备和一个或多个第三终端设备发送数据响应,具体包括如下步骤:In some embodiments of the present invention, the first terminal device sends a data response to the second terminal device and the one or more third terminal devices according to the received data request, which specifically includes the following steps:
C1、第一终端设备使用私有协议配置与数据请求对应的数据响应;C1. The first terminal device configures a data response corresponding to the data request by using a private protocol.
C2、第一终端设备将使用私有协议得到的数据响应向第二终端设备、第三终端设备和第四终端设备发送,私有协议为第一终端设备、第二终端设备和一个或多个第三终端设备能够识别的协议标准,第四终端设备和第一终端设备使用相同的频率资源。C2. The first terminal device sends the data response obtained by using the private protocol to the second terminal device, the third terminal device, and the fourth terminal device, where the private protocol is the first terminal device, the second terminal device, and one or more third devices. The protocol standard that the terminal device can recognize, and the fourth terminal device and the first terminal device use the same frequency resource.
其中,第一终端设备、第二终端设备和一个或多个第三终端设备之间预先配置能够识别的私有协议,第一终端设备可以使用该私有协议配置数据响应,然后第一终端设备可以采用广播的方式来发送使用私有协议得到的数据响应,若第二终端设备、第三终端设备和第四终端设备都可以接收到该私有协议配置的数据响应,由于第二终端设备和一个或多个第三终端设备配置有该私有协议,则第二终端设备和一个或多个第三终端设备可以正确解析得到第一终端设备发送的数据响应,而第四终端设备虽然和第一终端设备使用相同的频率资源,由于该第四终端设备没有配置上述私有协议,则第四终端设备也无法获取到第一终端设备发送的数据响应。例如,第一终端设备、第二终端设备和一个或多个第三终端设备可以解析同类型数据,第四终端设备与第一终端设备识别的是非同类数据,则对非同类型数据接收的组群与接收组群不会设置进入此临时接收组,比如其它类型终端设备(即第四终端设备)不能进行对方位运算,就不必接收第一终端设备发送的GPS数据。举例说明如下,如图2-c所示,为本发明实施例中在临时组群下多个终端设备之间的另一种数据传送示意图,第一固定组群可以包括:终端设备A、B、C、D,第二固定组群可以包括:终端设备E和F,第一固定组群和第二固定组群属于同一个临时组群,其中,第二 终端设备为图中所示的终端设备A,第一终端设备为图中所示的终端设备B,第三终端设备为图中所示的终端设备E、第四终端设备为图中所示的终端设备F,当终端设备A向终端设备B发送数据请求时,终端设备B可以向终端设备A、终端设备C、终端设备D、终端设备E和终端设备F同时回复数据响应,终端设备A、终端设备B、终端设备C、终端设备D、终端设备E之间都配置有私有协议,而终端设备F没有配置这种私有协议,例如终端设备F不能对方位进行运算,不指示方位,所以终端设备B不对其发送数据响应,而且传送的数据格式有别于标准数据短信,将不影响终端设备F的使用,终端设备A向终端设备B发起数据请求,终端设备B将临时组群包括第一固定组群和第二固定组群,但不包括终端设备F的其它所有终端设备回复数据响应。The first terminal device, the second terminal device, and the one or more third terminal devices are pre-configured with a identifiable private protocol, and the first terminal device can use the private protocol to configure a data response, and then the first terminal device can adopt Broadcasting to send a data response obtained by using a private protocol, if the second terminal device, the third terminal device, and the fourth terminal device can receive the data response of the private protocol configuration, because the second terminal device and one or more The third terminal device is configured with the private protocol, and the second terminal device and the one or more third terminal devices can correctly parse the data response sent by the first terminal device, and the fourth terminal device is the same as the first terminal device. The frequency resource, because the fourth terminal device is not configured with the private protocol, the fourth terminal device cannot obtain the data response sent by the first terminal device. For example, the first terminal device, the second terminal device, and the one or more third terminal devices may parse the same type of data, and the fourth terminal device and the first terminal device identify non-identical data, and the group that receives the non-identical data. The group and the receiving group are not set to enter the temporary receiving group. For example, other types of terminal devices (ie, the fourth terminal device) cannot perform the azimuth operation, and it is not necessary to receive the GPS data sent by the first terminal device. For example, as shown in FIG. 2-c, FIG. 2 is a schematic diagram of another data transmission between multiple terminal devices in a temporary group according to an embodiment of the present invention. The first fixed group may include: terminal devices A and B. , C, D, the second fixed group may include: terminal devices E and F, the first fixed group and the second fixed group belong to the same temporary group, wherein, the second The terminal device is the terminal device A shown in the figure, the first terminal device is the terminal device B shown in the figure, the third terminal device is the terminal device E shown in the figure, and the fourth terminal device is as shown in the figure. The terminal device F, when the terminal device A sends a data request to the terminal device B, the terminal device B can simultaneously reply the data response to the terminal device A, the terminal device C, the terminal device D, the terminal device E, and the terminal device F, and the terminal device A, The terminal device B, the terminal device C, the terminal device D, and the terminal device E are all configured with a private protocol, and the terminal device F is not configured with the private protocol. For example, the terminal device F cannot calculate the orientation, and does not indicate the orientation, so the terminal The device B does not respond to the data transmission, and the data format transmitted is different from the standard data message, which will not affect the use of the terminal device F. The terminal device A initiates a data request to the terminal device B, and the terminal device B includes the first group of the temporary group. The fixed group and the second fixed group, but not all other terminal devices of the terminal device F reply to the data response.
通过前述实施例对本发明的举例说明可知,第一终端设备首先接收到第二终端设备的数据请求,由于第一终端设备、第二终端设备和一个或多个第三终端设备使用相同的频率资源,第一终端设备可以根据接收到的数据请求向第二终端设备和一个或多个第三终端设备发送数据响应。本发明实施例中,第二终端设备向第一终端设备发送了数据请求之后,第一终端设备不仅会向第二终端设备发送数据响应,同时也会向第三终端设备发送数据响应,则第三终端设备不需要向第一终端设备发送数据请求就可以接收到数据响应,因此可以提高第三终端设备和第一终端设备之间的数据传送效率和频率资源的利用效率,增强终端设备内部资源的合理利用,提升软件运行性能。第三终端设备不需要向第一终端设备请求,第一终端设备也不需要再响应,从而可以节省第一终端设备和一个或多个第三终端设备的电力,减缓终端设备的电能消耗。According to the foregoing description of the present invention, the first terminal device first receives the data request of the second terminal device, because the first terminal device, the second terminal device, and the one or more third terminal devices use the same frequency resource. The first terminal device may send a data response to the second terminal device and the one or more third terminal devices according to the received data request. In the embodiment of the present invention, after the second terminal device sends the data request to the first terminal device, the first terminal device not only sends a data response to the second terminal device, but also sends a data response to the third terminal device, The three terminal devices can receive the data response without sending a data request to the first terminal device, so that the data transmission efficiency and the frequency resource utilization efficiency between the third terminal device and the first terminal device can be improved, and the internal resources of the terminal device are enhanced. Rational use of the software to improve the performance of the software. The third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
本发明终端设备的数据传送方法的一个实施例,可应用于终端设备之间的文本数据的传送过程中,具体的,从数据的接收方(即第三终端设备)对本发明终端设备的数据传送方法进行说明,请参阅图3所示,本发明一个实施例提供的终端设备的数据传送方法,可以包括:An embodiment of the data transmission method of the terminal device of the present invention is applicable to the process of transmitting text data between terminal devices, and specifically, the data transmission from the receiver of the data (ie, the third terminal device) to the terminal device of the present invention The method is described. Referring to FIG. 3, a data transmission method of a terminal device according to an embodiment of the present invention may include:
301、第三终端设备接收第一终端设备根据第二终端设备的数据请求向第二终端设备和一个或多个第三终端设备发送的数据响应。301. The third terminal device receives a data response sent by the first terminal device to the second terminal device and the one or more third terminal devices according to the data request of the second terminal device.
其中,第三终端设备、第一终端设备和第二终端设备使用相同的频率资源。The third terminal device, the first terminal device, and the second terminal device use the same frequency resource.
在本发明实施例中,第一终端设备、第二终端设备和一个或多个第三终端设备都可以为数字终端设备,所有的终端设备均可以按照DMR进行无线通信, 第一终端设备、第二终端设备和一个或多个第三终端设备可以使用相同的频率资源,即第一终端设备、第二终端设备和一个或多个第三终端设备工作在同一频点下。第二终端设备需要使用第一终端设备的数据,例如第二终端设备需要使用第一终端设备的GPS数据对方位进行运算,这时第二终端设备可以向第一终端设备发送数据请求,该数据请求指的是第二终端设备向第一终端设备请求文本数据,而不是第二终端设备向第一终端设备请求呼叫。当第一终端设备向第二终端设备回复数据响应时,第一终端设备可以根据使用与该第一终端设备相同的频率资源确定向哪些终端设备发送数据响应,例如,第三终端设备虽然没有向第一终端设备发送数据请求,但是该第三终端设备与第一终端设备占用相同的频点,该第一终端设备可以向第二终端设备发送数据响应的同时也向第三终端设备发送数据响应,则第三终端设备不需要向第一终端设备发送数据请求就可以获取到该第一终端设备的数据响应,改变现有技术中数据传送时终端设备之间的一对一通信方式。本发明实施例中为了节省频率资源,第一终端设备虽然只接收到第二终端设备发送的数据请求,但是第一终端设备不仅仅向第二终端设备发送数据响应,还可以向第三终端设备发送数据响应,或者第一终端设备还可以向更多的终端设备发送数据响应,以使这些没有向第一终端设备请求的终端设备也可以获取到第一终端设备的数据响应。因此可以提高多个终端设备之间的数据传送效率和频率资源的利用效率,增强终端设备内部资源的合理利用,提升软件运行性能。第三终端设备不需要向第一终端设备请求,第一终端设备也不需要再响应,从而可以节省第一终端设备和一个或多个第三终端设备的电力,减缓终端设备的电能消耗。另外,第一终端设备在向第二终端设备作数据响应时,第一终端设备需要收集信息才能生成数据响应,第一终端设备的回复需要等收集数据完成之后才能回复,而不能立即回复,造成数据回复延迟,因此对于第三终端设备而言,不会存在第一终端设备的回复延迟问题,第一终端设备可以向第三终端设备迅速发送而不用重新收集数据。In the embodiment of the present invention, the first terminal device, the second terminal device, and the one or more third terminal devices may all be digital terminal devices, and all the terminal devices may perform wireless communication according to the DMR. The first terminal device, the second terminal device, and the one or more third terminal devices may use the same frequency resource, that is, the first terminal device, the second terminal device, and one or more third terminal devices operate at the same frequency point. . The second terminal device needs to use the data of the first terminal device, for example, the second terminal device needs to use the GPS data of the first terminal device to calculate the orientation, and the second terminal device can send a data request to the first terminal device, where the data is sent. The request means that the second terminal device requests text data from the first terminal device, instead of the second terminal device requesting a call from the first terminal device. When the first terminal device returns a data response to the second terminal device, the first terminal device may determine, according to the same frequency resource as the first terminal device, which data device the data response is sent to, for example, the third terminal device does not The first terminal device sends a data request, but the third terminal device occupies the same frequency point as the first terminal device, and the first terminal device can send a data response to the second terminal device and also send a data response to the third terminal device. The third terminal device can obtain the data response of the first terminal device without sending a data request to the first terminal device, and change the one-to-one communication mode between the terminal devices during data transmission in the prior art. In the embodiment of the present invention, in order to save the frequency resource, the first terminal device only receives the data request sent by the second terminal device, but the first terminal device does not only send the data response to the second terminal device, but may also send the data response to the third terminal device. The data response is sent, or the first terminal device can also send a data response to more terminal devices, so that the terminal device that does not request the first terminal device can also obtain the data response of the first terminal device. Therefore, the data transmission efficiency and the utilization efficiency of the frequency resources between the plurality of terminal devices can be improved, the rational utilization of the internal resources of the terminal device can be enhanced, and the running performance of the software can be improved. The third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down. In addition, when the first terminal device responds to the second terminal device, the first terminal device needs to collect information to generate a data response, and the response of the first terminal device needs to wait for the collected data to be completed before replying, but cannot immediately reply, resulting in The data reply is delayed, so for the third terminal device, there is no problem of the reply delay of the first terminal device, and the first terminal device can quickly transmit to the third terminal device without re-collecting the data.
需要说明的是,在本发明实施例中,第一终端设备、第二终端设备和一个或多个第三终端设备使用相同的频率资源,则第二终端设备和一个或多个第三终端设备都可以接收到第一终端设备发送的数据响应。在本发明的一些实施例中,第一终端设备、第二终端设备和一个或多个第三终端设备还可以使用相同的时隙和相同的色码,即只有和第一终端设备使用相同的时隙和相同的色码的 终端设备才能接收到第一终端设备发送的数据响应。It should be noted that, in the embodiment of the present invention, the first terminal device, the second terminal device, and the one or more third terminal devices use the same frequency resource, and the second terminal device and the one or more third terminal devices Both can receive the data response sent by the first terminal device. In some embodiments of the present invention, the first terminal device, the second terminal device, and the one or more third terminal devices may also use the same time slot and the same color code, that is, only the same as the first terminal device. Time slot and same color code The terminal device can receive the data response sent by the first terminal device.
302、当第三终端设备需要使用第一终端设备的数据时,第三终端设备获取在当前需要使用第一终端设备的数据之前就已经接收到的第一终端设备发送的数据响应。302. When the third terminal device needs to use the data of the first terminal device, the third terminal device acquires a data response sent by the first terminal device that has been received before the data of the first terminal device is currently used.
在本发明实施例中,由前述步骤301中的描述可知,第三终端设备不需要向第一终端设备请求就可以接收到第一终端设备发送的数据响应,当第三终端设备需要使用第一终端设备的数据时,第三终端设备不向第一终端设备发送数据请求,而是获取在当前需要使用第一终端设备的数据之前就已经接收到的第一终端设备发送的数据响应,第三终端设备可以从步骤301中接收到的第一终端设备发送的数据响应中获取到第一终端设备的数据,例如,步骤301中若第三终端设备接收到第一终端设备的GPS数据响应,当第三终端设备需要使用第一终端设备的位置作方位计算时,第三终端设备就无需再请求第一终端设备,而是通过提前接收到的第一终端设备的GPS数据响应获取到第一终端设备的GPS数据,从而可以节省第三终端设备的请求负荷,以及第一终端设备的回复负荷。In the embodiment of the present invention, as described in the foregoing step 301, the third terminal device can receive the data response sent by the first terminal device without requesting the first terminal device, and the third terminal device needs to use the first When the data of the terminal device is sent, the third terminal device does not send a data request to the first terminal device, but acquires a data response sent by the first terminal device that has been received before the data of the first terminal device is currently used, and the third The terminal device may obtain the data of the first terminal device from the data response sent by the first terminal device received in step 301. For example, if the third terminal device receives the GPS data response of the first terminal device in step 301, When the third terminal device needs to use the location of the first terminal device for the azimuth calculation, the third terminal device does not need to request the first terminal device, but acquires the first terminal by using the GPS data response of the first terminal device received in advance. GPS data of the device, thereby saving the request load of the third terminal device and the recovery load of the first terminal device
在本发明的一些实施例中,本发明实施例提供的终端设备的传送方法除了执行前述步骤之外,本发明实施例提供的终端设备的传送方法还可以包括如下步骤:In some embodiments of the present invention, the method for transmitting a terminal device according to the embodiment of the present invention may further include the following steps:
D1、当第三终端设备需要使用第一终端设备的数据时,第三终端设备判断从接收到第一终端设备发送的数据响应至当前需要使用第一终端设备的数据之间的时间长度是否超过预置的数据生命周期;D1. When the third terminal device needs to use the data of the first terminal device, the third terminal device determines whether the length of time between receiving the data response sent by the first terminal device and the data currently needed to use the first terminal device exceeds Preset data life cycle;
D2、若时间长度超过数据生命周期,第三终端设备向第一终端设备发送数据请求,第三终端设备接收第一终端设备根据第三终端设备的数据请求向第三终端设备和第二终端设备发送的数据响应。D2. If the time length exceeds the data life cycle, the third terminal device sends a data request to the first terminal device, and the third terminal device receives the first terminal device according to the data request of the third terminal device to the third terminal device and the second terminal device. The data sent is a response.
其中,在本发明的一些实施例中,当步骤301执行之后,第三终端设备除了执行步骤302之外,第三终端设备还可以执行步骤D1和D2。第一终端设备可以对数据响应的有效性进行时间约束,如果数据值会随时间变化而变化,那么在有效时间内数据未变化或可接受的变化范围之内,可以使用步骤301中接收到数据响应。对于其它场景使用本方法,数据值不随时间变化而变化,时间约束值将会为零,不对其时间约束。比如GPS位置数据可能在一定时间 内发生变化,设定在5分钟内,终端设备A向终端设备B发起数据请求,终端设备B回复给终端设备A、C数据响应。那么终端设备C接收到终端设备B的数据响应后在5分钟之内不会再向终端设备B发送新的请求,直接使用5分钟之内的数据响应。超过5分钟,终端设备C将重新发送数据请求。因此,本发明实施例中单次终端设备发起数据请求,对方回复群组终端设备有时间约束的数据响应,若超过预置的生命周期则需要重新发送请求,若没有超过,则可以使用提前获取到的数据响应。In some embodiments of the present invention, after the step 301 is performed, the third terminal device may perform steps D1 and D2 in addition to performing step 302. The first terminal device can time constrain the validity of the data response. If the data value changes over time, the data received in step 301 can be used within the valid time range in which the data does not change or is acceptable. response. For other scenarios, the data value does not change with time, and the time constraint value will be zero, without time constraints. For example, GPS location data may be available for a certain period of time. The change occurs within 5 minutes, the terminal device A initiates a data request to the terminal device B, and the terminal device B replies to the terminal device A, C data response. Then, after receiving the data response of the terminal device B, the terminal device C will not send a new request to the terminal device B within 5 minutes, and directly use the data response within 5 minutes. For more than 5 minutes, terminal device C will resend the data request. Therefore, in the embodiment of the present invention, the single terminal device initiates a data request, and the other party replies to the group terminal device with a time-constrained data response. If the preset life cycle is exceeded, the request needs to be resent. If not, the pre-acquisition may be used. The data response to.
通过前述实施例对本发明的举例说明可知,第二终端设备向第一终端设备发送了数据请求之后,第一终端设备不仅会向第二终端设备发送数据响应,同时也会向第三终端设备发送数据响应,则第三终端设备不需要向第一终端设备发送数据请求就可以接收到数据响应,因此可以提高第三终端设备和第一终端设备之间的数据传送效率和频率资源的利用效率,增强终端设备内部资源的合理利用,提升软件运行性能。第三终端设备不需要向第一终端设备请求,第一终端设备也不需要再响应,从而可以节省第一终端设备和一个或多个第三终端设备的电力,减缓终端设备的电能消耗。According to the foregoing description of the present invention, after the second terminal device sends a data request to the first terminal device, the first terminal device not only sends a data response to the second terminal device, but also sends the data response to the third terminal device. The data response is that the third terminal device can receive the data response without sending the data request to the first terminal device, so that the data transmission efficiency and the frequency resource utilization efficiency between the third terminal device and the first terminal device can be improved. Enhance the rational use of internal resources of the terminal equipment and improve the running performance of the software. The third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
为便于更好的实施本发明实施例的上述方案,下面还提供用于实施上述方案的相关装置。In order to facilitate the implementation of the above solution of the embodiments of the present invention, related devices for implementing the above solutions are also provided below.
请参阅图4所示,本发明实施例提供的一种终端设备,所述终端设备具体为第一终端设备400,所述第一终端设备400包括:接收模块401和群发模块402,其中,Referring to FIG. 4, a terminal device is provided by the embodiment of the present invention, where the terminal device is specifically a first terminal device 400, and the first terminal device 400 includes: a receiving module 401 and a group sending module 402, where
所述接收模块401,用于接收第二终端设备的数据请求;The receiving module 401 is configured to receive a data request of the second terminal device;
所述群发模块402,用于根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,所述第一终端设备、所述第二终端设备和所述第三终端设备使用相同的频率资源。The group sending module 402 is configured to send a data response to the second terminal device and one or more third terminal devices according to the received data request, the first terminal device, the second terminal device, and The third terminal device uses the same frequency resource.
在本发明的一些实施例中,群发模块402,具体用于根据接收到的所 述数据请求向所述第一终端设备所在的第一固定组群内的所有终端设备发送所述数据响应,所述第一固定组群包括:所述第一终端设备、所述第二终端设备和所述第三终端设备。In some embodiments of the present invention, the group sending module 402 is specifically configured to receive according to the received Sending, by the data request, the data response to all terminal devices in the first fixed group in which the first terminal device is located, where the first fixed group includes: the first terminal device, the second terminal device And the third terminal device.
在本发明的一些实施例中,群发模块402,具体用于根据接收到的所述数据请求向所述第一终端设备所在的临时组群内的所有终端设备发送所述数据响应,所述第一终端设备所在的临时组群包括:所述第一终端设备、所述第二终端设备和所述第三终端设备,所述第一终端设备和所述第二终端设备属于第一固定组群,所述第三终端设备属于第二固定组群。In some embodiments of the present invention, the group sending module 402 is configured to send, according to the received data request, the data response to all terminal devices in the temporary group in which the first terminal device is located, where The temporary group in which the terminal device is located includes: the first terminal device, the second terminal device, and the third terminal device, where the first terminal device and the second terminal device belong to the first fixed group The third terminal device belongs to the second fixed group.
在本发明的一些实施例中,群发模块402,具体用于使用私有协议配置与所述数据请求对应的数据响应;将使用所述私有协议得到的数据响应向所述第二终端设备、所述第三终端设备和第四终端设备发送,所述私有协议为所述第一终端设备、所述第二终端设备和所述第三终端设备能够识别的协议标准,所述第四终端设备和所述第一终端设备使用相同的频率资源。In some embodiments of the present invention, the group sending module 402 is configured to configure a data response corresponding to the data request by using a private protocol, and send a data response obtained by using the private protocol to the second terminal device, The third terminal device and the fourth terminal device send, the private protocol is a protocol standard that the first terminal device, the second terminal device, and the third terminal device can identify, the fourth terminal device and the The first terminal device uses the same frequency resource.
通过前述实施例对本发明的举例说明可知,第一终端设备首先接收到第二终端设备的数据请求,由于第一终端设备、第二终端设备和一个或多个第三终端设备使用相同的频率资源,第一终端设备可以根据接收到的数据请求向第二终端设备和一个或多个第三终端设备发送数据响应。本发明实施例中,第二终端设备向第一终端设备发送了数据请求之后,第一终端设备不仅会向第二终端设备发送数据响应,同时也会向第三终端设备发送数据响应,则第三终端设备不需要向第一终端设备发送数据请求就可以接收到数据响应,因此可以提高第三终端设备和第一终端设备之间的数据传送效率和频率资源的利用效率,增强终端设备内部资源的合理利用,提升软件运行性能。第三终端设备不需要向第一终端设备请求,第一终端设备也不需要再响应,从而可以节省第一终端设备和一个或多个第三终端设备的电力,减缓终端设备的电能消耗。According to the foregoing description of the present invention, the first terminal device first receives the data request of the second terminal device, because the first terminal device, the second terminal device, and the one or more third terminal devices use the same frequency resource. The first terminal device may send a data response to the second terminal device and the one or more third terminal devices according to the received data request. In the embodiment of the present invention, after the second terminal device sends the data request to the first terminal device, the first terminal device not only sends a data response to the second terminal device, but also sends a data response to the third terminal device, The three terminal devices can receive the data response without sending a data request to the first terminal device, so that the data transmission efficiency and the frequency resource utilization efficiency between the third terminal device and the first terminal device can be improved, and the internal resources of the terminal device are enhanced. Rational use of the software to improve the performance of the software. The third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
请参阅图5-a所示,本发明实施例提供的一种终端设备,所述终端设备具体为第二终端设备500,所述第一终端设备500包括:接收模块501和获取模块502,其中,Referring to FIG. 5-a, a terminal device is provided by the embodiment of the present invention. The terminal device is specifically a second terminal device 500. The first terminal device 500 includes: a receiving module 501 and an obtaining module 502. ,
所述接收模块501,用于接收第一终端设备根据第二终端设备的数据请求向所述第二终端设备和所述第三终端设备发送的数据响应,所述第三终端设备、所述第一终端设备和所述第二终端设备使用相同的频率资源; The receiving module 501 is configured to receive a data response that is sent by the first terminal device to the second terminal device and the third terminal device according to the data request of the second terminal device, where the third terminal device A terminal device and the second terminal device use the same frequency resource;
所述获取模块502,用于当所述第三终端设备需要使用所述第一终端设备的数据时,获取在当前需要使用所述第一终端设备的数据之前就已经接收到的所述第一终端设备发送的数据响应。The obtaining module 502 is configured to acquire, when the third terminal device needs to use data of the first terminal device, the first that has been received before the data of the first terminal device is currently used. The data response sent by the terminal device.
在本发明的一些实施例中,如图5-b所示,第三终端设备500,还可以包括:有效性管理模块503,其中,In some embodiments of the present invention, as shown in FIG. 5-b, the third terminal device 500 may further include: a validity management module 503, where
所述有效性管理模块503,用于当所述第三终端设备需要使用所述第一终端设备的数据时,判断从接收到所述第一终端设备发送的数据响应至当前需要使用所述第一终端设备的数据之间的时间长度是否超过预置的数据生命周期;若所述时间长度超过所述数据生命周期,向所述第一终端设备发送数据请求,所述第三终端设备接收所述第一终端设备根据所述第三终端设备的数据请求向所述第三终端设备和所述第二终端设备发送的数据响应。The validity management module 503 is configured to: when the third terminal device needs to use the data of the first terminal device, determine, from receiving the data response sent by the first terminal device, to the current need to use the first Whether the length of time between data of a terminal device exceeds a preset data life cycle; if the time length exceeds the data life cycle, sending a data request to the first terminal device, the third terminal device receiving the Determining, by the first terminal device, a data response sent to the third terminal device and the second terminal device according to the data request of the third terminal device.
通过前述实施例对本发明的举例说明可知,第二终端设备向第一终端设备发送了数据请求之后,第一终端设备不仅会向第二终端设备发送数据响应,同时也会向第三终端设备发送数据响应,则第三终端设备不需要向第一终端设备发送数据请求就可以接收到数据响应,因此可以提高第三终端设备和第一终端设备之间的数据传送效率和频率资源的利用效率,增强终端设备内部资源的合理利用,提升软件运行性能。第三终端设备不需要向第一终端设备请求,第一终端设备也不需要再响应,从而可以节省第一终端设备和一个或多个第三终端设备的电力,减缓终端设备的电能消耗。According to the foregoing description of the present invention, after the second terminal device sends a data request to the first terminal device, the first terminal device not only sends a data response to the second terminal device, but also sends the data response to the third terminal device. The data response is that the third terminal device can receive the data response without sending the data request to the first terminal device, so that the data transmission efficiency and the frequency resource utilization efficiency between the third terminal device and the first terminal device can be improved. Enhance the rational use of internal resources of the terminal equipment and improve the running performance of the software. The third terminal device does not need to request the first terminal device, and the first terminal device does not need to respond again, so that the power of the first terminal device and the one or more third terminal devices can be saved, and the power consumption of the terminal device is slowed down.
需要说明的是,上述装置各模块/单元之间的信息交互、执行过程等内容,由于与本发明方法实施例基于同一构思,其带来的技术效果与本发明方法实施例相同,具体内容可参见本发明前述所示的方法实施例中的叙述,此处不再赘述。It should be noted that the information interaction between the modules/units of the foregoing device, the execution process, and the like are based on the same concept as the method embodiment of the present invention, and the technical effects thereof are the same as the embodiment of the method of the present invention. Referring to the description in the foregoing method embodiments of the present invention, details are not described herein again.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储有程序,该程序执行包括上述方法实施例中记载的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a program, and the program executes some or all of the steps described in the foregoing method embodiments.
接下来介绍本发明实施例提供的另一种终端设备,该终端设备具体为第一终端设备,请参阅图6所示,第一终端设备600包括:The following is another terminal device provided by the embodiment of the present invention. The terminal device is specifically a first terminal device. Referring to FIG. 6, the first terminal device 600 includes:
接收器601、发射器602、处理器603和存储器604(其中第一终端设备600中的处理器603的数量可以一个或多个,图6中以一个处理器为例)。在本发 明的一些实施例中,接收器601、发射器602、处理器603和存储器604可通过总线或其它方式连接,其中,图6中以通过总线连接为例。The receiver 601, the transmitter 602, the processor 603, and the memory 604 (wherein the number of the processors 603 in the first terminal device 600 may be one or more, and one processor in FIG. 6 is taken as an example). In this hair In some embodiments, the receiver 601, the transmitter 602, the processor 603, and the memory 604 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
存储器604可以包括只读存储器和随机存取存储器,并向处理器603提供指令和数据。存储器604的一部分还可以包括非易失性随机存取存储器(英文全称:Non-Volatile Random Access Memory,英文缩写:NVRAM)。存储器604存储有操作***和操作指令、可执行模块或者数据结构,或者它们的子集,或者它们的扩展集,其中,操作指令可包括各种操作指令,用于实现各种操作。操作***可包括各种***程序,用于实现各种基础业务以及处理基于硬件的任务。 Memory 604 can include read only memory and random access memory and provides instructions and data to processor 603. A portion of the memory 604 may also include a non-volatile random access memory (English name: Non-Volatile Random Access Memory, English abbreviation: NVRAM). The memory 604 stores operating systems and operational instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operational instructions can include various operational instructions for implementing various operations. The operating system can include a variety of system programs for implementing various basic services and handling hardware-based tasks.
处理器603控制第一终端设备的操作,处理器603还可以称为中央处理单元(英文全称:Central Processing Unit,英文简称:CPU)。具体的应用中,第一终端设备的各个组件通过总线***耦合在一起,其中总线***除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都称为总线***。The processor 603 controls the operation of the first terminal device, and the processor 603 may also be referred to as a central processing unit (English name: Central Processing Unit, English abbreviation: CPU). In a specific application, each component of the first terminal device is coupled together by a bus system. The bus system may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for the sake of clarity, the various buses are referred to as bus systems in the figures.
上述本发明实施例揭示的方法可以应用于处理器603中,或者由处理器603实现。处理器603可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器603中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器603可以是通用处理器、数字信号处理器(英文全称:digital signal processing,英文缩写:DSP)、专用集成电路(英文全称:Application Specific Integrated Circuit,英文缩写:ASIC)、现成可编程门阵列(英文全称:Field-Programmable Gate Array,英文缩写:FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器604,处理器603读取存储器604中的信息,结合其硬件完成上述方法的步骤。The method disclosed in the foregoing embodiments of the present invention may be applied to the processor 603 or implemented by the processor 603. Processor 603 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 603 or an instruction in a form of software. The processor 603 may be a general-purpose processor, a digital signal processor (English name: digital signal processing, English abbreviation: DSP), an application-specific integrated circuit (English name: Application Specific Integrated Circuit, English abbreviation: ASIC), ready-made programmable Gate array (English name: Field-Programmable Gate Array, English abbreviation: FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in memory 604, and processor 603 reads the information in memory 604 and, in conjunction with its hardware, performs the steps of the above method.
接收器601可用于接收输入的数字或字符信息,以及产生与第一终端设备 的相关设置以及功能控制有关的信号输入,发射器602可包括显示屏等显示设备,发射器602可用于通过外接接口输出数字或字符信息。The receiver 601 can be configured to receive input digital or character information, and generate and the first terminal device The related settings and signal inputs related to function control, the transmitter 602 can include a display device such as a display screen, and the transmitter 602 can be used to output digital or character information through an external interface.
本发明实施例中,处理器603,用于执行前述第一终端设备执行的方法,详见前述实施例中的说明。例如,处理器603执行如下流程:In the embodiment of the present invention, the processor 603 is configured to execute the foregoing method performed by the first terminal device. For details, refer to the description in the foregoing embodiment. For example, the processor 603 performs the following process:
接收第二终端设备的数据请求;Receiving a data request of the second terminal device;
根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,所述第一终端设备、所述第二终端设备和所述第三终端设备使用相同的频率资源。Sending a data response to the second terminal device and the one or more third terminal devices according to the received data request, where the first terminal device, the second terminal device, and the third terminal device use the same Frequency resources.
在本发明的一些实施例中,处理器603,具体用于执行如下流程:In some embodiments of the present invention, the processor 603 is specifically configured to perform the following process:
根据接收到的所述数据请求向所述第一终端设备所在的第一固定组群内的所有终端设备发送所述数据响应,所述第一固定组群包括:所述第一终端设备、所述第二终端设备和所述第三终端设备。Sending, according to the received data request, the data response to all the terminal devices in the first fixed group in which the first terminal device is located, where the first fixed group includes: the first terminal device and the The second terminal device and the third terminal device are described.
在本发明的一些实施例中,处理器603,具体用于执行如下流程:In some embodiments of the present invention, the processor 603 is specifically configured to perform the following process:
根据接收到的所述数据请求向所述第一终端设备所在的临时组群内的所有终端设备发送所述数据响应,所述第一终端设备所在的临时组群包括:所述第一终端设备、所述第二终端设备和所述第三终端设备,所述第一终端设备和所述第二终端设备属于第一固定组群,所述第三终端设备属于第二固定组群。Sending, according to the received data request, the data response to all the terminal devices in the temporary group in which the first terminal device is located, where the temporary group in which the first terminal device is located includes: the first terminal device The second terminal device and the third terminal device, the first terminal device and the second terminal device belong to a first fixed group, and the third terminal device belongs to a second fixed group.
在本发明的一些实施例中,处理器603,具体用于执行如下流程:In some embodiments of the present invention, the processor 603 is specifically configured to perform the following process:
使用私有协议配置与所述数据请求对应的数据响应;Configuring a data response corresponding to the data request using a proprietary protocol;
将使用所述私有协议得到的数据响应向所述第二终端设备、所述第三终端设备和第四终端设备发送,所述私有协议为所述第一终端设备、所述第二终端设备和所述第三终端设备能够识别的协议标准,所述第四终端设备和所述第一终端设备使用相同的频率资源。Transmitting a data response obtained by using the private protocol to the second terminal device, the third terminal device, and the fourth terminal device, where the private protocol is the first terminal device, the second terminal device, and The protocol standard that the third terminal device can identify, the fourth terminal device and the first terminal device use the same frequency resource.
接下来介绍本发明实施例提供的另一种终端设备,该终端设备具体为第三终端设备,请参阅图7所示,第三终端设备700包括:The following describes another terminal device provided by the embodiment of the present invention. The terminal device is specifically a third terminal device. Referring to FIG. 7, the third terminal device 700 includes:
接收器701、发射器702、处理器703和存储器704(其中第三终端设备700中的处理器703的数量可以一个或多个,图7中以一个处理器为例)。在本发明的一些实施例中,接收器701、发射器702、处理器703和存储器704可通过总线或其它方式连接,其中,图7中以通过总线连接为例。The receiver 701, the transmitter 702, the processor 703, and the memory 704 (wherein the number of processors 703 in the third terminal device 700 may be one or more, and one processor in FIG. 7 is taken as an example). In some embodiments of the present invention, the receiver 701, the transmitter 702, the processor 703, and the memory 704 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
存储器704可以包括只读存储器和随机存取存储器,并向处理器703提供 指令和数据。存储器704的一部分还可以包括NVRAM。存储器704存储有操作***和操作指令、可执行模块或者数据结构,或者它们的子集,或者它们的扩展集,其中,操作指令可包括各种操作指令,用于实现各种操作。操作***可包括各种***程序,用于实现各种基础业务以及处理基于硬件的任务。The memory 704 can include a read only memory and a random access memory and provides the processor 703 with Instructions and data. A portion of memory 704 may also include NVRAM. The memory 704 stores operating systems and operational instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operational instructions can include various operational instructions for implementing various operations. The operating system can include a variety of system programs for implementing various basic services and handling hardware-based tasks.
处理器703控制第三终端设备的操作,处理器703还可以称为CPU。具体的应用中,第三终端设备的各个组件通过总线***耦合在一起,其中总线***除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都称为总线***。The processor 703 controls the operation of the third terminal device, and the processor 703 may also be referred to as a CPU. In a specific application, each component of the third terminal device is coupled together by a bus system. The bus system may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for the sake of clarity, the various buses are referred to as bus systems in the figures.
上述本发明实施例揭示的方法可以应用于处理器703中,或者由处理器703实现。处理器703可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器703中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器703可以是通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器704,处理器703读取存储器704中的信息,结合其硬件完成上述方法的步骤。The method disclosed in the foregoing embodiments of the present invention may be applied to the processor 703 or implemented by the processor 703. The processor 703 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 703 or an instruction in a form of software. The processor 703 described above may be a general purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in memory 704, and processor 703 reads the information in memory 704 and, in conjunction with its hardware, performs the steps of the above method.
本发明实施例中,处理器703,用于执行前述第三终端设备执行的方法,详见前述实施例的描述。例如,所述处理器703执行如下流程:In the embodiment of the present invention, the processor 703 is configured to execute the foregoing method performed by the third terminal device. For details, refer to the description of the foregoing embodiment. For example, the processor 703 performs the following process:
接收第一终端设备根据第二终端设备的数据请求向所述第二终端设备和所述第三终端设备发送的数据响应,所述第三终端设备、所述第一终端设备和所述第二终端设备使用相同的频率资源;Receiving, by the first terminal device, a data response sent to the second terminal device and the third terminal device according to the data request of the second terminal device, the third terminal device, the first terminal device, and the second The terminal device uses the same frequency resource;
当所述第三终端设备需要使用所述第一终端设备的数据时,获取在当前需要使用所述第一终端设备的数据之前就已经接收到的所述第一终端设备发送的数据响应。When the third terminal device needs to use the data of the first terminal device, acquire a data response sent by the first terminal device that has been received before the data of the first terminal device is currently used.
在本发明的一些实施例中,处理器703,具体用于执行如下流程:In some embodiments of the present invention, the processor 703 is specifically configured to perform the following process:
当所述第三终端设备需要使用所述第一终端设备的数据时,判断从接收到 所述第一终端设备发送的数据响应至当前需要使用所述第一终端设备的数据之间的时间长度是否超过预置的数据生命周期;When the third terminal device needs to use the data of the first terminal device, it is judged from receiving Whether the length of time between the data sent by the first terminal device and the data currently needed to use the first terminal device exceeds a preset data life cycle;
若所述时间长度超过所述数据生命周期,向所述第一终端设备发送数据请求,所述第三终端设备接收所述第一终端设备根据所述第三终端设备的数据请求向所述第三终端设备和所述第二终端设备发送的数据响应。And if the time length exceeds the data life cycle, sending a data request to the first terminal device, the third terminal device receiving, by the first terminal device, the data request according to the third terminal device to the first A data response sent by the third terminal device and the second terminal device.
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本发明提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be further noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be Physical units can be located in one place or distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and specifically, one or more communication buses or signal lines can be realized. Those of ordinary skill in the art can understand and implement without any creative effort.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本发明而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware, and of course, dedicated hardware, dedicated CPU, dedicated memory, dedicated memory, Special components and so on. In general, functions performed by computer programs can be easily implemented with the corresponding hardware, and the specific hardware structure used to implement the same function can be various, such as analog circuits, digital circuits, or dedicated circuits. Circuits, etc. However, for the purposes of the present invention, software program implementation is a better implementation in more cases. Based on the understanding, the technical solution of the present invention, which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. , U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., including a number of instructions to make a computer device (may be A personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.
综上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照上述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对上述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 In conclusion, the above embodiments are only used to explain the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still The technical solutions described in the above embodiments are modified, or equivalent to some of the technical features are included; and the modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (18)

  1. 一种终端设备的数据传送方法,其特征在于,包括:A data transmission method for a terminal device, comprising:
    第一终端设备接收第二终端设备的数据请求;Receiving, by the first terminal device, a data request of the second terminal device;
    所述第一终端设备根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,所述第一终端设备、所述第二终端设备和所述第三终端设备使用相同的频率资源。Transmitting, by the first terminal device, a data response to the second terminal device and one or more third terminal devices according to the received data request, the first terminal device, the second terminal device, and the The third terminal device uses the same frequency resource.
  2. 根据权利要求1所述的方法,其特征在于,所述第一终端设备根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,包括:The method according to claim 1, wherein the first terminal device sends a data response to the second terminal device and one or more third terminal devices according to the received data request, including:
    所述第一终端设备根据接收到的所述数据请求向所述第一终端设备所在的第一固定组群内的所有终端设备发送所述数据响应,所述第一固定组群包括:所述第一终端设备、所述第二终端设备和所述第三终端设备。The first terminal device sends the data response to all the terminal devices in the first fixed group in which the first terminal device is located according to the received data request, where the first fixed group includes: a first terminal device, the second terminal device, and the third terminal device.
  3. 根据权利要求1所述的方法,其特征在于,所述第一终端设备根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,包括:The method according to claim 1, wherein the first terminal device sends a data response to the second terminal device and one or more third terminal devices according to the received data request, including:
    所述第一终端设备根据接收到的所述数据请求向所述第一终端设备所在的临时组群内的所有终端设备发送所述数据响应,所述第一终端设备所在的临时组群包括:所述第一终端设备、所述第二终端设备和所述第三终端设备,所述第一终端设备和所述第二终端设备属于第一固定组群,所述第三终端设备属于第二固定组群。The first terminal device sends the data response to all the terminal devices in the temporary group in which the first terminal device is located according to the received data request, where the temporary group in which the first terminal device is located includes: The first terminal device, the second terminal device, and the third terminal device, the first terminal device and the second terminal device belong to a first fixed group, and the third terminal device belongs to a second Fixed group.
  4. 根据权利要求1所述的方法,其特征在于,所述第一终端设备根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,包括:The method according to claim 1, wherein the first terminal device sends a data response to the second terminal device and one or more third terminal devices according to the received data request, including:
    所述第一终端设备使用私有协议配置与所述数据请求对应的数据响应;The first terminal device configures a data response corresponding to the data request by using a private protocol;
    所述第一终端设备将使用所述私有协议得到的数据响应向所述第二终端设备、所述第三终端设备和第四终端设备发送,所述私有协议为所述第一终端设备、所述第二终端设备和所述第三终端设备能够识别的协议标准,所述第四终端设备和所述第一终端设备使用相同的频率资源。Transmitting, by the first terminal device, a data response obtained by using the private protocol to the second terminal device, the third terminal device, and the fourth terminal device, where the private protocol is the first terminal device, A protocol standard that can be identified by the second terminal device and the third terminal device, where the fourth terminal device and the first terminal device use the same frequency resource.
  5. 一种终端设备的数据传送方法,其特征在于,包括:A data transmission method for a terminal device, comprising:
    第三终端设备接收第一终端设备根据第二终端设备的数据请求向所述第 二终端设备和所述第三终端设备发送的数据响应,所述第三终端设备、所述第一终端设备和所述第二终端设备使用相同的频率资源;Receiving, by the third terminal device, the first terminal device according to the data request of the second terminal device to the The data response sent by the second terminal device and the third terminal device, the third terminal device, the first terminal device, and the second terminal device use the same frequency resource;
    当所述第三终端设备需要使用所述第一终端设备的数据时,所述第三终端设备获取在当前需要使用所述第一终端设备的数据之前就已经接收到的所述第一终端设备发送的数据响应。When the third terminal device needs to use the data of the first terminal device, the third terminal device acquires the first terminal device that has been received before the data of the first terminal device is currently needed to be used. The data sent is a response.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    当所述第三终端设备需要使用所述第一终端设备的数据时,所述第三终端设备判断从接收到所述第一终端设备发送的数据响应至当前需要使用所述第一终端设备的数据之间的时间长度是否超过预置的数据生命周期;When the third terminal device needs to use the data of the first terminal device, the third terminal device determines, from receiving the data response sent by the first terminal device, to the current need to use the first terminal device. Whether the length of time between data exceeds the preset data life cycle;
    若所述时间长度超过所述数据生命周期,所述第三终端设备向所述第一终端设备发送数据请求,所述第三终端设备接收所述第一终端设备根据所述第三终端设备的数据请求向所述第三终端设备和所述第二终端设备发送的数据响应。If the length of time exceeds the data life cycle, the third terminal device sends a data request to the first terminal device, and the third terminal device receives the first terminal device according to the third terminal device. The data requests a data response sent to the third terminal device and the second terminal device.
  7. 一种终端设备,其特征在于,所述终端设备具体为第一终端设备,所述第一终端设备包括:接收模块和群发模块,其中,A terminal device, where the terminal device is specifically a first terminal device, where the first terminal device includes: a receiving module and a group sending module, where
    所述接收模块,用于接收第二终端设备的数据请求;The receiving module is configured to receive a data request of the second terminal device;
    所述群发模块,用于根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,所述第一终端设备、所述第二终端设备和所述第三终端设备使用相同的频率资源。The group sending module is configured to send a data response to the second terminal device and one or more third terminal devices according to the received data request, the first terminal device, the second terminal device, and the The third terminal device uses the same frequency resource.
  8. 根据权利要求7所述的终端设备,其特征在于,所述群发模块,具体用于根据接收到的所述数据请求向所述第一终端设备所在的第一固定组群内的所有终端设备发送所述数据响应,所述第一固定组群包括:所述第一终端设备、所述第二终端设备和所述第三终端设备。The terminal device according to claim 7, wherein the group sending module is configured to send, according to the received data request, all terminal devices in the first fixed group in which the first terminal device is located. The data response, the first fixed group includes: the first terminal device, the second terminal device, and the third terminal device.
  9. 根据权利要求7所述的终端设备,其特征在于,所述群发模块,具体用于根据接收到的所述数据请求向所述第一终端设备所在的临时组群内的所有终端设备发送所述数据响应,所述第一终端设备所在的临时组群包括:所述第一终端设备、所述第二终端设备和所述第三终端设备,所述第一终端设备和所述第二终端设备属于第一固定组群,所述第三终端设备属于第二固定组群。The terminal device according to claim 7, wherein the group sending module is configured to send, according to the received data request, all the terminal devices in the temporary group in which the first terminal device is located. The data response, the temporary group in which the first terminal device is located includes: the first terminal device, the second terminal device, and the third terminal device, the first terminal device and the second terminal device It belongs to the first fixed group, and the third terminal device belongs to the second fixed group.
  10. 根据权利要求7所述的终端设备,其特征在于,所述群发模块,具体用于使用私有协议配置与所述数据请求对应的数据响应;将使用所述私有 协议得到的数据响应向所述第二终端设备、所述第三终端设备和第四终端设备发送,所述私有协议为所述第一终端设备、所述第二终端设备和所述第三终端设备能够识别的协议标准,所述第四终端设备和所述第一终端设备使用相同的频率资源。The terminal device according to claim 7, wherein the group sending module is specifically configured to configure a data response corresponding to the data request by using a private protocol; The data response obtained by the protocol is sent to the second terminal device, the third terminal device, and the fourth terminal device, where the private protocol is the first terminal device, the second terminal device, and the third terminal A protocol standard that the device can recognize, the fourth terminal device and the first terminal device use the same frequency resource.
  11. 一种终端设备,其特征在于,所述终端设备具体为第三终端设备,所述第三终端设备包括:接收模块和获取模块,其中,A terminal device, where the terminal device is specifically a third terminal device, where the third terminal device includes: a receiving module and an acquiring module, where
    所述接收模块,用于接收第一终端设备根据第二终端设备的数据请求向所述第二终端设备和所述第三终端设备发送的数据响应,所述第三终端设备、所述第一终端设备和所述第二终端设备使用相同的频率资源;The receiving module is configured to receive a data response sent by the first terminal device to the second terminal device and the third terminal device according to the data request of the second terminal device, where the third terminal device, the first The terminal device and the second terminal device use the same frequency resource;
    所述获取模块,用于当所述第三终端设备需要使用所述第一终端设备的数据时,获取在当前需要使用所述第一终端设备的数据之前就已经接收到的所述第一终端设备发送的数据响应。The acquiring module is configured to acquire, when the third terminal device needs to use data of the first terminal device, the first terminal that has been received before the data of the first terminal device is currently used. The data response sent by the device.
  12. 根据权利要求11所述的终端设备,其特征在于,所述第三终端设备,还可以包括:有效性管理模块,其中,The terminal device according to claim 11, wherein the third terminal device further includes: a validity management module, wherein
    所述有效性管理模块,用于当所述第三终端设备需要使用所述第一终端设备的数据时,判断从接收到所述第一终端设备发送的数据响应至当前需要使用所述第一终端设备的数据之间的时间长度是否超过预置的数据生命周期;若所述时间长度超过所述数据生命周期,向所述第一终端设备发送数据请求,所述第三终端设备接收所述第一终端设备根据所述第三终端设备的数据请求向所述第三终端设备和所述第二终端设备发送的数据响应。The validity management module is configured to determine, when the third terminal device needs to use data of the first terminal device, to receive a data response sent by the first terminal device to use the first Whether the length of time between the data of the terminal device exceeds a preset data life cycle; if the time length exceeds the data life cycle, sending a data request to the first terminal device, the third terminal device receiving the The first terminal device responds to the data sent by the third terminal device and the second terminal device according to the data request of the third terminal device.
  13. 一种终端设备,其特征在于,所述终端设备具体为第一终端设备,所述第一终端设备包括:接收器、发射器、处理器以及存储器;A terminal device, where the terminal device is specifically a first terminal device, where the first terminal device includes: a receiver, a transmitter, a processor, and a memory;
    所述处理器执行如下流程:The processor performs the following process:
    接收第二终端设备的数据请求;Receiving a data request of the second terminal device;
    根据接收到的所述数据请求向所述第二终端设备和一个或多个第三终端设备发送数据响应,所述第一终端设备、所述第二终端设备和所述第三终端设备使用相同的频率资源。Sending a data response to the second terminal device and the one or more third terminal devices according to the received data request, where the first terminal device, the second terminal device, and the third terminal device use the same Frequency resources.
  14. 根据权利要求13所述的终端设备,其特征在于,所述处理器,具体用于执行如下流程:The terminal device according to claim 13, wherein the processor is specifically configured to perform the following process:
    根据接收到的所述数据请求向所述第一终端设备所在的第一固定组群内 的所有终端设备发送所述数据响应,所述第一固定组群包括:所述第一终端设备、所述第二终端设备和所述第三终端设备。Receiving, according to the received data request, to the first fixed group in which the first terminal device is located All the terminal devices send the data response, and the first fixed group includes: the first terminal device, the second terminal device, and the third terminal device.
  15. 根据权利要求13所述的终端设备,其特征在于,所述处理器,具体用于执行如下流程:The terminal device according to claim 13, wherein the processor is specifically configured to perform the following process:
    根据接收到的所述数据请求向所述第一终端设备所在的临时组群内的所有终端设备发送所述数据响应,所述第一终端设备所在的临时组群包括:所述第一终端设备、所述第二终端设备和所述第三终端设备,所述第一终端设备和所述第二终端设备属于第一固定组群,所述第三终端设备属于第二固定组群。Sending, according to the received data request, the data response to all the terminal devices in the temporary group in which the first terminal device is located, where the temporary group in which the first terminal device is located includes: the first terminal device The second terminal device and the third terminal device, the first terminal device and the second terminal device belong to a first fixed group, and the third terminal device belongs to a second fixed group.
  16. 根据权利要求13所述的终端设备,其特征在于,所述处理器,具体用于执行如下流程:The terminal device according to claim 13, wherein the processor is specifically configured to perform the following process:
    使用私有协议配置与所述数据请求对应的数据响应;Configuring a data response corresponding to the data request using a proprietary protocol;
    将使用所述私有协议得到的数据响应向所述第二终端设备、所述第三终端设备和第四终端设备发送,所述私有协议为所述第一终端设备、所述第二终端设备和所述第三终端设备能够识别的协议标准,所述第四终端设备和所述第一终端设备使用相同的频率资源。Transmitting a data response obtained by using the private protocol to the second terminal device, the third terminal device, and the fourth terminal device, where the private protocol is the first terminal device, the second terminal device, and The protocol standard that the third terminal device can identify, the fourth terminal device and the first terminal device use the same frequency resource.
  17. 一种终端设备,其特征在于,所述终端设备具体为第三终端设备,所述第三终端设备包括:接收器、发射器、处理器以及存储器;A terminal device, where the terminal device is specifically a third terminal device, where the third terminal device includes: a receiver, a transmitter, a processor, and a memory;
    所述处理器执行如下流程:The processor performs the following process:
    接收第一终端设备根据第二终端设备的数据请求向所述第二终端设备和所述第三终端设备发送的数据响应,所述第三终端设备、所述第一终端设备和所述第二终端设备使用相同的频率资源;Receiving, by the first terminal device, a data response sent to the second terminal device and the third terminal device according to the data request of the second terminal device, the third terminal device, the first terminal device, and the second The terminal device uses the same frequency resource;
    当所述第三终端设备需要使用所述第一终端设备的数据时,获取在当前需要使用所述第一终端设备的数据之前就已经接收到的所述第一终端设备发送的数据响应。When the third terminal device needs to use the data of the first terminal device, acquire a data response sent by the first terminal device that has been received before the data of the first terminal device is currently used.
  18. 根据权利要求17所述的终端设备,其特征在于,所述处理器,具体用于执行如下流程:The terminal device according to claim 17, wherein the processor is specifically configured to perform the following process:
    当所述第三终端设备需要使用所述第一终端设备的数据时,判断从接收到所述第一终端设备发送的数据响应至当前需要使用所述第一终端设备的数据之间的时间长度是否超过预置的数据生命周期;When the third terminal device needs to use the data of the first terminal device, determine a length of time from receiving the data response sent by the first terminal device to the data currently required to use the first terminal device Whether it exceeds the preset data life cycle;
    若所述时间长度超过所述数据生命周期,向所述第一终端设备发送数据请 求,所述第三终端设备接收所述第一终端设备根据所述第三终端设备的数据请求向所述第三终端设备和所述第二终端设备发送的数据响应。 If the length of time exceeds the data life cycle, send data to the first terminal device. The third terminal device receives a data response sent by the first terminal device to the third terminal device and the second terminal device according to the data request of the third terminal device.
PCT/CN2016/084529 2016-06-02 2016-06-02 Data transmission methodfor terminal device and terminal device WO2017206145A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/084529 WO2017206145A1 (en) 2016-06-02 2016-06-02 Data transmission methodfor terminal device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/084529 WO2017206145A1 (en) 2016-06-02 2016-06-02 Data transmission methodfor terminal device and terminal device

Publications (1)

Publication Number Publication Date
WO2017206145A1 true WO2017206145A1 (en) 2017-12-07

Family

ID=60478459

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084529 WO2017206145A1 (en) 2016-06-02 2016-06-02 Data transmission methodfor terminal device and terminal device

Country Status (1)

Country Link
WO (1) WO2017206145A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600147A (en) * 2008-06-05 2009-12-09 锐俤科技股份有限公司 Group's position display and follow-up mechanism, system and method thereof
CN101990157A (en) * 2010-11-11 2011-03-23 公安部上海消防研究所 System for positioning fire fighters in fire scene based on wireless Mesh network structure
CN102695100A (en) * 2012-06-13 2012-09-26 深圳市时代经纬科技有限公司 Position interaction talkback terminal based on interphone network and application system thereof
US20130079038A1 (en) * 2006-07-10 2013-03-28 Michael R. Loeb System and method for location dependent messaging
CN103313146A (en) * 2012-03-15 2013-09-18 盟讯实业股份有限公司 Interphone device with positioning function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130079038A1 (en) * 2006-07-10 2013-03-28 Michael R. Loeb System and method for location dependent messaging
CN101600147A (en) * 2008-06-05 2009-12-09 锐俤科技股份有限公司 Group's position display and follow-up mechanism, system and method thereof
CN101990157A (en) * 2010-11-11 2011-03-23 公安部上海消防研究所 System for positioning fire fighters in fire scene based on wireless Mesh network structure
CN103313146A (en) * 2012-03-15 2013-09-18 盟讯实业股份有限公司 Interphone device with positioning function
CN102695100A (en) * 2012-06-13 2012-09-26 深圳市时代经纬科技有限公司 Position interaction talkback terminal based on interphone network and application system thereof

Similar Documents

Publication Publication Date Title
US11812496B2 (en) User group session management method and apparatus
CN110351828B (en) Positioning method and device
WO2017185867A1 (en) Method for service transmission and terminal
CN111601353B (en) Routing method of application program and related device
WO2018170914A1 (en) Method and apparatus for transmitting system information
US10893573B2 (en) D2D communication method, remote user equipment, and relay user equipment
CN107528678B (en) Method and equipment for updating system message
WO2014094556A1 (en) Service information discovery method and device
WO2019080719A1 (en) Data processing method and device, storage medium, processor, and system
US9826432B2 (en) Remote socket connection for data offload
CN107466018B (en) Data transmission method of terminal equipment and terminal equipment
CN114189938A (en) Carrier determining method, communication device, and storage medium
WO2018018512A1 (en) Communication method and communication device
US20220271828A1 (en) Abnormal offline state determining method and related apparatus
WO2017206145A1 (en) Data transmission methodfor terminal device and terminal device
WO2020249083A1 (en) Security activation status determination method and related product
CN115103359A (en) Network distribution method and device, network to be distributed equipment, electronic device and readable storage medium
WO2014089809A1 (en) Method and apparatus for transmitting alarm-related information
CN111314272B (en) Task processing method and device
CN108200661B (en) RRC connection release method, terminal, access network device and storage medium
WO2020078288A1 (en) Direct communication method and device
CN108064088B (en) RRC connection release method, terminal, access network device and storage medium
CN108391326B (en) Method, device and terminal for managing wireless connection
WO2012155863A1 (en) Equipment identification method and device
CN113132986B (en) Method and device for realizing mesh network of WiFi based on DPP protocol, and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16903530

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16903530

Country of ref document: EP

Kind code of ref document: A1