CN112566184B - Communication method - Google Patents

Communication method Download PDF

Info

Publication number
CN112566184B
CN112566184B CN202011383886.4A CN202011383886A CN112566184B CN 112566184 B CN112566184 B CN 112566184B CN 202011383886 A CN202011383886 A CN 202011383886A CN 112566184 B CN112566184 B CN 112566184B
Authority
CN
China
Prior art keywords
terminal
target
data
determining
service
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
CN202011383886.4A
Other languages
Chinese (zh)
Other versions
CN112566184A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011383886.4A priority Critical patent/CN112566184B/en
Publication of CN112566184A publication Critical patent/CN112566184A/en
Application granted granted Critical
Publication of CN112566184B publication Critical patent/CN112566184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]

Abstract

The embodiment of the application provides a communication method, relates to the technical field of communication, and can solve the problems that data resources are wasted and a terminal cannot fully receive data of a target service. The method comprises the following steps: the method comprises the steps that a server receives a service request which is sent by a terminal and used for acquiring data of a target service, determines a first quantity and a first duration, wherein the first quantity is the quantity of target terminals recorded at the current moment, and the target terminals are terminals for requesting the data of the target service; the first duration is the time length from the moment when the first terminal in the target terminal requests the data of the target service to the current moment; the first terminal is a terminal which first requests to acquire data of a target service in the target terminal; then, according to the first quantity, the first duration, the terminal quantity threshold value and the time threshold value, determining a communication mode of the network equipment and the target terminal, wherein the communication mode comprises at least one of unicast and broadcast; and sending the communication mode to the network equipment so that the network equipment and the target terminal can communicate in the communication mode.

Description

