CN114666916B - Method, relay terminal, device and system for requesting uplink resource - Google Patents

Method, relay terminal, device and system for requesting uplink resource Download PDF

Info

Publication number
CN114666916B
CN114666916B CN202210576759.9A CN202210576759A CN114666916B CN 114666916 B CN114666916 B CN 114666916B CN 202210576759 A CN202210576759 A CN 202210576759A CN 114666916 B CN114666916 B CN 114666916B
Authority
CN
China
Prior art keywords
uplink data
uplink
data
relay terminal
sending
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
CN202210576759.9A
Other languages
Chinese (zh)
Other versions
CN114666916A (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.)
Guangdong Ocean University
Original Assignee
Guangdong Ocean University
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 Guangdong Ocean University filed Critical Guangdong Ocean University
Priority to CN202210576759.9A priority Critical patent/CN114666916B/en
Publication of CN114666916A publication Critical patent/CN114666916A/en
Application granted granted Critical
Publication of CN114666916B publication Critical patent/CN114666916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • H04W72/569Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1263Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
    • H04W72/1268Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows of uplink data flows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/21Control channels or signalling for resource management in the uplink direction of a wireless link, i.e. towards the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/535Allocation or scheduling criteria for wireless resources based on resource usage policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user

Abstract

The embodiment of the application provides a method for requesting uplink resources, a relay terminal, a device, computer equipment and a system. According to the technical scheme, the relay terminal is connected with the intelligent home devices, when a large number of intelligent home devices run simultaneously, scheduling tasks of a data plane can be reduced, the load of a communication network is reduced, the communication quality is improved, whether uplink resources are immediately requested to be sent or not is judged for uplink data of different intelligent home devices, a specific service can be sent immediately, delay of sending of the specific service is avoided, and unnecessary risks are avoided.

Description

