Cascade communication control method, communication device and computer readable storage medium

Through the cascading communication control method that realizes frequency band switching between cascading communication devices, the problem of communication devices sharing bandwidth in the same frequency band is solved, and effective bandwidth improvement and user experience improvement are achieved.

CN114513828BActive Publication Date: 2025-04-04ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011289203.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-17
Publication Date
2025-04-04
Estimated Expiration
2040-11-17

AI Technical Summary

Technical Problem

In the prior art, cascading communication devices often share bandwidth in the same frequency band when registering, and cannot achieve effective bandwidth improvement.

Method used

By implementing a cascading communication control method between the first communication device and the second communication device, the first communication device acquires the second frequency band registered when the second communication device is connected to the network, and switches to a third frequency band different from the second frequency band when the first frequency band registered by itself is the same as the second frequency band.

Benefits of technology

Cascading communication devices are registered in different frequency bands, thereby improving bandwidth usage efficiency, meeting the demand for high bandwidth, and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114513828B_ABST
    Figure CN114513828B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a cascade communication control method, a communication device and a computer-readable storage medium. For a cascaded first communication device and a second communication device, the first communication device can obtain the second frequency band registered when the second communication device is connected to the network; and when the first communication device determines that the first frequency band registered when the first communication device itself is connected to the network is the same as the second frequency band, it indicates that the first communication device and the second communication device share the bandwidth on the same frequency band. The first communication device obtains a third frequency band different from the second frequency band, and switches to the third frequency band for registration when the third frequency band is obtained, so that the cascaded first communication device and the second communication device are registered to different frequency bands, so that the cascaded first communication device and the second communication device can use the bandwidth on different frequency bands, thereby truly realizing the maximum bandwidth for the cascaded first communication device and the second communication device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communications, and in particular to a cascade communication control method, a communication device, and a computer-readable storage medium. Background Art

[0002] Data products (including but not limited to mobile phones, CPE (Customer Premise Equipment), data cards, etc.) usually have only one uplink WAN port, which can be a network card enumerated after the 3G / 4G / 5G data is established, or the connected fixed-line router can be used as the uplink, or the uplink hotspot connected via Wi-Fi can be used as the uplink, etc. Although one WAN port can meet the user's Internet access needs. However, the bandwidth of a single uplink is limited after all and cannot meet the needs of applications that require high bandwidth. In response to this problem, one solution in the related technology is to cascade multiple communication devices in order to increase the bandwidth. However, when the cascaded communication devices are registered to the same frequency band, the multiple communication devices actually still share the bandwidth of the same frequency band, and the bandwidth cannot be increased. Therefore, how to ensure that the cascaded communication devices are registered to different frequency bands as much as possible to achieve an increase in bandwidth is a technical problem that urgently needs to be solved. Summary of the invention

[0003] The embodiments of the present invention mainly provide a cascade communication control method, a communication device and a computer-readable storage medium, which are intended to solve the problem of how to ensure that cascaded communication devices are registered to different frequency bands as much as possible to achieve bandwidth improvement.

[0004] To solve the above technical problems, an embodiment of the present invention provides a cascade communication control method, comprising:

[0005] The first communication device acquires a second frequency band registered by the second communication device when the second communication device is connected to the network, and the first communication device and the second communication device are cascaded;

[0006] When the first frequency band registered by the first communication device when connecting to the network is the same as the second frequency band, the first communication device obtains a third frequency band different from the second frequency band, and switches to the third frequency band for registration when the third frequency band is obtained.

[0007] To solve the above technical problems, an embodiment of the present invention further provides a cascade communication control method, comprising:

[0008] The second communication device sends the second frequency band registered when it is connected to the network to the first communication device, so that the first communication device can obtain a third frequency band different from the second frequency band when the second frequency band is the same as the first frequency band registered when it is connected to the network, and switch to the third frequency band for registration when the third frequency band is obtained.

[0009] To solve the above technical problems, an embodiment of the present invention also provides a first communication device, including a first processor, a first communication bus and a first memory, wherein the first communication bus is used to connect the first processor and the first memory, a first computer program is stored in the first memory, and the first processor is used to call and execute the first computer program to implement the steps performed by the first communication device in the cascade communication control method as described above.