Communication method
Technical Field
The application relates to the technical field of communication, in particular to a communication method.
Background
In the existing communication system, when a plurality of terminals simultaneously request the same service (also called hot spot service) in a certain area, network equipment allocates independent transmission resources for each terminal respectively, and sends data to each terminal respectively by unicast transmission. In this way, the same data is repeatedly transmitted, resulting in waste of resources. To solve this problem, the third generation partnership project (third generation partnership project,3 GPP) communication system has proposed an enhanced multimedia broadcast multicast service (evolved multimedia broadcast multicast service, eMBMS) technology, in which service data is transmitted in a broadcast manner, and multiple terminals can simultaneously receive the service data, so as to reduce the total data traffic, improve the network resource utilization, and save the transmission load and the air interface resource occupation. However, in the eMBMS technology, on one hand, the network device cannot determine which are hot spot services in real time according to the service request condition at a certain moment, and is suitable for transmission in a broadcast mode; on the other hand, even if the network device transmits the service data in a broadcast manner, there is a problem in that the terminal cannot completely receive all the data. Based on this, a solution is needed to balance the problems of the prior art.
Disclosure of Invention
The application aims to provide a communication method which can solve the problems that data resources are wasted and a terminal cannot fully receive data of a target service.
In a first aspect, the present application provides a communication method, the method comprising: firstly, a server receives a service request sent by a terminal and used for acquiring data of a target service, the server determines a first quantity and a first duration, the first quantity is the quantity of target terminals recorded at the current moment, and the target terminals are terminals for requesting the data of the target service; the first duration is the time length from the moment when the first terminal in the target terminal requests the data of the target service to the current moment; the first terminal is a terminal which first requests to acquire data of a target service in the target terminal; then, the server determines a communication mode between the network equipment and the target terminal according to the first quantity, the first duration, the terminal quantity threshold and the time threshold, wherein the communication mode comprises at least one of unicast and broadcast; and finally, the server sends a communication mode to the network equipment so that the network equipment and the target terminal can communicate in the communication mode.
Based on the first aspect, the communication method provided by the embodiment of the application can enable the server to determine and update the communication mode between the network equipment and the target terminal in real time according to the first quantity, the first duration, the terminal quantity threshold and the time threshold, so that the problem of data resource waste can be solved, the network equipment can determine hot spot service according to the service request condition at a certain moment, and transmit the data of the target service to the terminal in a broadcasting mode, and the terminal can completely receive the data of all the target services.
In one possible design, the server determines that there is a counter and timer corresponding to the target traffic; the first number is determined from the counter and the first duration is determined from the timer.
Based on the possible design, in the case that the server determines that the counter corresponding to the target service and the timer exist, the server determines the first number according to the counter and determines the first time length according to the timer, so that the accuracy of determining the first number and the first time length by the server can be improved.
In one possible design, the server determines that there is no counter and timer corresponding to the target service; a counter is created and started and the timer.
Based on the possible design, determining at the server that there is no counter and timer corresponding to the target service; the server firstly creates and starts the counter and the timer, so that the first quantity can be determined according to the counter, the first duration can be determined according to the timer, and the accuracy of the server for determining the first quantity and the first duration can be improved
In one possible design, if the first duration is less than or equal to the time threshold, the server determines a communication mode between the network device and the target terminal according to the first number and the terminal number threshold; in the event that the first time period is greater than the time threshold, the server; alternatively, the first number is redetermined based on the first number and the terminal number threshold.
Based on the possible design, when the first time length does not exceed the time threshold, the server determines a communication mode between the network equipment and the target terminal according to the first number and the terminal number threshold; when the first time length exceeds the time threshold, the server updates the first number according to the first number and the terminal number threshold, and determines that the network equipment and the target terminal communicate in a unicast mode; or the server redetermines the first number according to the first number and the terminal number threshold, thereby being beneficial to improving the reliability of the communication system.
In one possible design, determining that the network device communicates with the target terminal in a unicast manner if the first number is less than the terminal number threshold; in the event that the first number is greater than or equal to the terminal number threshold, determining that the network device communicates with the target terminal in a unicast and broadcast manner.
Based on the possible design, the server can determine that the network equipment and the target terminal communicate in a unicast mode when the first number does not reach the terminal number threshold, so that the same repeated data transmission operation can be reduced, and the resource waste is avoided; and when the first number reaches the threshold of the number of the terminals, the server can determine that the network equipment and the target terminal communicate in a unicast and broadcast mode, so that on one hand, the total flow of network data can be reduced, the utilization rate of network resources is improved, the transmission load and the occupation of air interface resources are saved, and on the other hand, the terminal can receive the data of all service targets within the time threshold.
In one possible design, if the first number is equal to the threshold number of terminals, determining data of the target service that has been received by the first terminal to obtain a first byte; and determining data of the target service which is received by the target terminal except the first terminal in the first quantity to obtain a second byte; updating the first byte to be the first byte plus 1, and determining that the network equipment and the target terminals in the first quantity start transmitting data of the target service from the updated first byte in a broadcasting mode; and determining the difference value between the second byte and the first byte in the data of the target service transmitted by the target terminal except the first terminal in a unicast mode in the network equipment and the first quantity; and under the condition that the first number is larger than the terminal number threshold, determining that the network equipment and the target terminal at the current moment start transmitting the data of the target service in a broadcasting mode, and determining that the network equipment and the target terminal at the current moment transmit the data of the missing target service in a unicast mode.
Based on the possible design, the server can determine the communication mode between the network equipment and the target terminal according to the first quantity and the terminal quantity threshold within the time threshold, and the server determines that the network equipment and the target terminal transmit the target service data in a unicast mode under the condition that the first quantity is smaller than the terminal quantity threshold, so that the same times of data retransmission and transmission are reduced, and resource waste is avoided; under the condition that the first quantity is equal to the threshold value of the quantity of the terminals, the server determines that the first network equipment and all target terminals in the first quantity transmit target service data in a broadcasting mode, and determines that the second network equipment and all target terminals except the first terminal transmit the missing target service data in a unicast mode in the first quantity, so that on one hand, all target terminals included in the first quantity can receive the target service data from the updated first byte at the same time, the total flow of network data is reduced, the utilization rate of network resources is improved, and the transmission load and the occupation of air interface resources are saved; on the other hand, the problem that part of target terminals cannot completely receive the data of all target services is solved; under the condition that the first number is larger than the threshold value of the number of the terminals, the server determines that the target service is a hot spot service, so that the first network equipment and the target terminal sending the request of the target service are notified to transmit service data in a broadcast mode, and the second network equipment is used for transmitting the data of the target service which is missing from the target terminal at the current moment in a unicast mode, namely, the server can dynamically determine whether the service data are required to be transmitted between the network equipment and the target terminal in a broadcast mode according to the change of the service request sent by the terminal in a certain area, and meanwhile, for the target terminal added later, the target terminal added later can also receive all the service data in a cooperative mode of the first network equipment and the second network equipment.
In one possible design, when the first time period is greater than the time threshold, the first terminal is deleted to update the first number if the first number is less than or equal to the terminal number threshold; and determining that the network device and the target terminal in the updated first number transmit the data of the target service in a unicast mode.
Based on the possible design, under the condition that the first time length is larger than the time threshold, the server firstly determines that the first number is smaller than or equal to the terminal number threshold, namely, the number of terminals requesting to acquire the data of the target service at the current time is smaller, so that the server determines that the network equipment and the target terminal communicate in a unicast mode, the operation of repeatedly determining the first number is avoided, and the reduction of power consumption is facilitated; and when the first quantity is determined to be larger than the terminal quantity threshold value, the first quantity is redetermined, so that the reliability of the communication system is improved.
In a second aspect, an embodiment of the present application provides a server, where the server may implement the functions performed by the server in the first aspect or in a possible design of the first aspect, where the functions may be implemented by executing corresponding software by using hardware. The hardware or software comprises one or more modules corresponding to the functions. Such as a transceiver module and a processing module. And the receiving and transmitting module is used for receiving a service data request, wherein the service data request is used for requesting to acquire the data of the target service. A processing module for determining a first number and a first duration; the first number is the number of the target terminals recorded at the current moment, and the target terminals are terminals for requesting data of the target service; the first duration is the time length from the moment when the first terminal in the target terminal requests the data of the target service to the current moment; the first terminal is a terminal which first requests to acquire data of a target service in the target terminals; the processing module is further used for determining a communication mode between the network equipment and the target terminal according to the first quantity, the first duration, the terminal quantity threshold and the time threshold; the communication mode comprises at least one of unicast and broadcast; the receiving and transmitting module is also used for sending a communication mode to the network equipment so that the network equipment and the target terminal can communicate in the communication mode.
The specific implementation manner of the server may refer to the behavior function of the server in the communication method provided by the first aspect or any one of the possible designs of the first aspect, based on the server in the second aspect, the server determines and updates the communication manner between the network device and the target terminal in real time according to the first number, the first duration, the terminal number threshold and the time threshold, so that not only the problem of data resource waste can be solved, but also the network device can determine a hot spot service according to a service request condition at a certain moment, and transmit data of the target service to the terminal in a broadcast manner, and the terminal can completely receive the data of all the target services.
In one possible design, the processing module is further configured to determine that a counter and a timer corresponding to the target service exist; the first number is determined from the counter and the first duration is determined from the timer.
In one possible design, the processing module is further configured to determine that there is no counter and no timer corresponding to the target service; a counter and a timer are created and started.
In one possible design, the processing module is further configured to determine, when the first time length is less than or equal to the time threshold, a communication mode between the network device and the target terminal according to the first number and the terminal number threshold; under the condition that the first time length is larger than the time threshold, updating the first quantity according to the first quantity and the terminal quantity threshold, and determining that the network equipment and the target terminal communicate in a unicast mode; alternatively, the first number is redetermined based on the first number and the terminal number threshold.
In a possible design, the processing module is further configured to determine that the network device communicates with the target terminal in a unicast manner if the first number is less than the threshold number of terminals; in the event that the first number is greater than or equal to the terminal number threshold, determining that the network device communicates with the target terminal in a unicast and broadcast manner.
In a possible design, the processing module is further configured to determine, in a case where the first number is equal to the threshold number of terminals, data of the target service that has been received by the first terminal, so as to obtain a first byte; and determining data of the target service which is received by the target terminal except the first terminal in the first quantity to obtain a second byte; updating the first byte to be the first byte plus 1, and determining that the network equipment and the target terminals in the first quantity start transmitting data of the target service from the updated first byte in a broadcasting mode; and determining the difference value between the second byte and the first byte in the data of the target service transmitted by the target terminal except the first terminal in a unicast mode in the network equipment and the first quantity; and under the condition that the first number is larger than the terminal number threshold, determining that the network equipment and the target terminal at the current moment start transmitting the data of the target service in a broadcasting mode, and determining that the network equipment and the target terminal at the current moment transmit the data of the missing target service in a unicast mode.
In one possible design, the processing module is further configured to delete the first terminal to update the first number if the first number is less than or equal to the threshold of the number of terminals; determining that the network equipment and the target terminals in the updated first quantity transmit data of the target service in a unicast mode; the first number is redetermined if the first number is greater than the terminal number threshold.
In a third aspect, embodiments of the present application provide a server, which may be a server or a chip or a system on a chip in a server. The server may implement the above aspects or functions performed by the server in a possible design, which may be implemented by hardware and software.
In one possible design, the terminal device may include: a processor, transceiver, communication lines, and memory; the processor is connected with the memory through a communication line. The transceiver and processor may be adapted to support the server to perform the functions referred to in the first aspect or any one of the possible designs of the first aspect. For example, the transceiver is configured to receive a service data request, where the service data request is configured to request to obtain data of a target service; the processor is configured to determine a first number and a first duration; the first number is the number of the target terminals recorded at the current moment, and the target terminals are terminals for requesting data of the target service; the first duration is the time length from the moment when the first terminal in the target terminal requests the data of the target service to the current moment; the first terminal is a terminal which first requests to acquire data of a target service in the target terminals; then determining a communication mode between the network equipment and the target terminal according to the first quantity, the first duration, the terminal quantity threshold and the time threshold; the communication mode comprises at least one of unicast and broadcast; the transceiver is further configured to send a communication manner to the network device, so that the network device and the target terminal communicate in the communication manner. The memory is used for storing computer execution instructions. When the server is running, the transceiver and the processor execute computer-executable instructions stored in the memory to cause the server to perform the communication method as described above in the first aspect or any one of the possible designs of the first aspect.
In a fourth aspect, there is provided a computer readable storage medium storing computer instructions or a program which, when run on a computer, cause the computer to perform a communication method as described in the first aspect or any one of the possible designs of the first aspect.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the communication method as described in the first aspect or any of the possible designs of the first aspect.
Drawings
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application;
fig. 2 is a component structure diagram of a communication device according to an embodiment of the present application;
FIG. 3 is a flow chart of a communication method according to an embodiment of the present application;
FIG. 4 is a flow chart of another communication method according to an embodiment of the present application;
FIG. 5 is a flow chart of another communication method according to an embodiment of the present application;
FIG. 6 is a flow chart of another communication method according to an embodiment of the present application;
FIG. 7 is a flow chart of another communication method according to an embodiment of the present application;
FIG. 8 is a flow chart of another communication method according to an embodiment of the present application;
FIG. 9 is a flowchart of another communication method according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
The following describes embodiments of the present application in detail with reference to the drawings.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" and the like in the description and in the drawings are used for distinguishing between different objects or between different processes of the same object and not for describing a particular order of objects.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more.
The embodiment of the application provides a communication method, wherein a server receives a service request sent by a terminal and used for acquiring data of a target service, the server determines a first quantity and a first duration, the first quantity is the quantity of target terminals recorded at the current moment, and the target terminals are terminals for requesting the data of the target service; the first duration is the time length from the moment when the first terminal in the target terminal requests the data of the target service to the current moment; the first terminal is a terminal which first requests to acquire data of a target service in the target terminal; then, the server determines a communication mode between the network equipment and the target terminal according to the first quantity, the first duration, the terminal quantity threshold and the time threshold, wherein the communication mode comprises at least one of unicast and broadcast; finally, the server sends a communication mode to the network equipment so that the network equipment and the target terminal can communicate in the communication mode; in summary, the communication method provided by the embodiment of the application can enable the server to determine and update the communication mode between the network device and the target terminal in real time according to the first number, the first duration, the terminal number threshold and the time threshold, so that not only can the problem of data resource waste be solved, but also the network device can determine the hot spot service according to the service request condition at a certain moment, and transmit the data of the target service to the terminal in a broadcast mode, and the terminal can completely receive the data of all the target services.
The following describes embodiments of the present application in detail with reference to the drawings.
The communication method provided by the embodiment of the present application may be used in any communication system, which may be a third generation partnership project (third generation partnership project,3 GPP) communication system, for example, a long term evolution (long term evolution, LTE) system, a fifth generation (5G) mobile communication system, a new air interface (NR) system, an NR V2X system, and other next generation communication systems, or may be a non-3 GPP communication system, without limitation.
The following describes a communication method provided by the embodiment of the present application by taking fig. 1 as an example.
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application, where, as shown in fig. 1, the communication system may include at least one terminal, at least one network device, at least one server, and a data network; wherein the server is located between the network device and the data network. The server is also communicatively coupled to a network (e.g., the internet) provided by a data network via a core network. Furthermore, at least one terminal is communicatively connected to at least one network device. One terminal may be in communication connection with one network device or may be in communication connection with two network devices. Illustratively, in the communication system shown in fig. 1, one terminal is communicatively coupled to two network devices. For example, the terminal is communicatively connected to the first network device and the second network device. The first network device may be a macro base station at the same time, or the first network device may be a macro base station, and the second network device may be a micro base station.
In the case where one terminal is in communication connection with the first network device and the second network device, the first network device and the terminal are in unicast communication, and the second network device and the terminal are in multicast communication, so that communication time between the network device and the terminal can be saved.
It should be noted that the following embodiments of the present application are each illustrated by taking a communication connection between a terminal and a first network device and a second network device as an example.
In addition, in one example, the server may be one server, or may be a server cluster including a plurality of servers. Further, when the server is a server cluster, each operation performed by the server in the communication method provided by the embodiment of the present application may be completed by a different server.
In the embodiment of the application, the server has the computing and storage capabilities. The server can analyze the service requests sent by the terminals and classify the terminals according to different service requests. In a specific implementation, the functions of the server described above may be implemented by a MEC (mobility edge computing, mobile edge computing) server.
In addition, a terminal (terminal) may be called a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like, and the terminal device establishes a connection with a cover layer provided under the network device a or the network device B. Specifically, the terminal device in fig. 1 may be a mobile phone (mobile phone), a tablet computer, or a computer with a wireless transceiver function. But also Virtual Reality (VR) terminals, augmented reality (augmented reality, AR) terminals, wireless terminals in industrial control, wireless terminals in unmanned aerial vehicles, wireless terminals in telemedicine, wireless terminals in smart grids, wireless terminals in smart cities (smart cities), wireless terminals in smart homes (smart home), vehicle-mounted terminals, vehicles with vehicle-to-vehicle (V2V) communication capability, intelligent network vehicles, unmanned aerial vehicles with unmanned aerial vehicle-to-unmanned aerial vehicle (UAV to UAV, U2U) communication capability, etc. are not limited.
Referring to fig. 1, as follows: each of the terminals, the network devices, and the servers may employ the constituent structures shown in fig. 2, or include the components shown in fig. 2. Fig. 2 is a schematic diagram of a communication device 100 according to an embodiment of the present application, where the communication device 100 may be a terminal device or a chip or a system on a chip in the terminal device; but may also be a network device or a chip or a system on a chip in a network device. As shown in fig. 2, the communication device 100 includes a processor 101, a transceiver 102, a communication line 103, and a memory 104.
The processor 101, the memory 104 and the transceiver 102 may be connected by a communication line 103.
Processor 101 is a central processing unit (central processing unit, CPU), a general purpose processor network processor (network processor, NP), a digital signal processor (digital signal processing, DSP), a microprocessor, a microcontroller, a programmable logic device (programmable logic device, PLD), or any combination thereof. The processor 201 may also be other devices with processing functions, such as, without limitation, circuits, devices, or software modules.
A transceiver 102 for communicating with other devices or other communication networks. The other communication network may be an ethernet, a radio access network (radio access network, RAN), a wireless local area network (wireless local area networks, WLAN), etc. The transceiver 102 may be a module, circuitry, transceiver, or any device capable of enabling communications.
Communication line 103 is used to transfer information between the components included in communication device 100.
Memory 104 for storing instructions. Wherein the instructions may be computer programs.
The memory 104 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device capable of storing static information and/or instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device capable of storing information and/or instructions, an EEPROM, a CD-ROM (compact disc read-only memory) or other optical disk storage, an optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, etc.
It should be noted that the memory 104 may exist separately from the processor 101 or may be integrated with the processor 101. The memory 104 may be used to store instructions or program code or some data, etc. The memory 104 may be located in the communication device 100 or may be located outside the communication device 100, which is not limited by the embodiment of the present application. The processor 101 is configured to execute the instructions stored in the memory 104, so as to implement the method for determining a motion trajectory of a terminal according to the embodiment of the present application.
In one example, processor 101 may include one or more CPUs, such as CPU0 and CPU1 in fig. 2.
As an alternative implementation, the communication device 100 includes multiple processors, e.g., the processor 107 may be included in addition to the processor 101 in fig. 2.
As an alternative implementation, the communication apparatus 100 further comprises an output device 105 and an input device 106. Illustratively, the input device 106 is a keyboard, mouse, microphone, or joystick device, and the output device 105 is a display screen, speaker (spaker), or the like.
It should be noted that the communication apparatus 100 may be a desktop computer, a portable computer, a web server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system, or a device having a similar structure as in fig. 2. Further, the constituent structure shown in fig. 2 does not constitute a limitation of the communication apparatus, and the communication apparatus may include more or less components than those shown in fig. 2, or may combine some components, or may be arranged in different components, in addition to those shown in fig. 2.
In the embodiment of the application, the chip system can be composed of chips, and can also comprise chips and other discrete devices.
Further, actions, terms, and the like, which are referred to between embodiments of the present application, are not limited thereto. The message names of interactions between the devices or parameter names in the messages in the embodiments of the present application are just an example, and other names may be used in specific implementations without limitation.
The communication method provided by the embodiment of the present application is described below with reference to the communication system shown in fig. 1.
Fig. 3 is a flow chart of a communication method according to an embodiment of the present application. As shown in fig. 3, the communication method includes:
s201, a server receives a service data request sent by a terminal, wherein the service data request is used for requesting to acquire data of a target service.
Specifically, as shown in fig. 4, the terminal sends a service data request to the server through the network device, after receiving the service data request, the server requests and obtains the data of the target service from the data network, then the server transmits the data of the target service to the network device, and the network device sends the received data of the target service to the terminal, so that the terminal receives the data of the target service finally.
It should be noted that, the terminal may send a service data request to the server through the first network device, or may send a service data request to the server through the second network device. Fig. 4 is a diagram of a terminal sending a service data request to a server via a first network device.
S202, the server determines a first number and a first duration.
The first number is the number of the target terminals recorded by the server at the current moment, and the target terminals are terminals for requesting data of the target service. The first duration is the time length from the moment when the first terminal in the target terminal requests the data of the target service to the current moment; the first terminal is a terminal which first requests to acquire data of the target service in the target terminal.
Specifically, as shown in fig. 5, S202 includes:
s2021, the server determines that there are a counter and a timer corresponding to the target service.
The target terminal sends a service data request for requesting acquisition of data of the target service. For example, the target service may be marked as T, and the server may determine whether there is a counter (N T ) Timer (C) T )。
S2022, the server is based on the counter N T Determining a first number according to a timer C T A first time length is determined.
Illustratively, when the server receives a service data request of a target service T sent by a target terminal for the first time, the server will count the number N of the counter T To determine the counter N by adding 1 to the value of (2) T Including a target terminal, i.e. the first number having a value of 1, sending a service data request for the target service T. If the server receives the service data request of the target service T sent by the target terminal again, the server again sends the counter N T To determine the counter N by adding 1 to the value of (2) T Including two target terminals sending service data requests for the target service T, and so on.
In addition, timer C T Starting from zero, e.g. when the server first receives a service data request for a target service T sent by the target terminal, timer C T The corresponding time is the first second, and the terminal that first sends the service data request of the target service T is the first terminal (marked as UE T1 (v),) first terminal UE T1 The corresponding timer may be C T1 . Correspondingly, when the server receives the service data request of the target service T sent by the target terminal for the second time, the timer C T The corresponding time is the fourth second, and the terminal that sends the service data request of the target service T for the second time may be, for example, the second terminal (marked as UE T2 (ii) second terminal UE T2 The corresponding timer is C T2 And so on.
In one possible design, the target terminals that send the service data requests of the target service T may be determined as a setHe { UE ] T Aggregation { UE }, set T The timer corresponding to each target terminal in the set { C } is determined as a set { C } T }. It should be appreciated that the set { UE ] T The target terminals included in the set { C } are terminals that send service data requests (e.g., target service T) of the same target service T The timers included in the method are all timers corresponding to the terminals sending the service data requests (such as the target service T) of the same target service. Exemplary, set { UE ] T }={UE T1 、UE T2 、UE T3 、…UE Tn Set { C }, set T }={C T1 、C T2 、C T3 、…C Tn }。
In one example, S202 further includes:
s2023, the server determines that there is no counter and timer corresponding to the target service.
S2024, the server creates and starts a counter and a timer.
The target service may be the target service T in the above embodiment, and the server determines that there is no counter N corresponding to the target service T T Timer C T In the case of (a), the server creates a counter N T Timer C T Counter N T Counting from the target terminal sending the service data request of the target service T at the current moment, and a timer C T Timing starts from zero.
S203, the server determines a communication mode between the network equipment and the target terminal according to the first quantity, the first duration, the terminal quantity threshold and the time threshold.
Wherein the communication means includes at least one of unicast and broadcast.
Specifically, as shown in fig. 6, S203 includes:
s2031, when the first time length is less than or equal to the time threshold, the server determines, according to the first number and the terminal number threshold, a communication mode between the network device and the target terminal.
For example, assume a time threshold C 0 =5s, and at this time the first time length C T1 =4s, thus C T1 ≤C 0 And the server determines the communication mode of the network equipment and the target terminal according to the first quantity and the terminal quantity threshold value.
Also for example, assume a time threshold C 0 =5s, and at this time the first time length C T1 =6s, thus C T1 >C 0 The server updates the first quantity according to the first quantity and the terminal quantity threshold value, and determines that the network equipment and the target terminal communicate in a unicast mode; alternatively, the server redefines the first number.
It should be appreciated that the first number is counter N T The number of target terminals included in the list, and thus the server may also be based on the counter N T The number of target terminals included in the network and the terminal number threshold (denoted as N 0 ) And determining the communication mode of the network equipment and the target terminal.
Specifically, S2031 includes:
s20311, in the case where the first number is smaller than the terminal number threshold, the server determines that the network device communicates with the target terminal in a unicast manner.
As shown in fig. 7, at N T <N 0 The server determines that the network device and the target terminal communicate in a unicast mode, and at the moment, the server transmits the data of the target service to the network device and simultaneously transmits the communication mode to the network device, namely, the server informs the network device to transmit the data of the target service to the target terminal in the unicast mode; after receiving the communication mode sent by the server, the network device sends the data of the target service to the target terminal in a unicast mode.
Exemplary, suppose C 0 =5s,C T1 =4s, and N T =4,N 0 =5; then within 4s, set { UE ] T }={UE T1 、UE T2 、UE T3 、UE T4 }. For example, terminal UE T1 Service data request of target service is sent at 1s, and terminal UE T2 Service data request of target service is sent at the 2 nd s, and terminal UE T3 Service of transmitting target service at 3sData request, terminal UE T4 At 4s a service data request for the target service is sent. Due to N T <N 0 That is, the number of terminals transmitting the service data request of the target service does not reach the terminal number threshold within the time threshold, so that the server notifies the network device to the set { UE ] T The target terminal included in the data transmission method transmits the data of the target service in a unicast mode; after the network equipment receives the communication mode sent by the server, the network equipment sends the communication mode to the set { UE } in a unicast mode T The target terminal included in the } transmits the data of the target service.
It should be noted that the server may notify the first network device to the set { UE } T The target terminal included in the set transmits the data of the target service in a unicast manner, and also can inform the second network device to the set { UE } T The target terminal included in the procedure transmits the data of the target service in a unicast manner, and the embodiment of the present application is not particularly limited.
S20312, the server determines that the network device communicates with the target terminal in unicast and broadcast modes, in a case where the first number is greater than or equal to the terminal number threshold.
As shown in fig. 6, at N T ≥N 0 The server determines that the network device and the target terminal communicate in a unicast and broadcast mode, and at the moment, the server transmits the data of the target service to the network device while transmitting the data of the target service to the network device, namely, informs the network device to transmit the data of the target service to the target terminal in a unicast and broadcast mode; after receiving the communication mode sent by the server, the network device sends the data of the target service to the target terminal in a unicast and broadcast mode.
Exemplary, suppose C 0 =5s,C T1 =4s, and N T =5,N 0 =5; then within 4s, set { UE ] T }={UE T1 、UE T2 、UE T3 、UE T4 、UE T5 }. For example, terminal UE T1 Service data request of target service is sent at 1s, and terminal UE T2 Service data request of target service is sent at 2.5s, and terminal UE T3 Service data request of target service is sent at 3s, terminal UE T4 Service data request of target service is sent at 3.5s, and terminal UE T5 At 4s a service data request for the target service is sent. Due to N T =N 0 I.e. the number of terminals sending service data requests of the target service reaches the threshold of the number of terminals within the time threshold, whereby the server informs the network device to the set { UE ] T The target terminal included in the data transmission method transmits the data of the target service in a unicast and broadcast mode, and the network equipment receives the communication mode sent by the server and transmits the data to the aggregation { UE in the unicast and broadcast mode T The target terminal included in the } transmits the data of the target service.
Specifically, as shown in fig. 8 and 9, S20312 includes:
s20312a, determining, by the server, data of a traffic target that has been received by the first terminal, to obtain a first byte, if the first number is equal to the terminal number threshold; and determining data of the target service which has been transmitted by the target terminal except the first terminal in the first quantity to obtain a second byte.
Based on the above embodiment, exemplary, assume C 0 =5s,C T1 =4s, and N T =5,N 0 =5. At this point, the server determines that the first terminal (e.g., UE T1 ) The data of the traffic targets that have been received are a first byte (marked Px), and the server determines the target terminals (e.g., UE) other than the first terminal in the first number T2 、UE T3 、UE T4 、UE T5 ) The data of the target service that has been received is the second byte (labeled Py).
The timer C corresponding to the first terminal T1 And therefore the first terminal has received the most data of the traffic object within the time threshold. Similarly, the data of the traffic targets that have been received by the target terminals other than the first terminal within the time threshold are sequentially reduced.
For example UE T2 The data of the received business object is Py1,UE T3 The received data of the business target is Py2 and UE T4 The received data of the business target is Py3 and UE T5 The data of the business object that has been received is Py4. Wherein Py1 > Py2 > Py3 > Py4.
S20312b, updating the first byte by the server to be the first byte plus 1, and determining, by the server, that the network device and the target terminal in the first number start transmitting data of the target service from the updated first byte in a broadcast manner; and determining the difference value between the second byte and the first byte in the data of the target service transmitted by the target terminal except the first terminal in a unicast mode in the network equipment and the first quantity.
Specifically, the server transmits the data of the target service to the network device while transmitting the data of the target service to the network device, that is, notifies the network device to transmit the data of the target service to all target terminals in the first number from the updated first byte in a broadcast manner; and notifying the network device to send the difference value between the second byte and the first byte in the data of the target service except the first terminal to the target terminal in the first quantity in a unicast mode; after receiving the communication mode sent by the server, the network equipment sends the data of the target service to all target terminals in the first quantity from the updated first byte in a broadcasting mode; and transmitting the difference value between the second byte and the first byte in the data of the target service to the target terminals except the first terminal in the first quantity in a unicast mode.
It should be noted that, in the embodiment of the present application, the first network device may send, in a broadcast manner, the data of the target service to all the target terminals in the first number from the updated first byte; meanwhile, the second network equipment transmits the difference value between the second byte and the first byte in the data of the target service except the first terminal in the first quantity in a unicast mode, so that the time for the network equipment to transmit the target service data to the target terminal can be saved.
Illustratively, the first network device transmits data of the target service to all target terminals in the first number in a broadcast manner starting from the px+1th byte; meanwhile, the second network device supplements missing data to the target terminals except the first terminal in the first quantity in a unicast mode, namely bytes of Px-Py in the data of the target service are sent.
For example, the first network device broadcasts to the set { UE }, in a broadcast manner T }={UE T1 、UE T2 、UE T3 、UE T4 、UE T5 The target terminal in the (P) sends the data of the target service from the Px+1th byte; meanwhile, the second network equipment unicasts to the target terminal UE T2 Bytes of Px-Py1 in data of sending target service to target terminal UE T3 Bytes of Px-Py2 in data of sending target service to target terminal UE T4 Bytes of Px-Py3 in data of sending target service and data of sending target service to target terminal UE T5 And sending bytes of Px-Py4 in the data of the target service.
S20312c, when the first number is greater than the threshold number of terminals, the server determines that the network device and the target terminal at the current time start transmitting data of the target service in a broadcast manner, and determines that the network device and the target terminal at the current time transmit data of the missing target service in a unicast manner.
Illustratively, at the current time, the target terminal UE T6 A service request for acquiring the data of the target service is sent, and the server sends N T The value of (2) is increased by 1, i.e. N T =6, and will target terminal UE T6 Joining to set { UE ] T In { UE }, so that the set { UE } T }={UE T1 、UE T2 、UE T3 、UE T4 、UE T5 、UE T6 }. Due to the current time N T >N 0 The server thus determines the first network device and the target terminal UE at the current moment T6 Starting to transmit data of target service in a broadcast mode, and determining second network equipment and target terminal UE at current moment T6 Data of the missing target service is transmitted in a unicast manner.
For example, the server sends the network device a communication means, i.e. the server informs the first network device of the broadcasting partyTo target terminal UE T6 Transmitting data of the target service and notifying the second network equipment to the target terminal UE in a unicast mode T6 And sending the data of the missing target service. After the first network device and the second network device receive the communication mode sent by the server, the first network device sends the communication mode to the target terminal UE in a broadcasting mode T6 Transmitting data of the target service, and the second network equipment unicasts the data to the target terminal UE T6 And sending the data of the missing target service.
In the embodiment of the application, the server can determine the communication mode between the network equipment and the target terminal according to the first quantity and the terminal quantity threshold within the time threshold, and the server determines that the network equipment and the target terminal transmit the target service data in a unicast mode under the condition that the first quantity is smaller than the terminal quantity threshold, so that the same times of data retransmission and transmission are reduced, and the resource waste is avoided; under the condition that the first quantity is equal to the threshold value of the quantity of the terminals, the server determines that the first network equipment and all target terminals in the first quantity transmit target service data in a broadcasting mode, and determines that the second network equipment and all target terminals except the first terminal transmit the missing target service data in a unicast mode in the first quantity, so that on one hand, all target terminals included in the first quantity can receive the target service data from the updated first byte at the same time, the total flow of network data is reduced, the utilization rate of network resources is improved, and the transmission load and the occupation of air interface resources are saved; on the other hand, the problem that part of target terminals cannot completely receive the data of all target services is solved; under the condition that the first number is larger than the threshold value of the number of the terminals, the server determines that the target service is a hot spot service, so that the first network equipment and the target terminal sending the request of the target service are notified to transmit service data in a broadcast mode, and the second network equipment is used for transmitting the data of the target service which is missing from the target terminal at the current moment in a unicast mode, namely, the server can dynamically determine whether the service data are required to be transmitted between the network equipment and the target terminal in a broadcast mode according to the change of the service request sent by the terminal in a certain area, and meanwhile, for the target terminal added later, the target terminal added later can also receive all the service data in a cooperative mode of the first network equipment and the second network equipment.
S2032, when the first time period is greater than the time threshold, updating the first number by the server according to the first number and the terminal number threshold, and determining that the network device and the target terminal communicate in a unicast manner; alternatively, the server redefines the first number.
Specifically, as shown in fig. 6, S2032 includes:
s20321, deleting the first terminal to update the first number if the first number is less than or equal to the terminal number threshold; and determining that the network device and the target terminal in the updated first number transmit the data of the target service in a unicast mode.
Exemplary, suppose C 0 =4s,C T1 =5s, and N T =4,N 0 =5; then within 5s, set { UE ] T }={UE T1 、UE T2 、UE T3 、UE T4 }. For example, terminal UE T1 Service data request of target service is sent at 1s, and terminal UE T2 Service data request of target service is sent at 3s, terminal UE T3 Service data request of target service is sent at 4s, and terminal UE T4 And sending a service data request of the target service at the 5 th s. Due to the terminal UE T4 Is that the service data request of the target service is sent at the 5 th s and exceeds the time threshold C 0 And N T <N 0 The server will therefore send the first terminal, i.e. the terminal UE T1 Deleting, updating the first number to a value of 3, i.e. the set { UE ] T }={UE T2 、UE T3 、UE T4 }. On the basis, the server determines the network device and the updated set { UE ] T All target terminals included in the list transmit the target traffic data in a unicast manner.
S20322, if the first number is greater than the terminal number threshold, re-determining the first number.
Exemplary, suppose C 0 =4s,C T1 =5s, and N T =6,N 0 =5; then within 5s, set { UE ] T }={UE T1 、UE T2 、UE T3 、UE T4 、UE T5 、UE T6 }. For example, terminal UE T1 Service data request of target service is sent at 1s, and terminal UE T2 Service data request of target service is sent at the 2 nd s, and terminal UE T3 Service data request of target service is sent at the 2 nd s, and terminal UE T4 Service data request of target service is sent at 4s, and terminal UE T5 Service data request of target service is sent at 4.5s, and terminal UE T6 And sending a service data request of the target service at the 5 th s. Due to the terminal UE T6 Is that the service data request of the target service is sent at the 5 th s and exceeds the time threshold C 0 And N T >N 0 The server thus re-determines the first number, i.e. from the terminal UE T6 Starting to recime, terminal UE T6 I.e. the first terminal in the next first number.
In the embodiment of the application, under the condition that the first time length is larger than the time threshold, the first number is firstly determined to be smaller than or equal to the terminal number threshold, namely, the number of terminals requesting to acquire the data of the target service at the current time is smaller, so that the server determines that the network equipment and the target terminal communicate in a unicast mode, the operation of repeatedly determining the first number is avoided, and the reduction of power consumption is facilitated; and when the first quantity is determined to be larger than the terminal quantity threshold value, the first quantity is redetermined, so that the reliability of the communication system is improved.
S204, the server sends a communication mode to the network equipment so that the network equipment and the target terminal can communicate by adopting the communication mode.
In summary, after the server determines the communication mode between the network device and the target terminal, the server sends the communication mode to the network device, so that the network device sends the data of the target service to the target terminal in the communication mode.
The scheme provided by the embodiment of the application is introduced mainly from the interaction point of the devices. It will be appreciated that each device, in order to implement the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of each device according to the method example, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
In the case of dividing the respective functional modules with the respective functions, fig. 10 shows a server 300, and the server 300 may include a transceiver module 301 and a processing module 302. The exemplary server 300 may be a server, a chip applied in a server, or other combined devices, components, etc. having the server functions described above.
For example, transceiver module 301 may be used to perform all of the transceiving operations performed by the server in the embodiments illustrated in fig. 3-9, and/or other processes for supporting the techniques described herein. The processing module 302 may perform all but the transceiving operations performed by the server in the embodiments illustrated in fig. 3-9, and/or other processes for supporting the techniques described herein.
Specifically, the transceiver module 301 is configured to receive a service data request, where the service data request is used to request to obtain data of a target service.
A processing module 302 configured to determine a first number and a first duration; the first number is the number of the target terminals recorded at the current moment, and the target terminals are terminals for requesting data of the target service; the first duration is the time length from the moment when the first terminal in the target terminal requests the data of the target service to the current moment; the first terminal is a terminal which first requests to acquire the data of the target service in the target terminals.
The processing module 302 is further configured to determine a communication manner between the network device and the target terminal according to the first number, the first duration, the terminal number threshold, and the time threshold; the communication means includes at least one of unicast and broadcast.
The transceiver module 301 is further configured to send a communication manner to the network device, so that the network device and the target terminal communicate in the communication manner.
In one possible design, the processing module 302 is further configured to determine that a counter and a timer corresponding to the target service exist; the first number is determined from the counter and the first duration is determined from the timer.
In one possible design, the processing module 302 is further configured to determine that there is no counter and no timer corresponding to the target service; a counter and a timer are created and started.
In a possible design, the processing module 302 is further configured to determine, when the first time length is less than or equal to the time threshold, a communication manner between the network device and the target terminal according to the first number and the terminal number threshold; under the condition that the first time length is larger than the time threshold, updating the first quantity according to the first quantity and the terminal quantity threshold, and determining that the network equipment and the target terminal communicate in a unicast mode; alternatively, the first number is redetermined based on the first number and the terminal number threshold.
In a possible design, the processing module 302 is further configured to determine that the network device communicates with the target terminal in a unicast manner when the first number is less than the threshold number of terminals; in the event that the first number is greater than or equal to the terminal number threshold, determining that the network device communicates with the target terminal in a unicast and broadcast manner.
In a possible design, the processing module 302 is further configured to determine, in a case where the first number is equal to the threshold number of terminals, data of the target service that has been received by the first terminal, so as to obtain a first byte; and determining data of the target service which is received by the target terminal except the first terminal in the first quantity to obtain a second byte; updating the first byte to be the first byte plus 1, and determining that the network equipment and the target terminals in the first quantity start transmitting data of the target service from the updated first byte in a broadcasting mode; and determining the difference value between the second byte and the first byte in the data of the target service transmitted by the target terminal except the first terminal in a unicast mode in the network equipment and the first quantity; and under the condition that the first number is larger than the terminal number threshold, determining that the network equipment and the target terminal at the current moment start transmitting the data of the target service in a broadcasting mode, and determining that the network equipment and the target terminal at the current moment transmit the data of the missing target service in a unicast mode.
In a possible design, the processing module 302 is further configured to delete the first terminal to update the first number if the first number is less than or equal to the threshold of the number of terminals; determining that the network equipment and the target terminals in the updated first quantity transmit data of the target service in a unicast mode; the first number is redetermined if the first number is greater than the terminal number threshold.
It should be noted that, the illustration of the functions and the beneficial effects achieved by the respective modules of the terminal device shown in fig. 10 may refer to the illustration and the beneficial effects of the method for determining the motion trail of the terminal in the foregoing embodiments, which are not described herein again.
Further, actions, terms, and the like, which are referred to between embodiments of the present application, are not limited thereto. The message names of interactions between the devices or parameter names in the messages in the embodiments of the present application are just an example, and other names may be used in specific implementations without limitation.
The embodiment of the application also provides a computer readable storage medium. All or part of the flow in the above method embodiments may be implemented by a computer program to instruct related hardware, where the program may be stored in the above computer readable storage medium, and when the program is executed, the program may include the flow in the above method embodiments. The computer readable storage medium may be an internal storage unit of the terminal (including the data transmitting end and/or the data receiving end) of any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may be an external storage device of the terminal, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card (flash card), or the like, which are provided in the terminal. Further, the computer-readable storage medium may further include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (6)