Method, relay terminal, device and system for requesting uplink resource
Technical Field
The embodiment of the application relates to the field of communication, in particular to a method for requesting uplink resources, and a related relay terminal, a device, computer equipment and a system.
Background
With the development and progress of the technology, the types of smart home devices are increasing, and the applications of the home smart home devices are also more and more common, for example, the smart home devices include a television, a conference terminal, a projector, a refrigerator, a washing machine, a monitoring device, and the like.
At present, many smart home devices have network connection and management functions, for example, the smart home devices are in communication connection with servers of respective manufacturers or servers of service providers through wired and/or wireless communication networks, and report various operation statistical data, operation faults and the like to the servers of the manufacturers or the servers of the service providers. Meanwhile, the server can also perform software upgrading and other operations on the intelligent household equipment.
However, in the prior art, when a large number of smart home devices operate simultaneously, each time the smart home devices transmit uplink data, uplink resources need to be continuously requested for transmitting the uplink data, which increases the load of a communication network, increases the scheduling task of a data plane, and causes a decrease in communication quality.
Disclosure of Invention
Embodiments of the present application provide a method for requesting uplink resources, and a related relay terminal, apparatus, computer device, and system, which overcome the above problems or at least partially solve the above problems.
In a first aspect of the present application, a method for requesting uplink resources is provided, including: the method comprises the steps that a relay terminal broadcasts a discovery signal used for establishing communication connection with intelligent household equipment; the relay terminal receives a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the intelligent home equipment detects a discovery signal; the relay terminal establishes communication connection with the intelligent household equipment according to the connection request; the relay terminal receives uplink data sent by the intelligent home equipment through communication connection; when the relay terminal determines that the transmission delay required by the uplink data is less than or equal to a preset transmission delay value, determining whether another uplink data is currently sent, wherein the service types of the another uplink data and the uplink data are the same and are both sent by the intelligent home equipment; if the relay terminal is currently sending another uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by another uplink data; if the transmission delay required by the uplink data is less than the transmission delay required by the other uplink data, the relay terminal suspends the transmission of the other uplink data, utilizes the remaining uplink resource for transmitting the other uplink data to transmit the uplink data, and requests the base station for transmitting the uplink resource required by the remaining unsent part of the uplink data when the remaining uplink resource is not enough to transmit all the uplink data; if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data, the relay terminal continues to send the other uplink data, and after the other uplink data is sent, when the uplink resource for sending the other uplink data is determined to be left, the remaining uplink resource is used for sending the uplink data, and when the remaining uplink resource is not enough for sending all the uplink data, the relay terminal requests the base station to transmit the uplink resource required by the left unsent part of the uplink data; when determining that the uplink resource for sending the other uplink data is not left, immediately requesting the base station for transmitting the uplink resource required by the uplink data; and if the relay terminal does not send another uplink data currently, immediately requesting uplink resources required for transmitting the uplink data from the base station.
In some possible implementation manners, the relay terminal sends a request message to the base station, where the request message is used to request the base station for transmitting uplink resources required by uplink data, the request message includes a channel identifier of a second type data channel and uplink resource information, the channel identifier of the second type data channel is used to indicate one second type data channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by uplink data transmission.
In some possible implementation manners, for a plurality of uplink data of the same service type of the intelligent home equipment, the relay terminal receives the plurality of uplink data sent by the intelligent home equipment through the same first type data channel; for a plurality of uplink data of different service types of the intelligent home equipment, the relay terminal receives the plurality of uplink data which are respectively sent by the intelligent home equipment through different first-type data channels.
In a second aspect of the present application, there is provided a relay terminal, including: the intelligent home equipment comprises a broadcasting module, a receiving module, a connecting module, a determining module and a sending module, wherein the broadcasting module is used for broadcasting a discovery signal for establishing communication connection with the intelligent home equipment; the receiving module is used for receiving a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the intelligent home equipment detects the discovery signal; the connection module is used for establishing communication connection with the intelligent household equipment according to the connection request; the receiving module is also used for receiving uplink data sent by the intelligent household equipment through communication connection; the determining module is used for determining whether the uplink data meets a preset condition that the uplink resource is required to be requested immediately; the sending module is used for requesting the base station for transmitting the uplink resource required by the uplink data when the determining module determines that the uplink data meets the preset condition that the uplink resource is required to be requested immediately;
the condition that the uplink data meets the preset requirement and immediately requests the uplink resource comprises the following steps: the transmission delay required by the uplink data is less than or equal to a preset transmission delay value;
the determining module is further used for determining whether the sending module is currently sending another uplink data before the sending module requests the base station for the uplink resource needed by the transmission of the uplink data, wherein the other uplink data and the uplink data have the same service type and are both sent by the intelligent home equipment; if the sending module is currently sending another uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by another uplink data;
the sending module is further configured to suspend sending another uplink data if the transmission delay required by the uplink data is less than the transmission delay required by another uplink data, send the uplink data by using the remaining uplink resource for sending the another uplink data, and request the base station for transmitting the uplink resource required by the remaining unsent portion of the uplink data when the remaining uplink resource is not enough to send all the uplink data; if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data, continuously sending the other uplink data, after the other uplink data is sent, when the determining module determines that the uplink resource for sending the other uplink data is left, sending the uplink data by using the left uplink resource, and when the left uplink resource is not enough to send all the uplink data, requesting the base station to transmit the uplink resource required by the left unsent part of the uplink data; when the determining module determines that the uplink resource for transmitting the other uplink data is not left, the determining module immediately requests the base station for transmitting the uplink resource required by the uplink data; and if no other uplink data is sent currently, immediately requesting uplink resources required for transmitting the uplink data from the base station.
In a third aspect of the present application, an apparatus for requesting uplink resources is provided, including: the intelligent household equipment comprises a transmitter, a receiver, a communication interface and a processor, wherein the transmitter is used for broadcasting a discovery signal for establishing communication connection with the intelligent household equipment; the receiver is used for receiving a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the intelligent home equipment detects the discovery signal; the communication interface is used for establishing communication connection with the intelligent household equipment according to the connection request; the receiver is also used for receiving uplink data sent by the intelligent household equipment through communication connection; the processor is used for determining whether the uplink data meets a preset condition that the uplink resource is required to be requested immediately; the transmitter is also used for requesting the base station for transmitting the uplink resource required by the uplink data when the processor determines that the uplink data meets the preset condition that the uplink resource is required to be requested immediately;
the condition that the uplink data meets the preset requirement and immediately requests the uplink resource comprises the following steps: the transmission delay required by the uplink data is less than or equal to a preset transmission delay value;
the processor is further used for determining whether the transmitter is currently transmitting another uplink data before the transmitter requests the base station for transmitting the uplink resource required by the uplink data, wherein the other uplink data and the uplink data have the same service type and are both transmitted by the intelligent home equipment; if the transmitter is currently transmitting another uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by another uplink data;
the transmitter is further used for suspending sending another uplink data if the transmission delay required by the uplink data is less than the transmission delay required by another uplink data, sending the uplink data by using the remaining uplink resource for sending another uplink data, and requesting the base station to transmit the uplink resource required by the remaining unsent part of the uplink data when the remaining uplink resource is not enough to send all the uplink data; if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data, continuously sending the other uplink data, after the other uplink data is sent, when the processor determines that the uplink resource for sending the other uplink data is left, sending the uplink data by using the left uplink resource, and when the left uplink resource is not enough to send all the uplink data, requesting the base station to transmit the uplink resource required by the left unsent part of the uplink data; when the processor determines that the uplink resource for sending the other uplink data is not left, the processor immediately requests the base station for transmitting the uplink resource required by the uplink data; and if no other uplink data is sent currently, immediately requesting uplink resources required for transmitting the uplink data from the base station.
In a fourth aspect of the present application, a method for requesting uplink resources is provided, including: the method comprises the steps that a relay terminal broadcasts a discovery signal used for establishing communication connection with intelligent household equipment; the relay terminal receives a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the intelligent home equipment detects a discovery signal; the relay terminal establishes communication connection with the intelligent household equipment according to the connection request; the relay terminal receives uplink data sent by the intelligent home equipment through communication connection; when the relay terminal determines that the transmission priority of the uplink data is greater than or equal to a preset transmission priority, determining whether another uplink data is currently sent, wherein the service types of the another uplink data and the uplink data are the same and are both sent by the intelligent home equipment; if the relay terminal is currently sending another uplink data, judging whether the transmission priority of the uplink data is greater than that of the other uplink data; if the transmission priority of the uplink data is higher than that of the other uplink data, the relay terminal suspends sending the other uplink data, utilizes the remaining uplink resources for sending the other uplink data to send the uplink data, and requests the base station to transmit the uplink resources required by the remaining unsent part of the uplink data when the remaining uplink resources are not enough to send all the uplink data; if the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, the relay terminal continues to send the other uplink data, and after the other uplink data is sent, when the uplink resource for sending the other uplink data is determined to be remained, the remained uplink resource is used for sending the uplink data, and when the remained uplink resource is not enough for sending all the uplink data, the relay terminal requests the base station to transmit the uplink resource required by the remained part which is not sent of the uplink data; when determining that the uplink resource for sending the other uplink data is not left, immediately requesting the base station for transmitting the uplink resource required by the uplink data; and if the relay terminal does not send another uplink data currently, immediately requesting uplink resources required for transmitting the uplink data from the base station.
In a fifth aspect of the present application, a relay terminal is provided, including: the intelligent home equipment comprises a broadcasting module, a receiving module, a connecting module, a determining module and a sending module, wherein the broadcasting module is used for broadcasting a discovery signal for establishing communication connection with the intelligent home equipment; the receiving module is used for receiving a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the intelligent home equipment detects the discovery signal; the connection module is used for establishing communication connection with the intelligent household equipment according to the connection request; the receiving module is also used for receiving uplink data sent by the intelligent household equipment through communication connection; the determining module is used for determining whether the uplink data meets a preset condition that the uplink resource is required to be requested immediately; the sending module is used for requesting the base station for transmitting the uplink resource required by the uplink data when the determining module determines that the uplink data meets the preset condition that the uplink resource is required to be requested immediately;
the condition that the uplink data meets the preset requirement and immediately requests the uplink resource comprises the following steps: the transmission priority of the uplink data is greater than or equal to the preset transmission priority;
the determining module is further used for determining whether the sending module is currently sending another uplink data before the sending module requests the base station for the uplink resource needed by the transmission of the uplink data, wherein the other uplink data and the uplink data have the same service type and are both sent by the intelligent home equipment; if the sending module is currently sending another uplink data, judging whether the transmission priority of the uplink data is greater than that of the other uplink data;
the sending module is further used for suspending sending another uplink data if the transmission priority of the uplink data is greater than that of another uplink data, sending the uplink data by using the remaining uplink resource for sending another uplink data, and requesting the base station to transmit the uplink resource required by the remaining unsent part of the uplink data when the remaining uplink resource is not enough to send all the uplink data; if the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, continuously sending the other uplink data, after the other uplink data is sent, utilizing the remaining uplink resources to send the uplink data when the determining module determines that the remaining uplink resources exist, and requesting the base station to transmit the uplink resources required by the remaining unsent part of the uplink data when the remaining uplink resources are not enough to send all the uplink data; when the determining module determines that no uplink resource remains, the determining module immediately requests the base station for transmitting the uplink resource required by the uplink data; and if the sending module does not send another uplink data currently, immediately requesting uplink resources required for transmitting the uplink data from the base station.
In a sixth aspect of the present application, an apparatus for requesting uplink resources is provided, including: the intelligent household equipment comprises a transmitter, a receiver, a communication interface and a processor, wherein the transmitter is used for broadcasting a discovery signal for establishing communication connection with the intelligent household equipment; the receiver is used for receiving a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the intelligent home equipment detects the discovery signal; the communication interface is used for establishing communication connection with the intelligent household equipment according to the connection request; the receiver is also used for receiving uplink data sent by the intelligent household equipment through communication connection; the processor is used for determining whether the uplink data meets a preset condition that the uplink resource is required to be requested immediately; the transmitter is also used for requesting the base station for transmitting the uplink resource required by the uplink data when the processor determines that the uplink data meets the preset condition that the uplink resource is required to be requested immediately;
the condition that the uplink data meets the preset requirement and immediately requests the uplink resource comprises the following steps: the transmission priority of the uplink data is greater than or equal to the preset transmission priority;
the processor is further used for determining whether the transmitter is currently transmitting another uplink data before the transmitter requests the base station for transmitting the uplink resource required by the uplink data, wherein the other uplink data and the uplink data have the same service type and are both transmitted by the intelligent home equipment; if the transmitter is currently transmitting another uplink data, judging whether the transmission priority of the uplink data is greater than that of the other uplink data;
the transmitter is further used for suspending sending another uplink data if the transmission priority of the uplink data is greater than that of another uplink data, sending the uplink data by using the remaining uplink resources for sending another uplink data, and requesting the base station to transmit the uplink resources required by the remaining unsent part of the uplink data when the remaining uplink resources are not enough to send all the uplink data; if the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, continuously sending the other uplink data, after the other uplink data is sent, when the processor determines that the uplink resource for sending the other uplink data is remained, sending the uplink data by using the remained uplink resource, and when the remained uplink resource is not enough to send all the uplink data, requesting the base station to transmit the remained uplink resource required by the unsent part of the uplink data; when the processor determines that the uplink resource for sending the other uplink data is not left, the processor immediately requests the base station for transmitting the uplink resource required by the uplink data; and if the transmitter does not send other uplink data currently, immediately requesting uplink resources required for transmitting the uplink data from the base station.
A seventh aspect of the present application provides a method for requesting uplink resources, including: the method comprises the steps that a relay terminal broadcasts a discovery signal used for establishing communication connection with intelligent household equipment; the relay terminal receives a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the intelligent home equipment detects a discovery signal; the relay terminal establishes communication connection with the intelligent household equipment according to the connection request; the relay terminal receives uplink data sent by the intelligent home equipment through communication connection; when the relay terminal determines that the service type of the uplink data belongs to the service type which is appointed to require the uplink resource immediately, determining whether another uplink data is sent currently, wherein the service types of the another uplink data and the uplink data are the same, belong to the service type which is appointed to require the uplink resource immediately, and are all sent by the intelligent home equipment; if the relay terminal is currently sending another uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by the other uplink data or judging whether the transmission priority of the uplink data is larger than the transmission priority of the other uplink data; if the transmission delay required by the uplink data is less than the transmission delay required by the other uplink data or the transmission priority of the uplink data is greater than the transmission priority of the other uplink data, the relay terminal suspends the transmission of the other uplink data, transmits the uplink data by using the remaining uplink resources for transmitting the other uplink data, and requests the base station for transmitting the remaining uplink resources required by the unsent part of the uplink data when the remaining uplink resources are not enough for transmitting all uplink data; if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data or the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, the relay terminal continues to send the other uplink data, and after the other uplink data is sent, when the uplink resource for sending the other uplink data is determined to be left, the remaining uplink resource is used for sending the uplink data, and when the remaining uplink resource is not enough for sending all uplink data, the relay terminal requests the base station to transmit the uplink resource required by the left unsent part of the uplink data; when determining that the uplink resource for sending the other uplink data is not left, immediately requesting the base station for transmitting the uplink resource required by the uplink data; and if the relay terminal does not send another uplink data currently, immediately requesting uplink resources required for transmitting the uplink data from the base station.
In some possible implementation manners, the relay terminal stores a list of service types which need to request uplink resources immediately; the step of determining, by the relay terminal, that the service type of the uplink data belongs to a service type which is specified to require immediate request for uplink resources specifically includes: the relay terminal determines that the service type of the uplink data belongs to the service type included in the list of the service types which need to request the uplink resource immediately.
In an eighth aspect of the present application, there is provided a relay terminal, including: the intelligent home equipment comprises a broadcasting module, a receiving module, a connecting module, a determining module and a sending module, wherein the broadcasting module is used for broadcasting a discovery signal for establishing communication connection with the intelligent home equipment; the receiving module is used for receiving a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the intelligent home equipment detects the discovery signal; the connection module is used for establishing communication connection with the intelligent household equipment according to the connection request; the receiving module is also used for receiving uplink data sent by the intelligent household equipment through communication connection; the determining module is used for determining whether the uplink data meets a preset condition that the uplink resource is required to be requested immediately; the sending module is used for requesting the base station for transmitting the uplink resource required by the uplink data when the determining module determines that the uplink data meets the preset condition that the uplink resource is required to be requested immediately;
the condition that the uplink data meets the preset requirement and immediately requests the uplink resource comprises the following steps: the service type of the uplink data belongs to a service type which is appointed to require an uplink resource immediately;
the determining module is further used for determining whether the sending module is currently sending another uplink data before the sending module requests the base station for the uplink resource needed by the uplink data, wherein the service types of the another uplink data and the uplink data are the same and both belong to the specified service type needing to request the uplink resource immediately, and both the another uplink data and the uplink data are sent by the intelligent home equipment; if the sending module is currently sending another uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by the other uplink data or judging whether the transmission priority of the uplink data is larger than the transmission priority of the other uplink data;
the sending module is further configured to suspend sending of another uplink data if the transmission delay required by the uplink data is less than the transmission delay required by another uplink data or the transmission priority of the uplink data is greater than the transmission priority of another uplink data, send the uplink data by using the remaining uplink resource for sending another uplink data, and request the base station for transmitting the remaining uplink resource required by the unsent portion of the uplink data when the remaining uplink resource is insufficient for sending all uplink data; if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data or the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, continuing to send the other uplink data, after the other uplink data is sent, utilizing the remaining uplink resources to send the uplink data when the determining module determines that the uplink resources for sending the other uplink data are still left, and requesting the base station to transmit the uplink resources required by the remaining unsent part of the uplink data when the remaining uplink resources are not enough to send all uplink data; when the determining module determines that the uplink resource for transmitting the other uplink data is not left, the determining module immediately requests the base station for transmitting the uplink resource required by the uplink data; and if no other uplink data is sent currently, immediately requesting uplink resources required for transmitting the uplink data from the base station.
In a ninth aspect of the present application, an apparatus for requesting uplink resources is provided, including: the intelligent household equipment comprises a transmitter, a receiver, a communication interface and a processor, wherein the transmitter is used for broadcasting a discovery signal for establishing communication connection with the intelligent household equipment; the receiver is used for receiving a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the intelligent home equipment detects the discovery signal; the communication interface is used for establishing communication connection with the intelligent household equipment according to the connection request; the receiver is also used for receiving uplink data sent by the intelligent household equipment through communication connection; the processor is used for determining whether the uplink data meets a preset condition that the uplink resource is required to be requested immediately; the transmitter is also used for requesting the base station for transmitting the uplink resource required by the uplink data when the processor determines that the uplink data meets the preset condition that the uplink resource is required to be requested immediately;
the condition that the uplink data meets the preset requirement and immediately requests the uplink resource comprises the following steps: the service type of the uplink data belongs to a service type which is appointed to require an uplink resource immediately;
the processor is further used for determining whether the transmitter is currently transmitting another uplink data before the transmitter requests the base station for transmitting the uplink resource required by the uplink data, wherein the other uplink data and the uplink data have the same service type and belong to the specified service type needing to request the uplink resource immediately, and are both transmitted by the intelligent home equipment; if the transmitter is currently transmitting another uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by the other uplink data or judging whether the transmission priority of the uplink data is larger than the transmission priority of the other uplink data;
the transmitter is further used for suspending sending of the other uplink data if the transmission delay required by the uplink data is less than the transmission delay required by the other uplink data or the transmission priority of the uplink data is greater than the transmission priority of the other uplink data, sending the uplink data by using the remaining uplink resources for sending the other uplink data, and requesting the base station to transmit the remaining uplink resources required by the unsent part of the uplink data when the remaining uplink resources are not enough to send all the uplink data; if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data or the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, continuing to send the other uplink data, and after the other uplink data is sent, when the processor determines that the uplink resource for sending the other uplink data is remained, sending the uplink data by using the remained uplink resource, and when the remained uplink resource is not enough to send all uplink data, requesting the base station to transmit the uplink resource required by the remained part which is not sent of the uplink data; when the processor determines that the uplink resource for sending the other uplink data is not left, the processor immediately requests the base station for transmitting the uplink resource required by the uplink data; and if no other uplink data is sent currently, immediately requesting uplink resources required for transmitting the uplink data from the base station.
In a tenth aspect of the present application, a smart home device system is provided, including: the intelligent home equipment is used for sending a connection request when a discovery signal is detected.
In an eleventh aspect of the present application, a computer device is provided, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method for requesting uplink resources when executing the computer program.
In a twelfth aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored, and the computer program, when being executed by a processor, implements the steps of the method for requesting uplink resources described above.
In summary, the relay terminal is arranged between the base station and the plurality of smart home devices, and the relay terminal forwards data, so that when a large number of smart home devices operate simultaneously, scheduling tasks of a data plane can be reduced, a load of a communication network can be reduced, communication quality can be improved, uplink data of different smart home devices can be judged whether to immediately request uplink resources for transmission, a conflicted or specific service can be immediately transmitted, a conflicted or specific service transmission delay can be avoided, and unnecessary risks can be avoided.
The foregoing description is only an overview of the technical solutions of the embodiments of the present application, and the embodiments of the present application can be implemented according to the content of the description in order to make the technical means of the embodiments of the present application more clearly understood, and the detailed description of the present application is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present application more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for requesting uplink resources according to an embodiment of the present application.
Fig. 2 is a schematic diagram of data channel connections among a base station, a relay terminal, and smart home devices in some embodiments of the present application.
Fig. 3 is a flowchart illustrating another method for requesting uplink resources according to another embodiment of the present application.
Fig. 4 is a flowchart illustrating another method for requesting uplink resources according to another embodiment of the present application.
Fig. 5 is a schematic structural diagram of a relay terminal in some embodiments of the present application.
Fig. 6 is a schematic structural diagram of an apparatus for requesting uplink resource according to another embodiment of the present application.
Fig. 7 is a schematic structural diagram of an intelligent home device system in some embodiments of the present application.
FIG. 8 is a schematic diagram of a computer device according to some embodiments of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the description and claims of this application and the description of the figures are intended to cover non-exclusive inclusions.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase "an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Furthermore, the terms "first," "second," and the like in the description and claims of the present application or in the above-described drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential order, and may explicitly or implicitly include one or more of the features.
In the description of the present application, it should be noted that, unless explicitly stated or limited otherwise, the terms "connected," "connected," or "communicatively connected" should be construed broadly, for example, "connected," "connected," or "communicatively connected" may mean not only a physical connection, but also an electrical connection or a signal connection, for example, a direct connection, i.e., a physical connection, or an indirect connection via at least one element therebetween, as long as a circuit is connected or a communication is established between two elements; signal connection may refer to signal connection through a medium, such as radio waves, in addition to signal connection through circuitry. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: there are three cases of A, A and B, and B. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In the description of the present application, unless otherwise specified, "plurality" and "at least two" mean two or more (including two), and similarly, "plural groups" and "at least two groups" mean two or more (including two).
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for requesting uplink resources according to some embodiments of the present application, where the method for requesting uplink resources may be described as follows.
Step S101, the relay terminal broadcasts a discovery signal for establishing communication connection with the intelligent household equipment.
The smart home device (Remote UE) may be a Remote terminal, such as a dispenser, a doorbell, a refrigerator, a washing machine, a sound box, an air conditioner, a television, a disinfection cabinet, and other devices used in a home or office. A Relay terminal (Relay UE) uses a Relay technology to forward data between a base station and an intelligent home device, and one end of the Relay terminal is connected to the intelligent home device based on a wired interface or a wireless interface, for example, connected to the intelligent home device based on a pc5 interface, bluetooth or WIFI. The other end of the relay terminal is connected to a base station of the communication network based on a wireless interface (e.g., uu interface), and the relay terminal may be connected to an intelligent home device group, where the intelligent home device group may include one or more than two intelligent home devices.
The relay terminal may be a relay device that is set separately, or may also be a terminal device that is installed with a corresponding Application (APP), for example, a computer, a smartphone, a tablet computer, and the like.
In practical application, a user inputs a connection command for establishing connection with the smart home devices through a computer or a mobile phone terminal connected with the relay terminal or directly on the relay terminal, and the relay terminal broadcasts a discovery signal after receiving the connection command, so that the smart home devices receiving the discovery signal send a connection request to the relay terminal. Illustratively, the relay terminal may broadcast the discovery signal over the pc5 interface.
Step S102, the intelligent household equipment sends a connection request to the relay terminal after detecting the discovery signal.
For example, after the intelligent terminal device is powered on, whether a discovery signal broadcasted by the relay terminal exists at present is detected, and after the discovery signal broadcasted by the relay terminal is detected, a connection request is sent to the relay terminal so as to establish connection with the relay terminal. Illustratively, the smart home device may request to establish a connection with the relay terminal through a pc5 interface message.
And step S103, the relay terminal establishes communication connection with the intelligent household equipment according to the connection request.
For example, the relay terminal establishes connection with the smart home device according to the received connection request. Each relay terminal can establish communication connection with a group of intelligent household equipment, wherein the group of intelligent household equipment comprises one or more than two intelligent household equipment.
And step S104, the relay terminal receives uplink data sent by the intelligent household equipment through communication connection.
The upstream data may include any one of audio data, video data, image data, and text data. For example, when the smart home device is a doorbell, the uplink data received by the relay terminal may be image data; when the intelligent home equipment is an intelligent sound box, the uplink data received by the relay terminal can be audio data; when the intelligent household equipment is a television, the uplink data received by the relay terminal can be audio data, log text data and/or video data; when the intelligent home equipment is conference terminal equipment, the uplink data received by the relay terminal can be real-time interactive audio data and/or video data.
It should be noted that, in order to implement the data forwarding between the smart home devices and the base station by the relay terminal, the base station respectively establishes data channels between the relay terminal and the smart home devices and between the relay terminal and the base station, the data channels between the relay terminal and the smart home devices are collectively referred to as a first type of data channel, and the data channels between the relay terminal and the base station are collectively referred to as a second type of data channel, where the first type of data channel and the second type of data channel may both be used for transmitting uplink data and downlink data, and each data channel has a unique channel identifier. For example, a plurality of first-type data channels may be set between the relay terminal and each smart home device, and are respectively used for transmitting data of different Service types, and optionally, 2, 4, or 8 first-type data channels may be set between the relay terminal and each smart home device, where the Service types may be distinguished by Quality of Service (QoS) of the data, the data of different Service types correspond to different QoS, and the data of the same Service type corresponds to the same QoS. That is, in this embodiment, whether the service types are the same is determined according to whether the QoS of the service data is the same, if the QoS of the two service data is the same, the service types are determined to be the same, and if the QoS of the two service data is different, the service types are determined to be different.
For example, the traffic type/QoS classification of the uplink data may be as shown in table 1 below.
TABLE 1
Figure DEST_PATH_IMAGE002_15A
In table 1, CS and PS respectively indicate a Circuit Switched (CS) domain and a Packet Switched (PS) domain, and packets of all service types set QoS levels according to QoS attributes of services to which the packets belong. Because the signaling is special, its importance is greater than other data, and the data throughput of the signaling is low, the QoS level of the signaling data is set to be the highest in table 1, and other QoS types such as conversational, streaming, interactive, and background are also assigned different QoS levels according to their requirements for quality of service.
A plurality of second-class data channels may be set between the relay terminal and the base station, the number of the second-class data channels may be determined according to the number of the first-class data channels between the relay terminal and all the intelligent home devices connected thereto, so that each first-class data channel may correspond to one second-class data channel, optionally, the first-class data channels correspond to the second-class data channels one to one, for example, 256 second-class data channels are set between the relay terminal and the base station.
For example, the base station establishes different first-class data channels for data of different service types of different smart home devices, and the number of the first-class data channels between the base station and all the smart home devices is determined according to the number of the smart home devices and the number of the data of different service types. Corresponding to each first-class data channel, the base station establishes a corresponding second-class data channel between the relay terminal and the base station, namely, the first-class data channel and the second-class data channel are in one-to-one correspondence.
Since the communication links of the relay terminal and different smart home devices are different, the data channels of the relay terminal and different smart home devices are necessarily different. Moreover, for a data channel between the relay terminal and the same smart home device, since different service type data require different QoS, the data channels required to be established by the different service type data are also different, and therefore, even if the same smart home device is used, the data of different service types also need to be established by different data channels, for example, the base station respectively establishes different data channels for Circuit Switched (CS) domain data and Packet Switched (PS) domain data of the same smart home device.
Optionally, for multiple data with the same QoS of the same smart home device, the base station may establish a data channel, that is, for multiple data with the same QoS of the same smart home device, the base station establishes the same data channel for the multiple data with the same QoS between the relay terminal and the smart home device, and the multiple data with the same QoS may be transmitted through the data channel.
For example, as shown in fig. 2, a schematic diagram of data channel connection among a base station, a relay terminal, and smart home devices in some embodiments of the present application is shown, and a first smart home device 31A and a second smart home device 31B are taken as an example for description.
The first smart home device 31A needs to transmit first data and second data with different QoS, for example, the first data is CS domain data, the second data is PS domain data, the first data or the second data may be uplink data or downlink data, the base station 33 establishes a first data channel (whose channel identifier is: a first channel identifier a 11) and a second data channel (whose channel identifier is: a second channel identifier a 12) between the first smart home device 31A and the relay terminal 32 for the first data and the second data, where the first data channel is used for transmitting the first data, and the second data channel is used for transmitting the second data.
The second smart home device 31B needs to transmit third data and fourth data with different QoS, for example, the third data is CS domain data, the fourth data is PS domain data, the third data or the fourth data may be uplink data or downlink data, the base station 33 establishes a third data channel (whose channel identifier is a third channel identifier B11) and a fourth data channel (whose channel identifier is a fourth channel identifier B12) between the second smart home device 31B and the relay terminal 32 for the third data and the fourth data, the third data channel is used for transmitting the third data, and the fourth data channel is used for transmitting the fourth data. The first, second, third and fourth data channels are all first type data channels.
For transmitting the first, second, third and fourth data, the base station 33 establishes a fifth data channel (the channel identifier thereof is: fifth channel identifier a 21), a sixth data channel (the channel identifier thereof is: sixth channel identifier a 22), a seventh data channel (the channel identifier thereof is: seventh channel identifier B21) and an eighth data channel (the channel identifier thereof is: eighth channel identifier B22) between the base station 33 and the relay terminal 32, respectively, that is, the first data channel corresponds to the fifth data channel and is used for transmitting the first data; the second data channel corresponds to the sixth data channel and is used for transmitting second data; the third data channel corresponds to the seventh data channel and is used for transmitting third data; the fourth data channel corresponds to the eighth data channel and is used for transmitting fourth data. The fifth data channel, the sixth data channel, the seventh data channel and the eighth data channel are all second-class data channels.
When certain intelligent home equipment needs to send uplink data, the uplink data is sent to the relay terminal through the established data channel corresponding to the uplink data. The uplink data may be a plurality of data having the same QoS or a plurality of data having different QoS. When the uplink data is a plurality of data with the same QoS, the intelligent home equipment sends the plurality of data to the relay terminal through a data channel corresponding to the QoS. When the uplink data are a plurality of data with different QoS, the intelligent home equipment respectively sends the plurality of data to the relay terminal through the data channel corresponding to the QoS of each uplink data.
Step S105, the relay terminal determines whether the uplink data meets a preset condition that the uplink resource needs to be requested immediately, if so, step S106 is executed, otherwise, step S107 is executed.
The uplink resource is a resource required for the relay terminal to transmit uplink data to the base station, for example, for a 4G or 5G network, the uplink resource includes one of the following or any combination thereof: frequency point, frequency band, subcarrier spacing, power, format (modulation coding mode or code rate).
For example, the relay terminal may determine whether the uplink data meets a preset condition that the uplink resource needs to be requested immediately according to whether the transmission delay required by the uplink data is less than or equal to a preset transmission delay value. When the relay terminal determines that the transmission delay required by the uplink data is less than or equal to a preset transmission delay value, determining that the uplink data meets a preset condition that the uplink resource needs to be requested immediately, and when the transmission delay required by the uplink data is determined to be greater than the preset transmission delay value, determining that the uplink data does not meet the preset condition that the uplink resource needs to be requested immediately.
In another embodiment of the present application, the relay terminal may also determine whether a preset condition that requires immediate request of the uplink resource is satisfied according to whether the transmission priority of the uplink data is greater than or equal to the preset transmission priority, determine that the uplink data satisfies the preset condition that requires immediate request of the uplink resource when determining that the transmission priority of the uplink data is greater than or equal to the preset transmission priority, and determine that the uplink data does not satisfy the preset condition that requires immediate request of the uplink resource when determining that the transmission priority of the uplink data is less than the preset transmission priority.
In another embodiment of the present application, the relay terminal may also determine whether a preset condition that the uplink resource needs to be requested immediately is met according to whether the service type of the uplink data belongs to a service type that specifies that the uplink resource needs to be requested immediately.
For example, the base station sets a service type requiring immediate request of the uplink resource and sends the service type requiring immediate request of the uplink resource to the relay terminal, or sets a service type requiring immediate request of the uplink resource at the relay terminal through a terminal connected with the relay terminal, for example, sets a list of the service types requiring immediate request of the uplink resource, when the relay terminal determines that the service type of the uplink data belongs to the specified service type requiring immediate request of the uplink resource, it determines that the uplink data meets the preset condition requiring immediate request of the uplink resource, and when it determines that the service type of the uplink data does not belong to the specified service type requiring immediate request of the uplink resource, it determines that the uplink data does not meet the preset condition requiring immediate request of the uplink resource.
Step S106, the relay terminal immediately requests the base station for the uplink resource needed by the transmission of the uplink data.
When determining that the uplink data meets a preset condition that the uplink resource needs to be requested immediately, the relay terminal sends a request message for requesting to transmit the uplink resource of the uplink data to the base station, where the request message includes a channel identifier of the second type data channel and uplink resource information, and for example, the channel identifier and the uplink resource information of the second type data channel are carried by a packet header of the request message.
The channel identifier of the second type data channel is used for indicating a corresponding second type data channel, and the second type data channel is negotiated between the base station and the relay terminal and stored in the relay terminal, and the channel identifier of the second type data channel has a corresponding relation with the service type of the intelligent home equipment and the uplink data at the same time, namely the channel identifier of one second type data channel corresponds to the uplink data of one service type of the intelligent home equipment. In this embodiment, the channel identifier of the second type data channel carried in the request message corresponds to the uplink data requested to be transmitted.
And the uplink resource information is used for indicating the uplink resources required by the transmission of the uplink data.
Step S107, the relay terminal requests the uplink resource needed by the transmission of the uplink data based on other rules of requesting the uplink resource corresponding to the uplink data.
For example, the other rule for requesting uplink resources may be according to the time of receiving uplink data, the preset time for requesting uplink resources, or any other rule that does not require immediate request for uplink resources in an urgent manner.
And step S108, the base station allocates corresponding uplink resources and sends the uplink resources to the relay terminal.
For example, the base station negotiates with the relay terminal for resources corresponding to the uplink data, and sends the uplink resources to the relay terminal after receiving a request for requesting the uplink resources from the relay terminal.
For example, after receiving the request message, the base station allocates the uplink resource according to the channel identifier of the second type data channel and the uplink resource information included in the request message, and sends the uplink resource to the relay terminal, so that the relay terminal sends the uplink data through the uplink resource.
In summary, in the technical scheme of this embodiment, the relay terminal is connected to the multiple smart home devices, when a large number of smart home devices operate simultaneously, scheduling tasks of a data plane can be reduced, a load of a communication network is reduced, communication quality is improved, and whether uplink resources are immediately requested to be transmitted or not is determined for uplink data of different smart home devices, so that a specific service can be immediately transmitted, delay in transmission of the specific service is avoided, and unnecessary risks are avoided.
Fig. 3 is a flowchart illustrating another method for requesting uplink resources according to another embodiment of the present application, where the method for requesting uplink resources may be as follows.
Step S201, the relay terminal broadcasts a discovery signal for establishing communication connection with the intelligent household equipment.
Step S202, the intelligent household equipment sends a connection request to the relay terminal after detecting the discovery signal.
And step S203, the relay terminal establishes communication connection with the intelligent household equipment according to the connection request.
And step S204, the relay terminal receives uplink data sent by the intelligent household equipment through communication connection.
The specific implementation process of steps S201 to S204 in this embodiment is basically the same as steps S101 to S104 described in the above embodiment, and is not described herein again.
In step S205, the relay terminal determines whether the transmission delay of the uplink data is less than or equal to a preset transmission delay value, if the transmission delay of the uplink data is less than or equal to the preset transmission delay value, step S206 is executed, and if the transmission delay of the uplink data is greater than the preset transmission delay value, step S215 is executed.
The transmission delay required by the uplink data of different service types is different, for example, the transmission delay required by the conversational uplink data is smaller than the transmission delay required by the interactive uplink data, for example, the conversational uplink data is real-time service data of conversation voice, and the interactive uplink data is non-real-time data of an internet packet domain. In addition, even different uplink data of the same service type may require different transmission delays, for example, for conversational uplink data with the same QoS, the transmission delay required by the CS domain uplink data is smaller than the transmission delay required by the PS domain uplink data, for example, the transmission delay required by the PS domain voice uplink data is smaller than the transmission delay required by the PS domain real-time uplink data.
For example, the transmission delay setting of the uplink data may be as shown in table 2 below.
TABLE 2
Figure 646956DEST_PATH_IMAGE003
In table 2, CS and PS denote circuit switching and packet switching, respectively, and packets of all service types set a transmission delay according to QoS attributes (such as QoS type, domain, data type, transmission mode, etc.) of the service to which the packets belong. Since the signaling is special, its importance is greater than other data, and the data throughput of the signaling is low, the transmission delay of the signaling data is set to be minimum, i.e. the requirement is highest in table 2, and other QoS types such as conversational, streaming, interactive, and background also give different transmission delays according to their requirements on the quality of service. For data of the same QoS type, the Transparent Mode (TM) does not add any protocol overhead to an upper layer protocol, the anti-jamming capability is poor, so the transmission delay is small, the Unacknowledged Mode (UM) has no retransmission protocol, the transmission delay is small, and the Acknowledged Mode (AM) adopts automatic retransmission for error correction and has low requirement on the transmission delay, so the transmission delay is low. In short, according to specific service conditions, appropriate transmission delay values can be given to various types of data packets. After obtaining the table 2, when the relay terminal transmits a plurality of uplink data, the transmission priority may be determined according to the indicated transmission delay value.
The uplink data can carry transmission delay through the head of the uplink data, and the relay terminal can analyze the uplink data to obtain the transmission delay. In another embodiment of the present application, the base station may set transmission delays of different uplink data and send the transmission delays to the relay terminal, or the relay terminal device sets transmission delays of different uplink data, and when the relay terminal receives the uplink data, identifies a service type (e.g., QoS) or attribute information (e.g., a domain, a data type, a transmission mode, and the like) of the uplink data, and finds the set corresponding transmission delay.
In step S206, the relay terminal determines whether another uplink data is currently being transmitted, if the relay terminal determines that another uplink data is currently being transmitted, step S207 is performed, and if the relay terminal determines that another uplink data is not currently being transmitted, step S214 is performed.
The relay terminal respectively requests uplink resources for uplink data from different intelligent household devices or uplink data of different QoS of the same intelligent household device, so that the uplink resources can be staggered without conflict.
However, when the uplink data and the other uplink data have the same service type and are both sent by the same smart home device, because the same uplink resource and the same second type data channel are used, when the relay terminal receives the uplink data, another uplink data is being sent, and a collision exists. In order to save the request time and resources for requesting uplink resources and avoid collisions, the relay terminal needs to determine whether another uplink data is currently being transmitted.
For example, when the uplink data received by the relay terminal and sent by the smart home device is the first uplink data, another uplink data which is sending the smart home device is the second uplink data, where the service types of the first uplink data and the second uplink data are the same, that is, the QoS is the same, for example, the first uplink data is voice data of a session-based PS domain, and the second uplink data is real-time data of the session-based PS domain. For example, the first uplink data is voice alarm data of a session PS domain, and carries information of the voice alarm data, for example, the first uplink data is carried by a header, for example, when the temperature of some modules (e.g., chips or circuit boards) of the smart home device exceeds a predetermined value, the smart home device generates voice alarm data, and sets an emergency indication in the header of the voice alarm data, and the second uplink data is real-time data of the PS domain, for example, video data of a video conference call.
Step S207, the relay terminal determines whether the transmission delay required by the uplink data is less than the transmission delay required by another uplink data, if the transmission delay required by the uplink data is less than the transmission delay required by another uplink data, step S208 is executed, and if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by another uplink data, step S212 is executed.
For example, the transmission delay required for the first uplink data: d is more than or equal to 200 milliseconds (ms) and less than or equal to 300 milliseconds (ms), and the transmission delay required by the second uplink data is as follows: d is more than or equal to 300 milliseconds (ms) and less than or equal to 400 milliseconds (ms), and D is transmission delay.
In steps S208-209, the relay terminal suspends transmitting another uplink data, transmits the uplink data using the uplink resource remaining after transmitting the another uplink data, and then performs step S210.
For example, since the first uplink data and the second uplink data have the same service type and may use the same uplink resource and the same second type of data channel, but the transmission delay required by the first uplink data is smaller than the transmission delay required by the second uplink data, the relay terminal suspends the transmission of the second uplink data in order to send the first uplink data as soon as possible, for example, to alarm as soon as possible, and sends the first uplink data by using the remaining uplink resource for sending the second uplink data.
Step S210, the relay terminal judges whether the uplink data is completely sent, if the uplink data is completely sent, the process is finished, and the uplink resource of the uplink data does not need to be requested to be transmitted; if the uplink data is not completely transmitted, the uplink data still has a part of data, and step S211 is executed.
For example, when the uplink resource remaining after the second uplink data is sent is greater than or equal to the uplink resource required for sending the first uplink data, the relay terminal may send all the first uplink data to the base station by using the uplink resource remaining after the second uplink data is sent, and when the uplink resource remaining after the second uplink data is sent is smaller than the uplink resource required for sending the first uplink data, the relay terminal sends part of the first uplink data to the base station by using the uplink resource remaining after the second uplink data is sent, and part of the first uplink data still remains.
In step S211, the relay terminal requests the base station for transmitting uplink resources required for the remaining untransmitted portion of the uplink data, and then performs step S220.
For example, the relay terminal sends a request message to the base station, where the request message is used to request the base station to transmit uplink resources required by the remaining unsent portion of the uplink data, the request message carries uplink resource information indicating the required uplink resources, and the request message may or may not carry a channel identifier of the second type data channel.
In step S212, the relay terminal continues to transmit another uplink data, and then performs step S213.
For example, when the transmission delay required by the first uplink data is greater than the transmission delay required by the second uplink data, the second uplink data needs to be sent as soon as possible, and the relay terminal continues to send the second uplink data; when the transmission delay required by the first uplink data is equal to the transmission delay required by the second uplink data, the transmission requirements of the first uplink data and the second uplink data are the same, but the relay terminal is already transmitting the second uplink data, so the relay terminal continues to transmit the second uplink data according to the received time sequence.
Step S213, when the relay terminal finishes transmitting another uplink data, it determines whether there is a surplus uplink resource, if there is a surplus uplink resource, step S209 is executed, and if the uplink resource is already used up, step S214 is executed.
For example, when the relay terminal finishes transmitting the second uplink data, it is determined whether uplink resources remain after the relay terminal finishes transmitting the second uplink data.
In step S214, the relay terminal immediately requests the base station for uplink resources required for transmitting uplink data, and then performs step S220.
For a specific implementation manner of this step, reference may be made to step S106 in the foregoing embodiment, which is not described herein again.
Step S215, the relay terminal requests uplink resources required for transmitting the uplink data based on other uplink resource requesting rules corresponding to the uplink data.
For a specific implementation manner of this step, reference may be made to step S107 in the foregoing embodiment, which is not described herein again.
Step S220, the base station allocates corresponding uplink resources and sends the uplink resources to the relay terminal.
For a specific implementation manner of this step, reference may be made to step S108 in the foregoing embodiment, which is not described herein again.
Fig. 4 is a flowchart illustrating another method for requesting uplink resources according to another embodiment of the present application, where the method for requesting uplink resources may be as follows.
Step S301, the relay terminal broadcasts a discovery signal for establishing communication connection with the intelligent household equipment.
Step S302, the intelligent household equipment sends a connection request to the relay terminal after detecting the discovery signal.
And step S303, the relay terminal establishes communication connection with the intelligent household equipment according to the connection request.
And step S304, the relay terminal receives uplink data sent by the intelligent household equipment through communication connection.
The specific implementation process of steps S301 to S304 in this embodiment is basically the same as steps S101 to S104 described in the above embodiment, and is not described herein again.
In step S305, the relay terminal determines whether the transmission priority of the uplink data is greater than or equal to the preset transmission priority, if the transmission priority of the uplink data is greater than or equal to the preset transmission priority, step S306 is performed, and if the transmission priority of the uplink data is less than the preset transmission priority, step S315 is performed.
The uplink data of different service types require different transmission priorities, for example, the transmission priority required by the conversational uplink data is greater than the transmission priority required by the interactive uplink data, for example, the conversational uplink data is real-time service data of conversation voice, and the interactive uplink data is non-real-time data of an internet packet domain. In addition, even different uplink data of the same service type may require different transmission priorities, for example, for conversational uplink data with the same QoS, the transmission priority required by CS domain uplink data is greater than that required by PS domain uplink data, for example, the transmission priority required by PS domain voice uplink data is greater than that required by PS domain real-time uplink data.
For example, the transmission priority setting of the uplink data may be as shown in table 3 below.
TABLE 3
Figure 668001DEST_PATH_IMAGE004
In table 3, CS and PS respectively represent circuit switching and packet switching, and packets of all service types are assigned with a priority value according to QoS attributes (such as QoS type, domain, data type, and transmission mode) of the service to which the packets belong. Since the signaling is special, its importance is greater than other data, and the data throughput of the signaling is low, the transmission priority of the signaling data is set to be the highest in table 3, and other QoS types such as conversational, streaming, interactive, and background are also given different transmission priorities according to their requirements on quality of service. For data of the same QoS type, the Transparent Mode (TM) does not add any protocol overhead to the upper layer protocol, and the interference rejection is poor, so the priority is higher, the Unacknowledged Mode (UM) has no retransmission protocol, and the priority is next higher, while the Acknowledged Mode (AM) adopts automatic retransmission for error correction and has low requirement on transmission delay, so the priority is lower. In short, according to specific service conditions, appropriate transmission priority values can be given to various types of data packets. After obtaining the table 3, when the relay terminal performs several uplink data transmissions, the transmission priority of the transmission may be determined according to the priority value.
The uplink data can carry the transmission priority through the head of the uplink data, and the relay terminal can analyze the uplink data to obtain the transmission priority. In another embodiment of the present application, the base station may set transmission priorities of different uplink data and send the transmission priorities to the relay terminal, or the relay terminal device sets transmission priorities of different uplink data, and when the relay terminal receives the uplink data, identifies the type (e.g., QoS) or attribute (e.g., emergency service indication) of the uplink data, and finds the set corresponding transmission priority.
Step S306, the relay terminal determines whether another uplink data is currently being transmitted, if the relay terminal determines that another uplink data is currently being transmitted, step S307 is executed, and if the relay terminal determines that another uplink data is not currently being transmitted, step S314 is executed.
The relay terminal respectively requests uplink resources for uplink data from different intelligent household devices or uplink data of different QoS of the same intelligent household device, so that the uplink resources can be staggered without conflict.
However, when the uplink data and the other uplink data have the same service type and are both sent by the same smart home device, because the same uplink resource and the same second type data channel are used, when the relay terminal receives the uplink data, another uplink data is being sent, and a collision exists. In order to save the request time and resources for requesting uplink resources and avoid collisions, the relay terminal needs to determine whether another uplink data is currently being transmitted.
For example, when the uplink data received by the relay terminal and sent by the smart home device is the first uplink data, another uplink data which is sending the smart home device is the second uplink data, where the service types of the first uplink data and the second uplink data are the same, that is, the QoS is the same, for example, the first uplink data is voice data of a session-based PS domain, and the second uplink data is real-time data of the session-based PS domain. For example, the first uplink data is voice alarm data of the conversational PS domain, which carries information that is alarm data, for example, the first uplink data is carried by a header, for example, when a temperature of some modules (e.g., chips or circuit boards) of the smart home device exceeds a predetermined value, the smart home device generates voice alarm data, and sets an emergency indication in the header of the voice alarm data, and the second uplink data is real-time data of the conversational PS domain, for example, video data of a video conference call.
Step S307, the relay terminal determines whether the transmission priority required by the uplink data is greater than the transmission priority required by another uplink data, if the transmission priority required by the uplink data is greater than the transmission priority required by another uplink data, step S308 is executed, and if the transmission priority required by the uplink data is less than or equal to the transmission priority required by another uplink data, step S312 is executed.
In steps S308 to 209, the relay terminal suspends transmitting another uplink data, transmits the uplink data using the remaining uplink resource for transmitting another uplink data, and then executes step S310.
For example, since the first uplink data and the second uplink data have the same traffic type, the same uplink resource and the same second type data channel may be used, but the transmission priority required by the first uplink data is higher than the transmission priority required by the second uplink data, so that the relay terminal suspends the transmission of the second uplink data as soon as possible, for example, an alarm is sent as soon as possible, and the relay terminal transmits the first uplink data by using the remaining uplink resource for transmitting the second uplink data.
Step S310, the relay terminal determines whether all the uplink data are sent, if all the uplink data are sent, the relay terminal ends the process without requesting uplink resources for transmitting the uplink data, and if all the uplink data are not sent, the relay terminal still has part of data left in the uplink data, and step S311 is executed.
For example, if the uplink resource remaining after the second uplink data is sent is greater than or equal to the uplink resource required for sending the first uplink data, the relay terminal may send all the first uplink data to the base station by using the uplink resource remaining after the second uplink data is sent, and if the uplink resource remaining after the second uplink data is sent is less than the uplink resource required for sending the first uplink data, the relay terminal sends part of the first uplink data to the base station by using the uplink resource remaining after the second uplink data is sent, and the first uplink data may still have part of the data.
In step S311, the relay terminal requests the base station for uplink resources required for transmitting the remaining untransmitted portion of the uplink data, and then performs step S320.
For example, the relay terminal sends a request message to the base station, where the request message is used to request the base station to transmit uplink resources required by the remaining unsent portion of the uplink data, the request message carries uplink resource information indicating the required uplink resources, and the request message may or may not carry a channel identifier of the second type data channel.
In step S312, the relay terminal continues to transmit another uplink data, and then performs step S313.
For example, when the transmission priority required by the first uplink data is lower than the transmission priority required by the second uplink data, the second uplink data needs to be sent as soon as possible, and the relay terminal continues to send the second uplink data; when the transmission priority required by the first uplink data is equal to the transmission priority required by the second uplink data, the transmission requirements of the first uplink data and the second uplink data are the same, but the relay terminal is already transmitting the second uplink data, so the relay terminal continues to transmit the second uplink data according to the received time sequence.
Step S313, when the relay terminal finishes sending another uplink data, it determines whether there is any uplink resource left, if so, step S309 is executed, and if not, step S314 is executed.
For example, when the relay terminal finishes transmitting the second uplink data, it is determined whether uplink resources remain after the second uplink data is transmitted.
In step S314, the relay terminal immediately requests the base station for uplink resources required for transmitting uplink data, and then performs step S320.
For a specific implementation manner of this step, reference may be made to step S106 in the foregoing embodiment, which is not described herein again.
Step S315, the relay terminal requests uplink resources required for transmitting the uplink data based on other uplink resource requesting rules corresponding to the uplink data.
For a specific implementation manner of this step, reference may be made to step S107 in the foregoing embodiment, which is not described herein again.
Step S320, the base station allocates corresponding uplink resources and sends the uplink resources to the relay terminal.
For a specific implementation manner of this step, reference may be made to step S108 in the foregoing embodiment, which is not described herein again.
In another embodiment of the present application, the relay terminal may also determine whether a preset condition that the uplink resource needs to be requested immediately is met according to whether the service type of the uplink data is determined to belong to a service type that specifies that the uplink resource needs to be requested immediately.
For example, the base station sets a service type requiring immediate request of the uplink resource and sends the service type requiring immediate request of the uplink resource to the relay terminal, or sets a service type requiring immediate request of the uplink resource at the relay terminal through a terminal connected with the relay terminal, for example, sets a list of the service types requiring immediate request of the uplink resource, when the relay terminal determines that the service type of the uplink data belongs to the specified service type requiring immediate request of the uplink resource, it determines that the uplink data meets the preset condition requiring immediate request of the uplink resource, and when it determines that the service type of the uplink data does not belong to the specified service type requiring immediate request of the uplink resource, it determines that the uplink data does not meet the preset condition requiring immediate request of the uplink resource.
Before requesting the uplink resource required by the uplink data to be transmitted from the base station, the relay terminal also determines whether another uplink data is currently transmitted, wherein the service types of the another uplink data and the uplink data are the same, belong to the specified service type which needs to request the uplink resource immediately, and are all transmitted by the intelligent home equipment.
And if the relay terminal is currently sending another uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by the other uplink data or judging whether the transmission priority of the uplink data is larger than the transmission priority of the other uplink data.
And if the transmission delay required by the uplink data is less than the transmission delay required by the other uplink data or the transmission priority of the uplink data is greater than the transmission priority of the other uplink data, the relay terminal suspends the transmission of the other uplink data, utilizes the remaining uplink resource for transmitting the other uplink data to transmit the uplink resource, and requests the base station for transmitting the remaining uplink resource required by the unsent part of the uplink data when the remaining uplink resource is not enough for transmitting all uplink data.
If the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data or the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, the relay terminal continues to send the other uplink data, and after the other uplink data is sent, whether the remaining uplink resources exist after the other uplink data is sent is determined. When the relay terminal determines that the residual uplink resources exist, the relay terminal transmits uplink data by using the residual uplink resources, and when the residual uplink resources are not enough to transmit all uplink data, the relay terminal requests the base station to transmit the uplink resources required by the residual unsent part of the uplink data; when the relay terminal determines that there is no remaining uplink resource, immediately performing a step of requesting the base station for uplink resources required for transmitting uplink data.
And if the relay terminal does not send another uplink data currently, immediately executing the step of requesting the base station for transmitting the uplink resource required by the uplink data.
For the relay terminal to transmit the uplink data and the other uplink data according to the transmission delay or the priority, reference may be specifically made to the description part of the embodiments corresponding to fig. 3 and fig. 4, and details are not described here again.
According to the technical scheme, the relay terminal is connected with the plurality of intelligent home devices, when a large number of intelligent home devices run simultaneously, scheduling tasks of a data plane can be reduced, the load of a communication network is reduced, the communication quality is improved, whether uplink resources are immediately requested to be sent or not is judged for uplink data of different intelligent home devices, a specific service can be sent immediately, delay of sending of the specific service is avoided, and unnecessary risks are avoided.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a relay terminal according to an embodiment of the present application, where the relay terminal includes: a broadcasting module 51, a receiving module 52, a connecting module 53, a determining module 54 and a transmitting module 55. The broadcasting module 51, the receiving module 52, the connecting module 53, the determining module 54 and the sending module 55 are communicatively connected to each other, for example, via a bus.
In this embodiment, the broadcasting module 51 is configured to broadcast a discovery signal for establishing a communication connection with the smart home device.
The receiving module 52 is configured to receive a connection request of the smart home device, where the connection request is sent by the smart home device after detecting the discovery signal.
The connection module 53 is configured to establish a communication connection with the smart home device according to the connection request.
The receiving module 52 is further configured to receive uplink data transmitted by the smart home device through the communication connection.
And the determining module 54 is configured to determine whether the uplink data meets a preset condition that the uplink resource needs to be requested immediately.
The sending module 55 is configured to request the base station for transmitting the uplink resource required by the uplink data when the determining module 54 determines that the uplink data meets the preset condition that the uplink resource needs to be requested immediately.
In an embodiment of the present application, the determining module 54 is configured to determine whether a transmission delay required by uplink data is smaller than or equal to a preset transmission delay value, determine that the uplink data meets a preset condition that an uplink resource needs to be requested immediately when the transmission delay required by the uplink data is determined to be smaller than or equal to the preset transmission delay value, and determine that the uplink data does not meet the preset condition that the uplink resource needs to be requested immediately when the transmission delay required by the uplink data is determined to be greater than the preset transmission delay value.
In an embodiment of the present application, the determining module 54 is further configured to determine, before the sending module 55 requests the base station for uplink resources required for transmitting uplink data, whether the sending module 55 is currently sending another uplink data, where the another uplink data and the uplink data have the same service type and are both sent by the smart home device.
If the sending module 55 is currently sending another uplink data, the determining module 54 is further configured to determine whether the transmission delay required by the uplink data is smaller than the transmission delay required by another uplink data.
If the transmission delay required by the uplink data is less than the transmission delay required by another uplink data, the determining module 54 is further configured to notify the sending module 55 to suspend sending another uplink data, notify the sending module 55 to send uplink resources by using the remaining uplink resources for sending another uplink data, and notify the sending module 55 to request the base station to transmit uplink resources required by the remaining unsent portion of the uplink data when the remaining uplink resources are not enough to send all uplink data.
If the transmission delay required by the uplink data is greater than or equal to the transmission delay required by another uplink data, the determining module 54 is further configured to notify the sending module 55 to continue sending another uplink data, and after the sending module 55 finishes sending another uplink data, when it is determined that there is a remaining uplink resource, notify the sending module 55 to send the uplink data by using the remaining uplink resource, and when the remaining uplink resource is not enough to send all uplink data, notify the sending module 55 to request the base station to transmit the remaining uplink resource required by the un-sent part of the uplink data; when determining that there is no remaining uplink resource, the notification transmission module 55 immediately executes the uplink resource required for requesting transmission of uplink data to the base station.
If the sending module 55 does not send another uplink data currently, the determining module 54 is further configured to notify the sending module 55 to immediately execute the uplink resource required for requesting transmission of the uplink data to the base station.
In another embodiment of the present application, the determining module 54 is configured to determine whether the transmission priority required by the uplink data is greater than or equal to a preset transmission priority, determine that the uplink data meets a preset condition that the uplink resource needs to be requested immediately when the transmission priority required by the uplink data is determined to be greater than or equal to the preset transmission priority, and determine that the uplink data does not meet the preset condition that the uplink resource needs to be requested immediately when the transmission priority required by the uplink data is determined to be less than the preset transmission priority.
In another embodiment of the present application, the determining module 54 is configured to determine whether a service type of uplink data belongs to a service type that specifies that an uplink resource needs to be requested immediately, determine that the uplink data meets a preset condition that the uplink resource needs to be requested immediately when it is determined that the service type of the uplink data belongs to the service type that specifies that an uplink resource needs to be requested immediately, and determine that the uplink data does not meet the preset condition that the uplink resource needs to be requested immediately when it is determined that the service type of the uplink data does not belong to the service type that specifies that an uplink resource needs to be requested immediately.
The function or effect of each module in the relay terminal in this embodiment corresponds to the method for requesting uplink resources in any of the above embodiments. The related details mentioned in the above method for requesting uplink resources may be used in the relay terminal of this embodiment, and are not described herein again.
According to the technical scheme, the relay terminal is connected with the intelligent household devices, when a large number of intelligent household devices operate simultaneously, scheduling tasks of a data plane can be reduced, the load of a communication network is reduced, the communication quality is improved, whether uplink resources are required to be sent immediately or not is judged for uplink data of different intelligent household devices, a specific service can be sent immediately, delay of sending of the specific service is avoided, and unnecessary risks are avoided.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an apparatus for requesting uplink resources according to an embodiment of the present application, and as shown in fig. 6, the apparatus for requesting uplink resources includes a transmitter 61, a receiver 62, a processor 63, and a communication interface 64. These components communicate with each other via one or more communication buses/signal lines.
It is understood that the structure shown in fig. 6 is only an illustration, and the device for requesting uplink resources may also include more or fewer components than those shown in fig. 6, or have a different configuration from that shown in fig. 6. The components shown in fig. 6 may be implemented in hardware, software, or a combination thereof.
In the embodiment of the present application, the processor 63 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data Processing chip. The processor 63 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor such as a single chip or the like.
The transmitter 61 and the receiver 62 may be radio frequency modules, and are configured to receive and transmit electromagnetic waves, so as to achieve interconversion between the electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices. The transmitter 61 and receiver 62 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The transmitter 61 and receiver 62 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network described above may use various communication standards, protocols and technologies, including but not limited to global system for mobile communication (GSM), enhanced mobile communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), bluetooth, Wireless Fidelity (WiFi) (such as ieee802.11a, ieee802.11b, ieee802.11g and/or ieee802.11 n), voice over internet protocol (VoIP), worldwide interoperability for microwave, and other suitable protocols for instant messaging, including any other suitable protocols, including those currently developed.
The communication interface 64, which may be a wireless interface or a wired interface, includes an interface for communicating with a base station and an interface for communicating with the smart home device, where the interface for communicating with the base station is different according to communication networks of different standards, for example, the interface communicates with the base station of WCDMA through a uu interface; the interface for communicating with the intelligent household equipment can be a pc5 interface, Bluetooth or WIFI.
In this embodiment, the transmitter 61 is configured to broadcast a discovery signal for establishing a communication connection with the smart home device.
The receiver 62 is configured to receive a connection request of the smart home device, where the connection request is sent by the smart home device after detecting the discovery signal.
And the communication interface 64 is used for establishing communication connection with the intelligent household equipment according to the connection request.
The receiver 62 is further configured to receive uplink data sent by the smart home device through the communication connection.
And a processor 63, configured to determine whether the uplink data meets a preset condition that requires immediate request of uplink resources.
The transmitter 61 is further configured to request the base station for uplink resources required for transmitting the uplink data when the processor 63 determines that the uplink data meets a preset condition that requires immediate uplink resource request.
In an embodiment of the present application, the processor 63 is configured to determine whether a transmission delay required by uplink data is less than or equal to a preset transmission delay value, determine that the uplink data meets a preset condition that an uplink resource needs to be requested immediately when it is determined that the transmission delay required by the uplink data is less than or equal to the preset transmission delay value, and determine that the uplink data does not meet the preset condition that the uplink resource needs to be requested immediately when it is determined that the transmission delay required by the uplink data is greater than the preset transmission delay value.
In an embodiment of the present application, the processor 63 is further configured to determine, before the transmitter 61 requests the base station for uplink resources required for transmitting uplink data, whether the transmitter 61 is currently transmitting another uplink data, where the another uplink data and the uplink data have the same service type and are both transmitted by the smart home device.
If the transmitter 61 is currently transmitting another uplink data, the processor 63 is further configured to determine whether the transmission delay required by the uplink data is smaller than the transmission delay required by the another uplink data.
If the transmission delay required by the uplink data is less than the transmission delay required by another uplink data, the processor 63 is further configured to notify the transmitter 61 to suspend sending another uplink data, notify the transmitter 61 to send uplink resources by using the remaining uplink resources for sending another uplink data, and notify the transmitter 61 to request the base station to transmit uplink resources required by the remaining unsent portion of the uplink data when the remaining uplink resources are not enough to send all uplink data.
If the transmission delay required by the uplink data is greater than or equal to the transmission delay required by another uplink data, the processor 63 is further configured to notify the transmitter 61 to continue to send another uplink data, and after the transmitter 61 finishes sending another uplink data, when it is determined that there is remaining uplink resource, notify the transmitter 61 to send the uplink data by using the remaining uplink resource, and when the remaining uplink resource is not enough to send all uplink data, notify the transmitter 61 to request the base station to transmit the remaining uplink resource required by the unsent part of the uplink data; when it is determined that there is no remaining uplink resource, the notification transmitter 61 immediately performs uplink resource required for requesting transmission of uplink data to the base station.
The processor 63 is further configured to notify the transmitter 61 to immediately perform uplink resources required for requesting transmission of uplink data to the base station if the transmitter 61 does not currently transmit another uplink data.
In another embodiment of the present application, the processor 63 is configured to determine whether a transmission priority required by the uplink data is greater than or equal to a preset transmission priority, determine that the uplink data meets a preset condition that the uplink resource needs to be requested immediately when the transmission priority required by the uplink data is determined to be greater than or equal to the preset transmission priority, and determine that the uplink data does not meet the preset condition that the uplink resource needs to be requested immediately when the transmission priority required by the uplink data is determined to be less than the preset transmission priority.
In another embodiment of the present application, the processor 63 is configured to determine whether a service type of uplink data belongs to a service type that specifies that an uplink resource needs to be requested immediately, determine that the uplink data meets a preset condition that the uplink resource needs to be requested immediately when it is determined that the service type of the uplink data belongs to the service type that specifies that the uplink resource needs to be requested immediately, and determine that the uplink data does not meet the preset condition that the uplink resource needs to be requested immediately when it is determined that the service type of the uplink data does not belong to the service type that specifies that the uplink resource needs to be requested immediately.
The function or effect of each module in the apparatus for requesting uplink resources in this embodiment corresponds to the method for requesting uplink resources in any one of the embodiments described above. The related details mentioned in the above embodiments of the method for requesting uplink resources may be used in the apparatus for requesting uplink resources of this embodiment, and are not described herein again.
According to the technical scheme, the device for requesting the uplink resources is connected with the plurality of intelligent home devices, when a large number of intelligent home devices run simultaneously, scheduling tasks of a data plane can be reduced, the load of a communication network is reduced, the communication quality is improved, whether the uplink resources are requested to be sent immediately or not is judged for the uplink data of different intelligent home devices, a specific service can be sent immediately, delay of sending the specific service is avoided, and unnecessary risks are avoided.
Another embodiment of the present application further provides an intelligent home device system, as shown in fig. 7, an architecture of the intelligent home device system may include a relay terminal 71, an intelligent home device 72, and a base station 73. The relay terminal 71, the smart home device 72, and the base station 73 provide a medium of a communication link therebetween, or are connected through a network. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
It should be understood that the numbers of the relay terminals 71, the smart home devices 72, and the base stations 73 in fig. 7 are merely illustrative. There may be any number of relay terminals 71, smart home devices 72, and base stations 73, as desired for implementation.
The smart home devices 72 may be smart air conditioners, refrigerator only, smart phones, smart televisions, and the like.
The relay terminal 71 may be various electronic devices having a display screen and supporting web browsing, including but not limited to a smart terminal, a network device, or a device formed by integrating a smart terminal and a network device through a network. The relay terminal 71 includes, but is not limited to, any mobile electronic product capable of interacting with a user through a touch panel, such as a smart phone, a tablet computer, etc., and the relay terminal may employ any operating system, such as Android operating system of google corporation, iOS operating system of apple corporation, windows phone operating system of microsoft corporation, Symbian operating system of nokia corporation, BlackBerry OS operating system, web OS operating system, windows mobile operating system of microsoft corporation, hong meng (Harmony) operating system of hua corporation, etc.
Of course, those skilled in the art should understand that the smart home devices 72 and the relay terminals 71 are only examples, and other existing or future smart home devices 72 and relay terminals 71 may be suitable for the present application, and are included in the scope of the present application and are herein incorporated by reference.
The network includes, but is not limited to, the internet, a mobile communication network, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. For example, the mobile communication network may be a 3G, 4G or 5G mobile communication system, for example, the mobile communication network may be a Wideband Code Division Multiple Access (WCDMA) system, a Frequency Division Multiple Access (FDMA) system, an Orthogonal Frequency-Division Multiple Access (OFDMA) system, a single carrier FDMA (SC-FDMA) system, a General Packet Radio Service (GPRS) system, a Long Term Evolution (LTE) system or a 5G mobile communication network, among other such communication systems.
In this embodiment, the relay terminal 71 is configured to broadcast a discovery signal for establishing a communication connection with the smart home device.
The smart home device 72 is configured to send a connection request to the relay terminal 71 after detecting the discovery signal sent by the relay terminal.
The relay terminal 71 is further configured to receive a connection request sent by the smart home device 72, establish a communication connection with the smart home device 72 according to the received connection request, and immediately request the base station for uplink resources required for transmitting uplink data when uplink data sent by the smart home device 72 through the communication connection is received and it is determined that the uplink data meets a preset condition that the uplink resources are required to be immediately requested.
And the base station 73 is configured to allocate an uplink resource and transmit the uplink resource to the relay terminal so that the relay terminal transmits uplink data using the uplink resource.
It should be noted that the relay terminal in this embodiment is further configured to execute the step of requesting the uplink resource in any one of the above embodiments, and details are not described herein again.
Another embodiment of the present application further provides a computer device, as shown in fig. 8, fig. 8 is a schematic structural diagram of the computer device. The computer device comprises a memory 81 and a processor 82, the memory 81 having stored therein a computer program, the processor 82 realizing the steps of the method of requesting uplink resources as in any of the above embodiments when executing the computer program.
In the technical solution of the embodiment of the present application, the processor 82 may implement the steps of the method for requesting uplink resources in any of the above embodiments when executing the computer program. Therefore, for a large amount of smart home devices, the technical solution of this embodiment receives uplink data transmitted from each smart home device, requests the base station for uplink resources corresponding to the uplink data, and avoids each smart home device directly performing data transmission with the base station, so that scheduling tasks of the data plane can be reduced, a load of a communication network is reduced, and degradation of communication quality is avoided.
The memory 81 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for requesting uplink resources in the embodiment of the present application, and the processor 82 executes various functional applications and data processing by running the software programs and modules stored in the memory 81, so as to implement the method for requesting uplink resources in any of the embodiments described above.
The memory 81 may include a high-speed random access memory, and may further include a non-volatile memory (non-volatile memory) or a volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory, e.g., flash memory(s), a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic RAM, a magnetic disk, an optical disk, etc., and may include a static or dynamic RAM. In some embodiments, the storage 81 may be an internal storage unit of the requesting upstream resource device, for example, a hard disk or a memory of the requesting upstream resource device. In other embodiments, the memory 81 may also be an external storage device of the device requesting the uplink resource, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), or the like provided on the device requesting the uplink resource. In some examples, memory 81 may further include memory remotely located from the requesting upstream resource device, which may be connected to the requesting upstream resource device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to the memory 81 by the processor 82 and possibly other components may be under the control of the memory processor 82.
The present application further provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of requesting uplink resources as in any of the above embodiments.
In the technical solution of the embodiment of the present application, since the computer program is executed by the processor, the steps of the method for requesting uplink resources in any of the above embodiments can be implemented. Therefore, for a large amount of smart home devices, the technical solution of this embodiment receives uplink data transmitted from each smart home device, requests the base station for uplink resources corresponding to the uplink data, and avoids each smart home device directly performing data transmission with the base station, so that scheduling tasks of the data plane can be reduced, a load of a communication network is reduced, and degradation of communication quality is avoided.
A computer readable medium includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing, the memory storing program code or instructions, the program code including computer-executable instructions, and the processor executing the program code or instructions of the emergency rescue communication method stored by the memory.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Each functional unit or module in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (15)

