CN115278917A - Communication method and device - Google Patents

Communication method and device Download PDF

Info

Publication number
CN115278917A
CN115278917A CN202110485842.0A CN202110485842A CN115278917A CN 115278917 A CN115278917 A CN 115278917A CN 202110485842 A CN202110485842 A CN 202110485842A CN 115278917 A CN115278917 A CN 115278917A
Authority
CN
China
Prior art keywords
radio frequency
service
message
communication
devices
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.)
Pending
Application number
CN202110485842.0A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110485842.0A priority Critical patent/CN115278917A/en
Publication of CN115278917A publication Critical patent/CN115278917A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA

Landscapes

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

Abstract

The application provides a communication method and a communication device, which can solve the problem that a radio frequency device is limited in use, so that the radio frequency resource utilization rate is improved, and the communication method and the communication device can be applied to a physical system. The method comprises the following steps: and receiving a first message from the terminal equipment and sending a second message to the first radio frequency device. The first message is used for requesting a first radio frequency service, the first radio frequency device is a radio frequency device with idle resources in a plurality of radio frequency devices, the second message is used for indicating the first radio frequency device to provide the first radio frequency service for the terminal equipment, and the plurality of radio frequency devices support the first radio frequency service.

Description

Communication method and device
Technical Field
The present application relates to the field of communications, and in particular, to a communication method and apparatus.
Background
Currently, the internet of things system has been applied to various fields, such as infant anti-theft systems in the medical field, intelligent infusion systems, asset management systems in the industrial field, electronic price tag systems in the business and super fields, and the like.
Specifically, in the internet of things system, a bottom-layer internet of things terminal can be accessed into the internet of things through access equipment, such as a radio frequency device of an Access Point (AP), such as a radio frequency chip carried by the AP, or an external radio frequency expansion card, so as to implement the deployment of the internet of things.
However, if the capability of the access device is limited, for example, when the access device does not have an external radio frequency expansion card, the access device only supports the built-in radio frequency chip, and when the access device is connected to the external radio frequency expansion card, the access device only supports the radio frequency expansion card, so that the use of the radio frequency device is limited, and the radio frequency resource utilization rate is low.
Disclosure of Invention
The embodiment of the application provides a communication method and device, which can solve the problem that a radio frequency device is limited in use, so that the utilization rate of radio frequency resources is improved.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a method of communication is provided. The communication method is applied to network equipment which comprises a plurality of radio frequency devices. The communication method comprises the following steps: and receiving a first message from the terminal equipment and sending a second message to the first radio frequency device. The first message is used for requesting a first radio frequency service, the first radio frequency device is a radio frequency device with idle resources in a plurality of radio frequency devices, the second message is used for indicating the first radio frequency device to provide the first radio frequency service for the terminal equipment, and the plurality of radio frequency devices support the first radio frequency service.
Based on the communication method described in the first aspect, since the plurality of radio frequency devices all support the first radio frequency service, the network device may allocate the first radio frequency device having idle resources to the terminal device, so as to provide the first radio frequency service for the terminal device. Therefore, compared with the network equipment which only supports a fixed radio frequency device, the radio frequency device can be prevented from being limited in use through the distribution of the radio frequency devices, and the utilization rate of radio frequency resources is improved.
In one possible design, the first rf device may be determined based on an operating parameter of each of the plurality of rf devices.
Optionally, the operating parameters may include one or more of: supported wireless communication system, provided radio frequency service, supported maximum load, current load, or signal strength of transmitted or received signals. Therefore, the network equipment can select corresponding parameters according to actual requirements, so that the determined first radio frequency device can meet the actual requirements. For example, if a high quality rf service is required, the first rf device may be determined according to the signal strength to improve the quality of service of the first rf service. For another example, if a high-reliability rf service is required, the first rf device may be determined according to the maximum load and the current load, so as to avoid a situation that the first rf device cannot provide the first rf service due to an excessively high load, thereby improving the reliability of the first rf service.
In one possible design, the first rf device may be the least loaded rf device of the plurality of rf devices. Therefore, the situation that the first radio frequency device cannot provide the first radio frequency service due to overhigh load can be avoided, and the reliability of the first radio frequency service is improved.
In another possible design, the first rf device may be an rf device corresponding to a signal with the highest signal strength among signals transmitted and/or received by the plurality of rf devices, so as to ensure that the quality of the first rf service is better, the service is more stable, and the user experience is better.
In one possible design, after sending the second message to the first rf device, the method of the first aspect may further include: and transmitting the data of the terminal equipment to the first radio frequency device so that the first radio frequency device transmits the data to the terminal equipment.
In one possible design, the first rf device may be a multi-mode rf device. That is to say, the first rf device may support multiple wireless communication systems to provide multiple rf services, such as the first rf service, the second rf service, the third rf service, and so on, to meet various rf service requirements of the terminal device, thereby further improving diversity and applicability of the rf services.
In a possible design, the method of the first aspect may further include: if there is no service between the first rf device and the terminal device, a third message may be sent to the first rf device. Wherein the third message may be used to instruct the first radio frequency device to stop providing the first radio frequency service for the terminal device. Therefore, the radio frequency resource of the first radio frequency device can be recycled, so that the first radio frequency device can provide radio frequency service for other terminal equipment, and the operation efficiency of the first radio frequency device is improved.
Optionally, the absence of traffic between the first radio frequency device and the terminal device may be: the first radio frequency device is not in communication with the terminal device for a period of time. It should be understood that, since whether the first rf device and the terminal device communicate with each other within a period of time can accurately reflect whether there is a service, the service between the first rf device and the terminal device can be prevented from being disconnected by mistake, and thus, the reliability and stability of the service can be ensured.
In a possible design, the method of the first aspect may further include: a registration message sent by each of a plurality of radio frequency devices is received, wherein the registration message may include operating parameters of the radio frequency device. Therefore, the network equipment can record the corresponding relation between the radio frequency device and the working parameters of the radio frequency device, so that the first radio frequency device can be quickly determined according to the corresponding relation, and the operation efficiency of the network equipment is improved.
In one possible design, the plurality of radio frequency devices may include a built-in radio frequency device and/or an external extended radio frequency device of the network device, so as to achieve full utilization of radio frequency resources.
In a second aspect, a communication device is provided. The communication device includes: the device comprises a receiving module and a sending module. The receiving module is used for receiving a first message from the terminal equipment. And the sending module is used for sending the second message to the first radio frequency device. The first message is used for requesting a first radio frequency service, the first radio frequency device is a radio frequency device with idle resources in the plurality of radio frequency devices, the second message is used for indicating the first radio frequency device to provide the first radio frequency service for the terminal equipment, and the plurality of radio frequency devices support the first radio frequency service.
In one possible design, the first rf device may be determined based on an operating parameter of each of the plurality of rf devices.
Optionally, the operating parameters may include one or more of: supported wireless communication system, provided radio frequency service, supported maximum load, current load, or signal strength of transmitted or received signals.
In one possible design, the first rf device may be the least loaded rf device of the plurality of rf devices.
In another possible design, the first rf device may be an rf device corresponding to a signal with the greatest signal strength among signals transmitted and/or received by the plurality of rf devices.
In a possible design, the sending module may be further configured to send the data of the terminal device to the first radio frequency device after the sending module sends the second message to the first radio frequency device.
In one possible design, the first rf device may be a multi-mode rf device.
In a possible design, the sending module may be further configured to send a third message to the first radio frequency device if there is no service between the first radio frequency device and the terminal device. The third message may be used to instruct the first radio frequency device to stop providing the first radio frequency service for the terminal device.
Optionally, the absence of service between the first radio frequency device and the terminal device may be: the first radio frequency device is not in communication with the terminal device for a period of time.
In a possible design, the apparatus according to the second aspect may further include: and a processing module. The receiving module may be further configured to receive a registration message sent by each of the plurality of radio frequency devices, where the registration message may include an operating parameter of the radio frequency device. And the processing module can be used for recording the corresponding relation between the radio frequency device and the working parameters.
In one possible embodiment, the plurality of rf devices may include a built-in rf device and/or an external extension rf device of the communication apparatus.
Alternatively, the sending module and the receiving module may be integrated into one module, such as a transceiver module. The transceiver module is used for realizing the sending function and the receiving function of the communication device.
Optionally, the apparatus of the second aspect may further comprise a storage module storing the program or the instructions. The program or instructions, when executed by the processing module, cause the apparatus to perform the method of the first aspect.
It should be noted that the apparatus according to the second aspect may be a network device, a chip (system) or other component or assembly that can be disposed in the network device, or an apparatus including the network device, and the present application is not limited thereto.
In addition, for technical effects of the apparatus according to the second aspect, reference may be made to technical effects of the method according to the first aspect, and details are not repeated here.
In a third aspect, a communications apparatus is provided. The communication device includes: a processor coupled to the memory, the processor being configured to execute a computer program stored in the memory to cause the apparatus to perform the method of the first aspect.
In one possible design, the apparatus of the third aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be for the apparatus of the third aspect to communicate with other apparatuses.
In this application, the apparatus according to the third aspect may be a network device, or a chip (system) or other component or assembly that can be disposed in the network device, or an apparatus that includes the network device.
In addition, for technical effects of the apparatus according to the third aspect, reference may be made to technical effects of the method according to the first aspect, and details are not repeated here.
In a fourth aspect, a communication device is provided. The communication device includes: a processor and a memory; the memory is adapted to store a computer program which, when executed by the processor, causes the apparatus to perform the method of the first aspect.
In a possible design, the apparatus of the fourth aspect may further include a transceiver. The transceiver may be a transmit-receive circuit or an interface circuit. The transceiver may be for the apparatus of the fourth aspect to communicate with other apparatuses.
In this application, the apparatus of the fourth aspect may be a network device, or a chip (system) or other component or assembly that can be disposed in the network device, or an apparatus including the network device.
In addition, for technical effects of the apparatus according to the fourth aspect, reference may be made to technical effects of the method according to the first aspect, and details are not repeated here.
In a fifth aspect, a communications apparatus is provided. The communication device includes: a processor and interface circuitry. The interface circuit is used for receiving code instructions and transmitting the code instructions to the processor; the processor is configured to execute the code instructions to perform the method of the first aspect.
Optionally, the apparatus according to the fifth aspect may further include: a receiver and a transmitter. Wherein the receiver is used for realizing the receiving function of the device, and the transmitter is used for realizing the transmitting function of the device. Alternatively, the transmitter and receiver may be integrated into one device, such as a transceiver. The transceiver is used for realizing the sending function and the receiving function of the device.
Optionally, the apparatus of the fifth aspect may further comprise a memory storing the program or instructions. The program or instructions, when executed by a processor of the fifth aspect, cause the apparatus to perform the method of the first aspect.
In this application, the apparatus of the fifth aspect may be a network device, or a chip (system) or other component or assembly that can be disposed in the network device, or an apparatus including the network device.
In addition, for technical effects of the apparatus according to the fifth aspect, reference may be made to technical effects of the method according to the first aspect, and details are not repeated here.
In a sixth aspect, a communications apparatus is provided. The communication device comprises a processor and a transceiver, wherein the transceiver may be a transceiver circuit or an interface circuit, the transceiver is used for information interaction between the device and other devices, and the processor executes program instructions to perform the method according to the first aspect.
Optionally, the apparatus of the sixth aspect may further comprise a memory, the memory storing the program or instructions. The program or instructions, when executed by a processor of the sixth aspect, cause the apparatus to perform the method of the first aspect.
In this application, the apparatus according to the sixth aspect may be a network device, or a chip (system) or other component or assembly that can be disposed in the network device, or an apparatus including the network device.
In addition, for technical effects of the apparatus according to the sixth aspect, reference may be made to technical effects of the method according to the first aspect, and details are not repeated here.
In a seventh aspect, a communication system is provided. The communication system includes one or more network devices. Optionally, the communication system may further include one or more terminal devices. The network device is configured to perform the method of the first aspect.
In an eighth aspect, there is provided a computer-readable storage medium comprising: computer programs or instructions; the computer program or instructions, when executed on a computer, cause the computer to perform the method of the first aspect.
In a ninth aspect, there is provided a computer program product comprising a computer program or instructions which, when run on a computer, causes the computer to perform the method of the first aspect.
Drawings
Fig. 1 is a schematic architecture diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a communication method according to an embodiment of the present application;
fig. 3 is a first schematic structural diagram of a communication device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a communication device according to a second embodiment of the present disclosure.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
The technical solution of the embodiment of the present application may be applied to various communication systems, for example, an internet of things (IoT) system, a Wireless Local Area Network (WLAN) system, a wireless fidelity (WiFi) system, a vehicle to any object (V2X) communication system, a device-to-device (D2D) communication system, an internet of vehicles communication system, a 4th generation (4 g) mobile communication system, such as a Long Term Evolution (LTE) system, a Worldwide Interoperability for Microwave Access (WiMAX) communication system, a fifth generation (5 g) mobile communication system, such as a new radio, NR) system, and a future communication system, such as a sixth generation (g) mobile communication system, etc.
This application is intended to present various aspects, embodiments or features around a system that may include a number of devices, components, modules, and the like. It is to be understood and appreciated that the various systems may include additional devices, components, modules, etc. and/or may not include all of the devices, components, modules etc. discussed in connection with the figures. Furthermore, a combination of these schemes may also be used.
In addition, in the embodiments of the present application, words such as "exemplary", "for example", etc. are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the term using examples is intended to present concepts in a concrete fashion.
In the embodiment of the present invention, "information", "signal", "message", "channel", "signaling" may be used in combination, and it should be noted that the meaning to be expressed is consistent when the difference is not emphasized. "of", "corresponding", and "corresponding" may sometimes be used in combination, it being noted that the intended meaning is consistent when no distinction is made.
In the examples of this application, the subscripts are sometimes as follows1It may be mistaken for a non-subscripted form such as W1, whose intended meaning is consistent when the distinction is de-emphasized.
The network architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person of ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
To facilitate understanding of the embodiments of the present application, a communication system applicable to the embodiments of the present application will be first described in detail by taking the communication system shown in fig. 1 as an example. Fig. 1 is a schematic structural diagram of a communication system to which the communication method provided in the embodiment of the present application is applied.
As shown in fig. 1, the communication system includes a network device and a terminal device.
The network device is a device located on the network side of the communication system and having a wireless transceiving function or a chip system that can be installed on the device. The network devices include, but are not limited to: an Access Point (AP) in a wireless fidelity (WiFi) system, such as a home gateway, a router, a server, a switch, a bridge, etc., an evolved Node B (eNB), a Radio Network Controller (RNC), a Node B (NB), a Base Station Controller (BSC), a Base Transceiver Station (BTS), a home base station (NodeB, or home Node B, HNB), a Base Band Unit (BBU), the wireless relay Node, the wireless backhaul Node, the transmission point (TRP or TP), etc., may also be 5G, such as a gNB in a New Radio (NR) system, or a transmission point (TRP or TP), one or a group (including multiple antenna panels) of antenna panels of a base station in the 5G system, or a network Node forming the gNB or the transmission point, such as a baseband unit (BBU), or a Distributed Unit (DU), a roadside unit (RSU) with a base station function, etc.
Alternatively, the network device may include a plurality of rf devices, such as a first rf device, a second rf device, a third rf device, and so on. Wherein the plurality of radio frequency devices may include: the network equipment comprises a built-in radio frequency device, such as a built-in radio frequency chip, and/or an external extended radio frequency device, such as a radio frequency extension card, so as to realize the full utilization of radio frequency resources. In addition, each rf device may be a multi-mode rf device, or each rf device may support multiple wireless communication systems, so as to support multiple rf services corresponding to the multiple wireless communication systems. Wherein, the plurality of radio frequency devices support the same radio frequency service, such as the first radio frequency service. The plurality of wireless communication systems may include: bluetooth (BLE) communication, zigbee (Zigbee) communication, radio Frequency Identification (RFID) communication, or long range radio (LoRa) communication, and the like, without limitation. Accordingly, the plurality of radio frequency services may include a plurality of: BLE communication service, zigbee communication service, RFID communication service, loRa communication service, or the like, without limitation. It can be seen that the wireless communication system supported by each rf device may correspond to the supported rf service. In other words, if a radio frequency device supports a certain wireless communication system, the radio frequency device supports a radio frequency service corresponding to the wireless communication system, for example, if the radio frequency device supports BLE communication, the radio frequency device may support BLE communication service. In this way, each RF device may selectively provide RF services from among the plurality of RF services supported. For example, each radio frequency device may provide multiple radio frequency services simultaneously, such as providing BLE communication service and Zigbee communication service simultaneously, or may switch a currently provided radio frequency service, such as switching from Zigbee communication service to BLE communication service.
The terminal device may be a terminal with a wireless transceiving function or a chip system that can be installed in the terminal, and may access the communication system through a radio frequency service provided by the radio frequency device. The terminal device may also be referred to as an internet of things terminal, user Equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user equipment. The terminal device in the embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), a vehicle-mounted terminal, an RSU with a terminal function, and the like.
It should be noted that the communication method provided in this embodiment of the present application may be applicable to communication between the terminal device and the network device shown in fig. 1, and for specific implementation, reference may be made to the following method embodiment, which is not described herein again.
It should be noted that the solutions in the embodiments of the present application may also be applied to other communication systems, and the corresponding names may also be replaced with names of corresponding functions in other communication systems.
It should be appreciated that fig. 1 is a simplified schematic diagram of an example for ease of understanding only, and that other network devices, and/or other terminal devices, not shown in fig. 1, may also be included in the communication system.
The communication method provided in the embodiment of the present application will be specifically described below with reference to fig. 2.
Exemplarily, fig. 2 is a schematic flowchart of a communication method provided in an embodiment of the present application. The communication method may be applied to communication between the terminal device and the network device shown in fig. 1.
As shown in fig. 2, the communication method includes the steps of:
s201, the terminal device sends a first message, and the network device receives the first message from the terminal device.
The first message may be a message or a packet for requesting the first radio frequency service, or the first message may be used to request the first radio frequency service, and may include an Identity (ID) of the terminal device. In particular, the first message may be a beacon message, such as an ADV _ INC message, which may be BLE, for requesting BLE service. It can be seen that the name of the first message may correspond to the type of the first radio frequency service, that is, the terminal device may implicitly request the radio frequency service of the corresponding type by the name of the message, so that the content of the message may be simplified, and further, the communication efficiency may be improved.
Wherein the terminal device may broadcast the first message. Accordingly, a network device, such as a radio frequency device of the network device, may receive the first message. For example, if a plurality of radio frequency devices provide the first radio frequency service, the plurality of radio frequency devices may all receive the first message.
For ease of understanding, the following description is given by way of example.
Illustratively, the plurality of radio frequency devices includes: and a radio frequency chip and a radio frequency expansion card are arranged in the radio frequency expansion card. The radio frequency service provided by the built-in radio frequency chip can be switched among a plurality of supported radio frequency services, such as being switched into a BLE communication service, and the radio frequency expansion card can simultaneously provide a plurality of radio frequency services, such as simultaneously providing a BLE communication service, a Zigbee communication service and an RFID communication service. If the terminal equipment broadcasts the ADV _ INC message of BLE, both the built-in radio frequency chip and the radio frequency expansion card can receive the ADV _ INC message. However, if the radio frequency service provided by the built-in radio frequency chip is switched from the BLE communication service to the Zigbee communication service, the built-in radio frequency chip cannot receive the ADV _ INC message.
S202, the network equipment sends a second message to the first radio frequency device.
The first rf device may be a multi-mode rf device, and may be an rf device with idle resources in the plurality of rf devices. That is to say, the first rf device may support multiple wireless communication systems to provide multiple rf services, such as the first rf service, the second rf service, the third rf service, and so on, to meet various rf service requirements of the terminal device, thereby further improving diversity and applicability of the rf services. And if the current load of the first radio frequency device is less than the maximum load supported by the first radio frequency device, determining that idle resources exist. For example, on the basis that the first radio frequency device supports simultaneous access to 4 terminal devices, if the first radio frequency device has simultaneously accessed to 3 terminal devices, there is an idle resource, but if the first radio frequency device has simultaneously accessed to 4 terminal devices, there is no idle resource.
Optionally, the first radio frequency device may also be a radio frequency device with the smallest load among the multiple radio frequency devices, and a situation that the first radio frequency device cannot provide the first radio frequency service due to an excessively high load may be avoided, so that reliability of the first radio frequency service is improved. And/or, the first radio frequency device may also be a radio frequency device corresponding to a signal with the largest signal strength among signals transmitted and/or received by the plurality of radio frequency devices, so as to ensure that the quality of the first radio frequency service is better, the service is more stable, and the user experience is better.
Thus, it can be seen that the network device may determine the first radio frequency device based on the idle resources of the radio frequency device, or based on a combination of the idle resources of the radio frequency device and the load size and/or signal strength. Described separately below.
Scenario a. Determine a first radio frequency device from an idle resource of the radio frequency device.
The network device stores the operating parameters of each of the plurality of radio frequency devices, so that the network device can determine the first radio frequency device having idle resources according to the operating parameters. Wherein the operating parameters may include one or more of: supported wireless communication system, provided radio frequency service, maximum supported load, or current load.
Specifically, the network device may determine, from the plurality of radio frequency devices, a radio frequency device that supports the first radio frequency service according to a wireless communication system supported by each radio frequency device. Then, the network device may determine, from among the radio frequency devices supporting the first radio frequency service, a radio frequency device providing the first radio frequency service according to the radio frequency service provided by each radio frequency device. Finally, the network device may determine, from the radio frequency devices providing the first radio frequency service, a radio frequency device having an idle resource, that is, the first radio frequency device, according to the maximum load supported by each radio frequency device and the current load. If there are multiple rf devices with idle resources, one of the multiple rf devices may be selected as the first rf device.
For the sake of understanding, the above-mentioned built-in rf chip and rf expansion card are used as examples for description.
As a first example, the operating parameters of the above-mentioned built-in rf chip and rf expansion card stored by the network device may be as shown in table 1 below.
TABLE 1
Figure BDA0003050583900000071
As can be seen from table 1, if the first rf service is a BLE communication service, the network device may determine that both the internal rf chip and the rf expansion card support the BLE communication service, and determine that both the internal rf chip and the rf expansion card can provide the BLE communication service. Finally, the network device may determine that the built-in radio frequency chip has no idle resource according to that the maximum load supported by the built-in radio frequency chip is 4 and the current load is 4, and determine that the radio frequency expansion card has idle resource according to that the maximum load supported by the radio frequency expansion card is 8 and the current load is 3. That is, in this case, the radio frequency expansion card is determined to be the first radio frequency device.
In addition, if the maximum load supported by the built-in radio frequency chip is 4 and the current load is 3, it is determined that the built-in radio frequency chip also has idle resources. In this case, the network device may determine that any one of the built-in rf chip and the rf expansion card is the first rf device.
And B, determining the first radio frequency device according to the idle resources and the load size of the radio frequency device.
Similarly to the scenario a, the network device also stores the operating parameters of each rf device, so as to determine the rf device providing the first rf service from the multiple rf devices. For determining the specific implementation of the radio frequency device providing the first radio frequency service, reference may be made to the related description in the scenario a, and details are not described herein again. Then, the network device may determine, from the radio frequency devices providing the first radio frequency service, a radio frequency device having a minimum load and having idle resources, that is, the first radio frequency device, according to the maximum load supported by each radio frequency device and the current load. The minimum load may refer to the current minimum load, or may refer to the minimum ratio of the current load to the maximum load supported, so that the network device may reasonably select a determination method of the minimum load according to actual requirements, so as to ensure that the determined radio frequency chip can meet the actual requirements. In addition, if there are a plurality of rf devices with idle resources and the minimum load, one of the rf devices may be selected as the first rf device.
For the sake of understanding, the following description continues by taking the above-mentioned built-in rf chip and rf expansion card as examples.
As a second example, the operating parameters of the built-in rf chip and the rf expansion card saved by the network device may be as shown in table 2 below.
TABLE 2
Figure BDA0003050583900000081
As can be seen from table 2, if the first radio frequency service is a BLE communication service, the network device may determine that both the built-in radio frequency chip and the radio frequency expansion card support the BLE communication service, and determine that both the built-in radio frequency chip and the radio frequency expansion card can provide the BLE communication service. Finally, the network device may determine that both the internal radio frequency chip and the radio frequency expansion card have idle resources according to that the maximum load supported by the internal radio frequency chip is 4 and the current load is 2, and according to that the maximum load supported by the radio frequency expansion card is 8 and the current load is 3. In this case, if the minimum load means that the current load is minimum, the minimum load of the internal rf chip is determined (the minimum load is 2 is smaller than the minimum load is 3), so that the internal rf chip is determined to be the first rf device. Or, if the load is minimum, that is, the ratio between the current load and the maximum load supported is minimum, determining that the load of the radio frequency expansion card is minimum (the load is minimum 3/8 less than the load is minimum 2/4), and thus determining that the radio frequency expansion card is the first radio frequency device.
And C, determining the first radio frequency device according to the idle resources and the signal strength of the radio frequency device.
Different from the scenario a, the working parameters of each rf device stored by the network device not only include one or more of the following: the supported wireless communication system, the provided radio frequency service, the supported maximum load, or the current load may further include: signal strength, such as the signal strength of a transmitted or received signal. The signal strength may be reported by each rf device. For example, if the signal strength is the signal strength of the received message, the radio frequency device receives the message, and if the latest message is received, the radio frequency device may report not only the message but also the signal strength of the message, such as the signal strength of the first message, and/or if the signal strength is the signal strength of the transmitted message, the radio frequency device transmits the message, and if the latest message is transmitted, the radio frequency device may also report the signal strength of the message, so that the network device knows the signal strength of each radio frequency device. Of course, reporting the signal strength is only an exemplary way and is not limited. For example, the network device may also pre-configure the signal strength of each radio frequency device.
Thus, the network device may determine, from the plurality of radio frequency devices, a radio frequency device having idle resources according to the operating parameter. For specific implementation of the radio frequency device with idle resources, reference may be made to the related description in the scenario a, which is not described herein again. Further, if there is one radio frequency device with idle resources, the network device may determine that the radio frequency device with idle resources is the first radio frequency device. However, if there is more than one radio frequency device having idle resources, the network device may determine, from the radio frequency devices having idle resources, the radio frequency device having the highest signal strength as the first radio frequency device according to the signal strengths of the plurality of radio frequency devices. If there are a plurality of rf devices with the highest signal strength, one of the rf devices may be selected as the first rf device.
For the sake of understanding, the following description continues by taking the above-mentioned built-in rf chip and rf expansion card as examples.
As a third example, the operating parameters of the above-mentioned built-in rf chip and rf expansion card stored by the network device may be as shown in table 3 below.
TABLE 3
Figure BDA0003050583900000091
As can be seen from table 3, if the first rf service is a BLE communication service, the network device may determine that both the internal rf chip and the rf expansion card have idle resources. For specific implementation of determining that both the built-in rf chip and the rf expansion card have idle resources, reference may be made to the related description in the first example, which is not described herein again. In this case, the network device may determine that the signal strength of the built-in rf chip is the maximum (the signal strength is 4 greater than the signal strength is 3) according to the signal strength, so as to determine that the built-in rf chip is the first rf device.
And D, determining the first radio frequency device according to the idle resources, the load size and the signal strength of the radio frequency device.
Similar to scenario C above, the network device may store the operating parameters of each rf device, including one or more of the following: supported wireless communication system, provided radio frequency service, supported maximum load, current load, or signal strength, such as signal strength of a transmitted or received signal. In this way, the network device may determine, from the plurality of rf devices, an rf device having a minimum load and having an idle resource according to the operating parameter. For determining the specific implementation of the radio frequency device with the minimum load and having idle resources, reference may be made to the related description in the above scenario B, which is not described herein again. Further, if there is one radio frequency device with idle resources and the minimum load, the network device may determine that the radio frequency device with idle resources and the minimum load is the first radio frequency device. If there is more than one radio frequency device with idle resources and the minimum load, the network device may determine, according to the respective signal strengths of the plurality of radio frequency devices, a radio frequency device with the maximum signal strength, that is, the first radio frequency device, from the radio frequency devices with idle resources and the minimum load.
For the sake of understanding, the following description continues by taking the above-mentioned built-in rf chip and rf expansion card as examples.
As a fourth example, the operating parameters of the above-mentioned built-in rf chip and rf expansion card stored by the network device may be as shown in table 4 below.
TABLE 4
Figure BDA0003050583900000092
As can be seen from table 4, if the first rf service is BLE communication service and the minimum load is the smallest ratio between the current load and the maximum load supported, the network device may determine that both the built-in rf chip and the rf expansion card have idle resources and the load is the minimum (the load is 2/4 minimum, which is equal to the load is 4/8 minimum). For a specific implementation that both the built-in rf chip and the rf expansion card have idle resources and have the minimum load, reference may be made to the related description in the second example, which is not described herein again. In this case, the network device may determine that the signal strength of the built-in rf chip is the maximum (the signal strength is 4 greater than the signal strength is 3) according to the signal strength, so as to determine that the built-in rf chip is the first rf device.
It should be noted that, in the scenarios a-D, if there is a radio frequency device supporting the first radio frequency service but the first radio frequency service is not currently provided, the network device may determine, according to the current load of the radio frequency device, whether the currently provided radio frequency service can be switched to the first radio frequency service. For example, if the current load of the radio frequency device is 0, it is determined that the first radio frequency service may be switched, and otherwise, the first radio frequency service may not be switched. Further, if the network device determines that the network device can be switched to the first radio frequency service and determines that the radio frequency device is the first radio frequency device, the network device controls the radio frequency device to provide the first radio frequency service so that the terminal device can access the first radio frequency service. For determining the specific implementation of the first rf device, reference may be made to the related descriptions in the scenarios a-D, which are not described herein again.
For the sake of understanding, the above-mentioned built-in rf chip and rf expansion card are used as examples for description.
As a fifth example, the operating parameters of the above-mentioned built-in rf chip and rf expansion card saved by the network device may be as shown in table 5 below.
TABLE 5
Figure BDA0003050583900000101
As can be seen from table 5, the internal rf chip supports BLE communication, but currently, BLE communication service is not provided, but Zigbee communication service is provided. If the first radio frequency service is a BLE communication service and the current load of the built-in radio frequency chip is 0, the switching to the BLE communication service is determined. In this case, the built-in rf chip may participate in the determination of the first rf device, or the network device may determine the first rf device from the built-in rf chip and the rf expansion card. And if the network equipment determines that the built-in radio frequency chip is the first radio frequency device, the built-in radio frequency chip is controlled to switch from providing the Zigbee communication service to providing the BLE communication service so that the terminal equipment can access the device. Of course, if the current load of the internal radio frequency chip in table 5 is not 0, it is determined that the internal radio frequency chip may not be switched to BLE communication service, and thus it is determined that the radio frequency expansion card is the first radio frequency device.
In summary, in conjunction with scenarios a-D described above, the operating parameters may include one or more of the following: the wireless communication system supported by each rf device, the rf service provided by each rf device, the maximum load supported by each rf device, the current load of each rf device, or the signal strength of each rf device. Therefore, the network equipment can select corresponding parameters according to actual requirements, so that the determined first radio frequency device can meet the actual requirements. For example, if a high quality rf service is required, the first rf device may be determined according to the signal strength to improve the quality of service of the first rf service. For another example, if a high-reliability rf service is required, the first rf device may be determined according to the maximum load and the current load, so as to avoid a situation that the first rf device cannot provide the first rf service due to an excessively high load, thereby improving the reliability of the first rf service.
Further, after determining the first rf device, the network device may send a second message to the first rf device.
The second message may be used to instruct the first rf device to provide the first rf service for the terminal device. In particular, the second message may be a radio frequency connection service initiation message, which may include the identification of the terminal device and the first indication information. The first indication information may be used to indicate that the first radio frequency device provides the first radio frequency service for the terminal device. Correspondingly, after receiving the second message, the first radio frequency device can establish connection with the terminal device according to the first indication information, so that the first radio frequency service is provided for the terminal device.
Optionally, before S202, the network device may acquire the above-mentioned operating parameters in advance.
For example, as an embodiment, the operating parameter may be reported by each rf device. For example, when the network device is powered on, or when the radio frequency service provided by each radio frequency device and the current load change, each radio frequency device may report the latest operating parameter of the radio frequency device by itself. Of course, each rf device may also periodically report the latest operating parameter, which is not limited thereto.
For the sake of understanding, the above-mentioned built-in rf chip and rf expansion card are used as examples for description.
As a fifth example, the wireless communication system supported by the built-in rf chip includes: BLE communication, zigbee communication, and RFID communication, the provided radio frequency service is Zigbee communication service, the maximum load supported is 4, and the current load is 0. If the radio frequency service provided by the built-in radio frequency chip is switched from the Zigbee communication service to the RFID communication service, the built-in radio frequency chip may report the latest working parameter, as shown in table 6 below.
TABLE 6
Figure BDA0003050583900000111
In addition, the wireless communication system supported by the built-in radio frequency chip comprises: BLE communication, zigbee communication, and RFID communication, the radio frequency service provided includes BLE communication, zigbee communication, and RFID communication, the maximum load supported is 8, and the current load is 6. If the current load of the rf expansion card changes from 6 to 7, the rf expansion card may report the latest operating parameters, as shown in table 7 below.
TABLE 7
Figure BDA0003050583900000112
For another example, as another embodiment, the operating parameters may be obtained by the network device actively from multiple radio frequency devices. For example, after the network device is powered on, the latest operating parameters of each rf device may be periodically obtained from the rf device.
It should be noted that, for the current load of each radio frequency device, the current load may be reported by the radio frequency device, or obtained by the network device from the radio frequency device, or determined by the network device. For example, the network device may record the number of terminal devices accessing the radio frequency device, thereby determining the current load of the radio frequency device.
Optionally, before S202, the communication method may further include: and transmitting the data of the terminal equipment to the first radio frequency device.
After the network device determines the first rf device, a mapping relationship between the first rf device and the terminal device may be established to indicate that the first rf device has been allocated to the terminal device. In this way, when the network device receives data of the terminal device, for example, the data from the internet of things or the wireless local area network, the network device may send the data to the first radio frequency device according to the mapping relationship, so that the first radio frequency device sends the data to the terminal device.
Optionally, the communication method may further include: if there is no service between the first rf device and the terminal device, a third message may be sent to the first rf device.
Wherein, no service between the first radio frequency device and the terminal device may be: the first radio frequency device is not in communication with the terminal device for a period of time. That is, the network device may monitor, e.g., periodically monitor, whether the first rf device is in communication with the terminal device. And if the first radio frequency device is determined not to be communicated with the terminal equipment within a period of time, such as the current period or a plurality of recent periods, determining that no service exists between the first radio frequency device and the terminal equipment.
The third message may be used to instruct the first rf device to stop providing the first rf service for the terminal device, for example, the third message may be an rf connection service cancellation message, and may include an identifier of the terminal device and the second indication information. The second indication information may be used to indicate that the first radio frequency device stops providing the first radio frequency service for the terminal device. Correspondingly, after receiving the third message, the first radio frequency device may disconnect the connection with the terminal device according to the second indication information, thereby stopping providing the first radio frequency service for the terminal device. Therefore, the radio frequency resource of the first radio frequency device can be recycled, so that the first radio frequency device can provide radio frequency service for other terminal equipment, and the operation efficiency of the first radio frequency device is improved.
It should be noted that, because whether the first radio frequency device and the terminal device communicate with each other within a period of time can accurately reflect whether a service exists, a service disconnection between the first radio frequency device and the terminal device by mistake can be avoided, and thus, service reliability and stability can be ensured.
Optionally, the communication method may further include: the network device receives a registration message sent by each of the plurality of radio frequency devices. Wherein the registration message may include the above-mentioned operating parameters of the radio frequency device. Therefore, the network equipment can record the corresponding relation between the radio frequency device and the working parameters of the radio frequency device, so that the radio frequency device such as the first radio frequency device which needs to provide radio frequency service for the terminal equipment can be quickly determined according to the corresponding relation, and the operation efficiency of the network equipment can be improved. The specific implementation of the correspondence relationship can be as shown in tables 1 to 7, and is not described herein again.
The communication method provided by the embodiment of the present application is described in detail above with reference to fig. 2. A communication apparatus for performing the communication method provided by the embodiments of the present application is described in detail below with reference to fig. 3 to 4.
Fig. 3 is a first schematic structural diagram of a communication device according to an embodiment of the present disclosure. As shown in fig. 3, the communication apparatus 300 includes: a receiving module 301 and a transmitting module 302. For ease of illustration, fig. 3 shows only the main components of the communication device.
In some embodiments, the communication apparatus 300 may be applied in the communication system shown in fig. 1, and performs the functions of the network device in the communication method shown in fig. 2.
The receiving module 301 is configured to receive a first message from a terminal device.
A sending module 302, configured to send a second message to the first radio frequency device. The first message is used for requesting a first radio frequency service, the first radio frequency device is a radio frequency device with idle resources in the plurality of radio frequency devices, the second message is used for indicating the first radio frequency device to provide the first radio frequency service for the terminal equipment, and the plurality of radio frequency devices support the first radio frequency service.
In one possible design, the first rf device may be determined based on an operating parameter of each of the plurality of rf devices.
Optionally, the operating parameters may include one or more of: supported wireless communication system, provided radio frequency service, supported maximum load, current load, or signal strength of transmitted or received signals.
In one possible design, the first rf device may be the least loaded rf device of the plurality of rf devices.
In another possible design, the first rf device may be an rf device corresponding to a signal with the greatest signal strength among signals transmitted and/or received by the plurality of rf devices.
In one possible design, the sending module 302 may be further configured to send the data of the terminal device to the first radio frequency device after the sending module 302 sends the second message to the first radio frequency device.
In one possible design, the first rf device may be a multi-mode rf device.
In a possible design, the sending module 302 may be further configured to send a third message to the first radio frequency device if there is no service between the first radio frequency device and the terminal device. Wherein the third message may be used to instruct the first radio frequency device to stop providing the first radio frequency service for the terminal device.
Optionally, the absence of traffic between the first radio frequency device and the terminal device may be: the first radio frequency device is not in communication with the terminal device for a period of time.
In a possible design, the apparatus of the first aspect may further include: a processing module 303 (shown in dashed box in fig. 3). The receiving module 301 may be further configured to receive a registration message sent by each of the multiple radio frequency devices, where the registration message may include an operating parameter of the radio frequency device. The processing module 303 may be configured to record a corresponding relationship between the radio frequency device and the operating parameter.
In one possible design, the plurality of rf devices may include a built-in rf device and/or an external extension rf device of the communication apparatus 300.
Alternatively, the receiving module 301 and the transmitting module 302 may be integrated into one module, such as a transceiver module (not shown in fig. 3). The transceiver module is used for implementing a sending function and a receiving function of the communication device 300.
Optionally, the communication device 300 may also include a memory module (not shown in fig. 3) that stores programs or instructions. The program or instructions, when executed by the receiving module 301, enable the communication apparatus 900 to perform the functions of the network device in the communication method illustrated in fig. 2.
It should be understood that the processing module 301 involved in the communication device 300 may be implemented by a processor or a processor-related circuit component, which may be a processor or a processing unit; the transceiver module 302 may be implemented by a transceiver or transceiver-related circuit component, and may be a transceiver or transceiver unit.
The communication device 300 may be a network device, a chip (system) or other component or assembly that can be disposed in the network device, or a device including the network device, which is not limited in this application.
In addition, the technical effect of the communication apparatus 300 can refer to the technical effect of the communication method shown in fig. 2, and is not described herein again.
Exemplarily, fig. 4 is a schematic structural diagram of a communication device provided in the embodiment of the present application. Corresponding to the method embodiment and the virtual device embodiment provided by the present application, the communication device 400 corresponds to the network device in the communication method, and the hardware, the modules and the other operations and/or functions in the communication device 400 are respectively used for implementing various steps and methods implemented by the network device in the communication method, and for how the communication device 400 receives the first message, determines the first radio frequency device, and sends the second message, specific details may refer to the method embodiment, and for brevity, are not described again.
The steps of the communication method are performed by hardware integrated logic circuits or instructions in software in the processor of the communication apparatus 400. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor. To avoid repetition, it is not described in detail here.
This communication apparatus 400 corresponds to the apparatus 300 in the above-described virtual apparatus embodiment, and each functional module in the apparatus 300 is implemented by software of the communication apparatus 400. In other words, the apparatus 300 comprises functional modules that are generated by a processor of the communication apparatus 400 reading program code stored in a memory.
As shown in fig. 4, the communication device 400 may include a processor 401. Optionally, the communication device 400 may also include a memory 402 and/or a transceiver 403. Wherein the processor 401 is coupled to the memory 402 and the transceiver 403, such as may be connected by a communication bus.
The following describes each component of the communication apparatus 400 in detail with reference to fig. 4:
the processor 401 is a control center of the communication apparatus 400, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 401 is one or more Central Processing Units (CPUs), or may be an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as: one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
Alternatively, the processor 401 may perform various functions of the communication device 400 by running or executing software programs stored in the memory 402 and invoking data stored in the memory 402.
In particular implementations, processor 401 may include one or more CPUs, such as CPU0 and CPU1 shown in fig. 4, as one embodiment.
In particular implementations, communication device 400 may also include multiple processors, such as processor 401 and processor 404 shown in fig. 4, for example, as an example. Each of these processors may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The memory 402 is configured to store a software program for executing the scheme of the present application, and is controlled by the processor 401 to execute the software program.
Alternatively, memory 402 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 402 may be integrated with the processor 401 or may be independent, and is coupled to the processor 401 through an interface circuit (not shown in fig. 4) of the communication device 400, which is not specifically limited in this embodiment.
A transceiver 403 for communication with other communication devices. For example, the communication apparatus 400 is a terminal device, and the transceiver 403 may be used for communicating with a network device or another terminal device. As another example, the communication apparatus 400 is a network device, and the transceiver 403 may be used for communicating with a terminal device or another network device.
Alternatively, the processor 401, the memory 402, and the transceiver 403 may be integrated on a main control board (not shown in fig. 4) of the communication device 400. On this basis, if the radio frequency device is a radio frequency device of the communication apparatus itself, such as a built-in radio frequency chip 404 (shown by a dotted line in fig. 4), the built-in radio frequency chip 404 may also be integrated on the main control board and connected to the processor 401 through a communication bus, so as to implement the functions described in the above communication method, such as providing the first radio frequency service. If the rf device is an external rf device, such as an rf expansion card (shown by a dashed line in fig. 4), the rf device may access the communication apparatus 400 through the transceiver 403, so as to connect with the processor 401 to implement the functions described in the communication method, such as providing the first rf service.
Optionally, the transceiver 403 may include a receiver and a transmitter (not separately shown in fig. 4). Wherein the receiver is configured to implement a receive function and the transmitter is configured to implement a transmit function.
Alternatively, the transceiver 403 may be integrated with the processor 401, or may be independent and coupled to the processor 401 through an interface circuit (not shown in fig. 4) of the communication device 400, which is not specifically limited in this embodiment of the present invention.
It should be noted that the structure of the communication device 400 shown in fig. 4 is not limited to the communication device, and an actual communication device may include more or less components than those shown, or combine some components, or arrange different components.
In addition, for technical effects of the communication apparatus 400, reference may be made to the technical effects of the communication method described in the foregoing method embodiment, and details are not repeated here.
In some possible embodiments, the network device may be implemented as a virtualized device.
For example, the virtualized device may be a Virtual Machine (VM) running a program for sending messages, and the VM is deployed on a hardware device (e.g., a physical server). A virtual machine refers to a complete computer system with complete hardware system functionality, which is emulated by software, running in a completely isolated environment. The virtual machine may be configured as a network device. For example, a network device may be implemented based on a general physical server in combination with Network Function Virtualization (NFV) technology. The network device is a virtual host, a virtual router or a virtual switch. Through reading the application, a person skilled in the art can combine the NFV technology to virtually simulate a network device with the above functions on a general physical server. And will not be described in detail herein.
For example, a virtualization appliance may be a container, which is an entity for providing an isolated virtualization environment, e.g., a container may be a docker container. The container may be configured as a network device. For example, the network device may be created by a corresponding mirror image, for example, 1 container instance may be created for proxy-container by providing a mirror image of a container (proxy-container) of the proxy service, for example, for the container instance proxy-container1, and the container instance proxy-container1 may be provided as the network device. When the container technology is adopted for implementation, the network device can run by utilizing the inner core of the physical machine, and a plurality of network devices can share the operating system of the physical machine. Different network devices can be isolated by container technology. The containerized network device may run in a virtualized environment, such as a virtual machine, or the containerized network device may run directly in a physical machine.
For example, the virtualization device may be Pod, which is a container arrangement engine of *** open source, such as kubernets, also abbreviated as K8s, and is a basic unit for deploying, managing, and arranging containerized applications. The Pod may include one or more containers. Each container in the same Pod is typically deployed on the same host, so each container in the same Pod can communicate through the host and can share the storage resources and network resources of the host. The Pod may be configured as a network device. For example, specifically, a Pod, that is, a container-based service (CaaS) may be instructed to create a Pod, and the Pod may be provided AS a route management device or AS management device.
Of course, the network device may also be other virtualization devices, which are not listed here.
In some possible embodiments, the network device may also be implemented by a general-purpose processor. For example, the general purpose processor may be in the form of a chip. Specifically, the general-purpose processor implementing the network device includes a processing circuit, and an input interface and an output interface connected and communicated with the processing circuit, where the processing circuit is configured to execute the message generating step in each of the above-mentioned method embodiments through the input interface, the processing circuit is configured to execute the receiving step in each of the above-mentioned method embodiments through the input interface, and the processing circuit is configured to execute the sending step in each of the above-mentioned method embodiments through the output interface. Optionally, the general-purpose processor may further include a storage medium, and the processing circuit is configured to execute the storage steps in the above-described method embodiments through the storage medium. The storage medium may store instructions for execution by a processing circuit that executes the instructions stored by the storage medium to perform the various method embodiments described above.
It should be understood that the processor in the embodiments of the present application may be a Central Processing Unit (CPU), and the processor 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, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will also be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of Random Access Memory (RAM) are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct bus RAM (DR RAM).
The above embodiments may be implemented in whole or in part by software, hardware (e.g., circuitry), firmware, or any combination thereof. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer instructions or the computer program are loaded or executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more collections of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. In addition, the "/" in this document generally indicates that the former and latter associated objects are in an "or" relationship, but may also indicate an "and/or" relationship, which may be understood with particular reference to the former and latter text.
In the present application, "at least one" means one or more, "a plurality" means two or more. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not imply any order of execution, and the order of execution of the processes should be determined by their functions and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units 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 functions, if implemented in the form of software functional units 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 or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (26)

