CN113365325B - Data transmission method and device, storage medium and electronic equipment - Google Patents

Data transmission method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113365325B
CN113365325B CN202110540996.5A CN202110540996A CN113365325B CN 113365325 B CN113365325 B CN 113365325B CN 202110540996 A CN202110540996 A CN 202110540996A CN 113365325 B CN113365325 B CN 113365325B
Authority
CN
China
Prior art keywords
terminal
mode
network
server
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110540996.5A
Other languages
Chinese (zh)
Other versions
CN113365325A (en
Inventor
宋德明
朱凌
王娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Dayu Semiconductor Co ltd
Original Assignee
Nanjing Dayu Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Dayu Semiconductor Co ltd filed Critical Nanjing Dayu Semiconductor Co ltd
Priority to CN202110540996.5A priority Critical patent/CN113365325B/en
Publication of CN113365325A publication Critical patent/CN113365325A/en
Application granted granted Critical
Publication of CN113365325B publication Critical patent/CN113365325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The disclosure relates to a data transmission method, a data transmission device, a storage medium and electronic equipment. The method comprises the following steps: broadcasting a D2D discovery signal in case of failure to access the first network; receiving a D2D access signal sent by the second terminal according to the D2D discovery signal; according to the D2D access signal, data transmission is carried out through the second terminal and the server, so that the problem of data transmission identification caused by terminal access identification is avoided through a D2D technology, and even if the first network has poor network coverage or high network load, the normal data transmission can be ensured with low cost.

Description

Data transmission method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of communications, and in particular, to a data transmission method, apparatus, storage medium, and electronic device.
Background
The internet of things (IoT, internet of Things), namely the internet with everything connected, is an extended and expanded network based on the internet, and a huge network formed by combining various information sensing devices with the internet is used for realizing interconnection and intercommunication of people, machines and things. The method has the characteristics of super coverage, ultra-low power consumption and ultra-large connection, and one sector can support massive connection, low delay sensitivity, ultra-low equipment cost, low equipment power consumption and an optimized network architecture. Network systems of the internet of things include NB-IoT (Narrow Band Internet of Things ), eMTC (LTE enhanced Machine Type of Communication, LTE evolution-based internet of things) and eMTC (massive Machine Type of Communication, 5G definition-based large-scale internet of things).
Although the internet of things has the characteristics of super-strong coverage and super-large connection, in practical application, under the condition of poor network coverage or heavy network load, the problem that the terminal repeatedly accesses the network and fails to transmit data still occurs.
Disclosure of Invention
In order to solve the above problems, the present disclosure provides a data transmission method, a data transmission device, a storage medium, and an electronic apparatus.
In a first aspect, the present disclosure provides a data transmission method, applied to a first terminal, where the method includes:
broadcasting a D2D discovery signal in case of failure to access the first network;
receiving a D2D access signal sent by a second terminal according to the D2D discovery signal, wherein the working mode of the second terminal is a central node mode;
and according to the D2D access signal, carrying out data transmission with a server through the second terminal.
Optionally, the broadcasting the D2D discovery signal includes:
broadcasting a D2D discovery signal in a first preset D2D signaling time slot through a preset frequency band, wherein the preset frequency band is a preset frequency band different from a frequency band used by the first network;
the receiving the D2D access signal sent by the second terminal according to the D2D discovery signal includes:
And in a second preset D2D signaling time slot, receiving the D2D access signal through the preset frequency band.
Optionally, the D2D access signal includes a D2D uplink traffic slot and a D2D downlink traffic slot designated for data transmission by the second terminal; according to the D2D access signal, performing data transmission with a server through the second terminal includes:
determining a D2D uplink service time slot and a D2D downlink service time slot according to the D2D access signal;
in the D2D uplink service time slot, uplink service data with a destination address being the server is sent to the second terminal through a preset frequency band;
and in the D2D downlink service time slot, receiving downlink service data from the server from the second terminal through a preset frequency band.
In a second aspect, the present disclosure provides a data transmission method applied to a second terminal, where the method includes:
receiving a D2D discovery signal broadcast by a first terminal, wherein the D2D discovery signal is a signal broadcast by the first terminal under the condition of failure in accessing a first network;
transmitting a D2D access signal to the first terminal according to the D2D discovery signal;
and forwarding the data between the first terminal and the server so as to realize data transmission between the first terminal and the server.
Optionally, the receiving the D2D discovery signal broadcasted by the first terminal includes:
in a first preset D2D signaling time slot, receiving a D2D discovery signal broadcast by the first terminal through a preset frequency band, wherein the preset frequency band is a preset frequency band different from a frequency band used by the first network;
the transmitting the D2D access signal to the first terminal includes:
and in a second preset D2D signaling time slot, transmitting a D2D access signal to the first terminal through the preset frequency band.
Optionally, the D2D access signal includes a D2D uplink traffic slot and a D2D downlink traffic slot designated for data transmission by the second terminal; forwarding data between the first terminal and a server includes one or more of:
in the D2D uplink service time slot, uplink service data of which the destination address is a server and sent by the first terminal is received through a preset frequency band; in a preset first network time slot, the uplink service data is sent to a server through a first network;
in a preset first network time slot, receiving downlink service data with a destination address of a first terminal sent by the server through a first network; and in the D2D downlink service time slot, the downlink service data is sent to the first terminal through the preset frequency band.
Optionally, the method further comprises:
under the condition that the first network is successfully accessed, determining the working mode of the second terminal, wherein the working mode comprises a center node mode and a non-center node mode;
and in the case that the working mode is determined to be a central node mode, periodically detecting and receiving a D2D discovery signal.
Optionally, determining the working mode of the second terminal includes:
taking a preset first appointed mode as the working mode; or alternatively, the process may be performed,
and receiving a second designated mode sent by the server, and taking the second designated mode as the working mode.
Optionally, before receiving the second specific pattern sent by the server, the method further includes:
and sending a terminal state parameter of the second terminal to a server, wherein the terminal state parameter comprises one or more of position information, electric quantity information and first network signal quality of the second terminal, so that the server determines a second appointed mode of the second terminal according to the terminal state parameter and sends the second appointed mode to the second terminal.
In a third aspect, the present disclosure provides a data transmission apparatus applied to a first terminal, the apparatus including:
The first signal sending module is used for broadcasting a D2D discovery signal under the condition that the access to the first network fails;
the first signal receiving module is used for receiving a D2D access signal sent by the second terminal according to the D2D discovery signal;
and the first data transmission module is used for carrying out data transmission with the server through the second terminal according to the D2D access signal.
In a fourth aspect, the present disclosure provides a data transmission apparatus applied to a second terminal, the apparatus including:
the second signal receiving module is used for receiving a D2D discovery signal broadcasted by the first terminal, wherein the D2D discovery signal is a signal broadcasted by the first terminal under the condition that the first terminal fails to access the first network;
the second signal sending module is used for sending a D2D access signal to the first terminal according to the D2D discovery signal;
and the second data transmission module is used for forwarding the data between the first terminal and the server so as to realize data transmission between the first terminal and the server.
In a fifth aspect, the present disclosure provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of the first aspect of the present disclosure.
In a sixth aspect, the present disclosure provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of the second aspect of the present disclosure.
In a seventh aspect, the present disclosure provides an electronic device, comprising: a memory having a computer program stored thereon; a processor for executing the computer program in the memory to implement the steps of the method of the first aspect of the disclosure.
In an eighth aspect, the present disclosure provides an electronic device, comprising: a memory having a computer program stored thereon; a processor for executing the computer program in the memory to implement the steps of the method of the second aspect of the present disclosure.
By adopting the technical scheme, under the condition that the access to the first network fails, the D2D discovery signal is broadcasted; receiving a D2D access signal sent by the second terminal according to the D2D discovery signal; according to the D2D access signal, data transmission is carried out through the second terminal and the server, so that the problem of data transmission identification caused by terminal access identification is avoided through a D2D technology, and even if the first network has poor network coverage or high network load, the normal data transmission can be ensured with low cost.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification, illustrate the disclosure and together with the description serve to explain, but do not limit the disclosure. In the drawings:
fig. 1 is a schematic structural diagram of a data transmission system according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a time division multiplexing mode in which a terminal provided in the present disclosure operates in a first network mode and a D2D network mode, respectively;
fig. 3 is a data transmission method provided in an embodiment of the present disclosure;
FIG. 4 is another data transmission method provided by an embodiment of the present disclosure;
FIG. 5 is another data transmission method provided by an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a data transmission device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another data transmission device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of another data transmission device according to an embodiment of the present disclosure;
FIG. 9 is a block diagram of an electronic device provided by an embodiment of the present disclosure;
fig. 10 is a block diagram of another electronic device provided by an embodiment of the present disclosure.
Detailed Description
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
It should be noted that, in this disclosure, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or order of indication or implying any particular order; the terms "S101", "S102", "S201", "S202", etc. are used to distinguish steps and are not necessarily to be construed as performing the method steps in a particular order or sequence; when the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated.
First, an application scenario of the present disclosure will be described. The present disclosure may be applied to an internet of things communication scenario. Because the internet of things network has the characteristics of super coverage and super connection, the following scenes exist in practical application, and the terminal fails to access in the internet of things network: 1) Massive terminals of the Internet of things are accessed to the network concurrently, and the processing capacity of the network side is exceeded; 2) The terminal of the Internet of things deploys or moves to a coverage blind area of the Internet of things network. In the above two scenarios, the problem of repeated access failure of the terminal occurs due to the influence of network load or network coverage, thereby causing the data transmission failure of the terminal. In the related art, for terminal access failure caused by poor network coverage, a base station is generally required to be added to improve coverage; for access failure caused by network load, it is necessary to expand carrier or increase base station to increase capacity. But the period of adding the base station or the expansion carrier is longer, and the cost is higher.
In order to solve the above problems, the present disclosure provides a data transmission method, apparatus, storage medium, and electronic device, where a first method broadcasts a D2D discovery signal in case of failure in accessing a first network, so as to discover a second terminal that is a D2D central node; receiving a D2D access signal sent by the second terminal according to the D2D discovery signal; according to the D2D access signal, data transmission is carried out through the second terminal and the server, so that the problem of data transmission identification caused by terminal access identification is avoided through a D2D technology, and even if the first network has poor network coverage or high network load, the normal data transmission can be ensured with low cost.
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a data transmission system according to an embodiment of the present disclosure, and as shown in fig. 1, the data transmission system may include a first terminal 101, a second terminal 102, a first network 103, and a server 104. The server 104 may be configured to perform data transmission between the first network 103 and the terminal (first terminal and/or second terminal), that is, receive uplink service data sent by the terminal through the first network 103, and send downlink service data to the terminal, where both the uplink service data and the downlink service data may include data or control instructions. The first network may be an internet of things network, such as NB-IOT, eMTC, etc., or a wireless communication network such as 2G, 3G, 4G, 5G, etc. The first terminal and the second terminal can support a first network mode and a D2D network mode, and the first terminal and the second terminal can be one or more. It should be noted that the second terminal may be a central node in the D2D network, where the second terminal may communicate with the server through the first network, or may communicate with other terminals supporting the D2D network mode through the D2D technology.
In an embodiment of the present disclosure, the second terminal may operate in a first network mode and a D2D network mode, respectively, in a time division multiplexing manner, and may be divided into a plurality of time slots of different functions when operating in the D2D network mode. Specifically, fig. 2 is a schematic diagram of a time division multiplexing mode in which a terminal provided in the present disclosure operates in a first network mode and a D2D network mode, respectively, and as shown in fig. 2, data transmission is performed in units of network frames in the time division multiplexing mode, where a time length of each network frame is T; each network frame can be divided into two parts of a D2D network frame and a first network frame, the terminal can transmit data with the server through the first network under the first network frame, and the terminal can transmit data with other terminals supporting the D2D network mode by using a D2D technology under the D2D network frame. Further, the D2D network frame may be divided into a plurality of D2D subframes, where each D2D subframe may include one or more signaling timeslots and one or more service timeslots, and the plurality of signaling timeslots may include a first preset D2D signaling timeslot and a second preset D2D signaling timeslot; the plurality of traffic slots may also include D2D uplink traffic slots and D2D downlink traffic slots.
Fig. 3 is a data transmission method provided by an embodiment of the present disclosure, and as shown in fig. 3, an execution body of the method may be a first terminal, and the method may include:
s301, broadcasting a D2D discovery signal in case of failure in accessing the first network.
The D2D discovery signal may be a preset signal for the first terminal to request the second terminal as the central node to establish the D2D connection.
Optionally, in this step, the D2D discovery signal may be broadcast in a first preset D2D signaling time slot, where the first preset D2D signaling time slot may also be a preset signaling time slot, and the related structure of the signaling time slot may be shown with reference to fig. 2, which is not repeated herein.
Further, the D2D discovery signal may be broadcast periodically in the first preset D2D signaling slot of each network frame according to the network frame duration shown in fig. 2 as a period.
In addition, in this step, the D2D discovery signal may be broadcast through a frequency band used by the first network lock, or the D2D discovery signal may be broadcast through a preset frequency band, where the preset frequency band is a preset frequency band different from the frequency band used by the first network. By way of example, the preset frequency band may be an ISM (Industrial Scientific Medical, industrial, scientific and medical) frequency band defined by ITU-R (International Telecommunication Union Radiocommunication Sector, international telecommunications union radio communication office), which is primarily open for use by industrial, scientific and medical institutions, etc. The IMS frequency band is applied without license or cost, only by observing a certain transmitting power (generally lower than 1W), and without causing interference to other frequency bands. Therefore, through the preset frequency band, signal interference between the D2D network and the first network can be avoided, and the reliability of communication between the D2D network and the first network is improved, so that the data transmission efficiency can be improved.
It should be noted that, the foregoing failure to access the first network may be caused by poor network coverage or network congestion, which is not limited in this disclosure.
S302, receiving a D2D access signal sent by the second terminal according to the D2D discovery signal.
Also optionally, in this step, the D2D access signal may be received within a second preset D2D signaling slot. Further, the D2D access signal may also be received periodically in a second preset D2D signaling slot in each network frame according to the network frame duration shown in fig. 2 as a period.
The D2D access signal may also be received through a preset frequency band, which may be an ISM frequency band, for example.
S303, according to the D2D access signal, data transmission is carried out between the second terminal and the server.
In this step, after receiving the D2D access signal, the second terminal may be used as a D2D center node of the first terminal, and the manner of performing data transmission with the server through the second terminal may include one or more of the following manners:
in the first mode, when the second terminal transmits uplink service data to the server, the uplink service is transmitted to the second terminal, and the second china transmits the uplink service to the server through the first network.
And in a second mode, receiving downlink service data sent by a second terminal, wherein the downlink service data is data sent to the first terminal by a server through a first network.
By adopting the method, under the condition of failure in accessing the first network, the D2D discovery signal is broadcast; receiving a D2D access signal sent by the second terminal according to the D2D discovery signal; according to the D2D access signal, data transmission is carried out through the second terminal and the server, so that the problem of data transmission identification caused by terminal access identification is avoided through a D2D technology, and even if the first network has poor network coverage or high network load, the normal data transmission can be ensured with low cost.
Fig. 4 is another data transmission method provided by an embodiment of the present disclosure, as shown in fig. 4, an execution body of the method may be a second terminal, and the method may include:
s401, receiving a D2D discovery signal broadcasted by a first terminal.
The D2D discovery signal is a signal broadcasted by the first terminal in case of failure to access the first network. The D2D discovery signal may also be a preset signal for the first terminal to request the second terminal as a central node to establish the D2D connection.
Also optionally, in this step, the D2D discovery signal may be received within a first preset D2D signaling slot.
Further, the D2D discovery signal may be received on a frequency band used by the first network lock, or the D2D discovery signal may be received on a preset frequency band, where the preset frequency band is a preset frequency band different from the frequency band used by the first network, and the preset frequency band may be an ISM frequency band, for example. Therefore, through the preset frequency band, signal interference between the D2D network and the first network can be avoided, and the reliability of communication between the D2D network and the first network is improved, so that the data transmission efficiency can be improved.
And S402, transmitting a D2D access signal to the first terminal according to the D2D discovery signal.
In this step, the second terminal may send a D2D access signal to the first terminal if the second terminal successfully parses the D2D discovery signal and determines that the first terminal may be allowed to access.
Also optionally, the D2D access signal may be transmitted within a second preset D2D signaling slot. The D2D access signal may also be sent through a preset frequency band, where the preset frequency band is a preset frequency band different from a frequency band used by the first network, and the preset frequency band may be an ISM frequency band, for example.
S403, forwarding the data between the first terminal and the server so as to realize data transmission between the first terminal and the server.
In this step, the manner of forwarding the data between the first terminal and the server may include one or more of the following manners:
in the first mode, uplink service data sent by the first terminal according to the D2D access signal is received, and if the destination address of the uplink service data is a server, the uplink service data is forwarded to the server through the first network.
And in a second mode, receiving downlink service data sent by the server through the first network, and if the destination address of the downlink service data is the first terminal, sending the downlink service data to the first terminal.
By adopting the method, the D2D discovery signal broadcasted by the first terminal is received, wherein the D2D discovery signal is the signal broadcasted by the first terminal under the condition of failure of accessing the first network; transmitting a D2D access signal to the first terminal according to the D2D discovery signal; and forwarding the data between the first terminal and the server, so that the data transmission between the first terminal and the server can be realized under the condition that the first terminal fails to access the first network.
Fig. 5 is another data transmission method provided in an embodiment of the disclosure, as shown in fig. 5, the method may include:
s501, under the condition that the second terminal is successfully accessed to the first network, determining the working mode of the second terminal.
Wherein the operating modes include a center node mode and a non-center node mode.
In this step, the operation mode may be determined by any one of the following means:
mode one, a first predetermined specification mode is set as the operation mode.
In this manner, the user may preset the first designated mode of the terminal in a certain proportion as the center node mode, and the first designated modes of the other terminals as the non-center node modes.
Further, the first specified mode may be preset by the user according to the terminal delivery area. The terminal drop area may be divided into a plurality of preset areas, in each preset area, a first designated mode of one or two terminals near a center position of the preset area is set as a center node mode, and a first designated mode of other terminals of the preset area is set as a non-center node mode. In this way, it is ensured that a terminal in the central node mode exists in each preset area, and reliable operation of the D2D network is ensured.
And receiving a second specified mode sent by the server, and taking the second specified mode as the working mode.
In this manner, the operation mode of the second terminal may be specified by the server. For example, the server may determine the second designated mode of the second terminal according to the detected position of the second terminal, for example, if the second terminal is detected to be located at the center position of a certain preset area, the second designated mode of the second terminal may be determined to be a center node mode, and the second designated mode may be sent to the second terminal.
Further, the second terminal may also send a terminal status parameter of the second terminal to the server, where the terminal status parameter includes one or more of location information, power information, and first network signal quality of the second terminal, so that the server determines a second designated mode of the second terminal according to the terminal status parameter, and sends the second designated mode to the second terminal.
In addition, if the terminal obtains the operation mode in both the above two modes, the second specification mode is used as the reference, that is, the operation mode specified by the server is prioritized over the operation mode preset by the terminal.
S502, the second terminal periodically detects and receives the D2D discovery signal under the condition that the working mode is determined to be the central node mode.
S503, the first terminal broadcasts a D2D discovery signal under the condition that the first terminal fails to access the first network.
S504, the second terminal sends a D2D access signal to the first terminal according to the received D2D discovery signal.
Optionally, the D2D access signal may include a D2D uplink traffic slot and a D2D downlink traffic slot designated by the terminal for data transmission by the second terminal. The D2D uplink traffic slot and the D2D downlink traffic slot may be determined by the second terminal according to a state of the traffic slot.
S505, the first terminal performs data transmission with the server through the second terminal according to the received D2D access signal sent by the second terminal.
In this step, the first terminal may first determine a D2D uplink traffic slot and a D2D downlink traffic slot according to the D2D access signal. Then:
in the D2D uplink service timeslot, uplink service data with a destination address being a server is sent to the second terminal through a preset frequency band, where the preset frequency band is a preset frequency band different from a frequency band used by the first network, and the preset frequency band may be an ISM frequency band, for example.
And in the D2D downlink service time slot, receiving downlink service data from the server from the second terminal through a preset frequency band.
Further, the second terminal may forward the data between the first terminal and the server in the following manner, so as to implement data transmission between the first terminal and the server:
in the D2D uplink service time slot, uplink service data of which the destination address is a server and sent by the first terminal is received through a preset frequency band; and in a preset first network time slot, the uplink service data is sent to a server through a first network;
in a preset first network time slot, receiving downlink service data with a destination address of a first terminal sent by the server through a first network; and transmitting the downlink service data to the first terminal through the preset frequency band in the D2D downlink service time slot.
By adopting the method, under the condition that the first terminal fails to access the first network, the second terminal serving as the D2D central node can also realize data transmission between the first terminal and the server, so that the data transmission failure is avoided.
Optionally, if the first terminal receives a plurality of D2D access signals sent by a plurality of terminals, a candidate D2D access signal with the strongest signal strength may be determined from the plurality of D2D access signals; and taking the terminal which transmits the candidate D2D access signal as the second terminal.
In this way, when a plurality of D2D center nodes exist, the first terminal uses the second terminal with the strongest signal strength as the center node, so that accuracy and efficiency of data transmission can be improved.
It should be noted that the number of the first terminals may be plural, and the plural first terminals may all adopt the method to perform data transmission with the server through the same second terminal.
Fig. 6 is a schematic structural diagram of a data transmission device according to an embodiment of the present disclosure, where, as shown in fig. 6, the device may be applied to a first terminal, and the device may include:
a first signal sending module 601, configured to broadcast a D2D discovery signal in case of failure to access the first network;
a first signal receiving module 602, configured to receive a D2D access signal sent by the second terminal according to the D2D discovery signal;
the first data transmission module 603 is configured to perform data transmission with the server through the second terminal according to the D2D access signal.
Optionally, the first signal sending module 601 is configured to broadcast, in a first preset D2D signaling time slot, a D2D discovery signal through a preset frequency band, where the preset frequency band is a preset frequency band different from a frequency band used by the first network;
The first signal receiving module 602 is configured to receive the D2D access signal in a second preset D2D signaling time slot through the preset frequency band.
Optionally, the D2D access signal includes a D2D uplink traffic slot and a D2D downlink traffic slot designated for data transmission by the second terminal; the first data transmission module 603 is configured to determine a D2D uplink traffic time slot and a D2D downlink traffic time slot according to the D2D access signal; in the D2D uplink service time slot, uplink service data with a destination address being the server is sent to the second terminal through a preset frequency band; and in the D2D downlink service time slot, receiving downlink service data from the server from the second terminal through a preset frequency band.
Fig. 7 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present disclosure, where, as shown in fig. 7, the apparatus may be applied to a second terminal, and the apparatus may include:
a second signal receiving module 701, configured to receive a D2D discovery signal broadcast by the first terminal, where the D2D discovery signal is a signal broadcast by the first terminal when access to the first network fails;
a second signal sending module 702, configured to send a D2D access signal to the first terminal according to the D2D discovery signal;
And the second data transmission module 703 is configured to forward data between the first terminal and the server, so as to implement data transmission between the first terminal and the server.
Optionally, the second signal receiving module 701 is configured to receive, in a first preset D2D signaling time slot, a D2D discovery signal broadcasted by the first terminal through a preset frequency band, where the preset frequency band is a preset frequency band different from a frequency band used by the first network;
the second signal sending module 702 is configured to send a D2D access signal to the first terminal through the preset frequency band in a second preset D2D signaling time slot.
Optionally, the D2D access signal includes a D2D uplink traffic slot and a D2D downlink traffic slot designated for data transmission by the second terminal; the second data transmission module 703 is configured to receive, in the D2D uplink service timeslot, uplink service data with a destination address of a server, where the destination address is sent by the first terminal through a preset frequency band; and in a preset first network time slot, the uplink service data is sent to a server through a first network; or in the preset first network time slot, receiving downlink service data with the destination address of the first terminal sent by the server through the first network; and transmitting the downlink service data to the first terminal through the preset frequency band in the D2D downlink service time slot.
Optionally, fig. 8 is a schematic structural diagram of another data transmission device according to an embodiment of the disclosure, as shown in fig. 8, where the device further includes:
a working mode determining module 801, configured to determine a working mode of the second terminal, where the working mode includes a central node mode and a non-central node mode, when the first network is successfully accessed;
the second signal receiving module 701 is configured to periodically detect and receive a D2D discovery signal if the operation mode is determined to be the central node mode.
Optionally, the working mode determining module 801 is configured to take a first preset specified mode as the working mode; or receiving a second designated mode sent by the server, and taking the second designated mode as the working mode.
Optionally, the operation mode determining module 801 is further configured to send a terminal status parameter of the second terminal to a server, where the terminal status parameter includes one or more of location information, power information, and first network signal quality of the second terminal, so that the server determines a second specified mode of the second terminal according to the terminal status parameter, and sends the second specified mode to the second terminal.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 9 is a block diagram of an electronic device 900, according to an example embodiment. As shown in fig. 9, the electronic device 900 may include: processor 901, memory 902. The electronic device 900 may also include one or more of a multimedia component 903, an input/output (I/O) interface 904, and a communication component 905.
The processor 901 is configured to control the overall operation of the electronic device 900 to perform all or part of the steps in the data transmission method described above. The memory 902 is used to store various types of data to support operations at the electronic device 900, which may include, for example, instructions for any application or method operating on the electronic device 900, as well as application-related data, such as contact data, transceived messages, pictures, audio, video, and the like. The Memory 902 may be implemented by any type or combination of volatile or nonvolatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 903 may include a screen and audio components. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 902 or transmitted through the communication component 905. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 904 provides an interface between the processor 901 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 905 is used for wired or wireless communication between the electronic device 900 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G, 4G, 5G, NB-IOT, eMTC, or other 6G, etc., or one or a combination of more thereof, is not limited herein. The corresponding communication component 905 may thus comprise: wi-Fi module, bluetooth module, NFC module etc.
In an exemplary embodiment, the electronic device 900 may be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), digital signal processors (Digital Signal Processor, abbreviated as DSP), digital signal processing devices (Digital Signal Processing Device, abbreviated as DSPD), programmable logic devices (Programmable Logic Device, abbreviated as PLD), field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), controllers, microcontrollers, microprocessors, or other electronic components for performing the data transmission methods described above.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the data transmission method described above. For example, the computer readable storage medium may be the memory 902 including program instructions described above, which are executable by the processor 901 of the electronic device 900 to perform the data transmission method described above.
Fig. 10 is a block diagram of an electronic device 1000, shown in accordance with an exemplary embodiment. For example, the electronic device 1000 may be provided as a server. Referring to fig. 10, the electronic device 1000 includes a processor 1022, which may be one or more in number, and a memory 1032 for storing computer programs executable by the processor 1022. The computer programs stored in memory 1032 may include one or more modules each corresponding to a set of instructions. Further, processor 1022 may be configured to execute the computer program to perform the data transmission methods described above.
In addition, the electronic device 1000 may also include a power component 1026 and a communication component 1050, the power component 1026 may be configured to perform power management of the electronic device 1000, and the communication component 1050 may be configured to enable communication of the electronic device 1000, such as wired or wireless communication. In addition, the electronic device 1000 may also include an input/output (I/O) interface 1058. The electronic device 1000 may operate based on an operating system stored in memory 1032, such as Windows Server, mac OS, unix, linux, etc.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the data transmission method described above. For example, the computer readable storage medium may be the memory 1032 including program instructions described above that are executable by the processor 1022 of the electronic device 1000 to perform the data transmission method described above.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned data transmission method when being executed by the programmable apparatus.
The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings, but the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure, and all the simple modifications belong to the protection scope of the present disclosure.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations are not described further in this disclosure in order to avoid unnecessary repetition.
Moreover, any combination between the various embodiments of the present disclosure is possible as long as it does not depart from the spirit of the present disclosure, which should also be construed as the disclosure of the present disclosure.