1. A method for requesting uplink resources, the method comprising:
the method comprises the steps that a relay terminal broadcasts a discovery signal used for establishing communication connection with intelligent household equipment;
the relay terminal receives a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the discovery signal is detected;
the relay terminal establishes communication connection with the intelligent household equipment according to the connection request;
the relay terminal receives uplink data sent by the intelligent household equipment through the communication connection;
when the relay terminal determines that the transmission delay required by the uplink data is less than or equal to a preset transmission delay value, determining whether another uplink data is currently sent, wherein the service types of the another uplink data and the uplink data are the same and are both sent by the intelligent home equipment;
if the relay terminal is currently sending the other uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by the other uplink data;
if the transmission delay required by the uplink data is less than the transmission delay required by the other uplink data, the relay terminal suspends sending the other uplink data, utilizes the remaining uplink resource for sending the other uplink data to send the uplink data, and requests the base station to transmit the uplink resource required by the remaining unsent part of the uplink data when the remaining uplink resource is not enough to send all the uplink data;
if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data, the relay terminal continues to send the other uplink data, and after the other uplink data is sent, when the uplink resource for sending the other uplink data is determined to be left, the remaining uplink resource is used for sending the uplink data, and when the remaining uplink resource is not enough for sending all the uplink data, the relay terminal requests the base station to transmit the uplink resource required by the left unsent part of the uplink data; when determining that the uplink resource for transmitting the other uplink data is not left, immediately requesting the base station for transmitting the uplink resource required by the uplink data;
and if the relay terminal does not send the other uplink data currently, immediately requesting the base station for transmitting the uplink resource required by the uplink data.
2. The method according to claim 1, wherein the step of requesting, by the relay terminal, the uplink resource required for transmitting the uplink data to the base station specifically includes:
the relay terminal sends a request message to the base station, the request message is used for requesting the base station for transmitting uplink resources required by the uplink data, the request message comprises a channel identifier of a second type data channel and uplink resource information, the channel identifier of the second type data channel is used for indicating the second type data channel between the relay terminal and the base station, and the uplink resource information is used for indicating the uplink resources required by the uplink data transmission.
3. The method according to claim 1, wherein the step of the relay terminal receiving the uplink data sent by the smart home device through the communication connection specifically includes:
for a plurality of uplink data of the same service type of the intelligent home equipment, the relay terminal receives the plurality of uplink data sent by the intelligent home equipment through the same first type data channel;
and for a plurality of uplink data of different service types of the intelligent home equipment, the relay terminal receives the plurality of uplink data which are respectively sent by the intelligent home equipment through different first-type data channels.
4. A relay terminal, characterized in that the relay terminal comprises: a broadcasting module, a receiving module, a connecting module, a determining module and a sending module, wherein,
the broadcasting module is used for broadcasting a discovery signal for establishing communication connection with the intelligent household equipment;
the receiving module is configured to receive a connection request of the smart home device, where the connection request is sent by the smart home device after the discovery signal is detected;
the connection module is used for establishing communication connection with the intelligent household equipment according to the connection request;
the receiving module is further configured to receive uplink data sent by the smart home device through the communication connection;
the determining module is configured to determine whether the uplink data meets a preset condition that an uplink resource needs to be requested immediately;
the sending module is configured to request a base station for transmitting an uplink resource required by the uplink data when the determining module determines that the uplink data meets a preset condition that the uplink resource needs to be requested immediately;
wherein, the condition that the uplink data meets the preset requirement for requesting uplink resource immediately comprises:
the transmission delay required by the uplink data is less than or equal to a preset transmission delay value;
the determining module is further configured to determine whether the sending module is currently sending another uplink data before the sending module requests the base station for transmitting the uplink resource required by the uplink data, where the another uplink data and the uplink data have the same service type and are both sent by the smart home device; if the sending module is currently sending the other uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by the other uplink data;
the sending module is further configured to suspend sending the other uplink data if the transmission delay required by the uplink data is less than the transmission delay required by the other uplink data, send the uplink data by using the remaining uplink resource for sending the other uplink data, and request the base station to transmit the uplink resource required by the remaining unsent portion of the uplink data when the remaining uplink resource is not enough to send all the uplink data;
the sending module is further configured to continue sending the other uplink data if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data, and after the other uplink data is sent, send the uplink data by using the remaining uplink resources when the determining module determines that the uplink resource for sending the other uplink data is left, and request the base station to transmit the uplink resource required by the remaining unsent portion of the uplink data when the remaining uplink resources are not enough to send all the uplink data; when the determining module determines that the uplink resource for transmitting the other uplink data is not left, immediately requesting the base station for transmitting the uplink resource required by the uplink data;
the sending module is further configured to immediately request the base station for transmitting the uplink resource required by the uplink data if the other uplink data is not currently sent.
5. An apparatus for requesting uplink resources, the apparatus comprising: a transmitter, a receiver, a communication interface, and a processor, wherein,
the transmitter is used for broadcasting a discovery signal for establishing communication connection with the intelligent household equipment;
the receiver is configured to receive a connection request of the smart home device, where the connection request is sent by the smart home device after the discovery signal is detected;
the communication interface is used for establishing communication connection with the intelligent household equipment according to the connection request;
the receiver is further configured to receive uplink data sent by the smart home device through the communication connection;
the processor is configured to determine whether the uplink data meets a preset condition that an uplink resource needs to be requested immediately;
the transmitter is further configured to request a base station for transmitting uplink resources required by the uplink data when the processor determines that the uplink data meets a preset condition that the uplink resources are required to be requested immediately;
wherein, the condition that the uplink data meets the preset requirement to request uplink resources immediately comprises:
the transmission delay required by the uplink data is less than or equal to a preset transmission delay value;
the processor is further configured to determine whether the transmitter is currently transmitting another uplink data before the transmitter requests the base station for transmitting the uplink resource required by the uplink data, where the another uplink data and the uplink data have the same service type and are both transmitted by the smart home device; if the transmitter is currently transmitting the other uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by the other uplink data;
the transmitter is further configured to suspend sending the other uplink data if the transmission delay required by the uplink data is less than the transmission delay required by the other uplink data, send the uplink data by using the remaining uplink resource for sending the other uplink data, and request the base station to transmit the uplink resource required by the remaining unsent portion of the uplink data when the remaining uplink resource is not enough to send all the uplink data;
the transmitter is further configured to continue to send the other uplink data if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data, and after the other uplink data is sent, when the processor determines that there is a remaining uplink resource for sending the other uplink data, send the uplink data using the remaining uplink resource, and request the base station to transmit uplink resources required by a remaining unsent portion of the uplink data when the remaining uplink resource is insufficient to send all the uplink data; when the processor determines that the uplink resource for transmitting the other uplink data is not left, immediately requesting the base station for transmitting the uplink resource required by the uplink data;
the transmitter is further configured to immediately request the base station for the uplink resource required for transmitting the uplink data if the other uplink data is not currently transmitted.
6. A method for requesting uplink resources, the method comprising:
the method comprises the steps that a relay terminal broadcasts a discovery signal used for establishing communication connection with intelligent household equipment;
the relay terminal receives a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the discovery signal is detected;
the relay terminal establishes communication connection with the intelligent household equipment according to the connection request;
the relay terminal receives uplink data sent by the intelligent household equipment through the communication connection;
when the relay terminal determines that the transmission priority of the uplink data is greater than or equal to a preset transmission priority, determining whether another uplink data is currently sent, wherein the service types of the another uplink data and the uplink data are the same and are both sent by the intelligent home equipment;
if the relay terminal is currently sending the other uplink data, judging whether the transmission priority of the uplink data is greater than that of the other uplink data;
if the transmission priority of the uplink data is higher than that of the other uplink data, the relay terminal suspends sending the other uplink data, utilizes the remaining uplink resources for sending the other uplink data to send the uplink data, and requests the base station to transmit the uplink resources required by the remaining unsent part of the uplink data when the remaining uplink resources are not enough to send all the uplink data;
if the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, the relay terminal continues to send the other uplink data, and after the other uplink data is sent, when the uplink resource for sending the other uplink data is determined to be remained, the remaining uplink resource is used for sending the uplink data, and when the remaining uplink resource is not enough for sending all the uplink data, the relay terminal requests the base station to transmit the uplink resource required by the remained unsent part of the uplink data; when determining that the uplink resource for transmitting the other uplink data is not left, immediately requesting the base station for transmitting the uplink resource required by the uplink data;
and if the relay terminal does not send the other uplink data currently, immediately requesting the base station for transmitting the uplink resource required by the uplink data.
7. A relay terminal, characterized in that the relay terminal comprises: a broadcast module, a receiving module, a connecting module, a determining module and a sending module, wherein,
the broadcasting module is used for broadcasting a discovery signal for establishing communication connection with the intelligent household equipment;
the receiving module is configured to receive a connection request of the smart home device, where the connection request is sent by the smart home device after the discovery signal is detected;
the connection module is used for establishing communication connection with the intelligent household equipment according to the connection request;
the receiving module is further configured to receive uplink data sent by the smart home device through the communication connection;
the determining module is configured to determine whether the uplink data meets a preset condition that an uplink resource needs to be requested immediately;
the sending module is configured to request a base station for transmitting an uplink resource required by the uplink data when the determining module determines that the uplink data meets a preset condition that the uplink resource needs to be requested immediately;
wherein, the condition that the uplink data meets the preset requirement to request uplink resources immediately comprises:
the transmission priority of the uplink data is greater than or equal to a preset transmission priority;
the determining module is further configured to determine whether the sending module is currently sending another uplink data before the sending module requests the base station for transmitting the uplink resource required by the uplink data, where the another uplink data and the uplink data have the same service type and are both sent by the smart home device; if the sending module is currently sending the other uplink data, judging whether the transmission priority of the uplink data is greater than that of the other uplink data;
the sending module is further configured to suspend sending the other uplink data if the transmission priority of the uplink data is greater than the transmission priority of the other uplink data, send the uplink data by using the remaining uplink resource for sending the other uplink data, and request the base station to transmit the uplink resource required by the remaining unsent portion of the uplink data when the remaining uplink resource is not enough to send all the uplink data;
the sending module is further configured to continue sending the other uplink data if the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, send the uplink data using the remaining uplink resources when the determining module determines that there are remaining uplink resources after sending the other uplink data, and request the base station to transmit uplink resources required by a remaining unsent portion of the uplink data when the remaining uplink resources are not enough to send all the uplink data; when the determining module determines that no uplink resource remains, immediately requesting the base station for transmitting the uplink resource required by the uplink data;
the sending module is further configured to immediately request the base station for uplink resources required for transmitting the uplink data if the sending module does not send the other uplink data currently.
8. An apparatus for requesting uplink resources, the apparatus comprising: a transmitter, a receiver, a communication interface, and a processor, wherein,
the transmitter is used for broadcasting a discovery signal for establishing communication connection with the intelligent household equipment;
the receiver is configured to receive a connection request of the smart home device, where the connection request is sent by the smart home device after the discovery signal is detected;
the communication interface is used for establishing communication connection with the intelligent household equipment according to the connection request;
the receiver is further configured to receive uplink data sent by the smart home device through the communication connection;
the processor is configured to determine whether the uplink data meets a preset condition that an uplink resource needs to be requested immediately;
the transmitter is further configured to request a base station for transmitting uplink resources required by the uplink data when the processor determines that the uplink data meets a preset condition that the uplink resources are required to be requested immediately;
wherein, the condition that the uplink data meets the preset requirement to request uplink resources immediately comprises:
the transmission priority of the uplink data is greater than or equal to a preset transmission priority;
the processor is further configured to determine whether the transmitter is currently transmitting another uplink data before the transmitter requests the base station for transmitting the uplink resource required by the uplink data, where the another uplink data and the uplink data have the same service type and are both transmitted by the smart home device; if the transmitter is currently transmitting the other uplink data, judging whether the transmission priority of the uplink data is greater than that of the other uplink data;
the transmitter is further configured to suspend sending the other uplink data if the transmission priority of the uplink data is greater than the transmission priority of the other uplink data, send the uplink data by using the remaining uplink resources for sending the other uplink data, and request the base station to transmit uplink resources required by the remaining unsent portion of the uplink data when the remaining uplink resources are not enough to send all the uplink data;
the transmitter is further configured to continue to send the other uplink data if the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, and after the other uplink data is sent, when the processor determines that there is a remaining uplink resource for sending the other uplink data, send the uplink data using the remaining uplink resource, and request the base station to transmit uplink resources required by a remaining unsent portion of the uplink data when the remaining uplink resource is insufficient to send all the uplink data; when the processor determines that the uplink resource for transmitting the other uplink data is not left, immediately requesting the base station for transmitting the uplink resource required by the uplink data;
the transmitter is further configured to immediately request the base station for uplink resources required for transmitting the uplink data if the transmitter does not currently transmit the other uplink data.
9. A method for requesting uplink resources, the method comprising:
the method comprises the steps that a relay terminal broadcasts a discovery signal used for establishing communication connection with intelligent household equipment;
the relay terminal receives a connection request of the intelligent home equipment, and the connection request is sent by the intelligent home equipment after the discovery signal is detected;
the relay terminal establishes communication connection with the intelligent household equipment according to the connection request;
the relay terminal receives uplink data sent by the intelligent household equipment through the communication connection;
when the relay terminal determines that the service type of the uplink data belongs to a service type which is appointed to require an uplink resource immediately, determining whether another uplink data is currently sent, wherein the service types of the another uplink data and the uplink data are the same, belong to the service type which is appointed to require an uplink resource immediately, and are both sent by the intelligent home equipment;
if the relay terminal is currently sending the other uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by the other uplink data or judging whether the transmission priority of the uplink data is larger than the transmission priority of the other uplink data;
if the transmission delay required by the uplink data is less than the transmission delay required by the other uplink data or the transmission priority of the uplink data is greater than the transmission priority of the other uplink data, the relay terminal suspends sending the other uplink data, utilizes the remaining uplink resources for sending the other uplink data to send the uplink data, and requests the base station to transmit the uplink resources required by the remaining unsent part of the uplink data when the remaining uplink resources are not enough to send all the uplink data;
if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data or the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, the relay terminal continues to send the other uplink data, and when the uplink resource for sending the other uplink data is determined to be left after the other uplink data is sent, the remaining uplink resource is used for sending the uplink data, and when the remaining uplink resource is not enough for sending all the uplink data, the relay terminal requests the base station to transmit the uplink resource required by the left unsent part of the uplink data; when determining that the uplink resource for transmitting the other uplink data is not left, immediately requesting the base station for transmitting the uplink resource required by the uplink data;
and if the relay terminal does not send the other uplink data currently, immediately requesting the base station for transmitting the uplink resource required by the uplink data.
10. The method of claim 9, further comprising:
the relay terminal stores a list of service types which need to request uplink resources immediately;
the step of determining, by the relay terminal, that the service type of the uplink data belongs to a service type that specifies that an uplink resource needs to be requested immediately includes:
and the relay terminal determines that the service type of the uplink data belongs to the service type included in the list of the service types which need to request the uplink resource immediately.
11. A relay terminal, characterized in that the relay terminal comprises: a broadcasting module, a receiving module, a connecting module, a determining module and a sending module, wherein,
the broadcasting module is used for broadcasting a discovery signal for establishing communication connection with the intelligent household equipment;
the receiving module is configured to receive a connection request of the smart home device, where the connection request is sent by the smart home device after the discovery signal is detected;
the connection module is used for establishing communication connection with the intelligent household equipment according to the connection request;
the receiving module is further configured to receive uplink data sent by the smart home device through the communication connection;
the determining module is configured to determine whether the uplink data meets a preset condition that an uplink resource needs to be requested immediately;
the sending module is configured to request a base station for transmitting an uplink resource required by the uplink data when the determining module determines that the uplink data meets a preset condition that the uplink resource needs to be requested immediately;
wherein, the condition that the uplink data meets the preset requirement to request uplink resources immediately comprises:
the service type of the uplink data belongs to a service type which is appointed to require an uplink resource immediately;
the determining module is further configured to determine whether the sending module is currently sending another uplink data before the sending module requests the base station for transmitting the uplink resource required by the uplink data, where the another uplink data and the uplink data have the same service type and belong to a specified service type requiring immediate uplink resource request, and are both sent by the smart home device; if the sending module is currently sending the other uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by the other uplink data or judging whether the transmission priority of the uplink data is larger than the transmission priority of the other uplink data;
the sending module is further configured to suspend sending of the other uplink data if the transmission delay required by the uplink data is less than the transmission delay required by the other uplink data or the transmission priority of the uplink data is greater than the transmission priority of the other uplink data, send the uplink data by using the remaining uplink resource for sending the other uplink data, and request the base station to transmit the remaining uplink resource required by the unsent portion of the uplink data when the remaining uplink resource is not enough to send all the uplink data;
the sending module is further configured to continue sending the other uplink data if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data or the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, and after the other uplink data is sent, when the determining module determines that there is a remaining uplink resource for sending the other uplink data, send the uplink data by using the remaining uplink resource, and when the remaining uplink resource is insufficient to send all the uplink data, request the base station to transmit the uplink resource required by the remaining unsent portion of the uplink data; when the determining module determines that the uplink resource for transmitting the other uplink data is not left, immediately requesting the base station for transmitting the uplink resource required by the uplink data;
the sending module is further configured to immediately request the base station for uplink resources required for transmitting the uplink data if the other uplink data is not currently sent.
12. An apparatus for requesting uplink resources, the apparatus comprising: a transmitter, a receiver, a communication interface, and a processor, wherein,
the transmitter is used for broadcasting a discovery signal for establishing communication connection with the intelligent household equipment;
the receiver is configured to receive a connection request of the smart home device, where the connection request is sent by the smart home device after the discovery signal is detected;
the communication interface is used for establishing communication connection with the intelligent household equipment according to the connection request;
the receiver is further configured to receive uplink data sent by the smart home device through the communication connection;
the processor is configured to determine whether the uplink data meets a preset condition that an uplink resource needs to be requested immediately;
the transmitter is further configured to request a base station for transmitting uplink resources required by the uplink data when the processor determines that the uplink data meets a preset condition that the uplink resources are required to be requested immediately;
wherein, the condition that the uplink data meets the preset requirement for requesting uplink resource immediately comprises:
the service type of the uplink data belongs to a service type which is appointed to require an uplink resource immediately;
the processor is further configured to determine whether the transmitter is currently transmitting another uplink data before the transmitter requests the base station for transmitting the uplink resource required by the uplink data, where the another uplink data and the uplink data have the same service type and belong to a service type specified to require an uplink resource immediately, and both the another uplink data and the uplink data are transmitted by the smart home device; if the transmitter is currently transmitting the other uplink data, judging whether the transmission delay required by the uplink data is smaller than the transmission delay required by the other uplink data or judging whether the transmission priority of the uplink data is larger than the transmission priority of the other uplink data;
the transmitter is further configured to suspend sending the other uplink data if the transmission delay required by the uplink data is less than the transmission delay required by the other uplink data or the transmission priority of the uplink data is greater than the transmission priority of the other uplink data, send the uplink data by using the remaining uplink resources for sending the other uplink data, and request the base station to transmit the remaining uplink resources required by the unsent portion of the uplink data when the remaining uplink resources are not enough to send all the uplink data;
the transmitter is further configured to continue to send the other uplink data if the transmission delay required by the uplink data is greater than or equal to the transmission delay required by the other uplink data or the transmission priority of the uplink data is less than or equal to the transmission priority of the other uplink data, and after the other uplink data is sent, when the processor determines that there is a remaining uplink resource for sending the other uplink data, send the uplink data by using the remaining uplink resource, and request the base station to transmit uplink resources required by a remaining unsent portion of the uplink data when the remaining uplink resource is insufficient to send all the uplink data; when the processor determines that no uplink resource for transmitting the other uplink data remains, immediately requesting the base station for transmitting the uplink resource required by the uplink data;
the transmitter is further configured to immediately request the base station for uplink resources required for transmitting the uplink data if the other uplink data is not currently transmitted.
13. The utility model provides an intelligent household equipment system which characterized in that includes: smart home device and relay terminal according to claim 4, 7 or 11, wherein
And the intelligent home equipment is used for sending the connection request when the discovery signal is detected.
14. A computer arrangement comprising a memory in which a computer program is stored and a processor which, when executing the computer program, carries out the method of requesting upstream resources according to any one of claims 1-3, 6 and 9-10.
15. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements a method of requesting upstream resources as claimed in any one of claims 1-3, 6 and 9-10.
CN202210576759.9A 2022-05-25 2022-05-25 Method, relay terminal, device and system for requesting uplink resource Active CN114666916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210576759.9A CN114666916B (en) 2022-05-25 2022-05-25 Method, relay terminal, device and system for requesting uplink resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210576759.9A CN114666916B (en) 2022-05-25 2022-05-25 Method, relay terminal, device and system for requesting uplink resource