1. A communication method applied to a network device, wherein the network device comprises a plurality of radio frequency devices, the method comprising:
receiving a first message from a terminal device, wherein the first message is used for requesting a first radio frequency service;
and sending a second message to a first radio frequency device, wherein the first radio frequency device is a radio frequency device with idle resources in the plurality of radio frequency devices, the second message is used for indicating the first radio frequency device to provide the first radio frequency service for the terminal equipment, and the plurality of radio frequency devices all support the first radio frequency service.
2. The communication method of claim 1, wherein the first radio frequency device is determined based on an operating parameter of each of the plurality of radio frequency devices.
3. The communication method of claim 2, wherein the operating parameters include one or more of: supported wireless communication system, provided radio frequency service, supported maximum load, current load, or signal strength of transmitted or received signals.
4. The communication method according to claim 3, wherein the first RF device is a least loaded RF device of the plurality of RF devices.
5. The communication method according to claim 3 or 4, wherein the first RF device is the RF device corresponding to the signal with the greatest signal strength among the signals transmitted and/or received by the plurality of RF devices.
6. The communication method according to any of claims 1-5, wherein after said sending the second message to the first radio frequency device, the method further comprises:
and sending the data of the terminal equipment to the first radio frequency device.
7. The communication method according to any of claims 1 to 6, wherein the first RF device is a multi-mode RF device.
8. The communication method according to any one of claims 1-7, wherein the method further comprises:
and if no service exists between the first radio frequency device and the terminal equipment, sending a third message to the first radio frequency device, wherein the third message is used for indicating the first radio frequency device to stop providing the first radio frequency service for the terminal equipment.
9. The communication method according to any of claims 2-8, wherein the method further comprises:
receiving a registration message sent by each radio frequency device in the plurality of radio frequency devices, wherein the registration message comprises working parameters of the radio frequency device;
and recording the corresponding relation between the radio frequency device and the working parameters.
10. The communication method according to any one of claims 1 to 9, wherein the plurality of radio frequency devices include a built-in radio frequency device and/or an external extension radio frequency device of the network device.
11. A communication apparatus, characterized in that the communication apparatus comprises: a receiving module and a transmitting module, wherein,
the receiving module is configured to receive a first message from a terminal device, where the first message is used to request a first radio frequency service;
the sending module is configured to send a second message to a first radio frequency device, where the first radio frequency device is a radio frequency device with idle resources among multiple radio frequency devices, the second message is used to instruct the first radio frequency device to provide the first radio frequency service for the terminal device, and the multiple radio frequency devices all support the first radio frequency service.
12. The communications apparatus of claim 11, wherein the first radio frequency device is determined based on an operating parameter of each of the plurality of radio frequency devices.
13. The communications device of claim 12, wherein the operating parameters include one or more of: supported wireless communication system, provided radio frequency service, supported maximum load, current load, or signal strength of transmitted or received signals.
14. The apparatus of claim 13, wherein the first rf device is a least loaded rf device of the plurality of rf devices.
15. The communication apparatus according to claim 13 or 14, wherein the first rf device is an rf device corresponding to a signal with the greatest signal strength among the signals transmitted and/or received by the plurality of rf devices.
16. The apparatus according to any of claims 11-15, wherein the sending module is further configured to send the data of the terminal device to a first rf device after the sending module sends a second message to the first rf device.
17. A communication apparatus according to any of claims 11-16, wherein the first rf device is a multi-mode rf device.
18. The communication device according to any of claims 11-17,
the sending module is further configured to send a third message to the first radio frequency device if there is no service between the first radio frequency device and the terminal device, where the third message is used to instruct the first radio frequency device to stop providing the first radio frequency service for the terminal device.
19. A communication device according to any of claims 12-18, wherein the device further comprises: a processing module, wherein,
the receiving module is further configured to receive a registration message sent by each of the plurality of radio frequency devices, where the registration message includes an operating parameter of the radio frequency device;
and the processing module is used for recording the corresponding relation between the radio frequency device and the working parameters.
20. A communication apparatus according to any of claims 11-19, wherein the plurality of radio frequency devices comprises a built-in radio frequency device and/or an externally extended radio frequency device of the communication apparatus.
21. A communications apparatus, comprising: a processor coupled with a memory;
the processor to execute a computer program stored in the memory to cause the apparatus to perform the method of any of claims 1-10.
22. A communications apparatus, comprising: a processor and a memory; the memory is for storing computer instructions which, when executed by the processor, cause the apparatus to perform the method of any one of claims 1-10.
23. A communications apparatus, comprising: a processor and an interface circuit; wherein the content of the first and second substances,
the interface circuit is used for receiving code instructions and transmitting the code instructions to the processor;
the processor is configured to execute the code instructions to perform the method of any one of claims 1-10.
24. A communication device comprising a processor and a transceiver for information interaction between the device and another device, the processor executing program instructions for performing the method of any one of claims 1-10.
25. A computer-readable storage medium, comprising a computer program or instructions, which, when run on a computer, causes the method of any of claims 1-10 to be performed.
26. A computer program product, the computer program product comprising: computer program or instructions for causing the method of any one of claims 1-10 to be performed when the computer program or instructions are run on a computer.
CN202110485842.0A 2021-04-30 2021-04-30 Communication method and device Pending CN115278917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110485842.0A CN115278917A (en) 2021-04-30 2021-04-30 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110485842.0A CN115278917A (en) 2021-04-30 2021-04-30 Communication method and device