[0010] To solve the above technical problems, an embodiment of the present invention also provides a second communication device, including a second processor, a second communication bus and a second memory, wherein the second communication bus is used to connect the second processor and the second memory, a second computer program is stored in the second memory, and the second processor is used to call and execute the second computer program to implement the steps performed by the second communication device in the cascade communication control method as described above.

[0011] To solve the above technical problem, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a first computer program, and the first computer program can be executed by a processor to implement the steps performed by the first communication device in the cascade communication control method as described above;

[0012] or,

[0013] The computer-readable storage medium stores a second computer program, and the second computer program can be executed by a processor to implement the steps performed by the second communication device in the cascade communication control method as described above.

[0014] The cascade communication control method, communication device and computer-readable storage medium provided by the embodiments of the present invention can obtain the second frequency band registered by the second communication device when the second communication device is connected to the network for the cascaded first communication device and the second communication device; and when the first communication device determines that the first frequency band registered by the first communication device when it is connected to the network is the same as the second frequency band, it indicates that the first communication device and the second communication device share the bandwidth on the same frequency band, and the first communication device obtains a third frequency band different from the second frequency band, and switches to the third frequency band for registration when the third frequency band is obtained, so that the cascaded first communication device and the second communication device are registered to different frequency bands, so that the cascaded first communication device and the second communication device can use the bandwidth on different frequency bands, thereby truly providing the maximum bandwidth for the cascaded first communication device and the second communication device, which can better meet the needs of users with high bandwidth and improve the satisfaction of user experience.

[0015] Other features and corresponding beneficial effects of the present invention are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects become obvious from the description in the specification of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of a flow chart of a cascade communication control method provided in Embodiment 1 of the present invention;

[0017] Figure 2 A schematic flow chart of another cascade communication control method provided in Embodiment 1 of the present invention;

[0018] Figure 3 A schematic diagram of a process of switching a second communication device to a fourth frequency band provided in Embodiment 1 of the present invention;

[0019] Figure 4 A schematic diagram of the structure of a communication control device provided in Embodiment 2 of the present invention;

[0020] Figure 5 A schematic flow chart of a cascade communication control method provided in Embodiment 2 of the present invention;

[0021] Figure 6 A schematic flow chart of another cascade communication control method provided in Embodiment 2 of the present invention;

[0022] Figure 7 A schematic diagram of a communication device cascade example provided in Embodiment 2 of the present invention;

[0023] Figure 8 A schematic diagram of the structure of a first communication device provided in Embodiment 2 of the present invention;

[0024] Fig. 9 A schematic diagram of the structure of a second communication device provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the following is a further detailed description of the embodiments of the present invention through specific implementation methods combined with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0026] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and implementation examples.

[0027] Embodiment 1:

[0028] In view of the problem in the related art that cascaded communication devices may register to the same frequency band and share the bandwidth on the same frequency band, and cannot truly improve the bandwidth of communication devices through cascading. The present embodiment provides a cascaded communication control method. For cascaded communication devices, such as a first communication device and a second communication device, when it is determined that the first communication device and the second communication device are registered to the same frequency band, at least one of the communication devices may switch the frequency band registered by itself, in order to switch to a frequency band different from the frequency band registered by the other communication device, so that the cascaded first communication device and the second communication device can use bandwidths on different frequency bands, thereby truly providing the cascaded first communication device and the second communication device with the maximum bandwidth, which can better meet the needs of users with high bandwidth and improve user experience satisfaction. For ease of understanding, the present embodiment is described below with Figure 1 The cascade communication control method shown is for illustration purposes only. Figure 1 As shown, it includes but is not limited to:

[0029] S101: A first communication device obtains a second frequency band registered by a second communication device when connecting to the network.

[0030] In this embodiment, the first communication device and the second communication device are cascaded. That is, in some examples, before the first communication device obtains the second frequency band registered by the second communication device when connecting to the network, the process of cascading the first communication device and the second communication device may also be included. It should be understood that the cascading method between the communication devices can adopt any cascading method in the relevant technology, which will not be repeated here.

[0031] It should be understood that the types of the first communication device and the second communication device in this embodiment can be flexibly selected, and may include but are not limited to various data products with networking and routing functions, such as but not limited to mobile phones, PCs, IPADs, CPEs, data cards, etc.

[0032] It should be understood that in this embodiment, the method by which the first communication device obtains the second frequency band registered when the second communication device is connected to the network can also be flexibly selected. For example, in one example, a socket communication can be established between the first communication device and the second communication device, and then the second frequency band registered when the second communication device is connected to the network can be obtained through but not limited to the established socket communication.