Claims (11)

1. A data transmission method, applied to a first terminal, the method comprising:
broadcasting a D2D discovery signal in case of failure to access the first network;
receiving a D2D access signal sent by a second terminal according to the D2D discovery signal, wherein the working mode of the second terminal is a central node mode;
According to the D2D access signal, carrying out data transmission with a server through the second terminal;
the second terminal is used for determining a working mode of the second terminal under the condition that the first network is successfully accessed, wherein the working mode comprises a center node mode and a non-center node mode; and periodically detecting and receiving the D2D discovery signal in case that the operation mode is determined to be a center node mode;
the determining the working mode of the second terminal comprises the following steps:
taking a preset first appointed mode as the working mode; or alternatively, the process may be performed,
receiving a second designated mode sent by a server, and taking the second designated mode as the working mode; or alternatively, the process may be performed,
and if the terminal acquires the first appointed mode and the second appointed mode, the second appointed mode is used as the working mode.
2. The method of claim 1, wherein broadcasting the D2D discovery signal comprises:
broadcasting a D2D discovery signal in a first preset D2D signaling time slot through a preset frequency band, wherein the preset frequency band is a preset frequency band different from a frequency band used by the first network;
The receiving the D2D access signal sent by the second terminal according to the D2D discovery signal includes:
and in a second preset D2D signaling time slot, receiving the D2D access signal through the preset frequency band.
3. The method of claim 2, wherein the D2D access signal includes a D2D uplink traffic slot and a D2D downlink traffic slot designated for data transmission by the second terminal; according to the D2D access signal, performing data transmission with a server through the second terminal includes:
determining a D2D uplink service time slot and a D2D downlink service time slot according to the D2D access signal;
in the D2D uplink service time slot, uplink service data with a destination address being the server is sent to the second terminal through a preset frequency band;
and in the D2D downlink service time slot, receiving downlink service data from the server from the second terminal through a preset frequency band.
4. A data transmission method, applied to a second terminal, the method comprising:
receiving a D2D discovery signal broadcast by a first terminal, wherein the D2D discovery signal is a signal broadcast by the first terminal under the condition of failure in accessing a first network;
Transmitting a D2D access signal to the first terminal according to the D2D discovery signal;
forwarding data between the first terminal and a server so as to realize data transmission between the first terminal and the server;
the method further comprises the steps of:
under the condition that the first network is successfully accessed, determining the working mode of the second terminal, wherein the working mode comprises a center node mode and a non-center node mode;
periodically detecting and receiving a D2D discovery signal under the condition that the working mode is determined to be a central node mode;
the determining the working mode of the second terminal comprises the following steps:
taking a preset first appointed mode as the working mode; or alternatively, the process may be performed,
receiving a second designated mode sent by a server, and taking the second designated mode as the working mode; or alternatively, the process may be performed,
and if the terminal acquires the first appointed mode and the second appointed mode, the second appointed mode is used as the working mode.
5. The method of claim 4, wherein the receiving the D2D discovery signal broadcast by the first terminal comprises:
in a first preset D2D signaling time slot, receiving a D2D discovery signal broadcast by the first terminal through a preset frequency band, wherein the preset frequency band is a preset frequency band different from a frequency band used by the first network;
The transmitting the D2D access signal to the first terminal includes:
and in a second preset D2D signaling time slot, transmitting a D2D access signal to the first terminal through the preset frequency band.
6. The method of claim 4, wherein the D2D access signal includes a D2D uplink traffic slot and a D2D downlink traffic slot designated for data transmission by the second terminal; forwarding data between the first terminal and a server includes one or more of:
in the D2D uplink service time slot, uplink service data of which the destination address is a server and sent by the first terminal is received through a preset frequency band; in a preset first network time slot, the uplink service data is sent to a server through a first network;
in a preset first network time slot, receiving downlink service data with a destination address of a first terminal sent by the server through a first network; and in the D2D downlink service time slot, the downlink service data is sent to the first terminal through the preset frequency band.
7. The method of claim 4, wherein prior to receiving the second designated pattern sent by the server, the method further comprises:
And sending a terminal state parameter of the second terminal to a server, wherein the terminal state parameter comprises one or more of position information, electric quantity information and first network signal quality of the second terminal, so that the server determines a second appointed mode of the second terminal according to the terminal state parameter and sends the second appointed mode to the second terminal.
8. A data transmission apparatus for use with a first terminal, the apparatus comprising:
the first signal sending module is used for broadcasting a D2D discovery signal under the condition that the access to the first network fails;
the first signal receiving module is used for receiving a D2D access signal sent by the second terminal according to the D2D discovery signal;
the first data transmission module is used for carrying out data transmission with the server through the second terminal according to the D2D access signal;
the second terminal is used for determining a working mode of the second terminal under the condition that the first network is successfully accessed, wherein the working mode comprises a center node mode and a non-center node mode; and periodically detecting and receiving the D2D discovery signal in case that the operation mode is determined to be a center node mode;
The determining the working mode of the second terminal comprises the following steps:
taking a preset first appointed mode as the working mode; or alternatively, the process may be performed,
receiving a second designated mode sent by a server, and taking the second designated mode as the working mode; or alternatively, the process may be performed,
and if the first specified mode and the second specified mode are acquired, the second specified mode is used as the working mode.
9. A data transmission apparatus for use with a second terminal, the apparatus comprising:
the second signal receiving module is used for receiving a D2D discovery signal broadcasted by the first terminal, wherein the D2D discovery signal is a signal broadcasted by the first terminal under the condition that the access to the first network fails;
the second signal sending module is used for sending a D2D access signal to the first terminal according to the D2D discovery signal;
the second data transmission module is used for forwarding the data between the first terminal and the server so as to realize data transmission between the first terminal and the server;
the apparatus further comprises:
the working mode determining module is used for determining the working mode of the second terminal under the condition that the first network is successfully accessed, wherein the working mode comprises a center node mode and a non-center node mode;
The second signal receiving module is used for periodically detecting and receiving a D2D discovery signal under the condition that the working mode is determined to be a central node mode;
the working mode determining module is used for taking a preset first designated mode as the working mode; or receiving a second designated mode sent by the server, and taking the second designated mode as the working mode; or if the first specified mode and the second specified mode are acquired, the second specified mode is used as the working mode.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program when executed by a processor implements the steps of the method of any one of claims 1 to 3, or the program when executed by a processor implements the steps of the method of any one of claims 4 to 7.
11. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 3 or to carry out the steps of the method of any one of claims 4 to 7.
CN202110540996.5A 2021-05-18 2021-05-18 Data transmission method and device, storage medium and electronic equipment Active CN113365325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110540996.5A CN113365325B (en) 2021-05-18 2021-05-18 Data transmission method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110540996.5A CN113365325B (en) 2021-05-18 2021-05-18 Data transmission method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113365325A CN113365325A (en) 2021-09-07
CN113365325B true CN113365325B (en) 2023-07-04