Publications (1)

Publication Number Publication Date
CN115278917A true CN115278917A (en) 2022-11-01

Family

ID=83745389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110485842.0A Pending CN115278917A (en) 2021-04-30 2021-04-30 Communication method and device

Country Status (1)

Country Link
CN (1) CN115278917A (en)

Similar Documents

Publication Publication Date Title
US20200128546A1 (en) Transmission Configuration Method and Related Product
CN111405637B (en) Communication method and device
CN111247828A (en) Single measurement gap for primary and secondary node measurements
BR112020020070A2 (en) METHOD, APPARATUS AND COMMUNICATIONS SYSTEM, AND STORAGE MEDIA
CN111586716B (en) Network slice deployment method and device
CN112367690B (en) Network switching method, device and system
WO2019084924A1 (en) Data transmission method and device
CN115296938B (en) Cloud computing management system and cloud computing management method
WO2014149641A1 (en) Techniques for roaming between wireless local area networks belonging to a social network
CN110972280B (en) Resource allocation method, information sending method and device
US11147077B2 (en) Method, terminal device and network device for scheduling resources
CN116567559A (en) Solid waste treatment method, device and system based on Internet of things
CN115278917A (en) Communication method and device
CN114175840B (en) Random access method and device
EP4262264A1 (en) Measurement method, scheduling method, and related apparatus
US10743292B2 (en) Method and apparatus for resource allocation
US20220190978A1 (en) Communication method, terminal and network device
CN111819884B (en) Communication method and device
CN116782167B (en) Data transmission method, device, electronic equipment, storage medium and program product
CN110972146B (en) Configuration method of wireless network and network equipment
WO2022165825A1 (en) Communication method based on reference signal, and related apparatus
CN117693040B (en) Laser welding control system and control method based on wireless network
US20240098680A1 (en) Tag locating method and system, and related apparatus
WO2023151434A1 (en) Communication method and communication apparatus
CN114630373A (en) Switching method and device

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