[0033] S102: When the first frequency band registered by the first communication device when connecting to the Internet is the same as the second frequency band, the first communication device obtains a third frequency band different from the second frequency band, and switches to the third frequency band for registration when the third frequency band is obtained.

[0034] It should be understood that in an application scenario of this embodiment, the first communication device may be a downlink communication device, and the second communication device may be an uplink communication device. In this case, the first communication device accesses the network through the second communication device cascaded therewith. In this application scenario, after being cascaded with the second communication device, the first communication device as a downlink communication device can obtain the second frequency band registered by the second communication device (i.e., the uplink communication device) when it is connected to the network, so as to determine whether the second frequency band registered by the second communication device is the same as the first frequency band registered by itself, and can obtain and switch to a third frequency band different from the second frequency band for registration when they are the same, so as to enable the cascaded first communication device and the second communication device to use bandwidths on different frequency bands. In this application scenario, the downlink communication device gives priority to obtaining the second frequency band registered by the uplink communication device, and when it is determined that its own first frequency band is the same as the second frequency band registered by the uplink communication device, the third frequency band is obtained and switched.

[0035] In another application scenario of this embodiment, the uplink communication device may also preferentially obtain the second frequency band registered by the downlink communication device, and when it is determined that its own first frequency band is the same as the second frequency band registered by the downlink communication device, obtain and switch to the third frequency band. At this time, in this application scenario, the first communication device may be an uplink communication device, the second communication device may be a downlink communication device, and the second communication device accesses the network through the first communication device cascaded therewith; after being cascaded with the second communication device, the first communication device as an uplink communication device may obtain the second frequency band registered by the second communication device (i.e., the downlink communication device) when it is connected to the network, so as to determine whether the second frequency band registered by the second communication device is the same as the first frequency band registered by itself, and when they are the same, obtain and switch to a third frequency band different from the second frequency band for registration, so as to enable the cascaded first communication device and the second communication device to use bandwidths on different frequency bands.

[0036] The two application scenarios in the above examples can be flexibly selected according to needs. Of course, the uplink communication device and the downlink communication device can also be set to perform the frequency band acquisition, confirmation and switching process in the above examples in parallel according to needs. This equivalent replacement implementation method is also within the scope of this application and will not be repeated here.

[0037] Optionally, in an example of this embodiment, the cascaded communication control method may also include but is not limited to: when the first communication device fails to obtain the third frequency band, the first frequency band registered by itself is sent to the second communication device. In this way, when the second communication device determines that the second frequency band registered by itself is the same as the first frequency band registered by the first communication device, the second communication device can select and switch to a fourth frequency band different from the first frequency band, so as to achieve the cascaded first communication device and the second communication device using bandwidths on different frequency bands as much as possible. Of course, in another application scenario of the present embodiment, the first communication device may also send the first frequency band registered by itself to the second communication device during the process of the first communication device acquiring the second frequency band of the second communication device (for example, during the process of acquiring the second frequency band registered by the second communication device when connecting to the Internet through the socket communication in the above example). Then, when the first communication device fails to acquire the third frequency band, the first communication device may only send a notification to the second communication device to indicate that it has not switched to other frequency bands. The notification may include the first frequency band or may not include the first frequency band. In this way, the second communication device may know from the notification that the first communication device is still registered in the first frequency band, and thus may perform selective switching to a fourth frequency band different from the first frequency band as required. Of course, the second communication device may also be set not to perform selective switching to a fourth frequency band different from the first frequency band as required.

[0038] Optionally, in an example of this embodiment, when the first frequency band registered by the first communication device when connecting to the Internet is the same as the second frequency band, obtaining a third frequency band different from the second frequency band may include but is not limited to at least one of the following:

[0039] The first communication device obtains all frequency bands that it can register, and selects a third frequency band from all the obtained frequency bands; that is, the first communication device can automatically obtain all frequency bands that it can register, and determine whether there are other frequency bands different from the second frequency band among these frequency bands, and if so, select one of them as the third frequency band for registration. When there are multiple other frequency bands different from the second frequency band, the selection rule can be flexibly set, for example, it can be selected according to a preset priority, or it can be randomly selected, or these frequency bands can be presented to the user and selected according to the user's instructions.