Family

ID=77526496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110540996.5A Active CN113365325B (en) 2021-05-18 2021-05-18 Data transmission method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113365325B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104837108A (en) * 2014-02-07 2015-08-12 中兴通讯股份有限公司 Device to device broadcast communication method and user device
CN105828453A (en) * 2015-01-04 2016-08-03 中兴通讯股份有限公司 Data transmission method and data transmission device for relay communication

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105379375A (en) * 2014-01-24 2016-03-02 华为技术有限公司 Method and device for transmitting synchronisation signal
CN105611483A (en) * 2014-11-03 2016-05-25 中国移动通信集团公司 D2D communication method and D2D communication device
CN106162598B (en) * 2015-04-10 2019-09-17 电信科学技术研究院 A kind of user equipment is to the communication means and device under network relay scene
CN107333221B (en) * 2016-04-28 2020-11-13 阿尔卡特朗讯 Method and equipment for controlling terminal communication
US10924971B2 (en) * 2016-05-11 2021-02-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Communication method, terminal device and network device
CN110839228B (en) * 2019-11-26 2022-11-15 郑州大学 NB-IoT D2D communication method, terminal and system based on signaling monitoring

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104837108A (en) * 2014-02-07 2015-08-12 中兴通讯股份有限公司 Device to device broadcast communication method and user device
CN105828453A (en) * 2015-01-04 2016-08-03 中兴通讯股份有限公司 Data transmission method and data transmission device for relay communication