Publications (2)

Publication Number Publication Date
CN114666916A CN114666916A (en) 2022-06-24
CN114666916B true CN114666916B (en) 2022-07-29

Family

ID=82038375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210576759.9A Active CN114666916B (en) 2022-05-25 2022-05-25 Method, relay terminal, device and system for requesting uplink resource

Country Status (1)

Country Link
CN (1) CN114666916B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278902B (en) * 2022-09-27 2022-12-06 广东海洋大学 Data transmission method, data transmission device, computer equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010097021A1 (en) * 2009-02-26 2010-09-02 中国移动通信集团公司 Random access control method, system and device
CN101932041A (en) * 2009-06-19 2010-12-29 中兴通讯股份有限公司 Method and device for maintaining relay node connection
EP2600671A1 (en) * 2010-08-24 2013-06-05 Huawei Technologies Co., Ltd. Method, device and system for resource immediate assignment
CN105474737A (en) * 2014-07-31 2016-04-06 华为技术有限公司 Relay implementing method and device
CN105578603A (en) * 2014-10-17 2016-05-11 中国移动通信集团浙江有限公司 Data service assigning method and device
CN109314912A (en) * 2018-09-29 2019-02-05 北京小米移动软件有限公司 Method for network access, device and storage medium
WO2021214095A1 (en) * 2020-04-22 2021-10-28 Koninklijke Philips N.V. Enhanced scheduling in wireless networks with relay function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101106689B1 (en) * 2007-02-26 2012-01-18 한국과학기술원 Apparatus and method for allocating uplink radio resource in wideband wireless communication system
CN102714650B (en) * 2010-03-18 2015-10-21 上海贝尔股份有限公司 Method of uplink transmission, base station and via node

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010097021A1 (en) * 2009-02-26 2010-09-02 中国移动通信集团公司 Random access control method, system and device
CN101932041A (en) * 2009-06-19 2010-12-29 中兴通讯股份有限公司 Method and device for maintaining relay node connection
EP2600671A1 (en) * 2010-08-24 2013-06-05 Huawei Technologies Co., Ltd. Method, device and system for resource immediate assignment
CN105474737A (en) * 2014-07-31 2016-04-06 华为技术有限公司 Relay implementing method and device
CN105578603A (en) * 2014-10-17 2016-05-11 中国移动通信集团浙江有限公司 Data service assigning method and device
CN109314912A (en) * 2018-09-29 2019-02-05 北京小米移动软件有限公司 Method for network access, device and storage medium
WO2021214095A1 (en) * 2020-04-22 2021-10-28 Koninklijke Philips N.V. Enhanced scheduling in wireless networks with relay function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NB-IoT资源调度技术以及优化策略;曹祥风;《电子技术与软件工程》;20180824(第16期);全文 *