[0040] The first communication device receives the frequency band selection instruction and obtains the third frequency band from the frequency band selection instruction; wherein the frequency band selection instruction may be sent to the first communication device by a user or other device. For example, in an application scenario, a user may call up all frequency bands that can be registered by the first communication device on a user interface (such as a web UI page), and then select a third frequency band different from the second frequency band and send it to the first communication device through the frequency band selection instruction.

[0041] Accordingly, in this embodiment, the second communication device may execute, but is not limited to, the following in the cascade communication control method: Figure 2 The following steps are shown:

[0042] S201: The second communication device is cascaded with the first communication device.

[0043] As shown above, the first communication device may be a downlink communication device, and the second communication device may be an uplink communication device, in which case the first communication device accesses the network through the second communication device cascaded therewith; or the first communication device may be an uplink communication device, and the second communication device may be a downlink communication device, in which case the second communication device accesses the network through the first communication device cascaded therewith.

[0044] S202: The second communication device sends the second frequency band registered when it is connected to the network to the first communication device, so that the first communication device can obtain a third frequency band different from the second frequency band when the second frequency band is the same as the first frequency band registered when it is connected to the network, and switch to the third frequency band for registration when the third frequency band is obtained.

[0045] Optionally, in this embodiment, when the first communication device fails to obtain the third frequency band, the second communication device can also select and switch the frequency band to achieve the first communication device and the second communication device to register in different frequency bands as much as possible. For example, an application example can be seen in Figure 3 As shown, the cascade communication control method may also include but is not limited to:

[0046] S301: A second communication device receives a first frequency band sent by a first communication device when the first communication device fails to acquire a third frequency band.

[0047] As described above, in some application examples, the first communication device may send its currently registered first frequency band to the second communication device before acquiring the third frequency band; in this case, when the first communication device fails to acquire the third frequency band, it may directly send a notification to the second communication device to inform the second communication device that it has not acquired the third frequency band. The notification may include the first frequency band or may not include the first frequency band; this equivalent method is also within the scope of this embodiment.

[0048] S302: The second communication device acquires a fourth frequency band different from the first frequency band, and switches to the fourth frequency band for registration when the fourth frequency band is acquired.

[0049] Optionally, in an example of this embodiment, the manner in which the second communication device acquires a fourth frequency band different from the first frequency band may also include but is not limited to at least one of the following:

[0050] The second communication device obtains all frequency bands that it can register, and selects a fourth frequency band from all the obtained frequency bands; that is, the second communication device can automatically obtain all frequency bands that it can register, and determine whether there are other frequency bands different from the first frequency band among these frequency bands, and if so, select one of them as the fourth frequency band for registration. When there are multiple other frequency bands different from the first frequency band, the selection rule can also be flexibly set, for example, it can be selected according to a preset priority, or it can be randomly selected, or these frequency bands can be presented to the user and selected according to the user's instructions.

[0051] The second communication device receives the frequency band selection instruction and obtains the fourth frequency band from the frequency band selection instruction; wherein the frequency band selection instruction may be sent to the second communication device by a user or other device. For example, in an application scenario, a user may call up all frequency bands that can be registered by the second communication device on a user interface (such as a web UI page), and then select a third frequency band different from the first frequency band and send it to the first communication device through the frequency band selection instruction.

[0052] Optionally, in some application scenarios of this embodiment, it is also possible to consider determining the frequency band registered by the first communication device and the frequency band registered by the second communication device before the first communication device and the second communication device communicate in cascade, and the determined frequency bands are different frequency bands as much as possible. For example, in one application scenario, all frequency bands that the first communication device and the second communication device can register can be obtained on the webUI page, and then a frequency band is selected for each of the first communication device and the second communication device, and the selected frequency bands are different; in this way, the first communication device and the second communication device can each register to the selected frequency band during the cascade process, so that the cascaded communication devices can be registered to different frequency bands, so as to better meet the needs of users with high bandwidth and improve the satisfaction of user experience.

[0053] It should be understood that the cascaded communication control method provided in this embodiment is not limited to the negotiation of registration frequency bands between two cascaded communication devices, but is also applicable to the negotiation of registration frequency bands between three or more communication devices, thereby truly realizing the provision of maximum bandwidth for cascaded communication devices.