Also Published As

Publication number Publication date
CN113365325A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
EP3512118B1 (en) Method and device for transmitting response message
CN107820728B (en) Random access method and device
CN105246027A (en) D2D relay resource configuration method, device and system
US11323220B2 (en) Wireless communication method and apparatus
US10305778B2 (en) Enhanced peer discovery in a mesh network
KR20180090775A (en) Connection establishment method and apparatus
CN111757357B (en) Redirection method, network and terminal equipment, communication system and readable storage medium
CN111867101B (en) Data transmission method, network equipment, terminal, storage medium and electronic equipment
CN107770847B (en) Network access method, access equipment and terminal equipment
US20230232268A1 (en) Measurement method, measurement apparatus, terminal, and network device
CN111565479B (en) Communication method, device and system thereof
CN112740826B (en) Capability reporting method and terminal equipment
WO2021103026A1 (en) Method for performing communication on bandwidth part
CN113365325B (en) Data transmission method and device, storage medium and electronic equipment
CN111919472B (en) Random access response for BWP
EP3905736A1 (en) Device discovery method, apparatus, and system
CN106686571B (en) Method and device for processing discovery message
US20230128129A1 (en) Beam management method and apparatus, communication device, and storage medium
CN114073140B (en) Reducing unsuccessful paging
CN116965122A (en) Resource regulation and control method
CN109429294B (en) Communication method, base station, relay node and device with storage performance
CN114175694A (en) Beam training method and related equipment
CN110972146B (en) Configuration method of wireless network and network equipment
EP4319214A1 (en) Method and apparatus for executing propogation delay compensation, computer device, and storage medium
US20240089821A1 (en) Method for service switching between terminal devices

Legal Events

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