1. A method of communication, comprising:
receiving a service data request, wherein the service data request is used for requesting to acquire data of a target service;
determining a first number and a first duration; the first number is the number of the target terminals recorded at the current moment, and the target terminals are terminals for requesting the data of the target service; the first duration is the time length from the moment when the first terminal in the target terminal requests the data of the target service to the current moment; the first terminal is a terminal which first requests to acquire data of a target service in the target terminal;
determining a communication mode between the network equipment and the target terminal according to the first quantity, the first duration, the terminal quantity threshold and the time threshold; the communication mode comprises at least one of unicast and broadcast;
The communication mode is sent to the network equipment so that the network equipment and the target terminal can communicate in the communication mode;
the determining a communication mode between the network device and the target terminal according to the first number, the first duration, the terminal number threshold and the time threshold includes:
determining that the network device communicates with the target terminal in a unicast manner when the first duration is less than or equal to the time threshold and the first number is less than the terminal number threshold;
determining that the network device communicates with the target terminal in a unicast and broadcast manner when the first duration is less than or equal to the time threshold and the first number is greater than or equal to the terminal number threshold;
updating the first quantity according to the first quantity and the terminal quantity threshold value under the condition that the first time length is larger than the time threshold value, and determining that the network equipment and the target terminal communicate in a unicast mode; or, re-determining the first number according to the first number and the terminal number threshold;
Wherein, when the first time length is greater than the time threshold, the first number is updated according to the first number and the terminal number threshold, and the network device and the target terminal are determined to communicate in a unicast mode; or, re-determining the first number according to the first number and the terminal number threshold value, including:
deleting the first terminal to update the first number if the first number is less than or equal to the terminal number threshold; determining that the network equipment and the target terminals in the updated first quantity transmit the data of the target service in the unicast mode; the method comprises the steps of,
re-determining the first number if the first number is greater than the terminal number threshold;
wherein the determining that the network device communicates with the target terminal in the unicast and broadcast modes when the first duration is less than or equal to the time threshold and the first number is greater than or equal to the terminal number threshold comprises:
determining the data of the target service received by the first terminal under the condition that the first number is equal to the terminal number threshold value, so as to obtain a first byte; and determining the data of the target service which is received by the target terminal except the first terminal in the first quantity to obtain a second byte; updating the first byte to be 1 plus the first byte, and determining that the network equipment and the target terminals in the first quantity start transmitting the data of the target service from the updated first byte in the broadcasting mode; and determining a difference value between the second byte and the first byte in the data of the target service transmitted by the target terminal except the first terminal in the unicast mode in the network equipment and the first quantity; the method comprises the steps of,
And under the condition that the first number is larger than the terminal number threshold, determining that the network equipment and the target terminal at the current moment start transmitting the data of the target service in the broadcasting mode, and determining that the network equipment and the target terminal at the current moment transmit the missing data of the target service in the unicast mode.
2. The communication method of claim 1, wherein the determining the first number and the first time length comprises:
determining that a counter and a timer corresponding to the target service exist;
the first number is determined from the counter and the first duration is determined from the timer.
3. The communication method according to claim 2, characterized by further comprising:
determining that the counter and the timer corresponding to the target service do not exist;
the counter and the timer are created and started.
4. A server, comprising:
the receiving and transmitting module is used for receiving a service data request, wherein the service data request is used for requesting to acquire the data of the target service;
a processing module for determining a first number and a first duration; the first number is the number of the target terminals recorded at the current moment, and the target terminals are terminals for requesting the data of the target service; the first duration is the time length from the moment when the first terminal in the target terminal requests the data of the target service to the current moment; the first terminal is a terminal which first requests to acquire data of a target service in the target terminal;
The processing module is further configured to determine a communication mode between the network device and the target terminal according to the first number, the first duration, the terminal number threshold and the time threshold; the communication mode comprises at least one of unicast and broadcast;
the processing module is further configured to determine that the network device communicates with the target terminal in a unicast manner when the first duration is less than or equal to the time threshold and the first number is less than the terminal number threshold;
the processing module is further configured to determine that the network device communicates with the target terminal in a unicast and broadcast manner when the first duration is less than or equal to the time threshold and the first number is greater than or equal to the terminal number threshold;
the processing module is further configured to update the first number according to the first number and the terminal number threshold when the first time period is greater than the time threshold, and determine that the network device communicates with the target terminal in a unicast manner; or, re-determining the first number according to the first number and the terminal number threshold;
The receiving and transmitting module is further configured to send the communication manner to the network device, so that the network device and the target terminal communicate in the communication manner;
updating the first quantity according to the first quantity and the terminal quantity threshold value under the condition that the first time length is larger than the time threshold value, and determining that the network equipment and the target terminal communicate in a unicast mode; or, re-determining the first number according to the first number and the terminal number threshold value, including:
deleting the first terminal to update the first number if the first number is less than or equal to the terminal number threshold; determining that the network equipment and the target terminals in the updated first quantity transmit the data of the target service in the unicast mode; the method comprises the steps of,
re-determining the first number if the first number is greater than the terminal number threshold;
the operation of determining that the network device communicates with the target terminal in the unicast and broadcast modes when the first duration is less than or equal to the time threshold and the first number is greater than or equal to the terminal number threshold includes:
Determining the data of the target service received by the first terminal under the condition that the first number is equal to the terminal number threshold value, so as to obtain a first byte; and determining the data of the target service which is received by the target terminal except the first terminal in the first quantity to obtain a second byte; updating the first byte to be 1 plus the first byte, and determining that the network equipment and the target terminals in the first quantity start transmitting the data of the target service from the updated first byte in the broadcasting mode; and determining a difference value between the second byte and the first byte in the data of the target service transmitted by the target terminal except the first terminal in the unicast mode in the network equipment and the first quantity; the method comprises the steps of,
and under the condition that the first number is larger than the terminal number threshold, determining that the network equipment and the target terminal at the current moment start transmitting the data of the target service in the broadcasting mode, and determining that the network equipment and the target terminal at the current moment transmit the missing data of the target service in the unicast mode.
5. A server, comprising: a processor, transceiver, communication lines, and memory; the memory is used for storing computer execution instructions, and the processor is connected with the memory through the communication line;
when the server is running, the processor executes the computer-executable instructions stored in the memory to cause the server to perform the communication method of any one of claims 1-3.
6. A computer readable storage medium storing computer instructions or a program which, when run on a computer, cause the computer to perform the communication method according to any one of claims 1-3.
CN202011383886.4A 2020-11-30 2020-11-30 Communication method Active CN112566184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011383886.4A CN112566184B (en) 2020-11-30 2020-11-30 Communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011383886.4A CN112566184B (en) 2020-11-30 2020-11-30 Communication method