[0054] For example, in an application scenario, it is assumed that there are a first communication device, a second communication device, and a third communication device that are cascaded in sequence. The first communication device and the second communication device can use the above-mentioned example method to negotiate the switching of the frequency band, and the second communication device and the third communication device can also use the above-mentioned example method to negotiate the switching of the frequency band. If there are also a fifth communication device and a sixth communication device that are cascaded in sequence, then the same is true, and no further details are given here.

[0055] In addition, in other application scenarios, the first communication device, the second communication device, and the third communication device are still cascaded in sequence as an example. When the second communication device and the third communication device use the above-mentioned example method to negotiate the switching of the frequency band, after the second communication device obtains the fifth frequency band registered by the third communication device from the third communication device, and determines that the fifth frequency band is the same as the frequency band currently registered by the second communication device itself, when the second communication device selects a frequency band different from the fifth frequency band, it also tries to meet the requirement that the selected frequency band is different from the frequency band currently registered by the first communication device, so that the three communication devices can be registered on different frequency bands as much as possible. Accordingly, when the third communication device obtains the frequency band currently registered by the second communication device from the second communication device, and determines that the frequency band is the same as the frequency band currently registered by the third communication device itself, when the third communication device selects a frequency band different from the frequency band, it also tries to ensure that the selected frequency band is different from the frequency band currently registered by the first communication device (the frequency band currently registered by the first communication device can be the frequency band sent by the second communication device to the third communication device), so that the three communication devices can be registered on different frequency bands as much as possible. When there are more than three cascaded communication devices, a similar processing method can also be used to achieve that the frequency bands registered by all cascaded communication devices are different as much as possible, so as to provide them with the maximum bandwidth as much as possible.

[0056] It can be seen that through the cascaded communication control method provided by this embodiment, for cascaded communication devices, when it is determined that the cascaded communication devices are registered to the same frequency band, at least one of the communication devices can switch the frequency band registered by itself, in order to switch to a frequency band different from the frequency band registered by other communication devices, so that the cascaded communication devices can use bandwidths on different frequency bands, which can better meet the needs of users with high bandwidth and improve user experience satisfaction.

[0057] Embodiment 2:

[0058] For ease of understanding, this embodiment further provides a cascade communication control device based on the above embodiment. The cascade communication control device can be set in a communication device for cascade communication. Figure 4 As shown, it includes but is not limited to:

[0059] The registration and networking module 401 can be used for, but is not limited to, selecting a registrable frequency band from all registrable frequency bands of the communication device where the device is located after power-on to register and successfully connect to the network.

[0060] IP processing module 402: It can be used for, but is not limited to, applying for an IP address from an uplink communication device when the communication device to which it is located is currently a downlink communication device (that is, the communication device to which it is located accesses the network by cascading other communication devices (that is, the corresponding uplink communication device)); it can also be used for, but is not limited to, allocating an IP address to a corresponding downlink communication device when the communication device to which it is located is currently an uplink communication device.

[0061] Negotiation frequency band module 403: It can be used for, but is not limited to, obtaining the frequency band currently registered by the communication device cascaded with it when the communication device to which it is located performs frequency band negotiation and switching, and when it is determined that the acquired frequency band is the same as the frequency band currently registered by the communication device to which it is located, checking whether the communication device to which it is located can switch to other different frequency bands, and if so, switching to other different frequency bands; if not, notifying the cascaded communication device to try to switch to other frequency bands; and used for, but is not limited to, sending the frequency band currently registered by the communication device to other cascaded communication devices when the communication device to which it is located does not currently perform frequency band negotiation and switching.

[0062] It should be understood that the function of at least one of the above modules may be implemented by, but not limited to, a processor or controller of the communication device where the module is located.

[0063] For ease of understanding, this embodiment is described below using a specific application scenario as an example.

[0064] In this application scenario, it is assumed that terminal device A is connected to a router R1, and router R1 is cascaded to router R2. At this time, router R2 acts as the uplink communication device of router R1, and router R1 acts as the downlink communication device of router R2. Router R2 is cascaded to router R3, and router R3 acts as the uplink communication device of router R2, and router R2 acts as the downlink communication device of router R3. Among them, router R1, router R2, and router R3 can be three routers from the same manufacturer and can have 5G / LTE modules or no data modules and only act as fixed network routers. Of course, router R1, router R2, and router R3 may not be from the same manufacturer, but the cascade communication control method strategy provided in this embodiment is pre-set.