Also Published As

Publication number Publication date
CN114666916A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN114666912B (en) Method, device, computer equipment and system for requesting uplink resource
US11792828B2 (en) Resource allocation method, first device, and second device
CN112203336B (en) Wireless access control method, device and system
EP2692189B1 (en) Random access data channel for machine type communications
WO2020088688A1 (en) Resource configuration method and device
US11317425B2 (en) Data transmission method, related device, and system
CN109640289B (en) Communication method and device, and communication system
CN109151914B (en) Communication method and access network equipment
EP3537819B1 (en) Resource scheduling method and base station
US20140247785A1 (en) Method, terminal, and base station for cooperative communication
CN115278903B (en) Method, relay terminal, device and system for requesting uplink resource
JP7453422B2 (en) Wireless communication methods and devices, terminals and storage media
CN114666916B (en) Method, relay terminal, device and system for requesting uplink resource
CN112398626B (en) Information transmission method, communication device and system
CN104935375A (en) Method, system and device for carrying out service relay for first standard terminal
CN110506433B (en) Method, device and storage medium for detecting unauthorized channels
CN116321484A (en) Data processing method and device, communication equipment and storage medium
WO2018170877A1 (en) Information sending method and apparatus, terminal, access network device and system
EP3182786B1 (en) Data transmission method and terminal
US20220046756A1 (en) Communication method, communication apparatus, and terminal device
CN102457928B (en) Frequency migration triggers and frequency moving method, system and equipment
WO2016064197A1 (en) Method and system for minimizing channel preservation time in cellular communications on un-licensed band
CN113873547A (en) Resource allocation method and device
CN115278904B (en) Method, relay terminal, device and system for requesting uplink resources
EP4052527A1 (en) Method and apparatus for switching of data transmission between radio access technologies for early data transmission

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