Publications (2)

Publication Number Publication Date
CN112566184A CN112566184A (en) 2021-03-26
CN112566184B true CN112566184B (en) 2023-10-03

Family

ID=75045927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011383886.4A Active CN112566184B (en) 2020-11-30 2020-11-30 Communication method

Country Status (1)

Country Link
CN (1) CN112566184B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141397A (en) * 2007-10-12 2008-03-12 中兴通讯股份有限公司 Single broadcast to multicast switching method
CN103202040A (en) * 2010-11-08 2013-07-10 日本电气株式会社 Communication system for providing MBMS service via unicast or broadcast/multicast
EP3051769A1 (en) * 2015-01-27 2016-08-03 Alcatel Lucent Dynamic switching to broadcast transmission of multimedia content over a mobile communication network
CN111078944A (en) * 2018-10-18 2020-04-28 中国电信股份有限公司 Video content heat prediction method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141397A (en) * 2007-10-12 2008-03-12 中兴通讯股份有限公司 Single broadcast to multicast switching method
CN103202040A (en) * 2010-11-08 2013-07-10 日本电气株式会社 Communication system for providing MBMS service via unicast or broadcast/multicast
EP3051769A1 (en) * 2015-01-27 2016-08-03 Alcatel Lucent Dynamic switching to broadcast transmission of multimedia content over a mobile communication network
CN111078944A (en) * 2018-10-18 2020-04-28 中国电信股份有限公司 Video content heat prediction method and device