[0065] In this application scenario, among the two cascaded communication devices, the communication device acting as the downlink communication device first performs the negotiated switching of the frequency band, and when the switching is unsuccessful, the corresponding uplink communication device then performs the negotiated switching of the frequency band.

[0066] For the cascade communication control method of the communication device acting as the uplink communication device in the two cascaded communication devices, see Figure 5 As shown, it includes but is not limited to:

[0067] S501: After being powered on, the communication device (hereinafter referred to as the uplink communication device for ease of understanding) first records the operator and the frequency band with which it is registered.

[0068] In some of these application examples, the communication device itself can provide access services for downlink users (such as PCs, mobile phones, other routing devices, etc.), and on the other hand, it can also connect to uplink Internet devices to access the Internet.

[0069] S502: The uplink communication device detects that another communication device (ie, the corresponding downlink communication device) has accessed.

[0070] S503: The uplink communication device allocates an IP address to the downlink communication device and ensures that communication is possible.

[0071] S504: The uplink communication device starts the server process, and the connected downlink communication device starts the client process, and socket communication is established between the two to exchange the frequency bands registered by each other.

[0072] In this application example, the confirmation method can be that the client (i.e., the downlink communication device) actively reports its currently registered operator information and the registered frequency band to the server (i.e., the uplink communication device) (in this application example, the downlink communication device is used as the first communication device, and its currently registered frequency band is the first frequency band), and the server (uplink communication device) also notifies the downlink communication device of its registered operator information and the registered frequency band (in this application example, the uplink communication device is used as the second communication device, and its currently registered frequency band is the second frequency band).

[0073] S505: The uplink communication device determines whether the second frequency band registered by itself is the same as the first frequency band registered by the downlink communication device. If not, it means that the two operate in different frequency bands, and there is no bandwidth contention between the two hosts, and the process ends; if so, go to S506.

[0074] S506: The uplink communication device receives the latest frequency band sent by the downlink communication device.

[0075] S507: The uplink communication device confirms whether the latest frequency band sent by the downlink communication device is the same as the second frequency band currently registered by itself. If not, it means that the two are currently working in different frequency bands, and there is no bandwidth contention between the two hosts, and the process ends; if so, go to S508.

[0076] S508: The uplink communication device determines whether there is a fourth frequency band different from the frequency band currently registered by the downlink communication device among all the frequency bands that it can register. If not, go to S509; if yes, go to S510.

[0077] S509: The uplink communication device maintains the currently registered frequency band and the process ends.

[0078] S510: The uplink communication device selects a fourth frequency band different from the frequency band currently registered by the downlink communication device for registration.

[0079] S511: Optionally, the uplink communication device sends the currently registered fourth frequency band to the downlink communication device.

[0080] For the cascade communication control method of the communication device acting as the downlink communication device in the two cascaded communication devices, see Figure 6 As shown, it includes but is not limited to:

[0081] S601: After the communication device is powered on, it first records the operator and the frequency band with which it is registered.

[0082] S602: The communication device (which acts as a downlink communication device at this time) is cascaded to other communication devices (ie, corresponding uplink communication devices) for access.

[0083] S603: The downlink communication device applies for an IP address from the downlink communication device and ensures that communication is possible.

[0084] S604: The downlink communication device starts the client process, and the connected uplink communication device starts the server process, and socket communication is established between the two to exchange the frequency bands registered by each other.

[0085] In this application example, the confirmation method can be that the client (i.e., the downlink communication device) actively reports its currently registered operator information and the registered frequency band to the server (i.e., the uplink communication device) (in this application example, the downlink communication device is used as the first communication device, and its currently registered frequency band is the first frequency band), and the server (uplink communication device) also notifies the downlink communication device of its registered operator information and the registered frequency band (in this application example, the uplink communication device is used as the second communication device, and its currently registered frequency band is the second frequency band).

[0086] S605: The downlink communication device determines whether the first frequency band registered by itself is the same as the second frequency band registered by the uplink communication device. If not, it means that the two operate in different frequency bands, and there is no bandwidth contention between the two hosts, and the process ends; if so, go to S606.

[0087] S606: The downlink communication device determines whether there is a third frequency band different from the second frequency band currently registered by the uplink communication device among all the frequency bands that it can register. If not, go to S607; if yes, go to S608.

[0088] S607: The downlink communication device maintains the currently registered first frequency band, and sends the currently registered first frequency band to the uplink communication device, and the process ends.

