CN115278903B - 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
CN115278903B
CN115278903B CN202211178930.7A CN202211178930A CN115278903B CN 115278903 B CN115278903 B CN 115278903B CN 202211178930 A CN202211178930 A CN 202211178930A CN 115278903 B CN115278903 B CN 115278903B
Authority
CN
China
Prior art keywords
uplink data
data
uplink
currently received
sent
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
CN202211178930.7A
Other languages
Chinese (zh)
Other versions
CN115278903A (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 CN202211178930.7A priority Critical patent/CN115278903B/en
Publication of CN115278903A publication Critical patent/CN115278903A/en
Application granted granted Critical
Publication of CN115278903B publication Critical patent/CN115278903B/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/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
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/155Ground-based stations
    • H04B7/15528Control of operation parameters of a relay station to exploit the physical medium
    • H04B7/15542Selecting at relay station its transmit and receive resources

Landscapes

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

Abstract

The embodiment of the application provides a method, a relay terminal, a device and a system for requesting uplink resources, wherein the relay terminal receives uplink data sent by one or more intelligent household devices; determining whether the received service type of each uplink data and the total data volume of all uplink data of each service type reach corresponding threshold values; when the total data volume of all uplink data of a certain service type reaches a corresponding threshold value, immediately requesting a base station for transmitting uplink resources required by all uplink data of the service type; otherwise, caching the uplink data of the currently received service type, continuously receiving the uplink data of the service type until the total data volume of all the uplink data of the service type reaches the corresponding threshold value, and immediately requesting uplink resources from the base station. Therefore, 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, and the reduction of the communication quality is 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, a relay terminal, a device and a system for requesting uplink resources.
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 becoming more common, for example, smart home devices include smart tvs, conference terminals, projectors, refrigerators, washing machines, monitoring devices, and the like.
In the prior art, when a large number of smart home devices operate simultaneously, some smart home devices send large amounts of uplink data, and some smart home devices send small amounts of data, and if an uplink resource is requested each time for transmitting each uplink data, and a long time is required for receiving the uplink data with large data amount, the uplink resource is requested to wait for a long time, which not only increases the load of the communication network, increases the scheduling task of the data plane, and causes the decrease of communication quality, but also prolongs the time for sending the uplink data.
Disclosure of Invention
Embodiments of the present application provide a method, a relay terminal, an apparatus, and a system for requesting uplink resources, which overcome the above problems or at least partially solve the above problems.
A first aspect of the present application provides a method for requesting uplink resources, including:
step S301, a relay terminal receives uplink data sent by one or more intelligent household devices;
step S302, the relay terminal determines the service type of each uplink data currently received and determines whether the total data volume of all uplink data of each service type reaches a corresponding threshold value;
step S303, when the relay terminal determines that the total data volume of all uplink data of the current service type reaches the corresponding threshold value, immediately requesting the base station for transmitting uplink resources required by all uplink data of the service type; when the relay terminal determines that the total data volume of all uplink data of the current service type does not reach the corresponding threshold value, the uplink data of the currently received service type is cached, the uplink data of the service type is continuously received until the total data volume of all uplink data of the service type reaches the corresponding threshold value, and uplink resources required by transmission of all uplink data of the service type are immediately requested from the base station.
In an optional implementation manner, the relay terminal sets a threshold value for triggering the data volume of the request uplink resource for uplink data of each service type; or the relay terminal receives the threshold value of the data quantity of the triggering request uplink resource for the uplink data of each service type sent by the base station.
In an optional implementation manner, a relay terminal sends a resource request message to a base station, where the resource request message is used to request the base station to transmit uplink resources required by all uplink data of a service type, the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, the number of the channel identifiers of the second-type data transmission channels is equal to the sum of the number of smart home devices that send all uplink data of the service type, the channel identifier of the second-type data transmission channel is used to indicate one second-type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by all uplink data of the service type.
A second aspect of the present application provides a relay terminal, including: the device comprises a connecting module, a receiving module, a processing module, a caching module and a sending module;
the connection module is used for establishing communication connection with one or more intelligent household devices;
the receiving module is used for receiving uplink data sent by one or more intelligent household devices;
the processing module is used for determining the service type of each uplink data received currently and determining whether the total data volume of all uplink data of each service type reaches a corresponding threshold value;
the sending module is used for immediately requesting the base station for transmitting uplink resources required by all uplink data of the service type when the processing module determines that the total data volume of all uplink data of the current service type reaches the corresponding threshold value;
the buffer module is used for buffering the uplink data of the currently received service type when the processing module determines that the total data volume of all the uplink data of the current service type does not reach the corresponding threshold value;
the receiving module is also used for continuously receiving the uplink data of the service type after the uplink data of the service type is cached by the caching module;
the sending module is further configured to immediately request the base station for transmitting uplink resources required by all uplink data of the service type when the receiving module continues to receive the uplink data of the service type until the processing module determines that the total data amount of all uplink data of the service type reaches the corresponding threshold value.
In an optional implementation manner, the sending module is configured to send a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by all uplink data of the service type, the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, the number of the channel identifiers of the second-type data transmission channels is equal to the sum of the numbers of smart home devices that send all uplink data of the service type, the channel identifier of the second-type data transmission channel is used to indicate one second-type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by all uplink data of the service type.
A third aspect of the present application provides an apparatus for requesting uplink resources, where the apparatus includes: the system comprises a communication interface, a receiver, a first processor, a buffer and a transmitter;
the communication interface is used for establishing communication connection with one or more intelligent household devices;
the receiver is used for receiving uplink data sent by one or more pieces of intelligent household equipment;
the first processor is used for determining the service type of each uplink data received currently and determining whether the total data volume of all uplink data of each service type reaches a corresponding threshold value or not;
a transmitter, configured to immediately request, from a base station, uplink resources required for transmitting all uplink data of a current service type when the first processor determines that a total data amount of all uplink data of the current service type reaches a corresponding threshold value;
the buffer is used for buffering the uplink data of the currently received service type when the first processor determines that the total data volume of all the uplink data of the current service type does not reach the corresponding threshold value;
the receiver is further configured to continue to receive the uplink data of the service type after the buffer buffers the uplink data of the currently received service type;
the transmitter is further configured to immediately request the base station for uplink resources required for transmitting all uplink data of the service type when the receiver continues to receive the uplink data of the service type until the first processor determines that the total data amount of all uplink data of the service type reaches the corresponding threshold value.
In an optional implementation manner, the transmitter is configured to send a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by all uplink data of the service type, the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, the number of the channel identifiers of the second-type data transmission channels is equal to the sum of the numbers of smart home devices that send all uplink data of the service type, the channel identifier of the second-type data transmission channel is used to indicate one second-type data transmission channel between the apparatus that requests the uplink resources and the base station, and the uplink resource information is used to indicate uplink resources required by all uplink data of the service type.
A fourth aspect of the embodiments of the present application provides an intelligent home device system, including: a relay terminal for broadcasting a discovery signal for establishing a communication connection; the intelligent home equipment is used for sending a connection request when the discovery signal is detected; the relay terminal is further used for establishing communication connection with one or more intelligent home devices according to the connection request, and executing the method for requesting the uplink resource in any one of the above embodiments after establishing communication connection with one or more intelligent home devices.
In a fifth aspect of the embodiments of the present application, a computer device is provided, which includes a memory and a second processor, where the memory stores a computer program, and the second processor implements, when executing the computer program, the steps of the method for requesting uplink resources according to any one of the above embodiments.
A sixth aspect of the embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for requesting uplink resources as in any one of the above embodiments.
In summary, the uplink data of each service type of the relay terminal sets a data volume threshold for triggering the request of the uplink resource, and only when the data volume of all the uplink data of the same service type reaches the corresponding data volume threshold, the uplink resource is requested from the base station, otherwise, the uplink data of the service type is continuously received until the data volume of all the uplink data of the service type reaches the corresponding data volume threshold, and the uplink resource is not required to be immediately requested for transmitting the uplink data when the uplink data transmitted by any one smart home device is received, so when a large number of smart home devices operate simultaneously, the scheduling task of the data plane can be reduced, the load of the communication network is reduced, the communication quality is improved, the reduction of the communication quality is avoided, and the uplink resource is requested in time, so that the uplink data can be transmitted as soon as possible.
A seventh aspect of the present application provides a method for requesting uplink resources, including:
step S401, a relay terminal receives one or more uplink data sent by one or more intelligent household devices;
step S402, the relay terminal determines whether uplink data to be sent are stored, and if the uplink data to be sent are stored in the relay terminal, step S403 is executed; if the relay terminal does not store the uplink data to be sent, executing step S404;
step S403, the relay terminal determines whether the total data amount of the stored uplink data to be sent and the uplink data currently received reaches a threshold, and if the total data amount of the stored uplink data to be sent and the uplink data currently received reaches the threshold, step S410 is executed; if the total data amount of the stored uplink data to be sent and the stored uplink data currently received is smaller than the threshold value, executing step S405;
step S404, the relay terminal determines whether the data volume of the currently received uplink data reaches a threshold value, if the data volume of the currently received uplink data reaches the threshold value, step S409 is executed, and if the data volume of the currently received uplink data is smaller than the threshold value, step S405 is executed;
step S405, the relay terminal caches the currently received uplink data, and then executes step S406;
step S406, the relay terminal continues to receive other uplink data of any service type sent by any intelligent household equipment, and then step S407 is executed;
step S407, the relay terminal determines whether the total data volume of all the current uplink data reaches a threshold, if the total data volume of all the current uplink data reaches the threshold, step S408 is executed, and if the total data volume of all the current uplink data is smaller than the threshold, step S406 is executed again;
step S408, the relay terminal immediately requests the base station for transmitting uplink resources required by all current uplink data;
step S409, the relay terminal immediately requests the base station for transmitting the uplink resource required by the currently received uplink data;
step S410, the relay terminal immediately requests the base station to transmit the stored uplink data to be transmitted and the uplink resource required by the currently received uplink data.
In an optional implementation manner, the relay terminal sets a threshold value for triggering the data amount of the uplink data requesting the uplink resource, or the base station sets a threshold value for triggering the data amount of the uplink data requesting the uplink resource by the relay terminal, and sends the threshold value to the relay terminal.
In an optional implementation manner, a relay terminal immediately sends a resource request message to a base station, where the resource request message is used to request the base station to transmit uplink resources required by currently received uplink data, the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, the number of the channel identifiers of the second-type data transmission channels is equal to a product value of the number of smart home devices that send the currently received uplink data and the number of service types of the currently received uplink data, the channel identifier of each second-type data transmission channel is used to indicate one second-type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by transmitting the currently received uplink data.
In an optional implementation manner, a relay terminal immediately sends a resource request message to a base station, where the resource request message is used to request the base station to transmit uplink resources required by all current uplink data, the resource request message includes a channel identifier of at least one second-class data transmission channel and uplink resource information, the number of the channel identifiers of the second-class data transmission channels is equal to a product value of the number of smart home devices that send all current uplink data and the number of service types of all current uplink data, the channel identifier of each second-class data transmission channel is used to indicate one second-class data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by all current uplink data transmission.
In an optional implementation manner, a relay terminal immediately sends a resource request message to a base station, where the resource request message is used to request the base station to transmit uplink resources required by stored uplink data to be sent and currently received uplink data, the resource request message includes channel identifiers and uplink resource information of at least one second-class data transmission channel, the number of the channel identifiers of the second-class data transmission channels is equal to a product value of the number of smart home devices that send the stored uplink data to be sent and currently received uplink data and the number of service types of the stored uplink data to be sent and currently received uplink data, the channel identifier of each second-class data transmission channel is used to indicate one second-class data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by the stored uplink data to be sent and currently received uplink data.
An eighth aspect of the present application provides a relay terminal, including: the device comprises a connecting module, a receiving module, a processing module, a caching module and a sending module;
the connection module is used for establishing communication connection with one or more intelligent household devices;
the receiving module is used for receiving one or more uplink data sent by one or more intelligent household devices;
the processing module is used for determining whether uplink data to be sent are stored, and if the uplink data to be sent are stored in the cache module, determining whether the total data quantity of the stored uplink data to be sent and the currently received uplink data reaches a threshold value; if the cache module does not store the uplink data to be sent, determining whether the data volume of the currently received uplink data reaches a threshold value;
the buffer module is used for buffering the currently received uplink data when the processing module determines that the total data quantity of the stored uplink data to be sent and the currently received uplink data is smaller than a threshold value or determines that the data quantity of the currently received uplink data is smaller than the threshold value;
the receiving module is also used for continuing to receive other uplink data of any service type sent by any intelligent household equipment after the caching module caches the currently received uplink data;
the processing module is further used for determining whether the total data volume of all current uplink data reaches a threshold value when the receiving module continues to receive other uplink data of any service type sent by any intelligent household equipment;
the receiving module is further used for continuously receiving other uplink data of any service type sent by any intelligent household equipment when the processing module determines that the total data volume of all current uplink data is smaller than the threshold value;
a sending module, configured to immediately request the base station for uplink resources required for transmitting all current uplink data when a total data amount of all current uplink data reaches a threshold; when the data volume of the currently received uplink data reaches a threshold value, immediately requesting a base station for transmitting uplink resources required by the currently received uplink data; and when the total data quantity of the stored uplink data to be sent and the currently received uplink data reaches a threshold value, immediately requesting the base station for transmitting the stored uplink data to be sent and the uplink resources required by the currently received uplink data.
A ninth aspect of the present application provides an apparatus for requesting uplink resources, including: the system comprises a communication interface, a receiver, a first processor, a buffer and a transmitter;
the communication interface is used for establishing communication connection with one or more intelligent household devices;
the receiver is used for receiving one or more uplink data sent by one or more intelligent household devices;
the first processor is used for determining whether uplink data to be sent are stored or not, and if the uplink data to be sent are stored in the buffer, determining whether the total data volume of the stored uplink data to be sent and the currently received uplink data reaches a threshold value or not; if the buffer does not store the uplink data to be sent, determining whether the data volume of the currently received uplink data reaches a threshold value;
the buffer is used for buffering the currently received uplink data when the first processor determines that the total data quantity of the stored uplink data to be transmitted and the currently received uplink data is smaller than a threshold value or determines that the data quantity of the currently received uplink data is smaller than the threshold value;
the receiver is also used for continuously receiving other uplink data of any service type sent by any intelligent household equipment after the buffer caches the currently received uplink data;
the first processor is further configured to determine whether the total data volume of all current uplink data reaches a threshold value when the receiver continues to receive other uplink data of any service type sent by any smart home device;
the receiver is further configured to continue to receive other uplink data of any service type sent by any smart home device when the first processor determines that the total data amount of all current uplink data is smaller than the threshold value;
a transmitter, configured to immediately request a base station for uplink resources required for transmitting all current uplink data when a total data amount of all current uplink data reaches a threshold; when the data volume of the currently received uplink data reaches a threshold value, immediately requesting a base station for transmitting uplink resources required by the currently received uplink data; and when the total data quantity of the stored uplink data to be sent and the currently received uplink data reaches a threshold value, immediately requesting the base station for transmitting the stored uplink data to be sent and the uplink resources required by the currently received uplink data.
A tenth aspect of the present application provides an intelligent home device system, including:
a relay terminal for broadcasting a discovery signal for establishing a communication connection;
the intelligent home equipment is used for sending a connection request when the discovery signal is detected;
the relay terminal is further used for establishing communication connection with one or more intelligent household devices according to the connection request and executing the method for requesting the uplink resource in any embodiment.
An eleventh aspect of the present application provides a computer device, including a memory and a second processor, where the memory stores a computer program, and the second processor implements the method for requesting uplink resources according to any one of the embodiments when executing the computer program.
A twelfth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for requesting uplink resources according to any one of the embodiments.
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 for a large number of smart home devices, uplink data transmitted from each smart home device is received by the relay terminal, and when determining that the data volume of the uplink data received by the relay terminal reaches the threshold value, the relay terminal requests the base station for uplink resources, instead of requesting the uplink resources for transmitting the uplink data immediately when receiving the uplink data sent by any one smart home device, 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 is reduced, communication quality is improved, and reduction of communication quality is avoided.
A thirteenth aspect of the present application provides a method for requesting uplink resources, including:
step S501, a relay terminal receives uplink data sent by intelligent household equipment;
step S502, the relay terminal determines the transmission priority of the currently received uplink data and the identity of the intelligent household equipment;
step S503, the relay terminal inquires whether other uplink data of the transmission priority of the intelligent household equipment to be sent exist according to the transmission priority and the identity, if other uplink data of the transmission priority of the intelligent household equipment to be sent exist, step S505 is executed, and if other uplink data of the transmission priority of the intelligent household equipment to be sent do not exist, step S504 is executed;
step S504, the relay terminal determines whether the data amount of the currently received uplink data reaches a threshold, and if the data amount of the currently received uplink data reaches the threshold, step S508 is executed; if the data amount of the currently received uplink data is smaller than the threshold value, step S506 is executed;
step S505, the relay terminal determines whether the total data amount of the currently received uplink data and other uplink data reaches a threshold, and if the total data amount of the currently received uplink data and other uplink data reaches the threshold, step S509 is executed; if the total data volume of the currently received uplink data and other uplink data is less than the threshold value, executing step S506;
step S506, the relay terminal caches the currently received uplink data, continues to receive the uplink data of the transmission priority sent by the intelligent household equipment until the total data volume of all the uplink data of the transmission priority of the intelligent household equipment reaches a threshold value, and then executes step S507;
step S507, the relay terminal immediately requests the base station for transmitting all uplink resources required by the uplink data;
step S508, the relay terminal immediately requests the base station for transmitting the uplink resource needed by the currently received uplink data;
step S509, the relay terminal immediately requests the base station for uplink resources required for transmitting the currently received uplink data and other uplink data.
In an optional implementation manner, the relay terminal analyzes currently received uplink data to obtain the transmission delay or the importance level of the currently received uplink data; and the relay terminal determines the transmission priority of the currently received uplink data according to the transmission delay or the importance level of the currently received uplink data.
In an optional implementation manner, the relay terminal sets a threshold value for triggering the request uplink resource for the uplink data of the transmission priority of the smart home device, or the base station sets a threshold value for triggering the request uplink resource for the uplink data of the transmission priority of the smart home device, and sends the threshold value to the relay terminal.
In an optional implementation manner, the relay terminal sends a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by all uplink data, the resource request message includes a channel identifier of a second type data transmission channel and uplink resource information, the channel identifier of the second type data transmission channel is used to indicate the second type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by transmitting all uplink data.
In an optional implementation manner, the relay terminal sends a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by currently received uplink data, the resource request message includes a channel identifier of a second type data transmission channel and uplink resource information, the channel identifier of the second type data transmission channel is used to indicate the second type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by currently received uplink data.
In an optional implementation manner, the relay terminal sends a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by currently received uplink data and other uplink data, the resource request message includes a channel identifier of a second type data transmission channel and uplink resource information, the channel identifier of the second type data transmission channel is used to indicate a second type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by transmitting currently received uplink data and other uplink data.
A fourteenth aspect of the present application provides a relay terminal, comprising: the device comprises a connecting module, a receiving module, a processing module, a caching module and a sending module;
the connection module is used for establishing communication connection with the intelligent household equipment;
the receiving module is used for receiving uplink data sent by the intelligent household equipment;
the processing module is used for determining the transmission priority of the uplink data currently received by the receiving module and the identity of the intelligent home equipment; inquiring whether other uplink data of the transmission priority of the intelligent household equipment to be sent exist or not according to the transmission priority and the identity; when other uplink data of the transmission priority of the intelligent home equipment to be sent are inquired, determining whether the total data volume of the currently received uplink data and the other uplink data reaches a threshold value; when other uplink data of the transmission priority of the intelligent household equipment to be sent are not inquired, determining whether the data volume of the currently received uplink data reaches a threshold value or not;
the buffer module is used for buffering the currently received uplink data when the data volume of the currently received uplink data is smaller than a threshold value or when the total data volume of the currently received uplink data and other uplink data is smaller than the threshold value;
the receiving module is further configured to continue receiving the uplink data of the transmission priority sent by the smart home device until a total data amount of all uplink data of the transmission priority of the smart home device reaches a threshold value when the cache module caches the currently received uplink data;
a sending module, configured to immediately request a base station for uplink resources required for transmitting all uplink data when a total data amount of all uplink data reaches a threshold;
the sending module is further used for immediately requesting the base station for transmitting the uplink resources required by the currently received uplink data when the data volume of the currently received uplink data reaches a threshold value;
and the sending module is further used for immediately requesting the base station for transmitting the uplink resources required by the currently received uplink data and other uplink data when the total data volume of the currently received uplink data and other uplink data reaches a threshold value.
A fifteenth aspect of the present application provides an apparatus for requesting uplink resources, including: the system comprises a communication interface, a receiver, a first processor, a buffer and a transmitter;
the communication interface is used for establishing communication connection with the intelligent household equipment;
the receiver is used for receiving uplink data sent by the intelligent household equipment;
the first processor is used for determining the transmission priority of the uplink data currently received by the receiver and the identity of the intelligent home equipment; inquiring whether other uplink data of the transmission priority of the intelligent household equipment to be sent exist or not according to the transmission priority and the identity; when other uplink data of the transmission priority of the intelligent home equipment to be sent are inquired, determining whether the total data volume of the currently received uplink data and the other uplink data reaches a threshold value; when other uplink data of the transmission priority of the intelligent household equipment to be sent are not inquired, determining whether the data volume of the currently received uplink data reaches a threshold value or not;
the buffer is used for buffering the currently received uplink data when the data volume of the currently received uplink data is smaller than a threshold value or when the total data volume of the currently received uplink data and other uplink data is smaller than the threshold value;
the receiver is further configured to, when the buffer caches currently received uplink data, continue to receive the uplink data of the transmission priority sent by the smart home device until a total data amount of all uplink data of the transmission priority of the smart home device reaches a threshold value;
the transmitter is used for immediately requesting the base station for transmitting uplink resources required by all uplink data when the total data volume of all uplink data reaches a threshold value;
the transmitter is further used for immediately requesting the base station for transmitting the uplink resources required by the currently received uplink data when the data volume of the currently received uplink data reaches a threshold value;
and the transmitter is also used for immediately requesting the base station for transmitting the uplink resources required by the currently received uplink data and other uplink data when the total data quantity of the currently received uplink data and other uplink data reaches a threshold value.
A sixteenth aspect of the present application provides a smart home device system, including:
a relay terminal for broadcasting a discovery signal for establishing a communication connection;
the intelligent home equipment is used for sending a connection request when the discovery signal is detected;
and the relay terminal is also used for establishing communication connection with the intelligent household equipment according to the connection request and executing the method for requesting the uplink resource in any embodiment.
A seventeenth aspect of the present application provides a computer device, including a memory and a second processor, where the memory stores a computer program, and the second processor implements the method for requesting uplink resources according to any one of the embodiments when executing the computer program.
An eighteenth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for requesting uplink resources according to any one of the embodiments.
To sum up, a threshold value for triggering the request of the uplink resource data amount is set for the uplink data of each transmission priority of each smart home device, so as to uniformly request the uplink resources, the uplink resources required by the request are requested only once when the data amount of the uplink data of the same transmission priority of the same smart home device reaches the preset threshold value, and when the data amount of the uplink data of the same transmission priority of the same smart home device does not reach the preset threshold value, the uplink resources are cached first, and when the uplink data of the same transmission priority of the smart home device is received next time and the total data amount reaches the preset threshold value, the corresponding uplink resources are requested, so that the uplink resources are requested immediately when the relay terminal receives the uplink data, the number of requests can be reduced, the resources are saved, the scheduling tasks of the data plane can be reduced, the load of the communication network is reduced, the communication quality is improved, and the reduction of the communication quality is avoided.
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 based on the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for establishing a communication connection by using smart home devices according to an embodiment of the present application.
Fig. 2 is a schematic diagram of connection of data transmission channels among a base station, a relay terminal, and smart home devices according to an embodiment of the present application.
Fig. 3 is a flowchart illustrating a method for requesting uplink resources according to an embodiment of the present application.
Fig. 4 is a flowchart illustrating another method for requesting uplink resources according to an embodiment of the present application.
Fig. 5 is a flowchart illustrating another method for requesting uplink resources according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a relay terminal according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an apparatus for requesting uplink resource according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an intelligent home device system according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a computer device according to an embodiment 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.
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. One skilled in the art explicitly and implicitly understands that one embodiment described herein may be combined with another embodiment.
Furthermore, the terms "first," "second," and the like in the description and claims of this application or in the foregoing drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential order, either explicitly or implicitly, including one or more of the features.
The term "and/or" herein is merely an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, which 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 associated 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.
As shown in fig. 1, which is a schematic flowchart of a method for establishing a communication connection by using smart home devices according to an embodiment of the present application, the method for establishing a communication connection by using smart home devices may be 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 conference terminal, a dispenser, a doorbell, a refrigerator, a washing machine, a stereo, 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 smart home devices, and one end of the Relay terminal is connected to the smart home devices based on a wired interface or a wireless interface, for example, connected to the smart home devices based on a pc5 interface, bluetooth or WIFI. The other end of the relay terminal is connected with a base station of a communication network based on a wireless interface (for example, uu interface), and the relay terminal can be connected with one or more than two intelligent household devices.
The relay terminal may be a relay device that is set separately, or may be a terminal device that is installed with an Application (APP) having a corresponding relay function, for example, a computer, a smartphone, a tablet computer, and the like.
For example, the relay terminal is started to broadcast the discovery signal or input a connection command for establishing connection with the smart home devices through a computer, a mobile phone terminal or directly on the relay terminal, and after receiving the connection command, the relay terminal broadcasts the discovery signal, 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.
And 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 communication connection with one or more smart home devices sending the connection request according to the received connection request. For simplicity of description, the following embodiments take the example that the plurality of smart home devices include two or more smart home devices as an example for explanation.
After the communication connection is established, in order to realize that the relay terminal forwards data between the intelligent home equipment and the base station, the base station respectively establishes data transmission channels between the relay terminal and the intelligent home equipment and between the relay terminal and the base station, the data transmission channels between the relay terminal and the intelligent home equipment are collectively called first-class data transmission channels, and the data transmission channels between the relay terminal and the base station are collectively called second-class data transmission channels, wherein the first-class data transmission channels and the second-class data transmission channels can be used for transmitting uplink data and downlink data, and each data transmission channel has a unique channel identifier. For example, a plurality of first-type data transmission channels may be established 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 transmission channels may be established between the relay terminal and each smart home device. A plurality of second-type data transmission channels can be established between the relay terminal and the base station, and the number of the second-type data transmission channels can be determined according to the number of all first-type data transmission channels between the relay terminal and the smart home devices connected thereto, so that each first-type data transmission channel can correspond to one second-type data transmission channel, that is, the first-type data transmission channels correspond to the second-type data transmission channels one to one, for example, 256 first-type data transmission channels are established between the relay terminal and the smart home devices connected thereto, and 256 second-type data transmission channels also need to be established between the relay terminal and the base station.
The Service types may be distinguished by Quality of Service (QoS) of data, where different Service types correspond to different QoS, and 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 the same, and if the QoS of the two service data is different, the service types are different.
For example, the correspondence between the service type of the uplink data and the QoS may be as shown in table 1 below.
TABLE 1
Figure 525952DEST_PATH_IMAGE002
In table 1, CS and PS respectively indicate a Circuit Switched (CS) domain and a Packet Switched (PS) domain, and the QoS class is set by the service data according to the QoS attribute of the service to which the service data belongs. Since the signaling is special, its importance is greater than that of the relay terminal 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 the QoS types of the relay terminals such as conversational, streaming, interactive, and background are also given different QoS levels according to their requirements on the QoS.
Because the communication links of the relay terminal and different intelligent household devices are different, the first-class data transmission channels of the relay terminal and different intelligent household devices are necessarily different, and even if the relay terminal transmits data of the same service type, the first-class data transmission channels between the relay terminal and different intelligent household devices are different. Moreover, for the first-class data transmission channels between the relay terminal and the same intelligent home device, the first-class data transmission channels required to be established by the data of different service types are also different, so that even if the same intelligent home device is used, the data of different service types also need to be established by different first-class data transmission channels.
Optionally, for multiple data of the same smart home device and having the same service type, the base station may establish a first-type data transmission channel between the relay terminal and the smart home device, that is, for multiple data of the same smart home device and having the same service type, the base station establishes the same first-type data transmission channel for multiple data of the same service type between the relay terminal and the smart home device, and the multiple data of the same service type may be transmitted through the first-type data transmission channel.
Herein, the first-type data transmission channels are different data transmission channels between the relay terminal and the smart home devices, and are used for transmitting uplink data of different service types sent by different smart home devices, and are identified by channel identifiers of different first-type data transmission channels, and the second-type data transmission channels are different data transmission channels between the relay terminal and the base station, and are used for transmitting uplink data of different service types sent by different smart home devices, and are identified by channel identifiers of different second-type data transmission channels.
As shown in fig. 2, a schematic diagram of connection of data transmission channels among a base station, a relay terminal, and smart home devices in the embodiment of the present application is shown, and a first smart home device 211 and a second smart home device 212 are taken as an example for description.
The first smart home device 211 needs to transmit first data and second data with different QoS, for example, the first data is session CS domain data, the second data is session PS domain data, the first data or the second data may be uplink data or downlink data, the base station 213 establishes a first data transmission channel (with a channel identifier of: a first channel identifier a 11) and a second data transmission channel (with a channel identifier of: a second channel identifier a 12) between the first smart home device 211 and the relay terminal, respectively, where the first data transmission channel is used for transmitting the first data, and the second data transmission channel is used for transmitting the second data.
The second smart home device 212 needs to transmit third data and fourth data with different QoS, for example, the third data is session CS domain data, the fourth data is session PS domain data, the third data or the fourth data may be uplink data or downlink data, the base station 213 establishes a third data transmission channel (channel identifier: a third channel identifier B11) and a fourth data transmission channel (channel identifier: a fourth channel identifier B12) between the second smart home device 212 and the relay terminal, the third data transmission channel is used for transmitting the third data, and the fourth data transmission channel is used for transmitting the fourth data.
The first, second, third and fourth data transmission channels are all first type data transmission channels.
For transmitting the first, second, third and fourth data, the base station 213 respectively establishes a fifth data transmission channel (the channel identifier thereof is: a fifth channel identifier a 21), a sixth data transmission channel (the channel identifier thereof is: a sixth channel identifier a 22), a seventh data transmission channel (the channel identifier thereof is: a seventh channel identifier B21) and an eighth data transmission channel (the channel identifier thereof is: an eighth channel identifier B22) between the base station 213 and the relay terminal, that is, the first data transmission channel corresponds to the fifth data transmission channel, and the fifth data transmission channel is used for transmitting the first data; the second data transmission channel corresponds to a sixth data transmission channel, and the sixth data transmission channel is used for transmitting second data; the third data transmission channel corresponds to a seventh data transmission channel, and the seventh data transmission channel is used for transmitting third data; the fourth data transmission channel corresponds to an eighth data transmission channel, and the eighth data transmission channel is used for transmitting fourth data.
The fifth data transmission channel, the sixth data transmission channel, the seventh data transmission channel and the eighth data transmission channel are all second-class data transmission channels.
When certain intelligent home equipment needs to send uplink data, the uplink data is sent to the relay terminal through the established data transmission channel corresponding to the service type of 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 are a plurality of data with the same QoS, the intelligent household equipment sends the plurality of data to the relay terminal through one data transmission channel corresponding to the QoS. When the uplink data are a plurality of data with different QoS, the intelligent home equipment respectively transmits the plurality of data to the relay terminal through the first type data transmission channel corresponding to the QoS of each uplink data.
Therefore, the relay terminals are arranged between the base station and the intelligent home devices, and data forwarding is carried out through the relay terminals, so that for a large number of intelligent home devices, uplink data transmitted by the intelligent home devices are uniformly received through the relay terminals and then are uniformly forwarded, and the situation that each intelligent home device needs to communicate with the base station is avoided.
Fig. 3 is a flowchart illustrating a method for requesting uplink resources according to another embodiment of the present application, where the method for requesting uplink resources may be described as follows.
In this embodiment, a threshold value for triggering the relay terminal to request the data volume of the uplink resource is set for the uplink data of each service type, and the uplink data is not limited to be sent by the smart home device. For example, the relay terminal sets a data amount threshold for triggering the request uplink resource for the uplink data of each service type, or the base station sets a data amount threshold for triggering the request uplink resource for the uplink data of each service type, and sends the data amount threshold to the relay terminal.
The process of establishing the communication connection between the relay terminal and the one or more smart home devices may refer to the process from step S101 to step S103 in the embodiment of fig. 1, which is not described herein again, and after establishing the communication connection between the relay terminal and the one or more smart home devices, the communication process is as follows.
Step S301, the relay terminal receives uplink data sent by one or more intelligent household devices.
After establishing communication connection with one or more intelligent home devices, the relay terminal receives uplink data sent by the one or more intelligent home devices, and the uplink data currently received by the relay terminal can be the same in service type or different in service type.
For example, the upstream data may include at least one of audio data, video data, image data, text data, log text data, and alarm signaling.
Step S302, the relay terminal determines the currently received service type of each uplink data, and determines whether the total data amount of all uplink data of each service type reaches the threshold value of the corresponding data amount.
For example, when receiving uplink data sent by a certain smart home device, the relay terminal determines a QoS value of the uplink data, determines a corresponding service type according to the QoS value, counts data amount of all uplink data of the service type currently received by the relay terminal, and queries whether a buffer or a memory of the relay terminal stores the uplink data to be sent of the service type.
When the buffer or the memory stores the uplink data to be sent of the service type, the total data volume of all the uplink data of the service type is the sum of the data volume of all the uplink data of the currently received service type and the data volume of the stored uplink data to be sent of the service type. When the buffer or the memory does not store the uplink data to be sent of the service type, the total data volume of all the uplink data of the service type is the data volume of all the uplink data of the currently received service type.
The relay terminal stores the corresponding relation between each service type and the data volume threshold value, and determines whether the total data volume of all uplink data of each service type reaches the corresponding threshold value according to the corresponding relation between each service type and the data volume threshold value. For example, the relay terminal stores a corresponding relationship between the first service type and the first threshold, and the relay terminal determines whether the total data volume of all uplink data of the first service type reaches the first threshold according to the corresponding relationship between the first service type and the first threshold.
For example, a threshold value of a data amount for triggering the request of the uplink resource is set to be N1 for the uplink data of the conversational CS domain, and the first corresponding relationship between the uplink data of the conversational CS domain and N1 is stored in the relay terminal.
If the first service type is the conversational CS domain data, a data volume threshold value corresponding to the conversational CS domain data is found to be N1 according to the first corresponding relation, and the relay terminal judges whether the total data volume of all the conversational CS domain uplink data reaches N1, wherein if the conversational CS domain uplink data is stored before the current conversational CS domain uplink data is received, all the conversational CS domain uplink data comprises the stored conversational CS domain uplink data and all the currently received conversational CS domain uplink data, and if the conversational CS domain uplink data is not stored before the current conversational CS domain uplink data is received, all the conversational CS domain uplink data comprises all the currently received conversational CS domain uplink data.
Step S303, when the relay terminal determines that the total data volume of all uplink data of a certain current service type reaches a corresponding threshold value, immediately requesting the base station for transmitting uplink resources required by all uplink data of the service type; when the relay terminal determines that the total data volume of all uplink data of the current service type does not reach the corresponding threshold value, the currently received uplink data of the service type is cached, the uplink data of the service type is continuously received until the total data volume of all uplink data of the service type reaches the corresponding threshold value, and uplink resources required for transmitting all uplink data of the service type are immediately requested from the base station.
For example, the relay terminal currently receives uplink data of the first and second service types, and immediately requests uplink resources required for transmitting all uplink data of the first service type when the total data amount of all uplink data of the first service type reaches the data amount threshold corresponding to the first service type. When the total data volume of all uplink data of the second service type does not reach the data volume threshold value corresponding to the second service type, caching all uplink data of the currently received second service type, and continuously receiving the uplink data of the second service type until the total data volume of all uplink data of the second service type reaches the threshold value corresponding to the second service type, immediately requesting uplink resources required for transmitting all uplink data of the second service type.
For example, for uplink data of any service type whose total data amount reaches a corresponding threshold value, the relay terminal sends a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by all uplink data of the service type, and the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, and since all uplink data of the service type belong to the same service type, the number of the channel identifiers of the second-type data transmission channel is related to the smart home devices that transmit the uplink data, that is, the number of the channel identifiers of the second-type data transmission channel is equal to the sum of the numbers of the smart home devices that transmit all uplink data of the service type, and the uplink resource information is used to indicate uplink resources required by transmitting all uplink data of the service type.
For example, if all uplink data of the first service type are from the same smart home device, for example, the first smart home device, the resource request message includes a channel identifier of a second type data transmission channel and uplink resource information, where the channel identifier is used to indicate the second type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required for transmitting all uplink data of the first service type.
If all uplink data of the first service type come from at least two different intelligent home devices, that is, the first type data transmission channels for sending the uplink data are different, the resource request message includes uplink resource information and channel identifiers of the second type data transmission channels corresponding to each first type data transmission channel for sending the uplink data (that is, may also be referred to as corresponding to each intelligent home device), the number of the channel identifiers of the second type data transmission channels is equal to the sum of the number of all intelligent home devices for sending the uplink data, each channel identifier is used for indicating one second type data transmission channel between the relay terminal and the base station, and the uplink resource information is used for indicating uplink resources required for transmitting all uplink data of the first service type.
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 bins, frequency bands, subcarrier spacing, power, and format (e.g., modulation coding scheme or code rate).
Step S304, the base station allocates corresponding uplink resources and sends the uplink resources to the relay terminal, and the relay terminal sends corresponding uplink data by using the received uplink resources.
For example, when the relay terminal requests the base station for transmitting uplink resources required for all uplink data of a certain service type, the base station allocates the uplink resources required for transmitting all uplink data of the service type and sends the uplink resources to the relay terminal, and the relay terminal transmits the uplink resources required for all uplink data of the service type by using the received uplink resources.
When the uplink data of the service type is stored in the relay terminal and/or the relay terminal continues to receive the uplink data of the service type, all the uplink data of the service type may further include the uplink data of the service type stored in the relay terminal and/or the uplink data of the service type continuously received by the relay terminal after the uplink data of the service type is currently received.
In this embodiment, a threshold value for triggering the request of the data amount of the uplink resource is set for uplink data of each service type, so as to uniformly request the uplink resources, the uplink resources required are requested only once when the total data amount of the uplink data of the same service type reaches a preset threshold value, and when the data amount of the uplink data of the same service type does not reach the preset threshold value, the uplink resources are buffered first, and when the uplink data of the same service type is received next time and the total data amount reaches the preset threshold value, the corresponding uplink resources are requested, so that the uplink resources are requested immediately after the uplink data is received by the relay terminal, the number of requests can be reduced, resources are saved, scheduling tasks of a data plane can be reduced, the load of a communication network is reduced, the communication quality is improved, the communication quality is prevented from being reduced, and the uplink resources are requested in time, so as to transmit the uplink data as soon as possible.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a relay terminal according to an embodiment of the present application, where the relay terminal includes: the device comprises a connection module 41, a receiving module 42, a processing module 43, a buffering module 44 and a sending module 45, wherein the modules can be connected with each other in a communication mode.
And the connection module 41 is configured to establish a communication connection with one or more smart home devices. The process of establishing the communication connection by the connection module 41 may refer to steps S101 to S103 in the embodiment of fig. 1, which are not described herein again.
The receiving module 42 is configured to receive uplink data sent by one or more smart home devices, and a specific implementation process may refer to step S301 in the embodiment in fig. 3, which is not described herein again.
The processing module 43 is configured to determine a service type of each currently received uplink data, and determine whether a total data amount of all uplink data of each service type reaches a corresponding threshold, where a specific implementation process may refer to step S302 in the embodiment in fig. 3, and details are not repeated here.
The sending module 45 is configured to immediately request the base station for uplink resources required for transmitting all uplink data of a certain service type when the processing module 43 determines that the total data amount of all uplink data of the certain service type reaches the corresponding threshold value, and a specific implementation process may refer to step S303 in the embodiment of fig. 3, which is not described herein again.
The caching module 44 is configured to cache the currently received uplink data of the service type when the processing module 43 determines that the total data amount of all uplink data of the current service type does not reach the corresponding threshold, and a specific implementation process may refer to step S303 in the embodiment in fig. 3, which is not described herein again.
The receiving module 42 is further configured to continue to receive the uplink data of the service type after the caching module 44 caches the currently received uplink data of the service type, and a specific implementation process may refer to step S303 in the embodiment of fig. 3, which is not described herein again.
The sending module 45 is further configured to immediately request the base station for uplink resources required for transmitting all uplink data of the service type when the receiving module 42 continues to receive the uplink data of the service type and until the processing module 43 determines that the total data amount of all uplink data of the service type reaches the corresponding threshold value, where the specific implementation process may refer to step S303 in the embodiment of fig. 3, and details are not described here.
The sending module 45 is further configured to receive an uplink resource allocated and sent by the base station, and send corresponding uplink data by using the received uplink resource, where the specific implementation process may refer to step S304 in the embodiment in fig. 3, and details are not described here.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an apparatus for requesting uplink resource according to an embodiment of the present application, and as shown in fig. 7, the apparatus for requesting uplink resource includes: a communication interface 51, a receiver 52, a first processor 53, a buffer 54 and a transmitter 55. These components communicate with each other via one or more communication buses/signal lines.
It is understood that the structure shown in fig. 7 is only an illustration, and the apparatus for requesting uplink resource may further include more or less components than those shown in fig. 7, or have a different configuration than that shown in fig. 7. The components shown in fig. 7 may be implemented in hardware, software, or a combination thereof.
In the embodiment of the present application, the first processor 53 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data Processing chip. The first processor 53 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 receiver 52 and the transmitter 55 may be radio frequency modules, and are configured to receive and transmit electromagnetic waves, so as to convert the electromagnetic waves into electrical signals, and thus communicate with a communication network or other devices. Receiver 52 and transmitter 55 may include various existing circuit elements for performing these functions, such as an antenna or a radio frequency transceiver.
The communication interface 51, 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 communicating with the intelligent household equipment can be a pc5 interface, bluetooth or WIFI.
And the communication interface 51 is used for establishing communication connection with one or more intelligent household devices. The process of establishing the communication connection by the communication interface 51 may refer to steps S101 to S103 in the embodiment of fig. 1, which are not described herein again.
The receiver 52 is configured to receive uplink data sent by one or more smart home devices, and a specific implementation process may refer to step S301 in the embodiment in fig. 3, which is not described herein again.
The first processor 53 is configured to determine a service type of each currently received uplink data, and determine whether a total data amount of all uplink data of each service type reaches a corresponding threshold, where a specific implementation process may refer to step S302 in the embodiment of fig. 3, and details are not repeated here.
The transmitter 55 is configured to immediately request the base station for uplink resources required for transmitting all uplink data of a certain service type when the first processor 53 determines that the total data amount of all uplink data of the certain service type reaches the corresponding threshold value, and a specific implementation process may refer to step S303 in the embodiment of fig. 3, which is not described herein again.
The buffer 54 is configured to buffer the currently received uplink data of the service type when the first processor 53 determines that the total data amount of all uplink data of the current service type does not reach the corresponding threshold, where the specific implementation process may refer to step S303 in the embodiment in fig. 3, and is not described herein again.
The receiver 52 is further configured to continue to receive the uplink data of the service type after the buffer 54 buffers the uplink data of the service type currently received, and the specific implementation process may refer to step S303 in the embodiment in fig. 3, which is not described herein again.
The transmitter 55 is further configured to immediately request the base station for uplink resources required for transmitting all uplink data of the service type when the receiver 52 continues to receive the uplink data of the service type and until the first processor 53 determines that the total data amount of all uplink data of the service type reaches the corresponding threshold value, where the specific implementation process may refer to step S303 in the embodiment in fig. 3, and is not described again here.
The transmitter 55 is further configured to receive an uplink resource allocated and sent by the base station, and send corresponding uplink data by using the received uplink resource, where the specific implementation process may refer to step S304 in the embodiment in fig. 3, and details are not repeated here.
Another embodiment of the application also provides an intelligent household equipment system. Referring to fig. 8, the architecture of the smart home device system may include a relay terminal 61, a smart home device 62, and a base station 63. The relay terminal 61, the smart home device 62, and the base station 63 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 61, the smart home devices 62, and the base stations 63 in fig. 8 are merely illustrative. There may be any number of relay terminals 61, smart home devices 62, and base stations 63 as desired for the implementation.
The smart home devices 62 may be smart air conditioners, refrigerator only, smart phones, smart televisions, and the like.
The relay terminal 61 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 61 includes, but is not limited to, any mobile electronic product capable of human-computer interaction with a user through a touch panel, such as a smart phone, a tablet computer, and the like.
In this embodiment, the relay terminal 61 is configured to broadcast a discovery signal of a communication connection.
One or more smart home devices 62 to send a connection request upon detection of the discovery signal.
The relay terminal 61 is further configured to establish a communication connection with one or more smart home devices 62 according to the received connection request, and after establishing a communication connection with one or more smart home devices 62, execute the method for requesting uplink resources as in the above embodiment.
Another embodiment of the present application further provides a computer device, as shown in fig. 9, fig. 9 is a schematic structural diagram of the computer device. The computer arrangement comprises a memory 71 and a second processor 72, the memory 71 having stored therein a computer program, the second processor 72, when executing the computer program, implementing the steps of the method of requesting upstream resources as in any of the embodiments above.
The memory 71 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, a flash memory, or other non-volatile solid-state memory, for example, a flash memory (SD or DX memory, etc.), 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 memory, a magnetic disk, an optical disk, or the like, and the RAM may include a static RAM or a dynamic RAM. In some embodiments, the storage 71 may be an internal storage unit of the computer device, for example, a hard disk or a memory of the computer device. In other embodiments, the memory 71 may be an external storage device of a computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the computer device. In some examples, memory 71 may further include memory located remotely from the computer device, which may be connected to the computer device via 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 71 by the second processor 72 and possibly other components may be under the control of the second processor 72.
For a specific implementation of the second processor 72, reference may be made to an implementation of the first processor 53, which is not described herein again.
The memory 71 may be configured 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 second processor 72 executes various functional applications and data processing by running the software programs and modules stored in the memory 71, so as to implement the method for requesting uplink resources in the embodiment.
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 described as follows.
In this embodiment, the threshold of the data amount of the uplink data triggering the relay terminal to request the uplink resource is set, that is, the threshold of the data amount triggering the request of the uplink resource is set for all the uplink data of all the service types received by the relay terminal, and the service type of the uplink data and the transmission of the uplink data by the smart home device are not limited. For example, the relay terminal sets a threshold value for triggering the amount of uplink data requesting uplink resources, or the base station sets a threshold value for triggering the amount of uplink data requesting uplink resources by the relay terminal, and sends the threshold value to the relay terminal.
After the relay terminal establishes communication connection with one or more smart home devices, the communication process is as follows.
Step S401, the relay terminal receives one or more uplink data sent by one or more intelligent household devices.
The service type of the uplink data received by the relay terminal and the service type transmitted by the smart home device are not limited, and when the relay terminal receives a plurality of uplink data, the service types of the plurality of uplink data may be the same service type, or may be a plurality of service types, for example, a plurality of uplink data of one or more service types transmitted by the same smart home device, or a plurality of uplink data of one or more service types transmitted by a plurality of smart home devices.
The uplink data may include any one of audio data, video data, image data, text data, log text data, and alarm signaling.
Step S402, the relay terminal determines whether uplink data to be sent are stored, and if the uplink data to be sent are stored in the relay terminal, step S403 is executed; if the relay terminal does not store the uplink data to be sent, step S404 is executed.
For example, the relay terminal has a buffer or a memory for buffering or storing the uplink data.
For example, before receiving current uplink data, the relay terminal may have received uplink data of any service type sent by any smart home device, but the data amount of the received uplink data does not reach the threshold value for triggering the request of the uplink resource, so the relay terminal first temporarily stores the uplink data, and does not first request the uplink resource to send the uplink data, and thus the stored uplink data may be referred to as stored uplink data to be sent.
Therefore, when the relay terminal currently receives the uplink data, it determines whether the buffer or the memory thereof stores the uplink data that is received before the uplink data is currently received and that is not transmitted, and if the relay terminal stores the uplink data to be transmitted, step S403 is executed; if the relay terminal does not store the uplink data to be sent, step S404 is executed.
Step S403, the relay terminal determines whether the total data amount of the stored uplink data to be sent and the uplink data currently received reaches a threshold, and if the total data amount of the uplink data to be sent and the uplink data currently received that are stored by the relay terminal reaches the threshold, step S410 is executed; if the total data amount of the uplink data to be transmitted and the uplink data currently received, which are stored in the relay terminal, is less than the threshold value, step S405 is executed.
The uplink data to be sent stored by the relay terminal may be uplink data of one service type, or may also be uplink data of multiple service types, and the service type of the uplink data currently received by the relay terminal may be one of the multiple service types of the uplink data to be sent stored by the relay terminal, or the service type of the uplink data currently received by the relay terminal is different from the service type of the uplink data to be sent stored by the relay terminal.
Step S404, the relay terminal determines whether the data amount of the currently received uplink data reaches a threshold, if the data amount of the currently received uplink data reaches the threshold, step S409 is executed, and if the data amount of the currently received uplink data of the relay terminal is less than the threshold, step S405 is executed.
Since the relay terminal determines that no uplink data is stored therein, the relay terminal determines whether the data amount of the uplink data currently received by the relay terminal reaches a threshold value, if the relay terminal determines that the data amount of the uplink data currently received by the relay terminal reaches the threshold value, step S409 is executed, and if the relay terminal determines that the data amount of the uplink data currently received by the relay terminal is less than the threshold value, step S405 is executed.
In step S405, the relay terminal buffers the currently received uplink data, and then executes step S406.
For example, the relay terminal has a buffer for buffering uplink data, and then performs step S406.
Step S406, the relay terminal continues to receive other uplink data of any service type sent by any smart home device, and then step S407 is executed.
And the relay terminal waits for continuously receiving other uplink data of any service type sent by any intelligent household equipment, and if the intelligent household equipment continues to send other uplink data subsequently, the relay terminal continuously receives other uplink data sent by the intelligent household equipment.
Step S407, the relay terminal determines whether the total data amount of all current uplink data reaches a threshold.
The relay terminal continues to receive other uplink data of any service type sent by any intelligent home equipment, merges the data volume with the received uplink data, determines whether the current all uplink data volume reaches the threshold value in real time until the total data volume of the current all uplink data reaches the threshold value, and executes step S408.
According to different situations that whether the relay terminal stores uplink data before receiving the current uplink data in step S401, the data included in all the current uplink data of the relay terminal is different, for example, when the relay terminal stores uplink data before receiving the current uplink data in step S401, all the current uplink data of the relay terminal includes the current uplink data received in step S401, the uplink data stored before the relay terminal receives the current uplink data in step S401, and other uplink data continuously received in step S406; when the relay terminal does not store uplink data before receiving the current uplink data in step S401, all the current uplink data of the relay terminal includes the current uplink data received in step S401 and the uplink data that the relay terminal continues to receive in step S406.
And if the relay terminal determines that the total data volume of all the current uplink data is smaller than the threshold value, returning to execute the step S406.
Step S408, the relay terminal immediately requests the base station for uplink resources required for transmitting all current uplink data, and then executes step S411.
For example, the relay terminal sends a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by all current uplink data, the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, the number of the channel identifiers of the second-type data transmission channels is equal to a product value of the number of smart home devices that send all current uplink data and the number of service types of all current uplink data, the channel identifier of each second-type data transmission channel is used to indicate one second-type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by all current uplink data transmission.
The channel identifier of the second type data transmission channel included in the resource request message corresponds to the first type data transmission channel for sending the uplink data, so that the first type data transmission channel corresponds to the second type data transmission channel one to one, namely, the channel identifier of the second type data transmission channel included in the resource request message corresponds to the intelligent home equipment for sending the uplink data and the service type of the uplink data one to one.
And if all the uplink data are the uplink data of the same service type sent by the same intelligent household equipment, the resource request message comprises a channel identifier of a second type data transmission channel and uplink resource information.
And if all the uplink data are sent by the N intelligent household devices and comprise M service types, and N and M are positive integers which are more than or equal to 1, the resource request message comprises channel identifiers of NxM second-class data transmission channels and uplink resource information.
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 resources or any combination thereof: frequency bins, frequency bands, subcarrier spacing, power, and format (e.g., modulation coding or code rate).
Step S409, the relay terminal immediately requests the base station for transmitting the uplink resource required by the currently received uplink data.
The relay terminal sends a resource request message to the base station, the resource request message is used for requesting the base station to transmit uplink resources required by currently received uplink data, the resource request message comprises channel identifiers of at least one second-class data transmission channel and uplink resource information, the number of the channel identifiers of the second-class data transmission channel is equal to the product value of the number of intelligent home equipment sending the currently received uplink data and the number of service types of the currently received uplink data, each channel identifier is used for indicating one second-class data transmission channel between the relay terminal and the base station, and the uplink resource information is used for indicating the uplink resources required by transmitting the currently received uplink data.
And if the uplink data currently received by the relay terminal are all uplink data of the same service type sent by the same intelligent household equipment, the resource request message comprises a channel identifier of a second type data transmission channel and uplink resource information.
If the uplink data currently received by the relay terminal is sent by the N smart home devices and includes M service types, and both N and M are positive integers greater than or equal to 1, the resource request message includes channel identifiers of N × M second-type data transmission channels and uplink resource information.
Step S410, the relay terminal immediately requests the base station to transmit the stored uplink data to be transmitted and the uplink resource required by the currently received uplink data.
The relay terminal sends a resource request message to the base station, the resource request message is used for requesting the base station to transmit uplink resources required by stored uplink data to be sent and current received uplink data, the resource request message comprises channel identifiers and uplink resource information of at least one second-class data transmission channel, the number of the channel identifiers of the second-class data transmission channel is equal to the product value of the number of intelligent home equipment for sending the stored uplink data to be sent and the current received uplink data and the number of service types of the stored uplink data to be sent and the current received uplink data, each channel identifier is used for indicating one second-class data transmission channel between the relay terminal and the base station, and the uplink resource information is used for indicating the uplink resources required by the stored uplink data and the current received uplink data.
And if the uplink data stored by the relay terminal and the currently received uplink data are the uplink data of the same service type and sent by the same intelligent household equipment, the resource request message comprises a channel identifier of a second type data transmission channel and uplink resource information.
And if the uplink data stored by the relay terminal and the currently received uplink data are sent by the N intelligent household devices and comprise M service types, and N and M are positive integers which are more than or equal to 1, the resource request message comprises channel identifiers and uplink resource information of N multiplied by M second-type data transmission channels.
After step S408, step S409, and step S410, step S411 is performed.
Step S411, the base station allocates corresponding uplink resources and sends the uplink resources to the relay terminal.
For example, when the relay terminal requests the base station for uplink resources required for transmitting currently received uplink data, the base station allocates the uplink resources required for transmitting the currently received uplink data and sends the uplink resources to the relay terminal, and the relay terminal transmits the currently received uplink data by using the received uplink resources.
When the relay terminal requests the base station for transmitting the uplink resources required by all the current uplink data of the relay terminal, the base station allocates the uplink resources for transmitting all the current uplink data of the relay terminal and sends the uplink resources to the relay terminal, and the relay terminal transmits all the current uplink data of the relay terminal by using the received uplink resources.
When the relay terminal requests the base station for transmitting the uplink data stored by the relay terminal and the uplink resource required by the currently received uplink data, the base station allocates the uplink resource required for transmitting the uplink data stored by the relay terminal and the currently received uplink data and sends the uplink resource to the relay terminal, and the relay terminal transmits the uplink data stored by the relay terminal and the currently received uplink data by using the received uplink resource.
The data volume of the uplink data reaching the threshold refers to determining the data volume of all current uplink data (including currently received, stored and/or continuously received uplink data) of the relay terminal in real time in the process of receiving the uplink data by the relay terminal, and when the data volume is increased to be equal to the threshold, the data volume reaches the threshold.
In this embodiment, a threshold value of the data amount of the uplink data triggering the request of the uplink resource is set at the relay terminal, so as to request the uplink resource uniformly, the uplink resource required is requested only once when the total data amount of all the current uplink data of the relay terminal reaches the preset threshold value, and when the total data amount of all the current uplink data of the relay terminal does not reach the preset threshold value, the currently received uplink data is buffered first, and the uplink data is received next time, and until the total data amount reaches the preset threshold value, the corresponding uplink resource is requested, so that the uplink resource is requested immediately after the uplink data is received by the relay terminal, the number of requests can be reduced, the resource is saved, the scheduling task of the data plane can be reduced, the load of the communication network is reduced, the communication quality is improved, and the reduction of the communication quality is avoided.
In another embodiment of the present application, when the relay terminal of fig. 6 executes the method of fig. 4 for requesting uplink resources, the main procedure is as follows.
And the connection module 41 is configured to establish a communication connection with one or more smart home devices.
The receiving module 42 is configured to receive one or more uplink data sent by one or more smart home devices after the connection module 41 establishes a communication connection with the smart home devices.
The processing module 43 is configured to determine whether the cache module 44 stores uplink data to be sent, and for a specific implementation process of the processing module, reference may be made to step S402 in the embodiment of fig. 4, which is not described herein again.
The processing module 43 is further configured to determine whether a total data amount of the stored uplink data to be sent and the currently received uplink data reaches a threshold value when the cache module 44 determines that the uplink data to be sent is stored, and for a specific implementation process of the processing module, reference may be made to step S403 in the embodiment of fig. 4, which is not described herein again.
The processing module 43 is further configured to determine whether the data amount of the currently received uplink data reaches the threshold value when it is determined that the cache module 44 does not store the uplink data to be sent, which may refer to step S404 in the embodiment of fig. 4, and is not described herein again.
The buffering module 44 is configured to buffer the uplink data when the processing module 43 determines that the total data amount of the stored uplink data to be sent and the uplink data currently received is smaller than a threshold, or when the processing module 43 determines that the data amount of the uplink data currently received is smaller than the threshold. For example, when the processing module 43 determines that the total data amount of the stored uplink data to be sent and the uplink data currently received is smaller than a threshold value or the processing module 43 determines that the data amount of the uplink data is smaller than the threshold value, the buffering module 44 is instructed to buffer the uplink data.
The receiving module 42 is further configured to continue to receive other uplink data of any service type sent by any smart home device after the uplink data is cached by the caching module 44, and a specific implementation process thereof may refer to step S406 in the embodiment of fig. 4, which is not described herein again.
The processing module 43 is further configured to determine whether a total data amount of all current uplink data reaches a threshold when the receiving module 42 continues to receive other uplink data of any service type sent by any smart home device, and for a specific implementation process thereof, reference may be made to step S407 in the embodiment in fig. 4, which is not described herein again.
The sending module 45 is configured to immediately request the base station for uplink resources required for transmitting all current uplink data when the processing module 43 determines that the total data amount of all current uplink data reaches the threshold value, and for a specific implementation process of the sending module, refer to step S408 in the embodiment in fig. 4, which is not described herein again; or, when the processing module 43 determines that the data amount of the currently received uplink data reaches the threshold value, immediately request the base station for transmitting the uplink resource required by the currently received uplink data, where a specific implementation process of the method refers to step S409 in the embodiment in fig. 4, and is not described herein again; or, when the processing module 43 determines that the total data amount of the stored uplink data and the currently received uplink data reaches the threshold, it immediately requests the base station to transmit the stored uplink data and the currently received uplink data, and the specific implementation process thereof refers to step S410 in the embodiment of fig. 4, and is not described again here.
The receiving module 42 is further configured to receive the corresponding uplink resource allocated by the base station.
The sending module 45 is further configured to send corresponding uplink data according to the corresponding uplink resource allocated by the base station, and the specific implementation process may refer to step S411 in the embodiment in fig. 4, which is not described herein again.
According to the technical scheme, the relay terminal is arranged between the base station and the intelligent home devices, and data forwarding is carried out through the relay terminal, so that for a large number of intelligent home devices, uplink data transmitted by each intelligent home device are received through the relay terminal, and when the data volume of the uplink data of one or more service types transmitted by any one or more intelligent home devices reaches a threshold value, the relay terminal requests unified uplink resources to the base station in a unified mode, and does not need to immediately request the uplink resources to transmit the uplink data when the uplink data transmitted by any one intelligent home device is received.
In another embodiment of the present application, when the apparatus for requesting uplink resources of fig. 7 executes the method for requesting uplink resources of fig. 4, a specific working process is as follows.
In this embodiment, the communication interface 51 is configured to establish communication connection with multiple smart home devices.
And the communication interface 51 is used for establishing communication connection with a plurality of intelligent household devices.
The receiver 52 is configured to receive one or more uplink data sent by one or more smart home devices after the communication interface 51 establishes a communication connection with the smart home devices. The process of receiving the uplink data by the receiver 52 may refer to step S401 in the embodiment of fig. 4, and is not described herein again.
The first processor 53 is configured to determine whether the buffer 54 stores uplink data to be sent, and a specific implementation process of the first processor may refer to step S402 in the embodiment of fig. 4, which is not described herein again.
The first processor 53 is further configured to determine whether a total data amount of the stored uplink data to be sent and the currently received uplink data reaches a threshold value when the buffer 54 is determined to store the uplink data to be sent, and for a specific implementation process, refer to step S403 in the embodiment of fig. 4, which is not described herein again.
The first processor 53 is further configured to determine whether a data amount of currently received uplink data reaches a threshold value when it is determined that the buffer 54 does not store uplink data to be sent, which may refer to step S404 in the embodiment of fig. 4 and is not described herein again.
The buffer 54 is configured to buffer the uplink data when the first processor 53 determines that the total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than a threshold value, or the first processor 53 determines that the data amount of the currently received uplink data is smaller than the threshold value. For example, when the first processor 53 determines that the total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than the threshold value, or the first processor 53 determines that the data amount of the uplink data is smaller than the threshold value, the buffer 54 is instructed to buffer the uplink data.
The receiver 52 is further configured to continue to receive other uplink data of any service type sent by any smart home device after the uplink data is buffered in the buffer 54, and for a specific implementation process of the receiver, reference may be made to step S406 in the embodiment of fig. 4, which is not described herein again.
The first processor 53 is further configured to determine whether a total data amount of all current uplink data reaches a threshold value when the receiver 52 continues to receive other uplink data of any service type sent by any smart home device, and a specific implementation process thereof may refer to step S407 in the embodiment in fig. 4, and is not described herein again.
The transmitter 55 is configured to immediately request the base station for transmitting uplink resources required by all current uplink data when the first processor 53 determines that the total data amount of all current uplink data reaches the threshold value, and for a specific implementation process, refer to step S408 in the embodiment of fig. 4, which is not described herein again; or, when the first processor 53 determines that the data amount of the currently received uplink data reaches the threshold value, immediately request the base station for transmitting the uplink resource required by the currently received uplink data, where the specific implementation process refers to step S409 in the embodiment in fig. 4, and is not described herein again; or, when the first processor 53 determines that the total data amount of the stored uplink data and the currently received uplink data reaches the threshold value, immediately request the base station to transmit the stored uplink data and the currently received uplink data, which is a specific implementation process, refer to step S410 in the embodiment of fig. 4 and is not described herein again.
The receiver 52 is further configured to receive the corresponding uplink resource allocated by the base station.
The transmitter 55 is further configured to send corresponding uplink data according to the corresponding uplink resource allocated by the base station, and the specific implementation process may refer to step S411 in the embodiment in fig. 4, which is not described herein again.
When the smart home device system in fig. 8 executes the method for requesting uplink resources in fig. 4, a specific working process may be as follows.
In this embodiment, the relay terminal 61 is configured to broadcast a discovery signal for establishing a communication connection.
One or more smart home devices 62 to send a connection request upon detection of the discovery signal.
The relay terminal 61 is further configured to establish a communication connection with one or more smart home devices 62 according to the received connection request, and execute the method for requesting uplink resources as in any of the above embodiments after establishing a communication connection with one or more smart home devices 62.
When the computer device of fig. 9 executes the method of fig. 4 for requesting uplink resources, a specific working process may be as follows.
The memory 71 may be configured 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 second processor 72 executes various functional applications and data processing by running the software programs and modules stored in the memory 71, so as to implement the method for requesting uplink resources in any of the embodiments described above.
Fig. 5 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.
In this embodiment, a threshold value for triggering the relay terminal to request the data volume of the uplink resource is set for each type of uplink data of the transmission priority of each smart home device. For example, the relay terminal sets a threshold value for triggering the relay terminal to request the uplink data amount of the uplink resource for the uplink data of each transmission priority of each smart home device, or the base station sets a threshold value for triggering the relay terminal to request the uplink data amount of the uplink resource for the uplink data of each transmission priority of each smart home device, and sends the threshold value to the relay terminal.
And step S501, the relay terminal receives uplink data sent by the intelligent household equipment.
After establishing communication connection with the intelligent home equipment, the relay terminal receives uplink data sent by the intelligent home equipment, wherein the uplink data can include any one of audio data, video data, image data, log text data, alarm signaling and text data.
Step S502, the relay terminal determines the transmission priority of the uplink data and the identity of the intelligent household equipment.
For example, the transmission priorities may be distinguished by transmission delays or importance levels of data, different transmission priorities correspond to different transmission delays or importance levels, and the same transmission priority corresponds to the same transmission delay or importance level, where the transmission delay refers to the longest time that uplink data requires transmission to be completed, for example, the transmission delay of interactive real-time data is generally less than 20 milliseconds (ms), the transmission delay of log data is generally greater than 300 milliseconds (ms), and the data importance level refers to the importance of uplink data, for example, the importance of real-time data is greater than the importance of non-real-time data. The smaller the transmission delay or the higher the importance level, the higher the transmission priority, whereas the larger the transmission delay or the lower the importance level, the lower the transmission priority. That is, in this embodiment, whether the transmission priorities of the uplink data are the same is determined according to whether the transmission delays or the importance levels of the uplink data are the same, if the transmission delays or the importance levels of the two uplink data are the same, the transmission priorities of the two uplink data are the same, and if the transmission delays or the importance levels of the two uplink data are different, the transmission priorities of the two uplink data are different.
The relay terminal stores the corresponding relation between the transmission delay and the transmission priority or the corresponding relation between the importance level and the transmission priority, analyzes the uplink data after receiving the uplink data sent by the intelligent household equipment, or obtains the transmission delay or the importance level of the uplink data and the identity of the intelligent household equipment, and determines the transmission priority according to the corresponding relation and the transmission delay or the importance level of the uplink data.
Step S503, the relay terminal queries whether there is other uplink data of the transmission priority of the smart home device to be sent according to the transmission priority and the identity of the smart home device.
For example, the relay terminal queries whether other uplink data which is sent by the smart home device to be sent and has the transmission priority are stored according to the transmission priority of the currently received uplink data and the identity of the smart home device sending the currently received uplink data.
For example, before receiving the current uplink data, the relay terminal may also receive other uplink data that is sent by the smart home device and has the transmission priority, but trigger a condition that requests the uplink resource so that the uplink resource is not sent to the base station, but is buffered as the uplink data to be sent.
If other uplink data of the transmission priority of the intelligent home equipment to be sent are found, step S505 is executed, and if other uplink data of the transmission priority of the intelligent home equipment to be sent are not found, step S504 is executed.
Step S504, the relay terminal determines whether the data volume of the currently received uplink data of the transmission priority of the smart home device reaches a threshold value.
The relay terminal stores a corresponding relationship between each transmission priority of each smart home device and a data amount threshold, for example, the relay terminal determines a corresponding relationship between a transmission priority corresponding to the transmission priority of the smart home device and a data amount threshold according to a transmission priority of currently received uplink data and an identity of the smart home device that transmits the uplink data, determines a corresponding data amount threshold according to the corresponding relationship, determines whether a data amount of the uplink data of the transmission priority of the currently received smart home device reaches the threshold, and executes step S508 if the data amount of the uplink data of the transmission priority of the currently received smart home device reaches the threshold; if the data volume of the currently received uplink data of the transmission priority of the smart home device is smaller than the threshold value, step S506 is executed.
For example, the smart home device needs to transmit session CS domain data and session PS domain data with different transmission priorities, where the transmission priority of the session CS domain data is a first transmission priority, and the transmission priority of the session PS domain data is a second transmission priority, where the first transmission priority is greater than the second transmission priority. The relay terminal or the base station sets different data volume thresholds for triggering the request of the uplink resource for the first transmission priority and the second transmission priority of the smart home device, for example, a threshold for triggering the relay terminal to request the uplink resource for the first transmission priority of the smart home device is set to be N1, and another threshold for triggering the relay terminal to request the uplink resource for the second transmission priority of the smart home device is set to be N2. And storing the first corresponding relation between the first transmission priority and the N1 and the second corresponding relation between the second transmission priority and the N2 of the intelligent household equipment in the relay terminal.
If the uplink data currently received by the relay terminal is the session type CS domain uplink data sent by the intelligent home equipment, determining that the transmission priority is the first transmission priority according to the transmission delay or the importance level of the currently received session type CS domain uplink data, finding the first corresponding relation according to the first transmission priority, finding N1 according to the first corresponding relation, judging whether the data volume of the currently received session type CS domain uplink data sent by the intelligent home equipment reaches N1 by the relay terminal, if the data volume of the currently received session type CS domain uplink data sent by the intelligent home equipment reaches N1, executing step S508, and if the data volume of the currently received session type CS domain uplink data sent by the intelligent home equipment is smaller than N1, executing step S506.
If the uplink data currently received by the relay terminal is session type PS domain uplink data sent by the intelligent home equipment, determining that the transmission priority is a second transmission priority according to the transmission delay or the importance level of the currently received session type PS domain uplink data, searching for a second corresponding relation according to the second transmission priority, and searching for N2 according to the second corresponding relation, judging whether the data volume of the currently received session type PS domain uplink data sent by the intelligent home equipment reaches N2 by the relay terminal, if the data volume of the currently received session type PS domain uplink data sent by the intelligent home equipment reaches N2, executing step S508, and if the data volume of the currently received session type PS domain uplink data sent by the intelligent home equipment is less than N2, executing step S506.
Step S505, the relay terminal determines whether the total data volume of the currently received uplink data of the transmission priority of the smart home device and other uplink data reaches a threshold value.
The relay terminal stores a corresponding relationship between each transmission priority of each smart home device and a data amount threshold, for example, the relay terminal determines a corresponding relationship between a transmission priority of the smart home device and a data amount threshold according to a transmission priority of currently received uplink data and an identity of the smart home device that transmits the uplink data, determines a corresponding data amount threshold according to the corresponding relationship, determines whether a total data amount of currently received uplink data of the transmission priority of the smart home device and other uplink data of the transmission priority transmitted by the smart home device reaches the threshold, and executes step S509 if a total data amount of currently received uplink data of the transmission priority of the smart home device and other uplink data reaches the threshold; if the total data amount of the currently received uplink data of the transmission priority of the smart home device and other uplink data is smaller than the threshold value, step S506 is executed.
Step S506, the relay terminal caches currently received uplink data of the transmission priority of the smart home device, continues to receive the uplink data of the transmission priority sent by the smart home device until the total data volume of all uplink data of the transmission priority of the smart home device reaches a threshold value, and then executes step S507.
When the relay terminal inquires other uplink data of the transmission priority of the intelligent home equipment to be sent and the total data amount of the other uplink data of the transmission priority of the intelligent home equipment to be currently received does not reach the threshold value, or when the relay terminal inquires other uplink data of the transmission priority of the intelligent home equipment to be sent and the total data amount of the uplink data of the transmission priority of the intelligent home equipment to be currently received and the total data amount of the other uplink data of the transmission priority of the intelligent home equipment to be currently received does not reach the threshold value, the relay terminal caches the currently received uplink data of the transmission priority of the intelligent home equipment and waits for continuously receiving the uplink data of the transmission priority sent by the intelligent home equipment.
When the relay terminal continuously receives the uplink data of the transmission priority sent by the intelligent household equipment, the total data volume of all the uplink data of the transmission priority of the current intelligent household equipment is calculated when the uplink data of the transmission priority sent by the intelligent household equipment is received, until the total data volume of all the uplink data of the transmission priority of the intelligent household equipment reaches a threshold value, wherein all the uplink data of the transmission priority of the intelligent household equipment comprise all the cached uplink data of the transmission priority of the intelligent household equipment and the uplink data of the transmission priority sent by the intelligent household equipment and received currently when the relay terminal continuously receives the uplink data of the transmission priority.
When the total data amount of all the uplink data of the transmission priority of the smart home device reaches the threshold value, the continuous reception of the uplink data of the transmission priority of the smart home device is stopped to execute step S507.
Step S507, the relay terminal immediately requests the base station for transmitting uplink resources required by all uplink data of the transmission priority of the smart home device.
For example, the relay terminal sends a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by all uplink data of the transmission priority of the smart home device, and since all uplink data of the transmission priority of the smart home device are sent by the same smart home device and have the same transmission priority, the resource request message includes a channel identifier of a second-type data transmission channel and uplink resource information, where the channel identifier of the second-type data transmission channel is used to indicate a second-type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by all uplink data of the transmission priority of the smart home device.
Data transmission channels between the relay terminal and the one or more intelligent household devices are collectively called a first type of data transmission channel, data transmission channels between the relay terminal and the base station are collectively called a second type of data transmission channel, and each data transmission channel has a unique channel identifier. A plurality of first-class data transmission channels can be established between the relay terminal and each intelligent household device and are respectively used for transmitting uplink data with different transmission priorities. A plurality of second-class data transmission channels can be established between the relay terminal and the base station, and the first-class data transmission channels correspond to the second-class data transmission channels one to one.
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 bins, frequency bands, subcarrier spacing, power, and format (e.g., modulation coding scheme or code rate).
Step S508, the relay terminal immediately requests the base station for transmitting the uplink resource required by the currently received uplink data of the transmission priority of the smart home device.
The relay terminal sends a resource request message to the base station, wherein the resource request message is used for requesting the base station to transmit uplink resources required by currently received uplink data of the transmission priority of the intelligent home equipment, and the currently received uplink data of the transmission priority of the intelligent home equipment are all sent by the same intelligent home equipment and have the same transmission priority, so the resource request message comprises a channel identifier of a second type data transmission channel and uplink resource information, the channel identifier of the second type data transmission channel is used for indicating the second type data transmission channel between the relay terminal and the base station, and the uplink resource information is used for indicating the uplink resources required by currently received uplink data of the transmission priority of the intelligent home equipment.
Step S509, the relay terminal immediately requests the base station to transmit the uplink data of the transmission priority of the smart home device and uplink resources required by other uplink data that are currently received.
The relay terminal sends a resource request message to the base station, the resource request message is used for requesting the base station to transmit uplink data of the transmission priority of the intelligent home equipment and uplink resources required by other uplink data, the uplink data of the transmission priority of the intelligent home equipment and other uplink data are sent by the same intelligent home equipment and have the same transmission priority, the resource request message comprises a channel identifier of a second type data transmission channel and uplink resource information, the channel identifier of the second type data transmission channel is used for indicating the second type data transmission channel between the relay terminal and the base station, and the uplink resource information is used for indicating the uplink data of the transmission priority of the intelligent home equipment and the uplink resources required by other uplink data, which are received currently.
After step S507, step S508 and step S509, step S510 is executed.
Step S510, the base station allocates corresponding uplink resources and sends the uplink resources to the relay terminal.
For example, when the relay terminal requests the base station for transmitting the uplink resources required by all the uplink data of the transmission priority of the smart home device, the base station allocates the uplink resources required by all the uplink data of the transmission priority for transmitting the smart home device and sends the uplink resources to the relay terminal, and the relay terminal transmits all the uplink data of the transmission priority of the smart home device to the base station by using the received uplink resources.
When the relay terminal requests the base station for transmitting the uplink resource required by the currently received uplink data of the transmission priority of the intelligent home equipment, the base station allocates the uplink resource required by the currently received uplink data of the transmission priority of the intelligent home equipment and sends the uplink resource to the relay terminal, and the relay terminal transmits the currently received uplink data of the transmission priority of the intelligent home equipment to the base station by using the received uplink resource.
When the relay terminal requests the base station for transmitting the currently received uplink data of the transmission priority of the intelligent home equipment and uplink resources required by other uplink data, the base station allocates the uplink data of the transmission priority of the currently received intelligent home equipment and the uplink resources required by other uplink data, and transmits the uplink data and the other uplink data to the relay terminal, and the relay terminal transmits the currently received uplink data of the transmission priority of the intelligent home equipment and other uplink data to the base station by using the received uplink resources.
The data volume of the uplink data reaching the threshold refers to determining the data volume of all current uplink data (including currently received, stored and/or continuously received uplink data) of the relay terminal in real time in the process of receiving the uplink data, and when the data volume is increased to be equal to the threshold, that is, the data volume reaches the threshold.
In another embodiment of the present application, during the process of executing steps S501 to S511, the relay terminal may also receive uplink data of other transmission priorities sent by the smart home devices or uplink data of any transmission priority sent by other smart home devices at the same time, and since a threshold value for triggering the data amount requesting the uplink resource is set for each uplink data of each transmission priority of each smart home device, the relay terminal performs an independent uplink resource request on the uplink data of other transmission priorities sent by the smart home devices and received at the same time or the uplink data sent by other smart home devices, a process of requesting the uplink resource is substantially the same as the process of requesting the uplink resource for transmitting the uplink data in the embodiment in fig. 5, and details are not repeated here.
In this embodiment, a threshold value for triggering the request of the uplink resource is set for the uplink data of each transmission priority of each smart home device, so as to uniformly request the uplink resources, only when the data amount of the uplink data of the same transmission priority of the same smart home device reaches a preset threshold value, the uplink resources required are requested at one time, and when the data amount of the uplink data of the same transmission priority of the same smart home device does not reach the preset threshold value, the uplink resources are cached first, and when the uplink data of the same transmission priority of the smart home device is received next time and the total data amount reaches the preset threshold value, the corresponding uplink resources are requested, so that the uplink resources are requested immediately when the relay terminal receives the uplink data, the number of requests can be reduced, the resources are saved, the scheduling tasks of the data plane can be reduced, the load of the communication network is reduced, the communication quality is improved, and the reduction of the communication quality is avoided.
In another embodiment of the present application, when the relay terminal in fig. 6 executes the method for requesting uplink resources in the embodiment of fig. 5, the main working process may be as follows.
And the connection module 41 is used for establishing communication connection with the smart home device.
The receiving module 42 is configured to receive uplink data sent by the smart home device, and the specific implementation process may refer to step S501 in the embodiment in fig. 5, which is not described herein again.
The processing module 43 is configured to determine a transmission priority of the uplink data currently received by the receiving module 42 and an identity of the smart home device; inquiring whether other uplink data of the transmission priority of the intelligent household equipment to be sent are to be sent or not according to the transmission priority and the identity; when other uplink data of the transmission priority of the intelligent household equipment to be sent are inquired, determining whether the total data volume of the currently received uplink data and other uplink data reaches a threshold value or not; when other uplink data of the transmission priority of the smart home device to be sent are not queried, it is determined whether the data volume of the currently received uplink data reaches the threshold value, and the specific implementation process may refer to steps S502 to S505 in the embodiment of fig. 5, which is not described herein again.
The buffering module 44 is configured to buffer the currently received uplink data when the data amount of the uplink data currently received by the receiving module 42 is smaller than the threshold value or when the total data amount of the uplink data currently received by the receiving module 42 and other uplink data is smaller than the threshold value, where a specific implementation process may refer to step S506 in the embodiment in fig. 5, and details are not described here again.
The receiving module 42 is further configured to, when the caching module 44 caches currently received uplink data, continue to receive the uplink data of the transmission priority sent by the smart home device until a total data amount of all uplink data of the transmission priority of the smart home device reaches a threshold value, and a specific implementation process may refer to step S506 in the embodiment of fig. 5, which is not described herein again.
The sending module 45 is configured to immediately request the base station for uplink resources required for transmitting all uplink data when the total data amount of all uplink data reaches the threshold, and the specific implementation process may refer to step S507 in the embodiment in fig. 5, which is not described herein again.
The sending module 45 is further configured to immediately request the base station for uplink resources required for transmitting the currently received uplink data when the data amount of the uplink data currently received by the receiving module 42 reaches the threshold, and the specific implementation process may refer to step S508 in the embodiment in fig. 5, which is not described herein again.
The sending module 45 is further configured to immediately request the base station for uplink resources required for transmitting the currently received uplink data and other uplink data when the total data amount of the uplink data and other uplink data currently received by the receiving module 42 reaches the threshold, and the specific implementation process may refer to step S509 in the embodiment of fig. 5, which is not described herein again.
In another embodiment of the present application, when the apparatus for requesting uplink resources of fig. 7 executes the method for requesting uplink resources of fig. 5, the main working process may be as follows.
In this embodiment, the communication interface 51 is configured to establish a communication connection with one or more smart home devices.
The receiver 52 is configured to receive uplink data sent by the smart home device, and a specific implementation process may refer to step S501 in the embodiment in fig. 5, which is not described herein again.
The first processor 53 is configured to determine a transmission priority of the uplink data currently received by the receiver 52 and an identity of the smart home device; inquiring whether other uplink data of the transmission priority of the intelligent household equipment to be sent are to be sent or not according to the transmission priority and the identity; when other uplink data of the transmission priority of the intelligent home equipment to be sent are inquired, determining whether the total data volume of the currently received uplink data and the other uplink data reaches a threshold value; when other uplink data of the transmission priority of the smart home device to be sent are not queried, it is determined whether the data volume of the currently received uplink data reaches the threshold value, and the specific implementation process may refer to steps S502 to S505 in the embodiment of fig. 5, which is not described herein again.
The buffer 54 is configured to buffer the currently received uplink data when the data amount of the uplink data currently received by the receiver 52 is smaller than a threshold value or when the total data amount of the uplink data currently received by the receiver 52 and other uplink data is smaller than a threshold value, and a specific implementation process may refer to step S506 in the embodiment of fig. 5, which is not described herein again.
The receiver 52 is further configured to, when the buffer 54 buffers the currently received uplink data, continue to receive the uplink data of the transmission priority sent by the smart home device until a total data amount of all uplink data of the transmission priority of the smart home device reaches a threshold value, and a specific implementation process may refer to step S506 in the embodiment of fig. 5, which is not described herein again.
The transmitter 55 is configured to immediately request the base station for uplink resources required for transmitting all uplink data when the total data amount of all uplink data reaches the threshold, and the specific implementation process may refer to step S507 in the embodiment in fig. 5, which is not described herein again.
The transmitter 55 is further configured to immediately request the base station for uplink resources required for transmitting the currently received uplink data when the data amount of the uplink data currently received by the receiver 52 reaches the threshold, and the specific implementation process may refer to step S508 in the embodiment of fig. 5, which is not described herein again.
The transmitter 55 is further configured to immediately request the base station for uplink resources required for transmitting the currently received uplink data and other uplink data when the total data amount of the currently received uplink data and other uplink data of the receiver 52 reaches a threshold value, and a specific implementation process may refer to step S509 in the embodiment of fig. 5, which is not described herein again.
In another embodiment of the present application, when the smart home device system in fig. 8 executes the method for requesting uplink resources in the embodiment of fig. 5, a main working process may be as follows.
In this embodiment, the relay terminal 61 is configured to broadcast a discovery signal for establishing a communication connection.
One or more smart home devices 62 to send a connection request upon detection of the discovery signal.
The relay terminal 61 is further configured to establish a communication connection with one or more smart home devices 62 according to the received connection request, and after establishing a communication connection with one or more smart home devices 62, execute the method for requesting the uplink resource as in any one of the above embodiments.
In another embodiment of the present application, when the computer device in fig. 9 executes the method for requesting uplink resources in the embodiment in fig. 5, the main working process may be as follows.
The memory 71 may be configured 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 second processor 72 executes various functional applications and data processing by running the software programs and modules stored in the memory 71, so as to implement the method for requesting uplink resources in any of the embodiments described above.
The present application further provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of requesting uplink resources as in any of the above embodiments.
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 by means of a relay terminal. 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.
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 may be implemented in the form of hardware, or may also be implemented in the 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: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
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 (20)

1. A method for requesting uplink resources, the method comprising:
step S301, a relay terminal receives uplink data sent by one or more intelligent household devices;
step S302, the relay terminal determines the service type of each uplink data currently received and determines whether the total data volume of all uplink data of each service type reaches a corresponding threshold value;
step S303, when the relay terminal determines that the total data volume of all uplink data of the current service type reaches a corresponding threshold value, immediately requesting a base station for transmitting uplink resources required by all uplink data of the service type; when the relay terminal determines that the total data volume of all uplink data of the current service type does not reach a corresponding threshold value, caching the currently received uplink data of the service type, and continuously receiving the uplink data of the service type until the total data volume of all uplink data of the service type reaches the corresponding threshold value, immediately requesting uplink resources required for transmitting all uplink data of the service type from the base station;
wherein the immediately requesting, from the base station, uplink resources required for transmitting all uplink data of the service type specifically includes:
the relay terminal sends a resource request message to the base station, the resource request message is used for requesting the base station to transmit uplink resources required by all uplink data of the service type, the resource request message includes channel identification and uplink resource information of at least one second type data transmission channel, the number of the channel identification of the second type data transmission channel is equal to the sum of the number of intelligent home devices which send all the uplink data of the service type, the channel identification of the second type data transmission channel is used for indicating one second type data transmission channel between the relay terminal and the base station, and the uplink resource information is used for indicating the uplink resources required by all the uplink data of the service type.
2. The method of claim 1, wherein the method further comprises: the relay terminal sets a threshold value for triggering the data volume of the uplink resource request for the uplink data of each service type; or the relay terminal receives the threshold value of the data quantity of the triggering request uplink resource for the uplink data of each service type sent by the base station.
3. A relay terminal, comprising: the device comprises a connecting module, a receiving module, a processing module, a caching module and a sending module;
the connection module is used for establishing communication connection with one or more intelligent household devices;
the receiving module is used for receiving uplink data sent by the one or more intelligent household devices;
the processing module is used for determining the service type of each uplink data received currently and determining whether the total data volume of all uplink data of each service type reaches a corresponding threshold value;
the sending module is configured to immediately request a base station for transmitting uplink resources required by all uplink data of a current service type when the processing module determines that a total data amount of all uplink data of the current service type reaches a corresponding threshold value;
the caching module is configured to cache the currently received uplink data of the service type when the processing module determines that a total data amount of all uplink data of the current service type does not reach a corresponding threshold value;
the receiving module is further configured to continue receiving the uplink data of the service type after the cache module caches the uplink data of the service type;
the sending module is further configured to immediately request the base station for transmitting uplink resources required for all uplink data of the service type when the receiving module continues to receive the uplink data of the service type until the processing module determines that a total data amount of all uplink data of the service type reaches a corresponding threshold value;
the sending module is configured to send a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by all uplink data of the service type, the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, the number of the channel identifiers of the second-type data transmission channels is equal to the sum of the numbers of smart home devices that transmit all uplink data of the service type, the channel identifier of the second-type data transmission channel is used to indicate one second-type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by all uplink data of the service type.
4. An apparatus for requesting uplink resources, the apparatus comprising: the system comprises a communication interface, a receiver, a first processor, a buffer and a transmitter;
the communication interface is used for establishing communication connection with one or more intelligent household devices;
the receiver is used for receiving uplink data sent by the one or more intelligent household devices;
the first processor is configured to determine a service type of each currently received uplink data, and determine whether a total data amount of all uplink data of each service type reaches a corresponding threshold value;
the transmitter is configured to immediately request a base station for uplink resources required for transmitting all uplink data of a current service type when the first processor determines that a total data amount of all uplink data of the current service type reaches a corresponding threshold value;
the buffer is configured to buffer the currently received uplink data of the service type when the first processor determines that the total data volume of all the uplink data of the current service type does not reach a corresponding threshold value;
the receiver is further configured to continue to receive the uplink data of the service type after the buffer buffers the uplink data of the service type currently received;
the transmitter is further configured to immediately request, from the base station, uplink resources required for transmitting all uplink data of the service type when the receiver continues to receive the uplink data of the service type until the first processor determines that a total data amount of all uplink data of the service type reaches a corresponding threshold;
the transmitter is configured to send a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by all uplink data of the service type, the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, the number of the channel identifiers of the second-type data transmission channels is equal to the sum of the numbers of smart home devices that transmit all uplink data of the service type, the channel identifier of the second-type data transmission channel is used to indicate one second-type data transmission channel between the device that requests uplink resources and the base station, and the uplink resource information is used to indicate uplink resources required by all uplink data of the service type.
5. The utility model provides an intelligent household equipment system which characterized in that includes:
a relay terminal for broadcasting a discovery signal for establishing a communication connection;
one or more smart home devices, configured to send a connection request when the discovery signal is detected;
the relay terminal is further configured to establish a communication connection with the one or more smart home devices according to the connection request, and execute the method for requesting uplink resources according to claim 1 or 2.
6. A computer arrangement comprising a memory having a computer program stored therein and a second processor that, when executing the computer program, carries out the method of requesting uplink resources according to claim 1 or 2.
7. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, implements a method of requesting uplink resources according to claim 1 or 2.
8. A method for requesting uplink resources, the method comprising:
step S401, a relay terminal receives one or more uplink data sent by one or more intelligent household devices;
step S402, the relay terminal determines whether uplink data to be sent are stored, and if the uplink data to be sent are stored in the relay terminal, step S403 is executed; if the uplink data to be sent is not stored in the relay terminal, executing step S404;
step S403, the relay terminal determines whether the total data amount of the stored uplink data to be sent and the uplink data currently received reaches a threshold value, and if the total data amount of the stored uplink data to be sent and the uplink data currently received reaches the threshold value, step S410 is executed; if the total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than the threshold value, executing step S405;
step S404, the relay terminal determines whether the data amount of the currently received uplink data reaches the threshold, if the data amount of the currently received uplink data reaches the threshold, step S409 is executed, and if the data amount of the currently received uplink data is smaller than the threshold, step S405 is executed;
step S405, the relay terminal buffers the currently received uplink data, and then executes step S406;
step S406, the relay terminal continues to receive other uplink data of any service type sent by any intelligent household equipment, and then step S407 is executed;
step S407, the relay terminal determines whether the total data amount of all current uplink data reaches the threshold, if the total data amount of all current uplink data reaches the threshold, step S408 is executed, and if the total data amount of all current uplink data is less than the threshold, step S406 is executed again;
step S408, the relay terminal immediately requests the base station for transmitting the uplink resources required by all the current uplink data;
step S409, the relay terminal immediately requests the base station for transmitting the uplink resource required by the currently received uplink data;
step S410, the relay terminal immediately requests the base station to transmit the stored uplink data to be transmitted and the uplink resource required by the currently received uplink data;
the requesting, by the relay terminal, the uplink resource required for transmitting the currently received uplink data to the base station immediately includes:
the relay terminal immediately sends a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by the currently received uplink data, the resource request message includes channel identifiers of at least one second-class data transmission channel and uplink resource information, the number of the channel identifiers of the second-class data transmission channels is equal to a product value of the number of smart home devices sending the currently received uplink data and the number of service types of the currently received uplink data, the channel identifier of each second-class data transmission channel is used to indicate one second-class data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by transmitting the currently received uplink data.
9. The method of claim 8, further comprising: the relay terminal sets the threshold value for triggering the data volume of the uplink data requesting the uplink resource, or the base station sets the threshold value for triggering the data volume of the uplink data requesting the uplink resource by the relay terminal and sends the threshold value to the relay terminal.
10. A method for requesting uplink resources, the method comprising:
step S401, a relay terminal receives one or more uplink data sent by one or more intelligent household devices;
step S402, the relay terminal determines whether uplink data to be sent are stored, and if the uplink data to be sent are stored in the relay terminal, step S403 is executed; if the uplink data to be sent is not stored in the relay terminal, executing step S404;
step S403, the relay terminal determines whether the total data amount of the stored uplink data to be sent and the uplink data currently received reaches a threshold value, and if the total data amount of the stored uplink data to be sent and the uplink data currently received reaches the threshold value, step S410 is executed; if the total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than the threshold value, executing step S405;
step S404, the relay terminal determines whether the data amount of the currently received uplink data reaches the threshold, if the data amount of the currently received uplink data reaches the threshold, step S409 is executed, and if the data amount of the currently received uplink data is smaller than the threshold, step S405 is executed;
step S405, the relay terminal buffers the currently received uplink data, and then executes step S406;
step S406, the relay terminal continuously receives other uplink data of any service type sent by any intelligent household equipment, and then step S407 is executed;
step S407, the relay terminal determines whether the total data volume of all current uplink data reaches the threshold, if the total data volume of all current uplink data reaches the threshold, step S408 is executed, and if the total data volume of all current uplink data is less than the threshold, step S406 is executed again;
step S408, the relay terminal immediately requests the base station for transmitting the uplink resources required by all the current uplink data;
step S409, the relay terminal immediately requests the base station for transmitting the uplink resource required by the currently received uplink data;
step S410, the relay terminal immediately requests the base station for transmitting the stored uplink data to be transmitted and the uplink resource required by the currently received uplink data;
the requesting, by the relay terminal, the uplink resources required for transmitting all current uplink data to the base station immediately includes:
the relay terminal immediately sends a resource request message to the base station, the resource request message is used for requesting the base station to transmit uplink resources required by all current uplink data, the resource request message comprises channel identifiers of at least one second-class data transmission channel and uplink resource information, the number of the channel identifiers of the second-class data transmission channels is equal to the product value of the number of the intelligent home devices sending all current uplink data and the number of the service types of all current uplink data, the channel identifier of each second-class data transmission channel is used for indicating one second-class data transmission channel between the relay terminal and the base station, and the uplink resource information is used for indicating the uplink resources required by all current uplink data transmission.
11. A method for requesting uplink resources, the method comprising:
step S401, a relay terminal receives one or more uplink data sent by one or more intelligent household devices;
step S402, the relay terminal determines whether uplink data to be sent is stored, and if the uplink data to be sent is stored in the relay terminal, step S403 is executed; if the uplink data to be sent is not stored in the relay terminal, executing step S404;
step S403, the relay terminal determines whether the total data amount of the stored uplink data to be sent and the uplink data currently received reaches a threshold value, and if the total data amount of the stored uplink data to be sent and the uplink data currently received reaches the threshold value, step S410 is executed; if the total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than the threshold value, executing step S405;
step S404, the relay terminal determines whether the data amount of the currently received uplink data reaches the threshold, if the data amount of the currently received uplink data reaches the threshold, step S409 is executed, and if the data amount of the currently received uplink data is smaller than the threshold, step S405 is executed;
step S405, the relay terminal buffers the currently received uplink data, and then executes step S406;
step S406, the relay terminal continues to receive other uplink data of any service type sent by any intelligent household equipment, and then step S407 is executed;
step S407, the relay terminal determines whether the total data volume of all current uplink data reaches the threshold, if the total data volume of all current uplink data reaches the threshold, step S408 is executed, and if the total data volume of all current uplink data is less than the threshold, step S406 is executed again;
step S408, the relay terminal immediately requests the base station for transmitting the uplink resources required by all the current uplink data;
step S409, the relay terminal immediately requests the base station for transmitting the uplink resource required by the currently received uplink data;
step S410, the relay terminal immediately requests the base station to transmit the stored uplink data to be transmitted and the uplink resource required by the currently received uplink data;
the step of immediately requesting, by the relay terminal, the base station to transmit the stored uplink data to be transmitted and the uplink resource required by the currently received uplink data specifically includes:
the relay terminal immediately sends a resource request message to the base station, the resource request message is used for requesting the base station to transmit uplink resources required by the stored uplink data to be sent and the currently received uplink data, the resource request message includes channel identifiers and uplink resource information of at least one second type data transmission channel, the number of the channel identifiers of the second type data transmission channel is equal to a product value of the number of the smart home devices sending the stored uplink data to be sent and the currently received uplink data and the number of the service types of the stored uplink data to be sent and the currently received uplink data, the channel identifier of each second type data transmission channel is used for indicating one second type data transmission channel between the relay terminal and the base station, and the uplink resource information is used for indicating uplink resources required by the stored uplink data to be sent and the currently received uplink data.
12. A relay terminal, comprising: the device comprises a connecting module, a receiving module, a processing module, a caching module and a sending module;
the connection module is used for establishing communication connection with one or more intelligent household devices;
the receiving module is used for receiving one or more uplink data sent by the one or more intelligent household devices;
the processing module is configured to determine whether uplink data to be sent is stored, and if the uplink data to be sent is stored in the cache module, determine whether a total data amount of the stored uplink data to be sent and the currently received uplink data reaches a threshold value; if the cache module does not store the uplink data to be sent, determining whether the data volume of the currently received uplink data reaches the threshold value;
the buffer module is configured to buffer the currently received uplink data when the processing module determines that a total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than the threshold value or determines that a data amount of the currently received uplink data is smaller than the threshold value;
the receiving module is further configured to continue to receive other uplink data of any service type sent by any smart home device after the caching module caches the currently received uplink data;
the processing module is further configured to determine whether a total data amount of all current uplink data reaches the threshold when the receiving module continues to receive other uplink data of any service type sent by any smart home device;
the receiving module is further configured to continue to receive other uplink data of any service type sent by any smart home device when the processing module determines that the total data amount of all current uplink data is smaller than the threshold value;
the sending module is configured to immediately request a base station for uplink resources required for transmitting all current uplink data when the total data amount of all current uplink data reaches the threshold value; when the data volume of the currently received uplink data reaches the threshold value, immediately requesting the base station for transmitting uplink resources required by the currently received uplink data; when the total data volume of the stored uplink data to be transmitted and the currently received uplink data reaches the threshold value, immediately requesting the base station for transmitting uplink resources required by the stored uplink data to be transmitted and the currently received uplink data;
wherein, in order to immediately request the base station for uplink resources required for transmitting the currently received uplink data, the sending module is configured to:
sending a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by the currently received uplink data, the resource request message includes channel identifiers of at least one second-class data transmission channel and uplink resource information, the number of the channel identifiers of the second-class data transmission channels is equal to a product value of the number of smart home devices sending the currently received uplink data and the number of service types of the currently received uplink data, the channel identifier of each second-class data transmission channel is used to indicate one second-class data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by the currently received uplink data.
13. A relay terminal, comprising: the device comprises a connecting module, a receiving module, a processing module, a caching module and a sending module;
the connection module is used for establishing communication connection with one or more intelligent household devices;
the receiving module is used for receiving one or more uplink data sent by the one or more intelligent household devices;
the processing module is configured to determine whether uplink data to be sent is stored, and if the uplink data to be sent is stored in the cache module, determine whether a total data amount of the stored uplink data to be sent and the currently received uplink data reaches a threshold value; if the cache module does not store the uplink data to be sent, determining whether the data volume of the currently received uplink data reaches the threshold value;
the caching module is configured to cache the currently received uplink data when the processing module determines that a total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than the threshold value or determines that a data amount of the currently received uplink data is smaller than the threshold value;
the receiving module is further configured to continue to receive other uplink data of any service type sent by any smart home device after the currently received uplink data is cached by the cache module;
the processing module is further configured to determine whether a total data amount of all current uplink data reaches the threshold when the receiving module continues to receive other uplink data of any service type sent by any smart home device;
the receiving module is further configured to continue to receive other uplink data of any service type sent by any smart home device when the processing module determines that the total data amount of all current uplink data is smaller than the threshold value;
the sending module is configured to immediately request, to the base station, uplink resources required for transmitting all current uplink data when the total data amount of all current uplink data reaches the threshold; when the data volume of the currently received uplink data reaches the threshold value, immediately requesting the base station for transmitting uplink resources required by the currently received uplink data; when the total data volume of the stored uplink data to be transmitted and the currently received uplink data reaches the threshold value, immediately requesting the base station for transmitting uplink resources required by the stored uplink data to be transmitted and the currently received uplink data;
wherein, in order to immediately request the base station for transmitting the uplink resources required by all the current uplink data, the sending module is configured to:
immediately sending a resource request message to the base station, where the resource request message is used to request the base station for transmitting uplink resources required by all current uplink data, the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, the number of the channel identifiers of the second-type data transmission channels is equal to a product value of the number of smart home devices sending all current uplink data and the number of service types of all current uplink data, the channel identifier of each second-type data transmission channel is used to indicate one second-type data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by transmitting all current uplink data.
14. A relay terminal, comprising: the device comprises a connecting module, a receiving module, a processing module, a caching module and a sending module;
the connection module is used for establishing communication connection with one or more intelligent household devices;
the receiving module is used for receiving one or more uplink data sent by the one or more intelligent home devices;
the processing module is configured to determine whether uplink data to be sent is stored, and if the uplink data to be sent is stored in the cache module, determine whether a total data amount of the stored uplink data to be sent and the currently received uplink data reaches a threshold value; if the cache module does not store the uplink data to be sent, determining whether the data volume of the currently received uplink data reaches the threshold value;
the caching module is configured to cache the currently received uplink data when the processing module determines that a total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than the threshold value or determines that a data amount of the currently received uplink data is smaller than the threshold value;
the receiving module is further configured to continue to receive other uplink data of any service type sent by any smart home device after the caching module caches the currently received uplink data;
the processing module is further configured to determine whether a total data amount of all current uplink data reaches the threshold value when the receiving module continues to receive other uplink data of any service type sent by any smart home device;
the receiving module is further configured to continue to receive other uplink data of any service type sent by any smart home device when the processing module determines that the total data amount of all current uplink data is smaller than the threshold value;
the sending module is configured to immediately request a base station for uplink resources required for transmitting all current uplink data when the total data amount of all current uplink data reaches the threshold value; when the data volume of the currently received uplink data reaches the threshold value, immediately requesting the base station for transmitting uplink resources required by the currently received uplink data; when the total data amount of the stored uplink data to be sent and the currently received uplink data reaches the threshold value, immediately requesting uplink resources required for transmitting the stored uplink data to be sent and the currently received uplink data from the base station;
wherein, in order to immediately request the base station for transmitting the stored uplink data to be transmitted and the uplink resource required by the currently received uplink data, the transmitting module is configured to:
immediately sending a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by the stored uplink data to be sent and the currently received uplink data, the resource request message includes channel identifiers and uplink resource information of at least one second-class data transmission channel, the number of the channel identifiers of the second-class data transmission channels is equal to a product value of the number of the smart home devices sending the stored uplink data to be sent and the currently received uplink data and the number of the service types of the stored uplink data to be sent and the currently received uplink data, the channel identifier of each second-class data transmission channel is used to indicate one second-class data transmission channel between the relay terminal and the base station, and the uplink resource information is used to indicate uplink resources required by the stored uplink data to be sent and the currently received uplink data.
15. An apparatus for requesting uplink resources, the apparatus comprising: the system comprises a communication interface, a receiver, a first processor, a buffer and a transmitter;
the communication interface is used for establishing communication connection with one or more intelligent household devices;
the receiver is configured to receive one or more uplink data sent by the one or more smart home devices;
the first processor is configured to determine whether uplink data to be sent is stored, and if the uplink data to be sent is stored in the buffer, determine whether a total data amount of the stored uplink data to be sent and currently received uplink data reaches a threshold value; if the uplink data to be sent is not stored in the buffer, determining whether the data volume of the currently received uplink data reaches the threshold value;
the buffer is configured to buffer the currently received uplink data when the first processor determines that a total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than the threshold value or determines that a data amount of the currently received uplink data is smaller than the threshold value;
the receiver is further configured to continue to receive other uplink data of any service type sent by any smart home device after the buffer caches the currently received uplink data;
the first processor is further configured to determine whether a total data volume of all current uplink data reaches the threshold value when the receiver continues to receive other uplink data of any service type sent by any smart home device;
the receiver is further configured to continue to receive other uplink data of any service type sent by any smart home device when the first processor determines that the total data amount of all current uplink data is smaller than the threshold value;
the transmitter is configured to immediately request a base station for transmitting uplink resources required by all current uplink data when a total data amount of all current uplink data reaches the threshold value; when the data volume of the currently received uplink data reaches the threshold value, immediately requesting the base station for transmitting uplink resources required by the currently received uplink data; when the total data volume of the stored uplink data to be transmitted and the currently received uplink data reaches the threshold value, immediately requesting the base station for transmitting uplink resources required by the stored uplink data to be transmitted and the currently received uplink data;
in order to immediately request uplink resources required for transmitting the currently received uplink data from the base station, the transmitter is configured to:
sending a resource request message to the base station, where the resource request message is used to request the base station for transmitting uplink resources required by the currently received uplink data, the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, the number of the channel identifiers of the second-type data transmission channels is equal to a product value of the number of smart home devices sending the currently received uplink data and the number of service types of the currently received uplink data, the channel identifier of each second-type data transmission channel is used to indicate a second-type data transmission channel between the apparatus and the base station, and the uplink resource information is used to indicate uplink resources required by the currently received uplink data.
16. An apparatus for requesting uplink resources, the apparatus comprising: the system comprises a communication interface, a receiver, a first processor, a buffer and a transmitter;
the communication interface is used for establishing communication connection with one or more intelligent household devices;
the receiver is configured to receive one or more uplink data sent by the one or more smart home devices;
the first processor is configured to determine whether uplink data to be sent is stored, and if the buffer stores the uplink data to be sent, determine whether a total data amount of the stored uplink data to be sent and currently received uplink data reaches a threshold; if the uplink data to be sent is not stored in the buffer, determining whether the data volume of the currently received uplink data reaches the threshold value;
the buffer is configured to buffer the currently received uplink data when the first processor determines that a total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than the threshold or determines that a data amount of the currently received uplink data is smaller than the threshold;
the receiver is further configured to continue to receive other uplink data of any service type sent by any smart home device after the buffer caches the currently received uplink data;
the first processor is further configured to determine whether a total data volume of all current uplink data reaches the threshold value when the receiver continues to receive other uplink data of any service type sent by any smart home device;
the receiver is further configured to continue to receive other uplink data of any service type sent by any smart home device when the first processor determines that the total data amount of all current uplink data is smaller than the threshold value;
the transmitter is configured to immediately request a base station for transmitting uplink resources required by all current uplink data when a total data amount of all current uplink data reaches the threshold value; when the data volume of the currently received uplink data reaches the threshold value, immediately requesting the base station for transmitting uplink resources required by the currently received uplink data; when the total data volume of the stored uplink data to be transmitted and the currently received uplink data reaches the threshold value, immediately requesting the base station for transmitting uplink resources required by the stored uplink data to be transmitted and the currently received uplink data;
wherein, in order to immediately request the base station for uplink resources required for transmitting all current uplink data, the transmitter is configured to:
immediately sending a resource request message to the base station, where the resource request message is used to request the base station for transmitting uplink resources required by all current uplink data, the resource request message includes a channel identifier of at least one second-type data transmission channel and uplink resource information, the number of the channel identifiers of the second-type data transmission channels is equal to a product value of the number of smart home devices sending all current uplink data and the number of service types of all current uplink data, the channel identifier of each second-type data transmission channel is used to indicate one second-type data transmission channel between the apparatus and the base station, and the uplink resource information is used to indicate uplink resources required by transmitting all current uplink data.
17. An apparatus for requesting uplink resources, the apparatus comprising: the system comprises a communication interface, a receiver, a first processor, a buffer and a transmitter;
the communication interface is used for establishing communication connection with one or more intelligent household devices;
the receiver is configured to receive one or more uplink data sent by the one or more smart home devices;
the first processor is configured to determine whether uplink data to be sent is stored, and if the buffer stores the uplink data to be sent, determine whether a total data amount of the stored uplink data to be sent and currently received uplink data reaches a threshold; if the uplink data to be sent is not stored in the buffer, determining whether the data volume of the currently received uplink data reaches the threshold value;
the buffer is configured to buffer the currently received uplink data when the first processor determines that a total data amount of the stored uplink data to be sent and the currently received uplink data is smaller than the threshold value or determines that a data amount of the currently received uplink data is smaller than the threshold value;
the receiver is further configured to continue to receive other uplink data of any service type sent by any smart home device after the buffer caches the currently received uplink data;
the first processor is further configured to determine whether a total data volume of all current uplink data reaches the threshold value when the receiver continues to receive other uplink data of any service type sent by any smart home device;
the receiver is further configured to continue to receive other uplink data of any service type sent by any smart home device when the first processor determines that the total data amount of all current uplink data is smaller than the threshold value;
the transmitter is configured to immediately request a base station for transmitting uplink resources required by all current uplink data when a total data amount of all current uplink data reaches the threshold value; when the data volume of the currently received uplink data reaches the threshold value, immediately requesting the base station for transmitting uplink resources required by the currently received uplink data; when the total data amount of the stored uplink data to be sent and the currently received uplink data reaches the threshold value, immediately requesting uplink resources required for transmitting the stored uplink data to be sent and the currently received uplink data from the base station;
wherein, in order to immediately request the base station for transmitting the stored uplink data to be transmitted and the uplink resource required by the currently received uplink data, the transmitter is configured to:
immediately sending a resource request message to the base station, where the resource request message is used to request the base station to transmit uplink resources required by the stored uplink data to be sent and the currently received uplink data, the resource request message includes channel identifiers and uplink resource information of at least one second-class data transmission channel, the number of the channel identifiers of the second-class data transmission channels is equal to a product value of the number of smart home devices sending the stored uplink data to be sent and the currently received uplink data and the number of service types of the stored uplink data to be sent and the currently received uplink data, the channel identifier of each second-class data transmission channel is used to indicate one second-class data transmission channel between the device and the base station, and the uplink resource information is used to indicate uplink resources required to transmit the stored uplink data to be sent and the currently received uplink data.
18. The utility model provides an intelligent household equipment system which characterized in that includes:
a relay terminal for broadcasting a discovery signal for establishing a communication connection;
one or more smart home devices, configured to send a connection request when the discovery signal is detected;
the relay terminal is further configured to establish a communication connection with the one or more smart home devices according to the connection request, and execute the method for requesting the uplink resource according to any one of claims 8 to 11.
19. A computer arrangement comprising a memory having a computer program stored therein and a second processor that, when executing the computer program, implements a method of requesting upstream resources according to any one of claims 8 to 11.
20. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out a method of requesting uplink resources according to any one of claims 8 to 11.
CN202211178930.7A 2022-09-27 2022-09-27 Method, relay terminal, device and system for requesting uplink resource Active CN115278903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211178930.7A CN115278903B (en) 2022-09-27 2022-09-27 Method, relay terminal, device and system for requesting uplink resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211178930.7A CN115278903B (en) 2022-09-27 2022-09-27 Method, relay terminal, device and system for requesting uplink resource

Publications (2)

Publication Number Publication Date
CN115278903A CN115278903A (en) 2022-11-01
CN115278903B true CN115278903B (en) 2023-03-10

Family

ID=83757705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211178930.7A Active CN115278903B (en) 2022-09-27 2022-09-27 Method, relay terminal, device and system for requesting uplink resource

Country Status (1)

Country Link
CN (1) CN115278903B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116761264B (en) * 2023-08-22 2023-10-31 广东海洋大学 Uplink resource allocation method and device, base station and relay terminal
CN116782404B (en) * 2023-08-23 2023-11-03 广东海洋大学 Data receiving method and device, base station and relay terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2745590A1 (en) * 2011-08-19 2014-06-25 SCA IPLA Holdings Inc. Uplink resource allocation for relay node based communication
CN104322132A (en) * 2013-03-29 2015-01-28 华为技术有限公司 Method for controlling request on uplink authorization resource, user equipment and base station
CN110035449A (en) * 2018-01-12 2019-07-19 华为技术有限公司 A kind of sending method and device of data volume report

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8243667B2 (en) * 2008-01-28 2012-08-14 Lg Electronics Inc. Method for transmitting scheduling request effectively in wireless communication system
CN102598825B (en) * 2009-12-22 2015-04-29 富士通株式会社 Quality of service control in a relay
CN109152025B (en) * 2017-06-16 2024-04-26 华为技术有限公司 Communication method, terminal and base station

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2745590A1 (en) * 2011-08-19 2014-06-25 SCA IPLA Holdings Inc. Uplink resource allocation for relay node based communication
CN104322132A (en) * 2013-03-29 2015-01-28 华为技术有限公司 Method for controlling request on uplink authorization resource, user equipment and base station
CN110035449A (en) * 2018-01-12 2019-07-19 华为技术有限公司 A kind of sending method and device of data volume report

Also Published As

Publication number Publication date
CN115278903A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN115278903B (en) Method, relay terminal, device and system for requesting uplink resource
CN114666912B (en) Method, device, computer equipment and system for requesting uplink resource
CN107370573B (en) Method and equipment for transmitting downlink data
US10560929B2 (en) Resource request method and system, device, and network side node
US20200413443A1 (en) Carrier set determination method and device, storage medium and electronic device
US10779234B2 (en) Transmission mode switching method and apparatus
WO2020164590A1 (en) Transmission resource detection method, transmission resource determination method and communication device
CN112153724B (en) Search space monitoring method and device
CN104378829B (en) A kind of method and its equipment for implementing channel distribution and scheduling based on type of service
CN117614517B (en) Multilink data transmission method and device based on data transmission quantity control
WO2019001391A1 (en) Radio resource scheduling method, video terminal, and access network device
CN108260211A (en) A kind of method and apparatus that resource is managed in V2X networks
CN111212448B (en) BWP self-adaptive selection modulation method and system
CN114666916B (en) Method, relay terminal, device and system for requesting uplink resource
TW202008823A (en) Communication device
CN104684013A (en) Anti-interference method and device of wireless communication
US20200128541A1 (en) Information sending method and apparatus, terminal, access network device and system
US20230082591A1 (en) Radio station and communication system
CN108174434B (en) Method, terminal and intelligent device for automatically switching communication modes
GB2496384A (en) Placing some of the circuitry for sending and receiving data, in a wireless device, in a low power state and buffering data for a time period
US11974363B2 (en) Communication method, communication apparatus, and terminal device
CN115278904B (en) Method, relay terminal, device and system for requesting uplink resources
CN110958068B (en) Video transmission method and device
CN116800675A (en) Flow control method, device, equipment and computer readable storage medium
CN111836303B (en) Sidelink measurement result acquisition method, sending method and terminal

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