Also Published As

Publication number Publication date
CN112566184A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
US20200205115A1 (en) Wireless positioning method and system using the same
CN107087033B (en) Message pushing method and device, storage medium and computer equipment
CN104869526B (en) A kind of communication of device-to-device and its resource allocation methods, equipment
US11825507B2 (en) Apparatus and method for performing vehicle to everything communication
CN108650667B (en) Terminal scheduling method and device
US20140010140A1 (en) Group media access control message for machine-to-machine devices and method to update a group identifier
CN103650371A (en) Resource scheduling for machine-to-machine devices
JP2002132613A (en) Download method, user terminal for executing the download method, and distributing server
CN104809589A (en) Order processing method and device
US20210243727A1 (en) Configuration parameter update method and apparatus
WO2017059731A1 (en) Paging processing method and device
JP2021516908A (en) Communication method and communication device
CN110289928A (en) Emergency public broadcasting method and system under 5G network
CN111641702A (en) Heartbeat message management method and device
CN103731281A (en) Frequency channel processing method and device
EP3591528A1 (en) Broadcast queue adjustment method and apparatus, and terminal device
Peng et al. Multi-task oriented data diffusion and transmission paradigm in crowdsensing based on city public traffic
CN112566184B (en) Communication method
CN103914335A (en) Invoking method, equipment and system for background service
CN112714146B (en) Resource scheduling method, device, equipment and computer readable storage medium
CN103828431B (en) Change the M2M group of machine to machine (M2M) device
CN104902568A (en) Wireless network resource sharing method and electronic equipment
CN113766488A (en) Data transmission method and electronic equipment
WO2017103680A1 (en) Method and apparatus for realizing mtc group message delivery
CN113115479A (en) Communication method, communication apparatus, and storage medium

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