[0089] S608: The downlink communication device selects a third frequency band different from the second frequency band currently registered by the uplink communication device for registration.

[0090] S609: Optionally, the downlink communication device sends the currently registered third frequency band to the uplink communication device.

[0091] For ease of understanding, this implementation is combined with Figure 7 The application examples shown are further illustrated. Figure 7 As shown, router R1 has two uplinks, LTE (Long Term Evolution) serves as its first uplink, and the second uplink is that router R1 is connected to the uplink router R2 via a network cable (or via Wi-Fi or other communication methods). Router R2 has only one LTE uplink. At the same time, the PC acting as a client is connected to router R1 via a network cable or Wi-Fi. When the PC is connected to router R1, router R1 acts as an uplink, and router R1 acts as a server during the socket communication confirmation band process; after router R1 is connected to the uplink router R2, router R1 acts as a downlink, and router R1 acts as a client during the socket communication confirmation band process.

[0092] For ease of understanding, it is assumed that in the initial state, router R1 is not connected to any external device and LTE dial-up is successful. At this time, the PC is connected to router R1 via a network cable or Wi-Fi and successfully applies for an IP address. Router R1 acts as the uplink of the PC, so R1 starts the server process in the frequency band confirmation of both parties. In this example, it is assumed that the frequency band negotiation and switching mechanism provided in this embodiment is not set in the PC; at this time, since the PC will not participate in the frequency band confirmation work, router R1 will not receive a request to confirm the frequency band from the PC, and router R1 keeps its own frequency band unchanged.

[0093] After router R1 is connected to the upstream router R2 via a network cable or Wi-Fi or other means, router R2 acts as the upstream router of router R1. Therefore, in the process of confirming the frequency band, router R2 acts as a server and router R1 acts as a client. Router R1 actively reports the first frequency band registered by itself to router R2, and router R2 sends the second frequency band registered by itself to router R1. After receiving it, router R1 checks whether the second frequency band registered by router R2 is the same as the first frequency band registered by itself. If they are different, the process ends. If they are the same, router R1 checks whether it has other third frequency bands that can be registered and different from the second frequency band. If so, it registers to the third frequency band. If not, it keeps the current first frequency band. Then router R1 reports the latest registered frequency band to router R2. After receiving it, router R2 checks whether the latest frequency band of router R1 is the same as the second frequency band currently registered by router R2. If they are different, the process ends. If they are the same, it checks whether it has other fourth frequency bands different from the second frequency band available. If not, it keeps the current second frequency band. If so, it switches to the fourth frequency band for registration. Then router R2 sends the frequency band finally used to router R1. As described above, in some examples, if routers R1 and R2 provide users with a method for selecting a frequency band, such as selecting a frequency band for device registration on a webUI page, users can also use this method to register two uplink and downlink devices to different frequency bands.

[0094] Embodiment three:

[0095] This embodiment also provides a communication system, which includes a first communication device and a second communication device connected in cascade, wherein Figure 8 Shown and Fig. 9 As shown:

[0096] The first communication device includes a first processor, a first communication bus and a first memory, the first communication bus is used to connect the first processor and the first memory, the first memory stores a first computer program, and the first processor is used to call and execute the first computer program to implement the steps performed by the first communication device in the cascade communication control method in the above embodiments.

[0097] The second communication device includes a second processor, a second communication bus and a second memory, the second communication bus is used to connect the second processor and the second memory, the second memory stores a second computer program, and the second processor is used to call and execute the second computer program to implement the steps performed by the second communication device in the cascade communication control method in the above embodiments.

[0098] This embodiment further provides a computer-readable storage medium, which stores a first computer program. The first computer program can be executed by a processor to implement the steps performed by the first communication device in the cascade communication control method in the above embodiments;

[0099] or,

[0100] The computer-readable storage medium stores a second computer program, and the second computer program can be executed by the processor to implement the steps performed by the second communication device in the cascade communication control method in the above embodiments.

[0101] The computer-readable storage medium in this embodiment may be arranged on, but not limited to, a base station, for example, on a BBU of the base station, and includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device, or any other medium that can be used to store the desired information and can be accessed by a computer.

[0102] This embodiment also provides a first computer program (or first computer software), which can be distributed on a computer-readable medium and executed by a computing device to implement the steps performed by the first communication device in the cascade communication control method as described above; and in some cases, at least one of the steps shown or described can be executed in an order different from that described in the above embodiment.

[0103] This embodiment also provides a second computer program (or second computer software), which can be distributed on a computer-readable medium and executed by a computing device to implement the steps performed by the second communication device in the cascade communication control method as described above; and in some cases, at least one of the steps shown or described can be executed in an order different from that described in the above embodiment.

[0104] This embodiment further provides a computer program product, including a computer readable device, on which any computer program as shown above is stored. In this embodiment, the computer readable device may include the computer readable storage medium as shown above.

[0105] It can be seen that those skilled in the art should understand that all or some of the steps, systems, and functional modules / units in the above disclosed methods can be implemented as software (which can be implemented with computer program code executable by a computing device), firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component can have multiple functions, or a function or step can be performed by several physical components in cooperation. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit.

[0106] In addition, it is well known to those skilled in the art that communication media generally contain computer readable instructions, data structures, computer program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery media. Therefore, the present invention is not limited to any specific hardware and software combination.

[0107] The above contents are further detailed descriptions of the embodiments of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A cascade communication control method, comprising: The first communication device acquires a second frequency band registered by the second communication device when the second communication device is connected to the network, and the first communication device and the second communication device are cascaded; When the first frequency band registered by the first communication device when connecting to the Internet is the same as the second frequency band, the first communication device acquires a third frequency band different from the second frequency band, and switches to the third frequency band for registration when the third frequency band is acquired; When the first communication device fails to acquire the third frequency band, the first frequency band is sent to the second communication device so that the second communication device can acquire a fourth frequency band different from the first frequency band, and switch to the fourth frequency band for registration when the fourth frequency band is acquired, so as to realize the cascaded first communication device and the second communication device using bandwidths on different frequency bands.

2. The cascade communication control method according to claim 1, characterized in that: The first communication device serves as a downlink communication device, the second communication device serves as an uplink communication device, and the first communication device accesses the network through the second communication device cascaded therewith; or, The first communication device serves as an uplink communication device, the second communication device serves as a downlink communication device, and the second communication device accesses the network through the first communication device cascaded therewith.

3. The cascade communication control method according to claim 1, characterized in that: When the first frequency band registered by the first communication device when connecting to the Internet is the same as the second frequency band, acquiring a third frequency band different from the second frequency band includes at least one of the following: The first communication device acquires all frequency bands that it can register, and selects the third frequency band from all the acquired frequency bands; The first communication device receives a frequency band selection instruction, and acquires the third frequency band from the frequency band selection instruction.

4. The cascade communication control method according to claim 1, characterized in that: The first communication device acquiring the second frequency band registered when the second communication device is connected to the network includes: The first communication device establishes socket communication with the second communication device, and obtains the second frequency band registered by the second communication device when connecting to the network through the socket communication.

5. A cascade communication control method, comprising: The second communication device sends the second frequency band registered when the second communication device is connected to the network to the first communication device, so that the first communication device can obtain a third frequency band different from the second frequency band when the second frequency band is the same as the first frequency band registered when the second communication device is connected to the network, and switch to the third frequency band for registration when the third frequency band is obtained; The second communication device receives the first frequency band sent by the first communication device when the first communication device fails to acquire the third frequency band; The second communication device acquires a fourth frequency band different from the first frequency band, and switches to the fourth frequency band for registration when acquiring the fourth frequency band, so that the cascaded first communication device and the second communication device use bandwidths on different frequency bands.

6. A first communication device, characterized in that: It includes a first processor, a first communication bus and a first memory, the first communication bus is used to connect the first processor and the first memory, the first memory stores a first computer program, and the first processor is used to call and execute the first computer program to implement the steps of the cascade communication control method as described in any one of claims 1 to 4.

7. A second communication device, characterized in that: It includes a second processor, a second communication bus and a second memory, the second communication bus is used to connect the second processor and the second memory, the second memory stores a second computer program, and the second processor is used to call and execute the second computer program to implement the steps of the cascade communication control method as described in claim 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a first computer program, and the first computer program can be executed by a processor to implement the steps of the cascade communication control method according to any one of claims 1 to 4; or, The computer-readable storage medium stores a second computer program, and the second computer program can be executed by a processor to implement the steps of the cascade communication control method according to claim 5.

Citation Information

Patent Citations

  • Method and apparatus for avoiding in-evice coexistence interference

    CN103229555A

  • Channel selection method and apparatus

    WO2018176471A1